forstok-ui-lib 8.8.3 → 8.9.1
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/index.d.ts +42 -7
- package/dist/index.js +191 -191
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +448 -448
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +50 -49
- package/src/components/select/asyncCreateablePaginate.tsx +544 -0
package/dist/index.d.ts
CHANGED
|
@@ -584,7 +584,7 @@ type TImage = {
|
|
|
584
584
|
};
|
|
585
585
|
declare const ImageChannelComponent: (props: TImage) => react_jsx_runtime.JSX.Element;
|
|
586
586
|
|
|
587
|
-
type TSelect$
|
|
587
|
+
type TSelect$3 = {
|
|
588
588
|
type?: string;
|
|
589
589
|
mode?: string;
|
|
590
590
|
isError?: boolean;
|
|
@@ -619,9 +619,9 @@ type TSelect$2 = {
|
|
|
619
619
|
isLoading?: boolean;
|
|
620
620
|
height?: string;
|
|
621
621
|
};
|
|
622
|
-
declare const SelectComponent: ({ type, isError, mode, customOption, customLabel, MenuList, isCreateable, isClearable, selectKey, disabled, defaultValue, width, reset, setReset, isForceUpdate, setForceUpdate, isCheckAutoCopy, evChangeCustom, isField, evCreate, evChange, isMinOption, isMulti, options, name, placeholder, removeMessage, evCreateMessageQuestion, isLoading, height, customMenuList, customMultiValueRemove, ...props }: TSelect$
|
|
622
|
+
declare const SelectComponent: ({ type, isError, mode, customOption, customLabel, MenuList, isCreateable, isClearable, selectKey, disabled, defaultValue, width, reset, setReset, isForceUpdate, setForceUpdate, isCheckAutoCopy, evChangeCustom, isField, evCreate, evChange, isMinOption, isMulti, options, name, placeholder, removeMessage, evCreateMessageQuestion, isLoading, height, customMenuList, customMultiValueRemove, ...props }: TSelect$3) => react_jsx_runtime.JSX.Element;
|
|
623
623
|
|
|
624
|
-
type TSelect$
|
|
624
|
+
type TSelect$2 = {
|
|
625
625
|
mode?: string;
|
|
626
626
|
isError?: boolean;
|
|
627
627
|
"data-qa-id"?: string;
|
|
@@ -629,9 +629,9 @@ type TSelect$1 = {
|
|
|
629
629
|
options: TOption[] | null;
|
|
630
630
|
evChange: (newValue: any[], actionMeta: ActionMeta<any>) => void;
|
|
631
631
|
};
|
|
632
|
-
declare const SelectAllComponent: (props: TSelect$
|
|
632
|
+
declare const SelectAllComponent: (props: TSelect$2) => react_jsx_runtime.JSX.Element;
|
|
633
633
|
|
|
634
|
-
type TSelect = {
|
|
634
|
+
type TSelect$1 = {
|
|
635
635
|
type?: string;
|
|
636
636
|
mode?: string;
|
|
637
637
|
isError?: boolean;
|
|
@@ -664,7 +664,42 @@ type TSelect = {
|
|
|
664
664
|
isCreateable?: boolean;
|
|
665
665
|
evCreate?: (value: string) => void;
|
|
666
666
|
};
|
|
667
|
-
declare const SelectAsyncPaginateComponent: ({ loadOptions, ...props }: TSelect) => react_jsx_runtime.JSX.Element;
|
|
667
|
+
declare const SelectAsyncPaginateComponent: ({ loadOptions, ...props }: TSelect$1) => react_jsx_runtime.JSX.Element;
|
|
668
|
+
|
|
669
|
+
type TSelect = {
|
|
670
|
+
type?: string;
|
|
671
|
+
mode?: string;
|
|
672
|
+
isError?: boolean;
|
|
673
|
+
customLabel?: (arg0: SingleValueProps) => void;
|
|
674
|
+
customOption?: (arg0: OptionProps) => void;
|
|
675
|
+
MenuList?: any;
|
|
676
|
+
reset?: boolean;
|
|
677
|
+
setReset?: TState<boolean>;
|
|
678
|
+
evChange?: (newValue: OnChangeValue<TOption, boolean>, actionMeta?: ActionMeta<TOption>) => void;
|
|
679
|
+
defaultValue?: OnChangeValue<TOption, boolean>;
|
|
680
|
+
loadOptions: LoadOptions<unknown, GroupBase<unknown>, unknown> | TLoadOption;
|
|
681
|
+
loadOptionsOnMenuOpen?: boolean;
|
|
682
|
+
noOptionsMessage?: (obj: {
|
|
683
|
+
inputValue: string;
|
|
684
|
+
}) => ReactNode;
|
|
685
|
+
isSearchable?: boolean;
|
|
686
|
+
isClearable?: boolean;
|
|
687
|
+
placeholder?: string;
|
|
688
|
+
isMenuOpen?: boolean;
|
|
689
|
+
setMenuIsOpen?: TState<boolean | undefined>;
|
|
690
|
+
isForceUpdate?: boolean;
|
|
691
|
+
setForceUpdate?: TState<boolean>;
|
|
692
|
+
isMulti?: boolean;
|
|
693
|
+
iconLeft?: boolean | string;
|
|
694
|
+
loadedOptions?: TOption[];
|
|
695
|
+
"data-qa-id"?: string;
|
|
696
|
+
evChangeOnMenuClose?: (value: OnChangeValue<TOption, boolean> | undefined) => void;
|
|
697
|
+
id?: string;
|
|
698
|
+
isDisabled?: boolean;
|
|
699
|
+
isCreateable?: boolean;
|
|
700
|
+
evCreate?: (value: string) => void;
|
|
701
|
+
};
|
|
702
|
+
declare const SelectAsyncCreateablePaginateComponent: ({ loadOptions, ...props }: TSelect) => react_jsx_runtime.JSX.Element;
|
|
668
703
|
|
|
669
704
|
declare const MenuList: (props: JSX.IntrinsicAttributes & MenuListProps<unknown, boolean, GroupBase<unknown>>) => react_jsx_runtime.JSX.Element;
|
|
670
705
|
|
|
@@ -1292,4 +1327,4 @@ declare const configDateRangeAnt: {
|
|
|
1292
1327
|
minDate: Moment;
|
|
1293
1328
|
};
|
|
1294
1329
|
|
|
1295
|
-
export { type BodyContentMode, type BodyContentStyle, BoxContainer, BreadcrumbContainer, BulkActionWrapper, BulkSelectContainer, ButtonComponent, ButtonGroup, ButtonLabel, CardContainer, CardWrapper, CheckboxComponent, CollapseContainer, ContentLoaderAccountsList, ContentLoaderActivityList, ContentLoaderAddition, ContentLoaderAnalyticsMenu, ContentLoaderCategoryList, ContentLoaderChatAccounts, ContentLoaderChatMessages, ContentLoaderChatProducts, ContentLoaderChatStores, ContentLoaderDashboardCard, ContentLoaderEditBundle, ContentLoaderFilterCategories, ContentLoaderFilters, ContentLoaderInvoiceListPaymentreceiveDetail, ContentLoaderMasterBundleDetail, ContentLoaderMasterDetail, ContentLoaderMasterList, ContentLoaderMasterListingDetail, ContentLoaderNonOrderList, ContentLoaderNotifUpdate, ContentLoaderOneLine, ContentLoaderOneLinePromotion, ContentLoaderOnlyBodyDashboardCard, ContentLoaderOnlyBodyTableList, ContentLoaderOnlyHeaderTableList, ContentLoaderOrderDetail, ContentLoaderOrderList, ContentLoaderPOSCategory, ContentLoaderPOSItem, ContentLoaderPOSStore, ContentLoaderPagination, ContentLoaderPopupBundle, ContentLoaderPopupChooseStore, ContentLoaderPopupLinkedListing, ContentLoaderPopupListOrder, ContentLoaderPopupPaymentReceive, ContentLoaderPopupPaymentReceived, ContentLoaderPopupPicklist, ContentLoaderPopupReadyToShip, ContentLoaderPopupStoreSelect, ContentLoaderPosProductDetail, ContentLoaderPromotionHover, ContentLoaderReportingDashboard, ContentLoaderSetting, ContentLoaderTableList, CreateContainer, CreateHeaderWrapper, CreateToolWrapper, DateComponent, DateContainer, DateIndicatorContainer, DatePickerContainer, DateRangeAside, DateRangeContainer, DateRangeControl, DateRangeIconContainer, DateRangeIndicatorsArrowIconSvg, DateRangeIndicatorsContainer, DateRangeLabel, DateRangeLabelContainer, DateRangeMenu, DateRangeMenuContainer, DateRangePortalContainer, DateRangeSelection, DateRefComponent, DateTimeComponent, DateWrapper, DetailItem, DetailItemAction, DetailItemInfo, DetailItemTitle, DetailItemWrapper, DetailList, DetailPanelWrapper, DetailWrapper, DotIcon, DropDownAction, DropDownBody, DropDownComponent, DropDownContainer, DropDownControl, DropDownOverlayWrapper, DropDownSubTitle, DropDownTitle, DropDownWrapper, DropdownAction, DropdownControlWrapper, DropdownItem, DropdownList, DropdownPortalContainer, DropdownTitle, EmojiComponent, ErrorComponent, FigureWraper, FilterButton, FilterColumnContainer, FilterContainer, FilterItem, FilterList, FilterListTitle, FilterStoreContainer, FilterStoreList, FilterWrapper, FoContainer, FormContainer, HeaderContainer, IconComponent, IconDot, type IconMode, type IconName, ImageChannelComponent, ImageComponent, InfoGroup, InitialContainer, InitialWrapper, InputComponent, InputGroup, InputOTPComponent, InputWithRefComponent as InputRefComponent, IsNumeric, ItemPriceLabel, ItemQtyLabel, ItemTable, type KeysToSnakeCase, LabelComponent, LeftPanelContainer, LinkComponent, LinkContainer, type LinkMode, ListAddItemContainer, ListComponent, ListContainer, ListTable, ListTableContainer, LoadingComponent, MasterTableActionWrapper, MenuList, MessageComponent, MessageQuestionComponent, type ModeListTableColumn, MultiPanelContainer, MuteLabel, NameLabel, NavChildItem, NavChildLine, NavContainer, NavContainerStyles, NavList, NavMainItem, NavMainItemWrapper, NavMobileHeaderWrapper, NavMobileOverlay, OptCustomLabel, PageButton, PageDot, PageLabel, PageWrapper, PaginationContainer, PanelBody, PanelContainer, PanelWrapper, type PartialBy, PopupAddProductContainer, PopupBoxWrapper, PopupCard, PopupColumnGroup, PopupComponent, PopupDownloadWrapper, PopupExportCardWrapper, PopupItem, PopupItemLabel, PopupItemName, PopupList, PopupRowGroup, PopupTable, PopupTableBody, PopupTableHead, PopupTableItem, RadioComponent, RangeContainer, ReactPortalComponent, RightPanelContainer, ScrollArrowContainer, SearchDropdownContainer, SearchFilterContainer, SearchFormWrapper, SearchResultItem, SearchResultList, SearchResultWrapper, SearchWrapper, SearchWrapperPopup, SelectAllComponent, SelectAsyncPaginateComponent, SelectCheckboxContainer, SelectComponent, SelectionDate, SingleFormContainer, SortByWrapper, SwitchComponent, type TActionMeta, type TBlurEvent, type TCSSObject, type TCSSObjectWithLabel, type TChangeEvent, type TChannel, type TCloseDropdownFunction, type TControlPropsWithVariable, type TCustomStylesWithVariable, type TDetailNew, type TDragEvent, type TDropdown, type TEnterEvent, type TFile, type TFileImage, type TGroupBaseWithVariable, type THeadProps, type THierarchy, type TIdNum, type TIdStr, type TInData, type TInDetail, type TInDetailProps, type TInList, type TInListProps, type TInPart, type TInlistPart, type TInputEvent, type TKeyboadEvent, type TLoadOption, type TMenuListProps, type TMessage, type TMessageFunction, type TMessageQuestion, type TMessageQuestionFunction, type TModerateDateAntFunction, type TMoment, type TMouseEvent, type TMultiValue, type TMultiValuePropsWithVariable, type TNewFilterPartial, type TNewFunction, type TObjPage, type TObject, type TOnChangeValue, type TOnChangeValueFalse, type TOnChangeValueTrue, type TOption, type TOptionProps, type TOptionPropsWithVariable, type TOptionsOrGroupsWithVariable, type TPage, type TPageObj, type TPagination, type TPasteEvent, type TPopup, type TPopupContainer, type TPopupFunction, type TPopupFunctionGroup, type TPopupFunctionParam, type TPopupOpenFunction, type TResponseAsync, type TSelectAsyncPaginate, type TSingleValueProps, type TState, type TStateCallback, type TUPage, type TUser, type TValueContainerPropsWithVariable, TableBundleColumn, TableColumnGroup, TableComponent, TableContentWrapper, TableHeadLabel, TableHeadWrapper, TableItemColumn, TableItemWrapper, TableLabel, TableRightGroup, TableRowGroup, TabsContainer, TabsContent, TabsHeader, TabsItem, TabsList, TabsWrapper, TextAreaComponent, TextAreaRefComponent, TextComponent, Title, TotalLabel, UpdateContainer, UploadComponent, UploadDragDropComponent, type WithRequired, abbreviateNumber, buttonActiveShadowStyle, buttonActiveStyle, buttonHoverStyle, buttonStyle, capitalize, capitalizeWords, channelMap, clearList, colorCommonQuantity, colorStatus, colorStockAdjust, colorStockInboundQuantity, colorStockInboundStatus, colorStockQuantity, colorStockStatus, commonCSSLists, configDateRange, configDateRangeAnt, currencyNumber, dateRangeStatus, debounce, dropBase, elipsis, errorMessage, errorTitle, evCheckAllValidation, evCheckAllValidationByHeader, evCheckAllValidationByHeaderWithVariant, evCloseDropdown, evExecuteError, evForceCloseDropdown, evGenerateValueMatch, evHighlight, evKeyMapperScanner, evRemoveActiveButton, evScrollTo, evSetTotal, evToogleSelect, evUpdateInputRc, formLabel, formatNumber, generateAddress, generateMessage, generateMessageQuestion, generateSUM, generateValue, generateValueTable, getFileType, getSizeContainer, getStorage, headTable, historyType, humanise, isCustomVariantChannel, isDesktop, isMobile, isTablet, type modeTable, multiElipsis, pageMasterTable, pasteIntoInput, removeStorage, responseWidth, setStorage, statusColor, thirdElipsis, typePage, unCamelCaseKeys, unescapeHTML, validateByApproveJs };
|
|
1330
|
+
export { type BodyContentMode, type BodyContentStyle, BoxContainer, BreadcrumbContainer, BulkActionWrapper, BulkSelectContainer, ButtonComponent, ButtonGroup, ButtonLabel, CardContainer, CardWrapper, CheckboxComponent, CollapseContainer, ContentLoaderAccountsList, ContentLoaderActivityList, ContentLoaderAddition, ContentLoaderAnalyticsMenu, ContentLoaderCategoryList, ContentLoaderChatAccounts, ContentLoaderChatMessages, ContentLoaderChatProducts, ContentLoaderChatStores, ContentLoaderDashboardCard, ContentLoaderEditBundle, ContentLoaderFilterCategories, ContentLoaderFilters, ContentLoaderInvoiceListPaymentreceiveDetail, ContentLoaderMasterBundleDetail, ContentLoaderMasterDetail, ContentLoaderMasterList, ContentLoaderMasterListingDetail, ContentLoaderNonOrderList, ContentLoaderNotifUpdate, ContentLoaderOneLine, ContentLoaderOneLinePromotion, ContentLoaderOnlyBodyDashboardCard, ContentLoaderOnlyBodyTableList, ContentLoaderOnlyHeaderTableList, ContentLoaderOrderDetail, ContentLoaderOrderList, ContentLoaderPOSCategory, ContentLoaderPOSItem, ContentLoaderPOSStore, ContentLoaderPagination, ContentLoaderPopupBundle, ContentLoaderPopupChooseStore, ContentLoaderPopupLinkedListing, ContentLoaderPopupListOrder, ContentLoaderPopupPaymentReceive, ContentLoaderPopupPaymentReceived, ContentLoaderPopupPicklist, ContentLoaderPopupReadyToShip, ContentLoaderPopupStoreSelect, ContentLoaderPosProductDetail, ContentLoaderPromotionHover, ContentLoaderReportingDashboard, ContentLoaderSetting, ContentLoaderTableList, CreateContainer, CreateHeaderWrapper, CreateToolWrapper, DateComponent, DateContainer, DateIndicatorContainer, DatePickerContainer, DateRangeAside, DateRangeContainer, DateRangeControl, DateRangeIconContainer, DateRangeIndicatorsArrowIconSvg, DateRangeIndicatorsContainer, DateRangeLabel, DateRangeLabelContainer, DateRangeMenu, DateRangeMenuContainer, DateRangePortalContainer, DateRangeSelection, DateRefComponent, DateTimeComponent, DateWrapper, DetailItem, DetailItemAction, DetailItemInfo, DetailItemTitle, DetailItemWrapper, DetailList, DetailPanelWrapper, DetailWrapper, DotIcon, DropDownAction, DropDownBody, DropDownComponent, DropDownContainer, DropDownControl, DropDownOverlayWrapper, DropDownSubTitle, DropDownTitle, DropDownWrapper, DropdownAction, DropdownControlWrapper, DropdownItem, DropdownList, DropdownPortalContainer, DropdownTitle, EmojiComponent, ErrorComponent, FigureWraper, FilterButton, FilterColumnContainer, FilterContainer, FilterItem, FilterList, FilterListTitle, FilterStoreContainer, FilterStoreList, FilterWrapper, FoContainer, FormContainer, HeaderContainer, IconComponent, IconDot, type IconMode, type IconName, ImageChannelComponent, ImageComponent, InfoGroup, InitialContainer, InitialWrapper, InputComponent, InputGroup, InputOTPComponent, InputWithRefComponent as InputRefComponent, IsNumeric, ItemPriceLabel, ItemQtyLabel, ItemTable, type KeysToSnakeCase, LabelComponent, LeftPanelContainer, LinkComponent, LinkContainer, type LinkMode, ListAddItemContainer, ListComponent, ListContainer, ListTable, ListTableContainer, LoadingComponent, MasterTableActionWrapper, MenuList, MessageComponent, MessageQuestionComponent, type ModeListTableColumn, MultiPanelContainer, MuteLabel, NameLabel, NavChildItem, NavChildLine, NavContainer, NavContainerStyles, NavList, NavMainItem, NavMainItemWrapper, NavMobileHeaderWrapper, NavMobileOverlay, OptCustomLabel, PageButton, PageDot, PageLabel, PageWrapper, PaginationContainer, PanelBody, PanelContainer, PanelWrapper, type PartialBy, PopupAddProductContainer, PopupBoxWrapper, PopupCard, PopupColumnGroup, PopupComponent, PopupDownloadWrapper, PopupExportCardWrapper, PopupItem, PopupItemLabel, PopupItemName, PopupList, PopupRowGroup, PopupTable, PopupTableBody, PopupTableHead, PopupTableItem, RadioComponent, RangeContainer, ReactPortalComponent, RightPanelContainer, ScrollArrowContainer, SearchDropdownContainer, SearchFilterContainer, SearchFormWrapper, SearchResultItem, SearchResultList, SearchResultWrapper, SearchWrapper, SearchWrapperPopup, SelectAllComponent, SelectAsyncCreateablePaginateComponent, SelectAsyncPaginateComponent, SelectCheckboxContainer, SelectComponent, SelectionDate, SingleFormContainer, SortByWrapper, SwitchComponent, type TActionMeta, type TBlurEvent, type TCSSObject, type TCSSObjectWithLabel, type TChangeEvent, type TChannel, type TCloseDropdownFunction, type TControlPropsWithVariable, type TCustomStylesWithVariable, type TDetailNew, type TDragEvent, type TDropdown, type TEnterEvent, type TFile, type TFileImage, type TGroupBaseWithVariable, type THeadProps, type THierarchy, type TIdNum, type TIdStr, type TInData, type TInDetail, type TInDetailProps, type TInList, type TInListProps, type TInPart, type TInlistPart, type TInputEvent, type TKeyboadEvent, type TLoadOption, type TMenuListProps, type TMessage, type TMessageFunction, type TMessageQuestion, type TMessageQuestionFunction, type TModerateDateAntFunction, type TMoment, type TMouseEvent, type TMultiValue, type TMultiValuePropsWithVariable, type TNewFilterPartial, type TNewFunction, type TObjPage, type TObject, type TOnChangeValue, type TOnChangeValueFalse, type TOnChangeValueTrue, type TOption, type TOptionProps, type TOptionPropsWithVariable, type TOptionsOrGroupsWithVariable, type TPage, type TPageObj, type TPagination, type TPasteEvent, type TPopup, type TPopupContainer, type TPopupFunction, type TPopupFunctionGroup, type TPopupFunctionParam, type TPopupOpenFunction, type TResponseAsync, type TSelectAsyncPaginate, type TSingleValueProps, type TState, type TStateCallback, type TUPage, type TUser, type TValueContainerPropsWithVariable, TableBundleColumn, TableColumnGroup, TableComponent, TableContentWrapper, TableHeadLabel, TableHeadWrapper, TableItemColumn, TableItemWrapper, TableLabel, TableRightGroup, TableRowGroup, TabsContainer, TabsContent, TabsHeader, TabsItem, TabsList, TabsWrapper, TextAreaComponent, TextAreaRefComponent, TextComponent, Title, TotalLabel, UpdateContainer, UploadComponent, UploadDragDropComponent, type WithRequired, abbreviateNumber, buttonActiveShadowStyle, buttonActiveStyle, buttonHoverStyle, buttonStyle, capitalize, capitalizeWords, channelMap, clearList, colorCommonQuantity, colorStatus, colorStockAdjust, colorStockInboundQuantity, colorStockInboundStatus, colorStockQuantity, colorStockStatus, commonCSSLists, configDateRange, configDateRangeAnt, currencyNumber, dateRangeStatus, debounce, dropBase, elipsis, errorMessage, errorTitle, evCheckAllValidation, evCheckAllValidationByHeader, evCheckAllValidationByHeaderWithVariant, evCloseDropdown, evExecuteError, evForceCloseDropdown, evGenerateValueMatch, evHighlight, evKeyMapperScanner, evRemoveActiveButton, evScrollTo, evSetTotal, evToogleSelect, evUpdateInputRc, formLabel, formatNumber, generateAddress, generateMessage, generateMessageQuestion, generateSUM, generateValue, generateValueTable, getFileType, getSizeContainer, getStorage, headTable, historyType, humanise, isCustomVariantChannel, isDesktop, isMobile, isTablet, type modeTable, multiElipsis, pageMasterTable, pasteIntoInput, removeStorage, responseWidth, setStorage, statusColor, thirdElipsis, typePage, unCamelCaseKeys, unescapeHTML, validateByApproveJs };
|