forstok-ui-lib 5.6.11 → 5.7.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 CHANGED
@@ -365,6 +365,137 @@ type TMasterProps = {
365
365
  setForceUpdate?: TState<boolean>;
366
366
  evPickAll?: TMouseEvent;
367
367
  };
368
+ type TInData<TData = never> = {
369
+ loading: boolean;
370
+ data?: TData | null;
371
+ };
372
+ type TInListProps = {
373
+ loadName: string;
374
+ searchByDef: string;
375
+ hasCheckAll?: boolean;
376
+ hasSubscription?: boolean;
377
+ hasTab?: boolean;
378
+ hasSort?: boolean;
379
+ tabStorage?: string;
380
+ sortStorage?: string;
381
+ pageStorage?: string;
382
+ };
383
+ type TInPart = {
384
+ evOpenPopup?: TPopupOpenFunction;
385
+ evForcePopUp?: TPopupFunction;
386
+ evCloseDropdown?: TCloseDropdownFunction;
387
+ evCreateMessage?: TMessageFunction;
388
+ evCreateMessageQuestion?: TMessageQuestionFunction;
389
+ saveSubscription?: (statuses: (string | null)[], id: number) => void;
390
+ clearSubscription?: () => void;
391
+ data?: any;
392
+ id?: string;
393
+ evPrintReceipt?: (dataOrder: any) => void;
394
+ };
395
+ type TInList = TInPart & {
396
+ firstDispatch: Dispatch<any>;
397
+ resetByOption: (opt?: string | string[], callback?: () => void, noScroll?: boolean) => void;
398
+ activeStatusTab?: string;
399
+ evClickTab?: TMouseEvent;
400
+ loadName?: string;
401
+ activePageOption: number;
402
+ evSetPageOption: TMouseEvent;
403
+ activePage: number;
404
+ evSetPage: TMouseEvent;
405
+ activeCursor: string;
406
+ searchInput: string;
407
+ evSearchInput: TChangeEvent;
408
+ activeSearchBy: string;
409
+ evClickSearchBy: TMouseEvent;
410
+ abortRef: AbortController;
411
+ abortSecRef: AbortController;
412
+ isForceUpdate: boolean;
413
+ checkboxData?: TObject[];
414
+ isCheckAll?: boolean;
415
+ isForceUpdateCheckAll?: boolean;
416
+ isResetSubscription?: boolean;
417
+ activeSort?: string;
418
+ evChangeSort?: TChangeEvent;
419
+ isForceUpdateSort?: boolean;
420
+ evClickCollapse?: TMouseEvent;
421
+ isReadyQuery: boolean;
422
+ };
423
+ type TInlistPart = Omit<TInList, 'evClickTab' | 'activePageOption' | 'evSetPageOption' | 'activePage' | 'evSetPage' | 'activeCursor' | 'searchInput' | 'abortRef' | 'abortSecRef' | 'isResetSubscription' | 'isReadyQuery'> & {
424
+ pageEl: JSX.Element | null;
425
+ readyFilter?: string[];
426
+ parseSetForceUpdate?: (value: boolean) => void;
427
+ evReload?: () => void;
428
+ };
429
+ type TPagination = {
430
+ data?: TPage | null;
431
+ type: string;
432
+ activePage: number;
433
+ evSetPage: TMouseEvent;
434
+ activePageOption?: number;
435
+ evSetPageOption: TMouseEvent;
436
+ $mode?: string;
437
+ };
438
+ type TObjPage = {
439
+ cursor?: string;
440
+ page: number;
441
+ isCurrent: boolean;
442
+ };
443
+ type TPageObj = {
444
+ first: TObjPage;
445
+ last: TObjPage;
446
+ next: TObjPage;
447
+ prev: TObjPage;
448
+ around: TObjPage;
449
+ dot: {
450
+ start: boolean;
451
+ end: boolean;
452
+ };
453
+ } | TObject | null;
454
+ type TNewFilterPartial = {
455
+ firstDispatch?: Dispatch<any>;
456
+ activeStatusTab?: string;
457
+ evCloseDropdown?: TCloseDropdownFunction;
458
+ readyFilter?: string[];
459
+ isForceUpdate: boolean;
460
+ setForceUpdate?: TState<boolean>;
461
+ localStorageName?: string;
462
+ loadName?: string;
463
+ resetByOption?: (opt?: string | string[], callback?: () => void, noScroll?: boolean) => void;
464
+ };
465
+ type TTimeFilter = {
466
+ startDate: Date | null;
467
+ endDate: Date | null;
468
+ rangeDate: string;
469
+ };
470
+ type TNewFunction = {
471
+ checkboxData?: TObject[];
472
+ evReload?: () => void;
473
+ evForcePopUp?: TPopupFunction;
474
+ evCreateMessage?: TMessageFunction;
475
+ evCreateMessageQuestion?: TMessageQuestionFunction;
476
+ type?: string;
477
+ data?: TObject[];
478
+ evOpenPopup?: TPopupOpenFunction;
479
+ inboundId?: number;
480
+ outboundId?: number;
481
+ adjustmentId?: number;
482
+ evMarkIncomplete?: TMouseEvent;
483
+ source?: string;
484
+ portalKey?: number;
485
+ };
486
+ type TDetailNew<TData = never> = {
487
+ activeTab?: string;
488
+ evOpenPopup?: TPopupOpenFunction;
489
+ data: TData;
490
+ evClickTabDetail?: TMouseEvent;
491
+ evCreateMessage?: TMessageFunction;
492
+ evCreateMessageQuestion?: TMessageQuestionFunction;
493
+ evCloseDropdown?: TCloseDropdownFunction;
494
+ evReload?: () => void;
495
+ };
496
+ type Callback<S> = (state: S) => void | (() => void | undefined);
497
+ type DispatchWithCallback<A, S> = (value: A, callback: Callback<S>) => void;
498
+ type TStateCallback<TData> = DispatchWithCallback<React.SetStateAction<TData>, TData>;
368
499
 
