@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usssa/component-library",
3
- "version": "1.0.0-alpha.51",
3
+ "version": "1.0.0-alpha.52",
4
4
  "description": "A Quasar component library project",
5
5
  "productName": "Quasar component library App",
6
6
  "author": "Troy Moreland <troy.moreland@usssa.com>",
@@ -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 = process.env.ALGOLIA_APPID
101
- const algoliaApiKey = process.env.ALGOLIA_SEARCHKEY
102
- const algoliaIndex = process.env.ALGOLIA_INDEX
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
@@ -0,0 +1,5 @@
1
+ export const ALGOLIA = {
2
+ APPID: 'ZR4PURFXI2',
3
+ SEARCH_KEY: '7a75864a23baba812881378ad3023269',
4
+ INDEX: 'dev'
5
+ }