@feltmaps/js-sdk 1.7.0-next.18 → 1.7.0-next.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { z as zInfer, U as UiControlsOptions, V as ViewportCenterZoom, F as FeltController } from './controller-Cxe3l6SR.cjs';
2
- export { au as AggregatedGridConfig, av as AggregationConfig, aw as AggregationMethod, C as CircleElementCreate, a as CircleElementRead, b as CircleElementUpdate, b8 as CircleToolSettings, b9 as ConfigurableToolType, ax as CountGridConfig, bp as CreateActionTriggerParams, K as CreateLayersFromGeoJsonParams, bq as CreateOrUpdatePanelParams, br as CreatePanelElementsParams, O as DataOnlyLayer, bs as DeletePanelElementsParams, E as Element, c as ElementChangeCallbackParams, d as ElementCreate, e as ElementGroup, f as ElementGroupChangeCallbackParams, aM as ElementGroupNode, aN as ElementNode, g as ElementUpdate, B as ElementsController, aO as EntityNode, aP as FeatureNode, aQ as FeatureSelection, aU as FeltBoundary, Q as FeltTiledVectorSource, aV as FeltZoom, an as FilterExpression, ao as FilterLogicGate, ap as FilterTernary, aq as Filters, R as GeoJsonDataVectorSource, aW as GeoJsonFeature, S as GeoJsonFileVectorSource, aX as GeoJsonGeometry, aY as GeoJsonProperties, W as GeoJsonUrlVectorSource, ar as GeometryFilter, G as GetElementGroupsConstraint, h as GetElementsConstraint, ay as GetLayerCalculationParams, az as GetLayerCategoriesGroup, aA as GetLayerCategoriesParams, X as GetLayerGroupsConstraint, aB as GetLayerHistogramBin, aC as GetLayerHistogramParams, aD as GetLayerPrecomputedCalculationParams, Y as GetLayersConstraint, Z as GetRenderedFeaturesConstraint, aE as GridConfig, aF as GridType, H as HighlighterElementCreate, i as HighlighterElementRead, j as HighlighterElementUpdate, ba as HighlighterToolSettings, I as ImageElementCreate, k as ImageElementRead, l as ImageElementUpdate, bb as InputToolSettings, J as InteractionsController, aZ as LatLng, _ as Layer, as as LayerBoundaries, $ as LayerChangeCallbackParams, a0 as LayerCommon, ad as LayerFeature, at as LayerFilters, a1 as LayerGroup, a2 as LayerGroupChangeCallbackParams, aR as LayerGroupNode, aS as LayerNode, a3 as LayerProcessingStatus, af as LayerSchema, ag as LayerSchemaAttribute, ah as LayerSchemaBooleanAttribute, ai as LayerSchemaCommonAttribute, aj as LayerSchemaDateAttribute, ak as LayerSchemaDateTimeAttribute, al as LayerSchemaNumericAttribute, am as LayerSchemaTextAttribute, aJ as LayersController, a4 as LegendItem, a5 as LegendItemChangeCallbackParams, a6 as LegendItemIdentifier, a7 as LegendItemsConstraint, a_ as LineStringGeometry, bc as LineToolSettings, L as LinkElementRead, a$ as LngLatTuple, aK as MapDetails, D as MapInteractionEvent, M as MarkerElementCreate, m as MarkerElementRead, n as MarkerElementUpdate, bd as MarkerToolSettings, aL as MiscController, aG as MultiAggregationConfig, b0 as MultiLineStringGeometry, b1 as MultiPointGeometry, b2 as MultiPolygonGeometry, N as NoteElementCreate, o as NoteElementRead, p as NoteElementUpdate, be as NoteToolSettings, bt as OnMapInteractionsOptions, P as PathElementCreate, q as PathElementRead, r as PathElementUpdate, bf as PinToolSettings, s as PlaceElementCreate, t as PlaceElementRead, u as PlaceElementUpdate, bg as PlaceFrame, bh as PlaceSymbol, bw as PlacementForUIElement, b3 as PointGeometry, v as PolygonElementCreate, w as PolygonElementRead, x as PolygonElementUpdate, b4 as PolygonGeometry, bi as PolygonToolSettings, aH as PrecomputedAggregationMethod, a8 as RasterBand, a9 as RasterLayer, aa as RasterLayerSource, ae as RasterValue, bj as RouteToolSettings, aT as SelectionController, bZ as SetViewportCenterZoomParams, b5 as SetVisibilityRequest, b6 as SortConfig, b7 as SortDirection, T as TextElementCreate, y as TextElementRead, A as TextElementUpdate, bk as TextToolSettings, bl as ToolSettingsChangeEvent, bm as ToolSettingsMap, bn as ToolType, bo as ToolsController, bX as UIActionTriggerCreate, bz as UIButtonElement, bA as UIButtonElementCreate, bB as UIButtonElementUpdate, bI as UIDividerElement, bJ as UIDividerElementCreate, bK as UIDividerElementUpdate, bF as UIFlexibleSpaceElement, bG as UIFlexibleSpaceElementCreate, bH as UIFlexibleSpaceElementUpdate, bU as UIGridContainerElement, bV as UIGridContainerElementCreate, bW as UIGridContainerElementUpdate, bx as UIPanel, by as UIPanelCreateOrUpdate, bR as UIPanelElement, bS as UIPanelElementCreate, bT as UIPanelElementUpdate, bO as UISelectElement, bP as UISelectElementCreate, bQ as UISelectElementUpdate, bC as UITextElement, bD as UITextElementCreate, bE as UITextElementUpdate, bL as UITextInputElement, bM as UITextInputElementCreate, bN as UITextInputElementUpdate, bY as UiController, bu as UpdateActionTriggerParams, ab as UpdateLayerParams, bv as UpdatePanelElementsParams, aI as ValueConfiguration, ac as VectorLayer, b_ as ViewportConstraints, c1 as ViewportController, b$ as ViewportFitBoundsParams, c0 as ViewportState } from './controller-Cxe3l6SR.cjs';
1
+ import { z as zInfer, U as UiControlsOptions, V as ViewportCenterZoom, F as FeltController } from './controller-1ASv6qZb.cjs';
2
+ export { au as AggregatedGridConfig, av as AggregationConfig, aw as AggregationMethod, C as CircleElementCreate, a as CircleElementRead, b as CircleElementUpdate, b8 as CircleToolSettings, b9 as ConfigurableToolType, ax as CountGridConfig, bp as CreateActionTriggerParams, K as CreateLayersFromGeoJsonParams, bq as CreateOrUpdatePanelParams, br as CreatePanelElementsParams, O as DataOnlyLayer, bs as DeletePanelElementsParams, E as Element, c as ElementChangeCallbackParams, d as ElementCreate, e as ElementGroup, f as ElementGroupChangeCallbackParams, aM as ElementGroupNode, aN as ElementNode, g as ElementUpdate, B as ElementsController, aO as EntityNode, aP as FeatureNode, aQ as FeatureSelection, aU as FeltBoundary, Q as FeltTiledVectorSource, aV as FeltZoom, an as FilterExpression, ao as FilterLogicGate, ap as FilterTernary, aq as Filters, R as GeoJsonDataVectorSource, aW as GeoJsonFeature, S as GeoJsonFileVectorSource, aX as GeoJsonGeometry, aY as GeoJsonProperties, W as GeoJsonUrlVectorSource, ar as GeometryFilter, G as GetElementGroupsConstraint, h as GetElementsConstraint, ay as GetLayerCalculationParams, az as GetLayerCategoriesGroup, aA as GetLayerCategoriesParams, X as GetLayerGroupsConstraint, aB as GetLayerHistogramBin, aC as GetLayerHistogramParams, aD as GetLayerPrecomputedCalculationParams, Y as GetLayersConstraint, Z as GetRenderedFeaturesConstraint, aE as GridConfig, aF as GridType, H as HighlighterElementCreate, i as HighlighterElementRead, j as HighlighterElementUpdate, ba as HighlighterToolSettings, I as ImageElementCreate, k as ImageElementRead, l as ImageElementUpdate, bb as InputToolSettings, J as InteractionsController, aZ as LatLng, _ as Layer, as as LayerBoundaries, $ as LayerChangeCallbackParams, a0 as LayerCommon, ad as LayerFeature, at as LayerFilters, a1 as LayerGroup, a2 as LayerGroupChangeCallbackParams, aR as LayerGroupNode, aS as LayerNode, a3 as LayerProcessingStatus, af as LayerSchema, ag as LayerSchemaAttribute, ah as LayerSchemaBooleanAttribute, ai as LayerSchemaCommonAttribute, aj as LayerSchemaDateAttribute, ak as LayerSchemaDateTimeAttribute, al as LayerSchemaNumericAttribute, am as LayerSchemaTextAttribute, aJ as LayersController, a4 as LegendItem, a5 as LegendItemChangeCallbackParams, a6 as LegendItemIdentifier, a7 as LegendItemsConstraint, a_ as LineStringGeometry, bc as LineToolSettings, L as LinkElementRead, a$ as LngLatTuple, aK as MapDetails, D as MapInteractionEvent, M as MarkerElementCreate, m as MarkerElementRead, n as MarkerElementUpdate, bd as MarkerToolSettings, aL as MiscController, aG as MultiAggregationConfig, b0 as MultiLineStringGeometry, b1 as MultiPointGeometry, b2 as MultiPolygonGeometry, N as NoteElementCreate, o as NoteElementRead, p as NoteElementUpdate, be as NoteToolSettings, bt as OnMapInteractionsOptions, P as PathElementCreate, q as PathElementRead, r as PathElementUpdate, bf as PinToolSettings, s as PlaceElementCreate, t as PlaceElementRead, u as PlaceElementUpdate, bg as PlaceFrame, bh as PlaceSymbol, bw as PlacementForUIElement, b3 as PointGeometry, v as PolygonElementCreate, w as PolygonElementRead, x as PolygonElementUpdate, b4 as PolygonGeometry, bi as PolygonToolSettings, aH as PrecomputedAggregationMethod, a8 as RasterBand, a9 as RasterLayer, aa as RasterLayerSource, ae as RasterValue, bj as RouteToolSettings, aT as SelectionController, c0 as SetViewportCenterZoomParams, b5 as SetVisibilityRequest, b6 as SortConfig, b7 as SortDirection, T as TextElementCreate, y as TextElementRead, A as TextElementUpdate, bk as TextToolSettings, bl as ToolSettingsChangeEvent, bm as ToolSettingsMap, bn as ToolType, bo as ToolsController, b_ as UIActionTriggerCreate, bz as UIButtonElement, bA as UIButtonElementCreate, bB as UIButtonElementUpdate, bX as UIButtonRowElement, bY as UIButtonRowElementCreate, bZ as UIButtonRowElementUpdate, bI as UIDividerElement, bJ as UIDividerElementCreate, bK as UIDividerElementUpdate, bF as UIFlexibleSpaceElement, bG as UIFlexibleSpaceElementCreate, bH as UIFlexibleSpaceElementUpdate, bU as UIGridContainerElement, bV as UIGridContainerElementCreate, bW as UIGridContainerElementUpdate, bx as UIPanel, by as UIPanelCreateOrUpdate, bR as UIPanelElement, bS as UIPanelElementCreate, bT as UIPanelElementUpdate, bO as UISelectElement, bP as UISelectElementCreate, bQ as UISelectElementUpdate, bC as UITextElement, bD as UITextElementCreate, bE as UITextElementUpdate, bL as UITextInputElement, bM as UITextInputElementCreate, bN as UITextInputElementUpdate, b$ as UiController, bu as UpdateActionTriggerParams, ab as UpdateLayerParams, bv as UpdatePanelElementsParams, aI as ValueConfiguration, ac as VectorLayer, c1 as ViewportConstraints, c4 as ViewportController, c2 as ViewportFitBoundsParams, c3 as ViewportState } from './controller-1ASv6qZb.cjs';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
package/dist/client.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { z as zInfer, U as UiControlsOptions, V as ViewportCenterZoom, F as FeltController } from './controller-Cxe3l6SR.js';
2
- export { au as AggregatedGridConfig, av as AggregationConfig, aw as AggregationMethod, C as CircleElementCreate, a as CircleElementRead, b as CircleElementUpdate, b8 as CircleToolSettings, b9 as ConfigurableToolType, ax as CountGridConfig, bp as CreateActionTriggerParams, K as CreateLayersFromGeoJsonParams, bq as CreateOrUpdatePanelParams, br as CreatePanelElementsParams, O as DataOnlyLayer, bs as DeletePanelElementsParams, E as Element, c as ElementChangeCallbackParams, d as ElementCreate, e as ElementGroup, f as ElementGroupChangeCallbackParams, aM as ElementGroupNode, aN as ElementNode, g as ElementUpdate, B as ElementsController, aO as EntityNode, aP as FeatureNode, aQ as FeatureSelection, aU as FeltBoundary, Q as FeltTiledVectorSource, aV as FeltZoom, an as FilterExpression, ao as FilterLogicGate, ap as FilterTernary, aq as Filters, R as GeoJsonDataVectorSource, aW as GeoJsonFeature, S as GeoJsonFileVectorSource, aX as GeoJsonGeometry, aY as GeoJsonProperties, W as GeoJsonUrlVectorSource, ar as GeometryFilter, G as GetElementGroupsConstraint, h as GetElementsConstraint, ay as GetLayerCalculationParams, az as GetLayerCategoriesGroup, aA as GetLayerCategoriesParams, X as GetLayerGroupsConstraint, aB as GetLayerHistogramBin, aC as GetLayerHistogramParams, aD as GetLayerPrecomputedCalculationParams, Y as GetLayersConstraint, Z as GetRenderedFeaturesConstraint, aE as GridConfig, aF as GridType, H as HighlighterElementCreate, i as HighlighterElementRead, j as HighlighterElementUpdate, ba as HighlighterToolSettings, I as ImageElementCreate, k as ImageElementRead, l as ImageElementUpdate, bb as InputToolSettings, J as InteractionsController, aZ as LatLng, _ as Layer, as as LayerBoundaries, $ as LayerChangeCallbackParams, a0 as LayerCommon, ad as LayerFeature, at as LayerFilters, a1 as LayerGroup, a2 as LayerGroupChangeCallbackParams, aR as LayerGroupNode, aS as LayerNode, a3 as LayerProcessingStatus, af as LayerSchema, ag as LayerSchemaAttribute, ah as LayerSchemaBooleanAttribute, ai as LayerSchemaCommonAttribute, aj as LayerSchemaDateAttribute, ak as LayerSchemaDateTimeAttribute, al as LayerSchemaNumericAttribute, am as LayerSchemaTextAttribute, aJ as LayersController, a4 as LegendItem, a5 as LegendItemChangeCallbackParams, a6 as LegendItemIdentifier, a7 as LegendItemsConstraint, a_ as LineStringGeometry, bc as LineToolSettings, L as LinkElementRead, a$ as LngLatTuple, aK as MapDetails, D as MapInteractionEvent, M as MarkerElementCreate, m as MarkerElementRead, n as MarkerElementUpdate, bd as MarkerToolSettings, aL as MiscController, aG as MultiAggregationConfig, b0 as MultiLineStringGeometry, b1 as MultiPointGeometry, b2 as MultiPolygonGeometry, N as NoteElementCreate, o as NoteElementRead, p as NoteElementUpdate, be as NoteToolSettings, bt as OnMapInteractionsOptions, P as PathElementCreate, q as PathElementRead, r as PathElementUpdate, bf as PinToolSettings, s as PlaceElementCreate, t as PlaceElementRead, u as PlaceElementUpdate, bg as PlaceFrame, bh as PlaceSymbol, bw as PlacementForUIElement, b3 as PointGeometry, v as PolygonElementCreate, w as PolygonElementRead, x as PolygonElementUpdate, b4 as PolygonGeometry, bi as PolygonToolSettings, aH as PrecomputedAggregationMethod, a8 as RasterBand, a9 as RasterLayer, aa as RasterLayerSource, ae as RasterValue, bj as RouteToolSettings, aT as SelectionController, bZ as SetViewportCenterZoomParams, b5 as SetVisibilityRequest, b6 as SortConfig, b7 as SortDirection, T as TextElementCreate, y as TextElementRead, A as TextElementUpdate, bk as TextToolSettings, bl as ToolSettingsChangeEvent, bm as ToolSettingsMap, bn as ToolType, bo as ToolsController, bX as UIActionTriggerCreate, bz as UIButtonElement, bA as UIButtonElementCreate, bB as UIButtonElementUpdate, bI as UIDividerElement, bJ as UIDividerElementCreate, bK as UIDividerElementUpdate, bF as UIFlexibleSpaceElement, bG as UIFlexibleSpaceElementCreate, bH as UIFlexibleSpaceElementUpdate, bU as UIGridContainerElement, bV as UIGridContainerElementCreate, bW as UIGridContainerElementUpdate, bx as UIPanel, by as UIPanelCreateOrUpdate, bR as UIPanelElement, bS as UIPanelElementCreate, bT as UIPanelElementUpdate, bO as UISelectElement, bP as UISelectElementCreate, bQ as UISelectElementUpdate, bC as UITextElement, bD as UITextElementCreate, bE as UITextElementUpdate, bL as UITextInputElement, bM as UITextInputElementCreate, bN as UITextInputElementUpdate, bY as UiController, bu as UpdateActionTriggerParams, ab as UpdateLayerParams, bv as UpdatePanelElementsParams, aI as ValueConfiguration, ac as VectorLayer, b_ as ViewportConstraints, c1 as ViewportController, b$ as ViewportFitBoundsParams, c0 as ViewportState } from './controller-Cxe3l6SR.js';
1
+ import { z as zInfer, U as UiControlsOptions, V as ViewportCenterZoom, F as FeltController } from './controller-1ASv6qZb.js';
2
+ export { au as AggregatedGridConfig, av as AggregationConfig, aw as AggregationMethod, C as CircleElementCreate, a as CircleElementRead, b as CircleElementUpdate, b8 as CircleToolSettings, b9 as ConfigurableToolType, ax as CountGridConfig, bp as CreateActionTriggerParams, K as CreateLayersFromGeoJsonParams, bq as CreateOrUpdatePanelParams, br as CreatePanelElementsParams, O as DataOnlyLayer, bs as DeletePanelElementsParams, E as Element, c as ElementChangeCallbackParams, d as ElementCreate, e as ElementGroup, f as ElementGroupChangeCallbackParams, aM as ElementGroupNode, aN as ElementNode, g as ElementUpdate, B as ElementsController, aO as EntityNode, aP as FeatureNode, aQ as FeatureSelection, aU as FeltBoundary, Q as FeltTiledVectorSource, aV as FeltZoom, an as FilterExpression, ao as FilterLogicGate, ap as FilterTernary, aq as Filters, R as GeoJsonDataVectorSource, aW as GeoJsonFeature, S as GeoJsonFileVectorSource, aX as GeoJsonGeometry, aY as GeoJsonProperties, W as GeoJsonUrlVectorSource, ar as GeometryFilter, G as GetElementGroupsConstraint, h as GetElementsConstraint, ay as GetLayerCalculationParams, az as GetLayerCategoriesGroup, aA as GetLayerCategoriesParams, X as GetLayerGroupsConstraint, aB as GetLayerHistogramBin, aC as GetLayerHistogramParams, aD as GetLayerPrecomputedCalculationParams, Y as GetLayersConstraint, Z as GetRenderedFeaturesConstraint, aE as GridConfig, aF as GridType, H as HighlighterElementCreate, i as HighlighterElementRead, j as HighlighterElementUpdate, ba as HighlighterToolSettings, I as ImageElementCreate, k as ImageElementRead, l as ImageElementUpdate, bb as InputToolSettings, J as InteractionsController, aZ as LatLng, _ as Layer, as as LayerBoundaries, $ as LayerChangeCallbackParams, a0 as LayerCommon, ad as LayerFeature, at as LayerFilters, a1 as LayerGroup, a2 as LayerGroupChangeCallbackParams, aR as LayerGroupNode, aS as LayerNode, a3 as LayerProcessingStatus, af as LayerSchema, ag as LayerSchemaAttribute, ah as LayerSchemaBooleanAttribute, ai as LayerSchemaCommonAttribute, aj as LayerSchemaDateAttribute, ak as LayerSchemaDateTimeAttribute, al as LayerSchemaNumericAttribute, am as LayerSchemaTextAttribute, aJ as LayersController, a4 as LegendItem, a5 as LegendItemChangeCallbackParams, a6 as LegendItemIdentifier, a7 as LegendItemsConstraint, a_ as LineStringGeometry, bc as LineToolSettings, L as LinkElementRead, a$ as LngLatTuple, aK as MapDetails, D as MapInteractionEvent, M as MarkerElementCreate, m as MarkerElementRead, n as MarkerElementUpdate, bd as MarkerToolSettings, aL as MiscController, aG as MultiAggregationConfig, b0 as MultiLineStringGeometry, b1 as MultiPointGeometry, b2 as MultiPolygonGeometry, N as NoteElementCreate, o as NoteElementRead, p as NoteElementUpdate, be as NoteToolSettings, bt as OnMapInteractionsOptions, P as PathElementCreate, q as PathElementRead, r as PathElementUpdate, bf as PinToolSettings, s as PlaceElementCreate, t as PlaceElementRead, u as PlaceElementUpdate, bg as PlaceFrame, bh as PlaceSymbol, bw as PlacementForUIElement, b3 as PointGeometry, v as PolygonElementCreate, w as PolygonElementRead, x as PolygonElementUpdate, b4 as PolygonGeometry, bi as PolygonToolSettings, aH as PrecomputedAggregationMethod, a8 as RasterBand, a9 as RasterLayer, aa as RasterLayerSource, ae as RasterValue, bj as RouteToolSettings, aT as SelectionController, c0 as SetViewportCenterZoomParams, b5 as SetVisibilityRequest, b6 as SortConfig, b7 as SortDirection, T as TextElementCreate, y as TextElementRead, A as TextElementUpdate, bk as TextToolSettings, bl as ToolSettingsChangeEvent, bm as ToolSettingsMap, bn as ToolType, bo as ToolsController, b_ as UIActionTriggerCreate, bz as UIButtonElement, bA as UIButtonElementCreate, bB as UIButtonElementUpdate, bX as UIButtonRowElement, bY as UIButtonRowElementCreate, bZ as UIButtonRowElementUpdate, bI as UIDividerElement, bJ as UIDividerElementCreate, bK as UIDividerElementUpdate, bF as UIFlexibleSpaceElement, bG as UIFlexibleSpaceElementCreate, bH as UIFlexibleSpaceElementUpdate, bU as UIGridContainerElement, bV as UIGridContainerElementCreate, bW as UIGridContainerElementUpdate, bx as UIPanel, by as UIPanelCreateOrUpdate, bR as UIPanelElement, bS as UIPanelElementCreate, bT as UIPanelElementUpdate, bO as UISelectElement, bP as UISelectElementCreate, bQ as UISelectElementUpdate, bC as UITextElement, bD as UITextElementCreate, bE as UITextElementUpdate, bL as UITextInputElement, bM as UITextInputElementCreate, bN as UITextInputElementUpdate, b$ as UiController, bu as UpdateActionTriggerParams, ab as UpdateLayerParams, bv as UpdatePanelElementsParams, aI as ValueConfiguration, ac as VectorLayer, c1 as ViewportConstraints, c4 as ViewportController, c2 as ViewportFitBoundsParams, c3 as ViewportState } from './controller-1ASv6qZb.js';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
@@ -8562,6 +8562,161 @@ interface UIButtonElementCreateClonable extends MakeClonableSchema<UIButtonEleme
8562
8562
  interface UIButtonElementUpdate extends MakeUpdateSchema<UIButtonElement, UIButtonElementCreate> {
8563
8563
  }
