@blaze-cms/plugin-search-ui 0.124.0-alpha.19 → 0.124.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 CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.124.0](https://github.com/thebyte9/blaze/compare/v0.124.0-alpha.43...v0.124.0) (2022-08-08)
7
+
8
+ **Note:** Version bump only for package @blaze-cms/plugin-search-ui
9
+
10
+
11
+
12
+
13
+
14
+ # [0.124.0-alpha.21](https://byte9/thebyte9/blaze/compare/v0.124.0-alpha.20...v0.124.0-alpha.21) (2022-05-24)
15
+
16
+ **Note:** Version bump only for package @blaze-cms/plugin-search-ui
17
+
18
+
19
+
20
+
21
+
6
22
  # [0.124.0-alpha.19](https://byte9/thebyte9/blaze/compare/v0.124.0-alpha.18...v0.124.0-alpha.19) (2022-05-18)
7
23
 
8
24
 
@@ -21,7 +21,7 @@ var SEARCH_ADMIN = function SEARCH_ADMIN() {
21
21
 
22
22
  var SEARCH_PUBLISHED = function SEARCH_PUBLISHED(_ref) {
23
23
  var resultKeys = _ref.resultKeys;
24
- return (0, _client.gql)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n query searchPublishedContent($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchPublishedContent(\n limit: $limit\n offset: $offset\n sort: $sort\n rawQuery: $rawQuery\n ) {\n results {\n ...on ContentContentInterface {\n ", "\n }\n }\n total\n }\n }\n"])), resultKeys);
24
+ return (0, _client.gql)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n query searchPublishedContent($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchPublishedContent(\n limit: $limit\n offset: $offset\n sort: $sort\n rawQuery: $rawQuery\n ) {\n results {\n ...on ContentContentInterface {\n ", "\n } \n }\n total\n }\n }\n"])), resultKeys);
25
25
  };
26
26
 
27
27
  var _default = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["SEARCH_ADMIN","gql","SEARCH_PUBLISHED","resultKeys"],"sources":["../../../src/application/query/index.js"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst SEARCH_ADMIN = () => gql`\n query searchAdmin($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchAdmin(limit: $limit, offset: $offset, sort: $sort, rawQuery: $rawQuery) {\n jsonResults\n total\n }\n }\n`;\n\nconst SEARCH_PUBLISHED = ({ resultKeys }) => gql`\n query searchPublishedContent($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchPublishedContent(\n limit: $limit\n offset: $offset\n sort: $sort\n rawQuery: $rawQuery\n ) {\n results {\n ...on ContentContentInterface {\n ${resultKeys}\n }\n }\n total\n }\n }\n`;\n\nexport default { SEARCH_ADMIN, SEARCH_PUBLISHED };\n"],"mappings":";;;;;;;;;;;;;AAAA;;;;AAEA,IAAMA,YAAY,GAAG,SAAfA,YAAe;EAAA,WAAMC,WAAN;AAAA,CAArB;;AASA,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB;EAAA,IAAGC,UAAH,QAAGA,UAAH;EAAA,WAAoBF,WAApB,ybAUbE,UAVa;AAAA,CAAzB;;eAkBe;EAAEH,YAAY,EAAZA,YAAF;EAAgBE,gBAAgB,EAAhBA;AAAhB,C"}
1
+ {"version":3,"file":"index.js","names":["SEARCH_ADMIN","gql","SEARCH_PUBLISHED","resultKeys"],"sources":["../../../src/application/query/index.js"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst SEARCH_ADMIN = () => gql`\n query searchAdmin($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchAdmin(limit: $limit, offset: $offset, sort: $sort, rawQuery: $rawQuery) {\n jsonResults\n total\n }\n }\n`;\n\nconst SEARCH_PUBLISHED = ({ resultKeys }) => gql`\n query searchPublishedContent($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchPublishedContent(\n limit: $limit\n offset: $offset\n sort: $sort\n rawQuery: $rawQuery\n ) {\n results {\n ...on ContentContentInterface {\n ${resultKeys}\n } \n }\n total\n }\n }\n`;\n\nexport default { SEARCH_ADMIN, SEARCH_PUBLISHED };\n"],"mappings":";;;;;;;;;;;;;AAAA;;;;AAEA,IAAMA,YAAY,GAAG,SAAfA,YAAe;EAAA,WAAMC,WAAN;AAAA,CAArB;;AASA,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB;EAAA,IAAGC,UAAH,QAAGA,UAAH;EAAA,WAAoBF,WAApB,2bAUbE,UAVa;AAAA,CAAzB;;eAkBe;EAAEH,YAAY,EAAZA,YAAF;EAAgBE,gBAAgB,EAAhBA;AAAhB,C"}
package/lib/index.js CHANGED
@@ -28,7 +28,7 @@ Object.defineProperty(exports, "SearchPublishedContent", {
28
28
  Object.defineProperty(exports, "useDebounceSearch", {
29
29
  enumerable: true,
30
30
  get: function get() {
31
- return _hooks["default"];
31
+ return _useDebounceSearch["default"];
32
32
  }
33
33
  });
34
34
 
@@ -38,5 +38,5 @@ var _SearchPublishedContent = _interopRequireDefault(require("./components/Searc
38
38
 
39
39
  var _SearchBar = _interopRequireDefault(require("./components/SearchAdmin/SearchBar"));
40
40
 
41
- var _hooks = _interopRequireDefault(require("./hooks"));
41
+ var _useDebounceSearch = _interopRequireDefault(require("./hooks/useDebounceSearch"));
42
42
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"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';\n\nexport { SearchAdmin, SearchPublishedContent, SearchBar, useDebounceSearch };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA"}
1
+ {"version":3,"file":"index.js","names":[],"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;;AACA;;AACA;;AACA"}
@@ -22,7 +22,7 @@ const SEARCH_PUBLISHED = ({
22
22
  results {
23
23
  ...on ContentContentInterface {
24
24
  ${resultKeys}
25
- }
25
+ }
26
26
  }
27
27
  total
28
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["gql","SEARCH_ADMIN","SEARCH_PUBLISHED","resultKeys"],"sources":["../../../src/application/query/index.js"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst SEARCH_ADMIN = () => gql`\n query searchAdmin($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchAdmin(limit: $limit, offset: $offset, sort: $sort, rawQuery: $rawQuery) {\n jsonResults\n total\n }\n }\n`;\n\nconst SEARCH_PUBLISHED = ({ resultKeys }) => gql`\n query searchPublishedContent($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchPublishedContent(\n limit: $limit\n offset: $offset\n sort: $sort\n rawQuery: $rawQuery\n ) {\n results {\n ...on ContentContentInterface {\n ${resultKeys}\n }\n }\n total\n }\n }\n`;\n\nexport default { SEARCH_ADMIN, SEARCH_PUBLISHED };\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAEA,MAAMC,YAAY,GAAG,MAAMD,GAAI;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,CAPA;;AASA,MAAME,gBAAgB,GAAG,CAAC;EAAEC;AAAF,CAAD,KAAoBH,GAAI;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAYG,UAAW;AACvB;AACA;AACA;AACA;AACA;AACA,CAhBA;;AAkBA,eAAe;EAAEF,YAAF;EAAgBC;AAAhB,CAAf"}
1
+ {"version":3,"file":"index.js","names":["gql","SEARCH_ADMIN","SEARCH_PUBLISHED","resultKeys"],"sources":["../../../src/application/query/index.js"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst SEARCH_ADMIN = () => gql`\n query searchAdmin($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchAdmin(limit: $limit, offset: $offset, sort: $sort, rawQuery: $rawQuery) {\n jsonResults\n total\n }\n }\n`;\n\nconst SEARCH_PUBLISHED = ({ resultKeys }) => gql`\n query searchPublishedContent($limit: Int, $offset: Int, $sort: String, $rawQuery: JSON!) {\n search: searchPublishedContent(\n limit: $limit\n offset: $offset\n sort: $sort\n rawQuery: $rawQuery\n ) {\n results {\n ...on ContentContentInterface {\n ${resultKeys}\n } \n }\n total\n }\n }\n`;\n\nexport default { SEARCH_ADMIN, SEARCH_PUBLISHED };\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAEA,MAAMC,YAAY,GAAG,MAAMD,GAAI;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,CAPA;;AASA,MAAME,gBAAgB,GAAG,CAAC;EAAEC;AAAF,CAAD,KAAoBH,GAAI;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAYG,UAAW;AACvB;AACA;AACA;AACA;AACA;AACA,CAhBA;;AAkBA,eAAe;EAAEF,YAAF;EAAgBC;AAAhB,CAAf"}
package/lib-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import SearchAdmin from './components/SearchAdmin';
2
2
  import SearchPublishedContent from './components/SearchPublishedContent';
3
3
  import SearchBar from './components/SearchAdmin/SearchBar';
4
- import useDebounceSearch from './hooks';
4
+ import useDebounceSearch from './hooks/useDebounceSearch';
5
5
  export { SearchAdmin, SearchPublishedContent, SearchBar, useDebounceSearch };
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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';\n\nexport { SearchAdmin, SearchPublishedContent, SearchBar, useDebounceSearch };\n"],"mappings":"AAAA,OAAOA,WAAP,MAAwB,0BAAxB;AACA,OAAOC,sBAAP,MAAmC,qCAAnC;AACA,OAAOC,SAAP,MAAsB,oCAAtB;AACA,OAAOC,iBAAP,MAA8B,SAA9B;AAEA,SAASH,WAAT,EAAsBC,sBAAtB,EAA8CC,SAA9C,EAAyDC,iBAAzD"}
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,WAAP,MAAwB,0BAAxB;AACA,OAAOC,sBAAP,MAAmC,qCAAnC;AACA,OAAOC,SAAP,MAAsB,oCAAtB;AACA,OAAOC,iBAAP,MAA8B,2BAA9B;AAEA,SAASH,WAAT,EAAsBC,sBAAtB,EAA8CC,SAA9C,EAAyDC,iBAAzD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaze-cms/plugin-search-ui",
3
- "version": "0.124.0-alpha.19",
3
+ "version": "0.124.0",
4
4
  "description": "Blaze plugin search ui",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-es/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "license": "GPL-3.0",
29
29
  "dependencies": {
30
- "@blaze-cms/admin-ui-utils": "^0.124.0-alpha.2",
30
+ "@blaze-cms/admin-ui-utils": "^0.124.0",
31
31
  "@blaze-cms/core-errors": "^0.118.0",
32
32
  "@blaze-cms/setup-ui": "^0.92.0",
33
33
  "@blaze-react/button": "0.5.19",
@@ -52,5 +52,5 @@
52
52
  "lib/*",
53
53
  "lib-es/*"
54
54
  ],
55
- "gitHead": "251b709daea87edb3b0c05a861808342ef9dc13f"
55
+ "gitHead": "db99e69def55f8ea7fa5e670bee910103b291ca9"
56
56
  }
@@ -20,7 +20,7 @@ const SEARCH_PUBLISHED = ({ resultKeys }) => gql`
20
20
  results {
21
21
  ...on ContentContentInterface {
22
22
  ${resultKeys}
23
- }
23
+ }
24
24
  }
25
25
  total
26
26
  }
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import SearchAdmin from './components/SearchAdmin';
2
2
  import SearchPublishedContent from './components/SearchPublishedContent';
3
3
  import SearchBar from './components/SearchAdmin/SearchBar';
4
- import useDebounceSearch from './hooks';
4
+ import useDebounceSearch from './hooks/useDebounceSearch';
5
5
 
6
6
  export { SearchAdmin, SearchPublishedContent, SearchBar, useDebounceSearch };