@feltmaps/js-sdk 1.7.0-next.15 → 1.7.0-next.16

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.
@@ -8562,7 +8562,7 @@ interface UIButtonElementCreateClonable extends MakeClonableSchema<UIButtonEleme
8562
8562
  interface UIButtonElementUpdate extends MakeUpdateSchema<UIButtonElement, UIButtonElementCreate> {
8563
8563
  }
8564
8564
 
8565
- declare const uiFlexibleSpaceElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8565
+ declare const uiDividerElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8566
8566
  onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8567
8567
  id: z.ZodString;
8568
8568
  }, "strip", z.ZodTypeAny, {
@@ -8580,9 +8580,9 @@ declare const uiFlexibleSpaceElementSchema: z.ZodObject<z.objectUtil.extendShape
8580
8580
  }, {
8581
8581
  id: z.ZodString;
8582
8582
  }>, {
8583
- type: z.ZodLiteral<"FlexibleSpace">;
8583
+ type: z.ZodLiteral<"Divider">;
8584
8584
  }>, "strip", z.ZodTypeAny, {
8585
- type: "FlexibleSpace";
8585
+ type: "Divider";
8586
8586
  id: string;
8587
8587
  onCreate?: ((args_0: {
8588
8588
  id: string;
@@ -8591,7 +8591,7 @@ declare const uiFlexibleSpaceElementSchema: z.ZodObject<z.objectUtil.extendShape
8591
8591
  id: string;
8592
8592
  }, ...args: unknown[]) => void) | undefined;
8593
8593
  }, {
8594
- type: "FlexibleSpace";
8594
+ type: "Divider";
8595
8595
  id: string;
8596
8596
  onCreate?: ((args_0: {
8597
8597
  id: string;
@@ -8601,206 +8601,50 @@ declare const uiFlexibleSpaceElementSchema: z.ZodObject<z.objectUtil.extendShape
8601
8601
  }, ...args: unknown[]) => void) | undefined;
8602
8602
  }>;
8603
8603
  /**
8604
- * Represents a flexible space element in a container.
8605
- *
8606
- * When rendered...
8607
- *
8608
- * - inside {@link UIGridContainerElement}, it will add extra gap between items. It can be controlled by `grid` property.
8609
- * - inside {@link UIPanelElement} `body` or `footer`, since they work as vertically stacks, it will add extra gap between items.
8610
- * - inside {@link UIButtonGroupElement}, it will take the remaining space.
8611
- *
8612
- * @example
8613
- * Buttons with a flexible space between makes them more visually separated.
8614
- * ```typescript
8615
- * {
8616
- * type: "ButtonGroup",
8617
- * items: [
8618
- * { type: "Button", label: "Button 1", onClick: () => {} },
8619
- * { type: "FlexibleSpace" },
8620
- * { type: "Button", label: "Button 2", onClick: () => {} },
8621
- * ],
8622
- * }
8623
- * ```
8604
+ * Represents a divider element in a panel.
8605
+ * This element is used to separate other elements in a panel.
8606
+ * It is rendered as a gray horizontal line of 1px height.
8624
8607
  *
8625
8608
  * @example
8626
- * Paragraphs with a flexible space between makes them more visually separated.
8609
+ * Divider element is useful to separate sections of a panel.
8627
8610
  * ```typescript
8628
8611
  * {
8629
- * type: "Panel",
8630
8612
  * body: [
8631
- * { type: "Paragraph", text: "Paragraph 1" },
8632
- * { type: "FlexibleSpace" },
8633
- * { type: "Paragraph", text: "Paragraph 2" },
8634
- * ],
8635
- * }
8636
- * ```
8637
- *
8638
- * @example
8639
- * Horizontal stack of buttons with a flexible space between makes them more visually separated.
8640
- * ```typescript
8641
- * {
8642
- * type: "Grid",
8643
- * grid: "auto-flow / auto 1fr auto",
8644
- * items: [
8645
- * { type: "Button", label: "Button 1", onClick: () => {} },
8646
- * { type: "FlexibleSpace" },
8647
- * { type: "Button", label: "Button 2", onClick: () => {} },
8613
+ * { type: "Text", content: "Contact" },
8614
+ * { type: "TextInput", placeholder: "Enter your name", ... },
8615
+ * { type: "TextInput", placeholder: "Enter your email", ... },
8616
+ * { type: "Divider" },
8617
+ * { type: "Text", content: "Address" },
8618
+ * { type: "TextInput", placeholder: "Enter your address", ... },
8648
8619
  * ],
8649
8620
  * }
8650
8621
  * ```
8651
8622
  */