369
500
  type TskuAddons = {
370
501
  id?: number;
@@ -657,6 +788,134 @@ declare const FigureWraper: styled_components_dist_types.IStyledComponentBase<"w
657
788
  $size?: string;
658
789
  $mode?: string;
659
790
  }>> & string;
791
+ declare const PanelBody: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
792
+ declare const MultiPanelContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
793
+ declare const RightPanelContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
794
+ declare const LeftPanelContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
795
+ declare const SearchFormWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
796
+ declare const TableHeadLabel: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
797
+ declare const TableHeadWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
798
+ $mode?: string;
799
+ }>> & string;
800
+ declare const TableRowGroup: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
801
+ $content?: string;
802
+ $mode?: string;
803
+ }>> & string;
804
+ declare const TableRightGroup: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
805
+ declare const TableColumnGroup: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
806
+ $mode?: string;
807
+ $content?: string;
808
+ }>> & string;
809
+ declare const ItemPriceLabel: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
810
+ $mode?: string;
811
+ }>> & string;
812
+ declare const TableLabel: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
813
+ $mode?: string;
814
+ }>> & string;
815
+ declare const NameLabel: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
816
+ $mode?: string;
817
+ }>> & string;
818
+ declare const TabsHeader: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
819
+ declare const TabsItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
820
+ $activated?: boolean;
821
+ }>> & string;
822
+ declare const TabsList: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
823
+ declare const TabsWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
824
+ $mode?: string;
825
+ }>> & string;
826
+ declare const TableItemColumn: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
827
+ $mode?: string;
828
+ }>> & string;
829
+ declare const TableItemWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
830
+ $mode: string;
831
+ $isBorder?: boolean;
832
+ $isPopup?: boolean;
833
+ }>> & string;
834
+ declare const CollapseContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
835
+ $mode?: string;
836
+ }>> & string;
837
+ declare const PaginationContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
838
+ declare const PageWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
839
+ $mode?: string;
840
+ }>> & string;
841
+ declare const PageButton: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
842
+ $activated?: boolean;
843
+ $disabled?: boolean;
844
+ }>> & string;
845
+ declare const PageLabel: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
846
+ declare const PageDot: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
847
+ declare const ButtonLabel: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
848
+ declare const LinkContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
849
+ $align?: string;
850
+ }>> & string;
851
+ declare const FilterContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
852
+ declare const SearchFilterContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
853
+ $mode?: string;
854
+ }>> & string;
855
+ declare const SearchWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
856
+ width?: string;
857
+ }>> & string;
858
+ declare const ButtonGroup: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
859
+ declare const FilterWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
860
+ declare const ListTableContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
861
+ declare const ItemTable: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
862
+ declare const ListTable: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
863
+ $mode?: string;
864
+ }>> & string;
865
+ declare const DateWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
866
+ declare const DropdownTitle: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
867
+ declare const DropdownList: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {
868
+ $mode?: string;
869
+ }>> & string;
870
+ declare const DropdownItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {
871
+ $mode?: string;
872
+ }>> & string;
873
+ declare const DropdownAction: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
874
+ declare const FilterList: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
875
+ declare const FilterItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
876
+ declare const FilterListTitle: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
877
+ declare const FilterButton: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
878
+ declare const IconDot: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
879
+ $mode?: string;
880
+ }>> & string;
881
+ declare const SortByWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
882
+ declare const DetailWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
883
+ declare const CardContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
884
+ declare const CardWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
885
+ $mode?: string;
886
+ }>> & string;
887
+ declare const DetailList: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {
888
+ $mode?: string;
889
+ }>> & string;
890
+ declare const DetailItemTitle: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
891
+ declare const DetailItemAction: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
892
+ declare const DetailItemInfo: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
893
+ declare const DetailItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
894
+ declare const DetailItemWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
895
+ declare const DetailPanelWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
896
+ declare const PopupBoxWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
897
+ declare const PopupDownloadWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
898
+ declare const CreateContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
899
+ $mode?: string;
900
+ }>> & string;
901
+ declare const CreateHeaderWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
902
+ $mode?: string;
903
+ }>> & string;
904
+ declare const CreateToolWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
905
+ $mode?: string;
906
+ $type?: string;
907
+ }>> & string;
908
+ declare const SearchDropdownContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
909
+ declare const SearchResultWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
910
+ declare const SearchResultList: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
911
+ declare const SearchResultItem: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
912
+ declare const ListAddItemContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
913
+ declare const SearchWrapperPopup: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
914
+ declare const PopupAddProductContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
915
+ declare const PopupCard: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {
916
+ $mode?: string;
917
+ }>> & string;
918
+ declare const PopupExportCardWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
660
919
 