8564
8564
 
8565
+ /**
8566
+ * Represents a row of buttons.
8567
+ *
8568
+ * It is useful to group buttons together and align them.
8569
+ *
8570
+ * Unlike on {@link UIGridContainerElement}, buttons do not expand to fill the container.
8571
+ * Instead, they use the space they need and are wrapped to the next line when they overflow.
8572
+ *
8573
+ * ### Label
8574
+ *
8575
+ * A label can be added to the button row using the `label` property.
8576
+ *
8577
+ * <figure>
8578
+ * <img src="./img/button-row-label.png" alt="Label" />
8579
+ * <figcaption>Label</figcaption>
8580
+ * </figure>
8581
+ *
8582
+ * ```typescript
8583
+ * {
8584
+ * type: "ButtonRow",
8585
+ * label: "Zoom control",
8586
+ * items: [
8587
+ * { type: "Button", label: "Increase", onClick: () => {} },
8588
+ * { type: "Button", label: "Decrease", onClick: () => {} },
8589
+ * ],
8590
+ * }
8591
+ * ```
8592
+ *
8593
+ * ### Alignment
8594
+ *
8595
+ * It is possible to align the button row to the start or end of the container using the `align` property.
8596
+ *
8597
+ * #### Start alignment
8598
+ *
8599
+ * <figure>
8600
+ * <img src="./img/button-row-start-alignment.png" alt="Start alignment" />
8601
+ * <figcaption>Start alignment</figcaption>
8602
+ * </figure>
8603
+ *
8604
+ * ```typescript
8605
+ * {
8606
+ * type: "ButtonRow",
8607
+ * align: "start", // default value
8608
+ * items: [
8609
+ * { type: "Button", label: "Button 1", onClick: () => {} },
8610
+ * { type: "Button", label: "Button 2", onClick: () => {} },
8611
+ * ],
8612
+ * }
8613
+ * ```
8614
+ *
8615
+ * #### End alignment
8616
+ *
8617
+ * <figure>
8618
+ * <img src="./img/button-row-end-alignment.png" alt="End alignment" />
8619
+ * <figcaption>End alignment</figcaption>
8620
+ * </figure>
8621
+ *
8622
+ * ```typescript
8623
+ * {
8624
+ * type: "ButtonRow",
8625
+ * align: "end",
8626
+ * items: [
8627
+ * { type: "Button", label: "Button 1", onClick: () => {} },
8628
+ * { type: "Button", label: "Button 2", onClick: () => {} },
8629
+ * ],
8630
+ * }
8631
+ * ```
8632
+ *
8633
+ * ### Overflow
8634
+ *
8635
+ * When buttons overflow the container, they are wrapped to the next line.
8636
+ *
8637
+ * <figure>
8638
+ * <img src="./img/button-row-overflow.png" alt="Overflow" />
8639
+ * <figcaption>Overflow</figcaption>
8640
+ * </figure>
8641
+ *
8642
+ * ```typescript
8643
+ * {
8644
+ * type: "ButtonRow",
8645
+ * items: [
8646
+ * { type: "Button", label: "Button with a very long text", onClick: () => {} },
8647
+ * { type: "Button", label: "Button 2", onClick: () => {} },
8648
+ * { type: "Button", label: "Button 3", onClick: () => {} },
8649
+ * ],
8650
+ * }
8651
+ * ```
8652
+ *
8653
+ * ### With Grid container
8654
+ *
8655
+ * {@link UIGridContainerElement}, as a generic container, can render {@link UIButtonRowElement} as well.
8656
+ *
8657
+ * In this example, the combination of {@link UIGridContainerElement} and {@link UIButtonRowElement} is used to layout a footer
8658
+ * where the buttons are aligned to the end of the container and the text is at the start.
8659
+ *
8660
+ * <figure>
8661
+ * <img src="./img/button-row-with-grid-container.png" alt="With Grid container" />
8662
+ * <figcaption>With Grid container</figcaption>
8663
+ * </figure>
8664
+ *
8665
+ * ```typescript
8666
+ * {
8667
+ * type: "Grid",
8668
+ * grid: "auto-flow / 1fr auto",
8669
+ * rowItemsJustify: "space-between",
8670
+ * rowItemsAlign: "center",
8671
+ * items: [
8672
+ * { type: "Text", content: "Continue?" },
8673
+ * {
8674
+ * type: "ButtonRow",
8675
+ * align: "end",
8676
+ * items: [
8677
+ * { type: "Button", variant: "transparent", label: "Cancel", onClick: () => {} },
8678
+ * { type: "Button", variant: "filled", tint: "primary", label: "Continue", onClick: () => {} },
8679
+ * ]
8680
+ * },
8681
+ * ],
8682
+ * }
8683
+ * ```
8684
+ */
8685
+ interface UIButtonRowElement extends UILabelReadyElement {
8686
+ type: "ButtonRow";
8687
+ /**
8688
+ * The alignment of the button row.
8689
+ *
8690
+ * @defaultValue `"start"`
8691
+ */
8692
+ align?: "start" | "end";
8693
+ /**
8694
+ * The items to add to the button row.
8695
+ */
8696
+ items: Array<UIButtonElement>;
8697
+ }
8698
+ /**
8699
+ * The parameters for creating a button row element.
8700
+ *
8701
+ * See {@link UIButtonRowElement} for more details.
8702
+ */
8703
+ interface UIButtonRowElementCreate extends Omit<UIButtonRowElement, "id" | "items">, UILabelReadyElementCreateParams {
8704
+ /**
8705
+ * The items to add to the button row.
8706
+ */
8707
+ items: Array<UIButtonElementCreate>;
8708
+ }
8709
+ type UIButtonRowElementCreateClonable = Omit<MakeClonableSchema<UIButtonRowElementCreate>, "items"> & {
8710
+ items: Array<UIButtonElementCreateClonable>;
8711
+ };
8712
+ /**
8713
+ * The parameters for updating a button row element.
8714
+ *
8715
+ * See {@link UIButtonRowElement} for more details.
8716
+ */
8717
+ interface UIButtonRowElementUpdate extends MakeUpdateSchema<UIButtonRowElement, UIButtonRowElementCreate> {
8718
+ }
8719
+
8565
8720
  declare const uiDividerElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8566
