@vonq/hapi-elements-types 1.16.0 → 1.17.0

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.
@@ -14,6 +14,14 @@ export type WindowHapiUtils = WindowHapiModuleWithConstructorArgs<
14
14
  {
15
15
  isObject: (item: any) => boolean
16
16
  mergeDeepOverwriteArrays: (original: any, overwrites: any) => any
17
+ getFlattenedTree: (
18
+ values: any[],
19
+ childAccessor: string,
20
+ labelAccessor: string,
21
+ valueAccessor: string,
22
+ parentLabel?: any,
23
+ canSelectParentCategoriesThatHasOptions?: boolean,
24
+ ) => { label: string; value: any }[]
17
25
  getComponentNameIndexSuffix: (instanceName: string) => string
18
26
  getIframeLoadingSpinner: () => HTMLDivElement
19
27
  product: WindowHapiUtilsProduct
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@vonq/hapi-elements-types",
4
- "version": "1.16.0",
4
+ "version": "1.17.0",
5
5
  "description": "This package contains Typescript definitions for HAPI Elements",
6
6
  "author": "VONQ HAPI Team",
7
7
  "license": "BSD-3-Clause",