8652
- interface UIFlexibleSpaceElement extends UIElementBase, Omit<zInfer<typeof uiFlexibleSpaceElementSchema>, "onCreate" | "onDestroy"> {
8653
- }
8654
- /**
8655
- * The parameters for creating a flexible space element.
8656
- *
8657
- * @remarks
8658
- * `id` is optional but recommended if you want to be able to perform updates.
8659
- */
8660
- interface UIFlexibleSpaceElementCreate extends Omit<UIFlexibleSpaceElement, "id">, UIElementBaseCreateParams {
8661
- }
8662
- type UIFlexibleSpaceElementCreateClonable = MakeClonableSchema<UIFlexibleSpaceElementCreate>;
8663
- /**
8664
- * The parameters for updating a flexible space element.
8665
- *
8666
- * See {@link UIFlexibleSpaceElement} for more details.
8667
- *
8668
- * @remarks
8669
- * `id` and `type` are required to identify the element to update.
8670
- */
8671
- interface UIFlexibleSpaceElementUpdate extends MakeUpdateSchema<UIFlexibleSpaceElement, UIFlexibleSpaceElementCreate> {
8672
- }
8673
-
8674
- declare const uiTextElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8675
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8676
- id: z.ZodString;
8677
- }, "strip", z.ZodTypeAny, {
8678
- id: string;
8679
- }, {
8680
- id: string;
8681
- }>], z.ZodUnknown>, z.ZodVoid>>;
8682
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8683
- id: z.ZodString;
8684
- }, "strip", z.ZodTypeAny, {
8685
- id: string;
8686
- }, {
8687
- id: string;
8688
- }>], z.ZodUnknown>, z.ZodVoid>>;
8689
- }, {
8690
- id: z.ZodString;
8691
- }>, {
8692
- type: z.ZodLiteral<"Text">;
8693
- /**
8694
- * The text to display in the element.
8695
- */
8696
- content: z.ZodString;
8697
- }>, "strip", z.ZodTypeAny, {
8698
- type: "Text";
8699
- id: string;
8700
- content: string;
8701
- onCreate?: ((args_0: {
8702
- id: string;
8703
- }, ...args: unknown[]) => void) | undefined;
8704
- onDestroy?: ((args_0: {
8705
- id: string;
8706
- }, ...args: unknown[]) => void) | undefined;
8707
- }, {
8708
- type: "Text";
8709
- id: string;
8710
- content: string;
8711
- onCreate?: ((args_0: {
8712
- id: string;
8713
- }, ...args: unknown[]) => void) | undefined;
8714
- onDestroy?: ((args_0: {
8715
- id: string;
8716
- }, ...args: unknown[]) => void) | undefined;
8717
- }>;
8718
- /**
8719
- * Represents a text element in a panel.
8720
- * Markdown is supported.
8721
- *
8722
- * @example
8723
- * #### simple
8724
- * ```typescript
8725
- * {
8726
- * type: "Text",
8727
- * content: "Hello, world!",
8728
- * }
8729
- * ```
8730
- *
8731
- * @example
8732
- * #### with links
8733
- * ```typescript
8734
- * {
8735
- * type: "Text",
8736
- * content: "Fill the form https://www.google.com.",
8737
- * }
8738
- * ```
8739
- *
8740
- * @example
8741
- * #### markdown
8742
- * ```typescript
8743
- * {
8744
- * type: "Text",
8745
- * content: "**Hello**, _world_!",
8746
- * }
8747
- * ```
8748
- *
8749
- * @example
8750
- * #### complex markdown
8751
- * Complex markdown syntax is supported like tables, images, quotes, etc.
8752
- * ```typescript
8753
- * {
8754
- * type: "Text",
8755
- * content: `
8756
- *
8757
- * ## Heading
8758
- *
8759
- * This is a paragraph.
8760
- *
8761
- * ### Subheading
8762
- *
8763
- * This is a paragraph.
8764
- *
8765
- * | Name | Age |
8766
- * | ---- | --- |
8767
- * | John | 25 |
8768
- * | Jane | 30 |
8769
- *
8770
- * ![Image](https://via.placeholder.com/150)
8771
- *
8772
- * > This is a quote.
8773
- *
8774
- * [Link](https://www.google.com)
8775
- * `,
8776
- * }
8777
- * ```
8778
- */
8779
- interface UITextElement extends UIElementBase, Omit<zInfer<typeof uiTextElementSchema>, "onCreate" | "onDestroy"> {
8623
+ interface UIDividerElement extends UIElementBase, Omit<zInfer<typeof uiDividerElementSchema>, "onCreate" | "onDestroy"> {
8780
8624
  }
8781
8625
  /**
8782
- * The parameters for creating a text element.
8626
+ * The parameters for creating a divider element.
8783
8627
  *
8784
- * See {@link UITextElement} for more details.
8628
+ * See {@link UIDividerElement} for more details.
8785
8629
  *
8786
8630
  * @remarks
8787
- * `id` is optional but recommended if you want to be able to perform updates.
8631
+ * `id` is optional but recommended if you want to be able to delete the element.
8788
8632
  */
8789
- interface UITextElementCreate extends Omit<UITextElement, "id">, UIElementBaseCreateParams {
8633
+ interface UIDividerElementCreate extends Omit<UIDividerElement, "id">, UIElementBaseCreateParams {
8790
8634
  }
8791
- type UITextElementCreateClonable = MakeClonableSchema<UITextElementCreate>;
8635
+ type UIDividerElementCreateClonable = MakeClonableSchema<UIDividerElementCreate>;
8792
8636
  /**
8793
- * The parameters for updating a text element.
8637
+ * The parameters for updating a divider element.
8794
8638
  *
8795
- * See {@link UITextElement} for more details.
8639
+ * See {@link UIDividerElement} for more details.
8796
8640
  *
8797
8641
  * @remarks
8798
8642
  * `id` and `type` are required to identify the element to update.
8799
8643
  */
8800
- interface UITextElementUpdate extends MakeUpdateSchema<UITextElement, UITextElementCreate> {
8644
+ interface UIDividerElementUpdate extends MakeUpdateSchema<UIDividerElement, UIDividerElementCreate> {
8801
8645
  }
8802
8646
 
8803
- declare const uiButtonGroupElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8647
+ declare const uiFlexibleSpaceElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8804
8648
  onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8805
8649
  id: z.ZodString;
8806
8650
  }, "strip", z.ZodTypeAny, {
@@ -8818,193 +8662,10 @@ declare const uiButtonGroupElementSchema: z.ZodObject<z.objectUtil.extendShape<z
8818
8662
  }, {
8819
8663
  id: z.ZodString;
8820
8664
  }>, {
8821
- type: z.ZodLiteral<"ButtonGroup">;
8822
- /**
8823
- * The alignment of the button group.
8824
- *
8825
- * @defaultValue `"end"`
8826
- */
8827
- align: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
8828
- items: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8829
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8830
- id: z.ZodString;
8831
- }, "strip", z.ZodTypeAny, {
8832
- id: string;
8833
- }, {
8834
- id: string;
8835
- }>], z.ZodUnknown>, z.ZodVoid>>;
8836
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8837
- id: z.ZodString;
8838
- }, "strip", z.ZodTypeAny, {
8839
- id: string;
8840
- }, {
8841
- id: string;
8842
- }>], z.ZodUnknown>, z.ZodVoid>>;
8843
- }, {
8844
- id: z.ZodString;
8845
- }>, {
8846
- type: z.ZodLiteral<"Button">;
8847
- label: z.ZodString;
8848
- variant: z.ZodOptional<z.ZodEnum<["filled", "transparent", "outlined"]>>;
8849
- tint: z.ZodOptional<z.ZodEnum<["default", "primary", "accent", "danger"]>>;
8850
- disabled: z.ZodOptional<z.ZodBoolean>;
8851
- onClick: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8852
- id: z.ZodString;
8853
- }, "strip", z.ZodTypeAny, {
8854
- id: string;
8855
- }, {
8856
- id: string;
8857
- }>], z.ZodUnknown>, z.ZodVoid>;
8858
- }>, "strip", z.ZodTypeAny, {
8859
- type: "Button";
8860
- id: string;
8861
- label: string;
8862
- onClick: (args_0: {
8863
- id: string;
8864
- }, ...args: unknown[]) => void;
8865
- onCreate?: ((args_0: {
8866
- id: string;
8867
- }, ...args: unknown[]) => void) | undefined;
8868
- onDestroy?: ((args_0: {
8869
- id: string;
8870
- }, ...args: unknown[]) => void) | undefined;
8871
- disabled?: boolean | undefined;
8872
- variant?: "filled" | "transparent" | "outlined" | undefined;
8873
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
8874
- }, {
8875
- type: "Button";
8876
- id: string;
8877
- label: string;
8878
- onClick: (args_0: {
8879
- id: string;
8880
- }, ...args: unknown[]) => void;
8881
- onCreate?: ((args_0: {
8882
- id: string;
8883
- }, ...args: unknown[]) => void) | undefined;
8884
- onDestroy?: ((args_0: {
8885
- id: string;
8886
- }, ...args: unknown[]) => void) | undefined;
8887
- disabled?: boolean | undefined;
8888
- variant?: "filled" | "transparent" | "outlined" | undefined;
8889
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
8890
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8891
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8892
- id: z.ZodString;
8893
- }, "strip", z.ZodTypeAny, {
8894
- id: string;
8895
- }, {
8896
- id: string;
8897
- }>], z.ZodUnknown>, z.ZodVoid>>;
8898
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8899
- id: z.ZodString;
8900
- }, "strip", z.ZodTypeAny, {
8901
- id: string;
8902
- }, {
8903
- id: string;
8904
- }>], z.ZodUnknown>, z.ZodVoid>>;
8905
- }, {
8906
- id: z.ZodString;
8907
- }>, {
8908
- type: z.ZodLiteral<"Text">;
8909
- content: z.ZodString;
8910
- }>, "strip", z.ZodTypeAny, {
8911
- type: "Text";
8912
- id: string;
8913
- content: string;
8914
- onCreate?: ((args_0: {
8915
- id: string;
8916
- }, ...args: unknown[]) => void) | undefined;
8917
- onDestroy?: ((args_0: {
8918
- id: string;
8919
- }, ...args: unknown[]) => void) | undefined;
8920
- }, {
8921
- type: "Text";
8922
- id: string;
8923
- content: string;
8924
- onCreate?: ((args_0: {
8925
- id: string;
8926
- }, ...args: unknown[]) => void) | undefined;
8927
- onDestroy?: ((args_0: {
8928
- id: string;
8929
- }, ...args: unknown[]) => void) | undefined;
8930
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8931
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8932
- id: z.ZodString;
8933
- }, "strip", z.ZodTypeAny, {
8934
- id: string;
8935
- }, {
8936
- id: string;
8937
- }>], z.ZodUnknown>, z.ZodVoid>>;
8938
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8939
- id: z.ZodString;
8940
- }, "strip", z.ZodTypeAny, {
8941
- id: string;
8942
- }, {
8943
- id: string;
8944
- }>], z.ZodUnknown>, z.ZodVoid>>;
8945
- }, {
8946
- id: z.ZodString;
8947
- }>, {
8948
- type: z.ZodLiteral<"FlexibleSpace">;
8949
- }>, "strip", z.ZodTypeAny, {
8950
- type: "FlexibleSpace";
8951
- id: string;
8952
- onCreate?: ((args_0: {
8953
- id: string;
8954
- }, ...args: unknown[]) => void) | undefined;
8955
- onDestroy?: ((args_0: {
8956
- id: string;
8957
- }, ...args: unknown[]) => void) | undefined;
8958
- }, {
8959
- type: "FlexibleSpace";
8960
- id: string;
8961
- onCreate?: ((args_0: {
8962
- id: string;
8963
- }, ...args: unknown[]) => void) | undefined;
8964
- onDestroy?: ((args_0: {
8965
- id: string;
8966
- }, ...args: unknown[]) => void) | undefined;
8967
- }>]>, "many">;
8665
+ type: z.ZodLiteral<"FlexibleSpace">;
8968
8666
  }>, "strip", z.ZodTypeAny, {
8969
- type: "ButtonGroup";
8667
+ type: "FlexibleSpace";
8970
8668
  id: string;
8971
- items: ({
8972
- type: "Button";
8973
- id: string;
8974
- label: string;
8975
- onClick: (args_0: {
8976
- id: string;
8977
- }, ...args: unknown[]) => void;
8978
- onCreate?: ((args_0: {
8979
- id: string;
8980
- }, ...args: unknown[]) => void) | undefined;
8981
- onDestroy?: ((args_0: {
8982
- id: string;
8983
- }, ...args: unknown[]) => void) | undefined;
8984
- disabled?: boolean | undefined;
8985
- variant?: "filled" | "transparent" | "outlined" | undefined;
8986
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
8987
- } | {
8988
- type: "Text";
8989
- id: string;
8990
- content: string;
8991
- onCreate?: ((args_0: {
8992
- id: string;
8993
- }, ...args: unknown[]) => void) | undefined;
8994
- onDestroy?: ((args_0: {
8995
- id: string;
8996
- }, ...args: unknown[]) => void) | undefined;
8997
- } | {
8998
- type: "FlexibleSpace";
8999
- id: string;
9000
- onCreate?: ((args_0: {
9001
- id: string;
9002
- }, ...args: unknown[]) => void) | undefined;
9003
- onDestroy?: ((args_0: {
9004
- id: string;
9005
- }, ...args: unknown[]) => void) | undefined;
9006
- })[];
9007
- align?: "start" | "end" | undefined;
9008
8669
  onCreate?: ((args_0: {
9009
8670
  id: string;
9010
8671
  }, ...args: unknown[]) => void) | undefined;
@@ -9012,45 +8673,8 @@ declare const uiButtonGroupElementSchema: z.ZodObject<z.objectUtil.extendShape<z
9012
8673
  id: string;
9013
8674
  }, ...args: unknown[]) => void) | undefined;
