@expressms/smartapp-ui 2.2.2 → 2.2.4
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/build/main/constants/constants.d.ts +12 -1
- package/build/main/constants/constants.js +14 -1
- package/build/main/constants/constants.js.map +1 -1
- package/build/main/helpers/index.d.ts +3 -0
- package/build/main/helpers/index.js +4 -1
- package/build/main/helpers/index.js.map +1 -1
- package/build/main/styles/styles.scss +2 -2
- package/build/main//321/201omponents/Notification/Notification.d.ts +5 -1
- package/build/main//321/201omponents/Notification/Notification.js +13 -6
- package/build/main//321/201omponents/Notification/Notification.js.map +1 -1
- package/build/main//321/201omponents/Notification/types.d.ts +1 -1
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +1 -1
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +2 -3
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +1 -1
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +2 -2
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +3 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +57 -0
- package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +2 -1
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +23 -4
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +2 -1
- package/build/main//321/201omponents/UserDropdown/Option/Option.js +4 -6
- package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +1 -1
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js +78 -53
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/colors.d.ts +2 -2
- package/build/main//321/201omponents/UserDropdown/colors.js +2 -2
- package/build/main//321/201omponents/UserDropdown/colors.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/helpers.d.ts +34 -12
- package/build/main//321/201omponents/UserDropdown/helpers.js +21 -36
- package/build/main//321/201omponents/UserDropdown/helpers.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +1 -3
- package/build/main//321/201omponents/UserDropdown/selectStyles.js +13 -12
- package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/types.d.ts +51 -22
- package/package.json +1 -1
- package/build/main/assets/icons/trust-user.svg +0 -10
- package/build/main//321/201omponents/UserDropdown/GroupHeading/GroupHeading.d.ts +0 -2
- package/build/main//321/201omponents/UserDropdown/GroupHeading/GroupHeading.js +0 -20
- package/build/main//321/201omponents/UserDropdown/GroupHeading/GroupHeading.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectStyles.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/selectStyles.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"selectStyles.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/selectStyles.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,8DAA8D;AAC9D,gBAAe,UA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,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAC,MAAM,CAAC,oBAAoB,EACjG,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,SAAS,EAEjB,SAAS,EAAE;gBACT,UAAU,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,uBAAuB;gBAExF,6BAA6B,EAAE;oBAC7B,iBAAiB,EAAE,MAAM,CAAC,WAAW;iBACtC;aACF,IACD,EAbyB,CAazB;KACH,CAAC;AA9ImB,CA8InB,EAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
|
+
import { MenuListProps, OptionProps } from 'react-select';
|
|
2
3
|
import { ICommonProps } from '../../constants';
|
|
3
4
|
export interface IContactBottomSheet {
|
|
4
5
|
theme: string;
|
|
5
|
-
isTrustUser: boolean;
|
|
6
6
|
avatar: string | null;
|
|
7
7
|
name: string;
|
|
8
8
|
email: string;
|
|
@@ -24,34 +24,60 @@ export type TRenderInfoItem = {
|
|
|
24
24
|
};
|
|
25
25
|
export interface ILoadingMessage {
|
|
26
26
|
theme: 'default' | 'dark';
|
|
27
|
+
skeletonRowsCount?: number;
|
|
27
28
|
}
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
export interface IMenuListProps extends MenuListProps {
|
|
30
|
+
appTheme: 'default' | 'dark';
|
|
31
|
+
selectRef: MutableRefObject<any>;
|
|
32
|
+
scrollFromTop: MutableRefObject<number | undefined>;
|
|
33
|
+
hasNextPage: boolean;
|
|
34
|
+
isLoading: boolean;
|
|
35
|
+
isUserTyping: boolean;
|
|
36
|
+
isNextPageLoading: boolean;
|
|
37
|
+
onLoadNextPage: (inputValue: string) => void;
|
|
38
|
+
}
|
|
39
|
+
type TData = {
|
|
40
|
+
label: string;
|
|
41
|
+
avatar: string | null;
|
|
42
|
+
email: string;
|
|
43
|
+
serverName: string | null;
|
|
44
|
+
company: string | null;
|
|
45
|
+
department: string | null;
|
|
46
|
+
companyPosition: string | null;
|
|
47
|
+
isMyContacts: boolean;
|
|
48
|
+
theme: 'default' | 'dark';
|
|
49
|
+
platform: 'web' | 'ios' | 'android';
|
|
50
|
+
setIsSearchable: (isSearchable: boolean) => void;
|
|
51
|
+
selectRef: MutableRefObject<any>;
|
|
31
52
|
};
|
|
32
|
-
export
|
|
33
|
-
|
|
53
|
+
export interface IOptionProps extends OptionProps {
|
|
54
|
+
data: TData;
|
|
55
|
+
}
|
|
56
|
+
type TGenerateCommonOption = {
|
|
34
57
|
theme: string;
|
|
35
58
|
platform: string;
|
|
36
|
-
|
|
37
|
-
|
|
59
|
+
layoutType: string;
|
|
60
|
+
isChipsCollapsable: boolean;
|
|
61
|
+
isInputFocused: MutableRefObject<boolean>;
|
|
38
62
|
selectRef: MutableRefObject<any>;
|
|
39
63
|
};
|
|
40
|
-
export type
|
|
64
|
+
export type TGenerateCorporateOption = TGenerateCommonOption & {
|
|
65
|
+
option: TCorporateEntity;
|
|
66
|
+
};
|
|
67
|
+
export type TGenerateCorporateOptionsToSelect = TGenerateCommonOption & {
|
|
68
|
+
options: TCorporateEntity[];
|
|
69
|
+
setIsSearchable: (isSearchable: boolean) => void;
|
|
70
|
+
};
|
|
71
|
+
export type TGenerateContactsOption = TGenerateCommonOption & {
|
|
41
72
|
option: TMyContactsEntries;
|
|
42
|
-
theme: string;
|
|
43
73
|
};
|
|
44
|
-
export type TGenerateContactsOptionsToSelect = {
|
|
74
|
+
export type TGenerateContactsOptionsToSelect = TGenerateCommonOption & {
|
|
45
75
|
options: TMyContactsEntries[];
|
|
46
|
-
theme: string;
|
|
47
76
|
};
|
|
48
|
-
export type TGenerateEnteredByUserOption = {
|
|
77
|
+
export type TGenerateEnteredByUserOption = TGenerateCommonOption & {
|
|
49
78
|
email: string;
|
|
50
|
-
theme: string;
|
|
51
79
|
};
|
|
52
80
|
export type TSelectStyles = {
|
|
53
|
-
isLoading: boolean;
|
|
54
|
-
isFullScreen: boolean;
|
|
55
81
|
isChipsVisible: boolean;
|
|
56
82
|
isMaxMembersAdded: boolean;
|
|
57
83
|
isDisabled: boolean;
|
|
@@ -60,6 +86,7 @@ export type TSelectStyles = {
|
|
|
60
86
|
paddingLeft: string;
|
|
61
87
|
borderType: string;
|
|
62
88
|
theme: string;
|
|
89
|
+
layoutType: string;
|
|
63
90
|
};
|
|
64
91
|
export type TGenerateNoOptionsMessage = {
|
|
65
92
|
inputValue: string;
|
|
@@ -67,11 +94,8 @@ export type TGenerateNoOptionsMessage = {
|
|
|
67
94
|
export type THandleFilterOption = {
|
|
68
95
|
data: MultiOptionType;
|
|
69
96
|
};
|
|
70
|
-
type TOptions = {
|
|
71
|
-
options: MultiOptionType[];
|
|
72
|
-
};
|
|
73
97
|
export type TSelectProps = {
|
|
74
|
-
options:
|
|
98
|
+
options: MultiOptionType[];
|
|
75
99
|
inputValue: string;
|
|
76
100
|
onChange: (value: MultiOptionType[]) => void;
|
|
77
101
|
onInputChange: (value: string) => void;
|
|
@@ -82,12 +106,13 @@ export interface MultiOptionType {
|
|
|
82
106
|
avatar?: string | null;
|
|
83
107
|
email: string;
|
|
84
108
|
theme: string;
|
|
109
|
+
layoutType: string;
|
|
110
|
+
isChipsCollapsable: boolean;
|
|
85
111
|
platform?: string;
|
|
86
112
|
serverName?: string | null;
|
|
87
113
|
company?: string | null;
|
|
88
114
|
department?: string | null;
|
|
89
115
|
companyPosition?: string | null;
|
|
90
|
-
isTrustUser?: boolean;
|
|
91
116
|
isMyContacts?: boolean;
|
|
92
117
|
isEnteredByUser?: boolean;
|
|
93
118
|
}
|
|
@@ -118,11 +143,14 @@ export type TUser = TCorporateEntity | TMyContactsEntries | {
|
|
|
118
143
|
email: string;
|
|
119
144
|
};
|
|
120
145
|
export interface IUserDropdownProps extends ICommonProps {
|
|
121
|
-
isFullScreen?: boolean;
|
|
122
146
|
isDisabled?: boolean;
|
|
123
147
|
isLoading?: boolean;
|
|
124
148
|
isChipsVisible?: boolean;
|
|
149
|
+
isChipsCollapsable?: boolean;
|
|
125
150
|
isMenuCloseOnSelect?: boolean;
|
|
151
|
+
hasNextPage?: boolean;
|
|
152
|
+
isNextPageLoading?: boolean;
|
|
153
|
+
layoutType?: 'minimal' | 'half' | 'fullscreen';
|
|
126
154
|
title?: string;
|
|
127
155
|
mask?: string;
|
|
128
156
|
placeholder?: string;
|
|
@@ -136,6 +164,7 @@ export interface IUserDropdownProps extends ICommonProps {
|
|
|
136
164
|
onInputChange: (inputValue: string) => void;
|
|
137
165
|
onChange: (users: TUser[]) => void;
|
|
138
166
|
onMenuClose?: () => void;
|
|
167
|
+
onLoadNextPage?: (inputValue: string) => void;
|
|
139
168
|
menuPosition?: 'bottom' | 'auto' | 'top';
|
|
140
169
|
}
|
|
141
170
|
export {};
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_8442_108093)">
|
|
3
|
-
<path d="M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM5.4 10.758C3.03 10.464 1.2 8.448 1.2 6C1.2 5.628 1.248 5.274 1.326 4.926L4.2 7.8V8.4C4.2 9.06 4.74 9.6 5.4 9.6V10.758ZM9.54 9.234C9.384 8.748 8.94 8.4 8.4 8.4H7.8V6.6C7.8 6.27 7.53 6 7.2 6H3.6V4.8H4.8C5.13 4.8 5.4 4.53 5.4 4.2V3H6.6C7.26 3 7.8 2.46 7.8 1.8V1.554C9.558 2.268 10.8 3.99 10.8 6C10.8 7.248 10.32 8.382 9.54 9.234Z" fill="#4799E3"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_8442_108093">
|
|
7
|
-
<rect width="12" height="12" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { components } from 'react-select';
|
|
14
|
-
import { isNil } from 'lodash';
|
|
15
|
-
var GroupHeading = function (props) {
|
|
16
|
-
var label = props.data.label;
|
|
17
|
-
return !isNil(label) ? _jsx(components.GroupHeading, __assign({}, props)) : null;
|
|
18
|
-
};
|
|
19
|
-
export default GroupHeading;
|
|
20
|
-
//# sourceMappingURL=GroupHeading.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupHeading.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/GroupHeading/GroupHeading.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAE9B,IAAM,YAAY,GAAG,UAAC,KAAU;IAEpB,IAAA,KAAK,GACX,KAAK,WADM,CACN;IAET,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAC,UAAU,CAAC,YAAY,eAAK,KAAK,EAAI,CAAC,CAAC,CAAC,IAAI,CAAA;AACtE,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
|