@expressms/smartapp-ui 2.1.5 → 2.1.7
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 +10 -2
- package/build/main/constants/constants.js +9 -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/Skeleton/Skeleton.d.ts +4 -0
- package/build/main//321/201omponents/Skeleton/Skeleton.js +62 -0
- package/build/main//321/201omponents/Skeleton/Skeleton.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/index.d.ts +1 -0
- package/build/main//321/201omponents/Skeleton/index.js +2 -0
- package/build/main//321/201omponents/Skeleton/index.js.map +1 -0
- package/build/main//321/201omponents/Skeleton/types.d.ts +16 -0
- package/build/main//321/201omponents/Skeleton/types.js +2 -0
- package/build/main//321/201omponents/Skeleton/types.js.map +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 +2 -0
- package/build/main//321/201omponents/index.js +2 -0
- package/build/main//321/201omponents/index.js.map +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserDropdown.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/UserDropdown.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC1D,OAAO,MAAsB,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAC1E,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,cAAc,MAAM,iCAAiC,CAAA;AAC5D,OAAO,eAAe,MAAM,mCAAmC,CAAA;AAC/D,OAAO,YAAY,MAAM,6BAA6B,CAAA;AACtD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,gCAAgC,EAChC,+BAA+B,EAC/B,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAU5I,OAAO,YAAY,MAAM,gBAAgB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AAE,SAAS,EACd,OAAO,QACP,UAAU,EAAE,UAAU,EACtB,iBAAiB,EAAE,mBAAmB,EACtC,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,KAAK,EAClB,MAAM,EAAE,cAAc,EAAE,EACxB,WAAW,EAAE,WAAW,IAAI,EAAE,EAC9B,gBAAgB,EAAE,wBAAwB,EAC1C,cAAc,EAAE,cAAM,OAAA,KAAC,cAAc,IAAC,KAAK,EAAE,KAAK,GAAI,EAAhC,CAAgC,EACtD,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,SAAS,EAChG,YAAY,EAAE,kBAAkB,EAChC,aAAa,EAAE,iBAAiB,EAChC,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE,eAAe,EAC5B,SAAS,EAAE,aAAa,EACxB,UAAU,EAAE,EAAE,eAAe,iBAAA,EAAE,gBAAgB,kBAAA,EAAE,YAAY,cAAA,EAAE,MAAM,QAAA,EAAE,kBAAkB,oBAAA,EAAE,iBAAiB,mBAAA,EAAE,gBAAgB,kBAAA,EAAE,GAChI,KACE,EACL,UAAU,EAAE,KACT,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const blueColor = "rgba(71, 153, 227, 1)";
|
|
2
|
+
export declare const lighterGrayColor = "rgba(241, 241, 242, 1)";
|
|
3
|
+
export declare const lightGrayColor = "rgba(17, 17, 17, 0.3)";
|
|
4
|
+
export declare const grayColor = "rgba(183, 183, 183, 1)";
|
|
5
|
+
export declare const darkGrayColor = "rgba(158, 158, 158, 1)";
|
|
6
|
+
export declare const lighterBlackColor = "rgba(86, 86, 86, 1)";
|
|
7
|
+
export declare const lightBlackColor = "rgba(49, 49, 49, 1)";
|
|
8
|
+
export declare const blackColor = "rgba(26, 26, 26, 1)";
|
|
9
|
+
export declare const whiteBackgroundColor = "rgba(255, 255, 255, 1)";
|
|
10
|
+
export declare const grayBackgroundColor = "rgba(249, 249, 249, 1)";
|
|
11
|
+
export declare const darkGrayBackgroundColor = "rgba(0, 0, 0, 0.04)";
|
|
12
|
+
export declare const darkerGrayBackgroundColor = "rgba(0, 0, 0, 0.3)";
|
|
13
|
+
export declare const lighterBlackBackgroundColor = "rgba(66, 66, 66, 1)";
|
|
14
|
+
export declare const lightBlackBackgroundColor = "rgba(61, 61, 61, 1)";
|
|
15
|
+
export declare const blackBackgroundColor = "rgba(36, 36, 36, 1)";
|
|
16
|
+
export declare const intenseBorderColor = "rgba(217, 217, 217, 1)";
|
|
17
|
+
export declare const hoverBorderColor = "rgba(128, 128, 128, 1)";
|
|
18
|
+
export declare const redBorderColor = "rgba(237, 71, 71, 1)";
|
|
19
|
+
export declare const boxShadowColor = "rgba(0, 0, 0, 0.25)";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export var blueColor = 'rgba(71, 153, 227, 1)';
|
|
2
|
+
export var lighterGrayColor = 'rgba(241, 241, 242, 1)';
|
|
3
|
+
export var lightGrayColor = 'rgba(17, 17, 17, 0.3)';
|
|
4
|
+
export var grayColor = 'rgba(183, 183, 183, 1)';
|
|
5
|
+
export var darkGrayColor = 'rgba(158, 158, 158, 1)';
|
|
6
|
+
export var lighterBlackColor = 'rgba(86, 86, 86, 1)';
|
|
7
|
+
export var lightBlackColor = 'rgba(49, 49, 49, 1)';
|
|
8
|
+
export var blackColor = 'rgba(26, 26, 26, 1)';
|
|
9
|
+
export var whiteBackgroundColor = 'rgba(255, 255, 255, 1)';
|
|
10
|
+
export var grayBackgroundColor = 'rgba(249, 249, 249, 1)';
|
|
11
|
+
export var darkGrayBackgroundColor = 'rgba(0, 0, 0, 0.04)';
|
|
12
|
+
export var darkerGrayBackgroundColor = 'rgba(0, 0, 0, 0.3)';
|
|
13
|
+
export var lighterBlackBackgroundColor = 'rgba(66, 66, 66, 1)';
|
|
14
|
+
export var lightBlackBackgroundColor = 'rgba(61, 61, 61, 1)';
|
|
15
|
+
export var blackBackgroundColor = 'rgba(36, 36, 36, 1)';
|
|
16
|
+
export var intenseBorderColor = 'rgba(217, 217, 217, 1)';
|
|
17
|
+
export var hoverBorderColor = 'rgba(128, 128, 128, 1)';
|
|
18
|
+
export var redBorderColor = 'rgba(237, 71, 71, 1)';
|
|
19
|
+
export var boxShadowColor = 'rgba(0, 0, 0, 0.25)';
|
|
20
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/colors.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,SAAS,GAAG,uBAAuB,CAAA;AAChD,MAAM,CAAC,IAAM,gBAAgB,GAAG,wBAAwB,CAAA;AACxD,MAAM,CAAC,IAAM,cAAc,GAAG,uBAAuB,CAAA;AACrD,MAAM,CAAC,IAAM,SAAS,GAAG,wBAAwB,CAAA;AACjD,MAAM,CAAC,IAAM,aAAa,GAAG,wBAAwB,CAAA;AACrD,MAAM,CAAC,IAAM,iBAAiB,GAAG,qBAAqB,CAAA;AACtD,MAAM,CAAC,IAAM,eAAe,GAAG,qBAAqB,CAAA;AACpD,MAAM,CAAC,IAAM,UAAU,GAAG,qBAAqB,CAAA;AAE/C,MAAM,CAAC,IAAM,oBAAoB,GAAG,wBAAwB,CAAA;AAC5D,MAAM,CAAC,IAAM,mBAAmB,GAAG,wBAAwB,CAAA;AAC3D,MAAM,CAAC,IAAM,uBAAuB,GAAG,qBAAqB,CAAA;AAC5D,MAAM,CAAC,IAAM,yBAAyB,GAAG,oBAAoB,CAAA;AAC7D,MAAM,CAAC,IAAM,2BAA2B,GAAG,qBAAqB,CAAA;AAChE,MAAM,CAAC,IAAM,yBAAyB,GAAG,qBAAqB,CAAA;AAC9D,MAAM,CAAC,IAAM,oBAAoB,GAAG,qBAAqB,CAAA;AAEzD,MAAM,CAAC,IAAM,kBAAkB,GAAG,wBAAwB,CAAA;AAC1D,MAAM,CAAC,IAAM,gBAAgB,GAAG,wBAAwB,CAAA;AACxD,MAAM,CAAC,IAAM,cAAc,GAAG,sBAAsB,CAAA;AAEpD,MAAM,CAAC,IAAM,cAAc,GAAG,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { TGenerateContactsOption, TGenerateContactsOptionsToSelect, TGenerateCorporateOption, TGenerateCorporateOptionsToSelect } from './types';
|
|
2
|
+
export declare const generateCorporateOption: ({ option: { name, avatar, email, contacts, serverName, company, department, companyPosition }, theme, }: TGenerateCorporateOption) => {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
avatar: string | null;
|
|
6
|
+
email: string;
|
|
7
|
+
serverName: string | null;
|
|
8
|
+
company: string | null;
|
|
9
|
+
department: string | null;
|
|
10
|
+
companyPosition: string | null;
|
|
11
|
+
theme: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const generateCorporateOptionsToSelect: ({ options, theme, platform, isTrustUser }: TGenerateCorporateOptionsToSelect) => {
|
|
14
|
+
isTrustUser: boolean | undefined;
|
|
15
|
+
platform: string;
|
|
16
|
+
value: string;
|
|
17
|
+
label: string;
|
|
18
|
+
avatar: string | null;
|
|
19
|
+
email: string;
|
|
20
|
+
serverName: string | null;
|
|
21
|
+
company: string | null;
|
|
22
|
+
department: string | null;
|
|
23
|
+
companyPosition: string | null;
|
|
24
|
+
theme: string;
|
|
25
|
+
}[];
|
|
26
|
+
export declare const generateContactsOption: ({ option: { name, avatar, email }, theme }: TGenerateContactsOption) => {
|
|
27
|
+
value: string;
|
|
28
|
+
label: string;
|
|
29
|
+
avatar: string | null;
|
|
30
|
+
email: string;
|
|
31
|
+
isMyContacts: boolean;
|
|
32
|
+
theme: string;
|
|
33
|
+
};
|
|
34
|
+
export declare const generateContactsOptionsToSelect: ({ options, theme }: TGenerateContactsOptionsToSelect) => {
|
|
35
|
+
value: string;
|
|
36
|
+
label: string;
|
|
37
|
+
avatar: string | null;
|
|
38
|
+
email: string;
|
|
39
|
+
isMyContacts: boolean;
|
|
40
|
+
theme: string;
|
|
41
|
+
}[];
|
|
42
|
+
export declare const IndicatorSeparator: () => null;
|
|
43
|
+
export declare const DropdownIndicator: () => null;
|
|
44
|
+
export declare const MultiValueRemove: () => null;
|
|
45
|
+
export declare const LoadingIndicator: () => null;
|
|
@@ -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,C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AAJ,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,OA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AE,YAAY,EACrB,MAAM,EAAE,SAAS,EAEjB,SAAS,EAAE;gBACT,UAAU,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC,uBAAuB;gBAElG,6BAA6B,EAAE;oBAC7B,iBAAiB,EAAE,aAAa;iBACjC;aACF,IACD,EAbyB,CAazB;KACH,CAAC;AA1ImB,CA0InB,EAAA"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { ICommonProps } from '../../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,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';
|
|
28
|
+
export { Skeleton } from './Skeleton';
|
|
@@ -24,4 +24,6 @@ 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';
|
|
28
|
+
export { Skeleton } from './Skeleton';
|
|
27
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/сomponents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAA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AAY,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,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.7",
|
|
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",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"sass-loader": "^12.3.0",
|
|
72
72
|
"semver": "^7.3.5",
|
|
73
73
|
"source-map-loader": "^3.0.0",
|
|
74
|
+
"styled-components": "^6.1.11",
|
|
74
75
|
"tailwindcss": "^3.0.2",
|
|
75
76
|
"typescript": "^4.9.4",
|
|
76
77
|
"typescript-plugin-css-modules": "^5.0.1",
|
|
@@ -124,6 +125,8 @@
|
|
|
124
125
|
]
|
|
125
126
|
},
|
|
126
127
|
"devDependencies": {
|
|
128
|
+
"@expressms/eslint-config": "^1.0.3",
|
|
129
|
+
"@expressms/prettier-config": "^1.0.0",
|
|
127
130
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
128
131
|
"@storybook/addon-actions": "^6.5.15",
|
|
129
132
|
"@storybook/addon-essentials": "^6.5.15",
|