9014
8675
  }, {
9015
- type: "ButtonGroup";
8676
+ type: "FlexibleSpace";
9016
8677
  id: string;
9017
- items: ({
9018
- type: "Button";
9019
- id: string;
9020
- label: string;
9021
- onClick: (args_0: {
9022
- id: string;
9023
- }, ...args: unknown[]) => void;
9024
- onCreate?: ((args_0: {
9025
- id: string;
9026
- }, ...args: unknown[]) => void) | undefined;
9027
- onDestroy?: ((args_0: {
9028
- id: string;
9029
- }, ...args: unknown[]) => void) | undefined;
9030
- disabled?: boolean | undefined;
9031
- variant?: "filled" | "transparent" | "outlined" | undefined;
9032
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
9033
- } | {
9034
- type: "Text";
9035
- id: string;
9036
- content: string;
9037
- onCreate?: ((args_0: {
9038
- id: string;
9039
- }, ...args: unknown[]) => void) | undefined;
9040
- onDestroy?: ((args_0: {
9041
- id: string;
9042
- }, ...args: unknown[]) => void) | undefined;
9043
- } | {
9044
- type: "FlexibleSpace";
9045
- id: string;
9046
- onCreate?: ((args_0: {
9047
- id: string;
9048
- }, ...args: unknown[]) => void) | undefined;
9049
- onDestroy?: ((args_0: {
9050
- id: string;
9051
- }, ...args: unknown[]) => void) | undefined;
9052
- })[];
9053
- align?: "start" | "end" | undefined;
9054
8678
  onCreate?: ((args_0: {
9055
8679
  id: string;
9056
8680
  }, ...args: unknown[]) => void) | undefined;
@@ -9059,139 +8683,60 @@ declare const uiButtonGroupElementSchema: z.ZodObject<z.objectUtil.extendShape<z
9059
8683
  }, ...args: unknown[]) => void) | undefined;
9060
8684
  }>;
9061
8685
  /**
9062
- * Represents a button group element in a panel.
9063
- * A button group is an horizontal container of buttons and text elements.
9064
- *
9065
- * @example
9066
- * Thanks to the FlexibleSpace element, button 1 and text 1 are aligned to the start of the panel,
9067
- * while button 2 is aligned to the end.
9068
- *
9069
- * ```typescript
9070
- * {
9071
- * type: "ButtonGroup",
9072
- * items: [
9073
- * { type: "Button", label: "Button 1", onClick: () => {} },
9074
- * { type: "Text", content: "Text 1" },
9075
- * { type: "FlexibleSpace" },
9076
- * { type: "Button", label: "Button 2", onClick: () => {} },
9077
- * ],
9078
- * }
9079
- * ```
9080
- */
9081
- interface UIButtonGroupElement extends UIElementBase, Omit<zInfer<typeof uiButtonGroupElementSchema>, "onCreate" | "onDestroy"> {
9082
- /**
9083
- * The items to add to the button group.
9084
- */
9085
- items: Array<UIButtonElement | UITextElement | UIFlexibleSpaceElement>;
9086
- }
9087
- /**
9088
- * The parameters for creating a button group element.
9089
- *
9090
- * See {@link UIButtonGroupElement} for more details.
9091
- *
9092
- * @remarks
9093
- * `id` is optional but recommended if you want to be able to perform updates.
9094
- */
9095
- interface UIButtonGroupElementCreate extends Omit<UIButtonGroupElement, "id" | "items">, UIElementBaseCreateParams {
9096
- /**
9097
- * The items to add to the button group.
9098
- */
9099
- items: Array<UIButtonElementCreate | UITextElementCreate | UIFlexibleSpaceElementCreate>;
9100
- }
9101
- type UIButtonGroupElementCreateClonable = Omit<MakeClonableSchema<UIButtonGroupElementCreate>, "items"> & {
9102
- items: Array<UIButtonElementCreateClonable | UITextElementCreateClonable | UIFlexibleSpaceElementCreateClonable>;
9103
- };
9104
- /**
9105
- * The parameters for updating a button group element.
8686
+ * Represents a flexible space element in a container.
9106
8687
  *
9107
- * See {@link UIButtonGroupElement} for more details.
8688
+ * When rendered...
9108
8689
  *
9109
- * @remarks
9110
- * `id` and `type` are required to update the button group element.
9111
- */
9112
- interface UIButtonGroupElementUpdate extends MakeUpdateSchema<UIButtonGroupElement, UIButtonGroupElementCreate> {
9113
- }
9114
-
9115
- declare const uiDividerElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
9116
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
9117
- id: z.ZodString;
9118
- }, "strip", z.ZodTypeAny, {
9119
- id: string;
9120
- }, {
9121
- id: string;
9122
- }>], z.ZodUnknown>, z.ZodVoid>>;
9123
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
9124
- id: z.ZodString;
9125
- }, "strip", z.ZodTypeAny, {
9126
- id: string;
9127
- }, {
9128
- id: string;
9129
- }>], z.ZodUnknown>, z.ZodVoid>>;
9130
- }, {
9131
- id: z.ZodString;
9132
- }>, {
9133
- type: z.ZodLiteral<"Divider">;
9134
- }>, "strip", z.ZodTypeAny, {
9135
- type: "Divider";
9136
- id: string;
9137
- onCreate?: ((args_0: {
9138
- id: string;
9139
- }, ...args: unknown[]) => void) | undefined;
9140
- onDestroy?: ((args_0: {
9141
- id: string;
9142
- }, ...args: unknown[]) => void) | undefined;
9143
- }, {
9144
- type: "Divider";
9145
- id: string;
9146
- onCreate?: ((args_0: {
9147
- id: string;
9148
- }, ...args: unknown[]) => void) | undefined;
9149
- onDestroy?: ((args_0: {
9150
- id: string;
9151
- }, ...args: unknown[]) => void) | undefined;
9152
- }>;
9153
- /**
9154
- * Represents a divider element in a panel.
9155
- * This element is used to separate other elements in a panel.
9156
- * It is rendered as a gray horizontal line of 1px height.
8690
+ * - inside {@link UIGridContainerElement}, it will add extra gap between items. It can be controlled by `grid` property.
8691
+ * - inside {@link UIPanelElement} `body` or `footer`, since they work as vertically stacks, it will add extra gap between items.
9157
8692
  *
9158
8693
  * @example
9159
- * Divider element is useful to separate sections of a panel.
8694
+ * Paragraphs with a flexible space between makes them more visually separated.
9160
8695
  * ```typescript
9161
8696
  * {
8697
+ * type: "Panel",
9162
8698
  * body: [
9163
- * { type: "Text", content: "Contact" },
9164
- * { type: "TextInput", placeholder: "Enter your name", ... },
9165
- * { type: "TextInput", placeholder: "Enter your email", ... },
9166
- * { type: "Divider" },
9167
- * { type: "Text", content: "Address" },
9168
- * { type: "TextInput", placeholder: "Enter your address", ... },
8699
+ * { type: "Paragraph", text: "Paragraph 1" },
8700
+ * { type: "FlexibleSpace" },
8701
+ * { type: "Paragraph", text: "Paragraph 2" },
8702
+ * ],
8703
+ * }
8704
+ * ```
8705
+ *
8706
+ * @example
8707
+ * Horizontal stack of buttons with a flexible space between makes them more visually separated.
8708
+ * ```typescript
8709
+ * {
8710
+ * type: "Grid",
8711
+ * grid: "auto-flow / auto 1fr auto",
8712
+ * items: [
8713
+ * { type: "Button", label: "Button 1", onClick: () => {} },
8714
+ * { type: "FlexibleSpace" },
8715
+ * { type: "Button", label: "Button 2", onClick: () => {} },
9169
8716
  * ],
9170
8717
  * }
9171
8718
  * ```
9172
8719
  */