8721
  onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
8567
8722
  id: z.ZodString;
@@ -9416,22 +9571,22 @@ type UIGridContainerElementCreateClonable = Omit<MakeClonableSchema<UIGridContai
9416
9571
  interface UIGridContainerElementUpdate extends MakeUpdateSchema<UIGridContainerElement, UIGridContainerElementCreate> {
9417
9572
  }
9418
9573
 
9419
- type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIGridContainerElement;
9574
+ type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIButtonRowElement | UIGridContainerElement;
9420
9575
  /**
9421
9576
  * This is a union of all the possible elements that can be created inside panel's body or footer.
9422
9577
  *
9423
9578
  * @remarks
9424
9579
  * For the sake of convenience, `id` is optional but recommended if you want to be able to perform updates.
9425
9580
  */
9426
- type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIGridContainerElementCreate;
9427
- type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIGridContainerElementCreateClonable;
9581
+ type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UIGridContainerElementCreate;
9582
+ type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIButtonRowElementCreateClonable | UIGridContainerElementCreateClonable;
9428
9583
  /**
9429
9584
  * 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).
9430
9585
  *
9431
9586
  * @remarks
9432
9587
  * `id` and `type` are required to identify the element to update.
9433
9588
  */
9434
- type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
9589
+ type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIButtonRowElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
9435
9590
 
