enwawa-ui 3.4.1 → 3.5.0

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
@@ -2601,6 +2601,10 @@ export interface OrDescriptionsProps extends DescriptionsProps {
2601
2601
  * Extra content to display
2602
2602
  */
2603
2603
  extra?: DescriptionsProps['extra'];
2604
+ /**
2605
+ * variation between : 'common' | 'no-header' | 'list'
2606
+ */
2607
+ variation?: 'common' | 'no-header' | 'list';
2604
2608
  }
2605
2609
  export const OrDescriptions: React.FC<OrDescriptionsProps>;
2606
2610
  export interface OrStepProp {
@@ -3449,6 +3453,16 @@ export interface OrGoogleMapsProps extends GoogleMapProps {
3449
3453
  * Realtime markers.
3450
3454
  */
3451
3455
  realtimeMarkers?: MarkersGroup[];
3456
+ /**
3457
+ * Polylines
3458
+ */
3459
+ polylines?: {
3460
+ color: string | null | undefined;
3461
+ stops: {
3462
+ latitude: number;
3463
+ longitude: number;
3464
+ }[];
3465
+ }[];
3452
3466
  }
3453
3467
  export const OrGoogleMaps: React.FC<OrGoogleMapsProps>;
3454
3468
  export const useMessage: () => readonly [import("antd/es/message/interface").MessageInstance, import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>];
@@ -3487,7 +3501,7 @@ export interface OrFormInLineItem {
3487
3501
  /**
3488
3502
  * Type of components available for the form
3489
3503
  */
3490
- component: 'radio' | 'radio-cards' | 'number-input' | 'checkbox' | 'select' | 'select-multiple' | 'text' | 'phone' | 'date-picker' | 'date-range-picker' | 'cvc' | 'name' | 'select-input' | 'info' | 'copy-info' | 'status-info' | 'file-input' | 'collapse' | 'download-upload' | 'summary' | 'qr-code' | 'select-table' | 'google-map' | 'google-autocomplete-search' | 'stepper' | 'input-list' | 'button' | 'image' | 'time-range-picker' | 'autocomplete-search' | 'tabs' | 'descriptions-table' | 'draggable-table' | 'badge-ribbon';
3504
+ component: 'radio' | 'radio-cards' | 'number-input' | 'checkbox' | 'select' | 'select-multiple' | 'text' | 'phone' | 'date-picker' | 'date-range-picker' | 'cvc' | 'name' | 'select-input' | 'info' | 'copy-info' | 'status-info' | 'file-input' | 'collapse' | 'download-upload' | 'summary' | 'qr-code' | 'select-table' | 'google-map' | 'google-autocomplete-search' | 'stepper' | 'input-list' | 'button' | 'group' | 'divider' | 'image' | 'time-range-picker' | 'autocomplete-search' | 'tabs' | 'descriptions-table' | 'draggable-table' | 'summary' | 'badge-ribbon' | 'summary-descriptions';
3491
3505
  /**
3492
3506
  * Label of the field
3493
3507
  */
@@ -3532,6 +3546,7 @@ export interface OrFormInLineItem {
3532
3546
  parser?: AtNumberInputProps['parser'];
3533
3547
  items?: OrCollapseProps['items'];
3534
3548
  iconItems?: MlInfoListProps['items'];
3549
+ summaryDescriptionsProps?: OrDescriptionsProps;
3535
3550
  /**
3536
3551
  * Format of the date
3537
3552
  */
@@ -3705,6 +3720,14 @@ export interface OrFormInLineItem {
3705
3720
  * Id for the qr code element
3706
3721
  */
3707
3722
  qrCodeId?: string;
3723
+ /**
3724
+ * Group items
3725
+ */
3726
+ groupItems?: OrFormInLineItem[];
3727
+ /**
3728
+ * Group title
3729
+ */
3730
+ groupTitle?: ReactNode | string;
3708
3731
  }
3709
3732
  export interface OrFormItemsInlineProps {
3710
3733
  inputs?: Array<OrFormInLineItem | Array<OrFormInLineItem | OrFormInLineItem[]>>;
@@ -4283,10 +4306,18 @@ export interface TmCustomTabsPageProps<FormType = any> {
4283
4306
  * Main button label
4284
4307
  */
4285
4308
  mainButtonLabel: string;
4309
+ /**
4310
+ * Secondary button label
4311
+ */
4312
+ secondaryButtonLabel?: string;
4286
4313
  /**
4287
4314
  * Main button icon
4288
4315
  */
4289
4316
  mainButtonIcon?: AtIconProps['name'];
4317
+ /**
4318
+ * Secondary button icon
4319
+ */
4320
+ secondaryButtonIcon?: AtIconProps['name'];
4290
4321
  /**
4291
4322
  * Left arrow click event
4292
4323
  */
@@ -4295,6 +4326,10 @@ export interface TmCustomTabsPageProps<FormType = any> {
4295
4326
  * Main action click event
4296
4327
  */
4297
4328
  onClickMainAction?: () => void;
4329
+ /**
4330
+ * Secondary action click event
4331
+ */
4332
+ onClickSecondaryAction?: () => void;
4298
4333
  /**
4299
4334
  * Form Steps info
4300
4335
  */
@@ -4344,7 +4379,7 @@ export interface TmCustomTabsPageProps<FormType = any> {
4344
4379
  */
4345
4380
  breadcrumbItems?: MlBreadcrumbProps['items'];
4346
4381
  }
4347
- export const TmCustomTabsPage: <FormType extends Store>({ avatar, username, phone, balanceLabel, balanceValue, infoIcon, infoLabel, infoValue, mainButtonLabel, mainButtonIcon, onClickLeftArrow, onClickMainAction, formSteps, handleCloseCallback, open, drawerTitle, drawerWidth, disabledButtons, currentFormStep, showFormStepper, onValuesChange, tabsProps, breadcrumbItems, }: TmCustomTabsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
4382
+ export const TmCustomTabsPage: <FormType extends Store>({ avatar, username, phone, balanceLabel, balanceValue, infoIcon, infoLabel, infoValue, mainButtonLabel, secondaryButtonLabel, mainButtonIcon, secondaryButtonIcon, onClickLeftArrow, onClickMainAction, onClickSecondaryAction, formSteps, handleCloseCallback, open, drawerTitle, drawerWidth, disabledButtons, currentFormStep, showFormStepper, onValuesChange, tabsProps, breadcrumbItems, }: TmCustomTabsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
4348
4383
  interface IDashboardItems {
4349
4384
  gutter: {
4350
4385
  xs?: number;
@@ -5311,10 +5346,18 @@ export interface OrTabsModuleLayoutProps<FormType = any> {
5311
5346
  * Main button label
5312
5347
  */
5313
5348
  mainButtonLabel: string;
5349
+ /**
5350
+ * Secondary button label
5351
+ */
5352
+ secondaryButtonLabel?: string;
5314
5353
  /**
5315
5354
  * Main button icon
5316
5355
  */
5317
5356
  mainButtonIcon?: AtIconProps['name'];
5357
+ /**
5358
+ * Secondary button icon
5359
+ */
5360
+ secondaryButtonIcon?: AtIconProps['name'];
5318
5361
  /**
5319
5362
  * Left arrow click event
5320
5363
  */
@@ -5323,6 +5366,10 @@ export interface OrTabsModuleLayoutProps<FormType = any> {
5323
5366
  * Main action click event
5324
5367
  */
5325
5368
  onClickMainAction?: () => void;
5369
+ /**
5370
+ * Secondary action click event
5371
+ */
5372
+ onClickSecondaryAction?: () => void;
5326
5373
  /**
5327
5374
  * Children component
5328
5375
  */