@gemafajarramadhan/dynamic-ui 1.3.7 → 1.3.9
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/dynamic-ui.css +2 -2
- package/dist/dynamic-ui.es.js +10122 -10066
- package/dist/dynamic-ui.umd.js +27 -27
- package/dist/index.d.ts +6 -13
- package/package.json +1 -1
- package/src/index.d.ts +6 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import type { DefineComponent, Plugin, App } from 'vue'
|
|
1
|
+
import type { DefineComponent, Plugin, App } from 'vue'
|
|
3
2
|
|
|
4
3
|
export interface DynamicUIApiConfig {
|
|
5
|
-
|
|
6
|
-
getAuthToken?: () => string | null | undefined
|
|
7
|
-
getHeaders?: () => Record<string, string>
|
|
8
|
-
onUnauthorized?: () => void
|
|
9
|
-
apiClient?: (url: string, method?: string, data?: any) => Promise<any>
|
|
4
|
+
externalApi: any
|
|
10
5
|
}
|
|
11
6
|
|
|
12
|
-
export function setApiConfig(config: DynamicUIApiConfig): void
|
|
13
|
-
|
|
14
7
|
export const DynamicFormField: DefineComponent<{
|
|
15
8
|
field: {
|
|
16
9
|
key: string;
|
|
@@ -590,9 +583,9 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
590
583
|
export function unregisterLogic(name: string): void
|
|
591
584
|
|
|
592
585
|
export function cn(...inputs: any[]): string
|
|
586
|
+
export function useDynamicForm(props: any, emit: any): any
|
|
593
587
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
}
|
|
597
|
-
export default DynamicUI
|
|
588
|
+
const DynamicUI: {
|
|
589
|
+
install: (app: any, options?: DynamicUIApiConfig) => void
|
|
598
590
|
}
|
|
591
|
+
export default DynamicUI
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import type { DefineComponent, Plugin, App } from 'vue'
|
|
1
|
+
import type { DefineComponent, Plugin, App } from 'vue'
|
|
3
2
|
|
|
4
3
|
export interface DynamicUIApiConfig {
|
|
5
|
-
|
|
6
|
-
getAuthToken?: () => string | null | undefined
|
|
7
|
-
getHeaders?: () => Record<string, string>
|
|
8
|
-
onUnauthorized?: () => void
|
|
9
|
-
apiClient?: (url: string, method?: string, data?: any) => Promise<any>
|
|
4
|
+
externalApi: any
|
|
10
5
|
}
|
|
11
6
|
|
|
12
|
-
export function setApiConfig(config: DynamicUIApiConfig): void
|
|
13
|
-
|
|
14
7
|
export const DynamicFormField: DefineComponent<{
|
|
15
8
|
field: {
|
|
16
9
|
key: string;
|
|
@@ -590,9 +583,9 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
590
583
|
export function unregisterLogic(name: string): void
|
|
591
584
|
|
|
592
585
|
export function cn(...inputs: any[]): string
|
|
586
|
+
export function useDynamicForm(props: any, emit: any): any
|
|
593
587
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
}
|
|
597
|
-
export default DynamicUI
|
|
588
|
+
const DynamicUI: {
|
|
589
|
+
install: (app: any, options?: DynamicUIApiConfig) => void
|
|
598
590
|
}
|
|
591
|
+
export default DynamicUI
|