forstok-ui-lib 5.6.4 → 5.6.6

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 CHANGED
@@ -396,6 +396,7 @@ type TLoadOption = (search: string, callback: () => void, { endCursor }: {
396
396
  } | undefined>;
397
397
  type TOnChangeValue = OnChangeValue<TOption, boolean>;
398
398
  type TOnChangeValueFalse = OnChangeValue<TOption, false>;
399
+ type TOnChangeValueTrue = OnChangeValue<TOption, true>;
399
400
  type TActionMeta = ActionMeta<TOption>;
400
401
  type TSelectAsyncPaginate = {
401
402
  customOption?: (arg0: OptionProps) => void;
@@ -414,13 +415,14 @@ type TSelectAsyncPaginate = {
414
415
  isForceUpdate: boolean;
415
416
  setForceUpdate: TState<boolean>;
416
417
  };
417
- type TCustomStyles = StylesConfig<TOption, boolean>;
418
+ type TCustomStylesWithVariable = StylesConfig<TOption, boolean>;
418
419
  type TCSSObject = CSSObject;
419
420
  type TCSSObjectWithLabel = CSSObjectWithLabel;
420
- type TControlProps = ControlProps<TOption, boolean>;
421
- type TOptionProps = OptionProps<TOption, boolean>;
422
- type TGroupBase = GroupBase<TOption>;
421
+ type TControlPropsWithVariable = ControlProps<TOption, boolean>;
422
+ type TOptionPropsWithVariable = OptionProps<TOption, boolean>;
423
+ type TGroupBaseWithVariable = GroupBase<TOption>;
423
424
  type TSingleValueProps = SingleValueProps;
425
+ type TOptionProps = OptionProps;
424
426
 
425
427
  type TSelect = {
426
428
  type?: string;
@@ -684,4 +686,4 @@ declare const configDateRange: {
684
686
  minDate: string;
685
687
  };
686
688
 
687
- export { BoxContainer, BreadcrumbContainer, BulkActionWrapper, ButtonComponent, CheckboxComponent, ContentLoaderAccountsList, ContentLoaderActivityList, ContentLoaderAddition, ContentLoaderAnalyticsMenu, ContentLoaderCategoryList, ContentLoaderChatAccounts, ContentLoaderChatMessages, ContentLoaderChatProducts, ContentLoaderChatStores, ContentLoaderDashboardCard, ContentLoaderEditBundle, ContentLoaderFilterCategories, ContentLoaderFilters, ContentLoaderInvoiceListPaymentreceiveDetail, ContentLoaderMasterBundleDetail, ContentLoaderMasterDetail, ContentLoaderMasterList, ContentLoaderMasterListingDetail, ContentLoaderNonOrderList, ContentLoaderNotifUpdate, ContentLoaderOneLinePromotion, ContentLoaderOnlyBodyDashboardCard, ContentLoaderOnlyBodyTableList, ContentLoaderOnlyHeaderTableList, ContentLoaderOrderDetail, ContentLoaderOrderList, ContentLoaderPagination, ContentLoaderPopupBundle, ContentLoaderPopupChooseStore, ContentLoaderPopupLinkedListing, ContentLoaderPopupListOrder, ContentLoaderPopupPaymentReceive, ContentLoaderPopupPaymentReceived, ContentLoaderPopupPicklist, ContentLoaderPopupReadyToShip, ContentLoaderPopupStoreSelect, ContentLoaderPromotionHover, ContentLoaderReportingDashboard, ContentLoaderSetting, ContentLoaderTableList, DateComponent, DateTimeComponent, DropDownComponent as DropdownComponent, ErrorComponent, FigureWraper, FoContainer, FormContainer, HeaderContainer, IconComponent, ImageComponent, InfoGroup, InitialContainer, InputComponent, InputGroup, InputWithRefComponent as InputRefComponent, IsNumeric, type KeysToSnakeCase, LabelComponent, LinkComponent, ListComponent, ListContainer, LoadingComponent, MasterTableActionWrapper, MasterTableComponent, MenuList, MessageComponent, MessageQuestionComponent, MuteLabel, PanelContainer, PanelWrapper, type PartialBy, PopupComponent, RadioComponent, ReactPortalComponent, SelectComponent, SingleFormContainer, SwitchComponent, type TActionMeta, type TCSSObject, type TCSSObjectWithLabel, type TChangeEvent, type TChannel, type TCloseDropdownFunction, type TControlProps, type TCustomStyles, type TDragEvent, type TDropdown, type TEnterEvent, type TFile, type TFileImage, type TGroupBase, type THeadProps, type THierarchy, type TIdNum, type TIdStr, type TKeyboadEvent, type TLoadOption, type TMasterProps, type TMessage, type TMessageFunction, type TMessageQuestion, type TMessageQuestionFunction, type TMouseEvent, type TObject, type TOnChangeValue, type TOnChangeValueFalse, type TOption, type TOptionProps, type TPage, type TPopup, type TPopupContainer, type TPopupFunction, type TPopupFunctionGroup, type TPopupFunctionParam, type TPopupOpenFunction, type TSelectAsyncPaginate, type TSingleValueProps, type TState, type TUser, TabsContainer, TabsContent, TextAreaComponent, TextAreaWithRefComponent as TextAreaRefComponent, TextComponent, Title, UploadComponent, UploadDragDropComponent, type WithRequired, boxBase, capitalize, clearList, colorCommonQuantity, configDateRange, currencyNumber, dateRangeDays, dateRangeStatus, debounce, dropBase, elipsis, errorTitle, evGenerateValueMatch, evUpdateInputRc, formLabel, formatNumber, generateMessage, generateMessageQuestion, generateValue, generateValueTable, getSizeContainer, getStorage, headTable, multiElipsis, pageMasterTable, removeStorage, responseWidth, setStorage, thirdElipsis, unescapeHTML, validateByApproveJs };
689
+ export { BoxContainer, BreadcrumbContainer, BulkActionWrapper, ButtonComponent, CheckboxComponent, ContentLoaderAccountsList, ContentLoaderActivityList, ContentLoaderAddition, ContentLoaderAnalyticsMenu, ContentLoaderCategoryList, ContentLoaderChatAccounts, ContentLoaderChatMessages, ContentLoaderChatProducts, ContentLoaderChatStores, ContentLoaderDashboardCard, ContentLoaderEditBundle, ContentLoaderFilterCategories, ContentLoaderFilters, ContentLoaderInvoiceListPaymentreceiveDetail, ContentLoaderMasterBundleDetail, ContentLoaderMasterDetail, ContentLoaderMasterList, ContentLoaderMasterListingDetail, ContentLoaderNonOrderList, ContentLoaderNotifUpdate, ContentLoaderOneLinePromotion, ContentLoaderOnlyBodyDashboardCard, ContentLoaderOnlyBodyTableList, ContentLoaderOnlyHeaderTableList, ContentLoaderOrderDetail, ContentLoaderOrderList, ContentLoaderPagination, ContentLoaderPopupBundle, ContentLoaderPopupChooseStore, ContentLoaderPopupLinkedListing, ContentLoaderPopupListOrder, ContentLoaderPopupPaymentReceive, ContentLoaderPopupPaymentReceived, ContentLoaderPopupPicklist, ContentLoaderPopupReadyToShip, ContentLoaderPopupStoreSelect, ContentLoaderPromotionHover, ContentLoaderReportingDashboard, ContentLoaderSetting, ContentLoaderTableList, DateComponent, DateTimeComponent, DropDownComponent as DropdownComponent, ErrorComponent, FigureWraper, FoContainer, FormContainer, HeaderContainer, IconComponent, ImageComponent, InfoGroup, InitialContainer, InputComponent, InputGroup, InputWithRefComponent as InputRefComponent, IsNumeric, type KeysToSnakeCase, LabelComponent, LinkComponent, ListComponent, ListContainer, LoadingComponent, MasterTableActionWrapper, MasterTableComponent, MenuList, MessageComponent, MessageQuestionComponent, MuteLabel, PanelContainer, PanelWrapper, type PartialBy, PopupComponent, RadioComponent, ReactPortalComponent, SelectComponent, SingleFormContainer, SwitchComponent, type TActionMeta, type TCSSObject, type TCSSObjectWithLabel, type TChangeEvent, type TChannel, type TCloseDropdownFunction, type TControlPropsWithVariable, type TCustomStylesWithVariable, type TDragEvent, type TDropdown, type TEnterEvent, type TFile, type TFileImage, type TGroupBaseWithVariable, type THeadProps, type THierarchy, type TIdNum, type TIdStr, type TKeyboadEvent, type TLoadOption, type TMasterProps, type TMessage, type TMessageFunction, type TMessageQuestion, type TMessageQuestionFunction, type TMouseEvent, type TObject, type TOnChangeValue, type TOnChangeValueFalse, type TOnChangeValueTrue, type TOption, type TOptionProps, type TOptionPropsWithVariable, type TPage, type TPopup, type TPopupContainer, type TPopupFunction, type TPopupFunctionGroup, type TPopupFunctionParam, type TPopupOpenFunction, type TSelectAsyncPaginate, type TSingleValueProps, type TState, type TUser, TabsContainer, TabsContent, TextAreaComponent, TextAreaWithRefComponent as TextAreaRefComponent, TextComponent, Title, UploadComponent, UploadDragDropComponent, type WithRequired, boxBase, capitalize, clearList, colorCommonQuantity, configDateRange, currencyNumber, dateRangeDays, dateRangeStatus, debounce, dropBase, elipsis, errorTitle, evGenerateValueMatch, evUpdateInputRc, formLabel, formatNumber, generateMessage, generateMessageQuestion, generateValue, generateValueTable, getSizeContainer, getStorage, headTable, multiElipsis, pageMasterTable, removeStorage, responseWidth, setStorage, thirdElipsis, unescapeHTML, validateByApproveJs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.6.4",
3
+ "version": "5.6.6",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -38,6 +38,8 @@ export type TOnChangeValue = OnChangeValue<TOption, boolean>
38
38
 
39
39
  export type TOnChangeValueFalse = OnChangeValue<TOption, false>
40
40
 
41
+ export type TOnChangeValueTrue = OnChangeValue<TOption, true>
42
+
41
43
  export type TActionMeta = ActionMeta<TOption>
42
44
 
43
45
  export type TSelectAsyncPaginate = {
@@ -59,16 +61,18 @@ export type TSelectAsyncPaginate = {
59
61
  setForceUpdate: TState<boolean>
60
62
  }
61
63
 
62
- export type TCustomStyles = StylesConfig<TOption, boolean>
64
+ export type TCustomStylesWithVariable = StylesConfig<TOption, boolean>
63
65
 
64
66
  export type TCSSObject = CSSObject
65
67
 
66
68
  export type TCSSObjectWithLabel = CSSObjectWithLabel
67
69
 
68
- export type TControlProps = ControlProps<TOption, boolean>
70
+ export type TControlPropsWithVariable = ControlProps<TOption, boolean>
71
+
72
+ export type TOptionPropsWithVariable = OptionProps<TOption, boolean>
69
73
 
70
- export type TOptionProps = OptionProps<TOption, boolean>
74
+ export type TGroupBaseWithVariable = GroupBase<TOption>
71
75
 
72
- export type TGroupBase = GroupBase<TOption>
76
+ export type TSingleValueProps = SingleValueProps
73
77
 
74
- export type TSingleValueProps = SingleValueProps
78
+ export type TOptionProps = OptionProps