661
920
  declare const getStorage: (name: string, type?: string, defaultVal?: any, loadName?: string) => any;
662
921
  declare const setStorage: (name: string, value?: any, only?: string) => false | undefined;
@@ -678,12 +937,27 @@ declare const generateValue: (type: string, value: any) => any;
678
937
  declare const validateByApproveJs: (head: TObject, value: any, title?: string, valueMatch?: any) => TObject;
679
938
  declare const evGenerateValueMatch: (validation?: TObject, data?: any) => any;
680
939
  declare const unescapeHTML: (value?: string) => string;
940
+ declare const evScrollTo: (el?: HTMLElement, range?: number) => void;
941
+ declare const evHighlight: (ids: number[]) => void;
942
+ declare const evKeyMapperScanner: (oEvent: any) => any;
943
+ declare const evExecuteError: (evCreateMessage?: TMessageFunction) => void;
944
+ declare const evCheckAllValidation: (data: any[]) => boolean;
945
+ declare const unCamelCaseKeys: (object: TObject) => any;
681
946
 
682
947
  declare const dateRangeStatus: (value: string) => any;
683
948
  declare const dateRangeDays: (value: string) => any;
684
949
  declare const pageMasterTable: (value: string) => "" | "master" | "listing" | "stock" | "promotion" | "payment" | "picklist";
685
950
  declare const errorTitle: (name: string) => string;
686
951
  declare const colorCommonQuantity: (value: number) => "green" | "red";
952
+ declare const statusColor: (name?: string) => "" | "green" | "red" | "#F8813E";
953
+ declare const colorStockStatus: (value?: string) => "#F8813E" | "#21BA45" | "#696969";
954
+ declare const colorStockInboundStatus: (value?: string) => "#F8813E" | "#21BA45" | "#696969";
955
+ declare const colorStockQuantity: (qty?: number, actual?: number) => "red" | "lightgreen";
956
+ declare const colorStockInboundQuantity: (status: string) => "yellow" | "lightgreen";
957
+ declare const colorStockAdjust: (qty: number, newQty: number) => "red" | "lightgreen";
958
+ declare const errorMessage: (value: string) => "already exists" | "is required";
959
+ declare const typePage: (value?: string) => "" | "stock" | "bundle" | "sales";
960
+ declare const historyType: (name?: string) => "" | "ST" | "SA" | "SI" | "SOB" | "RMA" | "SO";
687
961
 