9436
9591
  declare const placementForUiElementSchema: z.ZodUnion<[z.ZodObject<{
9437
9592
  after: z.ZodString;
@@ -10739,6 +10894,160 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
10739
10894
  onDestroy?: ((args_0: {
10740
10895
  id: string;
10741
10896
  }, ...args: unknown[]) => void) | undefined;
10897
+ }>, z.ZodObject<{
10898
+ type: z.ZodLiteral<"ButtonRow">;
10899
+ id: z.ZodString;
10900
+ align: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "end"]>>>;
10901
+ onCreate: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10902
+ id: z.ZodString;
10903
+ }, "strip", z.ZodTypeAny, {
10904
+ id: string;
10905
+ }, {
10906
+ id: string;
10907
+ }>], z.ZodUnknown>, z.ZodVoid>>>;
10908
+ onDestroy: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10909
+ id: z.ZodString;
10910
+ }, "strip", z.ZodTypeAny, {
10911
+ id: string;
10912
+ }, {
10913
+ id: string;
10914
+ }>], z.ZodUnknown>, z.ZodVoid>>>;
10915
+ label: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10916
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
10917
+ onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10918
+ id: z.ZodString;
10919
+ }, "strip", z.ZodTypeAny, {
10920
+ id: string;
10921
+ }, {
10922
+ id: string;
10923
+ }>], z.ZodUnknown>, z.ZodVoid>>;
10924
+ onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10925
+ id: z.ZodString;
10926
+ }, "strip", z.ZodTypeAny, {
10927
+ id: string;
10928
+ }, {
10929
+ id: string;
10930
+ }>], z.ZodUnknown>, z.ZodVoid>>;
10931
+ }, {
10932
+ id: z.ZodString;
10933
+ }>, {
10934
+ type: z.ZodLiteral<"Button">;
10935
+ label: z.ZodString;
10936
+ variant: z.ZodOptional<z.ZodEnum<["filled", "transparent", "outlined"]>>;
10937
+ tint: z.ZodOptional<z.ZodEnum<["default", "primary", "accent", "danger"]>>;
10938
+ disabled: z.ZodOptional<z.ZodBoolean>;
10939
+ onClick: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10940
+ id: z.ZodString;
10941
+ }, "strip", z.ZodTypeAny, {
10942
+ id: string;
10943
+ }, {
10944
+ id: string;
10945
+ }>], z.ZodUnknown>, z.ZodVoid>;
10946
+ }>, {
10947
+ id: z.ZodOptional<z.ZodString>;
10948
+ onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10949
+ id: z.ZodString;
10950
+ }, "strip", z.ZodTypeAny, {
10951
+ id: string;
10952
+ }, {
10953
+ id: string;
10954
+ }>], z.ZodUnknown>, z.ZodVoid>>;
10955
+ onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
10956
+ id: z.ZodString;
10957
+ }, "strip", z.ZodTypeAny, {
10958
+ id: string;
10959
+ }, {
10960
+ id: string;
10961
+ }>], z.ZodUnknown>, z.ZodVoid>>;
10962
+ }>, "strip", z.ZodTypeAny, {
10963
+ type: "Button";
10964
+ label: string;
10965
+ onClick: (args_0: {
10966
+ id: string;
10967
+ }, ...args: unknown[]) => void;
10968
+ id?: string | undefined;
10969
+ onCreate?: ((args_0: {
10970
+ id: string;
10971
+ }, ...args: unknown[]) => void) | undefined;
10972
+ onDestroy?: ((args_0: {
10973
+ id: string;
10974
+ }, ...args: unknown[]) => void) | undefined;
10975
+ disabled?: boolean | undefined;
10976
+ variant?: "filled" | "transparent" | "outlined" | undefined;
10977
+ tint?: "default" | "primary" | "accent" | "danger" | undefined;
10978
+ }, {
10979
+ type: "Button";
10980
+ label: string;
10981
+ onClick: (args_0: {
10982
+ id: string;
10983
+ }, ...args: unknown[]) => void;
10984
+ id?: string | undefined;
10985
+ onCreate?: ((args_0: {
10986
+ id: string;
10987
+ }, ...args: unknown[]) => void) | undefined;
10988
+ onDestroy?: ((args_0: {
10989
+ id: string;
10990
+ }, ...args: unknown[]) => void) | undefined;
10991
+ disabled?: boolean | undefined;
10992
+ variant?: "filled" | "transparent" | "outlined" | undefined;
10993
+ tint?: "default" | "primary" | "accent" | "danger" | undefined;
10994
+ }>, "many">>;
10995
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
10996
+ type: "ButtonRow";
10997
+ id: string;
10998
+ align?: "start" | "end" | undefined;
10999
+ items?: {
11000
+ type: "Button";
11001
+ 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
+ disabled?: boolean | undefined;
11013
+ variant?: "filled" | "transparent" | "outlined" | undefined;
11014
+ tint?: "default" | "primary" | "accent" | "danger" | undefined;
11015
+ }[] | undefined;
11016
+ onCreate?: ((args_0: {
11017
+ id: string;
11018
+ }, ...args: unknown[]) => void) | undefined;
11019
+ onDestroy?: ((args_0: {
11020
+ id: string;
11021
+ }, ...args: unknown[]) => void) | undefined;
11022
+ label?: string | undefined;
11023
+ }, {
11024
+ type: "ButtonRow";
11025
+ id: string;
11026
+ align?: "start" | "end" | undefined;
11027
+ items?: {
11028
+ type: "Button";
11029
+ 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
+ disabled?: boolean | undefined;
11041
+ variant?: "filled" | "transparent" | "outlined" | undefined;
11042
+ tint?: "default" | "primary" | "accent" | "danger" | undefined;
11043
+ }[] | undefined;
11044
+ onCreate?: ((args_0: {
11045
+ id: string;
11046
+ }, ...args: unknown[]) => void) | undefined;
11047
+ onDestroy?: ((args_0: {
11048
+ id: string;
11049
+ }, ...args: unknown[]) => void) | undefined;
11050
+ label?: string | undefined;
10742
11051
  }>, z.ZodObject<{
10743
11052
  type: z.ZodLiteral<"Grid">;
10744
11053
  id: z.ZodString;
@@ -10759,11 +11068,11 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
10759
11068
  grid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10760
11069
  verticalAlignment: z.ZodOptional<z.ZodOptional<z.ZodEnum<["top", "center", "bottom"]>>>;
10761
11070
  horizontalDistribution: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "center", "end", "space-between", "space-around", "space-evenly"]>>>;
