forstok-ui-lib 5.13.4 → 5.13.5
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 +6 -4
- package/dist/index.js +298 -298
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/javascripts/function.ts +13 -13
- package/src/components/masterTable/index.tsx +2 -2
- package/src/components/select/index.tsx +8 -2
- package/src/typeds/shares.typed.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { HTMLAttributes, ReactNode, AnchorHTMLAttributes, MouseEvent, Dispatch, SetStateAction, KeyboardEvent, FocusEvent, ChangeEvent, DragEvent, ClipboardEvent, InputHTMLAttributes, JSX, PropsWithChildren, ButtonHTMLAttributes, RefObject, ImgHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
|
-
import { OnChangeValue, ActionMeta, OptionProps, StylesConfig, CSSObjectWithLabel, ControlProps, GroupBase, SingleValueProps, MenuListProps } from 'react-select';
|
|
4
|
+
import { OnChangeValue, ActionMeta, OptionProps, StylesConfig, CSSObjectWithLabel, ControlProps, GroupBase, SingleValueProps, MenuListProps, MultiValueRemoveProps } from 'react-select';
|
|
5
5
|
export { components } from 'react-select';
|
|
6
6
|
import { CSSObject } from '@emotion/serialize';
|
|
7
7
|
import * as styled_components from 'styled-components';
|
|
@@ -390,10 +390,10 @@ type TInPart = {
|
|
|
390
390
|
evCloseDropdown?: TCloseDropdownFunction;
|
|
391
391
|
evCreateMessage?: TMessageFunction;
|
|
392
392
|
evCreateMessageQuestion?: TMessageQuestionFunction;
|
|
393
|
-
saveSubscription?: (statuses: (string | null)[], id: number) => void;
|
|
393
|
+
saveSubscription?: (statuses: (string | null)[], id: string | number) => void;
|
|
394
394
|
clearSubscription?: () => void;
|
|
395
395
|
data?: any;
|
|
396
|
-
id?: string;
|
|
396
|
+
id?: string | number;
|
|
397
397
|
evPrintReceipt?: (dataOrder: any) => void;
|
|
398
398
|
};
|
|
399
399
|
type TInList = TInPart & {
|
|
@@ -580,6 +580,8 @@ type TSelect = {
|
|
|
580
580
|
name?: string;
|
|
581
581
|
customOption?: (arg0: OptionProps) => void;
|
|
582
582
|
customLabel?: (arg0: SingleValueProps) => void;
|
|
583
|
+
customMenuList?: (arg0: MenuListProps) => void;
|
|
584
|
+
customMultiValueRemove?: (arg0: MultiValueRemoveProps) => void;
|
|
583
585
|
MenuList?: any;
|
|
584
586
|
isCreateable?: boolean;
|
|
585
587
|
isClearable?: boolean;
|
|
@@ -606,7 +608,7 @@ type TSelect = {
|
|
|
606
608
|
isLoading?: boolean;
|
|
607
609
|
height?: string;
|
|
608
610
|
};
|
|
609
|
-
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, ...props }: TSelect) => react_jsx_runtime.JSX.Element;
|
|
611
|
+
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) => react_jsx_runtime.JSX.Element;
|
|
610
612
|
|
|
611
613
|
declare const MenuList: (props: JSX.IntrinsicAttributes & MenuListProps<unknown, boolean, GroupBase<unknown>>) => react_jsx_runtime.JSX.Element;
|
|
612
614
|
|