@sme.up/ketchup-react 10.1.0 → 10.2.0
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/dist/components.d.ts +10 -1
- package/dist/components.js +18 -1
- package/package.json +2 -2
package/dist/components.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was automatically generated by the Stencil React Output Target.
|
|
3
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
4
|
*/
|
|
5
|
-
import { type FCellEventPayload, type FObjectFieldEventPayload, type KupAccordionCustomEvent, type KupAccordionItemSelectedEventPayload, type KupActivityTimelineClickEventPayload, type KupActivityTimelineCustomEvent, type KupAutocompleteCustomEvent, type KupAutocompleteEventPayload, type KupAutocompleteIconClickEventPayload, type KupBadgeCustomEvent, type KupBoxAutoSelectEventPayload, type KupBoxClickEventPayload, type KupBoxContextMenuEventPayload, type KupBoxCustomEvent, type KupBoxLoadMoreClickEventPayload, type KupBoxRowActionClickEventPayload, type KupBoxSelectedEventPayload, type KupButtonClickEventPayload, type KupButtonCustomEvent, type KupButtonListClickEventPayload, type KupButtonListCustomEvent, type KupCalendarCustomEvent, type KupCalendarDateClickEventPayload, type KupCalendarEventClickEventPayload, type KupCalendarEventDropEventPayload, type KupCalendarViewChangeEventPayload, type KupCardClickPayload, type KupCardCustomEvent, type KupCardEventPayload, type KupCardListClickEventPayload, type KupCardListCustomEvent, type KupCellCustomEvent, type KupCellSubmitClickEventPayload, type KupChartClickEvent, type KupChartCustomEvent, type KupCheckboxCustomEvent, type KupCheckboxEventPayload, type KupChipChangeEventPayload, type KupChipCustomEvent, type KupChipEventPayload, type KupColorPickerCustomEvent, type KupColorPickerEventPayload, type KupComboboxCustomEvent, type KupComboboxEventPayload, type KupComboboxIconClickEventPayload, type KupDashboardCustomEvent, type KupDashboardEventPayload, type KupDataTableCustomEvent, type KupDatatableCellCheckPayload, type KupDatatableClickEventPayload, type KupDatatableColumnMenuEventPayload, type KupDatatableColumnMoveEventPayload, type KupDatatableColumnRemoveEventPayload, type KupDatatableDeleteRowEventPayload, type KupDatatableHistoryEventPayload, type KupDatatableInsertRowEventPayload, type KupDatatableLoadMoreClickEventPayload, type KupDatatableRowActionItemClickEventPayload, type KupDatatableRowSelectedEventPayload, type KupDatatableUpdatePayload, type KupDatePickerCustomEvent, type KupDatePickerEventPayload, type KupDialogCustomEvent, type KupDrawerCustomEvent, type KupDropEventPayload, type KupDropdownButtonCustomEvent, type KupDropdownButtonEventPayload, type KupEchartClickEventPayload, type KupEchartCustomEvent, type KupEditorCustomEvent, type KupEditorEventPayload, type KupEventPayload, type KupFamilyTreeCustomEvent, type KupFamilyTreeEventPayload, type KupFormCustomEvent, type KupHtmCustomEvent, type KupIframeCustomEvent, type KupImageClickEventPayload, type KupImageCustomEvent, type KupImageListCustomEvent, type KupImageListEventPayload, type KupInputPanelClickEventPayload, type KupInputPanelCustomEvent, type KupLazyCustomEvent, type KupListCustomEvent, type KupListEventPayload, type KupNavBarCustomEvent, type KupNumericPickerCustomEvent, type KupNumericPickerEventPayload, type KupPdfCustomEvent, type KupPlannerClickEventPayload, type KupPlannerCustomEvent, type KupPlannerEventPayload, type KupPlannerUnloadEventPayload, type KupRadioChangeEventPayload, type KupRadioCustomEvent, type KupRatingClickEventPayload, type KupRatingCustomEvent, type KupSnackbarCustomEvent, type KupSpinnerCustomEvent, type KupSwitchCustomEvent, type KupSwitchEventPayload, type KupTabBarCustomEvent, type KupTabBarEventPayload, type KupTextFieldCustomEvent, type KupTextFieldEventPayload, type KupTimePickerCustomEvent, type KupTimePickerEventPayload, type KupToolbarClickEventPayload, type KupToolbarCustomEvent, type KupToolbarItemClickEventPayload, type KupTreeColumnMenuEventPayload, type KupTreeColumnRemoveEventPayload, type KupTreeContextMenuEventPayload, type KupTreeCustomEvent, type KupTreeDynamicMassExpansionEventPayload, type KupTreeNodeButtonClickEventPayload, type KupTreeNodeCollapseEventPayload, type KupTreeNodeExpandEventPayload, type KupTreeNodeSelectedEventPayload, type KupTxtCustomEvent, type KupTypographyClickEventPayload, type KupTypographyCustomEvent, type KupTypographyIconClickEventPayload, type KupTypographyListClickEventPayload, type KupTypographyListCustomEvent, type KupTypographyListIconClickEventPayload } from "@sme.up/ketchup";
|
|
5
|
+
import { type FCellEventPayload, type FObjectFieldEventPayload, type KupAccordionCustomEvent, type KupAccordionItemSelectedEventPayload, type KupActivityTimelineClickEventPayload, type KupActivityTimelineCustomEvent, type KupAutocompleteCustomEvent, type KupAutocompleteEventPayload, type KupAutocompleteIconClickEventPayload, type KupBadgeCustomEvent, type KupBoxAutoSelectEventPayload, type KupBoxClickEventPayload, type KupBoxContextMenuEventPayload, type KupBoxCustomEvent, type KupBoxLoadMoreClickEventPayload, type KupBoxRowActionClickEventPayload, type KupBoxSelectedEventPayload, type KupButtonClickEventPayload, type KupButtonCustomEvent, type KupButtonListClickEventPayload, type KupButtonListCustomEvent, type KupCalendarCustomEvent, type KupCalendarDateClickEventPayload, type KupCalendarEventClickEventPayload, type KupCalendarEventDropEventPayload, type KupCalendarViewChangeEventPayload, type KupCardClickPayload, type KupCardCustomEvent, type KupCardEventPayload, type KupCardListClickEventPayload, type KupCardListCustomEvent, type KupCellCustomEvent, type KupCellSubmitClickEventPayload, type KupChartClickEvent, type KupChartCustomEvent, type KupCheckboxCustomEvent, type KupCheckboxEventPayload, type KupChipChangeEventPayload, type KupChipCustomEvent, type KupChipEventPayload, type KupColorPickerCustomEvent, type KupColorPickerEventPayload, type KupComboboxCustomEvent, type KupComboboxEventPayload, type KupComboboxIconClickEventPayload, type KupDashboardCustomEvent, type KupDashboardEventPayload, type KupDataTableCustomEvent, type KupDatatableCellCheckPayload, type KupDatatableClickEventPayload, type KupDatatableColumnMenuEventPayload, type KupDatatableColumnMoveEventPayload, type KupDatatableColumnRemoveEventPayload, type KupDatatableDeleteRowEventPayload, type KupDatatableHistoryEventPayload, type KupDatatableInsertRowEventPayload, type KupDatatableLoadMoreClickEventPayload, type KupDatatableRowActionItemClickEventPayload, type KupDatatableRowSelectedEventPayload, type KupDatatableUpdatePayload, type KupDatePickerCustomEvent, type KupDatePickerEventPayload, type KupDialogCustomEvent, type KupDrawerCustomEvent, type KupDropEventPayload, type KupDropdownButtonCustomEvent, type KupDropdownButtonEventPayload, type KupEchartClickEventPayload, type KupEchartCustomEvent, type KupEditorCustomEvent, type KupEditorEventPayload, type KupEventPayload, type KupFamilyTreeCustomEvent, type KupFamilyTreeEventPayload, type KupFileUploadCustomEvent, type KupFileUploadEventPayload, type KupFormCustomEvent, type KupHtmCustomEvent, type KupIframeCustomEvent, type KupImageClickEventPayload, type KupImageCustomEvent, type KupImageListCustomEvent, type KupImageListEventPayload, type KupInputPanelClickEventPayload, type KupInputPanelCustomEvent, type KupLazyCustomEvent, type KupListCustomEvent, type KupListEventPayload, type KupNavBarCustomEvent, type KupNumericPickerCustomEvent, type KupNumericPickerEventPayload, type KupPdfCustomEvent, type KupPlannerClickEventPayload, type KupPlannerCustomEvent, type KupPlannerEventPayload, type KupPlannerUnloadEventPayload, type KupRadioChangeEventPayload, type KupRadioCustomEvent, type KupRatingClickEventPayload, type KupRatingCustomEvent, type KupSnackbarCustomEvent, type KupSpinnerCustomEvent, type KupSwitchCustomEvent, type KupSwitchEventPayload, type KupTabBarCustomEvent, type KupTabBarEventPayload, type KupTextFieldCustomEvent, type KupTextFieldEventPayload, type KupTimePickerCustomEvent, type KupTimePickerEventPayload, type KupToolbarClickEventPayload, type KupToolbarCustomEvent, type KupToolbarItemClickEventPayload, type KupTreeColumnMenuEventPayload, type KupTreeColumnRemoveEventPayload, type KupTreeContextMenuEventPayload, type KupTreeCustomEvent, type KupTreeDynamicMassExpansionEventPayload, type KupTreeNodeButtonClickEventPayload, type KupTreeNodeCollapseEventPayload, type KupTreeNodeExpandEventPayload, type KupTreeNodeSelectedEventPayload, type KupTxtCustomEvent, type KupTypographyClickEventPayload, type KupTypographyCustomEvent, type KupTypographyIconClickEventPayload, type KupTypographyListClickEventPayload, type KupTypographyListCustomEvent, type KupTypographyListIconClickEventPayload } from "@sme.up/ketchup";
|
|
6
6
|
import { KupAccordion as KupAccordionElement } from "@sme.up/ketchup/dist/components/kup-accordion.js";
|
|
7
7
|
import { KupActivityTimeline as KupActivityTimelineElement } from "@sme.up/ketchup/dist/components/kup-activity-timeline.js";
|
|
8
8
|
import { KupAutocomplete as KupAutocompleteElement } from "@sme.up/ketchup/dist/components/kup-autocomplete.js";
|
|
@@ -30,6 +30,7 @@ import { KupDropdownButton as KupDropdownButtonElement } from "@sme.up/ketchup/d
|
|
|
30
30
|
import { KupEchart as KupEchartElement } from "@sme.up/ketchup/dist/components/kup-echart.js";
|
|
31
31
|
import { KupEditor as KupEditorElement } from "@sme.up/ketchup/dist/components/kup-editor.js";
|
|
32
32
|
import { KupFamilyTree as KupFamilyTreeElement } from "@sme.up/ketchup/dist/components/kup-family-tree.js";
|
|
33
|
+
import { KupFileUpload as KupFileUploadElement } from "@sme.up/ketchup/dist/components/kup-file-upload.js";
|
|
33
34
|
import { KupForm as KupFormElement } from "@sme.up/ketchup/dist/components/kup-form.js";
|
|
34
35
|
import { KupGanttCalendar as KupGanttCalendarElement } from "@sme.up/ketchup/dist/components/kup-gantt-calendar.js";
|
|
35
36
|
import { KupGantt as KupGanttElement } from "@sme.up/ketchup/dist/components/kup-gantt.js";
|
|
@@ -142,6 +143,7 @@ type KupCardListEvents = {
|
|
|
142
143
|
export declare const KupCardList: StencilReactComponent<KupCardListElement, KupCardListEvents>;
|
|
143
144
|
type KupCellEvents = {
|
|
144
145
|
onKupCellSubmitClick: EventName<KupCellCustomEvent<KupCellSubmitClickEventPayload>>;
|
|
146
|
+
onKupCellUpload: EventName<KupCellCustomEvent<KupFileUploadEventPayload>>;
|
|
145
147
|
};
|
|
146
148
|
export declare const KupCell: StencilReactComponent<KupCellElement, KupCellEvents>;
|
|
147
149
|
type KupChartEvents = {
|
|
@@ -261,6 +263,11 @@ type KupFamilyTreeEvents = {
|
|
|
261
263
|
onKupFamilytreeDblclick: EventName<KupFamilyTreeCustomEvent<KupFamilyTreeEventPayload>>;
|
|
262
264
|
};
|
|
263
265
|
export declare const KupFamilyTree: StencilReactComponent<KupFamilyTreeElement, KupFamilyTreeEvents>;
|
|
266
|
+
type KupFileUploadEvents = {
|
|
267
|
+
onKupFileUploadReady: EventName<KupFileUploadCustomEvent<KupEventPayload>>;
|
|
268
|
+
onKupFileUploadUpload: EventName<KupFileUploadCustomEvent<KupFileUploadEventPayload>>;
|
|
269
|
+
};
|
|
270
|
+
export declare const KupFileUpload: StencilReactComponent<KupFileUploadElement, KupFileUploadEvents>;
|
|
264
271
|
type KupFormEvents = {
|
|
265
272
|
onKupFormReady: EventName<KupFormCustomEvent<KupEventPayload>>;
|
|
266
273
|
};
|
|
@@ -391,6 +398,7 @@ type KupTabBarEvents = {
|
|
|
391
398
|
onKupTabbarBlur: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
|
|
392
399
|
onKupTabbarClick: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
|
|
393
400
|
onKupTabbarIconclick: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
|
|
401
|
+
onKupTabbarInfoiconclick: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
|
|
394
402
|
onKupTabbarFocus: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
|
|
395
403
|
onKupTabbarItemclick: EventName<KupTabBarCustomEvent<KupToolbarItemClickEventPayload>>;
|
|
396
404
|
};
|
|
@@ -455,6 +463,7 @@ export declare const KupTxt: StencilReactComponent<KupTxtElement, KupTxtEvents>;
|
|
|
455
463
|
type KupTypographyEvents = {
|
|
456
464
|
onKupTypographyIconclick: EventName<KupTypographyCustomEvent<KupTypographyIconClickEventPayload>>;
|
|
457
465
|
onKupTypographyClick: EventName<KupTypographyCustomEvent<KupTypographyClickEventPayload>>;
|
|
466
|
+
onKupTypographyInfoiconclick: EventName<KupTypographyCustomEvent<KupTypographyIconClickEventPayload>>;
|
|
458
467
|
onKupTypographyItemclick: EventName<KupTypographyCustomEvent<KupToolbarItemClickEventPayload>>;
|
|
459
468
|
};
|
|
460
469
|
export declare const KupTypography: StencilReactComponent<KupTypographyElement, KupTypographyEvents>;
|
package/dist/components.js
CHANGED
|
@@ -26,6 +26,7 @@ import { KupDropdownButton as KupDropdownButtonElement, defineCustomElement as d
|
|
|
26
26
|
import { KupEchart as KupEchartElement, defineCustomElement as defineKupEchart } from "@sme.up/ketchup/dist/components/kup-echart.js";
|
|
27
27
|
import { KupEditor as KupEditorElement, defineCustomElement as defineKupEditor } from "@sme.up/ketchup/dist/components/kup-editor.js";
|
|
28
28
|
import { KupFamilyTree as KupFamilyTreeElement, defineCustomElement as defineKupFamilyTree } from "@sme.up/ketchup/dist/components/kup-family-tree.js";
|
|
29
|
+
import { KupFileUpload as KupFileUploadElement, defineCustomElement as defineKupFileUpload } from "@sme.up/ketchup/dist/components/kup-file-upload.js";
|
|
29
30
|
import { KupForm as KupFormElement, defineCustomElement as defineKupForm } from "@sme.up/ketchup/dist/components/kup-form.js";
|
|
30
31
|
import { KupGanttCalendar as KupGanttCalendarElement, defineCustomElement as defineKupGanttCalendar } from "@sme.up/ketchup/dist/components/kup-gantt-calendar.js";
|
|
31
32
|
import { KupGantt as KupGanttElement, defineCustomElement as defineKupGantt } from "@sme.up/ketchup/dist/components/kup-gantt.js";
|
|
@@ -194,7 +195,10 @@ export const KupCell = /*@__PURE__*/ createComponent({
|
|
|
194
195
|
elementClass: KupCellElement,
|
|
195
196
|
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
196
197
|
react: React,
|
|
197
|
-
events: {
|
|
198
|
+
events: {
|
|
199
|
+
onKupCellSubmitClick: 'kup-cell-submit-click',
|
|
200
|
+
onKupCellUpload: 'kup-cell-upload'
|
|
201
|
+
},
|
|
198
202
|
defineCustomElement: defineKupCell
|
|
199
203
|
});
|
|
200
204
|
export const KupChart = /*@__PURE__*/ createComponent({
|
|
@@ -402,6 +406,17 @@ export const KupFamilyTree = /*@__PURE__*/ createComponent({
|
|
|
402
406
|
},
|
|
403
407
|
defineCustomElement: defineKupFamilyTree
|
|
404
408
|
});
|
|
409
|
+
export const KupFileUpload = /*@__PURE__*/ createComponent({
|
|
410
|
+
tagName: 'kup-file-upload',
|
|
411
|
+
elementClass: KupFileUploadElement,
|
|
412
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
413
|
+
react: React,
|
|
414
|
+
events: {
|
|
415
|
+
onKupFileUploadReady: 'kup-file-upload-ready',
|
|
416
|
+
onKupFileUploadUpload: 'kup-file-upload-upload'
|
|
417
|
+
},
|
|
418
|
+
defineCustomElement: defineKupFileUpload
|
|
419
|
+
});
|
|
405
420
|
export const KupForm = /*@__PURE__*/ createComponent({
|
|
406
421
|
tagName: 'kup-form',
|
|
407
422
|
elementClass: KupFormElement,
|
|
@@ -711,6 +726,7 @@ export const KupTabBar = /*@__PURE__*/ createComponent({
|
|
|
711
726
|
onKupTabbarBlur: 'kup-tabbar-blur',
|
|
712
727
|
onKupTabbarClick: 'kup-tabbar-click',
|
|
713
728
|
onKupTabbarIconclick: 'kup-tabbar-iconclick',
|
|
729
|
+
onKupTabbarInfoiconclick: 'kup-tabbar-infoiconclick',
|
|
714
730
|
onKupTabbarFocus: 'kup-tabbar-focus',
|
|
715
731
|
onKupTabbarItemclick: 'kup-tabbar-itemclick'
|
|
716
732
|
},
|
|
@@ -837,6 +853,7 @@ export const KupTypography = /*@__PURE__*/ createComponent({
|
|
|
837
853
|
events: {
|
|
838
854
|
onKupTypographyIconclick: 'kup-typography-iconclick',
|
|
839
855
|
onKupTypographyClick: 'kup-typography-click',
|
|
856
|
+
onKupTypographyInfoiconclick: 'kup-typography-infoiconclick',
|
|
840
857
|
onKupTypographyItemclick: 'kup-typography-itemclick'
|
|
841
858
|
},
|
|
842
859
|
defineCustomElement: defineKupTypography
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup-react",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"main": "dist/components.js",
|
|
5
5
|
"module": "dist/components.js",
|
|
6
6
|
"types": "dist/components.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"description": "Ketchup React Components library by smeup",
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@sme.up/ketchup": "10.
|
|
24
|
+
"@sme.up/ketchup": "10.2.0",
|
|
25
25
|
"@stencil/react-output-target": "^0.7",
|
|
26
26
|
"react": "^18",
|
|
27
27
|
"react-dom": "^18"
|