enwawa-ui 2.0.37 → 2.0.38
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/CHANGELOG.md +7 -0
- package/lib/index.d.ts +65 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +104 -2
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +103 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -4331,6 +4331,69 @@ export interface TmCustomTabsPageProps<FormType = any> {
|
|
|
4331
4331
|
tabsProps: OrTabsProps;
|
|
4332
4332
|
}
|
|
4333
4333
|
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, }: TmCustomTabsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
4334
|
+
export interface TmDetailsPageProps<FormType = any> {
|
|
4335
|
+
/**
|
|
4336
|
+
* The ID for input
|
|
4337
|
+
*/
|
|
4338
|
+
id?: string;
|
|
4339
|
+
/**
|
|
4340
|
+
* Title of the description set
|
|
4341
|
+
*/
|
|
4342
|
+
title: string;
|
|
4343
|
+
/**
|
|
4344
|
+
* Whether the table has border or not
|
|
4345
|
+
*/
|
|
4346
|
+
bordered?: boolean;
|
|
4347
|
+
/**
|
|
4348
|
+
* Items to display
|
|
4349
|
+
*/
|
|
4350
|
+
items: OrDescriptionsProps['items'];
|
|
4351
|
+
/**
|
|
4352
|
+
* Extra content to display
|
|
4353
|
+
*/
|
|
4354
|
+
extra?: OrDescriptionsProps['extra'];
|
|
4355
|
+
/**
|
|
4356
|
+
* Form Steps info
|
|
4357
|
+
*/
|
|
4358
|
+
formSteps?: IFormStep<FormType>[];
|
|
4359
|
+
/**
|
|
4360
|
+
* On press cancel and close button function
|
|
4361
|
+
*/
|
|
4362
|
+
handleCloseCallback?: () => void;
|
|
4363
|
+
/**
|
|
4364
|
+
* State of the drawer
|
|
4365
|
+
*/
|
|
4366
|
+
open?: boolean;
|
|
4367
|
+
/**
|
|
4368
|
+
* Drawer Content
|
|
4369
|
+
*/
|
|
4370
|
+
drawerContent?: React.ReactNode;
|
|
4371
|
+
/**
|
|
4372
|
+
* Drawer Title
|
|
4373
|
+
*/
|
|
4374
|
+
drawerTitle?: React.ReactNode;
|
|
4375
|
+
/**
|
|
4376
|
+
* Drawer Width
|
|
4377
|
+
*/
|
|
4378
|
+
drawerWidth?: number;
|
|
4379
|
+
/**
|
|
4380
|
+
* Disable buttons drawer
|
|
4381
|
+
*/
|
|
4382
|
+
disabledButtons?: boolean;
|
|
4383
|
+
/**
|
|
4384
|
+
* current step
|
|
4385
|
+
*/
|
|
4386
|
+
currentFormStep?: number;
|
|
4387
|
+
/**
|
|
4388
|
+
* button optional text
|
|
4389
|
+
*/
|
|
4390
|
+
showFormStepper?: boolean;
|
|
4391
|
+
/**
|
|
4392
|
+
* On change form content
|
|
4393
|
+
*/
|
|
4394
|
+
onValuesChange?: OrFormProps['onValuesChange'];
|
|
4395
|
+
}
|
|
4396
|
+
export const TmDetailsPage: <FormType extends Store>({ title, bordered, items, extra, formSteps, handleCloseCallback, open, drawerTitle, drawerWidth, disabledButtons, currentFormStep, showFormStepper, onValuesChange, }: TmDetailsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
4334
4397
|
export interface PaymentMethod {
|
|
4335
4398
|
value: string;
|
|
4336
4399
|
icon?: React.ReactNode;
|
|
@@ -4645,11 +4708,11 @@ export interface OrTabsModuleLayoutProps<FormType = any> {
|
|
|
4645
4708
|
/**
|
|
4646
4709
|
* Info label
|
|
4647
4710
|
*/
|
|
4648
|
-
infoLabel
|
|
4711
|
+
infoLabel?: string;
|
|
4649
4712
|
/**
|
|
4650
4713
|
* Info value
|
|
4651
4714
|
*/
|
|
4652
|
-
infoValue
|
|
4715
|
+
infoValue?: string;
|
|
4653
4716
|
/**
|
|
4654
4717
|
* Main button label
|
|
4655
4718
|
*/
|