9173
- interface UIDividerElement extends UIElementBase, Omit<zInfer<typeof uiDividerElementSchema>, "onCreate" | "onDestroy"> {
8720
+ interface UIFlexibleSpaceElement extends UIElementBase, Omit<zInfer<typeof uiFlexibleSpaceElementSchema>, "onCreate" | "onDestroy"> {
9174
8721
  }
9175
8722
  /**
9176
- * The parameters for creating a divider element.
9177
- *
9178
- * See {@link UIDividerElement} for more details.
8723
+ * The parameters for creating a flexible space element.
9179
8724
  *
9180
8725
  * @remarks
9181
- * `id` is optional but recommended if you want to be able to delete the element.
8726
+ * `id` is optional but recommended if you want to be able to perform updates.
9182
8727
  */
9183
- interface UIDividerElementCreate extends Omit<UIDividerElement, "id">, UIElementBaseCreateParams {
8728
+ interface UIFlexibleSpaceElementCreate extends Omit<UIFlexibleSpaceElement, "id">, UIElementBaseCreateParams {
9184
8729
  }
9185
- type UIDividerElementCreateClonable = MakeClonableSchema<UIDividerElementCreate>;
8730
+ type UIFlexibleSpaceElementCreateClonable = MakeClonableSchema<UIFlexibleSpaceElementCreate>;
9186
8731
  /**
9187
- * The parameters for updating a divider element.
8732
+ * The parameters for updating a flexible space element.
9188
8733
  *
9189
- * See {@link UIDividerElement} for more details.
8734
+ * See {@link UIFlexibleSpaceElement} for more details.
9190
8735
  *
9191
8736
  * @remarks
9192
8737
  * `id` and `type` are required to identify the element to update.
9193
8738
  */
9194
- interface UIDividerElementUpdate extends MakeUpdateSchema<UIDividerElement, UIDividerElementCreate> {
8739
+ interface UIFlexibleSpaceElementUpdate extends MakeUpdateSchema<UIFlexibleSpaceElement, UIFlexibleSpaceElementCreate> {
9195
8740
  }
9196
8741
 
9197
8742
  declare const uiSelectElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -9561,6 +9106,135 @@ type UITextInputElementCreateClonable = MakeClonableSchema<UITextInputElementCre
9561
9106
  interface UITextInputElementUpdate extends MakeUpdateSchema<UITextInputElement, UITextInputElementCreate> {
9562
9107
  }
9563
9108
 
9109
+ declare const uiTextElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
9110
+ onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
9111
+ id: z.ZodString;
9112
+ }, "strip", z.ZodTypeAny, {
9113
+ id: string;
9114
+ }, {
9115
+ id: string;
9116
+ }>], z.ZodUnknown>, z.ZodVoid>>;
9117
+ onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
9118
+ id: z.ZodString;
9119
+ }, "strip", z.ZodTypeAny, {
9120
+ id: string;
9121
+ }, {
9122
+ id: string;
9123
+ }>], z.ZodUnknown>, z.ZodVoid>>;
9124
+ }, {
9125
+ id: z.ZodString;
9126
+ }>, {
9127
+ type: z.ZodLiteral<"Text">;
9128
+ /**
9129
+ * The text to display in the element.
9130
+ */
9131
+ content: z.ZodString;
9132
+ }>, "strip", z.ZodTypeAny, {
9133
+ type: "Text";
9134
+ id: string;
9135
+ content: string;
9136
+ onCreate?: ((args_0: {
9137
+ id: string;
9138
+ }, ...args: unknown[]) => void) | undefined;
9139
+ onDestroy?: ((args_0: {
9140
+ id: string;
9141
+ }, ...args: unknown[]) => void) | undefined;
9142
+ }, {
9143
+ type: "Text";
9144
+ id: string;
9145
+ content: string;
9146
+ onCreate?: ((args_0: {
9147
+ id: string;
9148
+ }, ...args: unknown[]) => void) | undefined;
9149
+ onDestroy?: ((args_0: {
9150
+ id: string;
9151
+ }, ...args: unknown[]) => void) | undefined;
9152
+ }>;
9153
+ /**
9154
+ * Represents a text element in a panel.
9155
+ * Markdown is supported.
9156
+ *
9157
+ * @example
9158
+ * #### simple
9159
+ * ```typescript
9160
+ * {
9161
+ * type: "Text",
9162
+ * content: "Hello, world!",
9163
+ * }
9164
+ * ```
9165
+ *
9166
+ * @example
9167
+ * #### with links
9168
+ * ```typescript
9169
+ * {
9170
+ * type: "Text",
9171
+ * content: "Fill the form https://www.google.com.",
9172
+ * }
9173
+ * ```
9174
+ *
9175
+ * @example
9176
+ * #### markdown
9177
+ * ```typescript
9178
+ * {
9179
+ * type: "Text",
9180
+ * content: "**Hello**, _world_!",
9181
+ * }
9182
+ * ```
9183
+ *
9184
+ * @example
9185
+ * #### complex markdown
9186
+ * Complex markdown syntax is supported like tables, images, quotes, etc.
9187
+ * ```typescript
9188
+ * {
9189
+ * type: "Text",
9190
+ * content: `
9191
+ *
9192
+ * ## Heading
9193
+ *
9194
+ * This is a paragraph.
9195
+ *
9196
+ * ### Subheading
9197
+ *
9198
+ * This is a paragraph.
9199
+ *
9200
+ * | Name | Age |
9201
+ * | ---- | --- |
9202
+ * | John | 25 |
9203
+ * | Jane | 30 |
9204
+ *
9205
+ * ![Image](https://via.placeholder.com/150)
9206
+ *
9207
+ * > This is a quote.
9208
+ *
9209
+ * [Link](https://www.google.com)
9210
+ * `,
9211
+ * }
9212
+ * ```
9213
+ */
9214
+ interface UITextElement extends UIElementBase, Omit<zInfer<typeof uiTextElementSchema>, "onCreate" | "onDestroy"> {
9215
+ }
9216
+ /**
9217
+ * The parameters for creating a text element.
9218
+ *
9219
+ * See {@link UITextElement} for more details.
9220
+ *
9221
+ * @remarks
9222
+ * `id` is optional but recommended if you want to be able to perform updates.
9223
+ */
9224
+ interface UITextElementCreate extends Omit<UITextElement, "id">, UIElementBaseCreateParams {
9225
+ }
9226
+ type UITextElementCreateClonable = MakeClonableSchema<UITextElementCreate>;
9227
+ /**
9228
+ * The parameters for updating a text element.
9229
+ *
9230
+ * See {@link UITextElement} for more details.
9231
+ *
9232
+ * @remarks
9233
+ * `id` and `type` are required to identify the element to update.
9234
+ */
9235
+ interface UITextElementUpdate extends MakeUpdateSchema<UITextElement, UITextElementCreate> {
9236
+ }
9237
+
9564
9238
  type ItemCreateClonableType = Exclude<UIPanelElementCreateClonable, {
9565
9239
  type: "Grid";
9566
9240
  }>;
