enwawa-ui 4.1.26 → 4.1.27

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/lib/index.d.ts CHANGED
@@ -4186,7 +4186,6 @@ export interface MarkersArray {
4186
4186
  }
4187
4187
  export interface TmMapPageProps {
4188
4188
  rightDrawer?: OrDrawerProps;
4189
- topLeftSelects: AtSelectProps[];
4190
4189
  topLeftButton?: AtButtonProps;
4191
4190
  map: GoogleMapProps & {
4192
4191
  GOOGLE_MAPS_API_KEY: string;
@@ -4201,6 +4200,76 @@ export interface TmMapPageProps {
4201
4200
  longitude: number;
4202
4201
  }[];
4203
4202
  }[];
4203
+ tableTitle?: string;
4204
+ /**
4205
+ * table title level
4206
+ */
4207
+ tableTitleLevel?: 1 | 2 | 3 | 4 | 5;
4208
+ /**
4209
+ * Button value text
4210
+ */
4211
+ buttonAddText?: string;
4212
+ /**
4213
+ * button optional text
4214
+ */
4215
+ secondaryButtonText?: string;
4216
+ /**
4217
+ * secondary button icon
4218
+ */
4219
+ secondaryButtonIcon?: React.ReactNode;
4220
+ /**
4221
+ * secondary button onClick event handler
4222
+ */
4223
+ secondaryOnClick?: () => void;
4224
+ /**
4225
+ * add button onClick event handler
4226
+ */
4227
+ addButtonOnClick?: () => void;
4228
+ /**
4229
+ * search box value
4230
+ */
4231
+ searchBoxValue?: string;
4232
+ /**
4233
+ * search box onSearch event handler
4234
+ */
4235
+ searchBoxOnSearch?: (value: string) => void;
4236
+ /**
4237
+ * custom left elements for table header
4238
+ */
4239
+ tableHeaderCustomLeftElements?: React.ReactNode;
4240
+ /**
4241
+ * search box placeholder text
4242
+ */
4243
+ searchBoxPlaceholder?: string;
4244
+ /**
4245
+ * show search box
4246
+ */
4247
+ showSearchBox?: boolean;
4248
+ /**
4249
+ * onIdle event to get map corners
4250
+ */
4251
+ onIdleGetCorners?: (corners: {
4252
+ topLeft: {
4253
+ lat: number;
4254
+ lng: number;
4255
+ };
4256
+ topRight: {
4257
+ lat: number;
4258
+ lng: number;
4259
+ };
4260
+ bottomLeft: {
4261
+ lat: number;
4262
+ lng: number;
4263
+ };
4264
+ bottomRight: {
4265
+ lat: number;
4266
+ lng: number;
4267
+ };
4268
+ }) => void;
4269
+ /**
4270
+ * * loading state
4271
+ */
4272
+ loading?: boolean;
4204
4273
  }
4205
4274
  export const TmMapPage: React.FC<TmMapPageProps>;
4206
4275
  export interface OrRentalLayoutProps {
@@ -5622,6 +5691,52 @@ export interface OrEmptyProps {
5622
5691
  description: string;
5623
5692
  }
5624
5693
  export const OrEmpty: React.FC<OrEmptyProps>;
5694
+ /**
5695
+ * Properties for the OrEventContentDuty component.
5696
+ */
5697
+ export interface OrEventContentCardProps {
5698
+ /**
5699
+ * loading state of the popover
5700
+ */
5701
+ loading?: boolean;
5702
+ /**
5703
+ * placement of the popover
5704
+ */
5705
+ placement?: TooltipPlacement;
5706
+ /**
5707
+ * Children to attach the component.
5708
+ */
5709
+ children?: ReactNode;
5710
+ /**
5711
+ * on open change of the popover
5712
+ */
5713
+ onOpenChange?: (open: boolean) => void;
5714
+ /**
5715
+ * * first part content of the popover
5716
+ */
5717
+ firstPartContent: ReactNode;
5718
+ /**
5719
+ * * second part content of the popover
5720
+ */
5721
+ secondPartContent: ReactNode;
5722
+ /**
5723
+ * first part background color of the popover
5724
+ */
5725
+ firstPartBackgroundColor?: string;
5726
+ /**
5727
+ * button text for action button
5728
+ */
5729
+ buttonText?: string;
5730
+ /**
5731
+ * button action
5732
+ */
5733
+ buttonAction?: () => void;
5734
+ /**
5735
+ * translateYPopup to adjust the popup position
5736
+ */
5737
+ translateYPopup?: string;
5738
+ }
5739
+ export const OrEventContentCard: React.FC<OrEventContentCardProps>;
5625
5740
  type _Size2 = 'large' | 'middle' | 'small';
5626
5741
  export interface OrLabelTextBoxProps {
5627
5742
  title?: string;
@@ -5719,7 +5834,7 @@ export interface OrModuleTableHeaderProps {
5719
5834
  /**
5720
5835
  * Icon for second button
5721
5836
  */
5722
- secondaryButtonIcon?: string;
5837
+ secondaryButtonIcon?: React.ReactNode;
5723
5838
  /**
5724
5839
  * justify the contents of the main container
5725
5840
  */