@progress/kendo-react-dropdowns 9.4.0-develop.6 → 9.4.0-develop.8

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.
Files changed (63) hide show
  1. package/AutoComplete/AutoComplete.js +1 -1
  2. package/AutoComplete/AutoComplete.mjs +0 -1
  3. package/ComboBox/ComboBox.js +1 -1
  4. package/ComboBox/ComboBox.mjs +0 -1
  5. package/DropDownList/DropDownList.js +1 -1
  6. package/DropDownList/DropDownList.mjs +0 -1
  7. package/DropDownTree/DropDownTree.js +1 -1
  8. package/DropDownTree/DropDownTree.mjs +0 -1
  9. package/DropDownTree/ListNoData.js +1 -1
  10. package/DropDownTree/ListNoData.mjs +0 -1
  11. package/DropDownTree/useDropdownWidth.js +1 -1
  12. package/DropDownTree/useDropdownWidth.mjs +7 -8
  13. package/MultiColumnComboBox/MultiColumnComboBox.js +1 -1
  14. package/MultiColumnComboBox/MultiColumnComboBox.mjs +0 -1
  15. package/MultiSelect/MultiSelect.js +1 -1
  16. package/MultiSelect/MultiSelect.mjs +0 -1
  17. package/MultiSelect/TagList.js +1 -1
  18. package/MultiSelect/TagList.mjs +8 -9
  19. package/MultiSelectTree/MultiSelectTree.js +1 -1
  20. package/MultiSelectTree/MultiSelectTree.mjs +0 -1
  21. package/MultiSelectTree/utils.js +1 -1
  22. package/MultiSelectTree/utils.mjs +16 -17
  23. package/common/AdaptiveMode.js +1 -1
  24. package/common/AdaptiveMode.mjs +7 -8
  25. package/common/ClearButton.js +1 -1
  26. package/common/ClearButton.mjs +5 -6
  27. package/common/DropDownBase.js +1 -1
  28. package/common/DropDownBase.mjs +0 -1
  29. package/common/GroupStickyHeader.js +1 -1
  30. package/common/GroupStickyHeader.mjs +4 -5
  31. package/common/List.js +1 -1
  32. package/common/List.mjs +0 -1
  33. package/common/ListContainer.js +1 -1
  34. package/common/ListContainer.mjs +7 -8
  35. package/common/ListDefaultItem.js +1 -1
  36. package/common/ListDefaultItem.mjs +9 -10
  37. package/common/ListFilter.js +1 -1
  38. package/common/ListFilter.mjs +4 -5
  39. package/common/ListGroupItem.js +1 -1
  40. package/common/ListGroupItem.mjs +5 -6
  41. package/common/ListItem.js +1 -1
  42. package/common/ListItem.mjs +0 -1
  43. package/common/MultiColumnList.js +1 -1
  44. package/common/MultiColumnList.mjs +4 -5
  45. package/common/Navigation.js +1 -1
  46. package/common/Navigation.mjs +0 -1
  47. package/common/SearchBar.js +1 -1
  48. package/common/SearchBar.mjs +3 -4
  49. package/common/VirtualScrollStatic.js +1 -1
  50. package/common/VirtualScrollStatic.mjs +0 -1
  51. package/common/settings.js +1 -1
  52. package/common/settings.mjs +0 -1
  53. package/common/utils.js +1 -1
  54. package/common/utils.mjs +24 -25
  55. package/common/withCustomComponent.js +1 -1
  56. package/common/withCustomComponent.mjs +2 -3
  57. package/index.js +2 -1
  58. package/index.mjs +2 -2
  59. package/messages/index.js +1 -1
  60. package/messages/index.mjs +4 -5
  61. package/package-metadata.js +1 -1
  62. package/package-metadata.mjs +2 -3
  63. package/package.json +10 -10
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";const l=require("react"),o=require("@progress/kendo-react-common"),r=require("./utils.js");function u(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const i=u(l),d=e=>e.preventDefault(),f=e=>{const{selected:n,defaultItem:t,textField:s}=e,c=o.useUnstyled(),a=c&&c.uDropDownsBase;return i.createElement("div",{onClick:e.onClick,onMouseDown:d,style:{position:"unset"},className:o.classNames(o.uDropDownsBase.optionLabel({c:a,selected:n}))},r.getItemValue(t,s)||"")};module.exports=f;
8
+ "use strict";const r=require("react"),o=require("@progress/kendo-react-common"),l=require("./utils.js");function u(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const i=u(r),d=e=>e.preventDefault(),f=e=>{const{selected:n,defaultItem:t,textField:s}=e,c=o.useUnstyled(),a=c&&c.uDropDownsBase;return i.createElement("div",{onClick:e.onClick,onMouseDown:d,style:{position:"unset"},className:o.classNames(o.uDropDownsBase.optionLabel({c:a,selected:n}))},l.getItemValue(t,s)||"")};module.exports=f;
@@ -5,21 +5,20 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
- import * as a from "react";
10
- import { useUnstyled as c, classNames as u, uDropDownsBase as r } from "@progress/kendo-react-common";
11
- import { getItemValue as i } from "./utils.mjs";
12
- const m = (e) => e.preventDefault(), p = (e) => {
13
- const { selected: s, defaultItem: o, textField: n } = e, t = c(), l = t && t.uDropDownsBase;
14
- return /* @__PURE__ */ a.createElement(
8
+ import * as l from "react";
9
+ import { useUnstyled as c, classNames as r, uDropDownsBase as u } from "@progress/kendo-react-common";
10
+ import { getItemValue as m } from "./utils.mjs";
11
+ const i = (e) => e.preventDefault(), p = (e) => {
12
+ const { selected: s, defaultItem: o, textField: n } = e, t = c(), a = t && t.uDropDownsBase;
13
+ return /* @__PURE__ */ l.createElement(
15
14
  "div",
16
15
  {
17
16
  onClick: e.onClick,
18
- onMouseDown: m,
17
+ onMouseDown: i,
19
18
  style: { position: "unset" },
20
- className: u(r.optionLabel({ c: l, selected: s }))
19
+ className: r(u.optionLabel({ c: a, selected: s }))
21
20
  },
22
- i(o, n) || ""
21
+ m(o, n) || ""
23
22
  );
24
23
  };
25
24
  export {
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";const g=require("react"),n=require("prop-types"),c=require("@progress/kendo-react-inputs"),x=require("@progress/kendo-svg-icons"),r=require("@progress/kendo-react-common");function y(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return o.default=e,Object.freeze(o)}const t=y(g),u=t.forwardRef((e,o)=>{const a=t.useRef(null),{renderListFilterWrapper:l=!1,renderPrefixSeparator:f=!1,...m}=e,i=r.useUnstyled(),s=i&&i.uDropDownsBase;t.useImperativeHandle(o,()=>a.current);const p=()=>t.createElement(t.Fragment,null,t.createElement(c.InputPrefix,null,t.createElement(r.IconWrap,{name:"search",icon:x.searchIcon,className:r.classNames(r.uDropDownsBase.inputIcon({c:s}))})),f&&t.createElement(c.InputSeparator,null)),d=t.createElement(c.TextBox,{...m,ref:a,className:r.classNames(r.uDropDownsBase.searchbox({c:s})),value:e.value||"",onChange:e.onChange,onKeyDown:e.onKeyDown,tabIndex:e.tabIndex,onClick:b=>b.stopPropagation(),size:e.size,fillMode:e.fillMode,rounded:e.rounded,prefix:p});return l?t.createElement("div",{className:r.classNames(r.uDropDownsBase.listFilter({c:s}))}," ",d," "):d});u.propTypes={value:n.oneOfType([n.string,n.number,n.array]),tabIndex:n.number,onChange:n.func,onKeyDown:n.func,size:n.oneOf([null,"small","medium","large"]),rounded:n.oneOf([null,"small","medium","large","full"]),fillMode:n.oneOf([null,"solid","flat","outline"]),renderListFilterWrapper:n.bool,renderPrefixSeparator:n.bool};u.displayName="KendoReactListFilter";module.exports=u;
8
+ "use strict";const g=require("react"),n=require("prop-types"),c=require("@progress/kendo-react-inputs"),x=require("@progress/kendo-svg-icons"),r=require("@progress/kendo-react-common");function y(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return o.default=e,Object.freeze(o)}const t=y(g),u=t.forwardRef((e,o)=>{const a=t.useRef(null),{renderListFilterWrapper:l=!1,renderPrefixSeparator:f=!1,...m}=e,i=r.useUnstyled(),s=i&&i.uDropDownsBase;t.useImperativeHandle(o,()=>a.current);const p=()=>t.createElement(t.Fragment,null,t.createElement(c.InputPrefix,null,t.createElement(r.IconWrap,{name:"search",icon:x.searchIcon,className:r.classNames(r.uDropDownsBase.inputIcon({c:s}))})),f&&t.createElement(c.InputSeparator,null)),d=t.createElement(c.TextBox,{...m,ref:a,className:r.classNames(r.uDropDownsBase.searchbox({c:s})),value:e.value||"",onChange:e.onChange,onKeyDown:e.onKeyDown,tabIndex:e.tabIndex,onClick:b=>b.stopPropagation(),size:e.size,fillMode:e.fillMode,rounded:e.rounded,prefix:p});return l?t.createElement("div",{className:r.classNames(r.uDropDownsBase.listFilter({c:s}))}," ",d," "):d});u.propTypes={value:n.oneOfType([n.string,n.number,n.array]),tabIndex:n.number,onChange:n.func,onKeyDown:n.func,size:n.oneOf([null,"small","medium","large"]),rounded:n.oneOf([null,"small","medium","large","full"]),fillMode:n.oneOf([null,"solid","flat","outline"]),renderListFilterWrapper:n.bool,renderPrefixSeparator:n.bool};u.displayName="KendoReactListFilter";module.exports=u;
@@ -5,12 +5,11 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import * as n from "react";
10
9
  import e from "prop-types";
11
10
  import { TextBox as y, InputPrefix as b, InputSeparator as I } from "@progress/kendo-react-inputs";
12
11
  import { searchIcon as g } from "@progress/kendo-svg-icons";
13
- import { useUnstyled as h, classNames as l, uDropDownsBase as a, IconWrap as D } from "@progress/kendo-react-common";
12
+ import { useUnstyled as h, classNames as a, uDropDownsBase as l, IconWrap as D } from "@progress/kendo-react-common";
14
13
  const u = n.forwardRef((r, c) => {
15
14
  const o = n.useRef(null), { renderListFilterWrapper: m = !1, renderPrefixSeparator: d = !1, ...f } = r, s = h(), t = s && s.uDropDownsBase;
16
15
  n.useImperativeHandle(c, () => o.current);
@@ -19,14 +18,14 @@ const u = n.forwardRef((r, c) => {
19
18
  {
20
19
  name: "search",
21
20
  icon: g,
22
- className: l(a.inputIcon({ c: t }))
21
+ className: a(l.inputIcon({ c: t }))
23
22
  }
24
23
  )), d && /* @__PURE__ */ n.createElement(I, null)), i = /* @__PURE__ */ n.createElement(
25
24
  y,
26
25
  {
27
26
  ...f,
28
27
  ref: o,
29
- className: l(a.searchbox({ c: t })),
28
+ className: a(l.searchbox({ c: t })),
30
29
  value: r.value || "",
31
30
  onChange: r.onChange,
32
31
  onKeyDown: r.onKeyDown,
@@ -38,7 +37,7 @@ const u = n.forwardRef((r, c) => {
38
37
  prefix: p
39
38
  }
40
39
  );
41
- return m ? /* @__PURE__ */ n.createElement("div", { className: l(a.listFilter({ c: t })) }, " ", i, " ") : i;
40
+ return m ? /* @__PURE__ */ n.createElement("div", { className: a(l.listFilter({ c: t })) }, " ", i, " ") : i;
42
41
  });
43
42
  u.propTypes = {
44
43
  value: e.oneOfType([e.string, e.number, e.array]),
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";const o=require("@progress/kendo-react-common"),d=require("react");function m(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const l=m(d),p=e=>{const{group:n,virtual:t,render:s,isMultiColumn:r=!1,id:u}=e,a=o.useUnstyled(),c=a&&a.uDropDownsBase,i=l.createElement("li",{id:u,role:"group",className:o.classNames(o.uDropDownsBase.groupLi({c,isMultiColumn:r})),style:r?{boxSizing:"inherit",position:t?"relative":"unset"}:{position:t?"relative":"unset"}},l.createElement("span",{className:s?void 0:o.classNames(o.uDropDownsBase.groupItemText({c,isMultiColumn:r}))},n));return s!==void 0?s.call(void 0,i,e):i};module.exports=p;
8
+ "use strict";const n=require("@progress/kendo-react-common"),d=require("react");function m(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const l=m(d),p=e=>{const{group:o,virtual:t,render:s,isMultiColumn:r=!1,id:u}=e,a=n.useUnstyled(),c=a&&a.uDropDownsBase,i=l.createElement("li",{id:u,role:"group",className:n.classNames(n.uDropDownsBase.groupLi({c,isMultiColumn:r})),style:r?{boxSizing:"inherit",position:t?"relative":"unset"}:{position:t?"relative":"unset"}},l.createElement("span",{className:s?void 0:n.classNames(n.uDropDownsBase.groupItemText({c,isMultiColumn:r}))},o));return s!==void 0?s.call(void 0,i,e):i};module.exports=p;
@@ -5,27 +5,26 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
- import { useUnstyled as d, classNames as a, uDropDownsBase as l } from "@progress/kendo-react-common";
8
+ import { useUnstyled as d, classNames as n, uDropDownsBase as l } from "@progress/kendo-react-common";
10
9
  import * as u from "react";
11
10
  const v = (t) => {
12
- const { group: c, virtual: o, render: e, isMultiColumn: s = !1, id: m } = t, r = d(), i = r && r.uDropDownsBase, n = /* @__PURE__ */ u.createElement(
11
+ const { group: c, virtual: o, render: e, isMultiColumn: s = !1, id: m } = t, r = d(), i = r && r.uDropDownsBase, a = /* @__PURE__ */ u.createElement(
13
12
  "li",
14
13
  {
15
14
  id: m,
16
15
  role: "group",
17
- className: a(l.groupLi({ c: i, isMultiColumn: s })),
16
+ className: n(l.groupLi({ c: i, isMultiColumn: s })),
18
17
  style: s ? { boxSizing: "inherit", position: o ? "relative" : "unset" } : { position: o ? "relative" : "unset" }
19
18
  },
20
19
  /* @__PURE__ */ u.createElement(
21
20
  "span",
22
21
  {
23
- className: e ? void 0 : a(l.groupItemText({ c: i, isMultiColumn: s }))
22
+ className: e ? void 0 : n(l.groupItemText({ c: i, isMultiColumn: s }))
24
23
  },
25
24
  c
26
25
  )
27
26
  );
28
- return e !== void 0 ? e.call(void 0, n, t) : n;
27
+ return e !== void 0 ? e.call(void 0, a, t) : a;
29
28
  };
30
29
  export {
31
30
  v as default
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";const p=require("react"),s=require("@progress/kendo-react-common"),v=require("./utils.js");function N(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const o=N(p),y=e=>{const{selected:a,group:t,dataItem:n,virtual:m,groupMode:l,disabled:i,id:f,focused:D,render:r}=e,u=s.useUnstyled(),c=u&&u.uDropDownsBase,b=g=>e.onClick(e.index,g),d=o.createElement("li",{id:f,role:"option","aria-selected":a,"aria-disabled":i?!0:void 0,className:s.classNames(s.uDropDownsBase.li({c,selected:a,focused:D,first:!!t&&l==="classic",disabled:i})),onClick:b,style:{position:m?"relative":"unset"}},o.createElement("span",{className:s.classNames(s.uDropDownsBase.itemText({c}))},v.getItemValue(n,e.textField).toString()),t!==void 0&&l==="classic"?o.createElement("div",{className:s.classNames(s.uDropDownsBase.itemGroupLabel({c}))},t):null);return r!==void 0?r.call(void 0,d,e):d};module.exports=y;
8
+ "use strict";const p=require("react"),s=require("@progress/kendo-react-common"),v=require("./utils.js");function N(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const o=N(p),y=e=>{const{selected:a,group:t,dataItem:n,virtual:m,groupMode:l,disabled:r,id:f,focused:D,render:i}=e,u=s.useUnstyled(),c=u&&u.uDropDownsBase,b=g=>e.onClick(e.index,g),d=o.createElement("li",{id:f,role:"option","aria-selected":a,"aria-disabled":r?!0:void 0,className:s.classNames(s.uDropDownsBase.li({c,selected:a,focused:D,first:!!t&&l==="classic",disabled:r})),onClick:b,style:{position:m?"relative":"unset"}},o.createElement("span",{className:s.classNames(s.uDropDownsBase.itemText({c}))},v.getItemValue(n,e.textField).toString()),t!==void 0&&l==="classic"?o.createElement("div",{className:s.classNames(s.uDropDownsBase.itemGroupLabel({c}))},t):null);return i!==void 0?i.call(void 0,d,e):d};module.exports=y;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import * as a from "react";
10
9
  import { useUnstyled as B, classNames as l, uDropDownsBase as i } from "@progress/kendo-react-common";
11
10
  import { getItemValue as C } from "./utils.mjs";
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=require("./List.js"),s=require("@progress/kendo-react-common");function i(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(l,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return l.default=e,Object.freeze(l)}const o=i(a),c=e=>o.createElement(n,{...e,wrapperCssClass:"k-table-body k-table-scroller",listClassName:s.classNames("k-table k-table-list",{"k-virtual-table":e.virtual!==void 0}),listStyle:{...e.listStyle}});exports.MultiColumnList=c;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=require("./List.js"),s=require("@progress/kendo-react-common");function o(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(l,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return l.default=e,Object.freeze(l)}const i=o(a),c=e=>i.createElement(n,{...e,wrapperCssClass:"k-table-body k-table-scroller",listClassName:s.classNames("k-table k-table-list",{"k-virtual-table":e.virtual!==void 0}),listStyle:{...e.listStyle}});exports.MultiColumnList=c;
@@ -5,21 +5,20 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import * as l from "react";
10
9
  import e from "./List.mjs";
11
- import { classNames as s } from "@progress/kendo-react-common";
12
- const r = (t) => /* @__PURE__ */ l.createElement(
10
+ import { classNames as a } from "@progress/kendo-react-common";
11
+ const i = (t) => /* @__PURE__ */ l.createElement(
13
12
  e,
14
13
  {
15
14
  ...t,
16
15
  wrapperCssClass: "k-table-body k-table-scroller",
17
- listClassName: s("k-table k-table-list", {
16
+ listClassName: a("k-table k-table-list", {
18
17
  "k-virtual-table": t.virtual !== void 0
19
18
  }),
20
19
  listStyle: { ...t.listStyle }
21
20
  }
22
21
  );
23
22
  export {
24
- r as MultiColumnList
23
+ i as MultiColumnList
25
24
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./utils.js"),n=require("@progress/kendo-react-common");class m{navigate(e){const t=e.keyCode;if(t===n.Keys.up||t===n.Keys.left)return this.next({current:e.current,min:e.min,max:e.max,step:e.skipItems?e.skipItems:-1});if(t===n.Keys.down||t===n.Keys.right)return this.next({current:e.current,min:e.min,max:e.max,step:e.skipItems?e.skipItems:1});if(t===n.Keys.home)return 0;if(t===n.Keys.end)return e.max}next(e){return i.isPresent(e.current)?Math.min(e.max,Math.max(e.current+e.step,e.min)):e.min}}exports.Navigation=m;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./utils.js"),n=require("@progress/kendo-react-common");class m{navigate(e){const t=e.keyCode;if(t===n.Keys.up||t===n.Keys.left)return this.next({current:e.current,min:e.min,max:e.max,step:e.skipItems?e.skipItems:-1});if(t===n.Keys.down||t===n.Keys.right)return this.next({current:e.current,min:e.min,max:e.max,step:e.skipItems?e.skipItems:1});if(t===n.Keys.home)return 0;if(t===n.Keys.end)return e.max}next(e){return i.isPresent(e.current)?Math.min(e.max,Math.max(e.current+e.step,e.min)):e.min}}exports.Navigation=m;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import { isPresent as i } from "./utils.mjs";
10
9
  import { Keys as n } from "@progress/kendo-react-common";
11
10
  class o {
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";const d=require("@progress/kendo-react-common"),g=require("react");function m(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const s=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>o[e]})}}return t.default=o,Object.freeze(t)}const h=m(g);class f extends h.Component{constructor(){super(...arguments),this._input=null}get input(){return this._input}componentDidUpdate(t){const e=t.value,s=t.suggestedText,{value:n,suggestedText:r,focused:p}=this.props,a=this.input,i=e!==n||r!==s,c=i&&e.startsWith(n)&&!(s&&r&&s.endsWith(r)),l=d.getActiveElement(document);p&&a&&l!==a&&a.focus(),r&&i&&!c&&a&&a.setSelectionRange(n.length-r.length,n.length)}render(){const{expanded:t=!1,disabled:e,role:s="listbox",render:n,tabIndex:r,accessKey:p,unstyled:a,inputAttributes:i}=this.props,c=a&&a.uDropDownsBase,l={tabIndex:r,accessKey:p},u=h.createElement("input",{autoComplete:"off",id:this.props.id,type:"text",key:"searchbar",size:this.props.size,placeholder:this.props.placeholder,className:d.classNames(d.uDropDownsBase.inputInner({c})),role:s,name:this.props.name,value:this.props.value,onChange:this.props.onChange,ref:b=>this._input=b,onKeyDown:this.props.onKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur,onClick:this.props.onClick,"aria-disabled":e||void 0,disabled:e||void 0,readOnly:this.props.readOnly||void 0,title:this.props.title,"aria-haspopup":"listbox","aria-expanded":t,"aria-owns":this.props.owns,"aria-activedescendant":t?this.props.activedescendant:void 0,"aria-describedby":this.props.ariaDescribedBy,"aria-labelledby":this.props.ariaLabelledBy,"aria-label":this.props.ariaLabel,"aria-required":this.props.ariaRequired,"aria-controls":this.props.ariaControls,...Object.assign({},l,i)});return n?n.call(void 0,u):u}}module.exports=f;
8
+ "use strict";const d=require("@progress/kendo-react-common"),g=require("react");function m(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const s=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>o[e]})}}return t.default=o,Object.freeze(t)}const h=m(g);class f extends h.Component{constructor(){super(...arguments),this._input=null}get input(){return this._input}componentDidUpdate(t){const e=t.value,s=t.suggestedText,{value:n,suggestedText:r,focused:p}=this.props,a=this.input,i=e!==n||r!==s,c=i&&e.startsWith(n)&&!(s&&r&&s.endsWith(r)),l=d.getActiveElement(document);p&&a&&l!==a&&a.focus(),r&&i&&!c&&a&&a.setSelectionRange(n.length-r.length,n.length)}render(){const{expanded:t=!1,disabled:e,role:s="listbox",render:n,tabIndex:r,accessKey:p,unstyled:a,inputAttributes:i}=this.props,c=a&&a.uDropDownsBase,l={tabIndex:r,accessKey:p},u=h.createElement("input",{autoComplete:"off",id:this.props.id,type:"text",key:"searchbar",size:this.props.size,placeholder:this.props.placeholder,className:d.classNames(d.uDropDownsBase.inputInner({c})),role:s,name:this.props.name,value:this.props.value,onChange:this.props.onChange,ref:b=>this._input=b,onKeyDown:this.props.onKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur,onClick:this.props.onClick,"aria-disabled":e||void 0,disabled:e||void 0,readOnly:this.props.readOnly||void 0,title:this.props.title,"aria-haspopup":"listbox","aria-expanded":t,"aria-owns":this.props.owns,"aria-activedescendant":t?this.props.activedescendant:void 0,"aria-describedby":this.props.ariaDescribedBy,"aria-labelledby":this.props.ariaLabelledBy,"aria-label":this.props.ariaLabel,"aria-required":this.props.ariaRequired,"aria-controls":this.props.ariaControls,...Object.assign({},l,i)});return n?n.call(void 0,u):u}}module.exports=f;
@@ -5,8 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
- import { getActiveElement as h, classNames as b, uDropDownsBase as g } from "@progress/kendo-react-common";
8
+ import { getActiveElement as u, classNames as b, uDropDownsBase as g } from "@progress/kendo-react-common";
10
9
  import * as c from "react";
11
10
  class y extends c.Component {
12
11
  constructor() {
@@ -19,7 +18,7 @@ class y extends c.Component {
19
18
  return this._input;
20
19
  }
21
20
  componentDidUpdate(a) {
22
- const i = a.value, o = a.suggestedText, { value: s, suggestedText: t, focused: n } = this.props, e = this.input, r = i !== s || t !== o, p = r && i.startsWith(s) && !(o && t && o.endsWith(t)), l = h(document);
21
+ const i = a.value, o = a.suggestedText, { value: s, suggestedText: t, focused: n } = this.props, e = this.input, r = i !== s || t !== o, p = r && i.startsWith(s) && !(o && t && o.endsWith(t)), l = u(document);
23
22
  n && e && l !== e && e.focus(), t && r && !p && e && e.setSelectionRange(s.length - t.length, s.length);
24
23
  }
25
24
  render() {
@@ -49,7 +48,7 @@ class y extends c.Component {
49
48
  name: this.props.name,
50
49
  value: this.props.value,
51
50
  onChange: this.props.onChange,
52
- ref: (u) => this._input = u,
51
+ ref: (h) => this._input = h,
53
52
  onKeyDown: this.props.onKeyDown,
54
53
  onFocus: this.props.onFocus,
55
54
  onBlur: this.props.onBlur,
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@progress/kendo-react-common"),u=require("react");function p(l){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(l){for(const i in l)if(i!=="default"){const e=Object.getOwnPropertyDescriptor(l,i);Object.defineProperty(t,i,e.get?e:{enumerable:!0,get:()=>l[i]})}}return t.default=l,Object.freeze(t)}const S=p(u),m=17895697,c=typeof window!="undefined"&&/Firefox/.test(window.navigator.userAgent);class H{constructor(){this.table=null,this.total=0,this.enabled=!1,this.skip=0,this.pageSize=0,this.PageChange=null,this.scrollElement=null,this.listTransform="",this.itemHeight=0,this.containerHeight=0,this.reactVersion=Number.parseFloat(S.version),this.scrollSyncing=!1,this.lastLoaded=0,this.firstLoaded=0,this.lastScrollTop=0,this.listTranslate=0,this.list=null,this.container=null,this.calcScrollElementHeight=()=>{var h;this.scrollSyncing=!0;let t=!1;this.itemHeight=this.list?this.list.children[0].offsetHeight:this.itemHeight;const i=this.itemHeight*this.total-(((h=this.list)==null?void 0:h.offsetHeight)||0);this.containerHeight=c?Math.min(m,i):i;const e=this.containerHeight;return this.scrollElement&&(t=this.scrollElement.style.height!==e+"px",t&&(this.scrollElement.style.height=e+"px")),this.scrollSyncing=!1,t},this.scrollerRef=t=>{this.container=t,t&&(t.setAttribute("unselectable","on"),window.setTimeout(this.calcScrollElementHeight.bind(this),0))},this.getRowHeightService=n.memoizeOne((t,i)=>new n.RowHeightService(i,t,0)),this.firstLoaded=this.pageSize,this.lastLoaded=this.skip+this.pageSize,this.scrollHandler=this.scrollHandler.bind(this)}get translate(){return this.listTranslate}translateTo(t,i){this.listTranslate=t,this.enabled&&this.list&&(c||this.reactVersion<=17||i?this.list.style.transform="translateY("+t+"px)":this.listTransform="translateY("+t+"px)")}changePage(t,i){const e=Math.min(Math.max(0,t),this.total-this.pageSize);e!==this.skip&&this.PageChange&&this.PageChange({skip:e,take:this.pageSize},i)}reset(){this.container&&(this.calcScrollElementHeight(),this.container.scrollTop=0,this.translateTo(0,!0))}scrollToEnd(){if(this.container&&this.list){this.calcScrollElementHeight();const{scrollHeight:t,offsetHeight:i}=this.container;this.container.scrollTop=t,this.translateTo(t-i,!0)}}scrollHandler(t){if(!this.enabled||!this.container||!this.list)return;if(this.scrollSyncing){this.scrollSyncing=!1;return}this.rowHeightService=this.getRowHeightService(this.itemHeight,this.total);const i=this.container.scrollTop,e=this.lastScrollTop>=i,h=!e,f=Math.abs(i-this.lastScrollTop);this.lastScrollTop=i;let s=this.rowHeightService.index(i),r=this.rowHeightService.offset(s);const{offsetHeight:g}=this.container,d=this.rowHeightService.index(i+g);if(h&&d>=this.lastLoaded&&this.lastLoaded<this.total){const o=s+this.pageSize-this.total;o>0&&(s=s-o,r=this.rowHeightService.offset(s)),this.firstLoaded=s,this.translateTo(r);const a=this.firstLoaded+this.pageSize;this.lastLoaded=Math.min(a,this.total),this.changePage(this.firstLoaded,t)}else if(e&&s-1<=this.firstLoaded){const o=f===this.itemHeight;if(this.skip===0&&o)this.lastScrollTop=0,this.firstLoaded=0,this.lastLoaded=this.pageSize,this.container.scrollTop=0,this.translateTo(0,!0);else{const a=Math.floor(this.pageSize*.3);this.firstLoaded=Math.max(s-a,0),this.translateTo(this.rowHeightService.offset(this.firstLoaded)),this.lastLoaded=Math.min(this.firstLoaded+this.pageSize,this.total),this.changePage(this.firstLoaded,t)}}}}exports.VirtualScroll=H;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@progress/kendo-react-common"),p=require("react");function u(l){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(l){for(const i in l)if(i!=="default"){const e=Object.getOwnPropertyDescriptor(l,i);Object.defineProperty(t,i,e.get?e:{enumerable:!0,get:()=>l[i]})}}return t.default=l,Object.freeze(t)}const S=u(p),m=17895697,c=typeof window!="undefined"&&/Firefox/.test(window.navigator.userAgent);class H{constructor(){this.table=null,this.total=0,this.enabled=!1,this.skip=0,this.pageSize=0,this.PageChange=null,this.scrollElement=null,this.listTransform="",this.itemHeight=0,this.containerHeight=0,this.reactVersion=Number.parseFloat(S.version),this.scrollSyncing=!1,this.lastLoaded=0,this.firstLoaded=0,this.lastScrollTop=0,this.listTranslate=0,this.list=null,this.container=null,this.calcScrollElementHeight=()=>{var h;this.scrollSyncing=!0;let t=!1;this.itemHeight=this.list?this.list.children[0].offsetHeight:this.itemHeight;const i=this.itemHeight*this.total-(((h=this.list)==null?void 0:h.offsetHeight)||0);this.containerHeight=c?Math.min(m,i):i;const e=this.containerHeight;return this.scrollElement&&(t=this.scrollElement.style.height!==e+"px",t&&(this.scrollElement.style.height=e+"px")),this.scrollSyncing=!1,t},this.scrollerRef=t=>{this.container=t,t&&(t.setAttribute("unselectable","on"),window.setTimeout(this.calcScrollElementHeight.bind(this),0))},this.getRowHeightService=n.memoizeOne((t,i)=>new n.RowHeightService(i,t,0)),this.firstLoaded=this.pageSize,this.lastLoaded=this.skip+this.pageSize,this.scrollHandler=this.scrollHandler.bind(this)}get translate(){return this.listTranslate}translateTo(t,i){this.listTranslate=t,this.enabled&&this.list&&(c||this.reactVersion<=17||i?this.list.style.transform="translateY("+t+"px)":this.listTransform="translateY("+t+"px)")}changePage(t,i){const e=Math.min(Math.max(0,t),this.total-this.pageSize);e!==this.skip&&this.PageChange&&this.PageChange({skip:e,take:this.pageSize},i)}reset(){this.container&&(this.calcScrollElementHeight(),this.container.scrollTop=0,this.translateTo(0,!0))}scrollToEnd(){if(this.container&&this.list){this.calcScrollElementHeight();const{scrollHeight:t,offsetHeight:i}=this.container;this.container.scrollTop=t,this.translateTo(t-i,!0)}}scrollHandler(t){if(!this.enabled||!this.container||!this.list)return;if(this.scrollSyncing){this.scrollSyncing=!1;return}this.rowHeightService=this.getRowHeightService(this.itemHeight,this.total);const i=this.container.scrollTop,e=this.lastScrollTop>=i,h=!e,f=Math.abs(i-this.lastScrollTop);this.lastScrollTop=i;let s=this.rowHeightService.index(i),r=this.rowHeightService.offset(s);const{offsetHeight:g}=this.container,d=this.rowHeightService.index(i+g);if(h&&d>=this.lastLoaded&&this.lastLoaded<this.total){const o=s+this.pageSize-this.total;o>0&&(s=s-o,r=this.rowHeightService.offset(s)),this.firstLoaded=s,this.translateTo(r);const a=this.firstLoaded+this.pageSize;this.lastLoaded=Math.min(a,this.total),this.changePage(this.firstLoaded,t)}else if(e&&s-1<=this.firstLoaded){const o=f===this.itemHeight;if(this.skip===0&&o)this.lastScrollTop=0,this.firstLoaded=0,this.lastLoaded=this.pageSize,this.container.scrollTop=0,this.translateTo(0,!0);else{const a=Math.floor(this.pageSize*.3);this.firstLoaded=Math.max(s-a,0),this.translateTo(this.rowHeightService.offset(this.firstLoaded)),this.lastLoaded=Math.min(this.firstLoaded+this.pageSize,this.total),this.changePage(this.firstLoaded,t)}}}}exports.VirtualScroll=H;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import { memoizeOne as f, RowHeightService as d } from "@progress/kendo-react-common";
10
9
  import * as p from "react";
11
10
  const S = 17895697, r = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent);
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=(t=>(t[t.PopupList=0]="PopupList",t[t.TagsList=1]="TagsList",t))(r||{});exports.ActiveDescendant=r;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(r=>(r[r.PopupList=0]="PopupList",r[r.TagsList=1]="TagsList",r))(t||{});exports.ActiveDescendant=t;
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  var r = /* @__PURE__ */ ((p) => (p[p.PopupList = 0] = "PopupList", p[p.TagsList = 1] = "TagsList", p))(r || {});
10
9
  export {
11
10
  r as ActiveDescendant
package/common/utils.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=e=>e!=null,d=(e,t)=>{for(let r=0;r<e.length;r++)if(e.charAt(r)!==t)return!1;return!0},I=(e,t,r)=>{let n=e;return r&&(n=[r].concat(n)),n.slice(t).concat(n.slice(0,t))},m=(e,t,r)=>{if(!f(e))return!1;let n=String(e);return r&&(n=n.toLowerCase()),n.indexOf(t)===0},D=(e,t,r,n,s)=>{const o=e.offsetHeight,h=t.children.item(r),i=h.offsetTop+(s?n-e.scrollTop:0),u=h.offsetHeight;if(s){let l=0;i+u>o?l=i+u-o:i<0&&(l=i),l!==0?e.scrollTop+=l:e.scrollTop===0&&n!==0&&(e.scrollTop=n)}else i+u>o+e.scrollTop?e.scrollTop=i+u-o:i<e.scrollTop&&(e.scrollTop-=e.scrollTop-i)},a=(e,t,r)=>{let n=-1;if(t){t=t.toLowerCase();for(let s=0;s<e.length;s++){const o=(c(e[s],r)||"")+"";if(o&&o.toLowerCase().startsWith(t)){n=s;break}}}return n},p=(e,t,r,n=!1)=>{const s=o=>n?o:o.toLowerCase();return e.findIndex(o=>r?s(c(o,r))===s(t):s(t)===s(o.toString()))},c=(e,t)=>{if(t&&f(e)){const r=t.split(".");let n=e;return r.forEach(s=>{n=n?n[s]:void 0}),n}return e},x=(e,t,r)=>{if(!e)return;const n=e.findIndex(s=>c(s,t)===r);return e[n]},T=(e=[],t=[],r)=>{if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!g(e[n],t[n],r))return!1;return!0},C=(e,t,r)=>{t.forEach(n=>{const s=e.findIndex(o=>g(o,n,r));s!==-1&&e.splice(s,1)})},g=(e,t,r)=>e===t||f(e)===f(t)&&c(e,r)===c(t,r),y=(e,t,r)=>{if(t){const n=p(e,t,r,!0);return n!==-1?e[n]:e[a(e,t,r)]}return e[0]},S=(e,t=[],r)=>{let n="";if(e){const s=t[a(t,e,r)];if(s){const o=c(s,r);e.toLowerCase()!==o.toLowerCase()&&(n=o.substring(e.length))}}return n},w=e=>{e.target.nodeName!=="INPUT"&&e.preventDefault()},L=(e,t,r)=>!!e!=!!t||e.text!==t.text?!1:e===t||T(e.data,t.data,r),P=e=>{const t=e.filter((r,n)=>e.some((s,o)=>s===r&&o!==n));return Array.from(new Set(t))},V=e=>{const{data:t=[],groupField:r}=e;return r?t.filter(n=>r&&n[r]!==void 0):t};exports.areSame=g;exports.findByFieldValue=x;exports.getFilteredData=V;exports.getFocusedItem=y;exports.getItemIndexByText=p;exports.getItemValue=c;exports.getPlainDataDuplicates=P;exports.isPresent=f;exports.itemIndexStartsWith=a;exports.matchDataCollections=T;exports.matchTags=L;exports.matchText=m;exports.preventDefaultNonInputs=w;exports.removeDataItems=C;exports.sameCharsOnly=d;exports.scrollToItem=D;exports.shuffleData=I;exports.suggestValue=S;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=e=>e!=null,d=(e,t)=>{for(let r=0;r<e.length;r++)if(e.charAt(r)!==t)return!1;return!0},I=(e,t,r)=>{let n=e;return r&&(n=[r].concat(n)),n.slice(t).concat(n.slice(0,t))},m=(e,t,r)=>{if(!f(e))return!1;let n=String(e);return r&&(n=n.toLowerCase()),n.indexOf(t)===0},D=(e,t,r,n,s)=>{const o=e.offsetHeight,h=t.children.item(r),i=h.offsetTop+(s?n-e.scrollTop:0),u=h.offsetHeight;if(s){let l=0;i+u>o?l=i+u-o:i<0&&(l=i),l!==0?e.scrollTop+=l:e.scrollTop===0&&n!==0&&(e.scrollTop=n)}else i+u>o+e.scrollTop?e.scrollTop=i+u-o:i<e.scrollTop&&(e.scrollTop-=e.scrollTop-i)},a=(e,t,r)=>{let n=-1;if(t){t=t.toLowerCase();for(let s=0;s<e.length;s++){const o=(c(e[s],r)||"")+"";if(o&&o.toLowerCase().startsWith(t)){n=s;break}}}return n},p=(e,t,r,n=!1)=>{const s=o=>n?o:o.toLowerCase();return e.findIndex(o=>r?s(c(o,r))===s(t):s(t)===s(o.toString()))},c=(e,t)=>{if(t&&f(e)){const r=t.split(".");let n=e;return r.forEach(s=>{n=n?n[s]:void 0}),n}return e},x=(e,t,r)=>{if(!e)return;const n=e.findIndex(s=>c(s,t)===r);return e[n]},T=(e=[],t=[],r)=>{if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!g(e[n],t[n],r))return!1;return!0},C=(e,t,r)=>{t.forEach(n=>{const s=e.findIndex(o=>g(o,n,r));s!==-1&&e.splice(s,1)})},g=(e,t,r)=>e===t||f(e)===f(t)&&c(e,r)===c(t,r),y=(e,t,r)=>{if(t){const n=p(e,t,r,!0);return n!==-1?e[n]:e[a(e,t,r)]}return e[0]},S=(e,t=[],r)=>{let n="";if(e){const s=t[a(t,e,r)];if(s){const o=c(s,r);e.toLowerCase()!==o.toLowerCase()&&(n=o.substring(e.length))}}return n},w=e=>{e.target.nodeName!=="INPUT"&&e.preventDefault()},L=(e,t,r)=>!!e!=!!t||e.text!==t.text?!1:e===t||T(e.data,t.data,r),P=e=>{const t=e.filter((r,n)=>e.some((s,o)=>s===r&&o!==n));return Array.from(new Set(t))},V=e=>{const{data:t=[],groupField:r}=e;return r?t.filter(n=>r&&n[r]!==void 0):t};exports.areSame=g;exports.findByFieldValue=x;exports.getFilteredData=V;exports.getFocusedItem=y;exports.getItemIndexByText=p;exports.getItemValue=c;exports.getPlainDataDuplicates=P;exports.isPresent=f;exports.itemIndexStartsWith=a;exports.matchDataCollections=T;exports.matchTags=L;exports.matchText=m;exports.preventDefaultNonInputs=w;exports.removeDataItems=C;exports.sameCharsOnly=d;exports.scrollToItem=D;exports.shuffleData=I;exports.suggestValue=S;
package/common/utils.mjs CHANGED
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  const l = (e) => e != null, d = (e, t) => {
10
9
  for (let r = 0; r < e.length; r++)
11
10
  if (e.charAt(r) !== t)
@@ -19,42 +18,42 @@ const l = (e) => e != null, d = (e, t) => {
19
18
  return !1;
20
19
  let n = String(e);
21
20
  return r && (n = n.toLowerCase()), n.indexOf(t) === 0;
22
- }, C = (e, t, r, n, s) => {
23
- const o = e.offsetHeight, g = t.children.item(r), i = g.offsetTop + (s ? n - e.scrollTop : 0), c = g.offsetHeight;
24
- if (s) {
21
+ }, C = (e, t, r, n, o) => {
22
+ const s = e.offsetHeight, g = t.children.item(r), f = g.offsetTop + (o ? n - e.scrollTop : 0), c = g.offsetHeight;
23
+ if (o) {
25
24
  let u = 0;
26
- i + c > o ? u = i + c - o : i < 0 && (u = i), u !== 0 ? e.scrollTop += u : e.scrollTop === 0 && n !== 0 && (e.scrollTop = n);
25
+ f + c > s ? u = f + c - s : f < 0 && (u = f), u !== 0 ? e.scrollTop += u : e.scrollTop === 0 && n !== 0 && (e.scrollTop = n);
27
26
  } else
28
- i + c > o + e.scrollTop ? e.scrollTop = i + c - o : i < e.scrollTop && (e.scrollTop -= e.scrollTop - i);
27
+ f + c > s + e.scrollTop ? e.scrollTop = f + c - s : f < e.scrollTop && (e.scrollTop -= e.scrollTop - f);
29
28
  }, h = (e, t, r) => {
30
29
  let n = -1;
31
30
  if (t) {
32
31
  t = t.toLowerCase();
33
- for (let s = 0; s < e.length; s++) {
34
- const o = (f(e[s], r) || "") + "";
35
- if (o && o.toLowerCase().startsWith(t)) {
36
- n = s;
32
+ for (let o = 0; o < e.length; o++) {
33
+ const s = (i(e[o], r) || "") + "";
34
+ if (s && s.toLowerCase().startsWith(t)) {
35
+ n = o;
37
36
  break;
38
37
  }
39
38
  }
40
39
  }
41
40
  return n;
42
41
  }, T = (e, t, r, n = !1) => {
43
- const s = (o) => n ? o : o.toLowerCase();
44
- return e.findIndex((o) => r ? s(f(o, r)) === s(t) : s(t) === s(o.toString()));
45
- }, f = (e, t) => {
42
+ const o = (s) => n ? s : s.toLowerCase();
43
+ return e.findIndex((s) => r ? o(i(s, r)) === o(t) : o(t) === o(s.toString()));
44
+ }, i = (e, t) => {
46
45
  if (t && l(e)) {
47
46
  const r = t.split(".");
48
47
  let n = e;
49
- return r.forEach((s) => {
50
- n = n ? n[s] : void 0;
48
+ return r.forEach((o) => {
49
+ n = n ? n[o] : void 0;
51
50
  }), n;
52
51
  }
53
52
  return e;
54
53
  }, D = (e, t, r) => {
55
54
  if (!e)
56
55
  return;
57
- const n = e.findIndex((s) => f(s, t) === r);
56
+ const n = e.findIndex((o) => i(o, t) === r);
58
57
  return e[n];
59
58
  }, a = (e = [], t = [], r) => {
60
59
  if (e === t)
@@ -67,10 +66,10 @@ const l = (e) => e != null, d = (e, t) => {
67
66
  return !0;
68
67
  }, w = (e, t, r) => {
69
68
  t.forEach((n) => {
70
- const s = e.findIndex((o) => p(o, n, r));
71
- s !== -1 && e.splice(s, 1);
69
+ const o = e.findIndex((s) => p(s, n, r));
70
+ o !== -1 && e.splice(o, 1);
72
71
  });
73
- }, p = (e, t, r) => e === t || l(e) === l(t) && f(e, r) === f(t, r), L = (e, t, r) => {
72
+ }, p = (e, t, r) => e === t || l(e) === l(t) && i(e, r) === i(t, r), L = (e, t, r) => {
74
73
  if (t) {
75
74
  const n = T(e, t, r, !0);
76
75
  return n !== -1 ? e[n] : e[h(e, t, r)];
@@ -79,10 +78,10 @@ const l = (e) => e != null, d = (e, t) => {
79
78
  }, H = (e, t = [], r) => {
80
79
  let n = "";
81
80
  if (e) {
82
- const s = t[h(t, e, r)];
83
- if (s) {
84
- const o = f(s, r);
85
- e.toLowerCase() !== o.toLowerCase() && (n = o.substring(e.length));
81
+ const o = t[h(t, e, r)];
82
+ if (o) {
83
+ const s = i(o, r);
84
+ e.toLowerCase() !== s.toLowerCase() && (n = s.substring(e.length));
86
85
  }
87
86
  }
88
87
  return n;
@@ -90,7 +89,7 @@ const l = (e) => e != null, d = (e, t) => {
90
89
  e.target.nodeName !== "INPUT" && e.preventDefault();
91
90
  }, y = (e, t, r) => !!e != !!t || e.text !== t.text ? !1 : e === t || a(e.data, t.data, r), N = (e) => {
92
91
  const t = e.filter(
93
- (r, n) => e.some((s, o) => s === r && o !== n)
92
+ (r, n) => e.some((o, s) => o === r && s !== n)
94
93
  );
95
94
  return Array.from(new Set(t));
96
95
  }, O = (e) => {
@@ -103,7 +102,7 @@ export {
103
102
  O as getFilteredData,
104
103
  L as getFocusedItem,
105
104
  T as getItemIndexByText,
106
- f as getItemValue,
105
+ i as getItemValue,
107
106
  N as getPlainDataDuplicates,
108
107
  l as isPresent,
109
108
  h as itemIndexStartsWith,
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";const o=require("@progress/kendo-react-common"),t=o.useCustomComponent;module.exports=t;
8
+ "use strict";const o=require("@progress/kendo-react-common"),t=o.useCustomComponent;module.exports=t;
@@ -5,9 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import { useCustomComponent as o } from "@progress/kendo-react-common";
10
- const e = o;
9
+ const m = o;
11
10
  export {
12
- e as default
11
+ m as default
13
12
  };
package/index.js CHANGED
@@ -5,4 +5,5 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DropDownList/DropDownList.js"),p=require("./common/ListItem.js"),c=require("./common/List.js"),x=require("./common/SearchBar.js"),m=require("./common/ListContainer.js"),a=require("./common/ListFilter.js"),l=require("./messages/index.js"),t=require("./common/utils.js"),o=require("./ComboBox/ComboBox.js"),r=require("./AutoComplete/AutoComplete.js"),i=require("./MultiSelect/MultiSelect.js"),D=require("./MultiSelect/TagList.js"),u=require("./MultiColumnComboBox/MultiColumnComboBox.js"),n=require("./DropDownTree/DropDownTree.js"),s=require("./MultiSelectTree/MultiSelectTree.js"),C=require("./MultiSelectTree/utils.js");exports.DropDownList=e.DropDownList;exports.DropDownListPropsContext=e.DropDownListPropsContext;exports.dropDownListDefaultProps=e.dropDownListDefaultProps;exports.ListItem=p;exports.List=c;exports.SearchBar=x;exports.ListContainer=m;exports.ListFilter=a;exports.dropdownsMessages=l.messages;exports.nodata=l.nodata;exports.findByFieldValue=t.findByFieldValue;exports.getItemValue=t.getItemValue;exports.scrollToItem=t.scrollToItem;exports.ComboBox=o.ComboBox;exports.ComboBoxPropsContext=o.ComboBoxPropsContext;exports.ComboBoxWithoutContext=o.ComboBoxWithoutContext;exports.AutoComplete=r.AutoComplete;exports.AutoCompletePropsContext=r.AutoCompletePropsContext;exports.AutoCompleteWithoutContext=r.AutoCompleteWithoutContext;exports.MultiSelect=i.MultiSelect;exports.MultiSelectPropsContext=i.MultiSelectPropsContext;exports.MultiSelectWithoutContext=i.MultiSelectWithoutContext;exports.TagList=D;exports.MultiColumnComboBox=u.MultiColumnComboBox;exports.MultiColumnComboBoxPropsContext=u.MultiColumnComboBoxPropsContext;exports.DropDownTree=n.DropDownTree;exports.DropDownTreePropsContext=n.DropDownTreePropsContext;exports.MultiSelectTree=s.MultiSelectTree;exports.MultiSelectTreePropsContext=s.MultiSelectTreePropsContext;exports.getMultiSelectTreeValue=C.getMultiSelectTreeValue;exports.getValueMap=C.getValueMap;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DropDownList/DropDownList.js"),p=require("./common/ListItem.js"),c=require("./common/List.js"),x=require("./common/SearchBar.js"),m=require("./common/ListContainer.js"),a=require("./common/ListFilter.js"),l=require("./messages/index.js"),t=require("./common/utils.js"),o=require("./ComboBox/ComboBox.js"),r=require("./AutoComplete/AutoComplete.js"),i=require("./MultiSelect/MultiSelect.js"),D=require("./MultiSelect/TagList.js"),u=require("./MultiColumnComboBox/MultiColumnComboBox.js"),n=require("./DropDownTree/DropDownTree.js"),s=require("./MultiSelectTree/MultiSelectTree.js"),C=require("./MultiSelectTree/utils.js");exports.DropDownList=e.DropDownList;exports.DropDownListPropsContext=e.DropDownListPropsContext;exports.dropDownListDefaultProps=e.dropDownListDefaultProps;exports.ListItem=p;exports.List=c;exports.SearchBar=x;exports.ListContainer=m;exports.ListFilter=a;exports.dropdownsMessages=l.messages;exports.nodata=l.nodata;exports.findByFieldValue=t.findByFieldValue;exports.getItemValue=t.getItemValue;exports.scrollToItem=t.scrollToItem;exports.ComboBox=o.ComboBox;exports.ComboBoxPropsContext=o.ComboBoxPropsContext;exports.ComboBoxWithoutContext=o.ComboBoxWithoutContext;exports.AutoComplete=r.AutoComplete;exports.AutoCompletePropsContext=r.AutoCompletePropsContext;exports.AutoCompleteWithoutContext=r.AutoCompleteWithoutContext;exports.MultiSelect=i.MultiSelect;exports.MultiSelectPropsContext=i.MultiSelectPropsContext;exports.MultiSelectWithoutContext=i.MultiSelectWithoutContext;exports.TagList=D;exports.MultiColumnComboBox=u.MultiColumnComboBox;exports.MultiColumnComboBoxPropsContext=u.MultiColumnComboBoxPropsContext;exports.DropDownTree=n.DropDownTree;exports.DropDownTreePropsContext=n.DropDownTreePropsContext;exports.MultiSelectTree=s.MultiSelectTree;exports.MultiSelectTreePropsContext=s.MultiSelectTreePropsContext;exports.getMultiSelectTreeValue=C.getMultiSelectTreeValue;exports.getValueMap=C.getValueMap;
package/index.mjs CHANGED
@@ -9,7 +9,7 @@
9
9
  import { DropDownList as e, DropDownListPropsContext as r, dropDownListDefaultProps as l } from "./DropDownList/DropDownList.mjs";
10
10
  import { default as s } from "./common/ListItem.mjs";
11
11
  import { default as m } from "./common/List.mjs";
12
- import { default as a } from "./common/SearchBar.mjs";
12
+ import { default as u } from "./common/SearchBar.mjs";
13
13
  import { default as i } from "./common/ListContainer.mjs";
14
14
  import { default as C } from "./common/ListFilter.mjs";
15
15
  import { messages as D, nodata as M } from "./messages/index.mjs";
@@ -44,7 +44,7 @@ export {
44
44
  K as MultiSelectTree,
45
45
  N as MultiSelectTreePropsContext,
46
46
  y as MultiSelectWithoutContext,
47
- a as SearchBar,
47
+ u as SearchBar,
48
48
  k as TagList,
49
49
  l as dropDownListDefaultProps,
50
50
  D as dropdownsMessages,
package/messages/index.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o="dropdowns.nodata",a="dropdowns.clear",e="dropdowns.comboArrowBtnAriaLabelExpand",r="dropdowns.comboArrowBtnAriaLabelCollapse",n="dropdowns.dropDownListArrowBtnAriaLabel",t="dropdowns.apply",d="dropdowns.cancel",l={[a]:"clear",[o]:"NO DATA FOUND.",[e]:"expand combobox",[r]:"collapse combobox",[n]:"select",[t]:"Apply",[d]:"Cancel"};exports.adaptiveModeFooterApply=t;exports.adaptiveModeFooterCancel=d;exports.clear=a;exports.comboArrowBtnAriaLabelCollapse=r;exports.comboArrowBtnAriaLabelExpand=e;exports.dropDownListArrowBtnAriaLabel=n;exports.messages=l;exports.nodata=o;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o="dropdowns.nodata",a="dropdowns.clear",r="dropdowns.comboArrowBtnAriaLabelExpand",e="dropdowns.comboArrowBtnAriaLabelCollapse",n="dropdowns.dropDownListArrowBtnAriaLabel",t="dropdowns.apply",d="dropdowns.cancel",l={[a]:"clear",[o]:"NO DATA FOUND.",[r]:"expand combobox",[e]:"collapse combobox",[n]:"select",[t]:"Apply",[d]:"Cancel"};exports.adaptiveModeFooterApply=t;exports.adaptiveModeFooterCancel=d;exports.clear=a;exports.comboArrowBtnAriaLabelCollapse=e;exports.comboArrowBtnAriaLabelExpand=r;exports.dropDownListArrowBtnAriaLabel=n;exports.messages=l;exports.nodata=o;
@@ -5,23 +5,22 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
- const o = "dropdowns.nodata", a = "dropdowns.clear", r = "dropdowns.comboArrowBtnAriaLabelExpand", n = "dropdowns.comboArrowBtnAriaLabelCollapse", e = "dropdowns.dropDownListArrowBtnAriaLabel", d = "dropdowns.apply", s = "dropdowns.cancel", t = {
8
+ const o = "dropdowns.nodata", a = "dropdowns.clear", r = "dropdowns.comboArrowBtnAriaLabelExpand", n = "dropdowns.comboArrowBtnAriaLabelCollapse", e = "dropdowns.dropDownListArrowBtnAriaLabel", d = "dropdowns.apply", p = "dropdowns.cancel", s = {
10
9
  [a]: "clear",
11
10
  [o]: "NO DATA FOUND.",
12
11
  [r]: "expand combobox",
13
12
  [n]: "collapse combobox",
14
13
  [e]: "select",
15
14
  [d]: "Apply",
16
- [s]: "Cancel"
15
+ [p]: "Cancel"
17
16
  };
18
17
  export {
19
18
  d as adaptiveModeFooterApply,
20
- s as adaptiveModeFooterCancel,
19
+ p as adaptiveModeFooterCancel,
21
20
  a as clear,
22
21
  n as comboArrowBtnAriaLabelCollapse,
23
22
  r as comboArrowBtnAriaLabelExpand,
24
23
  e as dropDownListArrowBtnAriaLabel,
25
- t as messages,
24
+ s as messages,
26
25
  o as nodata
27
26
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-dropdowns",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1737925661,version:"9.4.0-develop.6",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-dropdowns",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1738136892,version:"9.4.0-develop.8",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"};exports.packageMetadata=e;
@@ -5,14 +5,13 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  const e = {
10
9
  name: "@progress/kendo-react-dropdowns",
11
10
  productName: "KendoReact",
12
11
  productCode: "KENDOUIREACT",
13
12
  productCodes: ["KENDOUIREACT"],
14
- publishDate: 1737925661,
15
- version: "9.4.0-develop.6",
13
+ publishDate: 1738136892,
14
+ version: "9.4.0-develop.8",
16
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
17
16
  };
18
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-dropdowns",
3
- "version": "9.4.0-develop.6",
3
+ "version": "9.4.0-develop.8",
4
4
  "description": "React DropDowns offer an interface for users to select different items from a list and more. KendoReact Dropdowns package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -26,14 +26,14 @@
26
26
  "sideEffects": false,
27
27
  "peerDependencies": {
28
28
  "@progress/kendo-licensing": "^1.3.4",
29
- "@progress/kendo-react-buttons": "9.4.0-develop.6",
30
- "@progress/kendo-react-common": "9.4.0-develop.6",
31
- "@progress/kendo-react-inputs": "9.4.0-develop.6",
32
- "@progress/kendo-react-intl": "9.4.0-develop.6",
33
- "@progress/kendo-react-labels": "9.4.0-develop.6",
34
- "@progress/kendo-react-layout": "9.4.0-develop.6",
35
- "@progress/kendo-react-popup": "9.4.0-develop.6",
36
- "@progress/kendo-react-treeview": "9.4.0-develop.6",
29
+ "@progress/kendo-react-buttons": "9.4.0-develop.8",
30
+ "@progress/kendo-react-common": "9.4.0-develop.8",
31
+ "@progress/kendo-react-inputs": "9.4.0-develop.8",
32
+ "@progress/kendo-react-intl": "9.4.0-develop.8",
33
+ "@progress/kendo-react-labels": "9.4.0-develop.8",
34
+ "@progress/kendo-react-layout": "9.4.0-develop.8",
35
+ "@progress/kendo-react-popup": "9.4.0-develop.8",
36
+ "@progress/kendo-react-treeview": "9.4.0-develop.8",
37
37
  "@progress/kendo-svg-icons": "^4.0.0",
38
38
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
39
39
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
@@ -62,7 +62,7 @@
62
62
  "package": {
63
63
  "productName": "KendoReact",
64
64
  "productCode": "KENDOUIREACT",
65
- "publishDate": 1737925661,
65
+ "publishDate": 1738136892,
66
66
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
67
67
  }
68
68
  },