@@ -9702,22 +9376,22 @@ type UIGridContainerElementCreateClonable = Omit<MakeClonableSchema<UIGridContai
9702
9376
  interface UIGridContainerElementUpdate extends MakeUpdateSchema<UIGridContainerElement, UIGridContainerElementCreate> {
9703
9377
  }
9704
9378
 
9705
- type UIPanelElement = UIButtonElement | UITextElement | UIButtonGroupElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIGridContainerElement;
9379
+ type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIGridContainerElement;
9706
9380
  /**
9707
9381
  * This is a union of all the possible elements that can be created inside panel's body or footer.
9708
9382
  *
9709
9383
  * @remarks
9710
9384
  * For the sake of convenience, `id` is optional but recommended if you want to be able to perform updates.
9711
9385
  */
9712
- type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIGridContainerElementCreate;
9713
- type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIButtonGroupElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIGridContainerElementCreateClonable;
9386
+ type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIGridContainerElementCreate;
9387
+ type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIGridContainerElementCreateClonable;
9714
9388
  /**
9715
9389
  * 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).
9716
9390
  *
9717
9391
  * @remarks
9718
9392
  * `id` and `type` are required to identify the element to update.
9719
9393
  */
9720
- type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UIButtonGroupElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
9394
+ type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
9721
9395
 
9722
9396
  declare const placementForUiElementSchema: z.ZodUnion<[z.ZodObject<{
9723
9397
  after: z.ZodString;
@@ -9835,8 +9509,6 @@ declare const uiPanelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
9835
9509
  *
9836
9510
  * #### Footer
9837
9511
  * Footer is sticky to the bottom of the panel, and can be used to add actions to the panel (e.g. save, cancel, etc.).
9838
- * Normally, it should contain a `ButtonGroup` element with a `Cancel` and `Save` button. Using `ButtonGroup` is recommended
9839
- * because it will automatically align the buttons to the end of the panel giving it a nice look.
9840
9512
  *
9841
9513
  * @example
9842
9514
  * #### basic
@@ -9869,10 +9541,15 @@ declare const uiPanelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
9869
9541
  * { type: "TextInput", label: "Last name", value: "", placeholder: "Doe", onChange: (value) => setLastName(value) },
9870
9542
  * ],
9871
9543
  * footer: [
9872
- * { type: "ButtonGroup", items: [
9873
- * { type: "Button", label: "Reset", onClick: () => alert("Reset") },
9874
- * { type: "Button", label: "Save", onClick: () => alert("Save") },
9875
- * ] },
9544
+ * {
9545
+ * type: "Grid",
9546
+ * grid: "auto-flow / 1fr auto auto",
9547
+ * items: [
9548
+ * { type: "FlexibleSpace" }, // this will make the buttons to be aligned to the end of the panel
9549
+ * { type: "Button", label: "Reset", onClick: () => alert("Reset") },
9550
+ * { type: "Button", label: "Save", onClick: () => alert("Save") },
9551
+ * ],
9552
+ * },
9876
9553
  * ],
9877
9554
  * }
