@budibase/frontend-core 3.10.2 → 3.10.3
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/package.json +2 -2
- package/src/utils/utils.ts +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/frontend-core",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.3",
|
|
4
4
|
"description": "Budibase frontend core libraries used in builder and client",
|
|
5
5
|
"author": "Budibase",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"shortid": "2.2.15",
|
|
18
18
|
"socket.io-client": "^4.7.5"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "94264027da3376c3f544676c03c0241d88bd82b0"
|
|
21
21
|
}
|
package/src/utils/utils.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { makePropSafe as safe } from "@budibase/string-templates"
|
|
2
2
|
import { Helpers } from "@budibase/bbui"
|
|
3
3
|
import { cloneDeep } from "lodash"
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
SearchFilterGroup,
|
|
6
|
+
UISearchFilter,
|
|
7
|
+
UITableResource,
|
|
8
|
+
UIViewResource,
|
|
9
|
+
} from "@budibase/types"
|
|
5
10
|
|
|
6
11
|
export const sleep = (ms: number) =>
|
|
7
12
|
new Promise(resolve => setTimeout(resolve, ms))
|
|
@@ -131,7 +136,7 @@ export const domDebounce = (callback: Function) => {
|
|
|
131
136
|
export const buildFormBlockButtonConfig = (props?: {
|
|
132
137
|
_id?: string
|
|
133
138
|
actionType?: string
|
|
134
|
-
dataSource?:
|
|
139
|
+
dataSource?: UITableResource | UIViewResource
|
|
135
140
|
notificationOverride?: boolean
|
|
136
141
|
actionUrl?: string
|
|
137
142
|
showDeleteButton?: boolean
|