688
962
  declare const configDateRange: {
689
963
  rangeDate: string;
@@ -693,4 +967,4 @@ declare const configDateRange: {
693
967
  minDate: string;
694
968
  };
695
969
 
696
- 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 };
970
+ export { BoxContainer, BreadcrumbContainer, BulkActionWrapper, 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, ContentLoaderOneLinePromotion, ContentLoaderOnlyBodyDashboardCard, ContentLoaderOnlyBodyTableList, ContentLoaderOnlyHeaderTableList, ContentLoaderOrderDetail, ContentLoaderOrderList, ContentLoaderPagination, ContentLoaderPopupBundle, ContentLoaderPopupChooseStore, ContentLoaderPopupLinkedListing, ContentLoaderPopupListOrder, ContentLoaderPopupPaymentReceive, ContentLoaderPopupPaymentReceived, ContentLoaderPopupPicklist, ContentLoaderPopupReadyToShip, ContentLoaderPopupStoreSelect, ContentLoaderPromotionHover, ContentLoaderReportingDashboard, ContentLoaderSetting, ContentLoaderTableList, CreateContainer, CreateHeaderWrapper, CreateToolWrapper, DateComponent, DateTimeComponent, DateWrapper, DetailItem, DetailItemAction, DetailItemInfo, DetailItemTitle, DetailItemWrapper, DetailList, DetailPanelWrapper, DetailWrapper, DropdownAction, DropDownComponent as DropdownComponent, DropdownItem, DropdownList, DropdownTitle, ErrorComponent, FigureWraper, FilterButton, FilterContainer, FilterItem, FilterList, FilterListTitle, FilterWrapper, FoContainer, FormContainer, HeaderContainer, IconComponent, IconDot, ImageComponent, InfoGroup, InitialContainer, InputComponent, InputGroup, InputWithRefComponent as InputRefComponent, IsNumeric, ItemPriceLabel, ItemTable, type KeysToSnakeCase, LabelComponent, LeftPanelContainer, LinkComponent, LinkContainer, ListAddItemContainer, ListComponent, ListContainer, ListTable, ListTableContainer, LoadingComponent, MasterTableActionWrapper, MasterTableComponent, MenuList, MessageComponent, MessageQuestionComponent, MultiPanelContainer, MuteLabel, NameLabel, PageButton, PageDot, PageLabel, PageWrapper, PaginationContainer, PanelBody, PanelContainer, PanelWrapper, type PartialBy, PopupAddProductContainer, PopupBoxWrapper, PopupCard, PopupComponent, PopupDownloadWrapper, PopupExportCardWrapper, RadioComponent, ReactPortalComponent, RightPanelContainer, SearchDropdownContainer, SearchFilterContainer, SearchFormWrapper, SearchResultItem, SearchResultList, SearchResultWrapper, SearchWrapper, SearchWrapperPopup, SelectComponent, SingleFormContainer, SortByWrapper, SwitchComponent, type TActionMeta, 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 TInList, type TInListProps, type TInPart, type TInlistPart, type TKeyboadEvent, type TLoadOption, type TMasterProps, type TMessage, type TMessageFunction, type TMessageQuestion, type TMessageQuestionFunction, type TMouseEvent, type TNewFilterPartial, type TNewFunction, type TObjPage, type TObject, type TOnChangeValue, type TOnChangeValueFalse, type TOnChangeValueTrue, type TOption, type TOptionProps, type TOptionPropsWithVariable, type TPage, type TPageObj, type TPagination, type TPopup, type TPopupContainer, type TPopupFunction, type TPopupFunctionGroup, type TPopupFunctionParam, type TPopupOpenFunction, type TSelectAsyncPaginate, type TSingleValueProps, type TState, type TStateCallback, type TTimeFilter, type TUser, TableColumnGroup, TableHeadLabel, TableHeadWrapper, TableItemColumn, TableItemWrapper, TableLabel, TableRightGroup, TableRowGroup, TabsContainer, TabsContent, TabsHeader, TabsItem, TabsList, TabsWrapper, TextAreaComponent, TextAreaWithRefComponent as TextAreaRefComponent, TextComponent, Title, UploadComponent, UploadDragDropComponent, type WithRequired, boxBase, capitalize, clearList, colorCommonQuantity, colorStockAdjust, colorStockInboundQuantity, colorStockInboundStatus, colorStockQuantity, colorStockStatus, configDateRange, currencyNumber, dateRangeDays, dateRangeStatus, debounce, dropBase, elipsis, errorMessage, errorTitle, evCheckAllValidation, evExecuteError, evGenerateValueMatch, evHighlight, evKeyMapperScanner, evScrollTo, evUpdateInputRc, formLabel, formatNumber, generateMessage, generateMessageQuestion, generateValue, generateValueTable, getSizeContainer, getStorage, headTable, historyType, multiElipsis, pageMasterTable, removeStorage, responseWidth, setStorage, statusColor, thirdElipsis, typePage, unCamelCaseKeys, unescapeHTML, validateByApproveJs };