9878
9555
  * ```
@@ -10687,7 +10364,7 @@ interface CreatePanelElementsParams extends zInfer<typeof CreatePanelElementsPar
10687
10364
  /**
10688
10365
  * The section of the panel to add the element to.
10689
10366
  * It can be either one of the top-level sections of the panel (`"body"` or `"footer"`)
10690
- * or a specific container (like `ButtonGroup`) in the panel (`{ id: string }`).
10367
+ * or a specific container (like {@link UIGridContainerElement}) in the panel (`{ id: string }`).
10691
10368
  *
10692
10369
  * @defaultValue `"body"`
10693
10370
  */
@@ -10806,286 +10483,6 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
10806
10483
  id: string;
10807
10484
  }, ...args: unknown[]) => void) | undefined;
10808
10485
  content?: string | undefined;
10809
- }>, z.ZodObject<{
10810
- type: z.ZodLiteral<"ButtonGroup">;
10811
- id: z.ZodString;
10812
- align: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "end"]>>>;
10813
- onCreate: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10814
- id: z.ZodString;
10815
- }, "strip", z.ZodTypeAny, {
10816
- id: string;
10817
- }, {
10818
- id: string;
10819
- }>], z.ZodUnknown>, z.ZodVoid>>>;
10820
- onDestroy: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10821
- id: z.ZodString;
10822
- }, "strip", z.ZodTypeAny, {
10823
- id: string;
10824
- }, {
10825
- id: string;
10826
- }>], z.ZodUnknown>, z.ZodVoid>>>;
10827
- items: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
10828
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10829
- id: z.ZodString;
10830
- }, "strip", z.ZodTypeAny, {
10831
- id: string;
10832
- }, {
10833
- id: string;
10834
- }>], z.ZodUnknown>, z.ZodVoid>>;
10835
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10836
- id: z.ZodString;
10837
- }, "strip", z.ZodTypeAny, {
10838
- id: string;
10839
- }, {
10840
- id: string;
10841
- }>], z.ZodUnknown>, z.ZodVoid>>;
10842
- }, {
10843
- id: z.ZodString;
10844
- }>, {
10845
- type: z.ZodLiteral<"Button">;
10846
- label: z.ZodString;
10847
- variant: z.ZodOptional<z.ZodEnum<["filled", "transparent", "outlined"]>>;
10848
- tint: z.ZodOptional<z.ZodEnum<["default", "primary", "accent", "danger"]>>;
10849
- disabled: z.ZodOptional<z.ZodBoolean>;
10850
- onClick: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10851
- id: z.ZodString;
10852
- }, "strip", z.ZodTypeAny, {
10853
- id: string;
10854
- }, {
10855
- id: string;
10856
- }>], z.ZodUnknown>, z.ZodVoid>;
10857
- }>, {
10858
- id: z.ZodOptional<z.ZodString>;
10859
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10860
- id: z.ZodString;
10861
- }, "strip", z.ZodTypeAny, {
10862
- id: string;
10863
- }, {
10864
- id: string;
10865
- }>], z.ZodUnknown>, z.ZodVoid>>;
10866
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10867
- id: z.ZodString;
10868
- }, "strip", z.ZodTypeAny, {
10869
- id: string;
10870
- }, {
10871
- id: string;
10872
- }>], z.ZodUnknown>, z.ZodVoid>>;
10873
- }>, "strip", z.ZodTypeAny, {
10874
- type: "Button";
10875
- label: string;
10876
- onClick: (args_0: {
10877
- id: string;
10878
- }, ...args: unknown[]) => void;
10879
- id?: string | undefined;
10880
- onCreate?: ((args_0: {
10881
- id: string;
10882
- }, ...args: unknown[]) => void) | undefined;
10883
- onDestroy?: ((args_0: {
10884
- id: string;
10885
- }, ...args: unknown[]) => void) | undefined;
10886
- disabled?: boolean | undefined;
10887
- variant?: "filled" | "transparent" | "outlined" | undefined;
10888
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
10889
- }, {
10890
- type: "Button";
10891
- label: string;
10892
- onClick: (args_0: {
10893
- id: string;
10894
- }, ...args: unknown[]) => void;
10895
- id?: string | undefined;
10896
- onCreate?: ((args_0: {
10897
- id: string;
10898
- }, ...args: unknown[]) => void) | undefined;
10899
- onDestroy?: ((args_0: {
10900
- id: string;
10901
- }, ...args: unknown[]) => void) | undefined;
10902
- disabled?: boolean | undefined;
10903
- variant?: "filled" | "transparent" | "outlined" | undefined;
10904
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
10905
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
10906
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10907
- id: z.ZodString;
10908
- }, "strip", z.ZodTypeAny, {
10909
- id: string;
10910
- }, {
10911
- id: string;
10912
- }>], z.ZodUnknown>, z.ZodVoid>>;
10913
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10914
- id: z.ZodString;
10915
- }, "strip", z.ZodTypeAny, {
10916
- id: string;
10917
- }, {
10918
- id: string;
10919
- }>], z.ZodUnknown>, z.ZodVoid>>;
10920
- }, {
10921
- id: z.ZodString;
10922
- }>, {
10923
- type: z.ZodLiteral<"Text">;
10924
- content: z.ZodString;
10925
- }>, {
10926
- id: z.ZodOptional<z.ZodString>;
10927
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10928
- id: z.ZodString;
10929
- }, "strip", z.ZodTypeAny, {
10930
- id: string;
10931
- }, {
10932
- id: string;
10933
- }>], z.ZodUnknown>, z.ZodVoid>>;
10934
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10935
- id: z.ZodString;
10936
- }, "strip", z.ZodTypeAny, {
10937
- id: string;
10938
- }, {
10939
- id: string;
10940
- }>], z.ZodUnknown>, z.ZodVoid>>;
10941
- }>, "strip", z.ZodTypeAny, {
10942
- type: "Text";
10943
- content: string;
10944
- id?: string | undefined;
10945
- onCreate?: ((args_0: {
10946
- id: string;
10947
- }, ...args: unknown[]) => void) | undefined;
10948
- onDestroy?: ((args_0: {
10949
- id: string;
10950
- }, ...args: unknown[]) => void) | undefined;
10951
- }, {
10952
- type: "Text";
10953
- content: string;
10954
- id?: string | undefined;
10955
- onCreate?: ((args_0: {
10956
- id: string;
10957
- }, ...args: unknown[]) => void) | undefined;
10958
- onDestroy?: ((args_0: {
10959
- id: string;
10960
- }, ...args: unknown[]) => void) | undefined;
10961
- }>, z.ZodObject<{
10962
- type: z.ZodLiteral<"FlexibleSpace">;
10963
- id: z.ZodOptional<z.ZodString>;
10964
- onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10965
- id: z.ZodString;
10966
- }, "strip", z.ZodTypeAny, {
10967
- id: string;
10968
- }, {
10969
- id: string;
10970
- }>], z.ZodUnknown>, z.ZodVoid>>;
10971
- onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10972
- id: z.ZodString;
10973
- }, "strip", z.ZodTypeAny, {
10974
- id: string;
10975
- }, {
10976
- id: string;
10977
- }>], z.ZodUnknown>, z.ZodVoid>>;
10978
- }, "strip", z.ZodTypeAny, {
10979
- type: "FlexibleSpace";
10980
- id?: string | undefined;
10981
- onCreate?: ((args_0: {
10982
- id: string;
10983
- }, ...args: unknown[]) => void) | undefined;
10984
- onDestroy?: ((args_0: {
10985
- id: string;
10986
- }, ...args: unknown[]) => void) | undefined;
10987
- }, {
10988
- type: "FlexibleSpace";
10989
- id?: string | undefined;
10990
- onCreate?: ((args_0: {
10991
- id: string;
10992
- }, ...args: unknown[]) => void) | undefined;
10993
- onDestroy?: ((args_0: {
10994
- id: string;
10995
- }, ...args: unknown[]) => void) | undefined;
10996
- }>]>, "many">>;
10997
- }, z.UnknownKeysParam, z.ZodTypeAny, {
10998
- type: "ButtonGroup";
10999
- id: string;
11000
- align?: "start" | "end" | undefined;
11001
- items?: ({
11002
- type: "Button";
11003
- label: string;
11004
- onClick: (args_0: {
11005
- id: string;
11006
- }, ...args: unknown[]) => void;
11007
- id?: string | undefined;
11008
- onCreate?: ((args_0: {
11009
- id: string;
11010
- }, ...args: unknown[]) => void) | undefined;
11011
- onDestroy?: ((args_0: {
11012
- id: string;
11013
- }, ...args: unknown[]) => void) | undefined;
11014
- disabled?: boolean | undefined;
11015
- variant?: "filled" | "transparent" | "outlined" | undefined;
11016
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
11017
- } | {
11018
- type: "Text";
11019
- content: string;
11020
- id?: string | undefined;
11021
- onCreate?: ((args_0: {
11022
- id: string;
11023
- }, ...args: unknown[]) => void) | undefined;
11024
- onDestroy?: ((args_0: {
11025
- id: string;
11026
- }, ...args: unknown[]) => void) | undefined;
11027
- } | {
11028
- type: "FlexibleSpace";
11029
- id?: string | undefined;
11030
- onCreate?: ((args_0: {
11031
- id: string;
11032
- }, ...args: unknown[]) => void) | undefined;
11033
- onDestroy?: ((args_0: {
11034
- id: string;
11035
- }, ...args: unknown[]) => void) | undefined;
11036
- })[] | undefined;
11037
- onCreate?: ((args_0: {
11038
- id: string;
11039
- }, ...args: unknown[]) => void) | undefined;
11040
- onDestroy?: ((args_0: {
11041
- id: string;
11042
- }, ...args: unknown[]) => void) | undefined;
11043
- }, {
11044
- type: "ButtonGroup";
11045
- id: string;
11046
- align?: "start" | "end" | undefined;
11047
- items?: ({
11048
- type: "Button";
11049
- label: string;
11050
- onClick: (args_0: {
11051
- id: string;
11052
- }, ...args: unknown[]) => void;
11053
- id?: string | undefined;
11054
- onCreate?: ((args_0: {
11055
- id: string;
11056
- }, ...args: unknown[]) => void) | undefined;
11057
- onDestroy?: ((args_0: {
11058
- id: string;
11059
- }, ...args: unknown[]) => void) | undefined;
11060
- disabled?: boolean | undefined;
11061
- variant?: "filled" | "transparent" | "outlined" | undefined;
11062
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
11063
- } | {
11064
- type: "Text";
11065
- content: string;
11066
- id?: string | undefined;
11067
- onCreate?: ((args_0: {
11068
- id: string;
11069
- }, ...args: unknown[]) => void) | undefined;
11070
- onDestroy?: ((args_0: {
11071
- id: string;
11072
- }, ...args: unknown[]) => void) | undefined;
11073
- } | {
11074
- type: "FlexibleSpace";
11075
- id?: string | undefined;
11076
- onCreate?: ((args_0: {
11077
- id: string;
11078
- }, ...args: unknown[]) => void) | undefined;
11079
- onDestroy?: ((args_0: {
11080
- id: string;
11081
- }, ...args: unknown[]) => void) | undefined;
11082
- })[] | undefined;
11083
- onCreate?: ((args_0: {
11084
- id: string;
11085
- }, ...args: unknown[]) => void) | undefined;
11086
- onDestroy?: ((args_0: {
11087
- id: string;
11088
- }, ...args: unknown[]) => void) | undefined;
11089
10486
  }>, z.ZodObject<{
11090
10487
  type: z.ZodLiteral<"TextInput">;
11091
10488
  value: z.ZodOptional<z.ZodString>;
@@ -11355,11 +10752,11 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11355
10752
  id: string;
11356
10753
  }>], z.ZodUnknown>, z.ZodVoid>>>;
11357
10754
  grid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11358
- items: z.ZodOptional<z.ZodType<(UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[], z.ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[]>>;
10755
+ items: z.ZodOptional<z.ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[], z.ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[]>>;
11359
10756
  }, z.UnknownKeysParam, z.ZodTypeAny, {
11360
10757
  type: "Grid";
11361
10758
  id: string;
11362
- items?: (UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
10759
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11363
10760
  onCreate?: ((args_0: {
11364
10761
  id: string;
11365
10762
  }, ...args: unknown[]) => void) | undefined;
@@ -11370,7 +10767,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11370
10767
  }, {
11371
10768
  type: "Grid";
11372
10769
  id: string;
11373
- items?: (UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
10770
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11374
10771
  onCreate?: ((args_0: {
11375
10772
  id: string;
11376
10773
  }, ...args: unknown[]) => void) | undefined;
@@ -11406,52 +10803,6 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11406
10803
  id: string;
11407
10804
  }, ...args: unknown[]) => void) | undefined;
11408
10805
  content?: string | undefined;
11409
- } | {
11410
- type: "ButtonGroup";
11411
- id: string;
11412
- align?: "start" | "end" | undefined;
11413
- items?: ({
11414
- type: "Button";
11415
- label: string;
11416
- onClick: (args_0: {
11417
- id: string;
11418
- }, ...args: unknown[]) => void;
11419
- id?: string | undefined;
11420
- onCreate?: ((args_0: {
11421
- id: string;
11422
- }, ...args: unknown[]) => void) | undefined;
11423
- onDestroy?: ((args_0: {
11424
- id: string;
11425
- }, ...args: unknown[]) => void) | undefined;
11426
- disabled?: boolean | undefined;
11427
- variant?: "filled" | "transparent" | "outlined" | undefined;
11428
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
11429
- } | {
11430
- type: "Text";
11431
- content: string;
11432
- id?: string | undefined;
11433
- onCreate?: ((args_0: {
11434
- id: string;
11435
- }, ...args: unknown[]) => void) | undefined;
11436
- onDestroy?: ((args_0: {
11437
- id: string;
11438
- }, ...args: unknown[]) => void) | undefined;
11439
- } | {
11440
- type: "FlexibleSpace";
11441
- id?: string | undefined;
11442
- onCreate?: ((args_0: {
11443
- id: string;
11444
- }, ...args: unknown[]) => void) | undefined;
11445
- onDestroy?: ((args_0: {
11446
- id: string;
11447
- }, ...args: unknown[]) => void) | undefined;
11448
- })[] | undefined;
11449
- onCreate?: ((args_0: {
11450
- id: string;
11451
- }, ...args: unknown[]) => void) | undefined;
11452
- onDestroy?: ((args_0: {
11453
- id: string;
11454
- }, ...args: unknown[]) => void) | undefined;
11455
10806
  } | {
11456
10807
  type: "TextInput";
11457
10808
  id: string;
@@ -11518,7 +10869,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11518
10869
  } | {
11519
10870
  type: "Grid";
11520
10871
  id: string;
11521
- items?: (UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
10872
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11522
10873
  onCreate?: ((args_0: {
11523
10874
  id: string;
11524
10875
  }, ...args: unknown[]) => void) | undefined;
@@ -11554,52 +10905,6 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11554
10905
  id: string;
11555
10906
  }, ...args: unknown[]) => void) | undefined;
11556
10907
  content?: string | undefined;
11557
- } | {
11558
- type: "ButtonGroup";
11559
- id: string;
11560
- align?: "start" | "end" | undefined;
11561
- items?: ({
11562
- type: "Button";
11563
- label: string;
11564
- onClick: (args_0: {
11565
- id: string;
11566
- }, ...args: unknown[]) => void;
11567
- id?: string | undefined;
11568
- onCreate?: ((args_0: {
11569
- id: string;
11570
- }, ...args: unknown[]) => void) | undefined;
11571
- onDestroy?: ((args_0: {
11572
- id: string;
11573
- }, ...args: unknown[]) => void) | undefined;
11574
- disabled?: boolean | undefined;
11575
- variant?: "filled" | "transparent" | "outlined" | undefined;
11576
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
11577
- } | {
11578
- type: "Text";
11579
- content: string;
11580
- id?: string | undefined;
11581
- onCreate?: ((args_0: {
11582
- id: string;
11583
- }, ...args: unknown[]) => void) | undefined;
11584
- onDestroy?: ((args_0: {
11585
- id: string;
11586
- }, ...args: unknown[]) => void) | undefined;
11587
- } | {
11588
- type: "FlexibleSpace";
11589
- id?: string | undefined;
11590
- onCreate?: ((args_0: {
11591
- id: string;
11592
- }, ...args: unknown[]) => void) | undefined;
11593
- onDestroy?: ((args_0: {
11594
- id: string;
11595
- }, ...args: unknown[]) => void) | undefined;
11596
- })[] | undefined;
11597
- onCreate?: ((args_0: {
11598
- id: string;
11599
- }, ...args: unknown[]) => void) | undefined;
11600
- onDestroy?: ((args_0: {
11601
- id: string;
11602
- }, ...args: unknown[]) => void) | undefined;
11603
10908
  } | {
11604
10909
  type: "TextInput";
11605
10910
  id: string;
@@ -11666,7 +10971,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11666
10971
  } | {
11667
10972
  type: "Grid";
11668
10973
  id: string;
11669
- items?: (UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
10974
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11670
10975
  onCreate?: ((args_0: {
11671
10976
  id: string;
11672
10977
  }, ...args: unknown[]) => void) | undefined;
@@ -11705,52 +11010,6 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11705
11010
  id: string;
11706
11011
  }, ...args: unknown[]) => void) | undefined;
11707
11012
  content?: string | undefined;
11708
- } | {
11709
- type: "ButtonGroup";
11710
- id: string;
11711
- align?: "start" | "end" | undefined;
11712
- items?: ({
11713
- type: "Button";
11714
- label: string;
11715
- onClick: (args_0: {
11716
- id: string;
11717
- }, ...args: unknown[]) => void;
11718
- id?: string | undefined;
11719
- onCreate?: ((args_0: {
11720
- id: string;
11721
- }, ...args: unknown[]) => void) | undefined;
11722
- onDestroy?: ((args_0: {
11723
- id: string;
11724
- }, ...args: unknown[]) => void) | undefined;
11725
- disabled?: boolean | undefined;
11726
- variant?: "filled" | "transparent" | "outlined" | undefined;
11727
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
11728
- } | {
11729
- type: "Text";
11730
- content: string;
11731
- id?: string | undefined;
11732
- onCreate?: ((args_0: {
11733
- id: string;
11734
- }, ...args: unknown[]) => void) | undefined;
11735
- onDestroy?: ((args_0: {
11736
- id: string;
11737
- }, ...args: unknown[]) => void) | undefined;
11738
- } | {
11739
- type: "FlexibleSpace";
11740
- id?: string | undefined;
11741
- onCreate?: ((args_0: {
11742
- id: string;
11743
- }, ...args: unknown[]) => void) | undefined;
11744
- onDestroy?: ((args_0: {
11745
- id: string;
11746
- }, ...args: unknown[]) => void) | undefined;
11747
- })[] | undefined;
11748
- onCreate?: ((args_0: {
11749
- id: string;
11750
- }, ...args: unknown[]) => void) | undefined;
11751
- onDestroy?: ((args_0: {
11752
- id: string;
11753
- }, ...args: unknown[]) => void) | undefined;
11754
11013
  } | {
11755
11014
  type: "TextInput";
11756
11015
  id: string;
@@ -11817,7 +11076,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11817
11076
  } | {
11818
11077
  type: "Grid";
11819
11078
  id: string;
11820
- items?: (UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11079
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11821
11080
  onCreate?: ((args_0: {
11822
11081
  id: string;
11823
11082
  }, ...args: unknown[]) => void) | undefined;
@@ -11856,52 +11115,6 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11856
11115
  id: string;
11857
11116
  }, ...args: unknown[]) => void) | undefined;
11858
11117
  content?: string | undefined;
11859
- } | {
11860
- type: "ButtonGroup";
11861
- id: string;
11862
- align?: "start" | "end" | undefined;
11863
- items?: ({
11864
- type: "Button";
11865
- label: string;
11866
- onClick: (args_0: {
11867
- id: string;
11868
- }, ...args: unknown[]) => void;
11869
- id?: string | undefined;
11870
- onCreate?: ((args_0: {
11871
- id: string;
11872
- }, ...args: unknown[]) => void) | undefined;
11873
- onDestroy?: ((args_0: {
11874
- id: string;
11875
- }, ...args: unknown[]) => void) | undefined;
11876
- disabled?: boolean | undefined;
11877
- variant?: "filled" | "transparent" | "outlined" | undefined;
11878
- tint?: "default" | "primary" | "accent" | "danger" | undefined;
11879
- } | {
11880
- type: "Text";
11881
- content: string;
11882
- id?: string | undefined;
11883
- onCreate?: ((args_0: {
11884
- id: string;
11885
- }, ...args: unknown[]) => void) | undefined;
11886
- onDestroy?: ((args_0: {
11887
- id: string;
11888
- }, ...args: unknown[]) => void) | undefined;
11889
- } | {
11890
- type: "FlexibleSpace";
11891
- id?: string | undefined;
11892
- onCreate?: ((args_0: {
11893
- id: string;
11894
- }, ...args: unknown[]) => void) | undefined;
11895
- onDestroy?: ((args_0: {
11896
- id: string;
11897
- }, ...args: unknown[]) => void) | undefined;
11898
- })[] | undefined;
11899
- onCreate?: ((args_0: {
11900
- id: string;
11901
- }, ...args: unknown[]) => void) | undefined;
11902
- onDestroy?: ((args_0: {
11903
- id: string;
11904
- }, ...args: unknown[]) => void) | undefined;
11905
11118
  } | {
11906
11119
  type: "TextInput";
11907
11120
  id: string;
@@ -11968,7 +11181,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11968
11181
  } | {
11969
11182
  type: "Grid";
11970
11183
  id: string;
11971
- items?: (UIButtonElementCreate | UITextElementCreate | UIButtonGroupElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11184
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11972
11185
  onCreate?: ((args_0: {
11973
11186
  id: string;
11974
11187
  }, ...args: unknown[]) => void) | undefined;
@@ -12805,4 +12018,4 @@ interface FeltController extends ViewportController, UiController, LayersControl
12805
12018
  iframe: HTMLIFrameElement | null;
12806
12019
  }
12807
12020
 
12808
- 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 UIActionTriggerCreate 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 UIButtonElement as bA, type UIButtonElementCreate as bB, type UIButtonElementUpdate as bC, type UITextElement as bD, type UITextElementCreate as bE, type UITextElementUpdate as bF, type UIButtonGroupElement as bG, type UIButtonGroupElementCreate as bH, type UIButtonGroupElementUpdate as bI, type UIFlexibleSpaceElement as bJ, type UIFlexibleSpaceElementCreate as bK, type UIFlexibleSpaceElementUpdate as bL, type UIDividerElement as bM, type UIDividerElementCreate as bN, type UIDividerElementUpdate as bO, type UITextInputElement as bP, type UITextInputElementCreate as bQ, type UITextInputElementUpdate as bR, type UISelectElement as bS, type UISelectElementCreate as bT, type UISelectElementUpdate as bU, type UIPanelElement as bV, type UIPanelElementCreate as bW, type UIPanelElementUpdate as bX, type UIGridContainerElement as bY, type UIGridContainerElementCreate as bZ, type UIGridContainerElementUpdate 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 CreatePanelElementsParams as bq, type CreatePanelParams as br, type DeletePanelElementsParams as bs, type UiOnMapInteractionsOptions as bt, type UpdateActionTriggerParams as bu, type UpdatePanelElementsParams as bv, type UpdatePanelParams as bw, type PlacementForUIElement as bx, type UIPanel as by, type UIPanelCreate as bz, type ElementChangeCallbackParams as c, type UiController as c0, type SetViewportCenterZoomParams as c1, type ViewportConstraints as c2, type ViewportFitBoundsParams as c3, type ViewportState as c4, type ViewportController as c5, type UnwrapPromise as c6, uiActionTriggerSchema as c7, type UIPanelElementCreateClonable as c8, uiPanelCreateSchema as c9, type UIButtonElementCreateClonable as ca, type MakeClonableSchema as cb, type UIButtonGroupElementCreateClonable as cc, type PromiseOrNot as cd, type UnionToIntersection as ce, 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 };
12021
+ 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 ViewportConstraints 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 UIButtonElement as bA, type UIButtonElementCreate as bB, type UIButtonElementUpdate as bC, type UITextElement as bD, type UITextElementCreate as bE, type UITextElementUpdate as bF, type UIFlexibleSpaceElement as bG, type UIFlexibleSpaceElementCreate as bH, type UIFlexibleSpaceElementUpdate as bI, type UIDividerElement as bJ, type UIDividerElementCreate as bK, type UIDividerElementUpdate as bL, type UITextInputElement as bM, type UITextInputElementCreate as bN, type UITextInputElementUpdate as bO, type UISelectElement as bP, type UISelectElementCreate as bQ, type UISelectElementUpdate as bR, type UIPanelElement as bS, type UIPanelElementCreate as bT, type UIPanelElementUpdate as bU, type UIGridContainerElement as bV, type UIGridContainerElementCreate as bW, type UIGridContainerElementUpdate as bX, type UIActionTriggerCreate as bY, type UiController as bZ, type SetViewportCenterZoomParams 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 CreatePanelElementsParams as bq, type CreatePanelParams as br, type DeletePanelElementsParams as bs, type UiOnMapInteractionsOptions as bt, type UpdateActionTriggerParams as bu, type UpdatePanelElementsParams as bv, type UpdatePanelParams as bw, type PlacementForUIElement as bx, type UIPanel as by, type UIPanelCreate as bz, type ElementChangeCallbackParams as c, type ViewportFitBoundsParams as c0, type ViewportState as c1, type ViewportController as c2, type UnwrapPromise as c3, uiActionTriggerSchema as c4, type UIPanelElementCreateClonable as c5, uiPanelCreateSchema as c6, type UIButtonElementCreateClonable as c7, type MakeClonableSchema as c8, type PromiseOrNot as c9, type UnionToIntersection as ca, 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 };