@itilite/lumina-ui 1.1.12 → 1.1.14
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/Avatar-DX2JwvAs.d.mts +17 -0
- package/dist/Avatar-DX2JwvAs.d.ts +17 -0
- package/dist/Tag-l7I5oeyk.d.mts +13 -0
- package/dist/Tag-l7I5oeyk.d.ts +13 -0
- package/dist/atom/Avatar/Avatar.d.mts +1 -9
- package/dist/atom/Avatar/Avatar.d.ts +1 -9
- package/dist/atom/Button/Button.js +1 -1
- package/dist/atom/Button/Button.mjs +1 -1
- package/dist/atom/Modal/Modal.js +1 -1
- package/dist/atom/Modal/Modal.mjs +2 -2
- package/dist/atom/RangePicker/RangePicker.mjs +2 -2
- package/dist/atom/Tag/Tag.d.mts +3 -10
- package/dist/atom/Tag/Tag.d.ts +3 -10
- package/dist/chunk-3S4X3YO2.mjs +64 -0
- package/dist/chunk-3XUHGVYA.mjs +77 -0
- package/dist/chunk-DLLT6V65.mjs +141 -0
- package/dist/chunk-I5VHKSQR.mjs +64 -0
- package/dist/chunk-N2WTNCQU.mjs +66 -0
- package/dist/chunk-N3YFQDW7.mjs +77 -0
- package/dist/chunk-QWK3MYDM.mjs +64 -0
- package/dist/chunk-SWRFCTJW.mjs +77 -0
- package/dist/chunk-UTMZY37A.mjs +141 -0
- package/dist/chunk-UUEPD2FH.mjs +141 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +57 -3
- package/dist/index.mjs +23 -19
- package/dist/molecules/UserProfile/UserProfile.d.mts +23 -0
- package/dist/molecules/UserProfile/UserProfile.d.ts +23 -0
- package/dist/molecules/UserProfile/UserProfile.js +243 -0
- package/dist/molecules/UserProfile/UserProfile.mjs +11 -0
- package/dist/styles.css +251 -243
- package/dist/types-D4MD2w3_.d.mts +9 -0
- package/dist/types-D4MD2w3_.d.ts +9 -0
- package/dist/types-mhQmqhsR.d.mts +10 -0
- package/dist/types-mhQmqhsR.d.ts +10 -0
- package/package.json +1 -1
- package/dist/chunk-22VF7AVT.mjs +0 -618
- package/dist/chunk-2BNAAOBU.mjs +0 -670
- package/dist/chunk-2IMRLK6M.mjs +0 -44
- package/dist/chunk-2JIINZEK.mjs +0 -618
- package/dist/chunk-2LBFKQDZ.mjs +0 -660
- package/dist/chunk-2QQU6BYR.mjs +0 -678
- package/dist/chunk-2ZJBF5C4.mjs +0 -618
- package/dist/chunk-33JITG5Y.mjs +0 -621
- package/dist/chunk-3AWYHB3A.mjs +0 -618
- package/dist/chunk-3IMCN4K3.mjs +0 -670
- package/dist/chunk-3K2RTVMH.mjs +0 -584
- package/dist/chunk-3KBQQCET.mjs +0 -674
- package/dist/chunk-3KUHXNFH.mjs +0 -678
- package/dist/chunk-3PPNOIXN.mjs +0 -618
- package/dist/chunk-3WWAOBS6.mjs +0 -633
- package/dist/chunk-3XFY3TXJ.mjs +0 -611
- package/dist/chunk-3XW7HS5W.mjs +0 -618
- package/dist/chunk-3YDCRJYV.mjs +0 -618
- package/dist/chunk-447HZYZ4.mjs +0 -612
- package/dist/chunk-46F3B4U6.mjs +0 -618
- package/dist/chunk-4K5RZHL4.mjs +0 -618
- package/dist/chunk-4QHFP4YD.mjs +0 -666
- package/dist/chunk-4TFX4DHY.mjs +0 -702
- package/dist/chunk-4TWO6JES.mjs +0 -666
- package/dist/chunk-4UQVJ3ZU.mjs +0 -666
- package/dist/chunk-5247J65D.mjs +0 -670
- package/dist/chunk-57YKBWEI.mjs +0 -673
- package/dist/chunk-5BBLW4MR.mjs +0 -670
- package/dist/chunk-5PFI6XBL.mjs +0 -618
- package/dist/chunk-66H5WSEJ.mjs +0 -618
- package/dist/chunk-6NZEDJ2M.mjs +0 -582
- package/dist/chunk-6OC6URNL.mjs +0 -73
- package/dist/chunk-6OGEXG5U.mjs +0 -618
- package/dist/chunk-6ROQXYVN.mjs +0 -672
- package/dist/chunk-6WNI6X5Q.mjs +0 -618
- package/dist/chunk-6XGVIU52.mjs +0 -679
- package/dist/chunk-72PPCN6D.mjs +0 -675
- package/dist/chunk-74EGXFNN.mjs +0 -618
- package/dist/chunk-77NCDGJA.mjs +0 -707
- package/dist/chunk-7L3WTWF3.mjs +0 -677
- package/dist/chunk-7NGBIPZT.mjs +0 -618
- package/dist/chunk-7NM4FNMQ.mjs +0 -666
- package/dist/chunk-7YBBSVUA.mjs +0 -672
- package/dist/chunk-7Z52UP7P.mjs +0 -618
- package/dist/chunk-AC6WC7OO.mjs +0 -618
- package/dist/chunk-B3LDL3KD.mjs +0 -670
- package/dist/chunk-B63IXC6M.mjs +0 -618
- package/dist/chunk-B65LGQ47.mjs +0 -666
- package/dist/chunk-B6MTRO54.mjs +0 -618
- package/dist/chunk-BJBP5XYB.mjs +0 -618
- package/dist/chunk-BKPTZNXK.mjs +0 -618
- package/dist/chunk-BLLSWPCC.mjs +0 -618
- package/dist/chunk-BOYB7REJ.mjs +0 -670
- package/dist/chunk-BP2D64XI.mjs +0 -618
- package/dist/chunk-BP4XS2GF.mjs +0 -585
- package/dist/chunk-BRT5IPGQ.mjs +0 -618
- package/dist/chunk-BTIIO2CP.mjs +0 -582
- package/dist/chunk-C2J3VBFZ.mjs +0 -670
- package/dist/chunk-CDOR7GQP.mjs +0 -618
- package/dist/chunk-CI2RMA4V.mjs +0 -612
- package/dist/chunk-CNN74G3M.mjs +0 -666
- package/dist/chunk-CNUIZOQJ.mjs +0 -669
- package/dist/chunk-CPBXPEST.mjs +0 -672
- package/dist/chunk-CPOZJCLV.mjs +0 -681
- package/dist/chunk-CVOLXLMU.mjs +0 -618
- package/dist/chunk-CWUCNC36.mjs +0 -666
- package/dist/chunk-CZBGN6GS.mjs +0 -612
- package/dist/chunk-D3APB62N.mjs +0 -618
- package/dist/chunk-D5B2TUSL.mjs +0 -591
- package/dist/chunk-D7TWXVL2.mjs +0 -674
- package/dist/chunk-DAZ53AD7.mjs +0 -671
- package/dist/chunk-DBY5U6IU.mjs +0 -618
- package/dist/chunk-DRNY4L7J.mjs +0 -618
- package/dist/chunk-DXTVU4M5.mjs +0 -618
- package/dist/chunk-DZBTD6QK.mjs +0 -666
- package/dist/chunk-E6UPDTDY.mjs +0 -611
- package/dist/chunk-EAK2IMM4.mjs +0 -37
- package/dist/chunk-EQT2Q2LW.mjs +0 -610
- package/dist/chunk-EWMCELQV.mjs +0 -670
- package/dist/chunk-EYKWBEHX.mjs +0 -612
- package/dist/chunk-FHLCFUP6.mjs +0 -666
- package/dist/chunk-FMPFLQZV.mjs +0 -670
- package/dist/chunk-G25YXZ74.mjs +0 -618
- package/dist/chunk-G6P5MKL3.mjs +0 -582
- package/dist/chunk-G7I4NT42.mjs +0 -720
- package/dist/chunk-GSG6ZC3R.mjs +0 -37
- package/dist/chunk-H3MQUFTJ.mjs +0 -618
- package/dist/chunk-HKZRLVBX.mjs +0 -618
- package/dist/chunk-HPDJYQXM.mjs +0 -663
- package/dist/chunk-HQALJGVT.mjs +0 -618
- package/dist/chunk-HTYOI6JT.mjs +0 -618
- package/dist/chunk-I5GBZ3UX.mjs +0 -676
- package/dist/chunk-IQHBVGA4.mjs +0 -677
- package/dist/chunk-IUTUCRDD.mjs +0 -611
- package/dist/chunk-IV4V55OA.mjs +0 -672
- package/dist/chunk-J2RAFKAD.mjs +0 -618
- package/dist/chunk-J327EMX2.mjs +0 -663
- package/dist/chunk-J3ZBXBJ2.mjs +0 -689
- package/dist/chunk-JCMSG75Q.mjs +0 -51
- package/dist/chunk-JEAZCSST.mjs +0 -676
- package/dist/chunk-JL34UFI7.mjs +0 -670
- package/dist/chunk-JTKSGGQM.mjs +0 -611
- package/dist/chunk-JZC2RRDH.mjs +0 -618
- package/dist/chunk-JZCHXA6R.mjs +0 -585
- package/dist/chunk-K3Y7VKT6.mjs +0 -670
- package/dist/chunk-KDR6M52K.mjs +0 -723
- package/dist/chunk-KEVXNUFG.mjs +0 -672
- package/dist/chunk-KH7D4ESJ.mjs +0 -584
- package/dist/chunk-KQBCWIIM.mjs +0 -618
- package/dist/chunk-KRYAP7NG.mjs +0 -670
- package/dist/chunk-KU655POK.mjs +0 -657
- package/dist/chunk-L55SLVNX.mjs +0 -618
- package/dist/chunk-LCRYOZEV.mjs +0 -618
- package/dist/chunk-LEPDKBT2.mjs +0 -709
- package/dist/chunk-LH55S6HJ.mjs +0 -618
- package/dist/chunk-LH7PP6V2.mjs +0 -618
- package/dist/chunk-LJMMYKE2.mjs +0 -618
- package/dist/chunk-LK5TROLL.mjs +0 -666
- package/dist/chunk-MDR7DAKM.mjs +0 -618
- package/dist/chunk-MJZLCWZ5.mjs +0 -666
- package/dist/chunk-MKZTEJLS.mjs +0 -612
- package/dist/chunk-MO7JTKPH.mjs +0 -618
- package/dist/chunk-MOD7MLCD.mjs +0 -64
- package/dist/chunk-MQCOQHHP.mjs +0 -618
- package/dist/chunk-MSM4KUBM.mjs +0 -618
- package/dist/chunk-MTIUER63.mjs +0 -676
- package/dist/chunk-MWC57EU6.mjs +0 -666
- package/dist/chunk-NBLV3UX5.mjs +0 -618
- package/dist/chunk-NLADSOJS.mjs +0 -618
- package/dist/chunk-NPMTWR3Y.mjs +0 -618
- package/dist/chunk-NQ6GKEO7.mjs +0 -670
- package/dist/chunk-NZSFYNUK.mjs +0 -618
- package/dist/chunk-OANBDTKG.mjs +0 -73
- package/dist/chunk-OCNF4O5U.mjs +0 -612
- package/dist/chunk-OCW5QSWA.mjs +0 -618
- package/dist/chunk-OMXQ6VML.mjs +0 -618
- package/dist/chunk-OQF7JZFS.mjs +0 -670
- package/dist/chunk-OT675HGC.mjs +0 -670
- package/dist/chunk-P47TCYKN.mjs +0 -618
- package/dist/chunk-P7TOGXPI.mjs +0 -672
- package/dist/chunk-PCAXXEEQ.mjs +0 -618
- package/dist/chunk-PDHMG7OZ.mjs +0 -672
- package/dist/chunk-PFGVOZGM.mjs +0 -618
- package/dist/chunk-PGAAFJOG.mjs +0 -576
- package/dist/chunk-PQSSDK3E.mjs +0 -618
- package/dist/chunk-PSESRID3.mjs +0 -681
- package/dist/chunk-PST7W3NG.mjs +0 -618
- package/dist/chunk-QGPBZ2YV.mjs +0 -664
- package/dist/chunk-QOPCJITC.mjs +0 -618
- package/dist/chunk-QSE52CRC.mjs +0 -618
- package/dist/chunk-QTP2QMPL.mjs +0 -669
- package/dist/chunk-QUZAACW5.mjs +0 -585
- package/dist/chunk-R47XX6IW.mjs +0 -611
- package/dist/chunk-RAWVG2MM.mjs +0 -618
- package/dist/chunk-RL6AEU6E.mjs +0 -612
- package/dist/chunk-RZ7V2KQZ.mjs +0 -621
- package/dist/chunk-S3CUYIE3.mjs +0 -585
- package/dist/chunk-T2Y6AXM5.mjs +0 -618
- package/dist/chunk-T7T4HCHH.mjs +0 -618
- package/dist/chunk-TED2WCDG.mjs +0 -618
- package/dist/chunk-TENXL4LK.mjs +0 -107
- package/dist/chunk-THT4ALWQ.mjs +0 -618
- package/dist/chunk-TJLIMMMB.mjs +0 -612
- package/dist/chunk-TNOJDLON.mjs +0 -611
- package/dist/chunk-TOR67IHH.mjs +0 -672
- package/dist/chunk-TOV7NVKM.mjs +0 -618
- package/dist/chunk-TSYMIRRN.mjs +0 -618
- package/dist/chunk-TTSRI4V7.mjs +0 -708
- package/dist/chunk-TWV2Z27S.mjs +0 -618
- package/dist/chunk-UBS3DTE5.mjs +0 -672
- package/dist/chunk-UBW6RYVF.mjs +0 -670
- package/dist/chunk-UFAFA6RV.mjs +0 -585
- package/dist/chunk-UJNUFKR5.mjs +0 -43
- package/dist/chunk-UPUD2FQL.mjs +0 -618
- package/dist/chunk-UUTSL2NM.mjs +0 -618
- package/dist/chunk-VAZZJOSJ.mjs +0 -618
- package/dist/chunk-VCWXOX2B.mjs +0 -618
- package/dist/chunk-VHCLEOHZ.mjs +0 -618
- package/dist/chunk-VTZSCGME.mjs +0 -666
- package/dist/chunk-W33KZ2XR.mjs +0 -618
- package/dist/chunk-W7J4GMPI.mjs +0 -618
- package/dist/chunk-WCYB5OTY.mjs +0 -618
- package/dist/chunk-WOVMTYDV.mjs +0 -612
- package/dist/chunk-WR3USBWK.mjs +0 -672
- package/dist/chunk-WXYQARQ6.mjs +0 -618
- package/dist/chunk-XE4LPYOW.mjs +0 -581
- package/dist/chunk-XSDANHCE.mjs +0 -618
- package/dist/chunk-Y6XKW4NG.mjs +0 -618
- package/dist/chunk-YCAOWGDP.mjs +0 -618
- package/dist/chunk-YO5EDEA6.mjs +0 -618
- package/dist/chunk-YQSNJFZE.mjs +0 -618
- package/dist/chunk-Z6VG6AG7.mjs +0 -678
- package/dist/chunk-ZAPKQ4C3.mjs +0 -678
- package/dist/chunk-ZCWDQNHL.mjs +0 -618
- package/dist/chunk-ZF5JBNCI.mjs +0 -618
- package/dist/chunk-ZN7BHWOF.mjs +0 -672
- package/dist/chunk-ZUMHWVMV.mjs +0 -585
- package/dist/chunk-ZUQJKA5J.mjs +0 -666
- package/dist/chunk-ZUUAXTPM.mjs +0 -618
- package/dist/chunk-ZWHWIGYQ.mjs +0 -618
- package/dist/{chunk-IIJUGDEJ.mjs → chunk-PSBEYGD4.mjs} +3 -3
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __defProps = Object.defineProperties;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
10
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
+
var __spreadValues = (a, b) => {
|
|
14
|
+
for (var prop in b || (b = {}))
|
|
15
|
+
if (__hasOwnProp.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
if (__getOwnPropSymbols)
|
|
18
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
+
if (__propIsEnum.call(b, prop))
|
|
20
|
+
__defNormalProp(a, prop, b[prop]);
|
|
21
|
+
}
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
24
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
+
var __objRest = (source, exclude) => {
|
|
26
|
+
var target = {};
|
|
27
|
+
for (var prop in source)
|
|
28
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
if (source != null && __getOwnPropSymbols)
|
|
31
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
+
target[prop] = source[prop];
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
40
|
+
};
|
|
41
|
+
var __copyProps = (to, from, except, desc) => {
|
|
42
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
43
|
+
for (let key of __getOwnPropNames(from))
|
|
44
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
45
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
46
|
+
}
|
|
47
|
+
return to;
|
|
48
|
+
};
|
|
49
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
50
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
51
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
52
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
53
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
54
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
55
|
+
mod
|
|
56
|
+
));
|
|
57
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
|
+
|
|
59
|
+
// src/molecules/UserProfile/UserProfile.tsx
|
|
60
|
+
var UserProfile_exports = {};
|
|
61
|
+
__export(UserProfile_exports, {
|
|
62
|
+
UserProfile: () => UserProfile,
|
|
63
|
+
default: () => UserProfile_default
|
|
64
|
+
});
|
|
65
|
+
module.exports = __toCommonJS(UserProfile_exports);
|
|
66
|
+
var import_clsx3 = __toESM(require("clsx"));
|
|
67
|
+
|
|
68
|
+
// src/atom/Avatar/Avatar.tsx
|
|
69
|
+
var import_clsx = __toESM(require("clsx"));
|
|
70
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
71
|
+
var COLOR_MAP = {
|
|
72
|
+
A: "#6455BF",
|
|
73
|
+
B: "#C46273",
|
|
74
|
+
C: "#52A79E",
|
|
75
|
+
D: "#DF8654",
|
|
76
|
+
E: "#B8639F",
|
|
77
|
+
F: "#6455BF",
|
|
78
|
+
G: "#C46273",
|
|
79
|
+
H: "#52A79E",
|
|
80
|
+
I: "#DF8654",
|
|
81
|
+
J: "#B8639F",
|
|
82
|
+
K: "#6455BF",
|
|
83
|
+
L: "#C46273",
|
|
84
|
+
M: "#52A79E",
|
|
85
|
+
N: "#DF8654",
|
|
86
|
+
O: "#B8639F",
|
|
87
|
+
P: "#6455BF",
|
|
88
|
+
Q: "#C46273",
|
|
89
|
+
R: "#52A79E",
|
|
90
|
+
S: "#DF8654",
|
|
91
|
+
T: "#B8639F",
|
|
92
|
+
U: "#6455BF",
|
|
93
|
+
V: "#C46273",
|
|
94
|
+
W: "#52A79E",
|
|
95
|
+
X: "#DF8654",
|
|
96
|
+
Y: "#B8639F",
|
|
97
|
+
Z: "#6455BF",
|
|
98
|
+
0: "#6455BF",
|
|
99
|
+
1: "#C46273",
|
|
100
|
+
6: "#C46273",
|
|
101
|
+
2: "#52A79E",
|
|
102
|
+
7: "#52A79E",
|
|
103
|
+
3: "#DF8654",
|
|
104
|
+
8: "#DF8654",
|
|
105
|
+
4: "#B8639F",
|
|
106
|
+
9: "#B8639F"
|
|
107
|
+
};
|
|
108
|
+
function Avatar({
|
|
109
|
+
img,
|
|
110
|
+
className,
|
|
111
|
+
name,
|
|
112
|
+
height = 28,
|
|
113
|
+
width = 28,
|
|
114
|
+
size = "normal"
|
|
115
|
+
}) {
|
|
116
|
+
var _a;
|
|
117
|
+
const firstChar = (_a = name == null ? void 0 : name[0]) == null ? void 0 : _a.toUpperCase();
|
|
118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
119
|
+
"div",
|
|
120
|
+
{
|
|
121
|
+
style: { height, width },
|
|
122
|
+
className: "tw-rounded-full tw-flex tw-items-center",
|
|
123
|
+
children: !img && name ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
124
|
+
"div",
|
|
125
|
+
{
|
|
126
|
+
style: {
|
|
127
|
+
backgroundColor: COLOR_MAP[firstChar],
|
|
128
|
+
height,
|
|
129
|
+
width
|
|
130
|
+
},
|
|
131
|
+
className: (0, import_clsx.default)(
|
|
132
|
+
{ "tw-text-font-size-10": size === "small" },
|
|
133
|
+
`tw-text-white tw-font-medium tw-rounded-full tw-flex tw-items-center tw-justify-center`,
|
|
134
|
+
className
|
|
135
|
+
),
|
|
136
|
+
children: firstChar
|
|
137
|
+
}
|
|
138
|
+
) : img ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
139
|
+
"img",
|
|
140
|
+
{
|
|
141
|
+
src: img,
|
|
142
|
+
style: { height, width },
|
|
143
|
+
alt: name,
|
|
144
|
+
className: (0, import_clsx.default)("tw-rounded-full tw-object-cover", className)
|
|
145
|
+
}
|
|
146
|
+
) : null
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
Avatar.displayName = "Avatar";
|
|
151
|
+
|
|
152
|
+
// src/atom/Tag/Tag.tsx
|
|
153
|
+
var import_antd = require("antd");
|
|
154
|
+
var import_clsx2 = __toESM(require("clsx"));
|
|
155
|
+
|
|
156
|
+
// src/atom/Tag/Tag.module.scss
|
|
157
|
+
var Tag_module_default = { "tag": "Tag-module__tag___PIkhI", "small": "Tag-module__small___nG5XQ", "success": "Tag-module__success___99fad", "blue": "Tag-module__blue___Zky2Z", "warning": "Tag-module__warning___KXsly", "processing": "Tag-module__processing___OssXC", "bookingConfirmed": "Tag-module__bookingConfirmed___potR4", "bookingRescheduled": "Tag-module__bookingRescheduled___ynrwI", "bookingRescheduledPending": "Tag-module__bookingRescheduledPending___K3GqS", "failed": "Tag-module__failed___dvpyQ", "bookingPending": "Tag-module__bookingPending___64umX" };
|
|
158
|
+
|
|
159
|
+
// src/atom/Tag/Tag.tsx
|
|
160
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
161
|
+
var Tag = (_a) => {
|
|
162
|
+
var _b = _a, {
|
|
163
|
+
type = "success",
|
|
164
|
+
className = "",
|
|
165
|
+
title = "",
|
|
166
|
+
icon = null,
|
|
167
|
+
size = ""
|
|
168
|
+
} = _b, rest = __objRest(_b, [
|
|
169
|
+
"type",
|
|
170
|
+
"className",
|
|
171
|
+
"title",
|
|
172
|
+
"icon",
|
|
173
|
+
"size"
|
|
174
|
+
]);
|
|
175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
176
|
+
import_antd.Tag,
|
|
177
|
+
__spreadProps(__spreadValues({
|
|
178
|
+
className: (0, import_clsx2.default)(
|
|
179
|
+
Tag_module_default.tag,
|
|
180
|
+
size === "small" && Tag_module_default.small,
|
|
181
|
+
Tag_module_default[type],
|
|
182
|
+
className
|
|
183
|
+
),
|
|
184
|
+
icon
|
|
185
|
+
}, rest), {
|
|
186
|
+
children: title
|
|
187
|
+
})
|
|
188
|
+
);
|
|
189
|
+
};
|
|
190
|
+
Tag.displayName = "Tag";
|
|
191
|
+
|
|
192
|
+
// src/molecules/UserProfile/UserProfile.module.scss
|
|
193
|
+
var UserProfile_module_default = { "userProfile": "UserProfile-module__userProfile___cRMm9", "profileContent": "UserProfile-module__profileContent___tfy8E", "profileHeader": "UserProfile-module__profileHeader___5qYbt", "profileName": "UserProfile-module__profileName___x8pg-", "profileEmail": "UserProfile-module__profileEmail___ZWKDd" };
|
|
194
|
+
|
|
195
|
+
// src/molecules/UserProfile/UserProfile.tsx
|
|
196
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
197
|
+
var UserProfile = ({
|
|
198
|
+
firstName = "",
|
|
199
|
+
lastName = "",
|
|
200
|
+
email = "",
|
|
201
|
+
profileImg = "",
|
|
202
|
+
className = "",
|
|
203
|
+
avatarHeight = 32,
|
|
204
|
+
avatarWidth = 32,
|
|
205
|
+
avatarSize = "normal",
|
|
206
|
+
showTag = false,
|
|
207
|
+
tagProps,
|
|
208
|
+
uniqueKey = "",
|
|
209
|
+
nameClassName = "",
|
|
210
|
+
emailClassName = ""
|
|
211
|
+
}) => {
|
|
212
|
+
const fullName = `${firstName} ${lastName}`;
|
|
213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: (0, import_clsx3.default)(UserProfile_module_default.userProfile, className), children: [
|
|
214
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
215
|
+
Avatar,
|
|
216
|
+
{
|
|
217
|
+
img: profileImg,
|
|
218
|
+
name: fullName,
|
|
219
|
+
className: "tw-w-full tw-h-full tw-border-none",
|
|
220
|
+
height: avatarHeight,
|
|
221
|
+
width: avatarWidth,
|
|
222
|
+
size: avatarSize
|
|
223
|
+
}
|
|
224
|
+
),
|
|
225
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: UserProfile_module_default.profileContent, children: [
|
|
226
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: UserProfile_module_default.profileHeader, children: [
|
|
227
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("p", { className: (0, import_clsx3.default)(nameClassName || (0, import_clsx3.default)(UserProfile_module_default.profileName, "tw-typography-body2Bold")), children: [
|
|
228
|
+
firstName,
|
|
229
|
+
" ",
|
|
230
|
+
lastName
|
|
231
|
+
] }),
|
|
232
|
+
showTag && tagProps && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Tag, __spreadValues({}, tagProps))
|
|
233
|
+
] }),
|
|
234
|
+
email && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: (0, import_clsx3.default)(emailClassName || (0, import_clsx3.default)(UserProfile_module_default.profileEmail, "tw-typography-caption3", "amp-mask")), children: email })
|
|
235
|
+
] })
|
|
236
|
+
] }, uniqueKey);
|
|
237
|
+
};
|
|
238
|
+
UserProfile.displayName = "UserProfile";
|
|
239
|
+
var UserProfile_default = UserProfile;
|
|
240
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
241
|
+
0 && (module.exports = {
|
|
242
|
+
UserProfile
|
|
243
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UserProfile,
|
|
3
|
+
UserProfile_default
|
|
4
|
+
} from "../../chunk-N2WTNCQU.mjs";
|
|
5
|
+
import "../../chunk-4VZB2KR2.mjs";
|
|
6
|
+
import "../../chunk-IWO2Y5QX.mjs";
|
|
7
|
+
import "../../chunk-FWCSY2DS.mjs";
|
|
8
|
+
export {
|
|
9
|
+
UserProfile,
|
|
10
|
+
UserProfile_default as default
|
|
11
|
+
};
|