@blaze-cms/plugin-search-ui 0.146.0-node18.1 → 0.146.0-rc-eagle.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.
- package/CHANGELOG.md +10 -13
- package/lib/application/query/index.js +31 -15
- package/lib/application/query/index.js.map +1 -1
- package/lib/components/SearchAdmin/RecentSearches/RecentSearches.js +33 -43
- package/lib/components/SearchAdmin/RecentSearches/RecentSearches.js.map +1 -1
- package/lib/components/SearchAdmin/RecentSearches/index.js +2 -3
- package/lib/components/SearchAdmin/RecentSearches/index.js.map +1 -1
- package/lib/components/SearchAdmin/SearchAdmin.js +63 -105
- package/lib/components/SearchAdmin/SearchAdmin.js.map +1 -1
- package/lib/components/SearchAdmin/SearchAdminSideBar/SearchAdminSideBar.js +50 -78
- package/lib/components/SearchAdmin/SearchAdminSideBar/SearchAdminSideBar.js.map +1 -1
- package/lib/components/SearchAdmin/SearchAdminSideBar/index.js +2 -3
- package/lib/components/SearchAdmin/SearchAdminSideBar/index.js.map +1 -1
- package/lib/components/SearchAdmin/SearchBar/SearchBar.js +41 -45
- package/lib/components/SearchAdmin/SearchBar/SearchBar.js.map +1 -1
- package/lib/components/SearchAdmin/SearchBar/index.js +2 -3
- package/lib/components/SearchAdmin/SearchBar/index.js.map +1 -1
- package/lib/components/SearchAdmin/SearchResults/SearchResults.js +100 -149
- package/lib/components/SearchAdmin/SearchResults/SearchResults.js.map +1 -1
- package/lib/components/SearchAdmin/SearchResults/index.js +2 -3
- package/lib/components/SearchAdmin/SearchResults/index.js.map +1 -1
- package/lib/components/SearchAdmin/TriggerModal/TriggerModal.js +10 -12
- package/lib/components/SearchAdmin/TriggerModal/TriggerModal.js.map +1 -1
- package/lib/components/SearchAdmin/TriggerModal/index.js +2 -3
- package/lib/components/SearchAdmin/TriggerModal/index.js.map +1 -1
- package/lib/components/SearchAdmin/index.js +2 -3
- package/lib/components/SearchAdmin/index.js.map +1 -1
- package/lib/components/SearchPublishedContent/SearchPublishedContent.js +74 -100
- package/lib/components/SearchPublishedContent/SearchPublishedContent.js.map +1 -1
- package/lib/components/SearchPublishedContent/index.js +2 -3
- package/lib/components/SearchPublishedContent/index.js.map +1 -1
- package/lib/components/useLocalStorage/index.js +2 -3
- package/lib/components/useLocalStorage/index.js.map +1 -1
- package/lib/components/useLocalStorage/useLocalStorage.js +8 -16
- package/lib/components/useLocalStorage/useLocalStorage.js.map +1 -1
- package/lib/components/useSearch/index.js +2 -3
- package/lib/components/useSearch/index.js.map +1 -1
- package/lib/components/useSearch/useSearch.js +64 -88
- package/lib/components/useSearch/useSearch.js.map +1 -1
- package/lib/components/useSearchResults/index.js +2 -3
- package/lib/components/useSearchResults/index.js.map +1 -1
- package/lib/components/useSearchResults/useSearchResults.js +34 -51
- package/lib/components/useSearchResults/useSearchResults.js.map +1 -1
- package/lib/constants.js +10 -10
- package/lib/constants.js.map +1 -1
- package/lib/hooks/index.js +2 -3
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/useDebounceSearch.js +31 -38
- package/lib/hooks/useDebounceSearch.js.map +1 -1
- package/lib/index.js +8 -9
- package/lib/index.js.map +1 -1
- package/package.json +10 -12
- package/src/components/SearchAdmin/SearchResults/SearchResults.js +7 -2
- package/src/components/useSearch/useSearch.js +8 -5
- package/src/components/useSearchResults/useSearchResults.js +2 -2
- package/src/constants.js +4 -2
- package/src/hooks/useDebounceSearch.js +3 -2
- package/lib-es/application/query/index.js +0 -33
- package/lib-es/application/query/index.js.map +0 -1
- package/lib-es/components/SearchAdmin/RecentSearches/RecentSearches.js +0 -38
- package/lib-es/components/SearchAdmin/RecentSearches/RecentSearches.js.map +0 -1
- package/lib-es/components/SearchAdmin/RecentSearches/index.js +0 -3
- package/lib-es/components/SearchAdmin/RecentSearches/index.js.map +0 -1
- package/lib-es/components/SearchAdmin/SearchAdmin.js +0 -147
- package/lib-es/components/SearchAdmin/SearchAdmin.js.map +0 -1
- package/lib-es/components/SearchAdmin/SearchAdminSideBar/SearchAdminSideBar.js +0 -76
- package/lib-es/components/SearchAdmin/SearchAdminSideBar/SearchAdminSideBar.js.map +0 -1
- package/lib-es/components/SearchAdmin/SearchAdminSideBar/index.js +0 -3
- package/lib-es/components/SearchAdmin/SearchAdminSideBar/index.js.map +0 -1
- package/lib-es/components/SearchAdmin/SearchBar/SearchBar.js +0 -52
- package/lib-es/components/SearchAdmin/SearchBar/SearchBar.js.map +0 -1
- package/lib-es/components/SearchAdmin/SearchBar/index.js +0 -3
- package/lib-es/components/SearchAdmin/SearchBar/index.js.map +0 -1
- package/lib-es/components/SearchAdmin/SearchResults/SearchResults.js +0 -151
- package/lib-es/components/SearchAdmin/SearchResults/SearchResults.js.map +0 -1
- package/lib-es/components/SearchAdmin/SearchResults/index.js +0 -3
- package/lib-es/components/SearchAdmin/SearchResults/index.js.map +0 -1
- package/lib-es/components/SearchAdmin/TriggerModal/TriggerModal.js +0 -14
- package/lib-es/components/SearchAdmin/TriggerModal/TriggerModal.js.map +0 -1
- package/lib-es/components/SearchAdmin/TriggerModal/index.js +0 -3
- package/lib-es/components/SearchAdmin/TriggerModal/index.js.map +0 -1
- package/lib-es/components/SearchAdmin/index.js +0 -3
- package/lib-es/components/SearchAdmin/index.js.map +0 -1
- package/lib-es/components/SearchPublishedContent/SearchPublishedContent.js +0 -148
- package/lib-es/components/SearchPublishedContent/SearchPublishedContent.js.map +0 -1
- package/lib-es/components/SearchPublishedContent/index.js +0 -3
- package/lib-es/components/SearchPublishedContent/index.js.map +0 -1
- package/lib-es/components/useLocalStorage/index.js +0 -3
- package/lib-es/components/useLocalStorage/index.js.map +0 -1
- package/lib-es/components/useLocalStorage/useLocalStorage.js +0 -15
- package/lib-es/components/useLocalStorage/useLocalStorage.js.map +0 -1
- package/lib-es/components/useSearch/index.js +0 -3
- package/lib-es/components/useSearch/index.js.map +0 -1
- package/lib-es/components/useSearch/useSearch.js +0 -106
- package/lib-es/components/useSearch/useSearch.js.map +0 -1
- package/lib-es/components/useSearchResults/index.js +0 -3
- package/lib-es/components/useSearchResults/index.js.map +0 -1
- package/lib-es/components/useSearchResults/useSearchResults.js +0 -51
- package/lib-es/components/useSearchResults/useSearchResults.js.map +0 -1
- package/lib-es/constants.js +0 -10
- package/lib-es/constants.js.map +0 -1
- package/lib-es/hooks/index.js +0 -3
- package/lib-es/hooks/index.js.map +0 -1
- package/lib-es/hooks/useDebounceSearch.js +0 -42
- package/lib-es/hooks/useDebounceSearch.js.map +0 -1
- package/lib-es/index.js +0 -6
- package/lib-es/index.js.map +0 -1
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
import { useState, useEffect } from 'react';
|
|
5
|
-
import useSearch from '../useSearch';
|
|
6
|
-
function useSearchResults({
|
|
7
|
-
queryKey,
|
|
8
|
-
resultKeys,
|
|
9
|
-
entities,
|
|
10
|
-
fields
|
|
11
|
-
}) {
|
|
12
|
-
const [currentResults, setCurrentResults] = useState([]);
|
|
13
|
-
const [allResults, setAllResults] = useState([]);
|
|
14
|
-
const [{
|
|
15
|
-
searchedValue,
|
|
16
|
-
loading,
|
|
17
|
-
data: {
|
|
18
|
-
results,
|
|
19
|
-
total
|
|
20
|
-
}
|
|
21
|
-
}, setParams] = useSearch({
|
|
22
|
-
queryKey,
|
|
23
|
-
resultKeys,
|
|
24
|
-
entities,
|
|
25
|
-
fields
|
|
26
|
-
});
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
if (currentResults.length !== results.length) {
|
|
29
|
-
setAllResults([...allResults, ...results]);
|
|
30
|
-
setCurrentResults(results);
|
|
31
|
-
}
|
|
32
|
-
}, [allResults, currentResults, results]);
|
|
33
|
-
const clearList = params => {
|
|
34
|
-
setAllResults([]);
|
|
35
|
-
setParams(_objectSpread(_objectSpread({}, params), {}, {
|
|
36
|
-
offset: 0
|
|
37
|
-
}));
|
|
38
|
-
};
|
|
39
|
-
const setQueryParams = params => {
|
|
40
|
-
params.value !== searchedValue ? clearList(params) : setParams(params);
|
|
41
|
-
};
|
|
42
|
-
return [{
|
|
43
|
-
loading,
|
|
44
|
-
results: allResults,
|
|
45
|
-
currentResults,
|
|
46
|
-
newResults: results,
|
|
47
|
-
total
|
|
48
|
-
}, setQueryParams];
|
|
49
|
-
}
|
|
50
|
-
export default useSearchResults;
|
|
51
|
-
//# sourceMappingURL=useSearchResults.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSearchResults.js","names":["useState","useEffect","useSearch","useSearchResults","queryKey","resultKeys","entities","fields","currentResults","setCurrentResults","allResults","setAllResults","searchedValue","loading","data","results","total","setParams","length","clearList","params","_objectSpread","offset","setQueryParams","value","newResults"],"sources":["../../../src/components/useSearchResults/useSearchResults.js"],"sourcesContent":["import { useState, useEffect } from 'react';\nimport useSearch from '../useSearch';\n\nfunction useSearchResults({ queryKey, resultKeys, entities, fields }) {\n const [currentResults, setCurrentResults] = useState([]);\n const [allResults, setAllResults] = useState([]);\n const [\n {\n searchedValue,\n loading,\n data: { results, total }\n },\n setParams\n ] = useSearch({ queryKey, resultKeys, entities, fields });\n\n useEffect(() => {\n if (currentResults.length !== results.length) {\n setAllResults([...allResults, ...results]);\n setCurrentResults(results);\n }\n }, [allResults, currentResults, results]);\n\n const clearList = params => {\n setAllResults([]);\n setParams({ ...params, offset: 0 });\n };\n\n const setQueryParams = params => {\n params.value !== searchedValue ? clearList(params) : setParams(params);\n };\n\n return [\n {\n loading,\n results: allResults,\n currentResults,\n newResults: results,\n total\n },\n setQueryParams\n ];\n}\n\nexport default useSearchResults;\n"],"mappings":";;;AAAA,SAASA,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAC3C,OAAOC,SAAS,MAAM,cAAc;AAEpC,SAASC,gBAAgBA,CAAC;EAAEC,QAAQ;EAAEC,UAAU;EAAEC,QAAQ;EAAEC;AAAO,CAAC,EAAE;EACpE,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGT,QAAQ,CAAC,EAAE,CAAC;EACxD,MAAM,CAACU,UAAU,EAAEC,aAAa,CAAC,GAAGX,QAAQ,CAAC,EAAE,CAAC;EAChD,MAAM,CACJ;IACEY,aAAa;IACbC,OAAO;IACPC,IAAI,EAAE;MAAEC,OAAO;MAAEC;IAAM;EACzB,CAAC,EACDC,SAAS,CACV,GAAGf,SAAS,CAAC;IAAEE,QAAQ;IAAEC,UAAU;IAAEC,QAAQ;IAAEC;EAAO,CAAC,CAAC;EAEzDN,SAAS,CAAC,MAAM;IACd,IAAIO,cAAc,CAACU,MAAM,KAAKH,OAAO,CAACG,MAAM,EAAE;MAC5CP,aAAa,CAAC,CAAC,GAAGD,UAAU,EAAE,GAAGK,OAAO,CAAC,CAAC;MAC1CN,iBAAiB,CAACM,OAAO,CAAC;IAC5B;EACF,CAAC,EAAE,CAACL,UAAU,EAAEF,cAAc,EAAEO,OAAO,CAAC,CAAC;EAEzC,MAAMI,SAAS,GAAGC,MAAM,IAAI;IAC1BT,aAAa,CAAC,EAAE,CAAC;IACjBM,SAAS,CAAAI,aAAA,CAAAA,aAAA,KAAMD,MAAM;MAAEE,MAAM,EAAE;IAAC,EAAE,CAAC;EACrC,CAAC;EAED,MAAMC,cAAc,GAAGH,MAAM,IAAI;IAC/BA,MAAM,CAACI,KAAK,KAAKZ,aAAa,GAAGO,SAAS,CAACC,MAAM,CAAC,GAAGH,SAAS,CAACG,MAAM,CAAC;EACxE,CAAC;EAED,OAAO,CACL;IACEP,OAAO;IACPE,OAAO,EAAEL,UAAU;IACnBF,cAAc;IACdiB,UAAU,EAAEV,OAAO;IACnBC;EACF,CAAC,EACDO,cAAc,CACf;AACH;AAEA,eAAepB,gBAAgB","ignoreList":[]}
|
package/lib-es/constants.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
const SEARCH_ADMIN = 'SEARCH_ADMIN';
|
|
2
|
-
const SEARCH_PUBLISHED = 'SEARCH_PUBLISHED';
|
|
3
|
-
const SEARCH_RESULTS_OVER_SCAN_BUFFER = 0;
|
|
4
|
-
const SEARCH_RESULTS_ELEMETS_HEIGHT_ABOVE_LIST = 186;
|
|
5
|
-
const SEARCH_RESULTS_ITEM_SIZE = 105;
|
|
6
|
-
const DEFAULT_RESULTS_KEYS = 'name, url';
|
|
7
|
-
const SEARCH_BUTTON = 'search-button';
|
|
8
|
-
const FILE = 'file';
|
|
9
|
-
export { SEARCH_ADMIN, SEARCH_PUBLISHED, SEARCH_RESULTS_OVER_SCAN_BUFFER, SEARCH_RESULTS_ELEMETS_HEIGHT_ABOVE_LIST, SEARCH_RESULTS_ITEM_SIZE, DEFAULT_RESULTS_KEYS, SEARCH_BUTTON, FILE };
|
|
10
|
-
//# sourceMappingURL=constants.js.map
|
package/lib-es/constants.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":["SEARCH_ADMIN","SEARCH_PUBLISHED","SEARCH_RESULTS_OVER_SCAN_BUFFER","SEARCH_RESULTS_ELEMETS_HEIGHT_ABOVE_LIST","SEARCH_RESULTS_ITEM_SIZE","DEFAULT_RESULTS_KEYS","SEARCH_BUTTON","FILE"],"sources":["../src/constants.js"],"sourcesContent":["const SEARCH_ADMIN = 'SEARCH_ADMIN';\nconst SEARCH_PUBLISHED = 'SEARCH_PUBLISHED';\nconst SEARCH_RESULTS_OVER_SCAN_BUFFER = 0;\nconst SEARCH_RESULTS_ELEMETS_HEIGHT_ABOVE_LIST = 186;\nconst SEARCH_RESULTS_ITEM_SIZE = 105;\nconst DEFAULT_RESULTS_KEYS = 'name, url';\nconst SEARCH_BUTTON = 'search-button';\nconst FILE = 'file';\n\nexport {\n SEARCH_ADMIN,\n SEARCH_PUBLISHED,\n SEARCH_RESULTS_OVER_SCAN_BUFFER,\n SEARCH_RESULTS_ELEMETS_HEIGHT_ABOVE_LIST,\n SEARCH_RESULTS_ITEM_SIZE,\n DEFAULT_RESULTS_KEYS,\n SEARCH_BUTTON,\n FILE\n};\n"],"mappings":"AAAA,MAAMA,YAAY,GAAG,cAAc;AACnC,MAAMC,gBAAgB,GAAG,kBAAkB;AAC3C,MAAMC,+BAA+B,GAAG,CAAC;AACzC,MAAMC,wCAAwC,GAAG,GAAG;AACpD,MAAMC,wBAAwB,GAAG,GAAG;AACpC,MAAMC,oBAAoB,GAAG,WAAW;AACxC,MAAMC,aAAa,GAAG,eAAe;AACrC,MAAMC,IAAI,GAAG,MAAM;AAEnB,SACEP,YAAY,EACZC,gBAAgB,EAChBC,+BAA+B,EAC/BC,wCAAwC,EACxCC,wBAAwB,EACxBC,oBAAoB,EACpBC,aAAa,EACbC,IAAI","ignoreList":[]}
|
package/lib-es/hooks/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["useDebounceSearch"],"sources":["../../src/hooks/index.js"],"sourcesContent":["import useDebounceSearch from './useDebounceSearch';\n\nexport default useDebounceSearch;\n"],"mappings":"AAAA,OAAOA,iBAAiB,MAAM,qBAAqB;AAEnD,eAAeA,iBAAiB","ignoreList":[]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { useEffect, useState } from 'react';
|
|
2
|
-
import { useDebounce } from '@blaze-react/utils/lib/customHooks';
|
|
3
|
-
import useSearchResults from '../components/useSearchResults';
|
|
4
|
-
import { SEARCH_PUBLISHED } from '../constants';
|
|
5
|
-
const useDebounceSearch = ({
|
|
6
|
-
entities,
|
|
7
|
-
resultKeys,
|
|
8
|
-
fields,
|
|
9
|
-
initialSearchTerm
|
|
10
|
-
}) => {
|
|
11
|
-
const [searchTerm, setSearchTerm] = useState(initialSearchTerm !== null && initialSearchTerm !== void 0 ? initialSearchTerm : '');
|
|
12
|
-
const [previousSearchTerm, setPreviousSearchTerm] = useState(null);
|
|
13
|
-
const debouncedSearchTerm = useDebounce(searchTerm, 500);
|
|
14
|
-
const [{
|
|
15
|
-
loading,
|
|
16
|
-
results
|
|
17
|
-
}, setQueryParams] = useSearchResults({
|
|
18
|
-
queryKey: SEARCH_PUBLISHED,
|
|
19
|
-
resultKeys,
|
|
20
|
-
entities,
|
|
21
|
-
fields
|
|
22
|
-
});
|
|
23
|
-
useEffect(() => {
|
|
24
|
-
if (debouncedSearchTerm && debouncedSearchTerm !== previousSearchTerm) {
|
|
25
|
-
setQueryParams({
|
|
26
|
-
value: debouncedSearchTerm
|
|
27
|
-
});
|
|
28
|
-
setPreviousSearchTerm(debouncedSearchTerm);
|
|
29
|
-
}
|
|
30
|
-
}, [debouncedSearchTerm, previousSearchTerm, setQueryParams]);
|
|
31
|
-
return {
|
|
32
|
-
loading,
|
|
33
|
-
results,
|
|
34
|
-
searchTerm,
|
|
35
|
-
setSearchTerm,
|
|
36
|
-
setPreviousSearchTerm,
|
|
37
|
-
debouncedSearchTerm,
|
|
38
|
-
previousSearchTerm
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default useDebounceSearch;
|
|
42
|
-
//# sourceMappingURL=useDebounceSearch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDebounceSearch.js","names":["useEffect","useState","useDebounce","useSearchResults","SEARCH_PUBLISHED","useDebounceSearch","entities","resultKeys","fields","initialSearchTerm","searchTerm","setSearchTerm","previousSearchTerm","setPreviousSearchTerm","debouncedSearchTerm","loading","results","setQueryParams","queryKey","value"],"sources":["../../src/hooks/useDebounceSearch.js"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { useDebounce } from '@blaze-react/utils/lib/customHooks';\nimport useSearchResults from '../components/useSearchResults';\nimport { SEARCH_PUBLISHED } from '../constants';\n\nconst useDebounceSearch = ({ entities, resultKeys, fields, initialSearchTerm }) => {\n const [searchTerm, setSearchTerm] = useState(initialSearchTerm ?? '');\n const [previousSearchTerm, setPreviousSearchTerm] = useState(null);\n const debouncedSearchTerm = useDebounce(searchTerm, 500);\n\n const [{ loading, results }, setQueryParams] = useSearchResults({\n queryKey: SEARCH_PUBLISHED,\n resultKeys,\n entities,\n fields\n });\n\n useEffect(() => {\n if (debouncedSearchTerm && debouncedSearchTerm !== previousSearchTerm) {\n setQueryParams({ value: debouncedSearchTerm });\n setPreviousSearchTerm(debouncedSearchTerm);\n }\n }, [debouncedSearchTerm, previousSearchTerm, setQueryParams]);\n\n return {\n loading,\n results,\n searchTerm,\n setSearchTerm,\n setPreviousSearchTerm,\n debouncedSearchTerm,\n previousSearchTerm\n };\n};\n\nexport default useDebounceSearch;\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,WAAW,QAAQ,oCAAoC;AAChE,OAAOC,gBAAgB,MAAM,gCAAgC;AAC7D,SAASC,gBAAgB,QAAQ,cAAc;AAE/C,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,UAAU;EAAEC,MAAM;EAAEC;AAAkB,CAAC,KAAK;EACjF,MAAM,CAACC,UAAU,EAAEC,aAAa,CAAC,GAAGV,QAAQ,CAACQ,iBAAiB,aAAjBA,iBAAiB,cAAjBA,iBAAiB,GAAI,EAAE,CAAC;EACrE,MAAM,CAACG,kBAAkB,EAAEC,qBAAqB,CAAC,GAAGZ,QAAQ,CAAC,IAAI,CAAC;EAClE,MAAMa,mBAAmB,GAAGZ,WAAW,CAACQ,UAAU,EAAE,GAAG,CAAC;EAExD,MAAM,CAAC;IAAEK,OAAO;IAAEC;EAAQ,CAAC,EAAEC,cAAc,CAAC,GAAGd,gBAAgB,CAAC;IAC9De,QAAQ,EAAEd,gBAAgB;IAC1BG,UAAU;IACVD,QAAQ;IACRE;EACF,CAAC,CAAC;EAEFR,SAAS,CAAC,MAAM;IACd,IAAIc,mBAAmB,IAAIA,mBAAmB,KAAKF,kBAAkB,EAAE;MACrEK,cAAc,CAAC;QAAEE,KAAK,EAAEL;MAAoB,CAAC,CAAC;MAC9CD,qBAAqB,CAACC,mBAAmB,CAAC;IAC5C;EACF,CAAC,EAAE,CAACA,mBAAmB,EAAEF,kBAAkB,EAAEK,cAAc,CAAC,CAAC;EAE7D,OAAO;IACLF,OAAO;IACPC,OAAO;IACPN,UAAU;IACVC,aAAa;IACbE,qBAAqB;IACrBC,mBAAmB;IACnBF;EACF,CAAC;AACH,CAAC;AAED,eAAeP,iBAAiB","ignoreList":[]}
|
package/lib-es/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import SearchAdmin from './components/SearchAdmin';
|
|
2
|
-
import SearchPublishedContent from './components/SearchPublishedContent';
|
|
3
|
-
import SearchBar from './components/SearchAdmin/SearchBar';
|
|
4
|
-
import useDebounceSearch from './hooks/useDebounceSearch';
|
|
5
|
-
export { SearchAdmin, SearchPublishedContent, SearchBar, useDebounceSearch };
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
package/lib-es/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SearchAdmin","SearchPublishedContent","SearchBar","useDebounceSearch"],"sources":["../src/index.js"],"sourcesContent":["import SearchAdmin from './components/SearchAdmin';\nimport SearchPublishedContent from './components/SearchPublishedContent';\nimport SearchBar from './components/SearchAdmin/SearchBar';\nimport useDebounceSearch from './hooks/useDebounceSearch';\n\nexport { SearchAdmin, SearchPublishedContent, SearchBar, useDebounceSearch };\n"],"mappings":"AAAA,OAAOA,WAAW,MAAM,0BAA0B;AAClD,OAAOC,sBAAsB,MAAM,qCAAqC;AACxE,OAAOC,SAAS,MAAM,oCAAoC;AAC1D,OAAOC,iBAAiB,MAAM,2BAA2B;AAEzD,SAASH,WAAW,EAAEC,sBAAsB,EAAEC,SAAS,EAAEC,iBAAiB","ignoreList":[]}
|