utopia-ui 3.0.40 → 3.0.42

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.
@@ -1,2 +1,2 @@
1
1
  import type { LayerProps } from '#types/LayerProps';
2
- export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, itemNameField, itemSubnameField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, itemLatitudeField, itemLongitudeField, itemTagsField, itemOffersField, itemNeedsField, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef, }: LayerProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef, }: LayerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import type { Item } from '#types/Item';
2
2
  import type { ItemsApi } from '#types/ItemsApi';
3
- export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
3
+ export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
4
4
  item: Item;
5
5
  api?: ItemsApi<any>;
6
6
  editCallback?: any;
@@ -1,8 +1,7 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare const PopupButton: ({ url, parameterField, text, colorField, item, }: {
2
+ export declare const PopupButton: ({ url, parameterField, text, item, }: {
3
3
  url: string;
4
4
  parameterField?: string;
5
5
  text: string;
6
- colorField?: string;
7
6
  item?: Item;
8
7
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- import type { Item } from '#types/Item';
2
- export declare const TextView: ({ item, truncate, itemTextField, rawText, }: {
3
- item?: Item;
1
+ export declare const TextView: ({ itemId, text, truncate, rawText, }: {
2
+ itemId: string;
3
+ text?: string;
4
4
  truncate?: boolean;
5
- itemTextField?: string;
6
5
  rawText?: string;
7
6
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,9 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, colorField, collection, customStyle, }: {
2
+ export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, collection, customStyle, }: {
3
3
  triggerAddButton?: any;
4
4
  triggerItemSelected?: any;
5
5
  existingRelations: Item[];
6
6
  itemType?: string;
7
- colorField?: string;
8
7
  collection?: string;
9
8
  customStyle?: string;
10
9
  item: Item;
@@ -1,10 +1,7 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, itemAvatarField, loading, unlinkPermission, itemSubnameField, }: {
2
+ export declare function LinkedItemsHeaderView({ item, unlinkCallback, loading, unlinkPermission, }: {
3
3
  item: Item;
4
4
  unlinkCallback?: any;
5
- itemNameField?: string;
6
- itemAvatarField?: string;
7
- itemSubnameField?: string;
8
5
  loading?: boolean;
9
6
  unlinkPermission: boolean;
10
7
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,7 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare const ItemCard: ({ i, loading, url, parameterField, deleteCallback, }: {
2
+ export declare const ItemCard: ({ i, loading, url, deleteCallback, }: {
3
3
  i: Item;
4
4
  loading: boolean;
5
5
  url: string;
6
- parameterField: string;
7
6
  deleteCallback: any;
8
7
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- export declare const OverlayItemsIndexPage: ({ url, layerName, parameterField, plusButton, }: {
1
+ export declare const OverlayItemsIndexPage: ({ url, layerName, plusButton, }: {
2
2
  layerName: string;
3
3
  url: string;
4
- parameterField: string;
5
4
  plusButton?: boolean;
6
5
  }) => import("react/jsx-runtime").JSX.Element;