powell-react 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +312 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/api/primereact.d.ts +86 -85
- package/dist/cjs/types/components/CascadeSelect/index.d.ts +1 -1
- package/dist/cjs/types/components/Chips/Chips.d.ts +4 -5
- package/dist/cjs/types/components/Editor/index.d.ts +1 -1
- package/dist/cjs/types/components/InputPassword/InputPassword.d.ts +1 -2
- package/dist/cjs/types/components/Knob/Knob.d.ts +1 -2
- package/dist/cjs/types/components/ListBox/ListBox.d.ts +1 -2
- package/dist/cjs/types/components/ListBox/index.d.ts +1 -1
- package/dist/cjs/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -2
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/models/forms.d.ts +4 -4
- package/dist/esm/index.js +312 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/api/primereact.d.ts +86 -85
- package/dist/esm/types/components/CascadeSelect/index.d.ts +1 -1
- package/dist/esm/types/components/Chips/Chips.d.ts +4 -5
- package/dist/esm/types/components/Editor/index.d.ts +1 -1
- package/dist/esm/types/components/InputPassword/InputPassword.d.ts +1 -2
- package/dist/esm/types/components/Knob/Knob.d.ts +1 -2
- package/dist/esm/types/components/ListBox/ListBox.d.ts +1 -2
- package/dist/esm/types/components/ListBox/index.d.ts +1 -1
- package/dist/esm/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -2
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/models/forms.d.ts +4 -4
- package/dist/index.d.ts +7 -3
- package/package.json +2 -1
- package/dist/cjs/types/components22/Button/Button.d.ts +0 -7
- package/dist/cjs/types/components22/Button/index.d.ts +0 -2
- package/dist/cjs/types/components22/Input/Input.d.ts +0 -2
- package/dist/cjs/types/components22/Input/index.d.ts +0 -2
- package/dist/cjs/types/components22/index.d.ts +0 -2
- package/dist/esm/types/components22/Button/Button.d.ts +0 -7
- package/dist/esm/types/components22/Button/index.d.ts +0 -2
- package/dist/esm/types/components22/Input/Input.d.ts +0 -2
- package/dist/esm/types/components22/Input/index.d.ts +0 -2
- package/dist/esm/types/components22/index.d.ts +0 -2
@@ -1,100 +1,100 @@
|
|
1
1
|
import { AutoComplete, AutoCompleteChangeEvent, AutoCompleteCompleteEvent, AutoCompleteDropdownClickEvent, AutoCompleteProps, AutoCompleteSelectEvent, AutoCompleteUnselectEvent } from "primereact/autocomplete";
|
2
2
|
import { Calendar, CalendarDateTemplateEvent, CalendarMonthChangeEvent, CalendarMonthNavigatorTemplateEvent, CalendarNavigatorTemplateEvent, CalendarProps, CalendarSelectEvent, CalendarViewChangeEvent, CalendarVisibleChangeEvent, CalendarYearNavigatorTemplateEvent } from "primereact/calendar";
|
3
|
-
import { CascadeSelect,
|
3
|
+
import { CascadeSelect, CascadeSelectChangeEvent, CascadeSelectContext, CascadeSelectGroupChangeEvent, CascadeSelectPassThroughMethodOptions, CascadeSelectPassThroughOptions, CascadeSelectPassThroughTransitionType, CascadeSelectPassThroughType, CascadeSelectProps, CascadeSelectState } from "primereact/cascadeselect";
|
4
4
|
import { Checkbox, CheckboxChangeEvent, CheckboxContext, CheckboxPassThroughMethodOptions, CheckboxPassThroughOptions, CheckboxPassThroughType, CheckboxProps, CheckboxState } from "primereact/checkbox";
|
5
|
-
import { Chips, ChipsAddEvent, ChipsChangeEvent,
|
6
|
-
import { ColorPicker, ColorPickerChangeEvent,
|
7
|
-
import { Dropdown, DropdownChangeEvent,
|
8
|
-
import { Editor,
|
9
|
-
import { FloatLabel,
|
10
|
-
import { InputIcon,
|
11
|
-
import { IconField,
|
12
|
-
import { InputMask,
|
13
|
-
import { InputSwitch,
|
14
|
-
import { InputNumber,
|
15
|
-
import { InputOtp,
|
16
|
-
import { InputText,
|
17
|
-
import { InputTextarea,
|
5
|
+
import { Chips, ChipsAddEvent, ChipsChangeEvent, ChipsPassThroughMethodOptions, ChipsPassThroughOptions, ChipsPassThroughType, ChipsProps, ChipsRemovableOptions, ChipsRemoveEvent, ChipsState } from "primereact/chips";
|
6
|
+
import { ColorPicker, ColorPickerChangeEvent, ColorPickerHSBType, ColorPickerPassThroughMethodOptions, ColorPickerPassThroughOptions, ColorPickerPassThroughTransitionType, ColorPickerPassThroughType, ColorPickerProps, ColorPickerRGBType, ColorPickerState } from "primereact/colorpicker";
|
7
|
+
import { Dropdown, DropdownChangeEvent, DropdownContext, DropdownFilterEvent, DropdownPassThroughMethodOptions, DropdownPassThroughOptions, DropdownPassThroughTransitionType, DropdownPassThroughType, DropdownProps, DropdownState } from "primereact/dropdown";
|
8
|
+
import { Editor, EditorPassThroughMethodOptions, EditorPassThroughOptions, EditorPassThroughType, EditorProps, EditorSelectionChangeEvent, EditorTextChangeEvent } from "primereact/editor";
|
9
|
+
import { FloatLabel, FloatLabelPassThroughMethodOptions, FloatLabelPassThroughOptions, FloatLabelPassThroughType, FloatLabelProps } from "primereact/floatlabel";
|
10
|
+
import { InputIcon, InputIconPassThroughMethodOptions, InputIconPassThroughOptions, InputIconPassThroughType, InputIconProps } from 'primereact/inputicon';
|
11
|
+
import { IconField, IconFieldContext, IconFieldPassThroughMethodOptions, IconFieldPassThroughOptions, IconFieldPassThroughType, IconFieldProps } from "primereact/iconfield";
|
12
|
+
import { InputMask, InputMaskChangeEvent, InputMaskCompleteEvent, InputMaskProps } from "primereact/inputmask";
|
13
|
+
import { InputSwitch, InputSwitchChangeEvent, InputSwitchPassThroughMethodOptions, InputSwitchPassThroughOptions, InputSwitchPassThroughType, InputSwitchProps } from "primereact/inputswitch";
|
14
|
+
import { InputNumber, InputNumberChangeEvent, InputNumberPassThroughMethodOptions, InputNumberPassThroughOptions, InputNumberPassThroughType, InputNumberProps, InputNumberState, InputNumberValueChangeEvent, RoundingMode } from "primereact/inputnumber";
|
15
|
+
import { InputOtp, InputOtpChangeEvent, InputOtpContext, InputOtpPassThroughMethodOptions, InputOtpPassThroughOptions, InputOtpPassThroughType, InputOtpProps } from "primereact/inputotp";
|
16
|
+
import { InputText, InputTextContext, InputTextPassThroughMethodOptions, InputTextPassThroughOptions, InputTextPassThroughType, InputTextProps } from "primereact/inputtext";
|
17
|
+
import { InputTextarea, InputTextareaContext, InputTextareaPassThroughMethodOptions, InputTextareaPassThroughOptions, InputTextareaPassThroughType, InputTextareaProps } from "primereact/inputtextarea";
|
18
18
|
import { KeyFilterType } from "primereact/keyfilter";
|
19
|
-
import { Knob, KnobChangeEvent,
|
20
|
-
import { ListBox,
|
21
|
-
import { Mention, MentionContext, MentionPassThroughMethodOptions, MentionPassThroughOptions,
|
22
|
-
import { MultiSelect,
|
23
|
-
import { MultiStateCheckbox, MultiStateCheckboxChangeEvent, MultiStateCheckboxChangeTargetOptions, MultiStateCheckboxIconTemplateEvent,
|
24
|
-
import { Password, PasswordIconEvent, PasswordPassThroughMethodOptions, PasswordPassThroughOptions,
|
25
|
-
import { RadioButton,
|
26
|
-
import { Rating,
|
27
|
-
import { SelectButton,
|
19
|
+
import { Knob, KnobChangeEvent, KnobPassThroughMethodOptions, KnobPassThroughOptions, KnobPassThroughType, KnobProps } from "primereact/knob";
|
20
|
+
import { ListBox, ListBoxChangeEvent, ListBoxChangeTargetOptions, ListBoxContext, ListBoxFilterOptions, ListBoxFilterTemplateOptions, ListBoxFilterValueChangeEvent, ListBoxPassThroughMethodOptions, ListboxPassThroughOptions, ListBoxPassThroughType, ListBoxProps, ListBoxState } from "primereact/listbox";
|
21
|
+
import { Mention, MentionContext, MentionItemTemplateOptions, MentionPassThroughMethodOptions, MentionPassThroughOptions, MentionPassThroughTransitionType, MentionPassThroughType, MentionProps, MentionSearchEvent, MentionSelectEvent, MentionState } from "primereact/mention";
|
22
|
+
import { MultiSelect, MultiSelectAllEvent, MultiSelectChangeEvent, MultiSelectChangeTargetOptions, MultiSelectContext, MultiSelectFilterEvent, MultiSelectFilterOptions, MultiSelectHeaderCheckboxChangeEvent, MultiSelectPanelHeaderTemplateEvent, MultiSelectPassThroughMethodOptions, MultiSelectPassThroughOptions, MultiSelectPassThroughTransitionType, MultiSelectPassThroughType, MultiSelectProps, MultiSelectRemoveEvent, MultiSelectState, MultiSelectTemplateOptions } from "primereact/multiselect";
|
23
|
+
import { MultiStateCheckbox, MultiStateCheckboxChangeEvent, MultiStateCheckboxChangeTargetOptions, MultiStateCheckboxIconTemplateEvent, MultiStateCheckboxOption, MultiStateCheckboxPassThroughMethodOptions, MultiStateCheckboxPassThroughOptions, MultiStateCheckboxPassThroughType, MultiStateCheckboxProps, MultiStateCheckboxState } from "primereact/multistatecheckbox";
|
24
|
+
import { Password, PasswordIconEvent, PasswordMeterStateOptions, PasswordPassThroughMethodOptions, PasswordPassThroughOptions, PasswordPassThroughTransitionType, PasswordPassThroughType, PasswordProps, PasswordState } from "primereact/password";
|
25
|
+
import { RadioButton, RadioButtonChangeEvent, RadioButtonPassThroughMethodOptions, RadioButtonPassThroughOptions, RadioButtonPassThroughType, RadioButtonProps } from "primereact/radiobutton";
|
26
|
+
import { Rating, RatingChangeEvent, RatingContext, RatingPassThroughMethodOptions, RatingPassThroughOptions, RatingPassThroughType, RatingProps } from "primereact/rating";
|
27
|
+
import { SelectButton, SelectButtonChangeEvent, SelectButtonContext, SelectButtonPassThroughMethodOptions, SelectButtonPassThroughOptions, SelectButtonPassThroughType, SelectButtonProps } from "primereact/selectbutton";
|
28
28
|
import { Slider, SliderChangeEvent, SliderPassThroughMethodOptions, SliderPassThroughOptions, SliderPassThroughType, SliderProps, SliderSlideEndEvent } from "primereact/slider";
|
29
|
-
import { TreeSelect, TreeSelectChangeEvent, TreeSelectEventNodeEvent,
|
30
|
-
import { TriStateCheckbox,
|
31
|
-
import { ToggleButton, ToggleButtonChangeTargetOptions,
|
32
|
-
import { Button,
|
33
|
-
import { SpeedDial,
|
34
|
-
import { SplitButton,
|
35
|
-
import { DataTable, DataTableBaseProps,
|
36
|
-
import { DataView, DataViewLayoutOptions, DataViewLayoutOptionsChangeEvent,
|
37
|
-
import { DataScroller,
|
38
|
-
import { OrderList,
|
39
|
-
import { OrganizationChart, OrganizationChartContext,
|
40
|
-
import { Paginator, PaginatorChangeEvent, PaginatorChangeTargetOptions, PaginatorContext, PaginatorCurrentPageReportOptions, PaginatorFirstPageLinkOptions, PaginatorJumpToPageInputOptions, PaginatorLastPageLinkOptions,
|
41
|
-
import { PickList, PickListContext, PickListEvent,
|
42
|
-
import { Tree,
|
43
|
-
import { TreeTable,
|
29
|
+
import { TreeSelect, TreeSelectChangeEvent, TreeSelectCheckboxSelectionKeyType, TreeSelectEventNodeEvent, TreeSelectExpandedEvent, TreeSelectExpandedKeysType, TreeSelectFilterOptions, TreeSelectFilterTemplateOptions, TreeSelectFilterValueChangeEvent, TreeSelectPanelHeaderTemplateOptions, TreeSelectPassThroughMethodOptions, TreeSelectPassThroughOptions, TreeSelectPassThroughTransitionType, TreeSelectPassThroughType, TreeSelectProps, TreeSelectSelectionKeysType, TreeSelectState } from "primereact/treeselect";
|
30
|
+
import { TriStateCheckbox, TriStateCheckboxChangeEvent, TriStateCheckboxPassThroughMethodOptions, TriStateCheckboxPassThroughOptions, TriStateCheckboxPassThroughType, TriStateCheckboxProps } from "primereact/tristatecheckbox";
|
31
|
+
import { ToggleButton, ToggleButtonChangeEvent, ToggleButtonChangeTargetOptions, ToggleButtonPassThroughMethodOptions, ToggleButtonPassThroughOptions, ToggleButtonPassThroughType, ToggleButtonProps } from "primereact/togglebutton";
|
32
|
+
import { Button, ButtonContext, ButtonPassThroughMethodOptions, ButtonPassThroughOptions, ButtonPassThroughType, ButtonProps } from "primereact/button";
|
33
|
+
import { SpeedDial, SpeedDialButtonOptions, SpeedDialPassThroughMethodOptions, SpeedDialPassThroughOptions, SpeedDialPassThroughType, SpeedDialProps, SpeedDialState } from "primereact/speeddial";
|
34
|
+
import { SplitButton, SplitButtonPassThroughMethodOptions, SplitButtonPassThroughOptions, SplitButtonPassThroughTransitionType, SplitButtonPassThroughType, SplitButtonProps, SplitButtonState } from "primereact/splitbutton";
|
35
|
+
import { DataTable, DataTableBaseProps, DataTableCellClassNameOptions, DataTableCellClickEvent, DataTableCellSelection, DataTableColReorderEvent, DataTableColumnResizeEndEvent, DataTableColumnResizerClickEvent, DataTableContext, DataTableContextMenuMultipleSelectionChangeEvent, DataTableContextMenuSingleSelectionChangeEvent, DataTableDataSelectableEvent, DataTableEditingRows, DataTableExpandedRows, DataTableExportFunctionEvent, DataTableFilterEvent, DataTableFilterMeta, DataTableFilterMetaData, DataTableFooterTemplateOptions, DataTableFooterTemplateType, DataTableHeaderTemplateOptions, DataTableHeaderTemplateType, DataTableOperatorFilterMetaData, DataTablePageEvent, DataTablePassThroughMethodOptions, DataTablePassThroughOptions, DataTablePassThroughType, DataTableProps, DataTablePropsCell, DataTablePropsMultiple, DataTablePropsSingle, DataTableRowClassNameOptions, DataTableRowClickEvent, DataTableRowData, DataTableRowDataArray, DataTableRowEditCompleteEvent, DataTableRowEditEvent, DataTableRowEditSaveEvent, DataTableRowEditValidatorOptions, DataTableRowEvent, DataTableRowExpansionTemplate, DataTableRowGroupFooterTemplateOptions, DataTableRowGroupFooterTemplateType, DataTableRowGroupHeaderTemplateOptions, DataTableRowGroupHeaderTemplateType, DataTableRowMouseEvent, DataTableRowPointerEvent, DataTableRowReorderEvent, DataTableRowToggleEvent, DataTableSelectAllChangeEvent, DataTableSelectEvent, DataTableSelectionCellChangeEvent, DataTableSelectionMultipleChangeEvent, DataTableSelectionSingleChangeEvent, DataTableShowRowReorderElementOptions, DataTableShowSelectionElementOptions, DataTableSortEvent, DataTableSortMeta, DataTableState, DataTableStateEvent, DataTableUnselectEvent, DataTableValue, DataTableValueArray, SortOrder } from "primereact/datatable";
|
36
|
+
import { DataView, DataViewLayoutOptions, DataViewLayoutOptionsChangeEvent, DataViewLayoutOptionsPassThroughMethodOptions, DataViewLayoutOptionsPassThroughOptions, DataViewLayoutOptionsPassThroughType, DataViewLayoutOptionsProps, DataViewPageEvent, DataViewPassThroughMethodOptions, DataViewPassThroughOptions, DataViewPassThroughType, DataViewProps, DataViewState } from "primereact/dataview";
|
37
|
+
import { DataScroller, DataScrollerLazyLoadEvents, DataScrollerPassThroughMethodOptions, DataScrollerPassThroughOptions, DataScrollerPassThroughType, DataScrollerProps } from "primereact/datascroller";
|
38
|
+
import { OrderList, OrderListChangeEvent, OrderListContext, OrderListFilterOptions, OrderListPassThroughMethodOptions, OrderListPassThroughOptions, OrderListPassThroughType, OrderListProps, OrderListState } from "primereact/orderlist";
|
39
|
+
import { OrganizationChart, OrganizationChartContext, OrganizationChartNodeData, OrganizationChartNodeSelectEvent, OrganizationChartNodeUnselectEvent, OrganizationChartPassThroughMethodOptions, OrganizationChartPassThroughOptions, OrganizationChartPassThroughType, OrganizationChartProps, OrganizationChartSelectionChangeEvent, OrganizationChartState } from "primereact/organizationchart";
|
40
|
+
import { Paginator, PaginatorChangeEvent, PaginatorChangeTargetOptions, PaginatorContext, PaginatorCurrentPageReportOptions, PaginatorFirstPageLinkOptions, PaginatorJumpToPageInputOptions, PaginatorLastPageLinkOptions, PaginatorNextPageLinkOptions, PaginatorPageChangeEvent, PaginatorPageLinksOptions, PaginatorPassThroughMethodOptions, PaginatorPassThroughOptions, PaginatorPassThroughTransitionType, PaginatorPassThroughType, PaginatorPrevPageLinkOptions, PaginatorProps, PaginatorRowsPerPageDropdownOptions, PaginatorTemplate, PaginatorTemplateOptions, PaginatorViewOptions } from "primereact/paginator";
|
41
|
+
import { PickList, PickListChangeEvent, PickListContext, PickListEvent, PickListFilterInputProps, PickListFilterTemplateOptions, PickListPassThroughMethodOptions, PickListPassThroughOptions, PickListPassThroughType, PickListProps, PickListState } from "primereact/picklist";
|
42
|
+
import { Tree, TreeCheckboxSelectionKeys, TreeCheckboxSelectionKeyType, TreeContext, TreeDragDropEvent, TreeEventNodeEvent, TreeExpandedEvent, TreeExpandedKeysType, TreeFilterInputOptions, TreeFilterOptions, TreeFilterValueChangeEvent, TreeHeaderTemplateOptions, TreeMultipleSelectionKeys, TreeNodeClickEvent, TreeNodeDoubleClickEvent, TreeNodeTemplateOptions, TreePassThroughMethodOptions, TreePassThroughOptions, TreePassThroughType, TreeProps, TreeSelectionEvent, TreeState, TreeTogglerTemplateOptions } from "primereact/tree";
|
43
|
+
import { TreeTable, TreeTableCheckboxSelectionKeyType, TreeTableColReorderEvent, TreeTableColumnResizeEndEvent, TreeTableContext, TreeTableEvent, TreeTableExpandedKeysType, TreeTableFilterMeta, TreeTableFilterMetaData, TreeTablePageEvent, TreeTablePassThroughMethodOptions, TreeTablePassThroughOptions, TreeTablePassThroughType, TreeTableProps, TreeTableRowMouseEvent, TreeTableSelectionEvent, TreeTableSelectionKeysType, TreeTableSortEvent, TreeTableSortMeta, TreeTableState, TreeTableToggleEvent, TreeTableTogglerTemplateOptions } from "primereact/treetable";
|
44
44
|
import { Timeline, TimelinePassThroughMethodOptions, TimelinePassThroughOptions, TimelinePassThroughType, TimelineProps } from "primereact/timeline";
|
45
|
-
import { VirtualScroller, VirtualScrollerChangeEvent, VirtualScrollerLazyEvent,
|
46
|
-
import { Accordion, AccordionContext, AccordionPassThroughMethodOptions, AccordionPassThroughOptions, AccordionPassThroughType,
|
47
|
-
import { Card,
|
48
|
-
import { DeferredContent,
|
45
|
+
import { VirtualScroller, VirtualScrollerChangeEvent, VirtualScrollerContentTemplateOptions, VirtualScrollerLazyEvent, VirtualScrollerLoaderIconTemplateOptions, VirtualScrollerLoadingTemplateOptions, VirtualScrollerOptionsType, VirtualScrollerPassThroughMethodOptions, VirtualScrollerPassThroughOptions, VirtualScrollerPassThroughType, VirtualScrollerProps, VirtualScrollerRenderedRange, VirtualScrollerState, VirtualScrollerTemplateOptions, VirtualScrollerViewportRenderedRange } from "primereact/virtualscroller";
|
46
|
+
import { Accordion, AccordionContext, AccordionPassThroughMethodOptions, AccordionPassThroughOptions, AccordionPassThroughTransitionType, AccordionPassThroughType, AccordionProps, AccordionState, AccordionTab, AccordionTabChangeEvent, AccordionTabCloseEvent, AccordionTabOpenEvent, AccordionTabPassThroughMethodOptions, AccordionTabPassThroughOptions, AccordionTabPassThroughType, AccordionTabProps } from "primereact/accordion";
|
47
|
+
import { Card, CardPassThroughMethodOptions, CardPassThroughOptions, CardPassThroughType, CardProps } from "primereact/card";
|
48
|
+
import { DeferredContent, DeferredContentPassThroughMethodOptions, DeferredContentPassThroughOptions, DeferredContentPassThroughType, DeferredContentState } from "primereact/deferredcontent";
|
49
49
|
import { Divider, DividerPassThroughMethodOptions, DividerPassThroughOptions, DividerPassThroughType, DividerProps } from "primereact/divider";
|
50
|
-
import { Fieldset, FieldsetPassThroughMethodOptions, FieldsetPassThroughOptions,
|
51
|
-
import { Panel,
|
52
|
-
import { ScrollPanel,
|
53
|
-
import { Splitter, SplitterPanel,
|
54
|
-
import { Stepper, StepperChangeEvent, StepperPassThroughAttributes, StepperPassThroughMethodOptions, StepperPassThroughOptions, StepperPassThroughOptionType, StepperRefAttributes, StepperState
|
55
|
-
import {
|
50
|
+
import { Fieldset, FieldsetPassThroughMethodOptions, FieldsetPassThroughOptions, FieldsetPassThroughTransitionType, FieldsetPassThroughType, FieldsetProps, FieldsetState, FieldsetToggleEvent } from "primereact/fieldset";
|
51
|
+
import { Panel, PanelFooterTemplateOptions, PanelHeaderTemplateOptions, PanelPassThroughMethodOptions, PanelPassThroughOptions, PanelPassThroughTransitionType, PanelPassThroughType, PanelProps, PanelState, PanelToggleEvent } from "primereact/panel";
|
52
|
+
import { ScrollPanel, ScrollPanelPassThroughOptions, ScrollPanelProps, ScrollPanelThroughMethodOptions, ScrollPanelThroughType } from "primereact/scrollpanel";
|
53
|
+
import { Splitter, SplitterPanel, SplitterPanelPassThroughMethodOptions, SplitterPanelPassThroughOptions, SplitterPanelPassThroughType, SplitterPanelProps, SplitterPassThroughMethodOptions, SplitterPassThroughOptions, SplitterPassThroughType, SplitterProps, SplitterResizeEndEvent, SplitterState } from "primereact/splitter";
|
54
|
+
import { Stepper, StepperChangeEvent, StepperPassThroughAttributes, StepperPassThroughMethodOptions, StepperPassThroughOptions, StepperPassThroughOptionType, StepperProps, StepperRefAttributes, StepperState } from "primereact/stepper";
|
55
|
+
import { TabPanel, TabPanelHeaderTemplateOptions, TabPanelPassThroughMethodOptions, TabPanelPassThroughOptions, TabPanelPassThroughType, TabPanelProps, TabView, TabViewContext, TabViewPassThroughMethodOptions, TabViewPassThroughOptions, TabViewPassThroughType, TabViewProps, TabViewState, TabViewTabChangeEvent, TabViewTabCloseEvent } from "primereact/tabview";
|
56
56
|
import { Toolbar, ToolbarPassThroughMethodOptions, ToolbarPassThroughOptions, ToolbarPassThroughType, ToolbarProps } from "primereact/toolbar";
|
57
|
-
import { ConfirmDialog, ConfirmDialogOptions,
|
58
|
-
import { ConfirmPopup, ConfirmPopupOptions,
|
59
|
-
import { Dialog, DialogBreakpoints,
|
60
|
-
import { OverlayPanel, OverlayPanelBreakpoints,
|
61
|
-
import { Sidebar, SidebarPassThroughMethodOptions, SidebarPassThroughOptions, SidebarPassThroughType,
|
62
|
-
import { Tooltip, TooltipContext, TooltipPassThroughMethodOptions, TooltipPassThroughOptions, TooltipPassThroughType,
|
63
|
-
import { FileUpload,
|
64
|
-
import { BreadCrumb,
|
65
|
-
import { ContextMenu,
|
66
|
-
import { Dock, DockContext, DockFooterTemplateOptions, DockHeaderTemplateOptions, DockPassThroughMethodOptions, DockPassThroughOptions, DockPassThroughType,
|
67
|
-
import { MenuItem,
|
68
|
-
import { MegaMenu, MegaMenuContext,
|
69
|
-
import { Menu, MenuContext, MenuPassThroughMethodOptions, MenuPassThroughOptions, MenuPassThroughType,
|
70
|
-
import { Menubar, MenubarContext, MenubarPassThroughMethodOptions, MenubarPassThroughOptions, MenubarPassThroughType,
|
71
|
-
import { PanelMenu, PanelMenuContext,
|
72
|
-
import { Steps,
|
73
|
-
import { TabMenu, TabMenuContext,
|
74
|
-
import { TieredMenu, TieredMenuContext,
|
75
|
-
import {
|
57
|
+
import { ConfirmDialog, confirmDialog, ConfirmDialogOptions, ConfirmDialogPassThroughMethodOptions, ConfirmDialogPassThroughOptions, ConfirmDialogPassThroughTransitionType, ConfirmDialogPassThroughType, ConfirmDialogProps, ConfirmDialogReturn, ConfirmDialogState } from "primereact/confirmdialog";
|
58
|
+
import { ConfirmPopup, confirmPopup, ConfirmPopupOptions, ConfirmPopupPassThroughMethodOptions, ConfirmPopupPassThroughOptions, ConfirmPopupPassThroughTransitionType, ConfirmPopupPassThroughType, ConfirmPopupProps, ConfirmPopupReturn, ConfirmPopupState } from "primereact/confirmpopup";
|
59
|
+
import { Dialog, DialogBreakpoints, DialogMaximizeEvent, DialogPassThroughMethodOptions, DialogPassThroughOptions, DialogPassThroughTransitionType, DialogPassThroughType, DialogProps, DialogState } from "primereact/dialog";
|
60
|
+
import { OverlayPanel, OverlayPanelBreakpoints, OverlayPanelPassThroughMethodOptions, OverlayPanelPassThroughOptions, OverlayPanelPassThroughTransitionType, OverlayPanelPassThroughType, OverlayPanelProps, OverlayPanelState } from "primereact/overlaypanel";
|
61
|
+
import { Sidebar, SidebarPassThroughMethodOptions, SidebarPassThroughOptions, SidebarPassThroughTransitionType, SidebarPassThroughType, SidebarProps, SidebarState } from "primereact/sidebar";
|
62
|
+
import { Tooltip, TooltipContext, TooltipPassThroughMethodOptions, TooltipPassThroughOptions, TooltipPassThroughType, TooltipProps, TooltipState } from "primereact/tooltip";
|
63
|
+
import { FileUpload, FileUploadBeforeSendEvent, FileUploadBeforeUploadEvent, FileUploadErrorEvent, FileUploadFilesEvent, FileUploadHandlerEvent, FileUploadHandlerOptions, FileUploadHeaderTemplateOptions, FileUploadOptions, FileUploadPassThroughMethodOptions, FileUploadPassThroughOptions, FileUploadPassThroughType, FileUploadProgressBarTemplateOptions, FileUploadProgressEvent, FileUploadProps, FileUploadRemoveEvent, FileUploadSelectEvent, FileUploadState, FileUploadUploadEvent, ItemTemplateOptions } from "primereact/fileupload";
|
64
|
+
import { BreadCrumb, BreadCrumbPassThroughMethodOptions, BreadCrumbPassThroughOptions, BreadCrumbPassThroughType, BreadCrumbProps } from "primereact/breadcrumb";
|
65
|
+
import { ContextMenu, ContextMenuContext, ContextMenuPassThroughMethodOptions, ContextMenuPassThroughOptions, ContextMenuPassThroughTransitionType, ContextMenuPassThroughType, ContextMenuProps, ContextMenuState } from "primereact/contextmenu";
|
66
|
+
import { Dock, DockContext, DockFooterTemplateOptions, DockHeaderTemplateOptions, DockPassThroughMethodOptions, DockPassThroughOptions, DockPassThroughType, DockProps, DockState } from "primereact/dock";
|
67
|
+
import { MenuItem, MenuItemCommandEvent, MenuItemOptions } from "primereact/menuitem";
|
68
|
+
import { MegaMenu, MegaMenuContext, MegaMenuFocusedItemInfo, MegaMenuPassThroughMethodOptions, MegaMenuPassThroughOptions, MegaMenuPassThroughType, MegaMenuProps, MegaMenuState } from "primereact/megamenu";
|
69
|
+
import { Menu, MenuContext, MenuPassThroughMethodOptions, MenuPassThroughOptions, MenuPassThroughTransitionType, MenuPassThroughType, MenuProps, MenuState } from "primereact/menu";
|
70
|
+
import { Menubar, MenubarContext, MenubarPassThroughMethodOptions, MenubarPassThroughOptions, MenubarPassThroughType, MenubarProps, MenubarState } from "primereact/menubar";
|
71
|
+
import { PanelMenu, PanelMenuContext, PanelMenuExpandedKeys, PanelMenuHeaderItemClickEvent, PanelMenuPassThroughMethodOptions, PanelMenuPassThroughOptions, PanelMenuPassThroughTransitionType, PanelMenuPassThroughType, PanelMenuProps, PanelMenuState } from "primereact/panelmenu";
|
72
|
+
import { Steps, StepsPassThroughOptions, StepsPassThroughType, StepsProps, StepsSelectEvent, StepsThroughMethodOptions } from "primereact/steps";
|
73
|
+
import { TabMenu, TabMenuContext, TabMenuPassThroughOptions, TabMenuPassThroughType, TabMenuProps, TabMenuState, TabMenuTabChangeEvent, TabMenuThroughMethodOptions } from "primereact/tabmenu";
|
74
|
+
import { TieredMenu, TieredMenuContext, TieredMenuPassThroughMethodOptions, TieredMenuPassThroughOptions, TieredMenuPassThroughTransitionType, TieredMenuPassThroughType, TieredMenuProps, TieredMenuState } from "primereact/tieredmenu";
|
75
|
+
import { Chart, ChartPassThroughMethodOptions, ChartPassThroughOptions, ChartPassThroughType, ChartProps } from "primereact/chart";
|
76
76
|
import { Message, MessagePassThroughMethodOptions, MessagePassThroughOptions, MessagePassThroughType, MessageProps } from "primereact/message";
|
77
|
-
import { Messages, MessagesMessage, MessagesPassThroughMethodOptions, MessagesPassThroughOptions,
|
78
|
-
import { Toast, ToastMessage, ToastMessageOptions, ToastPassThroughMethodOptions, ToastPassThroughOptions, ToastPassThroughType,
|
79
|
-
import { Carousel, CarouselContext, CarouselPassThroughMethodOptions, CarouselPassThroughOptions, CarouselPassThroughType,
|
80
|
-
import { Galleria, GalleriaPassThroughMethodOptions, GalleriaPassThroughOptions, GalleriaPassThroughTransitionType,
|
81
|
-
import { Image,
|
82
|
-
import { Avatar,
|
83
|
-
import { Badge,
|
84
|
-
import { BlockUI, BlockUIPassThroughMethodOptions, BlockUIPassThroughOptions, BlockUIPassThroughType,
|
85
|
-
import { Chip,
|
86
|
-
import { Inplace, InplaceContent,
|
87
|
-
import { MeterGroup, MeterGroupContext,
|
88
|
-
import { ScrollTop, ScrollTopPassThroughMethodOptions, ScrollTopPassThroughOptions, ScrollTopPassThroughTransitionType,
|
77
|
+
import { Messages, MessagesMessage, MessagesPassThroughMethodOptions, MessagesPassThroughOptions, MessagesPassThroughTransitionType, MessagesPassThroughType, MessagesProps } from "primereact/messages";
|
78
|
+
import { Toast, ToastMessage, ToastMessageOptions, ToastPassThroughMethodOptions, ToastPassThroughOptions, ToastPassThroughTransitionType, ToastPassThroughType, ToastProps, ToastState } from "primereact/toast";
|
79
|
+
import { Carousel, CarouselContext, CarouselPageChangeEvent, CarouselPassThroughMethodOptions, CarouselPassThroughOptions, CarouselPassThroughType, CarouselProps, CarouselResponsiveOption, CarouselState } from "primereact/carousel";
|
80
|
+
import { Galleria, GalleriaItemChangeEvent, GalleriaPassThroughMethodOptions, GalleriaPassThroughOptions, GalleriaPassThroughTransitionType, GalleriaPassThroughType, GalleriaProps, GalleriaResponsiveOptions, GalleriaState } from "primereact/galleria";
|
81
|
+
import { Image, ImagePassThroughMethodOptions, ImagePassThroughOptions, ImagePassThroughTransitionType, ImagePassThroughType, ImageProps, ImageState } from "primereact/image";
|
82
|
+
import { Avatar, AvatarPassThroughMethodOptions, AvatarPassThroughOptions, AvatarPassThroughType, AvatarProps, AvatarState } from "primereact/avatar";
|
83
|
+
import { Badge, BadgePassThroughMethodOptions, BadgePassThroughOptions, BadgePassThroughType, BadgeProps } from "primereact/badge";
|
84
|
+
import { BlockUI, BlockUIPassThroughMethodOptions, BlockUIPassThroughOptions, BlockUIPassThroughType, BlockUIProps, BlockUIState } from "primereact/blockui";
|
85
|
+
import { Chip, ChipPassThroughMethodOptions, ChipPassThroughOptions, ChipPassThroughType, ChipProps, ChipRemoveEvent, ChipState } from "primereact/chip";
|
86
|
+
import { Inplace, InplaceContent, InplaceDisplay, InplaceDisplayProps, InplacePassThroughMethodOptions, InplacePassThroughOptions, InplacePassThroughType, InplaceProps, InplaceState, InplaceToggleEvent } from "primereact/inplace";
|
87
|
+
import { CustomRenderProps, MeterGroup, MeterGroupContext, MeterGroupPassThroughMethodOptions, MeterGroupPassThroughOptions, MeterGroupPassThroughTransitionType, MeterGroupPassThroughType, MeterGroupProps, MeterGroupValue } from "primereact/metergroup";
|
88
|
+
import { ScrollTop, ScrollTopPassThroughMethodOptions, ScrollTopPassThroughOptions, ScrollTopPassThroughTransitionType, ScrollTopPassThroughType, ScrollTopProps, ScrollTopState } from "primereact/scrolltop";
|
89
89
|
import { Skeleton, SkeletonPassThroughMethodOptions, SkeletonPassThroughOptions, SkeletonPassThroughType, SkeletonProps } from "primereact/skeleton";
|
90
|
-
import { ProgressBar,
|
91
|
-
import { ProgressSpinner,
|
92
|
-
import { Ripple,
|
90
|
+
import { ProgressBar, ProgressBarPassThroughMethodOptions, ProgressBarPassThroughOptions, ProgressBarPassThroughType, ProgressBarProps } from "primereact/progressbar";
|
91
|
+
import { ProgressSpinner, ProgressSpinnerPassThroughMethodOptions, ProgressSpinnerPassThroughOptions, ProgressSpinnerPassThroughType, ProgressSpinnerProps } from "primereact/progressspinner";
|
92
|
+
import { Ripple, RipplePassThroughMethodOptions, RipplePassThroughOptions, RipplePassThroughType, RippleProps } from "primereact/ripple";
|
93
93
|
import { StyleClass, StyleClassProps } from "primereact/styleclass";
|
94
|
-
import { Tag,
|
94
|
+
import { Tag, TagPassThroughMethodOptions, TagPassThroughOptions, TagPassThroughType, TagProps } from "primereact/tag";
|
95
95
|
import { Terminal, TerminalPassThroughMethodOptions, TerminalPassThroughOptions, TerminalPassThroughType, TerminalProps, TerminalState } from "primereact/terminal";
|
96
|
-
import { addLocale, APIOptions,
|
97
|
-
import { classNames,
|
96
|
+
import { addLocale, APIOptions, AppendToType, ariaLabel, FilterMatchMode, FilterMatchModeOptions, FilterOperator, FilterService, InputStyleType, locale, localeOption, localeOptions, LocaleOptions, MessageSeverity, PrimeIcons, PrimeIconsOptions, PrimeReactContext, PrimeReactProvider, PrimeReactPTOptions, StyleContainerType, updateLocaleOption, updateLocaleOptions, ZIndexOptions } from "primereact/api";
|
97
|
+
import { classNames, DomHandler, EventBus, IconOptions, IconType, IconUtils, mask, mergeProps, ObjectUtils, PassThroughType, TemplateType, UniqueComponentId, ZIndexUtils } from "primereact/utils";
|
98
98
|
export { AutoComplete as $AutoComplete };
|
99
99
|
export type { AutoCompleteChangeEvent as $AutoCompleteChangeEvent };
|
100
100
|
export type { AutoCompleteCompleteEvent as $AutoCompleteCompleteEvent };
|
@@ -810,6 +810,7 @@ export type { TieredMenuPassThroughMethodOptions as $TieredMenuPassThroughMethod
|
|
810
810
|
export type { TieredMenuPassThroughTransitionType as $TieredMenuPassThroughTransitionType };
|
811
811
|
export type { TieredMenuPassThroughType as $TieredMenuPassThroughType };
|
812
812
|
export type { TieredMenuProps as $TieredMenuProps };
|
813
|
+
export { Chart as $Chart };
|
813
814
|
export type { ChartProps as $ChartProps };
|
814
815
|
export type { ChartPassThroughMethodOptions as $ChartPassThroughMethodOptions };
|
815
816
|
export type { ChartPassThroughOptions as $ChartPassThroughOptions };
|
@@ -1 +1 @@
|
|
1
|
-
export * from "./CascadeSelect
|
1
|
+
export * from "./CascadeSelect";
|
@@ -1,14 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
3
|
-
import { $ChipsProps, $IconFieldProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
1
|
+
import { ReactNode } from "react";
|
2
|
+
import { Addon, LabelPosition, SafeAny, Size } from "@models";
|
3
|
+
import { $ChipsChangeEvent, $ChipsProps, $IconFieldProps } from "@api";
|
5
4
|
import './Chips.scss';
|
6
5
|
interface ChipsProps extends $ChipsProps {
|
7
6
|
name?: string;
|
8
7
|
parseError?: (error: string) => ReactNode;
|
9
8
|
transform?: {
|
10
9
|
input?: (value: SafeAny) => string;
|
11
|
-
output?: (event:
|
10
|
+
output?: (event: $ChipsChangeEvent) => SafeAny;
|
12
11
|
};
|
13
12
|
showRequiredStar?: boolean;
|
14
13
|
rtl?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
export * from "./Editor
|
1
|
+
export * from "./Editor";
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { Addon, LabelPosition, Size } from "@models";
|
2
|
+
import { Addon, LabelPosition, SafeAny, Size } from "@models";
|
3
3
|
import { $IconFieldProps, $PasswordProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
5
4
|
import './InputPassword.scss';
|
6
5
|
interface InputPasswordProps extends $PasswordProps {
|
7
6
|
name?: string;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
2
|
+
import { FixLabelPosition, SafeAny } from "@models";
|
3
3
|
import { $KnobProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
5
4
|
import './Knob.scss';
|
6
5
|
interface KnobProps extends Omit<$KnobProps, 'checked'> {
|
7
6
|
checked?: boolean;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
2
|
+
import { FixLabelPosition, SafeAny } from "@models";
|
3
3
|
import { $ListBoxProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
5
4
|
import './ListBox.scss';
|
6
5
|
interface ListBoxProps extends Omit<$ListBoxProps, 'checked'> {
|
7
6
|
checked?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
export * from "./ListBox
|
1
|
+
export * from "./ListBox";
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { ChangeEvent, ReactNode } from "react";
|
2
|
-
import { FixLabelPosition } from "@models";
|
2
|
+
import { FixLabelPosition, SafeAny } from "@models";
|
3
3
|
import { $MultiStateCheckboxProps } from "@api";
|
4
|
-
import { SafeAny } from "@models";
|
5
4
|
import './MultiStateCheckbox.scss';
|
6
5
|
interface MultiStateCheckboxProps extends Omit<$MultiStateCheckboxProps, 'checked'> {
|
7
6
|
checked?: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { $ButtonProps } from "@api";
|
2
|
-
import { ButtonAppearance, Position, SafeAny } from "@models";
|
2
|
+
import { ButtonAppearance, Nullable, Position, SafeAny } from "@models";
|
3
3
|
import { MouseEvent } from "react";
|
4
4
|
export type LabelPosition = 'float' | 'fix-side' | 'fix-top';
|
5
5
|
export type FixLabelPosition = Exclude<LabelPosition, 'float'>;
|
@@ -19,10 +19,10 @@ export interface Addon {
|
|
19
19
|
after?: AddonConfig;
|
20
20
|
}
|
21
21
|
export type TransformOptions<V = SafeAny, T = SafeAny> = {
|
22
|
-
value: V
|
23
|
-
onChange: (...event:
|
22
|
+
value: Nullable<V>;
|
23
|
+
onChange: (...event: SafeAny[]) => void;
|
24
24
|
transform?: {
|
25
|
-
input?: (value: V) => SafeAny;
|
25
|
+
input?: (value: Nullable<V>) => SafeAny;
|
26
26
|
output?: (...event: T[]) => SafeAny;
|
27
27
|
};
|
28
28
|
};
|
package/dist/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { MouseEvent } from 'react';
|
2
|
+
import { MouseEvent, PropsWithChildren } from 'react';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
4
|
import { $ButtonProps } from '@api';
|
5
|
-
import { ButtonAppearance } from '@models';
|
5
|
+
import { ButtonAppearance, PowellConfig } from '@models';
|
6
6
|
|
7
7
|
type ButtonState = 'default' | 'loading' | 'next';
|
8
8
|
interface ButtonOnClickAsyncEvent {
|
@@ -23,4 +23,8 @@ interface ButtonProps extends Omit<$ButtonProps, "loading" | "link" | "text" | "
|
|
23
23
|
}
|
24
24
|
declare const Button: react.MemoExoticComponent<(props: ButtonProps) => react_jsx_runtime.JSX.Element>;
|
25
25
|
|
26
|
-
|
26
|
+
declare const PowellProvider: (props: PropsWithChildren<{
|
27
|
+
config?: PowellConfig;
|
28
|
+
}>) => react_jsx_runtime.JSX.Element;
|
29
|
+
|
30
|
+
export { Button, PowellProvider };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "powell-react",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.5",
|
4
4
|
"main": "dist/cjs/index.js",
|
5
5
|
"module": "dist/esm/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -71,6 +71,7 @@
|
|
71
71
|
"react": "^18.2.0"
|
72
72
|
},
|
73
73
|
"dependencies": {
|
74
|
+
"@rollup/plugin-alias": "^5.1.1",
|
74
75
|
"formik": "^2.4.6",
|
75
76
|
"primeicons": "^7.0.0",
|
76
77
|
"primereact": "^10.8.4",
|