@expressms/smartapp-ui 2.1.5 → 2.1.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/build/main/assets/icons/cancel-cross.svg +2 -2
- package/build/main/assets/icons/clear.svg +2 -9
- package/build/main/assets/icons/contact-info.svg +12 -0
- package/build/main/assets/icons/corporate-user.svg +10 -0
- package/build/main/assets/icons/crown.svg +1 -3
- package/build/main/assets/icons/external-link.svg +2 -2
- package/build/main/assets/icons/my-contact-user.svg +10 -0
- package/build/main/assets/icons/trust-user.svg +10 -0
- package/build/main/assets/storybook/index.d.ts +2 -0
- package/build/main/assets/storybook/index.js +3 -0
- package/build/main/assets/storybook/index.js.map +1 -0
- package/build/main/constants/constants.d.ts +5 -2
- package/build/main/constants/constants.js +4 -1
- package/build/main/constants/constants.js.map +1 -1
- package/build/main/constants/types.d.ts +5 -0
- package/build/main/helpers/index.d.ts +2 -2
- package/build/main/helpers/index.js +2 -1
- package/build/main/helpers/index.js.map +1 -1
- package/build/main/styles/styles.scss +2 -2
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
- package/build/main//321/201omponents/ActionModal/ActionModal.js +2 -2
- package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -1
- package/build/main//321/201omponents/ActionModal/types.d.ts +1 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js +2 -4
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -1
- package/build/main//321/201omponents/Avatar/Avatar.d.ts +1 -1
- package/build/main//321/201omponents/Avatar/Avatar.js +10 -10
- package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -1
- package/build/main//321/201omponents/Avatar/types.d.ts +4 -2
- package/build/main//321/201omponents/Avatar/types.js.map +1 -1
- package/build/main//321/201omponents/Chip/Chip.d.ts +1 -1
- package/build/main//321/201omponents/Chip/Chip.js +10 -4
- package/build/main//321/201omponents/Chip/Chip.js.map +1 -1
- package/build/main//321/201omponents/Chip/types.d.ts +1 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +1 -1
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -1
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js +1 -1
- package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +1 -1
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +3 -2
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -1
- package/build/main//321/201omponents/DragAndDrop/types.d.ts +5 -0
- package/build/main//321/201omponents/Modal/Modal.d.ts +1 -1
- package/build/main//321/201omponents/Modal/Modal.js +3 -3
- package/build/main//321/201omponents/Modal/Modal.js.map +1 -1
- package/build/main//321/201omponents/Modal/types.d.ts +1 -0
- package/build/main//321/201omponents/Stories/Stories.js +5 -2
- package/build/main//321/201omponents/Stories/Stories.js.map +1 -1
- package/build/main//321/201omponents/Textarea/Textarea.js +1 -1
- package/build/main//321/201omponents/Textarea/Textarea.js.map +1 -1
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +24 -0
- package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +31 -0
- package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/GroupHeading/GroupHeading.d.ts +2 -0
- package/build/main//321/201omponents/UserDropdown/GroupHeading/GroupHeading.js +20 -0
- package/build/main//321/201omponents/UserDropdown/GroupHeading/GroupHeading.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +23 -0
- package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +2 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +22 -0
- package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +3 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.js +63 -0
- package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +4 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js +199 -0
- package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/colors.d.ts +19 -0
- package/build/main//321/201omponents/UserDropdown/colors.js +20 -0
- package/build/main//321/201omponents/UserDropdown/colors.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/helpers.d.ts +45 -0
- package/build/main//321/201omponents/UserDropdown/helpers.js +49 -0
- package/build/main//321/201omponents/UserDropdown/helpers.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/index.d.ts +1 -0
- package/build/main//321/201omponents/UserDropdown/index.js +2 -0
- package/build/main//321/201omponents/UserDropdown/index.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +17 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.js +62 -0
- package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -0
- package/build/main//321/201omponents/UserDropdown/types.d.ts +130 -0
- package/build/main//321/201omponents/UserDropdown/types.js +2 -0
- package/build/main//321/201omponents/UserDropdown/types.js.map +1 -0
- package/build/main//321/201omponents/index.d.ts +1 -0
- package/build/main//321/201omponents/index.js +1 -0
- package/build/main//321/201omponents/index.js.map +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
export var generateCorporateOption = function (_a) {
|
|
13
|
+
var _b = _a.option, name = _b.name, avatar = _b.avatar, email = _b.email, contacts = _b.contacts, serverName = _b.serverName, company = _b.company, department = _b.department, companyPosition = _b.companyPosition, theme = _a.theme;
|
|
14
|
+
return ({
|
|
15
|
+
value: contacts[0].userHuid,
|
|
16
|
+
label: name,
|
|
17
|
+
avatar: avatar,
|
|
18
|
+
email: email || contacts[0].contact,
|
|
19
|
+
serverName: serverName,
|
|
20
|
+
company: company,
|
|
21
|
+
department: department,
|
|
22
|
+
companyPosition: companyPosition,
|
|
23
|
+
theme: theme,
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
export var generateCorporateOptionsToSelect = function (_a) {
|
|
27
|
+
var options = _a.options, theme = _a.theme, platform = _a.platform, isTrustUser = _a.isTrustUser;
|
|
28
|
+
return options.map(function (option) { return (__assign(__assign({}, generateCorporateOption({ option: option, theme: theme })), { isTrustUser: isTrustUser, platform: platform })); });
|
|
29
|
+
};
|
|
30
|
+
export var generateContactsOption = function (_a) {
|
|
31
|
+
var _b = _a.option, name = _b.name, avatar = _b.avatar, email = _b.email, theme = _a.theme;
|
|
32
|
+
return ({
|
|
33
|
+
value: email,
|
|
34
|
+
label: name || email,
|
|
35
|
+
avatar: avatar,
|
|
36
|
+
email: email,
|
|
37
|
+
isMyContacts: true,
|
|
38
|
+
theme: theme,
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
export var generateContactsOptionsToSelect = function (_a) {
|
|
42
|
+
var options = _a.options, theme = _a.theme;
|
|
43
|
+
return options.map(function (option) { return generateContactsOption({ option: option, theme: theme }); });
|
|
44
|
+
};
|
|
45
|
+
export var IndicatorSeparator = function () { return null; };
|
|
46
|
+
export var DropdownIndicator = function () { return null; };
|
|
47
|
+
export var MultiValueRemove = function () { return null; };
|
|
48
|
+
export var LoadingIndicator = function () { return null; };
|
|
49
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,MAAM,CAAC,IAAM,uBAAuB,GAAG,UAAC,EAGb;QAFzB,cAA2F,EAAjF,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,KAAK,WAAA,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA,EAAE,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,eAAe,qBAAA,EACzF,KAAK,WAAA;IACyB,OAAA,CAAC;QAC/B,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ;QAC3B,KAAK,EAAE,IAAI;QACX,MAAM,QAAA;QACN,KAAK,EAAE,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO;QACnC,UAAU,YAAA;QACV,OAAO,SAAA;QACP,UAAU,YAAA;QACV,eAAe,iBAAA;QACf,KAAK,OAAA;KACN,CAAC;AAV8B,CAU9B,CAAA;AAEF,MAAM,CAAC,IAAM,gCAAgC,GAAG,UAAC,EAA4E;QAA1E,OAAO,aAAA,EAAE,KAAK,WAAA,EAAE,QAAQ,cAAA,EAAE,WAAW,iBAAA;IACtF,OAAA,OAAO,CAAC,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,uBACnB,uBAAuB,CAAC,EAAE,MAAM,QAAA,EAAE,KAAK,OAAA,EAAE,CAAC,KAC7C,WAAW,aAAA,EACX,QAAQ,UAAA,IACR,EAJsB,CAItB,CAAC;AAJH,CAIG,CAAA;AAEL,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,EAAmE;QAAjE,cAA+B,EAArB,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,KAAK,WAAA,EAAI,KAAK,WAAA;IAAgC,OAAA,CAAC;QAC9G,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,IAAI,IAAI,KAAK;QACpB,MAAM,QAAA;QACN,KAAK,OAAA;QACL,YAAY,EAAE,IAAI;QAClB,KAAK,OAAA;KACN,CAAC;AAP6G,CAO7G,CAAA;AAEF,MAAM,CAAC,IAAM,+BAA+B,GAAG,UAAC,EAAoD;QAAlD,OAAO,aAAA,EAAE,KAAK,WAAA;IAC9D,OAAA,OAAO,CAAC,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,sBAAsB,CAAC,EAAE,MAAM,QAAA,EAAE,KAAK,OAAA,EAAE,CAAC,EAAzC,CAAyC,CAAC;AAAlE,CAAkE,CAAA;AAEpE,MAAM,CAAC,IAAM,kBAAkB,GAAG,cAAM,OAAA,IAAI,EAAJ,CAAI,CAAA;AAC5C,MAAM,CAAC,IAAM,iBAAiB,GAAG,cAAM,OAAA,IAAI,EAAJ,CAAI,CAAA;AAC3C,MAAM,CAAC,IAAM,gBAAgB,GAAG,cAAM,OAAA,IAAI,EAAJ,CAAI,CAAA;AAC1C,MAAM,CAAC,IAAM,gBAAgB,GAAG,cAAM,OAAA,IAAI,EAAJ,CAAI,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './UserDropdown';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TSelectStyles } from './types';
|
|
2
|
+
declare const _default: ({ isLoading, isFullScreen, isMaxMembersAdded, isDisabled, isError, lastRowNumber, paddingLeft, borderType, theme, }: TSelectStyles) => {
|
|
3
|
+
control: (provided: any, { menuIsOpen }: any) => any;
|
|
4
|
+
menu: (provided: any) => any;
|
|
5
|
+
group: (provided: any) => any;
|
|
6
|
+
groupHeading: (provided: any) => any;
|
|
7
|
+
menuList: (provided: any) => any;
|
|
8
|
+
valueContainer: (provided: any, { hasValue }: any) => any;
|
|
9
|
+
placeholder: (provided: any) => any;
|
|
10
|
+
input: (provided: any) => any;
|
|
11
|
+
multiValue: (provided: any) => any;
|
|
12
|
+
multiValueLabel: (provided: any) => any;
|
|
13
|
+
noOptionsMessage: (provided: any) => any;
|
|
14
|
+
loadingMessage: (provided: any) => any;
|
|
15
|
+
option: (provided: any) => any;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { isDarkTheme } from '../../helpers';
|
|
13
|
+
import { INPUT_BORDER_TYPE } from '../../constants';
|
|
14
|
+
import * as colors from './colors';
|
|
15
|
+
// eslint-disable-next-line import/no-anonymous-default-export
|
|
16
|
+
export default (function (_a) {
|
|
17
|
+
var isLoading = _a.isLoading, isFullScreen = _a.isFullScreen, isMaxMembersAdded = _a.isMaxMembersAdded, isDisabled = _a.isDisabled, isError = _a.isError, lastRowNumber = _a.lastRowNumber, paddingLeft = _a.paddingLeft, borderType = _a.borderType, theme = _a.theme;
|
|
18
|
+
return ({
|
|
19
|
+
control: function (provided, _a) {
|
|
20
|
+
var menuIsOpen = _a.menuIsOpen;
|
|
21
|
+
var intenseBorderColor = isDarkTheme(theme) ? colors.lighterBlackColor : colors.intenseBorderColor;
|
|
22
|
+
var paleBorderColor = isDarkTheme(theme) ? colors.lightBlackColor : colors.lighterGrayColor;
|
|
23
|
+
var grayBorderColor = borderType === INPUT_BORDER_TYPE.intense ? intenseBorderColor : paleBorderColor;
|
|
24
|
+
var borderColor = menuIsOpen ? colors.blueColor : grayBorderColor;
|
|
25
|
+
var hoverGrayBorderColor = isDarkTheme(theme) ? colors.hoverBorderColor : colors.grayColor;
|
|
26
|
+
var hoverBorderColor = menuIsOpen ? colors.blueColor : hoverGrayBorderColor;
|
|
27
|
+
var background = isDarkTheme(theme) ? colors.blackBackgroundColor : colors.whiteBackgroundColor;
|
|
28
|
+
var disabledBackground = isDarkTheme(theme) ? colors.lightBlackBackgroundColor : colors.lighterGrayColor;
|
|
29
|
+
return __assign(__assign({}, provided), { background: isDisabled ? disabledBackground : background, borderRadius: '8px', borderColor: isError ? colors.redBorderColor : isDisabled ? disabledBackground : borderColor, boxShadow: 'none', cursor: 'pointer', '&:hover': {
|
|
30
|
+
borderColor: isError ? colors.redBorderColor : hoverBorderColor,
|
|
31
|
+
} });
|
|
32
|
+
},
|
|
33
|
+
menu: function (provided) { return (__assign(__assign({}, provided), { width: isFullScreen ? '384px' : '100%', left: isFullScreen ? '55px' : 0, borderRadius: '4px', boxShadow: isDarkTheme(theme) ? "0 4px 17px 0 ".concat(colors.boxShadowColor) : "0 2px 4px 0 ".concat(colors.boxShadowColor), margin: '4px 0' })); },
|
|
34
|
+
group: function (provided) { return (__assign(__assign({}, provided), { padding: 0, '& > div:last-child > div:last-child': {
|
|
35
|
+
'.smartapp-option__container': {
|
|
36
|
+
borderBottom: 'none',
|
|
37
|
+
},
|
|
38
|
+
} })); },
|
|
39
|
+
groupHeading: function (provided) { return (__assign(__assign({}, provided), { fontSize: '12px', fontWeight: 600, lineHeight: '16px', color: isDarkTheme(theme) ? colors.darkGrayColor : colors.darkGrayColor, background: isDarkTheme(theme) ? colors.lighterBlackBackgroundColor : colors.grayBackgroundColor, textTransform: 'unset', padding: '8px 16px', margin: 0 })); },
|
|
40
|
+
menuList: function (provided) { return (__assign(__assign({}, provided), { maxHeight: isLoading ? 'fit-content' : '356px', background: isDarkTheme(theme) ? colors.lightBlackColor : colors.whiteBackgroundColor, borderRadius: '4px', padding: 0 })); },
|
|
41
|
+
valueContainer: function (provided, _a) {
|
|
42
|
+
var hasValue = _a.hasValue;
|
|
43
|
+
var padding = lastRowNumber === 1 ? "12px 16px 12px ".concat(paddingLeft) : "8px 16px 8px ".concat(paddingLeft);
|
|
44
|
+
return hasValue ? __assign(__assign({}, provided), { display: 'flex', gap: '8px', padding: padding }) : __assign(__assign({}, provided), { padding: padding });
|
|
45
|
+
},
|
|
46
|
+
placeholder: function (provided) { return (__assign(__assign({}, provided), { fontFamily: "Open Sans, 'sans-serif'", fontSize: '14px', fontWeight: '400', lineHeight: '19px', color: isDarkTheme(theme) ? colors.lighterBlackColor : colors.grayColor, margin: 0 })); },
|
|
47
|
+
input: function (provided) { return (__assign(__assign({}, provided), { display: isMaxMembersAdded || isDisabled ? 'none' : 'grid', fontSize: '14px', fontWeight: '400', lineHeight: '19px', color: isDarkTheme(theme) ? colors.grayBackgroundColor : colors.blackColor, caretColor: colors.blueColor, padding: 0, margin: 0, overflow: 'auto' })); },
|
|
48
|
+
multiValue: function (provided) { return (__assign(__assign({}, provided), { width: isFullScreen ? 'auto' : 'calc(50% - 4px)', background: 'unset', borderRadius: '20px', margin: 0 })); },
|
|
49
|
+
multiValueLabel: function (provided) { return (__assign(__assign({}, provided), { width: '100%', padding: '0 !important', '.smartapp-chip': {
|
|
50
|
+
maxWidth: '100%',
|
|
51
|
+
} })); },
|
|
52
|
+
noOptionsMessage: function (provided) { return (__assign(__assign({}, provided), { fontSize: '12px', fontWeight: 400, color: isDarkTheme(theme) ? colors.grayColor : colors.lightGrayColor, padding: '8px 16px' })); },
|
|
53
|
+
loadingMessage: function (provided) { return (__assign(__assign({}, provided), { padding: 0 })); },
|
|
54
|
+
option: function (provided) { return (__assign(__assign({}, provided), { background: isDarkTheme(theme) ? colors.lightBlackColor : colors.whiteBackgroundColor, padding: '0 0 0 16px', cursor: 'pointer', '&:hover': {
|
|
55
|
+
background: isDarkTheme(theme) ? colors.lightBlackBackgroundColor : colors.darkGrayBackgroundColor,
|
|
56
|
+
'.smartapp-option__container': {
|
|
57
|
+
borderBottomColor: 'transparent',
|
|
58
|
+
},
|
|
59
|
+
} })); },
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=selectStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectStyles.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/selectStyles.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,8DAA8D;AAC9D,gBAAe,UAAC,EAUA;QATd,SAAS,eAAA,EACT,YAAY,kBAAA,EACZ,iBAAiB,uBAAA,EACjB,UAAU,gBAAA,EACV,OAAO,aAAA,EACP,aAAa,mBAAA,EACb,WAAW,iBAAA,EACX,UAAU,gBAAA,EACV,KAAK,WAAA;IACc,OAAA,CAAC;QACpB,OAAO,EAAE,UAAC,QAAa,EAAE,EAAmB;gBAAjB,UAAU,gBAAA;YACnC,IAAM,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAA;YACpG,IAAM,eAAe,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAA;Y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'../../constants';
|
|
2
|
+
export interface IContactBottomSheet {
|
|
3
|
+
theme: string;
|
|
4
|
+
isTrustUser: boolean;
|
|
5
|
+
avatar: string | null;
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
serverName: string | null;
|
|
9
|
+
company: string | null;
|
|
10
|
+
department: string | null;
|
|
11
|
+
companyPosition: string | null;
|
|
12
|
+
}
|
|
13
|
+
export interface IContactInfo {
|
|
14
|
+
theme: string;
|
|
15
|
+
serverName: string | null;
|
|
16
|
+
company: string | null;
|
|
17
|
+
department: string | null;
|
|
18
|
+
companyPosition: string | null;
|
|
19
|
+
}
|
|
20
|
+
export type TRenderInfoItem = {
|
|
21
|
+
title: string;
|
|
22
|
+
info: string;
|
|
23
|
+
};
|
|
24
|
+
export interface ILoadingMessage {
|
|
25
|
+
theme: string;
|
|
26
|
+
}
|
|
27
|
+
export type TGenerateCorporateOption = {
|
|
28
|
+
option: TCorporateEntity;
|
|
29
|
+
theme: string;
|
|
30
|
+
};
|
|
31
|
+
export type TGenerateCorporateOptionsToSelect = {
|
|
32
|
+
options: TCorporateEntity[];
|
|
33
|
+
theme: string;
|
|
34
|
+
platform: string;
|
|
35
|
+
isTrustUser?: boolean;
|
|
36
|
+
};
|
|
37
|
+
export type TGenerateContactsOption = {
|
|
38
|
+
option: TMyContactsEntries;
|
|
39
|
+
theme: string;
|
|
40
|
+
};
|
|
41
|
+
export type TGenerateContactsOptionsToSelect = {
|
|
42
|
+
options: TMyContactsEntries[];
|
|
43
|
+
theme: string;
|
|
44
|
+
};
|
|
45
|
+
export type TSelectStyles = {
|
|
46
|
+
isLoading: boolean;
|
|
47
|
+
isFullScreen: boolean;
|
|
48
|
+
isMaxMembersAdded: boolean;
|
|
49
|
+
isDisabled: boolean;
|
|
50
|
+
isError: boolean;
|
|
51
|
+
lastRowNumber: number;
|
|
52
|
+
paddingLeft: string;
|
|
53
|
+
borderType: string;
|
|
54
|
+
theme: string;
|
|
55
|
+
};
|
|
56
|
+
export type TGenerateNoOptionsMessage = {
|
|
57
|
+
inputValue: string;
|
|
58
|
+
};
|
|
59
|
+
export type THandleFilterOption = {
|
|
60
|
+
data: MultiOptionType;
|
|
61
|
+
};
|
|
62
|
+
type TOptions = {
|
|
63
|
+
options: MultiOptionType[];
|
|
64
|
+
};
|
|
65
|
+
export type TSelectProps = {
|
|
66
|
+
options: TOptions[];
|
|
67
|
+
inputValue: string;
|
|
68
|
+
onChange: (value: MultiOptionType[]) => void;
|
|
69
|
+
onInputChange: (value: string) => void;
|
|
70
|
+
};
|
|
71
|
+
export interface MultiOptionType {
|
|
72
|
+
value: string;
|
|
73
|
+
label: string;
|
|
74
|
+
avatar?: string | null;
|
|
75
|
+
email: string;
|
|
76
|
+
theme: string;
|
|
77
|
+
platform?: string;
|
|
78
|
+
serverName?: string | null;
|
|
79
|
+
company?: string | null;
|
|
80
|
+
department?: string | null;
|
|
81
|
+
companyPosition?: string | null;
|
|
82
|
+
isTrustUser?: boolean;
|
|
83
|
+
isMyContacts?: boolean;
|
|
84
|
+
isEnteredByUser?: boolean;
|
|
85
|
+
}
|
|
86
|
+
export type TMyContactsEntries = {
|
|
87
|
+
name: string | null;
|
|
88
|
+
email: string;
|
|
89
|
+
avatar: string | null;
|
|
90
|
+
};
|
|
91
|
+
type TContacts = {
|
|
92
|
+
userHuid: string;
|
|
93
|
+
contact: string;
|
|
94
|
+
};
|
|
95
|
+
export type TCorporateEntity = {
|
|
96
|
+
avatar: string | null;
|
|
97
|
+
name: string;
|
|
98
|
+
email: string | null;
|
|
99
|
+
serverName: string | null;
|
|
100
|
+
company: string | null;
|
|
101
|
+
department: string | null;
|
|
102
|
+
companyPosition: string | null;
|
|
103
|
+
contacts: TContacts[];
|
|
104
|
+
};
|
|
105
|
+
type TCorporateEntries = {
|
|
106
|
+
corpPhonebookEntries: TCorporateEntity[];
|
|
107
|
+
trustSearchEntries: TCorporateEntity[];
|
|
108
|
+
};
|
|
109
|
+
export interface IUserDropdownProps extends ICommonProps {
|
|
110
|
+
isFullScreen?: boolean;
|
|
111
|
+
isDisabled?: boolean;
|
|
112
|
+
isLoading?: boolean;
|
|
113
|
+
isMenuCloseOnSelect?: boolean;
|
|
114
|
+
title?: string;
|
|
115
|
+
mask?: string;
|
|
116
|
+
placeholder?: string;
|
|
117
|
+
hint?: string;
|
|
118
|
+
noOptionsMessage?: string;
|
|
119
|
+
maxMembersCount?: number;
|
|
120
|
+
borderType?: 'pale' | 'intense';
|
|
121
|
+
selectedEntries?: (TCorporateEntity | TMyContactsEntries)[];
|
|
122
|
+
corporateEntries: TCorporateEntries | null;
|
|
123
|
+
myContactsEntries: TMyContactsEntries[] | null;
|
|
124
|
+
onInputChange: (inputValue: string) => void;
|
|
125
|
+
onChange: (users: (TCorporateEntity | TMyContactsEntries | {
|
|
126
|
+
email: string;
|
|
127
|
+
})[]) => void;
|
|
128
|
+
onMenuClose?: () => void;
|
|
129
|
+
}
|
|
130
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/types.ts"],"names":[],"mappings":""}
|
|
@@ -24,3 +24,4 @@ export { default as Notification } from './Notification';
|
|
|
24
24
|
export { default as RadioButton } from './RadioButton';
|
|
25
25
|
export { default as Textarea } from './Textarea';
|
|
26
26
|
export { default as ContextMenu } from './ContextMenu';
|
|
27
|
+
export { default as UserDropdown } from './UserDropdown';
|
|
@@ -24,4 +24,5 @@ export { default as Notification } from './Notification';
|
|
|
24
24
|
export { default as RadioButton } from './RadioButton';
|
|
25
25
|
export { default as Textarea } from './Textarea';
|
|
26
26
|
export { default as ContextMenu } from './ContextMenu';
|
|
27
|
+
export { default as UserDropdown } from './UserDropdown';
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/сomponents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,I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A;AACtD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expressms/smartapp-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "SmartApp UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "build/main/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"react-insta-stories": "^2.6.2",
|
|
61
61
|
"react-refresh": "^0.11.0",
|
|
62
62
|
"react-router-dom": "^6.7.0",
|
|
63
|
-
"react-select": "^5.
|
|
63
|
+
"react-select": "^5.8.0",
|
|
64
64
|
"react-slick": "^0.29.0",
|
|
65
65
|
"react-swipeable": "^7.0.1",
|
|
66
66
|
"react-toastify": "9.0.3",
|
|
@@ -124,6 +124,8 @@
|
|
|
124
124
|
]
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
+
"@expressms/eslint-config": "^1.0.3",
|
|
128
|
+
"@expressms/prettier-config": "^1.0.0",
|
|
127
129
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
128
130
|
"@storybook/addon-actions": "^6.5.15",
|
|
129
131
|
"@storybook/addon-essentials": "^6.5.15",
|