10762
- items: z.ZodOptional<z.ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[], z.ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[]>>;
11071
+ items: z.ZodOptional<z.ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[], z.ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[]>>;
10763
11072
  }, z.UnknownKeysParam, z.ZodTypeAny, {
10764
11073
  type: "Grid";
10765
11074
  id: string;
10766
- items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11075
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
10767
11076
  onCreate?: ((args_0: {
10768
11077
  id: string;
10769
11078
  }, ...args: unknown[]) => void) | undefined;
@@ -10776,7 +11085,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
10776
11085
  }, {
10777
11086
  type: "Grid";
10778
11087
  id: string;
10779
- items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11088
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
10780
11089
  onCreate?: ((args_0: {
10781
11090
  id: string;
10782
11091
  }, ...args: unknown[]) => void) | undefined;
@@ -10877,10 +11186,38 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
10877
11186
  onDestroy?: ((args_0: {
10878
11187
  id: string;
10879
11188
  }, ...args: unknown[]) => void) | undefined;
11189
+ } | {
11190
+ type: "ButtonRow";
11191
+ id: string;
11192
+ align?: "start" | "end" | undefined;
11193
+ items?: {
11194
+ type: "Button";
11195
+ label: string;
11196
+ onClick: (args_0: {
11197
+ id: string;
11198
+ }, ...args: unknown[]) => void;
11199
+ id?: string | undefined;
11200
+ onCreate?: ((args_0: {
11201
+ id: string;
11202
+ }, ...args: unknown[]) => void) | undefined;
11203
+ onDestroy?: ((args_0: {
11204
+ id: string;
11205
+ }, ...args: unknown[]) => void) | undefined;
11206
+ disabled?: boolean | undefined;
11207
+ variant?: "filled" | "transparent" | "outlined" | undefined;
11208
+ tint?: "default" | "primary" | "accent" | "danger" | undefined;
11209
+ }[] | undefined;
11210
+ onCreate?: ((args_0: {
11211
+ id: string;
11212
+ }, ...args: unknown[]) => void) | undefined;
11213
+ onDestroy?: ((args_0: {
11214
+ id: string;
11215
+ }, ...args: unknown[]) => void) | undefined;
11216
+ label?: string | undefined;
10880
11217
  } | {
10881
11218
  type: "Grid";
10882
11219
  id: string;
10883
- items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11220
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
10884
11221
  onCreate?: ((args_0: {
10885
11222
  id: string;
10886
11223
  }, ...args: unknown[]) => void) | undefined;
@@ -10981,10 +11318,38 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
10981
11318
  onDestroy?: ((args_0: {
10982
11319
  id: string;
10983
11320
  }, ...args: unknown[]) => void) | undefined;
11321
+ } | {
11322
+ type: "ButtonRow";
11323
+ id: string;
11324
+ align?: "start" | "end" | undefined;
11325
+ items?: {
11326
+ type: "Button";
11327
+ label: string;
11328
+ onClick: (args_0: {
11329
+ id: string;
11330
+ }, ...args: unknown[]) => void;
11331
+ id?: string | undefined;
11332
+ onCreate?: ((args_0: {
11333
+ id: string;
11334
+ }, ...args: unknown[]) => void) | undefined;
11335
+ onDestroy?: ((args_0: {
11336
+ id: string;
11337
+ }, ...args: unknown[]) => void) | undefined;
11338
+ disabled?: boolean | undefined;
11339
+ variant?: "filled" | "transparent" | "outlined" | undefined;
11340
+ tint?: "default" | "primary" | "accent" | "danger" | undefined;
11341
+ }[] | undefined;
11342
+ onCreate?: ((args_0: {
11343
+ id: string;
11344
+ }, ...args: unknown[]) => void) | undefined;
11345
+ onDestroy?: ((args_0: {
11346
+ id: string;
11347
+ }, ...args: unknown[]) => void) | undefined;
11348
+ label?: string | undefined;
10984
11349
  } | {
10985
11350
  type: "Grid";
10986
11351
  id: string;
10987
- items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11352
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
10988
11353
  onCreate?: ((args_0: {
10989
11354
  id: string;
10990
11355
  }, ...args: unknown[]) => void) | undefined;
@@ -11088,10 +11453,38 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11088
11453
  onDestroy?: ((args_0: {
11089
11454
  id: string;
11090
11455
  }, ...args: unknown[]) => void) | undefined;
11456
+ } | {
11457
+ type: "ButtonRow";
11458
+ id: string;
11459
+ align?: "start" | "end" | undefined;
11460
+ items?: {
11461
+ type: "Button";
11462
+ label: string;
11463
+ onClick: (args_0: {
11464
+ id: string;
11465
+ }, ...args: unknown[]) => void;
11466
+ id?: string | undefined;
11467
+ onCreate?: ((args_0: {
11468
+ id: string;
11469
+ }, ...args: unknown[]) => void) | undefined;
11470
+ onDestroy?: ((args_0: {
11471
+ id: string;
11472
+ }, ...args: unknown[]) => void) | undefined;
11473
+ disabled?: boolean | undefined;
11474
+ variant?: "filled" | "transparent" | "outlined" | undefined;
11475
+ tint?: "default" | "primary" | "accent" | "danger" | undefined;
11476
+ }[] | undefined;
11477
+ onCreate?: ((args_0: {
11478
+ id: string;
11479
+ }, ...args: unknown[]) => void) | undefined;
11480
+ onDestroy?: ((args_0: {
11481
+ id: string;
11482
+ }, ...args: unknown[]) => void) | undefined;
11483
+ label?: string | undefined;
11091
11484
  } | {
11092
11485
  type: "Grid";
11093
11486
  id: string;
11094
- items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11487
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
11095
11488
  onCreate?: ((args_0: {
11096
11489
  id: string;
11097
11490
  }, ...args: unknown[]) => void) | undefined;
@@ -11195,10 +11588,38 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
11195
11588
  onDestroy?: ((args_0: {
11196
11589
  id: string;
11197
11590
  }, ...args: unknown[]) => void) | 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;
11198
11619
  } | {
11199
11620
  type: "Grid";
11200
11621
  id: string;
11201
- items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
11622
+ items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
11202
11623
  onCreate?: ((args_0: {
11203
11624
  id: string;
11204
11625
  }, ...args: unknown[]) => void) | undefined;
@@ -12033,4 +12454,4 @@ interface FeltController extends ViewportController, UiController, LayersControl
12033
12454
  iframe: HTMLIFrameElement | null;
12034
12455
  }
