@progress/kendo-react-listview 7.2.4-develop.2 → 7.2.4-develop.4

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/ListView.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@progress/kendo-react-common"),c=require("./package-metadata.js");function i(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(t,e,o.get?o:{enumerable:!0,get:()=>r[e]})}}return t.default=r,Object.freeze(t)}const s=i(n);class p extends s.PureComponent{constructor(t){super(t),this.onScroll=e=>a.dispatchEvent(this.props.onScroll,e,this,void 0),a.validatePackage(c.packageMetadata)}render(){const{data:t=[],item:e}=this.props;return s.createElement("div",{className:a.classNames("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?s.createElement(this.props.header,null):null,s.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},e&&t.map((o,l)=>s.createElement(e,{dataItem:o,index:l,key:l}))),this.props.footer?s.createElement(this.props.footer,null):null)}}exports.ListView=p;
package/ListView.mjs ADDED
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ import * as e from "react";
10
+ import { dispatchEvent as o, validatePackage as a, classNames as i } from "@progress/kendo-react-common";
11
+ import { packageMetadata as p } from "./package-metadata.mjs";
12
+ class h extends e.PureComponent {
13
+ constructor(s) {
14
+ super(s), this.onScroll = (t) => o(this.props.onScroll, t, this, void 0), a(p);
15
+ }
16
+ /**
17
+ * @hidden
18
+ */
19
+ render() {
20
+ const { data: s = [], item: t } = this.props;
21
+ return /* @__PURE__ */ e.createElement(
22
+ "div",
23
+ {
24
+ className: i("k-listview k-d-flex", this.props.className),
25
+ style: this.props.style
26
+ },
27
+ this.props.header ? /* @__PURE__ */ e.createElement(this.props.header, null) : null,
28
+ /* @__PURE__ */ e.createElement("div", { role: "list", className: "k-listview-content", onScroll: this.onScroll }, t && s.map((l, r) => /* @__PURE__ */ e.createElement(t, { dataItem: l, index: r, key: r }))),
29
+ this.props.footer ? /* @__PURE__ */ e.createElement(this.props.footer, null) : null
30
+ );
31
+ }
32
+ }
33
+ export {
34
+ h as ListView
35
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),o=require("@progress/kendo-react-common");function a(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=a(n),i=e=>s.createElement("div",{className:o.classNames("k-listview-footer",e.className),style:e.style},e.children);exports.ListViewFooter=i;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ import * as t from "react";
10
+ import { classNames as s } from "@progress/kendo-react-common";
11
+ const i = (e) => /* @__PURE__ */ t.createElement("div", { className: s("k-listview-footer", e.className), style: e.style }, e.children);
12
+ export {
13
+ i as ListViewFooter
14
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@progress/kendo-react-common");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=s(n),l=e=>i.createElement("div",{className:a.classNames("k-listview-header",e.className),style:e.style},e.children);exports.ListViewHeader=l;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ import * as t from "react";
10
+ import { classNames as s } from "@progress/kendo-react-common";
11
+ const i = (e) => /* @__PURE__ */ t.createElement("div", { className: s("k-listview-header", e.className), style: e.style }, e.children);
12
+ export {
13
+ i as ListViewHeader
14
+ };
@@ -1,5 +1,8 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- (function(t,n){typeof exports=="object"&&typeof module!="undefined"?n(exports,require("react"),require("@progress/kendo-react-common")):typeof define=="function"&&define.amd?define(["exports","react","@progress/kendo-react-common"],n):(t=typeof globalThis!="undefined"?globalThis:t||self,n(t.KendoReactListview={},t.React,t.KendoReactCommon))})(this,function(t,n,c){"use strict";"use client";function a(e){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const l=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(i,s,l.get?l:{enumerable:!0,get:()=>e[s]})}}return i.default=e,Object.freeze(i)}const r=a(n),d={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class u extends r.PureComponent{constructor(i){super(i),this.onScroll=s=>c.dispatchEvent(this.props.onScroll,s,this,void 0),c.validatePackage(d)}render(){const{data:i=[],item:s}=this.props;return r.createElement("div",{className:c.classNames("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?r.createElement(this.props.header,null):null,r.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},s&&i.map((l,o)=>r.createElement(s,{dataItem:l,index:o,key:o}))),this.props.footer?r.createElement(this.props.footer,null):null)}}const p=e=>r.createElement("div",{className:c.classNames("k-listview-header",e.className),style:e.style},e.children),m=e=>r.createElement("div",{className:c.classNames("k-listview-footer",e.className),style:e.style},e.children);t.ListView=u,t.ListViewFooter=m,t.ListViewHeader=p,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@progress/kendo-react-common")):"function"==typeof define&&define.amd?define(["exports","react","@progress/kendo-react-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactListview={},e.React,e.KendoReactCommon)}(this,(function(e,t,s){"use strict";function r(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(s){if("default"!==s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}})),t.default=e,Object.freeze(t)}var o=r(t);const n={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class i extends o.PureComponent{constructor(e){super(e),this.onScroll=e=>s.dispatchEvent(this.props.onScroll,e,this,void 0),s.validatePackage(n)}render(){const{data:e=[],item:t}=this.props;return o.createElement("div",{className:s.classNames("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?o.createElement(this.props.header,null):null,o.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},t&&e.map(((e,s)=>o.createElement(t,{dataItem:e,index:s,key:s})))),this.props.footer?o.createElement(this.props.footer,null):null)}}e.ListView=i,e.ListViewFooter=e=>o.createElement("div",{className:s.classNames("k-listview-footer",e.className),style:e.style},e.children),e.ListViewHeader=e=>o.createElement("div",{className:s.classNames("k-listview-header",e.className),style:e.style},e.children)}));
package/index.d.mts CHANGED
@@ -1,5 +1,106 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export * from './index';
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
10
+ import * as React_2 from 'react';
11
+
12
+ export declare class ListView extends React_2.PureComponent<ListViewProps, {}> {
13
+ constructor(props: ListViewProps);
14
+ /**
15
+ * @hidden
16
+ */
17
+ render(): JSX_2.Element;
18
+ private onScroll;
19
+ }
20
+
21
+ export declare interface ListViewEvent extends BaseEvent<ListView> {
22
+ }
23
+
24
+ export declare const ListViewFooter: React_2.FunctionComponent<ListViewFooterProps>;
25
+
26
+ export declare interface ListViewFooterProps {
27
+ /**
28
+ * Sets the ListViewFooter children elements.
29
+ */
30
+ children?: React.ReactNode;
31
+ /**
32
+ * Sets additional CSS styles to the ListViewFooter.
33
+ */
34
+ style?: React.CSSProperties;
35
+ /**
36
+ * Add additional classes to the ListViewFooter.
37
+ */
38
+ className?: string;
39
+ }
40
+
41
+ export declare const ListViewHeader: React_2.FunctionComponent<ListViewHeaderProps>;
42
+
43
+ export declare interface ListViewHeaderProps {
44
+ /**
45
+ * Sets the ListViewHeader children elements.
46
+ */
47
+ children?: React.ReactNode;
48
+ /**
49
+ * Sets additional CSS styles to the ListViewHeader.
50
+ */
51
+ style?: React.CSSProperties;
52
+ /**
53
+ * Add additional classes to the ListViewHeader.
54
+ */
55
+ className?: string;
56
+ }
57
+
58
+ /**
59
+ * Represents the props of the each ListView item.
60
+ */
61
+ export declare interface ListViewItemProps {
62
+ /**
63
+ * The data object that represents the current item.
64
+ */
65
+ dataItem: any;
66
+ /**
67
+ * The index of the item in the data collection.
68
+ */
69
+ index?: number;
70
+ }
71
+
72
+ /**
73
+ * Represents the props of the [KendoReact ListView component]({% slug overview_listview %}).
74
+ */
75
+ export declare interface ListViewProps {
76
+ /**
77
+ * Sets a class of the ListView DOM element.
78
+ */
79
+ className?: string;
80
+ /**
81
+ * Sets the data of the ListView.
82
+ */
83
+ data?: any[];
84
+ /**
85
+ * Defines the component that will be rendered for each item of the data collection.
86
+ */
87
+ item?: React.ComponentType<ListViewItemProps>;
88
+ /**
89
+ * Defines the component that will be rendered for ListView header.
90
+ */
91
+ header?: React.ComponentType<any>;
92
+ /**
93
+ * Defines the component that will be rendered for ListView footer.
94
+ */
95
+ footer?: React.ComponentType<any>;
96
+ /**
97
+ * Sets styles to the ListView container.
98
+ */
99
+ style?: React.CSSProperties;
100
+ /**
101
+ * Fires when the ListView has been scrolled.
102
+ */
103
+ onScroll?: (event: ListViewEvent) => void;
104
+ }
105
+
106
+ export { }
package/index.d.ts CHANGED
@@ -1,13 +1,106 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ListView } from './ListView';
6
- import { ListViewHeader } from './ListViewHeader';
7
- import { ListViewFooter } from './ListViewFooter';
8
- import { type ListViewProps } from './interfaces/ListViewProps';
9
- import { type ListViewItemProps } from './interfaces/ListViewItemProps';
10
- import { type ListViewFooterProps } from './interfaces/ListViewFooterProps';
11
- import { type ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
12
- import { type ListViewEvent } from './events';
13
- export { ListView, ListViewProps, ListViewEvent, ListViewHeader, ListViewFooter, ListViewItemProps, ListViewFooterProps, ListViewHeaderProps };
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
10
+ import * as React_2 from 'react';
11
+
12
+ export declare class ListView extends React_2.PureComponent<ListViewProps, {}> {
13
+ constructor(props: ListViewProps);
14
+ /**
15
+ * @hidden
16
+ */
17
+ render(): JSX_2.Element;
18
+ private onScroll;
19
+ }
20
+
21
+ export declare interface ListViewEvent extends BaseEvent<ListView> {
22
+ }
23
+
24
+ export declare const ListViewFooter: React_2.FunctionComponent<ListViewFooterProps>;
25
+
26
+ export declare interface ListViewFooterProps {
27
+ /**
28
+ * Sets the ListViewFooter children elements.
29
+ */
30
+ children?: React.ReactNode;
31
+ /**
32
+ * Sets additional CSS styles to the ListViewFooter.
33
+ */
34
+ style?: React.CSSProperties;
35
+ /**
36
+ * Add additional classes to the ListViewFooter.
37
+ */
38
+ className?: string;
39
+ }
40
+
41
+ export declare const ListViewHeader: React_2.FunctionComponent<ListViewHeaderProps>;
42
+
43
+ export declare interface ListViewHeaderProps {
44
+ /**
45
+ * Sets the ListViewHeader children elements.
46
+ */
47
+ children?: React.ReactNode;
48
+ /**
49
+ * Sets additional CSS styles to the ListViewHeader.
50
+ */
51
+ style?: React.CSSProperties;
52
+ /**
53
+ * Add additional classes to the ListViewHeader.
54
+ */
55
+ className?: string;
56
+ }
57
+
58
+ /**
59
+ * Represents the props of the each ListView item.
60
+ */
61
+ export declare interface ListViewItemProps {
62
+ /**
63
+ * The data object that represents the current item.
64
+ */
65
+ dataItem: any;
66
+ /**
67
+ * The index of the item in the data collection.
68
+ */
69
+ index?: number;
70
+ }
71
+
72
+ /**
73
+ * Represents the props of the [KendoReact ListView component]({% slug overview_listview %}).
74
+ */
75
+ export declare interface ListViewProps {
76
+ /**
77
+ * Sets a class of the ListView DOM element.
78
+ */
79
+ className?: string;
80
+ /**
81
+ * Sets the data of the ListView.
82
+ */
83
+ data?: any[];
84
+ /**
85
+ * Defines the component that will be rendered for each item of the data collection.
86
+ */
87
+ item?: React.ComponentType<ListViewItemProps>;
88
+ /**
89
+ * Defines the component that will be rendered for ListView header.
90
+ */
91
+ header?: React.ComponentType<any>;
92
+ /**
93
+ * Defines the component that will be rendered for ListView footer.
94
+ */
95
+ footer?: React.ComponentType<any>;
96
+ /**
97
+ * Sets styles to the ListView container.
98
+ */
99
+ style?: React.CSSProperties;
100
+ /**
101
+ * Fires when the ListView has been scrolled.
102
+ */
103
+ onScroll?: (event: ListViewEvent) => void;
104
+ }
105
+
106
+ export { }
package/index.js CHANGED
@@ -1,5 +1,8 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("@progress/kendo-react-common");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=i(c),n={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class m extends s.PureComponent{constructor(r){super(r),this.onScroll=t=>l.dispatchEvent(this.props.onScroll,t,this,void 0),l.validatePackage(n)}render(){const{data:r=[],item:t}=this.props;return s.createElement("div",{className:l.classNames("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?s.createElement(this.props.header,null):null,s.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},t&&r.map((a,o)=>s.createElement(t,{dataItem:a,index:o,key:o}))),this.props.footer?s.createElement(this.props.footer,null):null)}}const d=e=>s.createElement("div",{className:l.classNames("k-listview-header",e.className),style:e.style},e.children),u=e=>s.createElement("div",{className:l.classNames("k-listview-footer",e.className),style:e.style},e.children);exports.ListView=m;exports.ListViewFooter=u;exports.ListViewHeader=d;
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ListView.js"),i=require("./ListViewHeader.js"),t=require("./ListViewFooter.js");exports.ListView=e.ListView;exports.ListViewHeader=i.ListViewHeader;exports.ListViewFooter=t.ListViewFooter;
package/index.mjs CHANGED
@@ -1,42 +1,16 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
5
8
  "use client";
6
- import * as t from "react";
7
- import { dispatchEvent as i, validatePackage as c, classNames as r } from "@progress/kendo-react-common";
8
- const n = {
9
- name: "@progress/kendo-react-listview",
10
- productName: "KendoReact",
11
- productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
12
- publishDate: 1709198437,
13
- version: "",
14
- licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
15
- };
16
- class d extends t.PureComponent {
17
- constructor(l) {
18
- super(l), this.onScroll = (s) => i(this.props.onScroll, s, this, void 0), c(n);
19
- }
20
- /**
21
- * @hidden
22
- */
23
- render() {
24
- const { data: l = [], item: s } = this.props;
25
- return /* @__PURE__ */ t.createElement(
26
- "div",
27
- {
28
- className: r("k-listview k-d-flex", this.props.className),
29
- style: this.props.style
30
- },
31
- this.props.header ? /* @__PURE__ */ t.createElement(this.props.header, null) : null,
32
- /* @__PURE__ */ t.createElement("div", { role: "list", className: "k-listview-content", onScroll: this.onScroll }, s && l.map((o, a) => /* @__PURE__ */ t.createElement(s, { dataItem: o, index: a, key: a }))),
33
- this.props.footer ? /* @__PURE__ */ t.createElement(this.props.footer, null) : null
34
- );
35
- }
36
- }
37
- const p = (e) => /* @__PURE__ */ t.createElement("div", { className: r("k-listview-header", e.className), style: e.style }, e.children), h = (e) => /* @__PURE__ */ t.createElement("div", { className: r("k-listview-footer", e.className), style: e.style }, e.children);
9
+ import { ListView as r } from "./ListView.mjs";
10
+ import { ListViewHeader as i } from "./ListViewHeader.mjs";
11
+ import { ListViewFooter as f } from "./ListViewFooter.mjs";
38
12
  export {
39
- d as ListView,
40
- h as ListViewFooter,
41
- p as ListViewHeader
13
+ r as ListView,
14
+ f as ListViewFooter,
15
+ i as ListViewHeader
42
16
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ const e = {
10
+ name: "@progress/kendo-react-listview",
11
+ productName: "KendoReact",
12
+ productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
+ publishDate: 1709714548,
14
+ version: "",
15
+ licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
+ };
17
+ export {
18
+ e as packageMetadata
19
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-listview",
3
- "version": "7.2.4-develop.2",
3
+ "version": "7.2.4-develop.4",
4
4
  "description": "React ListView enables you to display a custom layout of data items. KendoReact ListView package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,7 +23,7 @@
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-licensing": "^1.3.4",
26
- "@progress/kendo-react-common": "7.2.4-develop.2",
26
+ "@progress/kendo-react-common": "7.2.4-develop.4",
27
27
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
28
28
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
29
29
  },
package/ListView.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { ListViewProps } from './interfaces/ListViewProps';
7
- export declare class ListView extends React.PureComponent<ListViewProps, {}> {
8
- constructor(props: ListViewProps);
9
- /**
10
- * @hidden
11
- */
12
- render(): import("react/jsx-runtime").JSX.Element;
13
- private onScroll;
14
- }
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { ListViewFooterProps } from './interfaces/ListViewFooterProps';
7
- declare const ListViewFooter: React.FunctionComponent<ListViewFooterProps>;
8
- export { ListViewFooter };
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
7
- declare const ListViewHeader: React.FunctionComponent<ListViewHeaderProps>;
8
- export { ListViewHeader };
package/events.d.ts DELETED
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { BaseEvent } from '@progress/kendo-react-common';
6
- import { ListView } from './ListView';
7
- export interface ListViewEvent extends BaseEvent<ListView> {
8
- }
@@ -1,18 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export interface ListViewFooterProps {
6
- /**
7
- * Sets the ListViewFooter children elements.
8
- */
9
- children?: React.ReactNode;
10
- /**
11
- * Sets additional CSS styles to the ListViewFooter.
12
- */
13
- style?: React.CSSProperties;
14
- /**
15
- * Add additional classes to the ListViewFooter.
16
- */
17
- className?: string;
18
- }
@@ -1,18 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export interface ListViewHeaderProps {
6
- /**
7
- * Sets the ListViewHeader children elements.
8
- */
9
- children?: React.ReactNode;
10
- /**
11
- * Sets additional CSS styles to the ListViewHeader.
12
- */
13
- style?: React.CSSProperties;
14
- /**
15
- * Add additional classes to the ListViewHeader.
16
- */
17
- className?: string;
18
- }
@@ -1,17 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents the props of the each ListView item.
7
- */
8
- export interface ListViewItemProps {
9
- /**
10
- * The data object that represents the current item.
11
- */
12
- dataItem: any;
13
- /**
14
- * The index of the item in the data collection.
15
- */
16
- index?: number;
17
- }
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ListViewEvent } from '../events';
6
- import { ListViewItemProps } from './ListViewItemProps';
7
- /**
8
- * Represents the props of the [KendoReact ListView component]({% slug overview_listview %}).
9
- */
10
- export interface ListViewProps {
11
- /**
12
- * Sets a class of the ListView DOM element.
13
- */
14
- className?: string;
15
- /**
16
- * Sets the data of the ListView.
17
- */
18
- data?: any[];
19
- /**
20
- * Defines the component that will be rendered for each item of the data collection.
21
- */
22
- item?: React.ComponentType<ListViewItemProps>;
23
- /**
24
- * Defines the component that will be rendered for ListView header.
25
- */
26
- header?: React.ComponentType<any>;
27
- /**
28
- * Defines the component that will be rendered for ListView footer.
29
- */
30
- footer?: React.ComponentType<any>;
31
- /**
32
- * Sets styles to the ListView container.
33
- */
34
- style?: React.CSSProperties;
35
- /**
36
- * Fires when the ListView has been scrolled.
37
- */
38
- onScroll?: (event: ListViewEvent) => void;
39
- }
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { PackageMetadata } from '@progress/kendo-licensing';
6
- /**
7
- * @hidden
8
- */
9
- export declare const packageMetadata: PackageMetadata;