bt-core-app 2.1.19 → 2.1.20

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/index.d.ts CHANGED
@@ -585,8 +585,45 @@ export declare interface CosmeticData {
585
585
  theme?: string;
586
586
  }
587
587
 
588
+ export declare function createAField(fieldType: FieldType, furtherProps?: AFormField): {
589
+ description?: string | undefined;
590
+ isRequired?: boolean | undefined;
591
+ isSubmitButton?: boolean | undefined;
592
+ label?: string | undefined;
593
+ mapToProp?: string | undefined;
594
+ options?: string[] | undefined;
595
+ placeholder?: string | undefined;
596
+ prop?: string | undefined;
597
+ remember?: boolean | undefined;
598
+ type?: FieldType | undefined;
599
+ url?: string | undefined;
600
+ icon?: string | undefined;
601
+ };
602
+
603
+ export declare function createAForm(slides: AFormSlide[], furtherProps?: AForm): {
604
+ slides: AFormSlide[];
605
+ bgColor?: string | undefined;
606
+ bgSrc?: string | undefined;
607
+ ctlColor?: string | undefined;
608
+ logoSrc?: string | undefined;
609
+ textColor?: string | undefined;
610
+ theme?: "dark" | "light" | undefined;
611
+ title?: string | undefined;
612
+ useBgSrc?: boolean | undefined;
613
+ useLogoSrc?: boolean | undefined;
614
+ variant?: AFormVariant | undefined;
615
+ version?: number | undefined;
616
+ };
617
+
588
618
  export declare function createApi(options?: UseApiOptions): BTApi;
589
619
 
620
+ export declare function createASlide(fields: AFormField[], furtherProps?: AFormSlide): {
621
+ fields: AFormField[];
622
+ canDelete?: boolean | undefined;
623
+ canEdit?: boolean | undefined;
624
+ name?: string | undefined;
625
+ };
626
+
590
627
  export declare function createAssistant(options?: CreateAssistantOptions): BTAssistant;
591
628
 
592
629
  export declare interface CreateAssistantOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.1.19",
3
+ "version": "2.1.20",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {