@usssa/component-library 1.0.0-alpha.51 → 1.0.0-alpha.52
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
CHANGED
|
@@ -9,6 +9,7 @@ import UMenuDropdownAdvancedSearch from './UMenuDropdownAdvancedSearch.vue'
|
|
|
9
9
|
import UTabBtnStd from './UTabBtnStd.vue'
|
|
10
10
|
import UTooltip from './UTooltip.vue'
|
|
11
11
|
import { parseInitials, categorizeObjects, deepEqual } from '../../utils/data'
|
|
12
|
+
import { ALGOLIA } from 'src/constants'
|
|
12
13
|
|
|
13
14
|
const props = defineProps({
|
|
14
15
|
// Label for button to select a record
|
|
@@ -97,9 +98,9 @@ const emit = defineEmits([
|
|
|
97
98
|
|
|
98
99
|
const loading = defineModel('loading')
|
|
99
100
|
|
|
100
|
-
const algoliaAppId =
|
|
101
|
-
const algoliaApiKey =
|
|
102
|
-
const algoliaIndex =
|
|
101
|
+
const algoliaAppId = ALGOLIA.APPID
|
|
102
|
+
const algoliaApiKey = ALGOLIA.SEARCH_KEY
|
|
103
|
+
const algoliaIndex = ALGOLIA.INDEX
|
|
103
104
|
|
|
104
105
|
const client = algoliasearch(algoliaAppId, algoliaApiKey)
|
|
105
106
|
const index = client.initIndex(algoliaIndex)
|
|
@@ -348,7 +349,7 @@ const onApplyAdvancedSearchFilter = () => {
|
|
|
348
349
|
|
|
349
350
|
search()
|
|
350
351
|
updateAdvanceSearchToggle()
|
|
351
|
-
|
|
352
|
+
|
|
352
353
|
}
|
|
353
354
|
|
|
354
355
|
//Assign default model value on tab change
|