12035
12456
 
12036
- 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 ViewportFitBoundsParams 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 UIActionTriggerCreate as bX, type UiController as bY, type SetViewportCenterZoomParams as bZ, type ViewportConstraints 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 ViewportState as c0, type ViewportController as c1, type UnwrapPromise as c2, uiActionTriggerSchema as c3, type UIPanelElementCreateClonable as c4, uiPanelCreateSchema as c5, type UIButtonElementCreateClonable as c6, type MakeClonableSchema as c7, type PromiseOrNot as c8, type UnionToIntersection as c9, 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 };
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 UiController as b$, type MultiLineStringGeometry as b0, type MultiPointGeometry as b1, type MultiPolygonGeometry as b2, type PointGeometry as b3, type PolygonGeometry as b4, type SetVisibilityRequest as b5, type SortConfig as b6, type SortDirection as b7, type CircleToolSettings as b8, type ConfigurableToolType as b9, type UIButtonElementCreate as bA, type UIButtonElementUpdate as bB, type UITextElement as bC, type UITextElementCreate as bD, type UITextElementUpdate as bE, type UIFlexibleSpaceElement as bF, type UIFlexibleSpaceElementCreate as bG, type UIFlexibleSpaceElementUpdate as bH, type UIDividerElement as bI, type UIDividerElementCreate as bJ, type UIDividerElementUpdate as bK, type UITextInputElement as bL, type UITextInputElementCreate as bM, type UITextInputElementUpdate as bN, type UISelectElement as bO, type UISelectElementCreate as bP, type UISelectElementUpdate as bQ, type UIPanelElement as bR, type UIPanelElementCreate as bS, type UIPanelElementUpdate as bT, type UIGridContainerElement as bU, type UIGridContainerElementCreate as bV, type UIGridContainerElementUpdate as bW, type UIButtonRowElement as bX, type UIButtonRowElementCreate as bY, type UIButtonRowElementUpdate as bZ, type UIActionTriggerCreate as b_, type HighlighterToolSettings as ba, type InputToolSettings as bb, type LineToolSettings as bc, type MarkerToolSettings as bd, type NoteToolSettings as be, type PinToolSettings as bf, type PlaceFrame as bg, type PlaceSymbol as bh, type PolygonToolSettings as bi, type RouteToolSettings as bj, type TextToolSettings as bk, type ToolSettingsChangeEvent as bl, type ToolSettingsMap as bm, type ToolType as bn, type ToolsController as bo, type CreateActionTriggerParams as bp, type CreateOrUpdatePanelParams as bq, type CreatePanelElementsParams as br, type DeletePanelElementsParams as bs, type UiOnMapInteractionsOptions as bt, type UpdateActionTriggerParams as bu, type UpdatePanelElementsParams as bv, type PlacementForUIElement as bw, type UIPanel as bx, type UIPanelCreateOrUpdate as by, type UIButtonElement as bz, type ElementChangeCallbackParams as c, type SetViewportCenterZoomParams as c0, type ViewportConstraints as c1, type ViewportFitBoundsParams as c2, type ViewportState as c3, type ViewportController as c4, type UnwrapPromise as c5, uiActionTriggerSchema as c6, type UIPanelElementCreateClonable as c7, uiPanelCreateSchema as c8, type UIButtonElementCreateClonable as c9, type MakeClonableSchema as ca, type UIButtonRowElementCreateClonable as cb, type PromiseOrNot as cc, type UnionToIntersection as cd, type ElementCreate as d, type ElementGroup as e, type ElementGroupChangeCallbackParams as f, type ElementUpdate as g, type GetElementsConstraint as h, type HighlighterElementRead as i, type HighlighterElementUpdate as j, type ImageElementRead as k, type ImageElementUpdate as l, type MarkerElementRead as m, type MarkerElementUpdate as n, type NoteElementRead as o, type NoteElementUpdate as p, type PathElementRead as q, type PathElementUpdate as r, type PlaceElementCreate as s, type PlaceElementRead as t, type PlaceElementUpdate as u, type PolygonElementCreate as v, type PolygonElementRead as w, type PolygonElementUpdate as x, type TextElementRead as y, type zInfer as z };