bt-core-app 1.4.749 → 1.4.751

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
@@ -86,6 +86,8 @@ export declare interface AFormFieldMeta {
86
86
 
87
87
  export declare interface AFormSlide {
88
88
  fields: AFormField[];
89
+ canDelete?: boolean;
90
+ canEdit?: boolean;
89
91
  name: string;
90
92
  }
91
93
 
@@ -2037,12 +2039,13 @@ export declare function useForms(options?: UseFormsOptions): {
2037
2039
  removeSlide: (slideName?: string) => void;
2038
2040
  schema: Ref<AForm | undefined>;
2039
2041
  schemaString: ComputedRef<string>;
2040
- selectField: (field: AFormField) => void;
2042
+ selectField: (slide: AFormSlide, field: AFormField) => void;
2041
2043
  selectSlide: (slide: AFormSlide) => void;
2042
2044
  };
2043
2045
 
2044
2046
  export declare interface UseFormsOptions {
2045
2047
  defaultColor?: string;
2048
+ onGetSchema?: (schema: AForm) => AForm;
2046
2049
  }
2047
2050
 
2048
2051
  export declare function useGeo(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.749",
3
+ "version": "1.4.751",
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": {