@vaadin/react-components 24.4.0-beta1 → 24.4.0-beta3
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/LICENSE +201 -0
- package/README.md +1 -1
- package/generated/GridColumnGroup.d.ts +1 -1
- package/index.d.ts +0 -12
- package/index.js +0 -12
- package/package.json +59 -126
- package/utils/createComponent.js +1 -1
- package/utils/createComponent.js.map +1 -1
- package/Board.d.ts +0 -12
- package/Board.d.ts.map +0 -1
- package/Board.js +0 -12
- package/Board.js.map +0 -7
- package/BoardRow.d.ts +0 -12
- package/BoardRow.d.ts.map +0 -1
- package/BoardRow.js +0 -12
- package/BoardRow.js.map +0 -7
- package/Chart.d.ts +0 -12
- package/Chart.d.ts.map +0 -1
- package/Chart.js +0 -12
- package/Chart.js.map +0 -7
- package/ChartSeries.d.ts +0 -17
- package/ChartSeries.d.ts.map +0 -1
- package/ChartSeries.js +0 -12
- package/ChartSeries.js.map +0 -7
- package/CookieConsent.d.ts +0 -17
- package/CookieConsent.d.ts.map +0 -1
- package/CookieConsent.js +0 -12
- package/CookieConsent.js.map +0 -7
- package/Crud.d.ts +0 -32
- package/Crud.d.ts.map +0 -1
- package/Crud.js +0 -12
- package/Crud.js.map +0 -7
- package/CrudEdit.d.ts +0 -12
- package/CrudEdit.d.ts.map +0 -1
- package/CrudEdit.js +0 -12
- package/CrudEdit.js.map +0 -7
- package/CrudEditColumn.d.ts +0 -12
- package/CrudEditColumn.d.ts.map +0 -1
- package/CrudEditColumn.js +0 -12
- package/CrudEditColumn.js.map +0 -7
- package/GridPro.d.ts +0 -20
- package/GridPro.d.ts.map +0 -1
- package/GridPro.js +0 -12
- package/GridPro.js.map +0 -7
- package/GridProEditColumn.d.ts +0 -25
- package/GridProEditColumn.d.ts.map +0 -1
- package/GridProEditColumn.js +0 -12
- package/GridProEditColumn.js.map +0 -7
- package/Map.d.ts +0 -12
- package/Map.d.ts.map +0 -1
- package/Map.js +0 -12
- package/Map.js.map +0 -7
- package/RichTextEditor.d.ts +0 -12
- package/RichTextEditor.d.ts.map +0 -1
- package/RichTextEditor.js +0 -12
- package/RichTextEditor.js.map +0 -7
- package/generated/Board.d.ts +0 -11
- package/generated/Board.d.ts.map +0 -1
- package/generated/BoardRow.d.ts +0 -11
- package/generated/BoardRow.d.ts.map +0 -1
- package/generated/Chart.d.ts +0 -72
- package/generated/Chart.d.ts.map +0 -1
- package/generated/ChartSeries.d.ts +0 -11
- package/generated/ChartSeries.d.ts.map +0 -1
- package/generated/CookieConsent.d.ts +0 -11
- package/generated/CookieConsent.d.ts.map +0 -1
- package/generated/Crud.d.ts +0 -20
- package/generated/Crud.d.ts.map +0 -1
- package/generated/CrudEdit.d.ts +0 -14
- package/generated/CrudEdit.d.ts.map +0 -1
- package/generated/CrudEditColumn.d.ts +0 -11
- package/generated/CrudEditColumn.d.ts.map +0 -1
- package/generated/GridPro.d.ts +0 -28
- package/generated/GridPro.d.ts.map +0 -1
- package/generated/GridProEditColumn.d.ts +0 -12
- package/generated/GridProEditColumn.d.ts.map +0 -1
- package/generated/Map.d.ts +0 -9
- package/generated/Map.d.ts.map +0 -1
- package/generated/RichTextEditor.d.ts +0 -18
- package/generated/RichTextEditor.d.ts.map +0 -1
package/Board.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
package/BoardRow.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BoardRow.d.ts","sourceRoot":"","sources":["src/BoardRow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,yBAAyB,CAAC"}
|
package/BoardRow.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chart.d.ts","sourceRoot":"","sources":["src/Chart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,sBAAsB,CAAC"}
|
package/Chart.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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
|
package/ChartSeries.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
package/ChartSeries.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/CookieConsent.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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
|
package/CookieConsent.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
package/CookieConsent.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
package/CrudEdit.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CrudEdit.d.ts","sourceRoot":"","sources":["src/CrudEdit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,yBAAyB,CAAC"}
|
package/CrudEdit.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/CrudEditColumn.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
package/CrudEditColumn.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CrudEditColumn.d.ts","sourceRoot":"","sources":["src/CrudEditColumn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,+BAA+B,CAAC"}
|
package/CrudEditColumn.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
package/CrudEditColumn.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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/GridPro.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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: GridProProps<TItem> & RefAttributes<GridProElement<TItem>>) => ReactElement | null;
|
|
19
|
-
export { ForwardedGridPro as GridPro };
|
|
20
|
-
//# sourceMappingURL=GridPro.d.ts.map
|
package/GridPro.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,uBACb,aAAa,KAAK,CAAC,GAAG,cAAc,eAAe,KAAK,CAAC,CAAC,KAC9D,YAAY,GAAG,IAAI,CAAC;AAEzB,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}
|
package/GridPro.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/GridProEditColumn.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type ReactElement, type ReactNode, type RefAttributes } from 'react';
|
|
2
|
-
import type { GridColumnProps } from './GridColumn.js';
|
|
3
|
-
import { type GridProEditColumnElement, type GridProEditColumnProps as _GridProEditColumnProps } from './generated/GridProEditColumn.js';
|
|
4
|
-
import type { OmittedGridColumnHTMLAttributes } from './GridColumn.js';
|
|
5
|
-
export * from './generated/GridProEditColumn.js';
|
|
6
|
-
type GridColumnRenderer<TItem> = GridColumnProps<TItem>['renderer'];
|
|
7
|
-
type GridColumnHeaderFooterRenderer<TItem> = GridColumnProps<TItem>['footerRenderer'];
|
|
8
|
-
export type GridProEditColumnProps<TItem> = Partial<Omit<_GridProEditColumnProps<TItem>, 'children' | 'editModeRenderer' | 'footerRenderer' | 'header' | 'headerRenderer' | 'renderer' | keyof OmittedGridColumnHTMLAttributes<TItem>>> & Readonly<{
|
|
9
|
-
children?: GridColumnRenderer<TItem>;
|
|
10
|
-
editModeRenderer?: GridColumnRenderer<TItem>;
|
|
11
|
-
footer?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Use `footer` instead.
|
|
14
|
-
*/
|
|
15
|
-
footerRenderer?: GridColumnHeaderFooterRenderer<TItem>;
|
|
16
|
-
header?: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated Use `header` instead.
|
|
19
|
-
*/
|
|
20
|
-
headerRenderer?: GridColumnHeaderFooterRenderer<TItem>;
|
|
21
|
-
renderer?: GridColumnRenderer<TItem>;
|
|
22
|
-
}>;
|
|
23
|
-
declare const ForwardedGridProEditColumn: <TItem = any>(props: GridProEditColumnProps<TItem> & RefAttributes<GridProEditColumnElement<TItem>>) => ReactElement | null;
|
|
24
|
-
export { ForwardedGridProEditColumn as GridProEditColumn };
|
|
25
|
-
//# sourceMappingURL=GridProEditColumn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GridProEditColumn.d.ts","sourceRoot":"","sources":["src/GridProEditColumn.tsx"],"names":[],"mappings":"AAWA,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,aAAa,EAEnB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAqB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,IAAI,uBAAuB,EACvD,MAAM,kCAAkC,CAAC;AAG1C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAEvE,cAAc,kCAAkC,CAAC;AAEjD,KAAK,kBAAkB,CAAC,KAAK,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;AACpE,KAAK,8BAA8B,CAAC,KAAK,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC,gBAAgB,CAAC,CAAC;AAEtF,MAAM,MAAM,sBAAsB,CAAC,KAAK,IAAI,OAAO,CACjD,IAAI,CACF,uBAAuB,CAAC,KAAK,CAAC,EAC5B,UAAU,GACV,kBAAkB,GAClB,gBAAgB,GAChB,QAAQ,GACR,gBAAgB,GAChB,UAAU,GACV,MAAM,+BAA+B,CAAC,KAAK,CAAC,CAC/C,CACF,GACC,QAAQ,CAAC;IACP,QAAQ,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACrC,gBAAgB,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAC7C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,8BAA8B,CAAC,KAAK,CAAC,CAAC;IACvD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,8BAA8B,CAAC,KAAK,CAAC,CAAC;IACvD,QAAQ,CAAC,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;CACtC,CAAC,CAAC;AAwGL,QAAA,MAAM,0BAA0B,uBACvB,uBAAuB,KAAK,CAAC,GAAG,cAAc,yBAAyB,KAAK,CAAC,CAAC,KAClF,YAAY,GAAG,IAAI,CAAC;AAEzB,OAAO,EAAE,0BAA0B,IAAI,iBAAiB,EAAE,CAAC"}
|
package/GridProEditColumn.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export*from"@vaadin/grid-pro/vaadin-grid-pro-edit-column.js";import"react";import{forwardRef as y,createElement as I}from"react";import{GridProEditColumn as f}from"@vaadin/grid-pro/vaadin-grid-pro-edit-column.js";import*as _ from"react";import{createComponent as c}from"./utils/createComponent.js";var T={onEditorTypeChanged:"editor-type-changed"},i=c({elementClass:f,events:T,react:_,tagName:"vaadin-grid-pro-edit-column"});import{useModelRenderer as m}from"./renderers/useModelRenderer.js";import{useSimpleOrChildrenRenderer as l}from"./renderers/useSimpleOrChildrenRenderer.js";import{jsxs as M}from"react/jsx-runtime";function a(e){if(e)return e.__wrapperRenderer||=function(r){return"__renderEmpty"in r.model?null:I(e,r)},e.__wrapperRenderer}function u(e){if(e)return e.__wrapperRenderer||=(o,r,t)=>{r.__originalClearCellContent||(r.__originalClearCellContent=r._clearCellContent,r._clearCellContent=n=>{let d=n._content;d.__editColumnRenderer?.(d,r,Object.assign({},t,{__renderEmpty:!0})),r.__originalClearCellContent?.(n)}),o.__editColumnRenderer=e,e(o,r,t)},e.__wrapperRenderer}function h({children:e,footer:o,header:r,...t},n){let[d,C]=m(a(t.editModeRenderer),{renderSync:!0}),[p,R]=l(t.headerRenderer,r,{renderSync:!0}),[E,G]=l(t.footerRenderer,o,{renderSync:!0}),[s,P]=m(a(t.renderer??e),{renderSync:!0});return M(i,{...t,editModeRenderer:u(C),footerRenderer:G,headerRenderer:R,ref:n,renderer:u(P),children:[d,p,E,s]})}var O=y(h);export{O as GridProEditColumn,f as GridProEditColumnElement};
|
|
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=GridProEditColumn.js.map
|
package/GridProEditColumn.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["src/GridProEditColumn.tsx", "src/generated/GridProEditColumn.ts"],
|
|
4
|
-
"sourcesContent": ["export * from \"@vaadin/grid-pro/vaadin-grid-pro-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 */\nimport React from 'react';\nimport {\n type ForwardedRef,\n forwardRef,\n type ReactElement,\n type ReactNode,\n type RefAttributes,\n createElement,\n} from 'react';\nimport type { GridBodyRenderer, GridDefaultItem } from './Grid.js';\nimport type { GridColumnElement, GridColumnProps } from './GridColumn.js';\nimport {\n GridProEditColumn as _GridProEditColumn,\n type GridProEditColumnElement,\n type GridProEditColumnProps as _GridProEditColumnProps,\n} from './generated/GridProEditColumn.js';\nimport { useModelRenderer } from './renderers/useModelRenderer.js';\nimport { useSimpleOrChildrenRenderer } from './renderers/useSimpleOrChildrenRenderer.js';\nimport type { OmittedGridColumnHTMLAttributes } from './GridColumn.js';\n\nexport * from './generated/GridProEditColumn.js';\n\ntype GridColumnRenderer<TItem> = GridColumnProps<TItem>['renderer'];\ntype GridColumnHeaderFooterRenderer<TItem> = GridColumnProps<TItem>['footerRenderer'];\n\nexport type GridProEditColumnProps<TItem> = Partial<\n Omit<\n _GridProEditColumnProps<TItem>,\n | 'children'\n | 'editModeRenderer'\n | 'footerRenderer'\n | 'header'\n | 'headerRenderer'\n | 'renderer'\n | keyof OmittedGridColumnHTMLAttributes<TItem>\n >\n> &\n Readonly<{\n children?: GridColumnRenderer<TItem>;\n editModeRenderer?: GridColumnRenderer<TItem>;\n footer?: ReactNode;\n /**\n * @deprecated Use `footer` instead.\n */\n footerRenderer?: GridColumnHeaderFooterRenderer<TItem>;\n header?: ReactNode;\n /**\n * @deprecated Use `header` instead.\n */\n headerRenderer?: GridColumnHeaderFooterRenderer<TItem>;\n renderer?: GridColumnRenderer<TItem>;\n }>;\n\ntype ReactBodyRenderer<TItem> = GridColumnRenderer<TItem> & {\n __wrapperRenderer?: ReactBodyRenderer<TItem>;\n};\n\ntype EditColumnRendererRoot = HTMLElement & { __editColumnRenderer?: GridBodyRenderer };\n\ntype ClearFunction = (arg0: HTMLElement & { _content: EditColumnRendererRoot }) => void;\n\n/**\n * Wraps a React renderer function to render empty when requested\n *\n * @returns\n */\nfunction editColumnReactRenderer<TItem>(reactBodyRenderer?: ReactBodyRenderer<TItem> | null) {\n if (!reactBodyRenderer) {\n return undefined;\n }\n\n reactBodyRenderer.__wrapperRenderer ||= function GridProEditColumnRenderer(props) {\n // If the model has __renderEmpty set, return null, otherwise call the original renderer\n return '__renderEmpty' in props.model ? null : createElement(reactBodyRenderer, props);\n };\n\n return reactBodyRenderer.__wrapperRenderer;\n}\n\n/**\n * Wraps a Grid body renderer function to make it request empty render before\n * the GridPro edit column clears cell content.\n */\nfunction editColumnRenderer(bodyRenderer?: (GridBodyRenderer & { __wrapperRenderer?: GridBodyRenderer }) | null) {\n if (!bodyRenderer) {\n return undefined;\n }\n\n bodyRenderer.__wrapperRenderer ||= (\n root: EditColumnRendererRoot,\n column: GridColumnElement & {\n __originalClearCellContent?: ClearFunction;\n _clearCellContent?: ClearFunction;\n },\n model,\n ) => {\n // Patch the column's _clearCellContent function which is called internally by grid-pro\n // when switching from edit mode to view mode and vice versa\n if (!column.__originalClearCellContent) {\n column.__originalClearCellContent = column._clearCellContent;\n\n column._clearCellContent = (cell) => {\n const cellRoot = cell._content;\n // Call the original renderer with __renderEmpty set to true to clear the content it manages\n cellRoot.__editColumnRenderer?.(cellRoot, column, Object.assign({}, model, { __renderEmpty: true }));\n // Call the original clearCellContent function to manually clear the cell content\n column.__originalClearCellContent?.(cell);\n };\n }\n\n // Update the cell content's renderer reference so that the correct one is used\n // to render empty when the cell is cleared\n root.__editColumnRenderer = bodyRenderer;\n\n // Call the original renderer\n bodyRenderer(root, column, model);\n };\n\n return bodyRenderer.__wrapperRenderer;\n}\n\nfunction GridProEditColumn<TItem = GridDefaultItem>(\n { children, footer, header, ...props }: GridProEditColumnProps<TItem>,\n ref: ForwardedRef<GridProEditColumnElement<TItem>>,\n): ReactElement | null {\n const [editModePortals, editModeRenderer] = useModelRenderer(editColumnReactRenderer(props.editModeRenderer), {\n renderSync: true,\n });\n const [headerPortals, headerRenderer] = useSimpleOrChildrenRenderer(props.headerRenderer, header, {\n renderSync: true,\n });\n const [footerPortals, footerRenderer] = useSimpleOrChildrenRenderer(props.footerRenderer, footer, {\n renderSync: true,\n });\n const [bodyPortals, bodyRenderer] = useModelRenderer(editColumnReactRenderer(props.renderer ?? children), {\n renderSync: true,\n });\n\n return (\n <_GridProEditColumn<TItem>\n {...props}\n editModeRenderer={editColumnRenderer(editModeRenderer)}\n footerRenderer={footerRenderer}\n headerRenderer={headerRenderer}\n ref={ref}\n renderer={editColumnRenderer(bodyRenderer)}\n >\n {editModePortals}\n {headerPortals}\n {footerPortals}\n {bodyPortals}\n </_GridProEditColumn>\n );\n}\n\nconst ForwardedGridProEditColumn = forwardRef(GridProEditColumn) as <TItem = GridDefaultItem>(\n props: GridProEditColumnProps<TItem> & RefAttributes<GridProEditColumnElement<TItem>>,\n) => ReactElement | null;\n\nexport { ForwardedGridProEditColumn as GridProEditColumn };\n", "import type { EventName } from \"@lit/react\";\nimport { GridProEditColumn as GridProEditColumnElement, } from \"@vaadin/grid-pro/vaadin-grid-pro-edit-column.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { GridProEditColumnElement, };\nexport type GridProEditColumnEventMap<T1> = Readonly<{\n onEditorTypeChanged: EventName<CustomEvent<unknown>>;\n}>;\nconst events = { onEditorTypeChanged: \"editor-type-changed\" } as GridProEditColumnEventMap<unknown>;\nexport type GridProEditColumnProps<T1> = WebComponentProps<GridProEditColumnElement<T1>, GridProEditColumnEventMap<T1>>;\nexport const GridProEditColumn = createComponent({\n elementClass: GridProEditColumnElement, events, react: React, tagName: \"vaadin-grid-pro-edit-column\"\n}) as <T1>(props: GridProEditColumnProps<T1> & React.RefAttributes<GridProEditColumnElement<T1>>) => React.ReactElement | null;\n"],
|
|
5
|
-
"mappings": "AAAA,WAAc,kDAWd,MAAkB,QAClB,OAEE,cAAAA,EAIA,iBAAAC,MACK,QClBP,OAAS,qBAAqBC,MAAiC,kDAC/D,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAKxD,IAAMC,EAAS,CAAE,oBAAqB,qBAAsB,EAE/CC,EAAoBC,EAAgB,CAC7C,aAAcC,EAA0B,OAAAH,EAAQ,MAAOI,EAAO,QAAS,6BAC3E,CAAC,EDeD,OAAS,oBAAAC,MAAwB,kCACjC,OAAS,+BAAAC,MAAmC,6CA0HxC,eAAAC,MAAA,oBAzEJ,SAASC,EAA+BC,EAAqD,CAC3F,GAAKA,EAIL,OAAAA,EAAkB,oBAAsB,SAAmCC,EAAO,CAEhF,MAAO,kBAAmBA,EAAM,MAAQ,KAAOC,EAAcF,EAAmBC,CAAK,CACvF,EAEOD,EAAkB,iBAC3B,CAMA,SAASG,EAAmBC,EAAqF,CAC/G,GAAKA,EAIL,OAAAA,EAAa,oBAAsB,CACjCC,EACAC,EAIAC,IACG,CAGED,EAAO,6BACVA,EAAO,2BAA6BA,EAAO,kBAE3CA,EAAO,kBAAqBE,GAAS,CACnC,IAAMC,EAAWD,EAAK,SAEtBC,EAAS,uBAAuBA,EAAUH,EAAQ,OAAO,OAAO,CAAC,EAAGC,EAAO,CAAE,cAAe,EAAK,CAAC,CAAC,EAEnGD,EAAO,6BAA6BE,CAAI,CAC1C,GAKFH,EAAK,qBAAuBD,EAG5BA,EAAaC,EAAMC,EAAQC,CAAK,CAClC,EAEOH,EAAa,iBACtB,CAEA,SAASM,EACP,CAAE,SAAAC,EAAU,OAAAC,EAAQ,OAAAC,EAAQ,GAAGZ,CAAM,EACrCa,EACqB,CACrB,GAAM,CAACC,EAAiBC,CAAgB,EAAIpB,EAAiBG,EAAwBE,EAAM,gBAAgB,EAAG,CAC5G,WAAY,EACd,CAAC,EACK,CAACgB,EAAeC,CAAc,EAAIrB,EAA4BI,EAAM,eAAgBY,EAAQ,CAChG,WAAY,EACd,CAAC,EACK,CAACM,EAAeC,CAAc,EAAIvB,EAA4BI,EAAM,eAAgBW,EAAQ,CAChG,WAAY,EACd,CAAC,EACK,CAACS,EAAajB,CAAY,EAAIR,EAAiBG,EAAwBE,EAAM,UAAYU,CAAQ,EAAG,CACxG,WAAY,EACd,CAAC,EAED,OACEb,EAACY,EAAA,CACE,GAAGT,EACJ,iBAAkBE,EAAmBa,CAAgB,EACrD,eAAgBI,EAChB,eAAgBF,EAChB,IAAKJ,EACL,SAAUX,EAAmBC,CAAY,EAExC,UAAAW,EACAE,EACAE,EACAE,GACH,CAEJ,CAEA,IAAMC,EAA6BC,EAAWb,CAAiB",
|
|
6
|
-
"names": ["forwardRef", "createElement", "GridProEditColumnElement", "React", "createComponent", "events", "GridProEditColumn", "createComponent", "GridProEditColumnElement", "React", "useModelRenderer", "useSimpleOrChildrenRenderer", "jsxs", "editColumnReactRenderer", "reactBodyRenderer", "props", "createElement", "editColumnRenderer", "bodyRenderer", "root", "column", "model", "cell", "cellRoot", "GridProEditColumn", "children", "footer", "header", "ref", "editModePortals", "editModeRenderer", "headerPortals", "headerRenderer", "footerPortals", "footerRenderer", "bodyPortals", "ForwardedGridProEditColumn", "forwardRef"]
|
|
7
|
-
}
|
package/Map.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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/Map.js';
|
|
12
|
-
//# sourceMappingURL=Map.d.ts.map
|
package/Map.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["src/Map.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,oBAAoB,CAAC"}
|
package/Map.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export*from"@vaadin/map/vaadin-map.js";import{Map as e}from"@vaadin/map/vaadin-map.js";import*as p from"react";import{createComponent as t}from"./utils/createComponent.js";var o={},m=t({elementClass:e,events:o,react:p,tagName:"vaadin-map"});export{m as Map,e as MapElement};
|
|
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=Map.js.map
|
package/Map.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["src/Map.ts", "src/generated/Map.ts"],
|
|
4
|
-
"sourcesContent": ["export * from \"@vaadin/map/vaadin-map.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/Map.js';\n", "import type {} from \"@lit/react\";\nimport { Map as MapElement, } from \"@vaadin/map/vaadin-map.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { MapElement, };\nexport type MapEventMap = Readonly<{}>;\nconst events = {} as MapEventMap;\nexport type MapProps = WebComponentProps<MapElement, MapEventMap>;\nexport const Map = createComponent({\n elementClass: MapElement, events, react: React, tagName: \"vaadin-map\"\n});\n"],
|
|
5
|
-
"mappings": "AAAA,WAAc,4BCCd,OAAS,OAAOA,MAAmB,4BACnC,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAGxD,IAAMC,EAAS,CAAC,EAEHC,EAAMC,EAAgB,CAC/B,aAAcC,EAAY,OAAAH,EAAQ,MAAOI,EAAO,QAAS,YAC7D,CAAC",
|
|
6
|
-
"names": ["MapElement", "React", "createComponent", "events", "Map", "createComponent", "MapElement", "React"]
|
|
7
|
-
}
|
package/RichTextEditor.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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/RichTextEditor.js';
|
|
12
|
-
//# sourceMappingURL=RichTextEditor.d.ts.map
|
package/RichTextEditor.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["src/RichTextEditor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,+BAA+B,CAAC"}
|
package/RichTextEditor.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export*from"@vaadin/rich-text-editor/vaadin-rich-text-editor.js";import{RichTextEditor as e}from"@vaadin/rich-text-editor/vaadin-rich-text-editor.js";import*as t from"react";import{createComponent as o}from"./utils/createComponent.js";var a={onChange:"change",onValueChanged:"value-changed",onHtmlValueChanged:"html-value-changed"},i=o({elementClass:e,events:a,react:t,tagName:"vaadin-rich-text-editor"});export{i as RichTextEditor,e as RichTextEditorElement};
|
|
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=RichTextEditor.js.map
|
package/RichTextEditor.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["src/RichTextEditor.ts", "src/generated/RichTextEditor.ts"],
|
|
4
|
-
"sourcesContent": ["export * from \"@vaadin/rich-text-editor/vaadin-rich-text-editor.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/RichTextEditor.js';\n", "import type { EventName } from \"@lit/react\";\nimport { RichTextEditor as RichTextEditorElement, type RichTextEditorEventMap as _RichTextEditorEventMap, } from \"@vaadin/rich-text-editor/vaadin-rich-text-editor.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { RichTextEditorElement, };\nexport type RichTextEditorEventMap = Readonly<{\n onChange: EventName<_RichTextEditorEventMap[\"change\"]>;\n onValueChanged: EventName<_RichTextEditorEventMap[\"value-changed\"]>;\n onHtmlValueChanged: EventName<_RichTextEditorEventMap[\"html-value-changed\"]>;\n}>;\nconst events = { onChange: \"change\", onValueChanged: \"value-changed\", onHtmlValueChanged: \"html-value-changed\" } as RichTextEditorEventMap;\nexport type RichTextEditorProps = WebComponentProps<RichTextEditorElement, RichTextEditorEventMap>;\nexport const RichTextEditor = createComponent({\n elementClass: RichTextEditorElement, events, react: React, tagName: \"vaadin-rich-text-editor\"\n});\n"],
|
|
5
|
-
"mappings": "AAAA,WAAc,sDCCd,OAAS,kBAAkBA,MAAsF,sDACjH,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAOxD,IAAMC,EAAS,CAAE,SAAU,SAAU,eAAgB,gBAAiB,mBAAoB,oBAAqB,EAElGC,EAAiBC,EAAgB,CAC1C,aAAcC,EAAuB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,yBACxE,CAAC",
|
|
6
|
-
"names": ["RichTextEditorElement", "React", "createComponent", "events", "RichTextEditor", "createComponent", "RichTextEditorElement", "React"]
|
|
7
|
-
}
|