@sorocraft/ui 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Avatar/Avatar.d.ts +17 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +16 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/DropDown/DropDown.d.ts +12 -0
- package/dist/components/DropDown/DropDown.types.d.ts +3 -0
- package/dist/components/DropDown/index.d.ts +1 -0
- package/dist/components/IconButton/IconButton.d.ts +14 -0
- package/dist/components/IconButton/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +43 -0
- package/dist/components/Input/Input.types.d.ts +19 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Link/Link.d.ts +12 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/ListItem/ListItem.d.ts +13 -0
- package/dist/components/ListItem/index.d.ts +1 -0
- package/dist/components/LoadingItem/LoadingItem.d.ts +9 -0
- package/dist/components/LoadingItem/index.d.ts +1 -0
- package/dist/components/Portal/PortalAround.d.ts +17 -0
- package/dist/components/Portal/index.d.ts +1 -0
- package/dist/components/SVGIcon/SVGIcon.d.ts +10 -0
- package/dist/components/SVGIcon/SVGIcon.types.d.ts +9 -0
- package/dist/components/SVGIcon/index.d.ts +2 -0
- package/dist/icons/AlertCircle.d.ts +3 -0
- package/dist/icons/AlignLeft.d.ts +3 -0
- package/dist/icons/Award.d.ts +3 -0
- package/dist/icons/BarChart.d.ts +3 -0
- package/dist/icons/Bell.d.ts +3 -0
- package/dist/icons/Bookmark.d.ts +3 -0
- package/dist/icons/Branch.d.ts +3 -0
- package/dist/icons/Calendar.d.ts +3 -0
- package/dist/icons/CalendarPlus.d.ts +3 -0
- package/dist/icons/Camera.d.ts +3 -0
- package/dist/icons/Check.d.ts +3 -0
- package/dist/icons/ChevronDown.d.ts +3 -0
- package/dist/icons/ChevronLeft.d.ts +3 -0
- package/dist/icons/ChevronRight.d.ts +3 -0
- package/dist/icons/ChevronUp.d.ts +3 -0
- package/dist/icons/Circle.d.ts +3 -0
- package/dist/icons/Close.d.ts +3 -0
- package/dist/icons/CloudLightning.d.ts +3 -0
- package/dist/icons/Columns.d.ts +3 -0
- package/dist/icons/ColumnsThree.d.ts +3 -0
- package/dist/icons/CornerDownLeft.d.ts +3 -0
- package/dist/icons/Dataflow.d.ts +3 -0
- package/dist/icons/DotsDrag.d.ts +3 -0
- package/dist/icons/DotsGrid.d.ts +3 -0
- package/dist/icons/DotsHorizontal.d.ts +3 -0
- package/dist/icons/DotsVertical.d.ts +3 -0
- package/dist/icons/Download.d.ts +3 -0
- package/dist/icons/Edit.d.ts +3 -0
- package/dist/icons/Eye.d.ts +3 -0
- package/dist/icons/EyeOff.d.ts +3 -0
- package/dist/icons/Facebook.d.ts +3 -0
- package/dist/icons/File.d.ts +3 -0
- package/dist/icons/Folder.d.ts +3 -0
- package/dist/icons/FolderPlus.d.ts +3 -0
- package/dist/icons/Grid.d.ts +3 -0
- package/dist/icons/Home.d.ts +3 -0
- package/dist/icons/HourglassHalf.d.ts +3 -0
- package/dist/icons/Image.d.ts +3 -0
- package/dist/icons/Instagram.d.ts +3 -0
- package/dist/icons/Link.d.ts +3 -0
- package/dist/icons/LinkHorizontal.d.ts +3 -0
- package/dist/icons/Linkedin.d.ts +3 -0
- package/dist/icons/Lock.d.ts +3 -0
- package/dist/icons/LogOut.d.ts +3 -0
- package/dist/icons/Mail.d.ts +3 -0
- package/dist/icons/MarkerPin.d.ts +3 -0
- package/dist/icons/Menu.d.ts +3 -0
- package/dist/icons/MessageChatCircle.d.ts +3 -0
- package/dist/icons/MessageCircle.d.ts +3 -0
- package/dist/icons/MessageTextCircle.d.ts +3 -0
- package/dist/icons/NoImage.d.ts +3 -0
- package/dist/icons/Paperclip.d.ts +3 -0
- package/dist/icons/Plus.d.ts +3 -0
- package/dist/icons/Refresh.d.ts +3 -0
- package/dist/icons/Save.d.ts +3 -0
- package/dist/icons/Search.d.ts +3 -0
- package/dist/icons/Send.d.ts +3 -0
- package/dist/icons/Shield.d.ts +3 -0
- package/dist/icons/Target.d.ts +3 -0
- package/dist/icons/ThumbsUp.d.ts +3 -0
- package/dist/icons/Trash.d.ts +3 -0
- package/dist/icons/UploadCloud.d.ts +3 -0
- package/dist/icons/User.d.ts +3 -0
- package/dist/icons/UserCheck.d.ts +3 -0
- package/dist/icons/UserCircle.d.ts +3 -0
- package/dist/icons/UserPlus.d.ts +3 -0
- package/dist/icons/UserX.d.ts +3 -0
- package/dist/icons/Users.d.ts +3 -0
- package/dist/icons/Xcom.d.ts +3 -0
- package/dist/icons/Youtube.d.ts +3 -0
- package/dist/icons/index.d.ts +70 -0
- package/dist/icons/index.esm.js +2 -0
- package/dist/icons/index.esm.js.map +1 -0
- package/dist/icons/index.js +2 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/models/ui.d.ts +22 -0
- package/dist/styles/scss/animations.scss +30 -0
- package/dist/styles/scss/colors.scss +131 -0
- package/dist/styles/scss/functions/toRem.scss +12 -0
- package/dist/styles/scss/mixins.scss +180 -0
- package/dist/styles/scss/utils.scss +1 -0
- package/dist/styles/scss/variables.scss +208 -0
- package/dist/styles/ui.css +2 -0
- package/dist/styles/ui.css.map +1 -0
- package/dist/utils/common.d.ts +1 -0
- package/dist/utils/icon.d.ts +2 -0
- package/dist/utils/styling.d.ts +2 -0
- package/dist/utils/styling.types.d.ts +6 -0
- package/dist/utils/view.d.ts +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/utils/styling.ts","../src/components/SVGIcon/SVGIcon.tsx","../src/utils/icon.ts","../node_modules/tslib/tslib.es6.js","../src/icons/Camera.tsx","../src/models/ui.ts","../src/icons/Check.tsx","../src/icons/ChevronRight.tsx","../src/icons/Image.tsx","../src/icons/UploadCloud.tsx","../src/icons/UserCircle.tsx","../src/components/Avatar/Avatar.tsx","../src/components/Button/Button.tsx","../src/components/Input/Input.types.ts","../src/components/Input/Input.tsx","../src/utils/view.ts","../src/components/Portal/PortalAround.tsx","../src/components/DropDown/DropDown.tsx","../src/components/IconButton/IconButton.tsx","../src/components/Link/Link.tsx","../src/components/ListItem/ListItem.tsx","../src/components/LoadingItem/LoadingItem.tsx","../src/utils/common.ts"],"sourcesContent":["import { ClassNames, StylesProps } from \"./styling.types\";\n\nexport const classNames = (\n\tstyles: StylesProps,\n\tclassNames: ClassNames,\n\textraClassNames: string[] = []\n): string => {\n\tlet classes = [];\n\n\tfor (const key in classNames) {\n\t\tif (classNames[key]) classes.push(styles[key]);\n\t}\n\n\tif (extraClassNames?.length > 0) classes = classes.concat(extraClassNames);\n\n\treturn classes.join(\" \");\n};\n","import styles from \"./SVGIcon.module.scss\";\n\nimport { SIZE } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\nimport { getDimension } from \"src/utils/icon\";\nimport { IconType } from \"./SVGIcon.types\";\n\ninterface Props {\n\ticon?: IconType;\n\tsize?: SIZE;\n\tclassName?: string;\n\tisLoading?: boolean;\n}\n\nconst SVGIcon = ({ icon: IconComponent, size = \"sm\", className = \"\", isLoading = false }: Props) => {\n\tconst dimension = getDimension(size);\n\tif (!IconComponent) return null;\n\n\treturn (\n\t\t<div className={classNames(styles, { container: true, isLoading }, [className])}>\n\t\t\t<IconComponent\n\t\t\t\tclassName={className}\n\t\t\t\twidth={dimension}\n\t\t\t\theight={dimension}\n\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default SVGIcon;\n","import { SIZE } from \"src/models/ui\";\n\n// .xxs {\n// \twidth: 8px;\n// \theight: 8px;\n\n// \tpath {\n// \t\twidth: 100%;\n// \t\theight: 100%;\n// \t}\n// }\n// .xs {\n// \twidth: 12px;\n// \theight: 12px;\n// }\n// .sm {\n// \twidth: 16px !important;;\n// \theight: 16px !important;;\n// }\n// .md {\n// \twidth: 24px;\n// }\n// .lg {\n// \twidth: 32px;\n// }\n// .xl {\n// \twidth: 48px;\n// }\n// .xxl {\n// \twidth: 64px;\n// }\n// .xxxl {\n// \twidth: 128px;\n// }\n\nexport const getDimension = (size: SIZE) => {\n\tswitch (size) {\n\t\tcase \"xxs\":\n\t\t\treturn 8;\n\t\tcase \"xs\":\n\t\t\treturn 12;\n\t\tcase \"sm\":\n\t\t\treturn 16;\n\t\tcase \"md\":\n\t\t\treturn 24;\n\t\tcase \"lg\":\n\t\t\treturn 32;\n\t\tcase \"xl\":\n\t\t\treturn 48;\n\t\tcase \"xxl\":\n\t\t\treturn 64;\n\t\tcase \"xxxl\":\n\t\t\treturn 128;\n\n\t\tdefault:\n\t\t\treturn 16;\n\t}\n};\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n function next() {\r\n while (env.stack.length) {\r\n var rec = env.stack.pop();\r\n try {\r\n var result = rec.dispose && rec.dispose.call(rec.value);\r\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n","import type { SVGProps } from \"react\";\nconst SvgCamera = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M2 8.377c0-.35 0-.525.015-.673a3 3 0 0 1 2.69-2.69C4.851 5 5.035 5 5.404 5c.143 0 .214 0 .274-.004a2 2 0 0 0 1.735-1.25c.023-.056.044-.12.086-.246.042-.127.063-.19.086-.246a2 2 0 0 1 1.735-1.25C9.38 2 9.448 2 9.58 2h4.838c.133 0 .2 0 .26.004a2 2 0 0 1 1.735 1.25c.023.056.044.12.086.246.042.127.063.19.086.246a2 2 0 0 0 1.735 1.25c.06.004.131.004.273.004.37 0 .554 0 .702.015a3 3 0 0 1 2.69 2.69c.014.147.014.322.014.672V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2z\"\n\t\t/>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M12 16.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8\"\n\t\t/>\n\t</svg>\n);\nexport default SvgCamera;\n","import { ChangeEvent, FocusEvent, KeyboardEvent } from \"react\";\n\nexport type SIZE = \"xxs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"xxl\" | \"xxxl\";\n\nexport enum UIElementType {\n\tPRIMARY = \"primary\",\n\tSECONDARY = \"secondary\",\n\tDANGER = \"danger\",\n\tSUCCESS = \"success\",\n\tWARNING = \"warning\",\n\tINFO = \"info\",\n\tLIGHT = \"light\",\n\tDEFAULT = \"default\",\n\tDARK = \"dark\",\n\tLIGHT_PRIMARY = \"lightPrimary\",\n\tLIGHT_SUCCESS = \"lightSuccess\",\n\tLIGHT_WARNING = \"lightWarning\",\n\tLIGHT_INFO = \"lightInfo\",\n\tLIGHT_DANGER = \"lightDanger\",\n\tLIGHT_DARK = \"lightDark\",\n\tLIGHT_SECONDARY = \"lightSecondary\",\n\tWHITE_TEXT = \"whiteText\",\n\tBORDERED_PRIMARY = \"borderedPrimary\",\n\tBORDERED_SECONDARY = \"borderedSecondary\",\n}\n","import type { SVGProps } from \"react\";\nconst SvgCheck = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M20 6 9 17l-5-5\"\n\t\t/>\n\t</svg>\n);\nexport default SvgCheck;\n","import type { SVGProps } from \"react\";\nconst SvgChevronRight = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m9 18 6-6-6-6\"\n\t\t/>\n\t</svg>\n);\nexport default SvgChevronRight;\n","import type { SVGProps } from \"react\";\nconst SvgImage = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m4.272 20.728 6.597-6.597c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668l6.553 6.553M14 15l2.869-2.869c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L22 15M10 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6.8 21h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 18.72 22 17.88 22 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 21 5.12 21 6.8 21\"\n\t\t/>\n\t</svg>\n);\nexport default SvgImage;\n","import type { SVGProps } from \"react\";\nconst SvgUploadCloud = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"m8 16 4-4m0 0 4 4m-4-4v9m8-4.257A5.5 5.5 0 0 0 16.5 7a.62.62 0 0 1-.534-.302 7.5 7.5 0 1 0-11.78 9.096\"\n\t\t/>\n\t</svg>\n);\nexport default SvgUploadCloud;\n","import type { SVGProps } from \"react\";\nconst SvgUserCircle = (props: SVGProps<SVGSVGElement>) => (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width={24} height={24} fill=\"none\" {...props}>\n\t\t<path\n\t\t\tstroke=\"#000\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t\tstrokeWidth={2}\n\t\t\td=\"M5.316 19.438A4 4 0 0 1 9 17h6a4 4 0 0 1 3.684 2.438M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m6 2.5c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10\"\n\t\t/>\n\t</svg>\n);\nexport default SvgUserCircle;\n","import { JSXElementConstructor, MouseEventHandler } from \"react\";\n\nimport styles from \"./Avatar.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE } from \"src/models/ui\";\n\nimport SVGIcon, { IconType } from \"../SVGIcon\";\nimport { UserCircle, UploadCloud, Camera } from \"src/icons\";\n\ninterface Props {\n\tsource?: string | null;\n\talt?: string;\n\tsize?: SIZE;\n\tonClick?: MouseEventHandler<HTMLDivElement> | undefined;\n\tclassName?: string;\n\tisEditable?: boolean;\n\toverlayIcon?: IconType | null;\n\tinline?: boolean;\n\toverlayText?: string;\n\tisLoading?: boolean;\n}\n\nconst Avatar = ({\n\tsource = null,\n\talt = \"avatar\",\n\tsize = \"sm\",\n\tonClick,\n\tclassName,\n\tisEditable = false,\n\toverlayIcon,\n\tinline = false,\n\tisLoading = false,\n\toverlayText,\n}: Props) => {\n\tconst getImageSize = () => {\n\t\tswitch (size) {\n\t\t\tcase \"xxxl\":\n\t\t\t\treturn 512;\n\t\t\tcase \"xxl\":\n\t\t\t\treturn 256;\n\t\t\tcase \"xl\":\n\t\t\t\treturn 128;\n\t\t\tcase \"lg\":\n\t\t\t\treturn 96;\n\t\t\tcase \"md\":\n\t\t\t\treturn 64;\n\t\t\tcase \"xs\":\n\t\t\t\treturn 32;\n\t\t\tcase \"xxs\":\n\t\t\t\treturn 24;\n\n\t\t\tdefault:\n\t\t\t\treturn 48;\n\t\t}\n\t};\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tavatar: true,\n\t\t\t\t\tclickable: !!onClick || isEditable,\n\t\t\t\t\teditable: isEditable,\n\t\t\t\t\tinline,\n\t\t\t\t\tloading: isLoading,\n\t\t\t\t},\n\t\t\t\t[styles[size], className as string]\n\t\t\t)}\n\t\t\tonClick={onClick}\n\t\t\tstyle={{ width: getImageSize(), height: getImageSize() }}\n\t\t>\n\t\t\t{source ? (\n\t\t\t\t<img\n\t\t\t\t\tsrc={source}\n\t\t\t\t\talt={alt}\n\t\t\t\t\tclassName={styles.image}\n\t\t\t\t\twidth={getImageSize()}\n\t\t\t\t\theight={getImageSize()}\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<SVGIcon size={size} icon={UserCircle} />\n\t\t\t)}\n\t\t\t{isEditable && (\n\t\t\t\t<div className={styles.editIcon}>\n\t\t\t\t\t<SVGIcon isLoading={isLoading} icon={isLoading ? UploadCloud : Camera} />\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{(!!overlayIcon || overlayText) && (\n\t\t\t\t<div className={styles.overlay}>\n\t\t\t\t\t{!!overlayIcon && (\n\t\t\t\t\t\t<SVGIcon isLoading={isLoading} icon={isLoading ? UploadCloud : overlayIcon} />\n\t\t\t\t\t)}\n\t\t\t\t\t{!!overlayText && <div className={styles.overlayText}>{overlayText}</div>}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default Avatar;\n","import { Fragment, JSXElementConstructor, useState } from \"react\";\n\nimport styles from \"./Button.module.scss\";\n\nimport { UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon, { IconType } from \"../SVGIcon\";\n\ninterface Props {\n\ttype?: UIElementType;\n\tonClick: (e?: any) => void;\n\tlabel: string;\n\ticon?: IconType;\n\tfullWidth?: boolean;\n\tisLoading?: boolean;\n\tdisabled?: boolean;\n\tclassName?: string;\n\tneedConfirm?: boolean;\n\tsize?: \"standard\" | \"small\" | \"xsmall\";\n}\n\nconst Button = ({\n\ttype = UIElementType.PRIMARY,\n\tonClick,\n\tlabel,\n\ticon,\n\tfullWidth = false,\n\tisLoading,\n\tdisabled,\n\tclassName,\n\tneedConfirm = false,\n\tsize = \"standard\",\n}: Props) => {\n\tconst [showConfirm, setShowConfirm] = useState(false);\n\n\tconst handleConfirmation = () => {\n\t\tsetShowConfirm(false);\n\t\tonClick();\n\t};\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tcontainer: true,\n\t\t\t\tfullWidth,\n\t\t\t})}\n\t\t>\n\t\t\t<button\n\t\t\t\tclassName={classNames(\n\t\t\t\t\tstyles,\n\t\t\t\t\t{\n\t\t\t\t\t\tbutton: true,\n\t\t\t\t\t\tloading: !!isLoading,\n\t\t\t\t\t},\n\t\t\t\t\t[styles[type], styles[size], className as string]\n\t\t\t\t)}\n\t\t\t\tonClick={needConfirm ? () => setShowConfirm(!showConfirm) : onClick}\n\t\t\t\tdisabled={isLoading || disabled}\n\t\t\t>\n\t\t\t\t{isLoading ? (\n\t\t\t\t\t<Fragment>Loading...</Fragment>\n\t\t\t\t) : (\n\t\t\t\t\t<div className={styles.label}>\n\t\t\t\t\t\t{icon && <SVGIcon icon={icon} />}\n\t\t\t\t\t\t<span>{label}</span>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</button>\n\t\t\t{showConfirm && (\n\t\t\t\t<div className={styles.confirm}>\n\t\t\t\t\t<div className={styles.confirmMessage}>Are you sure?</div>\n\t\t\t\t\t<div className={styles.confirmActions}>\n\t\t\t\t\t\t<Button type={UIElementType.DANGER} onClick={() => setShowConfirm(false)} label=\"No\" />\n\t\t\t\t\t\t<Button type={UIElementType.SUCCESS} onClick={handleConfirmation} label=\"Yes\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default Button;\n","import { ChangeEvent, FocusEvent, KeyboardEvent } from \"react\";\n\nexport enum InputType {\n\tTEXT = \"text\",\n\tPASSWORD = \"password\",\n\tEMAIL = \"email\",\n\tNUMBER = \"number\",\n\tURL = \"url\",\n\tTEL = \"tel\",\n\tDATE = \"date\",\n\tDATETIME = \"datetime\",\n\tSELECT = \"select\",\n\tCOLOR_PICKER = \"color-picker\",\n\tTEXT_AREA = \"text-area\",\n\tAVATAR_UPLOAD = \"avatar-upload\",\n\tUPLOAD_IMAGE_ICON = \"upload-image-icon\",\n}\n\nexport type onChangeEventType = ChangeEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\nexport type onFocusEventType = FocusEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\nexport type onEnterEventType = KeyboardEvent<\n\tHTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n>;\n","import { FC, Fragment, ReactElement, forwardRef } from \"react\";\n\nimport styles from \"./Input.module.scss\";\n\nimport { Image } from \"src/icons\";\nimport { SIZE } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport SVGIcon from \"../SVGIcon\";\nimport { IconType } from \"../SVGIcon\";\nimport { InputType, onChangeEventType, onEnterEventType, onFocusEventType } from \"./Input.types\";\n\nimport Avatar from \"../Avatar/Avatar\";\n\ninterface SelectOption {\n\tlabel: string;\n\tvalue: string | number;\n}\n\ninterface Props {\n\tlabel?: string;\n\tplaceholder?: string;\n\ttype?: string;\n\tvalue?: string;\n\taddonIcon?: IconType | null;\n\trequired?: boolean;\n\tname?: string;\n\terrorMessage?: string;\n\toptions?: SelectOption[];\n\tfullWidth?: boolean;\n\tsource?: string | null;\n\tavatarSize?: SIZE;\n\tlabelAddon?: ReactElement;\n\tautoCompleteContent?: ReactElement | null;\n\tautoCompleteReverse?: boolean;\n\tnoMargin?: boolean;\n\tisDisabled?: boolean;\n\tisLoading?: boolean;\n\tisMultiUpload?: boolean;\n\tautoFocus?: boolean;\n\ttheme?: \"oval\" | \"transparent\";\n\tsize?: \"xsmall\" | \"small\" | \"medium\" | \"large\";\n\tonChange?: (e: onChangeEventType) => void;\n\tonBlur?: (e: onFocusEventType) => void;\n\tonFocus?: (e: onFocusEventType) => void;\n\taddonAction?: () => void;\n\tonEnter?: () => void;\n\tonEsc?: () => void;\n\tonFileSelect?: (file: File, url?: string) => void;\n\tonFilesSelect?: (files: FileList | null) => void;\n\t[key: string]: any;\n}\n\nconst Input: FC<Props> = forwardRef(function Input(\n\t{\n\t\ttype = InputType.TEXT,\n\t\tlabel,\n\t\tplaceholder,\n\t\tvalue,\n\t\trequired = false,\n\t\taddonIcon,\n\t\tlabelAddon,\n\t\terrorMessage,\n\t\toptions = [],\n\t\tfullWidth,\n\t\tavatarSize,\n\t\tsource,\n\t\tautoCompleteContent,\n\t\tautoCompleteReverse = false,\n\t\tnoMargin = false,\n\t\tisDisabled = false,\n\t\tisLoading = false,\n\t\tisMultiUpload = false,\n\t\tautoFocus = false,\n\t\ttheme = \"oval\",\n\t\tsize = \"medium\",\n\t\tonBlur,\n\t\tonFocus,\n\t\tonChange,\n\t\taddonAction,\n\t\tonEnter,\n\t\tonEsc,\n\t\tonFileSelect,\n\t\tonFilesSelect,\n\t\t...rest\n\t},\n\tref: any\n) {\n\tconst disabled = isDisabled || isLoading;\n\n\tconst handleKeyPress = (e: onEnterEventType) => {\n\t\tswitch (e.key) {\n\t\t\tcase \"Enter\":\n\t\t\t\tonEnter && onEnter();\n\t\t\t\tbreak;\n\n\t\t\tcase \"Escape\":\n\t\t\t\tonEsc && onEsc();\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\tconst handleFileSelect = (e: onChangeEventType) => {\n\t\t// @ts-ignore\n\t\tconst file = e.target.files[0];\n\t\tconst reader = new FileReader();\n\n\t\treader.onload = () => {\n\t\t\tonFileSelect && onFileSelect(file, reader.result as string);\n\t\t};\n\n\t\treader.readAsDataURL(file);\n\t};\n\n\tconst handleFilesSelect = (e: onChangeEventType) => {\n\t\tconst target = e.target as HTMLInputElement;\n\t\tonFilesSelect && onFilesSelect(target.files);\n\t};\n\n\tconst renderInput = () => {\n\t\tswitch (type) {\n\t\t\tcase InputType.SELECT:\n\t\t\t\treturn (\n\t\t\t\t\t<select\n\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tonBlur,\n\t\t\t\t\t\t\tonFocus,\n\t\t\t\t\t\t\tonChange,\n\t\t\t\t\t\t\tref,\n\t\t\t\t\t\t\t...rest,\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<option value=\"\">{placeholder}</option>\n\t\t\t\t\t\t{options.map(({ label, value: optionValue }) => (\n\t\t\t\t\t\t\t<option value={optionValue} key={optionValue}>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</select>\n\t\t\t\t);\n\n\t\t\tcase InputType.COLOR_PICKER:\n\t\t\t\treturn (\n\t\t\t\t\t<input\n\t\t\t\t\t\tclassName={`${styles.field} ${styles.colorPicker}`}\n\t\t\t\t\t\ttype=\"color\"\n\t\t\t\t\t\t{...{ value, placeholder, onBlur, onFocus, onChange, disabled, ref, ...rest }}\n\t\t\t\t\t/>\n\t\t\t\t);\n\n\t\t\tcase InputType.TEXT_AREA:\n\t\t\t\treturn (\n\t\t\t\t\t<textarea\n\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t{...{ value, placeholder, onBlur, onFocus, onChange, autoFocus, ref, ...rest }}\n\t\t\t\t\t></textarea>\n\t\t\t\t);\n\n\t\t\tcase InputType.AVATAR_UPLOAD: {\n\t\t\t\treturn (\n\t\t\t\t\t<label htmlFor=\"avatar-upload\">\n\t\t\t\t\t\t<Avatar {...{ size: avatarSize, source, isLoading }} isEditable />\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t\tname=\"avatar-upload\"\n\t\t\t\t\t\t\tid=\"avatar-upload\"\n\t\t\t\t\t\t\taccept=\"image/*\"\n\t\t\t\t\t\t\tonChange={isMultiUpload ? handleFilesSelect : handleFileSelect}\n\t\t\t\t\t\t\tref={ref}\n\t\t\t\t\t\t\tclassName={styles.avatar}\n\t\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\t\tmultiple={isMultiUpload}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tcase InputType.UPLOAD_IMAGE_ICON: {\n\t\t\t\treturn (\n\t\t\t\t\t<label htmlFor=\"upload-image-icon\">\n\t\t\t\t\t\t<SVGIcon icon={Image} isLoading={isLoading} size=\"md\" />\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t\tname=\"upload-image-icon\"\n\t\t\t\t\t\t\tid=\"upload-image-icon\"\n\t\t\t\t\t\t\taccept=\"image/*\"\n\t\t\t\t\t\t\tonChange={isMultiUpload ? handleFilesSelect : handleFileSelect}\n\t\t\t\t\t\t\tref={ref}\n\t\t\t\t\t\t\tclassName={styles.avatar}\n\t\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\t\tmultiple={isMultiUpload}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tdefault:\n\t\t\t\treturn (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclassName={styles.field}\n\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\t\tplaceholder,\n\t\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\t\tonBlur,\n\t\t\t\t\t\t\t\tonFocus,\n\t\t\t\t\t\t\t\tonChange,\n\t\t\t\t\t\t\t\tonKeyUp: handleKeyPress,\n\t\t\t\t\t\t\t\tref,\n\t\t\t\t\t\t\t\tdisabled,\n\t\t\t\t\t\t\t\tautoFocus,\n\t\t\t\t\t\t\t\t...rest,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t{addonIcon && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={!addonAction ? styles.addon : `${styles.addon} ${styles.pointer}`}\n\t\t\t\t\t\t\t\tonClick={addonAction}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<SVGIcon icon={addonIcon} isLoading={isLoading} />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</Fragment>\n\t\t\t\t);\n\t\t}\n\t};\n\n\t// fullWidth ? `${styles.input} ${styles.full}` : styles.input\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tinput: true,\n\t\t\t\t\tfull: !!fullWidth,\n\t\t\t\t\tnoMargin,\n\t\t\t\t\thasAddon: !!addonIcon,\n\t\t\t\t},\n\t\t\t\t[styles[theme], styles[size]]\n\t\t\t)}\n\t\t>\n\t\t\t{label && (\n\t\t\t\t<label>\n\t\t\t\t\t<span className={required ? styles.required : \"\"}>{label}</span>\n\t\t\t\t\t{!!labelAddon && <div className={styles.labelAddon}>{labelAddon}</div>}\n\t\t\t\t</label>\n\t\t\t)}\n\t\t\t<div className={styles.container}>{renderInput()}</div>\n\t\t\t{!!errorMessage && <div className={styles.error}>{errorMessage}</div>}\n\t\t\t{!!autoCompleteContent && (\n\t\t\t\t<div\n\t\t\t\t\tclassName={classNames(styles, {\n\t\t\t\t\t\tautoCompleteContent: true,\n\t\t\t\t\t\treversed: autoCompleteReverse,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{autoCompleteContent}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n});\nexport default Input;\n","import { useEffect } from \"react\";\n\nexport const useClickOutside = (ref: any, callback: () => void) => {\n\tconst handleClick = (event: any) => {\n\t\tif (ref.current && !ref.current.contains(event.target)) {\n\t\t\tcallback();\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\tdocument.addEventListener(\"click\", handleClick);\n\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"click\", handleClick);\n\t\t};\n\t}, []);\n};\n","import { CSSProperties, ReactNode, RefObject, useEffect, useState } from \"react\";\nimport ReactDOM from \"react-dom\";\n\nimport { useClickOutside } from \"src/utils/view\";\n\ninterface PortalParams {\n\tisOpen: boolean;\n\ttop: number | string;\n\tleft: number | string;\n\tbottom: number | string;\n\tright: number | string;\n}\n\ninterface Props {\n\tcontainerRef: RefObject<HTMLDivElement>;\n\tcontentRef: RefObject<HTMLDivElement>;\n\tisOpen: boolean;\n\trenderChild: (params: PortalParams) => ReactNode;\n\tonClose: () => void;\n}\n\nconst PortalAround = ({\n\tcontainerRef,\n\tcontentRef,\n\tisOpen = false,\n\trenderChild,\n\tonClose,\n}: Props) => {\n\tconst initialParams = {\n\t\tisOpen: false,\n\t\ttop: 0,\n\t\tleft: 0,\n\t\tbottom: 0,\n\t\tright: 0,\n\t};\n\n\tconst [params, setParams] = useState<PortalParams>(initialParams);\n\n\tconst style: CSSProperties = {\n\t\tposition: \"absolute\",\n\t\ttop: params.top,\n\t\tleft: params.left,\n\t\tbottom: params.bottom,\n\t\tright: params.right,\n\t\tzIndex: 111,\n\t};\n\n\tconst showContent = () => {\n\t\tconst {\n\t\t\ttop: containerTop,\n\t\t\tleft: containerLeft,\n\t\t\theight: containerHeight,\n\t\t\twidth: containerWidth,\n\t\t} = containerRef?.current?.getBoundingClientRect?.() ?? {\n\t\t\ttop: 0,\n\t\t\tleft: 0,\n\t\t\theight: 0,\n\t\t\twidth: 0,\n\t\t};\n\t\tconst { innerHeight, innerWidth } = window;\n\t\tconst spaceBelow = innerHeight - (containerTop + containerHeight);\n\t\tconst spaceAbove = containerTop;\n\t\tconst spaceLeft = containerLeft;\n\t\tconst spaceRight = innerWidth - (containerLeft + containerWidth);\n\t\tconst contentHeight = contentRef?.current?.clientHeight ?? 200;\n\t\tconst contentWidth = contentRef?.current?.clientWidth ?? 200;\n\t\tlet left: string | number = \"auto\";\n\t\tlet top: string | number = \"auto\";\n\t\tlet right: string | number = \"auto\";\n\t\tlet bottom: string | number = \"auto\";\n\n\t\t// Check space below\n\t\tif (spaceBelow < contentHeight && spaceAbove >= contentHeight) {\n\t\t\tbottom = innerHeight - containerTop - containerHeight + 20;\n\t\t} else {\n\t\t\ttop = containerTop + containerHeight + 5;\n\t\t}\n\n\t\t// Check space on the right\n\t\tif (spaceRight < contentWidth && spaceLeft >= contentWidth) {\n\t\t\tright = innerWidth - containerLeft;\n\t\t} else {\n\t\t\tleft = containerLeft;\n\t\t}\n\n\t\tconst position = { top, left, right, bottom };\n\n\t\tsetParams({\n\t\t\t...position,\n\t\t\tisOpen: true,\n\t\t});\n\t};\n\n\tconst preventPropogation = (e: any) => {\n\t\te.stopPropagation();\n\t};\n\n\tconst closeSelection = () => {\n\t\tsetParams(initialParams);\n\t\tonClose();\n\t};\n\n\tuseClickOutside(containerRef, () => closeSelection());\n\n\tuseEffect(() => {\n\t\tif (isOpen) return showContent();\n\n\t\tcloseSelection();\n\t}, [isOpen, containerRef?.current]);\n\n\tif (!params.isOpen) return null;\n\n\treturn ReactDOM.createPortal(\n\t\t<div style={style} onClick={preventPropogation}>\n\t\t\t{renderChild(params)}\n\t\t</div>,\n\t\tdocument.getElementById(\"portals\") as Element | DocumentFragment\n\t);\n};\n\nexport default PortalAround;\n","import { ReactNode, RefObject, useEffect, useRef, useState } from \"react\";\n\nimport styles from \"./DropDown.module.scss\";\n\nimport { UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\nimport { CloseDropdownRef } from \"./DropDown.types\";\n\nimport PortalAround from \"../Portal\";\n\ninterface Props {\n\taction: ReactNode;\n\tmenu: ReactNode;\n\ttype?: UIElementType;\n\tcloseRef?: RefObject<CloseDropdownRef>;\n\tactionSize?: \"medium\" | \"small\" | \"xsmall\" | \"large\";\n}\n\ninterface MenuProps {\n\tchildren: ReactNode;\n}\n\nconst DropDownMenu = ({ children }: MenuProps) => {\n\treturn <div className={styles.menu}>{children}</div>;\n};\n\nconst DropDown = ({\n\taction,\n\tmenu,\n\ttype = UIElementType.DEFAULT,\n\tcloseRef,\n\tactionSize = \"medium\",\n}: Props) => {\n\tconst containerRef = useRef<HTMLDivElement>(null);\n\tconst menuRef = useRef<HTMLDivElement>(null);\n\tconst actionRef = useRef<HTMLDivElement>(null);\n\n\tconst [isMenuOpen, setIsMenuOpen] = useState(false);\n\n\tconst toggleMenu = () => setIsMenuOpen(!isMenuOpen);\n\tconst closeMenu = () => setIsMenuOpen(false);\n\n\tuseEffect(() => {\n\t\tif (!closeRef?.current) return;\n\t\t// @ts-ignore\n\t\tcloseRef.current = {\n\t\t\tclose: () => closeMenu(),\n\t\t};\n\t}, [closeRef]);\n\n\treturn (\n\t\t<div className={styles.container} ref={containerRef}>\n\t\t\t<div\n\t\t\t\tclassName={classNames(styles, { action: true }, [styles[type], styles[actionSize]])}\n\t\t\t\tref={actionRef}\n\t\t\t\tonClick={toggleMenu}\n\t\t\t>\n\t\t\t\t{action}\n\t\t\t</div>\n\t\t\t<PortalAround\n\t\t\t\tcontainerRef={containerRef}\n\t\t\t\tcontentRef={menuRef}\n\t\t\t\tisOpen={isMenuOpen}\n\t\t\t\tonClose={closeMenu}\n\t\t\t\trenderChild={() => (\n\t\t\t\t\t<div className={styles.menuContainer} ref={menuRef}>\n\t\t\t\t\t\t<DropDownMenu>{menu}</DropDownMenu>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default DropDown;\n","import { JSXElementConstructor, useState } from \"react\";\n\nimport styles from \"./IconButton.module.scss\";\n\nimport { SIZE, UIElementType } from \"src/models/ui\";\nimport { classNames } from \"src/utils/styling\";\n\nimport Button from \"../Button\";\nimport SVGIcon, { IconType } from \"../SVGIcon\";\n\ninterface Props {\n\ticon: IconType;\n\tonClick: () => void;\n\ttype?: UIElementType;\n\tneedConfirm?: boolean;\n\tnoPadding?: boolean;\n\tisLoading?: boolean;\n\tsize?: SIZE;\n\tconfirmPosition?: \"top\" | \"bottom\";\n}\n\nconst IconButton = ({\n\ticon,\n\tonClick,\n\ttype = UIElementType.DEFAULT,\n\tneedConfirm = false,\n\tnoPadding = false,\n\tisLoading = false,\n\tsize = \"sm\",\n\tconfirmPosition = \"top\",\n}: Props) => {\n\tconst [showConfirm, setShowConfirm] = useState(false);\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\ticonButton: true,\n\t\t\t\t\tnoPadding,\n\t\t\t\t},\n\t\t\t\t[styles[type], styles[size]]\n\t\t\t)}\n\t\t\tonClick={isLoading ? undefined : needConfirm ? () => setShowConfirm(!showConfirm) : onClick}\n\t\t>\n\t\t\t<SVGIcon\n\t\t\t\t{...{\n\t\t\t\t\tisLoading,\n\t\t\t\t\ticon,\n\t\t\t\t\tsize,\n\t\t\t\t}}\n\t\t\t/>\n\t\t\t{showConfirm && (\n\t\t\t\t<div className={`${styles.confirm} ${styles[confirmPosition]}`}>\n\t\t\t\t\t<div className={styles.confirmMessage}>Are you sure?</div>\n\t\t\t\t\t<div className={styles.confirmActions}>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\ttype={UIElementType.DANGER}\n\t\t\t\t\t\t\tonClick={() => setShowConfirm(false)}\n\t\t\t\t\t\t\tlabel=\"No\"\n\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<Button type={UIElementType.SUCCESS} onClick={onClick} label=\"Yes\" size=\"small\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default IconButton;\n","import styles from \"./Link.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE, UIElementType } from \"src/models/ui\";\nimport SVGIcon from \"src/components/SVGIcon\";\nimport { ChevronRight } from \"src/icons\";\n\ninterface Props {\n\thref: string;\n\ttitle: string;\n\ttarget?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\" | \"framename\";\n\ttype?: UIElementType;\n\tpadding?: \"zero\" | SIZE;\n\thasChevron?: boolean;\n\tfullWidth?: boolean;\n}\n\nconst Link = ({\n\thref,\n\ttitle,\n\ttarget = \"_self\",\n\ttype = UIElementType.DEFAULT,\n\tpadding = \"zero\",\n\thasChevron = false,\n\tfullWidth = false,\n}: Props) => {\n\treturn (\n\t\t<a\n\t\t\thref={href}\n\t\t\ttarget={target}\n\t\t\trel=\"noopener noreferrer\"\n\t\t\tclassName={classNames(\n\t\t\t\tstyles,\n\t\t\t\t{\n\t\t\t\t\tlink: true,\n\t\t\t\t\tfullWidth,\n\t\t\t\t},\n\t\t\t\t[styles[type], styles[padding]]\n\t\t\t)}\n\t\t>\n\t\t\t<span>{title}</span> {hasChevron && <SVGIcon icon={ChevronRight} />}\n\t\t</a>\n\t);\n};\n\nexport default Link;\n","import styles from \"./ListItem.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\n\nimport Button from \"../Button\";\nimport SVGIcon from \"../SVGIcon\";\nimport { Check } from \"src/icons\";\n\ninterface Props {\n\ttitle: string;\n\tsubtitle?: string;\n\tactionTitle?: string;\n\taction?: () => void;\n\tcompleted?: boolean;\n\tindicator?: \"primary\" | \"success\" | \"danger\" | \"warning\" | \"info\";\n\thasSeparator?: boolean;\n\thasDashedSeparator?: boolean;\n\tisActionPending?: boolean;\n}\n\nconst ListItem = ({\n\ttitle,\n\tsubtitle,\n\tactionTitle = \"\",\n\taction,\n\tcompleted,\n\tindicator,\n\thasSeparator = false,\n\thasDashedSeparator = false,\n\tisActionPending = false,\n}: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, {\n\t\t\t\tlistItem: true,\n\t\t\t\tseparator: hasSeparator,\n\t\t\t\tdashedSeparator: hasDashedSeparator,\n\t\t\t})}\n\t\t>\n\t\t\t<div className={styles.content}>\n\t\t\t\t{indicator && (\n\t\t\t\t\t<div className={classNames(styles, { indicator: true }, [styles[indicator]])}></div>\n\t\t\t\t)}\n\t\t\t\t<div className={styles.data}>\n\t\t\t\t\t<div className={styles.title}>{title}</div>\n\t\t\t\t\t{subtitle && <div className={styles.subtitle}>{subtitle}</div>}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t{action && (\n\t\t\t\t<Button\n\t\t\t\t\tonClick={action}\n\t\t\t\t\tclassName={styles.action}\n\t\t\t\t\tlabel={actionTitle}\n\t\t\t\t\tisLoading={isActionPending}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t{completed && (\n\t\t\t\t<div className={styles.completed}>\n\t\t\t\t\t<SVGIcon icon={Check} />\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\nexport default ListItem;\n","import styles from \"./LoadingItem.module.scss\";\n\nimport { classNames } from \"src/utils/styling\";\nimport { SIZE } from \"src/models/ui\";\n\ninterface Props {\n\tshape?: \"square\";\n\tsize: SIZE;\n\twidth?: string;\n\theight?: string;\n}\n\nconst LoadingItem = ({ shape = \"square\", size = \"md\", width, height }: Props) => {\n\treturn (\n\t\t<div\n\t\t\tclassName={classNames(styles, { container: true }, [styles[shape], styles[size]])}\n\t\t\tstyle={{ width, height }}\n\t\t></div>\n\t);\n};\n\nexport default LoadingItem;\n","export const isEmpty = (value: any) => {\n\t// Check for null or undefined\n\tif (value === null || value === undefined) {\n\t\treturn true;\n\t}\n\n\t// Check for objects (including arrays and functions)\n\tif (typeof value === \"object\") {\n\t\t// Handle arrays\n\t\tif (Array.isArray(value)) {\n\t\t\treturn value.length === 0;\n\t\t}\n\t\t// Handle Sets and Maps\n\t\tif (value instanceof Set || value instanceof Map) {\n\t\t\treturn value.size === 0;\n\t\t}\n\t\t// Handle normal objects\n\t\treturn Object.keys(value).length === 0;\n\t}\n\n\t// Check for strings\n\tif (typeof value === \"string\") {\n\t\treturn value.length === 0;\n\t}\n\n\t// If the value is a number, boolean, or other primitive type, it's not empty\n\treturn false;\n};\n"],"names":["classNames","styles","extraClassNames","classes","key","push","length","concat","join","SVGIcon","_a","IconComponent","icon","_b","size","_c","className","_d","isLoading","dimension","getDimension","_jsx","container","children","jsx","width","height","viewBox","preserveAspectRatio","__assign","Object","assign","t","s","i","n","arguments","p","prototype","hasOwnProperty","call","apply","this","SuppressedError","UIElementType","SvgCamera","props","_jsxs","xmlns","fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","SvgCheck","SvgChevronRight","SvgImage","SvgUploadCloud","SvgUserCircle","Avatar","source","alt","onClick","_e","isEditable","overlayIcon","_f","inline","_g","overlayText","getImageSize","jsxs","avatar","clickable","editable","loading","style","src","image","UserCircle","editIcon","UploadCloud","Camera","overlay","InputType","Button","type","PRIMARY","label","fullWidth","disabled","needConfirm","useState","showConfirm","setShowConfirm","button","Fragment","confirm","confirmMessage","confirmActions","DANGER","SUCCESS","Input","forwardRef","ref","TEXT","placeholder","value","required","addonIcon","labelAddon","errorMessage","options","avatarSize","autoCompleteContent","autoCompleteReverse","noMargin","isDisabled","_h","_j","isMultiUpload","_k","autoFocus","_l","theme","_m","onBlur","onFocus","onChange","addonAction","onEnter","onEsc","onFileSelect","onFilesSelect","rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__rest","handleKeyPress","handleFileSelect","file","target","files","reader","FileReader","onload","result","readAsDataURL","handleFilesSelect","input","full","hasAddon","SELECT","field","map","optionValue","COLOR_PICKER","colorPicker","TEXT_AREA","AVATAR_UPLOAD","htmlFor","name","id","accept","multiple","UPLOAD_IMAGE_ICON","Image","onKeyUp","addon","pointer","renderInput","error","reversed","useClickOutside","callback","handleClick","event","current","contains","useEffect","document","addEventListener","removeEventListener","PortalAround","containerRef","contentRef","isOpen","renderChild","onClose","initialParams","top","left","bottom","right","params","setParams","position","zIndex","closeSelection","getBoundingClientRect","containerTop","containerLeft","containerHeight","containerWidth","innerHeight","window","innerWidth","spaceBelow","spaceAbove","spaceLeft","spaceRight","contentHeight","clientHeight","contentWidth","clientWidth","showContent","ReactDOM","createPortal","stopPropagation","getElementById","DropDownMenu","menu","action","DEFAULT","closeRef","actionSize","useRef","menuRef","actionRef","isMenuOpen","setIsMenuOpen","closeMenu","close","menuContainer","noPadding","confirmPosition","iconButton","undefined","href","title","padding","hasChevron","rel","link","ChevronRight","subtitle","actionTitle","completed","indicator","hasSeparator","hasDashedSeparator","isActionPending","listItem","separator","dashedSeparator","content","data","Check","shape","Array","isArray","Set","Map","keys"],"mappings":"s7BAEaA,EAAa,SACzBC,EACAD,EACAE,QAAA,IAAAA,IAAAA,EAA8B,IAE9B,IAAIC,EAAU,GAEd,IAAK,IAAMC,KAAOJ,EACbA,EAAWI,IAAMD,EAAQE,KAAKJ,EAAOG,IAK1C,OAFIF,eAAAA,EAAiBI,QAAS,IAAGH,EAAUA,EAAQI,OAAOL,IAEnDC,EAAQK,KAAK,IACrB,4NC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AAG2N,IAC9BM,GAAYnO,EAAAG,IAAA,MAAA,CAAKR,UAAWf,EAAOuP,SAAWjO,SAAAiO,UAGhDvB,GACA5M,EAAAA,IAACiE,GACAvB,QAASkK,EACTjN,UAAWf,EAAOgO,OAClBxI,MAAOgK,EACPvO,UAAW4O,IAGZJ,GACArO,EAAAA,IAAA,MAAA,CAAKL,UAAWf,EAAOyP,UACtBnO,SAAAF,EAAAG,IAACf,EAAO,CAACG,KAAMwP,QAKpB,sBCnDoB,SAAC1P,GAAE,IAAAG,EAAAH,EAAA2P,MAAAA,OAAK,IAAAxP,EAAG,SAAQA,EAAEE,EAAWL,EAAAI,KAAXA,OAAI,IAAAC,EAAG,KAAIA,EAAEU,EAAKf,EAAAe,MAAEC,EAAMhB,EAAAgB,OAClE,OACCL,MACC,MAAA,CAAAL,UAAWhB,EAAWC,EAAQ,CAAEqB,WAAW,GAAQ,CAACrB,EAAOoQ,GAAQpQ,EAAOa,KAC1E+D,MAAO,CAAEpD,QAAOC,WAGnB,yDCnBuB,SAACkF,GAEvB,OAAIA,UAKiB,iBAAVA,EAEN0J,MAAMC,QAAQ3J,GACO,IAAjBA,EAAMtG,OAGVsG,aAAiB4J,KAAO5J,aAAiB6J,IACtB,IAAf7J,EAAM9F,KAGuB,IAA9BgB,OAAO4O,KAAK9J,GAAOtG,OAIN,iBAAVsG,GACc,IAAjBA,EAAMtG,OAKf"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type SIZE = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl";
|
|
2
|
+
export declare enum UIElementType {
|
|
3
|
+
PRIMARY = "primary",
|
|
4
|
+
SECONDARY = "secondary",
|
|
5
|
+
DANGER = "danger",
|
|
6
|
+
SUCCESS = "success",
|
|
7
|
+
WARNING = "warning",
|
|
8
|
+
INFO = "info",
|
|
9
|
+
LIGHT = "light",
|
|
10
|
+
DEFAULT = "default",
|
|
11
|
+
DARK = "dark",
|
|
12
|
+
LIGHT_PRIMARY = "lightPrimary",
|
|
13
|
+
LIGHT_SUCCESS = "lightSuccess",
|
|
14
|
+
LIGHT_WARNING = "lightWarning",
|
|
15
|
+
LIGHT_INFO = "lightInfo",
|
|
16
|
+
LIGHT_DANGER = "lightDanger",
|
|
17
|
+
LIGHT_DARK = "lightDark",
|
|
18
|
+
LIGHT_SECONDARY = "lightSecondary",
|
|
19
|
+
WHITE_TEXT = "whiteText",
|
|
20
|
+
BORDERED_PRIMARY = "borderedPrimary",
|
|
21
|
+
BORDERED_SECONDARY = "borderedSecondary"
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@keyframes flexWide {
|
|
2
|
+
from {
|
|
3
|
+
flex: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
to {
|
|
7
|
+
flex: 1;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@keyframes slidein {
|
|
12
|
+
from {
|
|
13
|
+
transform: translateX(0%);
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
transform: translateX(-100%);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@keyframes fadeInOut {
|
|
21
|
+
0% {
|
|
22
|
+
opacity: 0.5;
|
|
23
|
+
}
|
|
24
|
+
50% {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
100% {
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
$color-gray-100: #f5f8fa;
|
|
2
|
+
$color-gray-200: #eff2f5;
|
|
3
|
+
$color-gray-300: #e4e6ef;
|
|
4
|
+
$color-gray-400: #b5b5c3;
|
|
5
|
+
$color-gray-500: #a1a5b7;
|
|
6
|
+
$color-gray-600: #7e8299;
|
|
7
|
+
$color-gray-700: #5e6278;
|
|
8
|
+
$color-gray-800: #3f4254;
|
|
9
|
+
$color-gray-900: #181c32;
|
|
10
|
+
$color-border: $color-gray-200;
|
|
11
|
+
$color-border-dashed: $color-gray-300;
|
|
12
|
+
$color-blue: #009ef6;
|
|
13
|
+
$color-indigo: #6610f2;
|
|
14
|
+
$color-purple: #6f42c1;
|
|
15
|
+
$color-pink: #d63384;
|
|
16
|
+
$color-red: #dc3545;
|
|
17
|
+
$color-orange: #fd7e14;
|
|
18
|
+
$color-yellow: #ffc107;
|
|
19
|
+
$color-green: #198754;
|
|
20
|
+
$color-teal: #20c997;
|
|
21
|
+
$color-cyan: #0dcaf0;
|
|
22
|
+
$color-gray: #7e8299;
|
|
23
|
+
$color-gray-dark: $color-gray-800;
|
|
24
|
+
$color-white: #ffffff;
|
|
25
|
+
$color-black: #000000;
|
|
26
|
+
// THEME COLORS
|
|
27
|
+
$color-light: $color-gray-100;
|
|
28
|
+
$color-light-active: $color-gray-300;
|
|
29
|
+
$color-light-inverse: $color-gray-600;
|
|
30
|
+
$color-primary: #2d3436;
|
|
31
|
+
$color-primary-light: rgba($color-primary, 0.1);
|
|
32
|
+
$color-primary-active: #212526;
|
|
33
|
+
$color-primary-inverse: $color-white;
|
|
34
|
+
$color-secondary: #16a085;
|
|
35
|
+
$color-secondary-inverse: $color-white;
|
|
36
|
+
$color-secondary-active: #0bb7af;
|
|
37
|
+
$color-secondary-light: #c9f7f5;
|
|
38
|
+
$color-secondary-extra-light: #dcfdfd;
|
|
39
|
+
$color-success: #1bc5bd;
|
|
40
|
+
$color-success-light: #c9f7f5;
|
|
41
|
+
$color-success-active: #0bb7af;
|
|
42
|
+
$color-success-inverse: $color-white;
|
|
43
|
+
$color-info: #f8f5ff;
|
|
44
|
+
$color-info-inverse: $color-white;
|
|
45
|
+
$color-info-light: #f8f5ff;
|
|
46
|
+
$color-info-active: #5014d0;
|
|
47
|
+
$color-warning: #ffc700;
|
|
48
|
+
$color-warning-inverse: $color-white;
|
|
49
|
+
$color-warning-light: #fff8dd;
|
|
50
|
+
$color-warning-active: #f1bc00;
|
|
51
|
+
$color-danger: #f1416c;
|
|
52
|
+
$color-danger-inverse: $color-white;
|
|
53
|
+
$color-dark: $color-gray-900;
|
|
54
|
+
$color-dark-inverse: $color-white;
|
|
55
|
+
$color-dark-light: $color-gray-200;
|
|
56
|
+
$color-dark-active: #131628;
|
|
57
|
+
$color-danger-light: #fff5f8;
|
|
58
|
+
$color-danger-active: #d9214e;
|
|
59
|
+
// END THEME COLORS
|
|
60
|
+
$color-light-rgb: 245, 248, 250;
|
|
61
|
+
$color-primary-rgb: 4, 200, 200;
|
|
62
|
+
$color-success-rgb: 0, 158, 247;
|
|
63
|
+
$color-info-rgb: 114, 57, 234;
|
|
64
|
+
$color-warning-rgb: 255, 199, 0;
|
|
65
|
+
$color-danger-rgb: 241, 65, 108;
|
|
66
|
+
$color-dark-rgb: 24, 28, 50;
|
|
67
|
+
$color-white-rgb: 255, 255, 255;
|
|
68
|
+
$color-black-rgb: 0, 0, 0;
|
|
69
|
+
$color-body-color-rgb: 24, 28, 50;
|
|
70
|
+
$color-body-bg-rgb: 255, 255, 255;
|
|
71
|
+
$color-body-bg: #f3f6f9;
|
|
72
|
+
$color-link-hover: #36d3d3;
|
|
73
|
+
$color-sidebar-bg: $color-white;
|
|
74
|
+
|
|
75
|
+
/* Text */
|
|
76
|
+
$color-text-muted: $color-gray-500;
|
|
77
|
+
$color-body-text: $color-gray-900;
|
|
78
|
+
$color-message-bg: $color-white;
|
|
79
|
+
$color-active-message-bg: $color-secondary-extra-light;
|
|
80
|
+
|
|
81
|
+
/* Input */
|
|
82
|
+
$color-input-plaintext: $color-gray-700;
|
|
83
|
+
$color-input-bg: $color-white;
|
|
84
|
+
$color-input-disabled-bg: $color-gray-200;
|
|
85
|
+
$color-input-disabled-border: $color-gray-300;
|
|
86
|
+
$color-input: $color-gray-700;
|
|
87
|
+
$color-input-border: $color-gray-300;
|
|
88
|
+
$color-input-focus-bg: $color-white;
|
|
89
|
+
$color-input-focus-border: $color-gray-400;
|
|
90
|
+
$color-input-focus: $color-gray-700;
|
|
91
|
+
$color-input-solid-bg: $color-gray-100;
|
|
92
|
+
$color-input-solid-bg-focus: #eef3f7;
|
|
93
|
+
$color-input-solid-placeholder: $color-gray-500;
|
|
94
|
+
$color-input-solid: $color-gray-700;
|
|
95
|
+
|
|
96
|
+
/* Button */
|
|
97
|
+
$btn-disabled-color: $color-white;
|
|
98
|
+
$btn-disabled-bg: $color-primary;
|
|
99
|
+
$btn-disabled-border-color: $color-primary;
|
|
100
|
+
|
|
101
|
+
$color-tooltip: $color-gray-800;
|
|
102
|
+
$color-tooltip-bg: $color-white;
|
|
103
|
+
|
|
104
|
+
/* TABLE */
|
|
105
|
+
$color-table: $color-gray-900;
|
|
106
|
+
$color-table-bg: transparent;
|
|
107
|
+
$color-table-border: $color-gray-200;
|
|
108
|
+
$color-table-accent-bg: transparent;
|
|
109
|
+
$color-table-striped: $color-gray-900;
|
|
110
|
+
$color-table-striped-bg: rgba(245, 248, 250, 0.75);
|
|
111
|
+
$color-table-active: $color-gray-900;
|
|
112
|
+
$color-table-active-bg: $color-gray-100;
|
|
113
|
+
$color-table-hover: $color-gray-900;
|
|
114
|
+
$color-table-hover-bg: $color-gray-100;
|
|
115
|
+
$color-table-caption: $color-gray-500;
|
|
116
|
+
$color-table-loading-message-bg: $color-white;
|
|
117
|
+
$color-table-loading-message: $color-gray-700;
|
|
118
|
+
|
|
119
|
+
/* Modal */
|
|
120
|
+
$color-modal-divider: $color-gray-200;
|
|
121
|
+
|
|
122
|
+
/* Bagde */
|
|
123
|
+
$color-badge: $color-gray-100;
|
|
124
|
+
$color-badge-text: $color-gray-500;
|
|
125
|
+
|
|
126
|
+
/* Menu */
|
|
127
|
+
$menu-dropdown-bg-color: $color-white;
|
|
128
|
+
$color-divider: $color-gray-200;
|
|
129
|
+
|
|
130
|
+
/* Notification */
|
|
131
|
+
$color-unseen-notification: $color-gray-200;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
@mixin flexCentered {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
align-items: center;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin noSelection {
|
|
8
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
|
9
|
+
-webkit-user-select: none; /* Safari */
|
|
10
|
+
-khtml-user-select: none; /* Konqueror HTML */
|
|
11
|
+
-moz-user-select: none; /* Old versions of Firefox */
|
|
12
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
13
|
+
user-select: none; /* Non-prefixed version, currently
|
|
14
|
+
supported by Chrome, Edge, Opera and Firefox */
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin thickScrollbar {
|
|
18
|
+
scrollbar-color: rgba($color: $color-primary, $alpha: 0.3) transparent;
|
|
19
|
+
|
|
20
|
+
&::-webkit-scrollbar {
|
|
21
|
+
height: 8px;
|
|
22
|
+
width: 8px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&::-webkit-scrollbar-thumb {
|
|
26
|
+
background: rgba($color: $color-primary, $alpha: 0.3);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* RESPONSIVE */
|
|
31
|
+
|
|
32
|
+
$xxs: 375px;
|
|
33
|
+
$xs: 430px;
|
|
34
|
+
$sm: 580px;
|
|
35
|
+
$msm: 660px;
|
|
36
|
+
$md: 768px;
|
|
37
|
+
$lm: 844px;
|
|
38
|
+
$lg: 1024px;
|
|
39
|
+
$xl: 1200px;
|
|
40
|
+
$xxl: 1440px;
|
|
41
|
+
|
|
42
|
+
@mixin media-xxl-down {
|
|
43
|
+
@media (max-width: #{$xxl}) {
|
|
44
|
+
@content;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@mixin media-xl-down {
|
|
49
|
+
@media (max-width: #{$xl}) {
|
|
50
|
+
@content;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin media-lg-down {
|
|
55
|
+
@media (max-width: #{$lg}) {
|
|
56
|
+
@content;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin media-lm-down {
|
|
61
|
+
@media (max-width: #{$lm}) {
|
|
62
|
+
@content;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@mixin media-md-down {
|
|
67
|
+
@media (max-width: #{$md}) {
|
|
68
|
+
@content;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@mixin media-msm-down {
|
|
73
|
+
@media (max-width: #{$msm}) {
|
|
74
|
+
@content;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@mixin media-sm-down {
|
|
79
|
+
@media (max-width: #{$sm}) {
|
|
80
|
+
@content;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin media-xs-down {
|
|
85
|
+
@media (max-width: #{$xs}) {
|
|
86
|
+
@content;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@mixin media-xxs-down {
|
|
91
|
+
@media (max-width: #{$xxs}) {
|
|
92
|
+
@content;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@mixin media-xxl-up {
|
|
97
|
+
@media (min-width: #{$xxl}) {
|
|
98
|
+
@content;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@mixin media-xl-up {
|
|
103
|
+
@media (min-width: #{$xl}) {
|
|
104
|
+
@content;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@mixin media-lg-up {
|
|
109
|
+
@media (min-width: #{$lg}) {
|
|
110
|
+
@content;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@mixin media-lm-up {
|
|
115
|
+
@media (min-width: #{$lm}) {
|
|
116
|
+
@content;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@mixin media-md-up {
|
|
121
|
+
@media (min-width: #{$md}) {
|
|
122
|
+
@content;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@mixin media-sm-up {
|
|
127
|
+
@media (min-width: #{$sm}) {
|
|
128
|
+
@content;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@mixin media-xs-up {
|
|
133
|
+
@media (min-width: #{$xs}) {
|
|
134
|
+
@content;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@mixin media-xxs-up {
|
|
139
|
+
@media (min-width: #{$xxs}) {
|
|
140
|
+
@content;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
@mixin apply-ui-type-styles($styles) {
|
|
145
|
+
background-color: nth($styles, 1);
|
|
146
|
+
color: nth($styles, 2);
|
|
147
|
+
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
|
|
148
|
+
|
|
149
|
+
i {
|
|
150
|
+
color: nth($styles, 2);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
svg {
|
|
154
|
+
stroke: nth($styles, 2);
|
|
155
|
+
transition: stroke 0.2s ease-in-out;
|
|
156
|
+
|
|
157
|
+
path {
|
|
158
|
+
stroke: nth($styles, 2);
|
|
159
|
+
transition: stroke 0.2s ease-in-out;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&:hover,
|
|
164
|
+
&.active {
|
|
165
|
+
background-color: nth($styles, 3);
|
|
166
|
+
color: nth($styles, 4);
|
|
167
|
+
|
|
168
|
+
i {
|
|
169
|
+
color: nth($styles, 4);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
svg {
|
|
173
|
+
stroke: nth($styles, 4);
|
|
174
|
+
|
|
175
|
+
path {
|
|
176
|
+
stroke: nth($styles, 4);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./colors.scss", "./functions/toRem.scss", "./variables.scss", "./mixins", "./animations";
|