@vaadin/react-components 24.4.0-alpha11 → 24.4.0-alpha12
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/Board.d.ts +12 -0
- package/Board.d.ts.map +1 -0
- package/Board.js +12 -0
- package/Board.js.map +7 -0
- package/BoardRow.d.ts +12 -0
- package/BoardRow.d.ts.map +1 -0
- package/BoardRow.js +12 -0
- package/BoardRow.js.map +7 -0
- package/Chart.d.ts +12 -0
- package/Chart.d.ts.map +1 -0
- package/Chart.js +12 -0
- package/Chart.js.map +7 -0
- package/ChartSeries.d.ts +17 -0
- package/ChartSeries.d.ts.map +1 -0
- package/ChartSeries.js +12 -0
- package/ChartSeries.js.map +7 -0
- package/CookieConsent.d.ts +17 -0
- package/CookieConsent.d.ts.map +1 -0
- package/CookieConsent.js +12 -0
- package/CookieConsent.js.map +7 -0
- package/Crud.d.ts +32 -0
- package/Crud.d.ts.map +1 -0
- package/Crud.js +12 -0
- package/Crud.js.map +7 -0
- package/CrudEdit.d.ts +12 -0
- package/CrudEdit.d.ts.map +1 -0
- package/CrudEdit.js +12 -0
- package/CrudEdit.js.map +7 -0
- package/CrudEditColumn.d.ts +12 -0
- package/CrudEditColumn.d.ts.map +1 -0
- package/CrudEditColumn.js +12 -0
- package/CrudEditColumn.js.map +7 -0
- package/GridColumn.d.ts +1 -1
- package/GridFilterColumn.d.ts +1 -1
- package/GridPro.d.ts +44 -0
- package/GridPro.d.ts.map +1 -0
- package/GridPro.js +12 -0
- package/GridPro.js.map +7 -0
- package/GridProEditColumn.d.ts +70 -0
- package/GridProEditColumn.d.ts.map +1 -0
- package/GridProEditColumn.js +12 -0
- package/GridProEditColumn.js.map +7 -0
- package/GridSelectionColumn.d.ts +1 -1
- package/GridSortColumn.d.ts +1 -1
- package/GridTreeColumn.d.ts +1 -1
- package/Map.d.ts +12 -0
- package/Map.d.ts.map +1 -0
- package/Map.js +12 -0
- package/Map.js.map +7 -0
- package/README.md +1 -1
- package/RichTextEditor.d.ts +12 -0
- package/RichTextEditor.d.ts.map +1 -0
- package/RichTextEditor.js +12 -0
- package/RichTextEditor.js.map +7 -0
- package/generated/Board.d.ts +11 -0
- package/generated/Board.d.ts.map +1 -0
- package/generated/BoardRow.d.ts +11 -0
- package/generated/BoardRow.d.ts.map +1 -0
- package/generated/Chart.d.ts +72 -0
- package/generated/Chart.d.ts.map +1 -0
- package/generated/ChartSeries.d.ts +11 -0
- package/generated/ChartSeries.d.ts.map +1 -0
- package/generated/CookieConsent.d.ts +11 -0
- package/generated/CookieConsent.d.ts.map +1 -0
- package/generated/Crud.d.ts +30 -0
- package/generated/Crud.d.ts.map +1 -0
- package/generated/CrudEdit.d.ts +14 -0
- package/generated/CrudEdit.d.ts.map +1 -0
- package/generated/CrudEditColumn.d.ts +11 -0
- package/generated/CrudEditColumn.d.ts.map +1 -0
- package/generated/GridColumn.d.ts +1 -1
- package/generated/GridColumnGroup.d.ts +1 -1
- package/generated/GridFilterColumn.d.ts +1 -1
- package/generated/GridPro.d.ts +46 -0
- package/generated/GridPro.d.ts.map +1 -0
- package/generated/GridProEditColumn.d.ts +16 -0
- package/generated/GridProEditColumn.d.ts.map +1 -0
- package/generated/GridSelectionColumn.d.ts +1 -1
- package/generated/GridSortColumn.d.ts +1 -1
- package/generated/GridTreeColumn.d.ts +1 -1
- package/generated/Map.d.ts +9 -0
- package/generated/Map.d.ts.map +1 -0
- package/generated/RichTextEditor.d.ts +18 -0
- package/generated/RichTextEditor.d.ts.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +12 -0
- package/package.json +126 -59
- package/utils/createComponent.js +1 -1
- package/utils/createComponent.js.map +1 -1
- package/LICENSE +0 -201
package/Board.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
export * from './generated/Board.js';
|
|
12
|
+
//# sourceMappingURL=Board.d.ts.map
|
package/Board.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Board.d.ts","sourceRoot":"","sources":["src/Board.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,sBAAsB,CAAC"}
|
package/Board.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/board/vaadin-board.js";import{Board as o}from"@vaadin/board/vaadin-board.js";import*as e from"react";import{createComponent as t}from"./utils/createComponent.js";var r={},m=t({elementClass:o,events:r,react:e,tagName:"vaadin-board"});export{m as Board,o as BoardElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=Board.js.map
|
package/Board.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/Board.ts", "src/generated/Board.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/board/vaadin-board.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nexport * from './generated/Board.js';\n", "import type {} from \"@lit/react\";\nimport { Board as BoardElement, } from \"@vaadin/board/vaadin-board.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { BoardElement, };\nexport type BoardEventMap = Readonly<{}>;\nconst events = {} as BoardEventMap;\nexport type BoardProps = WebComponentProps<BoardElement, BoardEventMap>;\nexport const Board = createComponent({\n elementClass: BoardElement, events, react: React, tagName: \"vaadin-board\"\n});\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,gCCCd,OAAS,SAASA,MAAqB,gCACvC,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAGxD,IAAMC,EAAS,CAAC,EAEHC,EAAQC,EAAgB,CACjC,aAAcC,EAAc,OAAAH,EAAQ,MAAOI,EAAO,QAAS,cAC/D,CAAC",
|
|
6
|
+
"names": ["BoardElement", "React", "createComponent", "events", "Board", "createComponent", "BoardElement", "React"]
|
|
7
|
+
}
|
package/BoardRow.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
export * from './generated/BoardRow.js';
|
|
12
|
+
//# sourceMappingURL=BoardRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoardRow.d.ts","sourceRoot":"","sources":["src/BoardRow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,yBAAyB,CAAC"}
|
package/BoardRow.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/board/vaadin-board-row.js";import{BoardRow as o}from"@vaadin/board/vaadin-board-row.js";import*as e from"react";import{createComponent as r}from"./utils/createComponent.js";var t={},m=r({elementClass:o,events:t,react:e,tagName:"vaadin-board-row"});export{m as BoardRow,o as BoardRowElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=BoardRow.js.map
|
package/BoardRow.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/BoardRow.ts", "src/generated/BoardRow.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/board/vaadin-board-row.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nexport * from './generated/BoardRow.js';\n", "import type {} from \"@lit/react\";\nimport { BoardRow as BoardRowElement, } from \"@vaadin/board/vaadin-board-row.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { BoardRowElement, };\nexport type BoardRowEventMap = Readonly<{}>;\nconst events = {} as BoardRowEventMap;\nexport type BoardRowProps = WebComponentProps<BoardRowElement, BoardRowEventMap>;\nexport const BoardRow = createComponent({\n elementClass: BoardRowElement, events, react: React, tagName: \"vaadin-board-row\"\n});\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,oCCCd,OAAS,YAAYA,MAAwB,oCAC7C,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAGxD,IAAMC,EAAS,CAAC,EAEHC,EAAWC,EAAgB,CACpC,aAAcC,EAAiB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,kBAClE,CAAC",
|
|
6
|
+
"names": ["BoardRowElement", "React", "createComponent", "events", "BoardRow", "createComponent", "BoardRowElement", "React"]
|
|
7
|
+
}
|
package/Chart.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
export * from './generated/Chart.js';
|
|
12
|
+
//# sourceMappingURL=Chart.d.ts.map
|
package/Chart.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chart.d.ts","sourceRoot":"","sources":["src/Chart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,sBAAsB,CAAC"}
|
package/Chart.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/charts/vaadin-chart.js";import{Chart as e}from"@vaadin/charts/vaadin-chart.js";import*as t from"react";import{createComponent as r}from"./utils/createComponent.js";var a={onChartAddSeries:"chart-add-series",onChartAfterExport:"chart-after-export",onChartAfterPrint:"chart-after-print",onChartBeforeExport:"chart-before-export",onChartBeforePrint:"chart-before-print",onChartClick:"chart-click",onChartDrilldown:"chart-drilldown",onChartDrillup:"chart-drillup",onChartDrillupall:"chart-drillupall",onChartLoad:"chart-load",onChartRedraw:"chart-redraw",onChartSelection:"chart-selection",onPointClick:"point-click",onPointLegendItemClick:"point-legend-item-click",onPointMouseOut:"point-mouse-out",onPointMouseOver:"point-mouse-over",onPointRemove:"point-remove",onPointSelect:"point-select",onPointUnselect:"point-unselect",onPointUpdate:"point-update",onSeriesAfterAnimate:"series-after-animate",onSeriesCheckboxClick:"series-checkbox-click",onSeriesClick:"series-click",onSeriesHide:"series-hide",onSeriesLegendItemClick:"series-legend-item-click",onSeriesMouseOut:"series-mouse-out",onSeriesMouseOver:"series-mouse-over",onSeriesShow:"series-show",onXaxesExtremesSet:"xaxes-extremes-set",onYaxesExtremesSet:"yaxes-extremes-set"},i=r({elementClass:e,events:a,react:t,tagName:"vaadin-chart"});export{i as Chart,e as ChartElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=Chart.js.map
|
package/Chart.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/Chart.ts", "src/generated/Chart.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/charts/vaadin-chart.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nexport * from './generated/Chart.js';\n", "import type { EventName } from \"@lit/react\";\nimport { Chart as ChartElement, type ChartEventMap as _ChartEventMap, } from \"@vaadin/charts/vaadin-chart.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { ChartElement, };\nexport type ChartEventMap = Readonly<{\n onChartAddSeries: EventName<_ChartEventMap[\"chart-add-series\"]>;\n onChartAfterExport: EventName<_ChartEventMap[\"chart-after-export\"]>;\n onChartAfterPrint: EventName<_ChartEventMap[\"chart-after-print\"]>;\n onChartBeforeExport: EventName<_ChartEventMap[\"chart-before-export\"]>;\n onChartBeforePrint: EventName<_ChartEventMap[\"chart-before-print\"]>;\n onChartClick: EventName<_ChartEventMap[\"chart-click\"]>;\n onChartDrilldown: EventName<_ChartEventMap[\"chart-drilldown\"]>;\n onChartDrillup: EventName<_ChartEventMap[\"chart-drillup\"]>;\n onChartDrillupall: EventName<_ChartEventMap[\"chart-drillupall\"]>;\n onChartLoad: EventName<_ChartEventMap[\"chart-load\"]>;\n onChartRedraw: EventName<_ChartEventMap[\"chart-redraw\"]>;\n onChartSelection: EventName<_ChartEventMap[\"chart-selection\"]>;\n onPointClick: EventName<_ChartEventMap[\"point-click\"]>;\n onPointLegendItemClick: EventName<_ChartEventMap[\"point-legend-item-click\"]>;\n onPointMouseOut: EventName<_ChartEventMap[\"point-mouse-out\"]>;\n onPointMouseOver: EventName<_ChartEventMap[\"point-mouse-over\"]>;\n onPointRemove: EventName<_ChartEventMap[\"point-remove\"]>;\n onPointSelect: EventName<_ChartEventMap[\"point-select\"]>;\n onPointUnselect: EventName<_ChartEventMap[\"point-unselect\"]>;\n onPointUpdate: EventName<_ChartEventMap[\"point-update\"]>;\n onSeriesAfterAnimate: EventName<_ChartEventMap[\"series-after-animate\"]>;\n onSeriesCheckboxClick: EventName<_ChartEventMap[\"series-checkbox-click\"]>;\n onSeriesClick: EventName<_ChartEventMap[\"series-click\"]>;\n onSeriesHide: EventName<_ChartEventMap[\"series-hide\"]>;\n onSeriesLegendItemClick: EventName<_ChartEventMap[\"series-legend-item-click\"]>;\n onSeriesMouseOut: EventName<_ChartEventMap[\"series-mouse-out\"]>;\n onSeriesMouseOver: EventName<_ChartEventMap[\"series-mouse-over\"]>;\n onSeriesShow: EventName<_ChartEventMap[\"series-show\"]>;\n onXaxesExtremesSet: EventName<_ChartEventMap[\"xaxes-extremes-set\"]>;\n onYaxesExtremesSet: EventName<_ChartEventMap[\"yaxes-extremes-set\"]>;\n}>;\nconst events = { onChartAddSeries: \"chart-add-series\", onChartAfterExport: \"chart-after-export\", onChartAfterPrint: \"chart-after-print\", onChartBeforeExport: \"chart-before-export\", onChartBeforePrint: \"chart-before-print\", onChartClick: \"chart-click\", onChartDrilldown: \"chart-drilldown\", onChartDrillup: \"chart-drillup\", onChartDrillupall: \"chart-drillupall\", onChartLoad: \"chart-load\", onChartRedraw: \"chart-redraw\", onChartSelection: \"chart-selection\", onPointClick: \"point-click\", onPointLegendItemClick: \"point-legend-item-click\", onPointMouseOut: \"point-mouse-out\", onPointMouseOver: \"point-mouse-over\", onPointRemove: \"point-remove\", onPointSelect: \"point-select\", onPointUnselect: \"point-unselect\", onPointUpdate: \"point-update\", onSeriesAfterAnimate: \"series-after-animate\", onSeriesCheckboxClick: \"series-checkbox-click\", onSeriesClick: \"series-click\", onSeriesHide: \"series-hide\", onSeriesLegendItemClick: \"series-legend-item-click\", onSeriesMouseOut: \"series-mouse-out\", onSeriesMouseOver: \"series-mouse-over\", onSeriesShow: \"series-show\", onXaxesExtremesSet: \"xaxes-extremes-set\", onYaxesExtremesSet: \"yaxes-extremes-set\" } as ChartEventMap;\nexport type ChartProps = WebComponentProps<ChartElement, ChartEventMap>;\nexport const Chart = createComponent({\n elementClass: ChartElement, events, react: React, tagName: \"vaadin-chart\"\n});\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,iCCCd,OAAS,SAASA,MAA2D,iCAC7E,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAkCxD,IAAMC,EAAS,CAAE,iBAAkB,mBAAoB,mBAAoB,qBAAsB,kBAAmB,oBAAqB,oBAAqB,sBAAuB,mBAAoB,qBAAsB,aAAc,cAAe,iBAAkB,kBAAmB,eAAgB,gBAAiB,kBAAmB,mBAAoB,YAAa,aAAc,cAAe,eAAgB,iBAAkB,kBAAmB,aAAc,cAAe,uBAAwB,0BAA2B,gBAAiB,kBAAmB,iBAAkB,mBAAoB,cAAe,eAAgB,cAAe,eAAgB,gBAAiB,iBAAkB,cAAe,eAAgB,qBAAsB,uBAAwB,sBAAuB,wBAAyB,cAAe,eAAgB,aAAc,cAAe,wBAAyB,2BAA4B,iBAAkB,mBAAoB,kBAAmB,oBAAqB,aAAc,cAAe,mBAAoB,qBAAsB,mBAAoB,oBAAqB,EAElmCC,EAAQC,EAAgB,CACjC,aAAcC,EAAc,OAAAH,EAAQ,MAAOI,EAAO,QAAS,cAC/D,CAAC",
|
|
6
|
+
"names": ["ChartElement", "React", "createComponent", "events", "Chart", "createComponent", "ChartElement", "React"]
|
|
7
|
+
}
|
package/ChartSeries.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
import type { HTMLAttributes, ReactElement, RefAttributes } from 'react';
|
|
12
|
+
import { ChartSeriesElement, type ChartSeriesProps as _ChartSeriesProps } from './generated/ChartSeries.js';
|
|
13
|
+
export * from './generated/ChartSeries.js';
|
|
14
|
+
type OmittedChartSeriesHTMLAttributes = Omit<HTMLAttributes<ChartSeriesElement>, 'id' | 'className' | 'dangerouslySetInnerHTML' | 'slot' | 'title'>;
|
|
15
|
+
export type ChartSeriesProps = Partial<Omit<_ChartSeriesProps, keyof OmittedChartSeriesHTMLAttributes>>;
|
|
16
|
+
export declare const ChartSeries: (props: ChartSeriesProps & RefAttributes<ChartSeriesElement>) => ReactElement | null;
|
|
17
|
+
//# sourceMappingURL=ChartSeries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartSeries.d.ts","sourceRoot":"","sources":["src/ChartSeries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EACL,kBAAkB,EAElB,KAAK,gBAAgB,IAAI,iBAAiB,EAC3C,MAAM,4BAA4B,CAAC;AAEpC,cAAc,4BAA4B,CAAC;AAE3C,KAAK,gCAAgC,GAAG,IAAI,CAC1C,cAAc,CAAC,kBAAkB,CAAC,EAClC,IAAI,GAAG,WAAW,GAAG,yBAAyB,GAAG,MAAM,GAAG,OAAO,CAClE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,gCAAgC,CAAC,CAAC,CAAC;AAExG,eAAO,MAAM,WAAW,UACf,gBAAgB,GAAG,cAAc,kBAAkB,CAAC,KACxD,YAAY,GAAG,IAAI,CAAC"}
|
package/ChartSeries.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/charts/vaadin-chart-series.js";import{ChartSeries as t}from"@vaadin/charts/vaadin-chart-series.js";import*as r from"react";import{createComponent as s}from"./utils/createComponent.js";var a={},e=s({elementClass:t,events:a,react:r,tagName:"vaadin-chart-series"});var C=e;export{C as ChartSeries,t as ChartSeriesElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=ChartSeries.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/ChartSeries.ts", "src/generated/ChartSeries.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/charts/vaadin-chart-series.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nimport type { HTMLAttributes, ReactElement, RefAttributes } from 'react';\nimport {\n ChartSeriesElement,\n ChartSeries as _ChartSeries,\n type ChartSeriesProps as _ChartSeriesProps,\n} from './generated/ChartSeries.js';\n\nexport * from './generated/ChartSeries.js';\n\ntype OmittedChartSeriesHTMLAttributes = Omit<\n HTMLAttributes<ChartSeriesElement>,\n 'id' | 'className' | 'dangerouslySetInnerHTML' | 'slot' | 'title'\n>;\n\nexport type ChartSeriesProps = Partial<Omit<_ChartSeriesProps, keyof OmittedChartSeriesHTMLAttributes>>;\n\nexport const ChartSeries = _ChartSeries as (\n props: ChartSeriesProps & RefAttributes<ChartSeriesElement>,\n) => ReactElement | null;\n", "import type {} from \"@lit/react\";\nimport { ChartSeries as ChartSeriesElement, } from \"@vaadin/charts/vaadin-chart-series.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { ChartSeriesElement, };\nexport type ChartSeriesEventMap = Readonly<{}>;\nconst events = {} as ChartSeriesEventMap;\nexport type ChartSeriesProps = WebComponentProps<ChartSeriesElement, ChartSeriesEventMap>;\nexport const ChartSeries = createComponent({\n elementClass: ChartSeriesElement, events, react: React, tagName: \"vaadin-chart-series\"\n});\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,wCCCd,OAAS,eAAeA,MAA2B,wCACnD,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAGxD,IAAMC,EAAS,CAAC,EAEHC,EAAcC,EAAgB,CACvC,aAAcC,EAAoB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,qBACrE,CAAC,EDiBM,IAAMC,EAAcA",
|
|
6
|
+
"names": ["ChartSeriesElement", "React", "createComponent", "events", "ChartSeries", "createComponent", "ChartSeriesElement", "React", "ChartSeries"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
import type { HTMLAttributes, ReactElement, RefAttributes } from 'react';
|
|
12
|
+
import { CookieConsentElement, type CookieConsentProps as _CookieConsentProps } from './generated/CookieConsent.js';
|
|
13
|
+
export * from './generated/CookieConsent.js';
|
|
14
|
+
type OmittedCookieConsentHTMLAttributes = Omit<HTMLAttributes<CookieConsentElement>, 'id' | 'className' | 'dangerouslySetInnerHTML' | 'slot'>;
|
|
15
|
+
export type CookieConsentProps = Partial<Omit<_CookieConsentProps, keyof OmittedCookieConsentHTMLAttributes>>;
|
|
16
|
+
export declare const CookieConsent: (props: CookieConsentProps & RefAttributes<CookieConsentElement>) => ReactElement | null;
|
|
17
|
+
//# sourceMappingURL=CookieConsent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CookieConsent.d.ts","sourceRoot":"","sources":["src/CookieConsent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EACL,oBAAoB,EAEpB,KAAK,kBAAkB,IAAI,mBAAmB,EAC/C,MAAM,8BAA8B,CAAC;AAEtC,cAAc,8BAA8B,CAAC;AAE7C,KAAK,kCAAkC,GAAG,IAAI,CAC5C,cAAc,CAAC,oBAAoB,CAAC,EACpC,IAAI,GAAG,WAAW,GAAG,yBAAyB,GAAG,MAAM,CACxD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,MAAM,kCAAkC,CAAC,CAAC,CAAC;AAE9G,eAAO,MAAM,aAAa,UACjB,kBAAkB,GAAG,cAAc,oBAAoB,CAAC,KAC5D,YAAY,GAAG,IAAI,CAAC"}
|
package/CookieConsent.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/cookie-consent/vaadin-cookie-consent.js";import{CookieConsent as o}from"@vaadin/cookie-consent/vaadin-cookie-consent.js";import*as t from"react";import{createComponent as n}from"./utils/createComponent.js";var s={},e=n({elementClass:o,events:s,react:t,tagName:"vaadin-cookie-consent"});var a=e;export{a as CookieConsent,o as CookieConsentElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=CookieConsent.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/CookieConsent.ts", "src/generated/CookieConsent.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/cookie-consent/vaadin-cookie-consent.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nimport type { HTMLAttributes, ReactElement, RefAttributes } from 'react';\nimport {\n CookieConsentElement,\n CookieConsent as _CookieConsent,\n type CookieConsentProps as _CookieConsentProps,\n} from './generated/CookieConsent.js';\n\nexport * from './generated/CookieConsent.js';\n\ntype OmittedCookieConsentHTMLAttributes = Omit<\n HTMLAttributes<CookieConsentElement>,\n 'id' | 'className' | 'dangerouslySetInnerHTML' | 'slot'\n>;\n\nexport type CookieConsentProps = Partial<Omit<_CookieConsentProps, keyof OmittedCookieConsentHTMLAttributes>>;\n\nexport const CookieConsent = _CookieConsent as (\n props: CookieConsentProps & RefAttributes<CookieConsentElement>,\n) => ReactElement | null;\n", "import type {} from \"@lit/react\";\nimport { CookieConsent as CookieConsentElement, } from \"@vaadin/cookie-consent/vaadin-cookie-consent.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { CookieConsentElement, };\nexport type CookieConsentEventMap = Readonly<{}>;\nconst events = {} as CookieConsentEventMap;\nexport type CookieConsentProps = WebComponentProps<CookieConsentElement, CookieConsentEventMap>;\nexport const CookieConsent = createComponent({\n elementClass: CookieConsentElement, events, react: React, tagName: \"vaadin-cookie-consent\"\n});\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,kDCCd,OAAS,iBAAiBA,MAA6B,kDACvD,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAGxD,IAAMC,EAAS,CAAC,EAEHC,EAAgBC,EAAgB,CACzC,aAAcC,EAAsB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,uBACvE,CAAC,EDiBM,IAAMC,EAAgBA",
|
|
6
|
+
"names": ["CookieConsentElement", "React", "createComponent", "events", "CookieConsent", "createComponent", "CookieConsentElement", "React", "CookieConsent"]
|
|
7
|
+
}
|
package/Crud.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
export * from './generated/Crud.js';
|
|
12
|
+
/**
|
|
13
|
+
* A helper function that allows declaring the value path (or key) on
|
|
14
|
+
* the fields in a custom form of a `<Crud />` component.
|
|
15
|
+
*
|
|
16
|
+
* ### Usage
|
|
17
|
+
*
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <Crud>
|
|
20
|
+
* <FormLayout slot="form">
|
|
21
|
+
* <TextField label="Name" {...crudPath('name')} />
|
|
22
|
+
* </FormLayout>
|
|
23
|
+
* </Crud>
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @param path The path of the particular field's value in the CRUD
|
|
27
|
+
* item objects.
|
|
28
|
+
*
|
|
29
|
+
* @returns object with HTML attribute values recognized on a CRUD form field.
|
|
30
|
+
*/
|
|
31
|
+
export declare function crudPath(path: string): Record<string, string>;
|
|
32
|
+
//# sourceMappingURL=Crud.d.ts.map
|
package/Crud.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Crud.d.ts","sourceRoot":"","sources":["src/Crud.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,qBAAqB,CAAC;AAEpC;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAE7D"}
|
package/Crud.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/crud/vaadin-crud.js";import{Crud as n}from"@vaadin/crud/vaadin-crud.js";import*as t from"react";import{createComponent as a}from"./utils/createComponent.js";var d={onCancel:"cancel",onDelete:"delete",onEdit:"edit",onNew:"new",onSave:"save",onItemsChanged:"items-changed",onEditedItemChanged:"edited-item-changed",onEditorOpenedChanged:"editor-opened-changed",onSizeChanged:"size-changed"},p=a({elementClass:n,events:d,react:t,tagName:"vaadin-crud"});function C(e){return{path:e}}export{p as Crud,n as CrudElement,C as crudPath};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=Crud.js.map
|
package/Crud.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/Crud.ts", "src/generated/Crud.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/crud/vaadin-crud.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nexport * from './generated/Crud.js';\n\n/**\n * A helper function that allows declaring the value path (or key) on\n * the fields in a custom form of a `<Crud />` component.\n *\n * ### Usage\n *\n * ```tsx\n * <Crud>\n * <FormLayout slot=\"form\">\n * <TextField label=\"Name\" {...crudPath('name')} />\n * </FormLayout>\n * </Crud>\n * ```\n *\n * @param path The path of the particular field's value in the CRUD\n * item objects.\n *\n * @returns object with HTML attribute values recognized on a CRUD form field.\n */\nexport function crudPath(path: string): Record<string, string> {\n return { path } as Record<string, string>;\n}\n", "import type { EventName } from \"@lit/react\";\nimport { Crud as CrudElement, type CrudEventMap as _CrudEventMap, } from \"@vaadin/crud/vaadin-crud.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { CrudElement, };\nexport type CrudEventMap<T1> = Readonly<{\n onCancel: EventName<_CrudEventMap<T1>[\"cancel\"]>;\n onDelete: EventName<_CrudEventMap<T1>[\"delete\"]>;\n onEdit: EventName<_CrudEventMap<T1>[\"edit\"]>;\n onNew: EventName<_CrudEventMap<T1>[\"new\"]>;\n onSave: EventName<_CrudEventMap<T1>[\"save\"]>;\n onItemsChanged: EventName<_CrudEventMap<T1>[\"items-changed\"]>;\n onEditedItemChanged: EventName<_CrudEventMap<T1>[\"edited-item-changed\"]>;\n onEditorOpenedChanged: EventName<_CrudEventMap<T1>[\"editor-opened-changed\"]>;\n onSizeChanged: EventName<_CrudEventMap<T1>[\"size-changed\"]>;\n}>;\nconst events = { onCancel: \"cancel\", onDelete: \"delete\", onEdit: \"edit\", onNew: \"new\", onSave: \"save\", onItemsChanged: \"items-changed\", onEditedItemChanged: \"edited-item-changed\", onEditorOpenedChanged: \"editor-opened-changed\", onSizeChanged: \"size-changed\" } as CrudEventMap<unknown>;\nexport type CrudProps<T1> = WebComponentProps<CrudElement<T1>, CrudEventMap<T1>>;\nexport const Crud = createComponent({\n elementClass: CrudElement, events, react: React, tagName: \"vaadin-crud\"\n}) as <T1>(props: CrudProps<T1> & React.RefAttributes<CrudElement<T1>>) => React.ReactElement | null;\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,8BCCd,OAAS,QAAQA,MAAwD,8BACzE,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAaxD,IAAMC,EAAS,CAAE,SAAU,SAAU,SAAU,SAAU,OAAQ,OAAQ,MAAO,MAAO,OAAQ,OAAQ,eAAgB,gBAAiB,oBAAqB,sBAAuB,sBAAuB,wBAAyB,cAAe,cAAe,EAErPC,EAAOC,EAAgB,CAChC,aAAcC,EAAa,OAAAH,EAAQ,MAAOI,EAAO,QAAS,aAC9D,CAAC,EDYM,SAASC,EAASC,EAAsC,CAC7D,MAAO,CAAE,KAAAA,CAAK,CAChB",
|
|
6
|
+
"names": ["CrudElement", "React", "createComponent", "events", "Crud", "createComponent", "CrudElement", "React", "crudPath", "path"]
|
|
7
|
+
}
|
package/CrudEdit.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
export * from './generated/CrudEdit.js';
|
|
12
|
+
//# sourceMappingURL=CrudEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrudEdit.d.ts","sourceRoot":"","sources":["src/CrudEdit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,yBAAyB,CAAC"}
|
package/CrudEdit.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/crud/vaadin-crud-edit.js";import{CrudEdit as t}from"@vaadin/crud/vaadin-crud-edit.js";import*as e from"react";import{createComponent as o}from"./utils/createComponent.js";var r={onEdit:"edit"},p=o({elementClass:t,events:r,react:e,tagName:"vaadin-crud-edit"});export{p as CrudEdit,t as CrudEditElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=CrudEdit.js.map
|
package/CrudEdit.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/CrudEdit.ts", "src/generated/CrudEdit.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/crud/vaadin-crud-edit.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nexport * from './generated/CrudEdit.js';\n", "import type { EventName } from \"@lit/react\";\nimport { CrudEdit as CrudEditElement, } from \"@vaadin/crud/vaadin-crud-edit.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { CrudEditElement, };\nexport type CrudEditEventMap = Readonly<{\n onEdit: EventName<CustomEvent<unknown>>;\n}>;\nconst events = { onEdit: \"edit\" } as CrudEditEventMap;\nexport type CrudEditProps = WebComponentProps<CrudEditElement, CrudEditEventMap>;\nexport const CrudEdit = createComponent({\n elementClass: CrudEditElement, events, react: React, tagName: \"vaadin-crud-edit\"\n});\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,mCCCd,OAAS,YAAYA,MAAwB,mCAC7C,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAKxD,IAAMC,EAAS,CAAE,OAAQ,MAAO,EAEnBC,EAAWC,EAAgB,CACpC,aAAcC,EAAiB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,kBAClE,CAAC",
|
|
6
|
+
"names": ["CrudEditElement", "React", "createComponent", "events", "CrudEdit", "createComponent", "CrudEditElement", "React"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
export * from './generated/CrudEditColumn.js';
|
|
12
|
+
//# sourceMappingURL=CrudEditColumn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrudEditColumn.d.ts","sourceRoot":"","sources":["src/CrudEditColumn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/crud/vaadin-crud-edit-column.js";import{CrudEditColumn as t}from"@vaadin/crud/vaadin-crud-edit-column.js";import*as o from"react";import{createComponent as e}from"./utils/createComponent.js";var r={},p=e({elementClass:t,events:r,react:o,tagName:"vaadin-crud-edit-column"});export{p as CrudEditColumn,t as CrudEditColumnElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=CrudEditColumn.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/CrudEditColumn.ts", "src/generated/CrudEditColumn.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/crud/vaadin-crud-edit-column.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nexport * from './generated/CrudEditColumn.js';\n", "import type {} from \"@lit/react\";\nimport { CrudEditColumn as CrudEditColumnElement, } from \"@vaadin/crud/vaadin-crud-edit-column.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { CrudEditColumnElement, };\nexport type CrudEditColumnEventMap = Readonly<{}>;\nconst events = {} as CrudEditColumnEventMap;\nexport type CrudEditColumnProps = WebComponentProps<CrudEditColumnElement, CrudEditColumnEventMap>;\nexport const CrudEditColumn = createComponent({\n elementClass: CrudEditColumnElement, events, react: React, tagName: \"vaadin-crud-edit-column\"\n});\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,0CCCd,OAAS,kBAAkBA,MAA8B,0CACzD,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAGxD,IAAMC,EAAS,CAAC,EAEHC,EAAiBC,EAAgB,CAC1C,aAAcC,EAAuB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,yBACxE,CAAC",
|
|
6
|
+
"names": ["CrudEditColumnElement", "React", "createComponent", "events", "CrudEditColumn", "createComponent", "CrudEditColumnElement", "React"]
|
|
7
|
+
}
|
package/GridColumn.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type GridColumnProps<TItem> = Partial<Omit<_GridColumnProps<TItem>, 'chil
|
|
|
17
17
|
headerRenderer?: ComponentType<GridEdgeReactRendererProps<TItem>> | null;
|
|
18
18
|
renderer?: ComponentType<GridBodyReactRendererProps<TItem>> | null;
|
|
19
19
|
}>;
|
|
20
|
-
declare const ForwardedGridColumn: <TItem = any>(props: Partial<Omit<Partial<Omit<import("react").HTMLAttributes<GridColumnElement<TItem>>, "autofocus" | "renderer" | "header" | "path" | "
|
|
20
|
+
declare const ForwardedGridColumn: <TItem = any>(props: Partial<Omit<Partial<Omit<import("react").HTMLAttributes<GridColumnElement<TItem>>, "autofocus" | "renderer" | "header" | "path" | "width" | "flexGrow" | "autoWidth" | "resizable" | "frozen" | "frozenToEnd" | "rowHeader" | "textAlign" | "headerRenderer" | "footerRenderer" | "headerPartName" | "footerPartName"> & {} & Partial<Omit<GridColumnElement<TItem>, keyof HTMLElement>> & {
|
|
21
21
|
autofocus?: boolean | undefined;
|
|
22
22
|
}>, "accessKey" | "dir" | "draggable" | "lang" | "translate" | "prefix" | "role" | "children" | "style" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "autoFocus" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "renderer" | "header" | "headerRenderer" | "footerRenderer">> & Readonly<{
|
|
23
23
|
children?: ComponentType<Readonly<{
|
package/GridFilterColumn.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type GridFilterColumnProps<TItem> = Partial<Omit<_GridFilterColumnProps<T
|
|
|
12
12
|
footerRenderer?: ComponentType<GridEdgeReactRendererProps<TItem>> | null;
|
|
13
13
|
renderer?: ComponentType<GridBodyReactRendererProps<TItem>> | null;
|
|
14
14
|
}>;
|
|
15
|
-
declare const ForwardedGridFilterColumn: <TItem = any>(props: Partial<Omit<Partial<Omit<import("react").HTMLAttributes<GridFilterColumnElement<TItem>>, "autofocus" | "renderer" | "header" | "path" | "
|
|
15
|
+
declare const ForwardedGridFilterColumn: <TItem = any>(props: Partial<Omit<Partial<Omit<import("react").HTMLAttributes<GridFilterColumnElement<TItem>>, "autofocus" | "renderer" | "header" | "path" | "width" | "flexGrow" | "autoWidth" | "resizable" | "frozen" | "frozenToEnd" | "rowHeader" | "textAlign" | "headerRenderer" | "footerRenderer" | "headerPartName" | "footerPartName"> & {} & Partial<Omit<GridFilterColumnElement<TItem>, keyof HTMLElement>> & {
|
|
16
16
|
autofocus?: boolean | undefined;
|
|
17
17
|
}>, "accessKey" | "dir" | "draggable" | "lang" | "translate" | "prefix" | "role" | "children" | "style" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "autoFocus" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "renderer" | "headerRenderer" | "footerRenderer">> & Readonly<{
|
|
18
18
|
children?: ComponentType<Readonly<{
|
package/GridPro.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
10
|
+
*/
|
|
11
|
+
import { type ReactElement, type RefAttributes } from 'react';
|
|
12
|
+
import type { GridProps } from './Grid.js';
|
|
13
|
+
import { type GridProElement, type GridProProps as _GridProProps } from './generated/GridPro.js';
|
|
14
|
+
export * from './generated/GridPro.js';
|
|
15
|
+
export type GridProProps<TItem> = Partial<Omit<_GridProProps<TItem>, 'rowDetailsRenderer'>> & Readonly<{
|
|
16
|
+
rowDetailsRenderer?: GridProps<TItem>['rowDetailsRenderer'];
|
|
17
|
+
}>;
|
|
18
|
+
declare const ForwardedGridPro: <TItem = any>(props: Partial<Omit<Partial<import("./utils/createComponent.js").ThemedWebComponentProps<GridProElement<TItem>, Readonly<{
|
|
19
|
+
onActiveItemChanged: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridActiveItemChangedEvent<TItem>>;
|
|
20
|
+
onCellActivate: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridCellActivateEvent<TItem>>;
|
|
21
|
+
onColumnResize: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridColumnResizeEvent<TItem>>;
|
|
22
|
+
onExpandedItemsChanged: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridExpandedItemsChangedEvent<TItem>>;
|
|
23
|
+
onLoadingChanged: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridLoadingChangedEvent>;
|
|
24
|
+
onSelectedItemsChanged: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridSelectedItemsChangedEvent<TItem>>;
|
|
25
|
+
onCellFocus: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridCellFocusEvent<TItem>>;
|
|
26
|
+
onColumnReorder: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridColumnReorderEvent<TItem>>;
|
|
27
|
+
onGridDragend: import("@lit/react").EventName<Event>;
|
|
28
|
+
onGridDragstart: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridDragStartEvent<TItem>>;
|
|
29
|
+
onGridDrop: import("@lit/react").EventName<import("@vaadin/grid/src/vaadin-grid-mixin.js").GridDropEvent<TItem>>;
|
|
30
|
+
onCellEditStarted: import("@lit/react").EventName<import("@vaadin/grid-pro/src/vaadin-grid-pro.js").GridProCellEditStartedEvent<TItem>>;
|
|
31
|
+
onItemPropertyChanged: import("@lit/react").EventName<import("@vaadin/grid-pro/src/vaadin-grid-pro.js").GridProItemPropertyChangedEvent<TItem>>;
|
|
32
|
+
onSizeChanged: import("@lit/react").EventName<CustomEvent<unknown>>;
|
|
33
|
+
onDataProviderChanged: import("@lit/react").EventName<CustomEvent<unknown>>;
|
|
34
|
+
onEnterNextRowChanged: import("@lit/react").EventName<CustomEvent<unknown>>;
|
|
35
|
+
onSingleCellEditChanged: import("@lit/react").EventName<CustomEvent<unknown>>;
|
|
36
|
+
}>>>, "rowDetailsRenderer">> & Readonly<{
|
|
37
|
+
rowDetailsRenderer?: import("react").ComponentType<Readonly<{
|
|
38
|
+
item: TItem;
|
|
39
|
+
model: import("@vaadin/grid/src/vaadin-grid-mixin.js").GridItemModel<TItem>;
|
|
40
|
+
original: import("@vaadin/grid/src/vaadin-grid.js").Grid<TItem>;
|
|
41
|
+
}>> | null | undefined;
|
|
42
|
+
}> & RefAttributes<GridProElement<TItem>>) => ReactElement | null;
|
|
43
|
+
export { ForwardedGridPro as GridPro };
|
|
44
|
+
//# sourceMappingURL=GridPro.d.ts.map
|
package/GridPro.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridPro.d.ts","sourceRoot":"","sources":["src/GridPro.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAiC,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,KAAK,EAAmB,SAAS,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,YAAY,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGtH,cAAc,wBAAwB,CAAC;AAEvC,MAAM,MAAM,YAAY,CAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,oBAAoB,CAAC,CAAC,GACzF,QAAQ,CAAC;IACP,kBAAkB,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,oBAAoB,CAAC,CAAC;CAC7D,CAAC,CAAC;AAgBL,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;8CAEjB,YAAY,GAAG,IAAI,CAAC;AAEzB,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}
|
package/GridPro.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export*from"@vaadin/grid-pro/vaadin-grid-pro.js";import{forwardRef as l}from"react";import{GridPro as d}from"@vaadin/grid-pro/vaadin-grid-pro.js";import*as a from"react";import{createComponent as i}from"./utils/createComponent.js";var m={onActiveItemChanged:"active-item-changed",onCellActivate:"cell-activate",onColumnResize:"column-resize",onExpandedItemsChanged:"expanded-items-changed",onLoadingChanged:"loading-changed",onSelectedItemsChanged:"selected-items-changed",onCellFocus:"cell-focus",onColumnReorder:"column-reorder",onGridDragend:"grid-dragend",onGridDragstart:"grid-dragstart",onGridDrop:"grid-drop",onCellEditStarted:"cell-edit-started",onItemPropertyChanged:"item-property-changed",onSizeChanged:"size-changed",onDataProviderChanged:"data-provider-changed",onEnterNextRowChanged:"enter-next-row-changed",onSingleCellEditChanged:"single-cell-edit-changed"},r=i({elementClass:d,events:m,react:a,tagName:"vaadin-grid-pro"});import{useModelRenderer as p}from"./renderers/useModelRenderer.js";import{jsxs as E}from"react/jsx-runtime";function s(e,t){let[n,o]=p(e.rowDetailsRenderer);return E(r,{...e,ref:t,rowDetailsRenderer:o,children:[e.children,n]})}var h=l(s);export{h as GridPro,d as GridProElement};
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
5
|
+
*
|
|
6
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
10
|
+
* license.
|
|
11
|
+
*/
|
|
12
|
+
//# sourceMappingURL=GridPro.js.map
|
package/GridPro.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/GridPro.tsx", "src/generated/GridPro.ts"],
|
|
4
|
+
"sourcesContent": ["export * from \"@vaadin/grid-pro/vaadin-grid-pro.js\";\n/**\n * @license\n * Copyright (c) 2000 - 2024 Vaadin Ltd.\n *\n * This program is available under Vaadin Commercial License and Service Terms.\n *\n *\n * See https://vaadin.com/commercial-license-and-service-terms for the full\n * license.\n */\nimport { type ForwardedRef, forwardRef, type ReactElement, type RefAttributes } from 'react';\nimport type { GridDefaultItem, GridProps } from './Grid.js';\nimport { GridPro as _GridPro, type GridProElement, type GridProProps as _GridProProps } from './generated/GridPro.js';\nimport { useModelRenderer } from './renderers/useModelRenderer.js';\n\nexport * from './generated/GridPro.js';\n\nexport type GridProProps<TItem> = Partial<Omit<_GridProProps<TItem>, 'rowDetailsRenderer'>> &\n Readonly<{\n rowDetailsRenderer?: GridProps<TItem>['rowDetailsRenderer'];\n }>;\n\nfunction GridPro<TItem = GridDefaultItem>(\n props: GridProProps<TItem>,\n ref: ForwardedRef<GridProElement<TItem>>,\n): ReactElement | null {\n const [portals, rowDetailsRenderer] = useModelRenderer(props.rowDetailsRenderer);\n\n return (\n <_GridPro<TItem> {...props} ref={ref} rowDetailsRenderer={rowDetailsRenderer}>\n {props.children}\n {portals}\n </_GridPro>\n );\n}\n\nconst ForwardedGridPro = forwardRef(GridPro) as <TItem = GridDefaultItem>(\n props: GridProProps<TItem> & RefAttributes<GridProElement<TItem>>,\n) => ReactElement | null;\n\nexport { ForwardedGridPro as GridPro };\n", "import type { EventName } from \"@lit/react\";\nimport { GridPro as GridProElement, type GridProEventMap as _GridProEventMap, } from \"@vaadin/grid-pro/vaadin-grid-pro.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { GridProElement, };\nexport type GridProEventMap<T1> = Readonly<{\n onActiveItemChanged: EventName<_GridProEventMap<T1>[\"active-item-changed\"]>;\n onCellActivate: EventName<_GridProEventMap<T1>[\"cell-activate\"]>;\n onColumnResize: EventName<_GridProEventMap<T1>[\"column-resize\"]>;\n onExpandedItemsChanged: EventName<_GridProEventMap<T1>[\"expanded-items-changed\"]>;\n onLoadingChanged: EventName<_GridProEventMap<T1>[\"loading-changed\"]>;\n onSelectedItemsChanged: EventName<_GridProEventMap<T1>[\"selected-items-changed\"]>;\n onCellFocus: EventName<_GridProEventMap<T1>[\"cell-focus\"]>;\n onColumnReorder: EventName<_GridProEventMap<T1>[\"column-reorder\"]>;\n onGridDragend: EventName<_GridProEventMap<T1>[\"grid-dragend\"]>;\n onGridDragstart: EventName<_GridProEventMap<T1>[\"grid-dragstart\"]>;\n onGridDrop: EventName<_GridProEventMap<T1>[\"grid-drop\"]>;\n onCellEditStarted: EventName<_GridProEventMap<T1>[\"cell-edit-started\"]>;\n onItemPropertyChanged: EventName<_GridProEventMap<T1>[\"item-property-changed\"]>;\n onSizeChanged: EventName<CustomEvent<unknown>>;\n onDataProviderChanged: EventName<CustomEvent<unknown>>;\n onEnterNextRowChanged: EventName<CustomEvent<unknown>>;\n onSingleCellEditChanged: EventName<CustomEvent<unknown>>;\n}>;\nconst events = { onActiveItemChanged: \"active-item-changed\", onCellActivate: \"cell-activate\", onColumnResize: \"column-resize\", onExpandedItemsChanged: \"expanded-items-changed\", onLoadingChanged: \"loading-changed\", onSelectedItemsChanged: \"selected-items-changed\", onCellFocus: \"cell-focus\", onColumnReorder: \"column-reorder\", onGridDragend: \"grid-dragend\", onGridDragstart: \"grid-dragstart\", onGridDrop: \"grid-drop\", onCellEditStarted: \"cell-edit-started\", onItemPropertyChanged: \"item-property-changed\", onSizeChanged: \"size-changed\", onDataProviderChanged: \"data-provider-changed\", onEnterNextRowChanged: \"enter-next-row-changed\", onSingleCellEditChanged: \"single-cell-edit-changed\" } as GridProEventMap<unknown>;\nexport type GridProProps<T1> = WebComponentProps<GridProElement<T1>, GridProEventMap<T1>>;\nexport const GridPro = createComponent({\n elementClass: GridProElement, events, react: React, tagName: \"vaadin-grid-pro\"\n}) as <T1>(props: GridProProps<T1> & React.RefAttributes<GridProElement<T1>>) => React.ReactElement | null;\n"],
|
|
5
|
+
"mappings": "AAAA,WAAc,sCAWd,OAA4B,cAAAA,MAAyD,QCVrF,OAAS,WAAWC,MAAiE,sCACrF,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAqBxD,IAAMC,EAAS,CAAE,oBAAqB,sBAAuB,eAAgB,gBAAiB,eAAgB,gBAAiB,uBAAwB,yBAA0B,iBAAkB,kBAAmB,uBAAwB,yBAA0B,YAAa,aAAc,gBAAiB,iBAAkB,cAAe,eAAgB,gBAAiB,iBAAkB,WAAY,YAAa,kBAAmB,oBAAqB,sBAAuB,wBAAyB,cAAe,eAAgB,sBAAuB,wBAAyB,sBAAuB,yBAA0B,wBAAyB,0BAA2B,EAEhqBC,EAAUC,EAAgB,CACnC,aAAcC,EAAgB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,iBACjE,CAAC,EDdD,OAAS,oBAAAC,MAAwB,kCAgB7B,eAAAC,MAAA,oBAPJ,SAASC,EACPC,EACAC,EACqB,CACrB,GAAM,CAACC,EAASC,CAAkB,EAAIN,EAAiBG,EAAM,kBAAkB,EAE/E,OACEF,EAACC,EAAA,CAAiB,GAAGC,EAAO,IAAKC,EAAK,mBAAoBE,EACvD,UAAAH,EAAM,SACNE,GACH,CAEJ,CAEA,IAAME,EAAmBC,EAAWN,CAAO",
|
|
6
|
+
"names": ["forwardRef", "GridProElement", "React", "createComponent", "events", "GridPro", "createComponent", "GridProElement", "React", "useModelRenderer", "jsxs", "GridPro", "props", "ref", "portals", "rowDetailsRenderer", "ForwardedGridPro", "forwardRef"]
|
|
7
|
+
}
|