@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260824111228 → 0.8.1-dev.20260825113828

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.
@@ -87,7 +87,7 @@ var DataBindingControls = ({
87
87
  const currentFilter = query?.["$filter"] ?? query?.filter ?? "";
88
88
  const selectedFacetValues = parseFacetSelections(currentFilter);
89
89
  const currentSort = query?.["$orderby"] ?? query?.orderBy ?? "";
90
- const currentSearch = parseODataSearch(query?.["$Search"]);
90
+ const currentSearch = parseODataSearch(query?.["$search"]);
91
91
  const [searchText, setSearchText] = useState(currentSearch);
92
92
  const lastNavigationUrl = useRef(null);
93
93
  useEffect(() => {
@@ -147,7 +147,7 @@ var DataBindingControls = ({
147
147
  const timeout = window.setTimeout(() => {
148
148
  navigateWithoutReload(
149
149
  getQueryUrl({
150
- "$Search": trimmedSearchText || void 0
150
+ "$search": trimmedSearchText || void 0
151
151
  })
152
152
  );
153
153
  }, 500);
@@ -91,7 +91,7 @@ var DataBindingControls = ({
91
91
  const currentFilter = query?.["$filter"] ?? query?.filter ?? "";
92
92
  const selectedFacetValues = parseFacetSelections(currentFilter);
93
93
  const currentSort = query?.["$orderby"] ?? query?.orderBy ?? "";
94
- const currentSearch = parseODataSearch(query?.["$Search"]);
94
+ const currentSearch = parseODataSearch(query?.["$search"]);
95
95
  const [searchText, setSearchText] = useState(currentSearch);
96
96
  const lastNavigationUrl = useRef(null);
97
97
  useEffect(() => {
@@ -151,7 +151,7 @@ var DataBindingControls = ({
151
151
  const timeout = window.setTimeout(() => {
152
152
  navigateWithoutReload(
153
153
  getQueryUrl({
154
- "$Search": trimmedSearchText || void 0
154
+ "$search": trimmedSearchText || void 0
155
155
  })
156
156
  );
157
157
  }, 500);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6PW2RLUJ.mjs";
5
5
  import {
6
6
  OdataBuilder
7
- } from "./chunk-HKIDEYYN.mjs";
7
+ } from "./chunk-5TQWVOWH.mjs";
8
8
  import {
9
9
  Hyperlink
10
10
  } from "./chunk-2R26M6CK.mjs";
@@ -3,7 +3,7 @@
3
3
  "use client";
4
4
  import {
5
5
  OdataBuilder
6
- } from "./chunk-URWEMJUF.mjs";
6
+ } from "./chunk-X5ERUUQV.mjs";
7
7
  import {
8
8
  Hyperlink,
9
9
  Icon_default
@@ -38,7 +38,7 @@ var OdataBuilder = class {
38
38
  if (key == "searchCols") {
39
39
  this.searchCols = odata[key];
40
40
  }
41
- if (key == "$Search") {
41
+ if (key == "$search") {
42
42
  this.search = odata[key];
43
43
  }
44
44
  if (key == "filter") {
@@ -73,8 +73,8 @@ var OdataBuilder = class {
73
73
  if (obj?.["searchCols"] && obj["searchCols"].trim() !== "") {
74
74
  queryString += `&searchCols=${encodeURIComponent(obj["searchCols"])}`;
75
75
  }
76
- if (obj?.["$Search"] && obj["$Search"].trim() !== "") {
77
- queryString += `&$Search=${obj["$Search"]}`;
76
+ if (obj?.["$search"] && obj["$search"].trim() !== "") {
77
+ queryString += `&$search=${obj["$search"]}`;
78
78
  }
79
79
  if (obj?.["filter"] && obj["filter"].trim() !== "") {
80
80
  queryString += `&filter=${encodeURIComponent(obj["filter"])}`;
@@ -131,7 +131,7 @@ var OdataBuilder = class {
131
131
  }
132
132
  appendApiQueryParameters(url) {
133
133
  if (this.search) {
134
- url += `&$Search=${this.search}`;
134
+ url += `&$search=${this.search}`;
135
135
  }
136
136
  if (this.apiFilter) {
137
137
  url += `&filter=${encodeURIComponent(this.apiFilter)}`;
@@ -40,7 +40,7 @@ var OdataBuilder = class {
40
40
  if (key == "searchCols") {
41
41
  this.searchCols = odata[key];
42
42
  }
43
- if (key == "$Search") {
43
+ if (key == "$search") {
44
44
  this.search = odata[key];
45
45
  }
46
46
  if (key == "filter") {
@@ -75,8 +75,8 @@ var OdataBuilder = class {
75
75
  if (obj?.["searchCols"] && obj["searchCols"].trim() !== "") {
76
76
  queryString += `&searchCols=${encodeURIComponent(obj["searchCols"])}`;
77
77
  }
78
- if (obj?.["$Search"] && obj["$Search"].trim() !== "") {
79
- queryString += `&$Search=${obj["$Search"]}`;
78
+ if (obj?.["$search"] && obj["$search"].trim() !== "") {
79
+ queryString += `&$search=${obj["$search"]}`;
80
80
  }
81
81
  if (obj?.["filter"] && obj["filter"].trim() !== "") {
82
82
  queryString += `&filter=${encodeURIComponent(obj["filter"])}`;
@@ -133,7 +133,7 @@ var OdataBuilder = class {
133
133
  }
134
134
  appendApiQueryParameters(url) {
135
135
  if (this.search) {
136
- url += `&$Search=${this.search}`;
136
+ url += `&$search=${this.search}`;
137
137
  }
138
138
  if (this.apiFilter) {
139
139
  url += `&filter=${encodeURIComponent(this.apiFilter)}`;
package/dist/index.d.mts CHANGED
@@ -21,6 +21,7 @@ declare const ViewControlTypes: {
21
21
  asset: string;
22
22
  video: string;
23
23
  multilineTextBullets: string;
24
+ tagsBullets: string;
24
25
  boolean: string;
25
26
  checkboxInput: string;
26
27
  money: string;
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ declare const ViewControlTypes: {
21
21
  asset: string;
22
22
  video: string;
23
23
  multilineTextBullets: string;
24
+ tagsBullets: string;
24
25
  boolean: string;
25
26
  checkboxInput: string;
26
27
  money: string;