react-asc 18.9.3 → 19.0.0
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/components/List/List.d.ts +2 -5
- package/components/List/ListItem.d.ts +2 -6
- package/components/List/ListItemAction.d.ts +2 -7
- package/components/List/ListItemAvatar.d.ts +2 -2
- package/components/List/ListItemIcon.d.ts +2 -2
- package/components/List/ListItemText.d.ts +3 -3
- package/components/LoadingIndicator/LoadingIndicator.d.ts +2 -2
- package/components/Modal/GlobalModal.d.ts +1 -1
- package/components/Modal/Modal.d.ts +1 -1
- package/components/Modal/modal.service.d.ts +1 -1
- package/components/Sidebar/Sidebar.d.ts +2 -2
- package/components/Textarea/Textarea.d.ts +1 -3
- package/components/TreeView/TreeView.d.ts +2 -6
- package/components/Typography/Typography.d.ts +3 -6
- package/{assets/icons → icons}/CaretDownSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/CheckSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/CheckSquareRegularIcon.d.ts +0 -0
- package/{assets/icons → icons}/ChevronDownSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/ChevronLeftSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/ChevronRightSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/ChevronUpSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/CircleSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/HomeSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/PlusSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/SpinnerSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/SquareRegularIcon.d.ts +0 -0
- package/{assets/icons → icons}/TimesCircleSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/TimesSolidIcon.d.ts +0 -0
- package/{assets/icons → icons}/index.d.ts +0 -0
- package/index.d.ts +1 -1
- package/index.es.js +351 -344
- package/index.js +350 -343
- package/package.json +1 -1
- package/index.es.js.map +0 -1
- package/index.js.map +0 -1
package/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState,
|
|
1
|
+
import React, { useState, useEffect, useRef, Fragment, Component, createRef, cloneElement } from 'react';
|
|
2
2
|
import { createPortal, render, unmountComponentAtNode } from 'react-dom';
|
|
3
3
|
import { createPopper } from '@popperjs/core';
|
|
4
4
|
|
|
@@ -87,8 +87,8 @@ function styleInject(css, ref) {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
var css_248z$V = ".Alert-
|
|
91
|
-
var styles$V = {"alert":"Alert-
|
|
90
|
+
var css_248z$V = ".Alert-module_alert__b4tbk {\n border-radius: var(--borderRadius);\n padding: 6px 16px; }\n\n.Alert-module_contained__EM0x6.Alert-module_primary__q4pNj {\n color: var(--primary-contrast-text);\n background-color: var(--primary); }\n\n.Alert-module_contained__EM0x6.Alert-module_accent__a2WIl {\n color: var(--accent-contrast-text);\n background-color: var(--accent); }\n\n.Alert-module_contained__EM0x6.Alert-module_secondary__syXKX {\n color: var(--secondary-contrast-text);\n background-color: var(--secondary); }\n\n.Alert-module_contained__EM0x6.Alert-module_light__VKCXF {\n color: var(--light-contrast-text);\n background-color: var(--light); }\n\n.Alert-module_contained__EM0x6.Alert-module_dark__3c-Hm {\n color: var(--dark-contrast-text);\n background-color: var(--dark); }\n\n.Alert-module_outline__T2262.Alert-module_primary__q4pNj {\n color: var(--primary) !important;\n border: 1px solid var(--primary) !important; }\n\n.Alert-module_outline__T2262.Alert-module_secondary__syXKX {\n color: var(--secondary) !important;\n border: 1px solid var(--secondary) !important; }\n\n.Alert-module_outline__T2262.Alert-module_accent__a2WIl {\n color: var(--accent) !important;\n border: 1px solid var(--accent) !important; }\n\n.Alert-module_outline__T2262.Alert-module_light__VKCXF {\n color: var(--light-contrast-text) !important;\n border: 1px solid var(--light) !important; }\n\n.Alert-module_outline__T2262.Alert-module_dark__3c-Hm {\n color: var(--dark) !important;\n border: 1px solid var(--dark) !important; }\n";
|
|
91
|
+
var styles$V = {"alert":"Alert-module_alert__b4tbk","contained":"Alert-module_contained__EM0x6","primary":"Alert-module_primary__q4pNj","accent":"Alert-module_accent__a2WIl","secondary":"Alert-module_secondary__syXKX","light":"Alert-module_light__VKCXF","dark":"Alert-module_dark__3c-Hm","outline":"Alert-module_outline__T2262"};
|
|
92
92
|
styleInject(css_248z$V);
|
|
93
93
|
|
|
94
94
|
const Alert = (props) => {
|
|
@@ -111,8 +111,8 @@ const Alert = (props) => {
|
|
|
111
111
|
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest), children));
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
var css_248z$U = ".AppBar-
|
|
115
|
-
var styles$U = {"appbar":"AppBar-
|
|
114
|
+
var css_248z$U = ".AppBar-module_appbar__Neyh3 {\n padding: 0.5rem 1rem;\n display: flex;\n z-index: 1000;\n min-height: 64px;\n flex-shrink: 0; }\n .AppBar-module_appbar__Neyh3.AppBar-module_primary__xMqXD {\n color: var(--primary-contrast-text);\n background-color: var(--primary); }\n .AppBar-module_appbar__Neyh3.AppBar-module_secondary__8MkLA {\n color: var(--secondary-contrast-text);\n background-color: var(--secondary); }\n .AppBar-module_appbar__Neyh3.AppBar-module_accent__vHbkp {\n color: var(--accent-contrast-text);\n background-color: var(--accent); }\n .AppBar-module_appbar__Neyh3.AppBar-module_light__HGy3y {\n color: var(--light-contrast-text);\n background-color: var(--light); }\n .AppBar-module_appbar__Neyh3.AppBar-module_dark__ILq96 {\n color: var(--dark-contrast-text);\n background-color: var(--dark); }\n .AppBar-module_appbar__Neyh3.AppBar-module_shadow__gQN8s {\n box-shadow: var(--shadow); }\n";
|
|
115
|
+
var styles$U = {"appbar":"AppBar-module_appbar__Neyh3","primary":"AppBar-module_primary__xMqXD","secondary":"AppBar-module_secondary__8MkLA","accent":"AppBar-module_accent__vHbkp","light":"AppBar-module_light__HGy3y","dark":"AppBar-module_dark__ILq96","shadow":"AppBar-module_shadow__gQN8s"};
|
|
116
116
|
styleInject(css_248z$U);
|
|
117
117
|
|
|
118
118
|
const AppBar = (props) => {
|
|
@@ -128,8 +128,8 @@ const AppBar = (props) => {
|
|
|
128
128
|
return (React.createElement("nav", Object.assign({ className: getCssClasses() }, rest), children));
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
var css_248z$T = ".AppBarTitle-
|
|
132
|
-
var styles$T = {"appbarTitle":"AppBarTitle-
|
|
131
|
+
var css_248z$T = ".AppBarTitle-module_appbarTitle__RsFg5 {\n align-items: center;\n padding-top: 0.3125rem;\n padding-bottom: 0.3125rem;\n font-size: 1.25rem;\n line-height: 1.8;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden !important;\n display: inline-block; }\n .AppBarTitle-module_appbarTitle__RsFg5:hover {\n cursor: pointer; }\n";
|
|
132
|
+
var styles$T = {"appbarTitle":"AppBarTitle-module_appbarTitle__RsFg5"};
|
|
133
133
|
styleInject(css_248z$T);
|
|
134
134
|
|
|
135
135
|
const AppBarTitle = (props) => {
|
|
@@ -143,6 +143,144 @@ const AppBarTitle = (props) => {
|
|
|
143
143
|
return (React.createElement("div", { className: getCssClass(), onClick: onClick }, children));
|
|
144
144
|
};
|
|
145
145
|
|
|
146
|
+
var css_248z$S = ".Icon-module_icon__lFKCA {\n align-items: center;\n justify-content: center;\n display: flex;\n width: 20px;\n height: 20px; }\n .Icon-module_icon__lFKCA svg {\n width: inherit;\n height: inherit; }\n .Icon-module_icon__lFKCA.Icon-module_primary__3fID- {\n color: var(--primary); }\n .Icon-module_icon__lFKCA.Icon-module_accent__aZXGb {\n color: var(--accent); }\n .Icon-module_icon__lFKCA.Icon-module_secondary__HKKop {\n color: var(--secondary); }\n .Icon-module_icon__lFKCA.Icon-module_light__-ApMm {\n color: var(--light); }\n .Icon-module_icon__lFKCA.Icon-module_dark__DpCIK {\n color: var(--dark); }\n";
|
|
147
|
+
var styles$S = {"icon":"Icon-module_icon__lFKCA","primary":"Icon-module_primary__3fID-","accent":"Icon-module_accent__aZXGb","secondary":"Icon-module_secondary__HKKop","light":"Icon-module_light__-ApMm","dark":"Icon-module_dark__DpCIK"};
|
|
148
|
+
styleInject(css_248z$S);
|
|
149
|
+
|
|
150
|
+
const Icon = (props) => {
|
|
151
|
+
const { children, iconColor, className } = props, rest = __rest(props, ["children", "iconColor", "className"]);
|
|
152
|
+
const getCssClasses = () => {
|
|
153
|
+
const cssClasses = [];
|
|
154
|
+
cssClasses.push(styles$S.icon);
|
|
155
|
+
iconColor && cssClasses.push(styles$S[iconColor]);
|
|
156
|
+
className && cssClasses.push(className);
|
|
157
|
+
return cssClasses.filter(css => css).join(' ');
|
|
158
|
+
};
|
|
159
|
+
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest), children));
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
var css_248z$R = ".IconButton-module_iconButton__rpCPQ {\n border-radius: 100%;\n padding: 0px;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n min-width: auto;\n box-shadow: none;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n user-select: none;\n background-color: transparent;\n font-size: 1rem;\n line-height: 1.5;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n border: none; }\n .IconButton-module_iconButton__rpCPQ:hover {\n cursor: pointer; }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_shadow__Uw0RK {\n box-shadow: var(--shadow); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_md__XnuSk {\n width: 48px;\n height: 48px; }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_lg__arEvo {\n width: 56px;\n height: 56px; }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag {\n padding: 0;\n background: transparent;\n color: inherit; }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_active__VIqU9 {\n background-color: rgba(0, 0, 0, 0.04); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_primary__vbo-G {\n color: var(--primary); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_primary__vbo-G:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_primary__vbo-G.IconButton-module_active__VIqU9 {\n color: var(--primary-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_secondary__AiNAY {\n color: var(--secondary); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_secondary__AiNAY:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_secondary__AiNAY.IconButton-module_active__VIqU9 {\n color: var(--secondary-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_accent__QRzM2 {\n color: var(--accent); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_accent__QRzM2:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_accent__QRzM2.IconButton-module_active__VIqU9 {\n color: var(--accent-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_light__YNEiO {\n color: var(--light); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_light__YNEiO:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_light__YNEiO.IconButton-module_active__VIqU9 {\n color: var(--light-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_dark__gnbUH {\n color: var(--dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_dark__gnbUH:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_dark__gnbUH.IconButton-module_active__VIqU9 {\n color: var(--dark-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_text__Ualag.IconButton-module_disabled__QB0ZV {\n color: rgba(0, 0, 0, 0.26);\n background-color: transparent;\n cursor: default;\n pointer-events: none; }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_active__VIqU9 {\n background-color: rgba(0, 0, 0, 0.04); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_primary__vbo-G {\n background-color: var(--primary);\n color: var(--white); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_primary__vbo-G:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_primary__vbo-G.IconButton-module_active__VIqU9 {\n background-color: var(--primary-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_secondary__AiNAY {\n background-color: var(--secondary);\n color: var(--white); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_secondary__AiNAY:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_secondary__AiNAY.IconButton-module_active__VIqU9 {\n background-color: var(--secondary-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_accent__QRzM2 {\n background-color: var(--accent);\n color: var(--white); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_accent__QRzM2:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_accent__QRzM2.IconButton-module_active__VIqU9 {\n background-color: var(--accent-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_light__YNEiO {\n background-color: var(--light);\n color: var(--dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_light__YNEiO:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_light__YNEiO.IconButton-module_active__VIqU9 {\n background-color: var(--light-dark); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_dark__gnbUH {\n background-color: var(--dark);\n color: var(--white); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_dark__gnbUH:hover, .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_dark__gnbUH.IconButton-module_active__VIqU9 {\n background-color: var(--dark-light); }\n .IconButton-module_iconButton__rpCPQ.IconButton-module_contained__k7vGA.IconButton-module_disabled__QB0ZV {\n color: rgba(0, 0, 0, 0.26);\n background-color: transparent;\n cursor: default;\n pointer-events: none; }\n";
|
|
163
|
+
var styles$R = {"iconButton":"IconButton-module_iconButton__rpCPQ","shadow":"IconButton-module_shadow__Uw0RK","md":"IconButton-module_md__XnuSk","lg":"IconButton-module_lg__arEvo","text":"IconButton-module_text__Ualag","active":"IconButton-module_active__VIqU9","primary":"IconButton-module_primary__vbo-G","secondary":"IconButton-module_secondary__AiNAY","accent":"IconButton-module_accent__QRzM2","light":"IconButton-module_light__YNEiO","dark":"IconButton-module_dark__gnbUH","disabled":"IconButton-module_disabled__QB0ZV","contained":"IconButton-module_contained__k7vGA"};
|
|
164
|
+
styleInject(css_248z$R);
|
|
165
|
+
|
|
166
|
+
const IconButton = (props) => {
|
|
167
|
+
const { children, icon, variant = VARIANT.text, color = COLOR.dark, size = SIZE.md, isActive, disabled, className, shadow } = props, rest = __rest(props, ["children", "icon", "variant", "color", "size", "isActive", "disabled", "className", "shadow"]);
|
|
168
|
+
const getCssClasses = () => {
|
|
169
|
+
const cssClasses = [];
|
|
170
|
+
cssClasses.push(styles$R[color]);
|
|
171
|
+
cssClasses.push(styles$R[variant]);
|
|
172
|
+
cssClasses.push(styles$R[size]);
|
|
173
|
+
cssClasses.push(styles$R.iconButton);
|
|
174
|
+
isActive && cssClasses.push(styles$R.active);
|
|
175
|
+
disabled && cssClasses.push(styles$R.disabled);
|
|
176
|
+
shadow && cssClasses.push(styles$R.shadow);
|
|
177
|
+
className && cssClasses.push(className);
|
|
178
|
+
return cssClasses.filter(css => css).join(' ');
|
|
179
|
+
};
|
|
180
|
+
return (React.createElement("button", Object.assign({ type: "button", className: getCssClasses(), disabled: disabled }, rest),
|
|
181
|
+
icon && React.createElement(Icon, null, icon),
|
|
182
|
+
children));
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
const CaretDownSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "caret-down", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512" },
|
|
186
|
+
React.createElement("path", { fill: "currentColor", d: "M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z" })));
|
|
187
|
+
|
|
188
|
+
const CheckSquareRegularIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "far", "data-icon": "check-square", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
189
|
+
React.createElement("path", { fill: "currentColor", d: "M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z" })));
|
|
190
|
+
|
|
191
|
+
const ChevronDownSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "chevron-down", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
192
|
+
React.createElement("path", { fill: "currentColor", d: "M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z" })));
|
|
193
|
+
|
|
194
|
+
const ChevronRightSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "chevron-right", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512" },
|
|
195
|
+
React.createElement("path", { fill: "currentColor", d: "M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z" })));
|
|
196
|
+
|
|
197
|
+
const ChevronUpSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "chevron-up", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
198
|
+
React.createElement("path", { fill: "currentColor", d: "M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z" })));
|
|
199
|
+
|
|
200
|
+
const HomeSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "home", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 576 512" },
|
|
201
|
+
React.createElement("path", { fill: "currentColor", d: "M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z" })));
|
|
202
|
+
|
|
203
|
+
const SquareRegularIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "far", "data-icon": "square", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
204
|
+
React.createElement("path", { fill: "currentColor", d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z" })));
|
|
205
|
+
|
|
206
|
+
const TimesCircleSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
207
|
+
React.createElement("path", { fill: "currentColor", d: "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" })));
|
|
208
|
+
|
|
209
|
+
const TimesSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 352 512" },
|
|
210
|
+
React.createElement("path", { fill: "currentColor", d: "M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z" })));
|
|
211
|
+
|
|
212
|
+
const SpinnerSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "spinner", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
213
|
+
React.createElement("path", { fill: "currentColor", d: "M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z" })));
|
|
214
|
+
|
|
215
|
+
const PlusSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
216
|
+
React.createElement("path", { fill: "currentColor", d: "M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" })));
|
|
217
|
+
|
|
218
|
+
const CheckSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
219
|
+
React.createElement("path", { fill: "currentColor", d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })));
|
|
220
|
+
|
|
221
|
+
const CircleSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
222
|
+
React.createElement("path", { fill: "currentColor", d: "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z" })));
|
|
223
|
+
|
|
224
|
+
const ChevronLeftSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512" },
|
|
225
|
+
React.createElement("path", { fill: "currentColor", d: "M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z" })));
|
|
226
|
+
|
|
227
|
+
function useWindowSize() {
|
|
228
|
+
const [windowSize, setWindowSize] = useState({
|
|
229
|
+
width: 0,
|
|
230
|
+
height: 0,
|
|
231
|
+
});
|
|
232
|
+
useEffect(() => {
|
|
233
|
+
function handleResize() {
|
|
234
|
+
setWindowSize({
|
|
235
|
+
width: window.innerWidth,
|
|
236
|
+
height: window.innerHeight,
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
window.addEventListener("resize", handleResize);
|
|
240
|
+
handleResize();
|
|
241
|
+
return () => window.removeEventListener("resize", handleResize);
|
|
242
|
+
}, []);
|
|
243
|
+
return windowSize;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
function useHover() {
|
|
247
|
+
const [value, setValue] = useState(false);
|
|
248
|
+
const ref = useRef(null);
|
|
249
|
+
const handleMouseOver = () => setValue(true);
|
|
250
|
+
const handleMouseOut = () => setValue(false);
|
|
251
|
+
useEffect(() => {
|
|
252
|
+
const node = ref.current;
|
|
253
|
+
if (node) {
|
|
254
|
+
node.addEventListener("mouseover", handleMouseOver);
|
|
255
|
+
node.addEventListener("mouseout", handleMouseOut);
|
|
256
|
+
return () => {
|
|
257
|
+
node.removeEventListener("mouseover", handleMouseOver);
|
|
258
|
+
node.removeEventListener("mouseout", handleMouseOut);
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
return;
|
|
262
|
+
}, [ref.current] // Recall only if ref changes
|
|
263
|
+
);
|
|
264
|
+
return [ref, value];
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
const useConstructor = (callBack = () => { }) => {
|
|
268
|
+
const [hasBeenCalled, setHasBeenCalled] = useState(false);
|
|
269
|
+
if (hasBeenCalled)
|
|
270
|
+
return;
|
|
271
|
+
callBack();
|
|
272
|
+
setHasBeenCalled(true);
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
function useDebounce(callback, timeout, deps) {
|
|
276
|
+
const timeoutId = useRef();
|
|
277
|
+
useEffect(() => {
|
|
278
|
+
clearTimeout(timeoutId.current);
|
|
279
|
+
timeoutId.current = setTimeout(callback, timeout);
|
|
280
|
+
return () => clearTimeout(timeoutId.current);
|
|
281
|
+
}, deps);
|
|
282
|
+
}
|
|
283
|
+
|
|
146
284
|
const Backdrop = (props) => {
|
|
147
285
|
const { target = document.body, isTransparent = false, onClick, style } = props, rest = __rest(props, ["target", "isTransparent", "onClick", "style"]);
|
|
148
286
|
const handleClick = (e) => {
|
|
@@ -164,78 +302,82 @@ const Backdrop = (props) => {
|
|
|
164
302
|
return (createPortal(React.createElement("div", Object.assign({ className: getCssClasses(), onClick: handleClick, style: getStyles() }, rest)), target));
|
|
165
303
|
};
|
|
166
304
|
|
|
167
|
-
var css_248z$
|
|
168
|
-
var styles$
|
|
169
|
-
styleInject(css_248z$
|
|
305
|
+
var css_248z$Q = ".List-module_list__gpZ41 {\n width: 100%;\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n margin-top: 0;\n background-color: var(--white); }\n";
|
|
306
|
+
var styles$Q = {"list":"List-module_list__gpZ41"};
|
|
307
|
+
styleInject(css_248z$Q);
|
|
170
308
|
|
|
171
309
|
const List = (props) => {
|
|
172
|
-
const { children, className, isFlush } = props;
|
|
310
|
+
const { children, className, isFlush } = props, rest = __rest(props, ["children", "className", "isFlush"]);
|
|
173
311
|
const getCssClasses = () => {
|
|
174
312
|
const cssClasses = [];
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
cssClasses.push(styles$S.list);
|
|
313
|
+
isFlush && cssClasses.push(styles$Q.flush);
|
|
314
|
+
cssClasses.push(styles$Q.list);
|
|
179
315
|
className && cssClasses.push(className);
|
|
180
316
|
return cssClasses.filter(css => css).join(' ');
|
|
181
317
|
};
|
|
182
|
-
return (React.createElement("ul", { className: getCssClasses() }, children));
|
|
318
|
+
return (React.createElement("ul", Object.assign({ className: getCssClasses() }, rest), children));
|
|
183
319
|
};
|
|
184
320
|
|
|
185
|
-
var css_248z$
|
|
186
|
-
var styles$
|
|
187
|
-
styleInject(css_248z$
|
|
321
|
+
var css_248z$P = ".ListItem-module_listItem__Pk1AP {\n display: flex;\n align-items: center;\n position: relative;\n padding: 0.75rem 1.25rem;\n min-width: 100%;\n color: var(--bodyColor);\n text-align: inherit;\n transition: background 0.5s ease; }\n .ListItem-module_listItem__Pk1AP:hover, .ListItem-module_listItem__Pk1AP.ListItem-module_active__zm2q8 {\n cursor: pointer;\n z-index: 1;\n text-decoration: none;\n background-color: rgba(0, 0, 0, 0.04);\n color: var(--primary); }\n .ListItem-module_listItem__Pk1AP + .ListItem-module_listItem__Pk1AP {\n border-top-width: 0; }\n .ListItem-module_listItem__Pk1AP.ListItem-module_primary__F6Qja {\n color: var(--primary-contrast-text);\n background-color: var(--primary); }\n .ListItem-module_listItem__Pk1AP.ListItem-module_accent__pg3Ha {\n color: var(--accent-contrast-text);\n background-color: var(--accent); }\n .ListItem-module_listItem__Pk1AP.ListItem-module_secondary__d0drD {\n color: var(--secondary-contrast-text);\n background-color: var(--secondary); }\n .ListItem-module_listItem__Pk1AP.ListItem-module_light__37kby {\n color: var(--light-contrast-text);\n background-color: var(--light); }\n .ListItem-module_listItem__Pk1AP.ListItem-module_dark__ZxQTF {\n color: var(--dark-contrast-text);\n background-color: var(--dark); }\n .ListItem-module_listItem__Pk1AP.ListItem-module_disabled__DQLKl {\n color: rgba(0, 0, 0, 0.26); }\n .ListItem-module_listItem__Pk1AP.ListItem-module_disabled__DQLKl:hover {\n cursor: not-allowed;\n background-color: inherit; }\n";
|
|
322
|
+
var styles$P = {"listItem":"ListItem-module_listItem__Pk1AP","active":"ListItem-module_active__zm2q8","primary":"ListItem-module_primary__F6Qja","accent":"ListItem-module_accent__pg3Ha","secondary":"ListItem-module_secondary__d0drD","light":"ListItem-module_light__37kby","dark":"ListItem-module_dark__ZxQTF","disabled":"ListItem-module_disabled__DQLKl"};
|
|
323
|
+
styleInject(css_248z$P);
|
|
188
324
|
|
|
189
325
|
const ListItem = (props) => {
|
|
190
|
-
const {
|
|
326
|
+
const { children, color, active, className, disabled, onClick } = props, rest = __rest(props, ["children", "color", "active", "className", "disabled", "onClick"]);
|
|
191
327
|
const getCssClasses = () => {
|
|
192
328
|
const cssClasses = [];
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
cssClasses.push(styles$R['disabled']);
|
|
198
|
-
}
|
|
199
|
-
color && cssClasses.push(styles$R[color]);
|
|
200
|
-
cssClasses.push(styles$R.listItem);
|
|
329
|
+
cssClasses.push(styles$P.listItem);
|
|
330
|
+
color && cssClasses.push(styles$P[color]);
|
|
331
|
+
active && cssClasses.push(styles$P['active']);
|
|
332
|
+
disabled && cssClasses.push(styles$P['disabled']);
|
|
201
333
|
className && cssClasses.push(className);
|
|
202
334
|
return cssClasses.filter(css => css).join(' ');
|
|
203
335
|
};
|
|
204
336
|
const handleClick = (e) => {
|
|
205
337
|
!disabled && onClick && onClick(e);
|
|
206
338
|
};
|
|
207
|
-
return (React.createElement("li", {
|
|
339
|
+
return (React.createElement("li", Object.assign({ onClick: handleClick, className: getCssClasses() }, rest), children));
|
|
208
340
|
};
|
|
209
341
|
|
|
210
|
-
var css_248z$
|
|
211
|
-
var styles$
|
|
212
|
-
styleInject(css_248z$
|
|
342
|
+
var css_248z$O = ".ListItemAvatar-module_avatar__sVWfR {\n margin-right: 16px; }\n .ListItemAvatar-module_avatar__sVWfR svg, .ListItemAvatar-module_avatar__sVWfR img {\n width: 24px;\n height: 24px; }\n .ListItemAvatar-module_avatar__sVWfR img {\n border-radius: 50%; }\n";
|
|
343
|
+
var styles$O = {"avatar":"ListItemAvatar-module_avatar__sVWfR"};
|
|
344
|
+
styleInject(css_248z$O);
|
|
213
345
|
|
|
214
|
-
const ListItemAvatar = (
|
|
346
|
+
const ListItemAvatar = (_a) => {
|
|
347
|
+
var { avatar } = _a, rest = __rest(_a, ["avatar"]);
|
|
348
|
+
return (React.createElement("div", Object.assign({ className: styles$O.avatar }, rest), avatar));
|
|
349
|
+
};
|
|
215
350
|
|
|
216
|
-
var css_248z$
|
|
217
|
-
var styles$
|
|
218
|
-
styleInject(css_248z$
|
|
351
|
+
var css_248z$N = ".ListItemIcon-module_icon__cCvEv {\n margin-right: 32px; }\n .ListItemIcon-module_icon__cCvEv svg {\n width: 24px;\n height: 24px; }\n";
|
|
352
|
+
var styles$N = {"icon":"ListItemIcon-module_icon__cCvEv"};
|
|
353
|
+
styleInject(css_248z$N);
|
|
219
354
|
|
|
220
|
-
const ListItemIcon = (
|
|
355
|
+
const ListItemIcon = (_a) => {
|
|
356
|
+
var { icon } = _a, rest = __rest(_a, ["icon"]);
|
|
357
|
+
return (React.createElement("div", Object.assign({ className: styles$N.icon }, rest), icon));
|
|
358
|
+
};
|
|
221
359
|
|
|
222
|
-
var css_248z$
|
|
223
|
-
var styles$
|
|
224
|
-
styleInject(css_248z$
|
|
360
|
+
var css_248z$M = ".ListItemAction-module_listItemAction__gAQRj {\n display: flex;\n justify-content: center;\n min-width: 40px; }\n .ListItemAction-module_listItemAction__gAQRj svg {\n width: 20px;\n height: 20px; }\n";
|
|
361
|
+
var styles$M = {"listItemAction":"ListItemAction-module_listItemAction__gAQRj"};
|
|
362
|
+
styleInject(css_248z$M);
|
|
225
363
|
|
|
226
|
-
const ListItemAction = (
|
|
364
|
+
const ListItemAction = (_a) => {
|
|
365
|
+
var { children, onClick } = _a, rest = __rest(_a, ["children", "onClick"]);
|
|
366
|
+
return (React.createElement("div", Object.assign({ className: styles$M.listItemAction, onClick: e => onClick && onClick(e) }, rest), children));
|
|
367
|
+
};
|
|
227
368
|
|
|
228
|
-
var css_248z$
|
|
229
|
-
var styles$
|
|
230
|
-
styleInject(css_248z$
|
|
369
|
+
var css_248z$L = ".ListItemTextIcon-module_listItemText__xCBLW {\n flex: 1; }\n";
|
|
370
|
+
var styles$L = {"listItemText":"ListItemTextIcon-module_listItemText__xCBLW"};
|
|
371
|
+
styleInject(css_248z$L);
|
|
231
372
|
|
|
232
|
-
const ListItemText = (
|
|
373
|
+
const ListItemText = (_a) => {
|
|
374
|
+
var { primary, secondary } = _a, rest = __rest(_a, ["primary", "secondary"]);
|
|
233
375
|
const getCssClasses = () => {
|
|
234
376
|
const cssClasses = [];
|
|
235
|
-
cssClasses.push(styles$
|
|
377
|
+
cssClasses.push(styles$L.listItemText);
|
|
236
378
|
return cssClasses.filter(css => css).join(' ');
|
|
237
379
|
};
|
|
238
|
-
return (React.createElement("div", { className: getCssClasses() },
|
|
380
|
+
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest),
|
|
239
381
|
React.createElement(ListItemTextPrimary, null, primary),
|
|
240
382
|
secondary &&
|
|
241
383
|
React.createElement(ListItemTextSecondary, null, secondary)));
|
|
@@ -243,9 +385,9 @@ const ListItemText = ({ primary, secondary }) => {
|
|
|
243
385
|
const ListItemTextPrimary = ({ children }) => (React.createElement("div", { className: "list-item-text-primary" }, children));
|
|
244
386
|
const ListItemTextSecondary = ({ children }) => (React.createElement("div", { className: "list-item-text-secondary text-muted", style: { fontSize: '0.875rem' } }, children));
|
|
245
387
|
|
|
246
|
-
var css_248z$
|
|
247
|
-
var styles$
|
|
248
|
-
styleInject(css_248z$
|
|
388
|
+
var css_248z$K = ".AutoComplete-module_selectContainer__1kA85 {\n position: relative; }\n\n.AutoComplete-module_select__NNYOi {\n min-height: calc(1.5em + 0.75rem + 2px);\n height: auto;\n display: flex; }\n .AutoComplete-module_select__NNYOi:hover {\n cursor: pointer; }\n\n.AutoComplete-module_selectMenu__Gu81L {\n background-color: var(--light);\n position: absolute;\n box-shadow: var(--shadow);\n border-radius: var(--borderRadius);\n width: 100%;\n top: 38px;\n z-index: 1050;\n max-height: 280px;\n overflow: auto; }\n";
|
|
389
|
+
var styles$K = {"selectContainer":"AutoComplete-module_selectContainer__1kA85","select":"AutoComplete-module_select__NNYOi","selectMenu":"AutoComplete-module_selectMenu__Gu81L"};
|
|
390
|
+
styleInject(css_248z$K);
|
|
249
391
|
|
|
250
392
|
// preset value
|
|
251
393
|
// enter -> delay? -> show results
|
|
@@ -301,7 +443,7 @@ const AutoComplete = (props) => {
|
|
|
301
443
|
const getCssClass = () => {
|
|
302
444
|
const cssClasses = [];
|
|
303
445
|
className && cssClasses.push(className);
|
|
304
|
-
cssClasses.push(styles$
|
|
446
|
+
cssClasses.push(styles$K.select);
|
|
305
447
|
return cssClasses.filter(r => r).join(' ');
|
|
306
448
|
};
|
|
307
449
|
const show = () => setIsShow(true);
|
|
@@ -325,35 +467,35 @@ const AutoComplete = (props) => {
|
|
|
325
467
|
setModel('');
|
|
326
468
|
setSearchText('');
|
|
327
469
|
};
|
|
328
|
-
return (React.createElement("div", { ref: selectConainter, className: styles$
|
|
470
|
+
return (React.createElement("div", { ref: selectConainter, className: styles$K.selectContainer },
|
|
329
471
|
React.createElement("div", { className: "d-flex" },
|
|
330
472
|
React.createElement("input", { type: "text", className: getCssClass(), id: id, name: name, tabIndex: 0, readOnly: readOnly, disabled: disabled, onChange: handleOnChange, onFocus: handleOnFocus, placeholder: placeholder, value: model }),
|
|
331
473
|
showClearButton && (model === null || model === void 0 ? void 0 : model.length) > 0 &&
|
|
332
474
|
React.createElement(IconButton, { icon: React.createElement(TimesSolidIcon, null), onClick: handleClickReset })),
|
|
333
475
|
isShow &&
|
|
334
476
|
React.createElement(React.Fragment, null,
|
|
335
|
-
React.createElement("div", { className: styles$
|
|
477
|
+
React.createElement("div", { className: styles$K.selectMenu },
|
|
336
478
|
React.createElement(List, null, optionsTemp && optionsTemp.map((option, index) => React.createElement(ListItem, { id: `list-item-${index}`, key: option.value, onClick: () => handleOnClick(option), disabled: !option.value },
|
|
337
479
|
React.createElement(ListItemText, { primary: option.label ? option.label : option.value }))))),
|
|
338
480
|
React.createElement(Backdrop, { isTransparent: true, onClick: () => hide() }))));
|
|
339
481
|
};
|
|
340
482
|
|
|
341
|
-
var css_248z$
|
|
342
|
-
var styles$
|
|
343
|
-
styleInject(css_248z$
|
|
483
|
+
var css_248z$J = ".Badge-module_badgeContainer__3nZBs {\n display: inline-flex;\n position: relative;\n flex-shrink: 0;\n vertical-align: middle; }\n\n.Badge-module_badge__9ImR0 {\n top: 0;\n right: 0;\n transform: scale(1) translate(50%, -50%);\n transform-origin: 100% 0%;\n height: 20px;\n display: flex;\n padding: 0 6px;\n z-index: 1;\n position: absolute;\n flex-wrap: wrap;\n font-size: 0.75rem;\n min-width: 20px;\n align-items: center;\n font-weight: 500;\n line-height: 1;\n align-content: center;\n flex-direction: row;\n justify-content: center;\n border-radius: 10px;\n transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n .Badge-module_badge__9ImR0.Badge-module_primary__41U-t {\n color: var(--primary-contrast-text);\n background-color: var(--primary); }\n .Badge-module_badge__9ImR0.Badge-module_accent__OQy2- {\n color: var(--accent-contrast-text);\n background-color: var(--accent); }\n .Badge-module_badge__9ImR0.Badge-module_secondary__a9Jfh {\n color: var(--secondary-contrast-text);\n background-color: var(--secondary); }\n .Badge-module_badge__9ImR0.Badge-module_light__4QvQ5 {\n color: var(--light-contrast-text);\n background-color: var(--light); }\n .Badge-module_badge__9ImR0.Badge-module_dark__g1yUJ {\n color: var(--dark-contrast-text);\n background-color: var(--dark); }\n";
|
|
484
|
+
var styles$J = {"badgeContainer":"Badge-module_badgeContainer__3nZBs","badge":"Badge-module_badge__9ImR0","primary":"Badge-module_primary__41U-t","accent":"Badge-module_accent__OQy2-","secondary":"Badge-module_secondary__a9Jfh","light":"Badge-module_light__4QvQ5","dark":"Badge-module_dark__g1yUJ"};
|
|
485
|
+
styleInject(css_248z$J);
|
|
344
486
|
|
|
345
487
|
const Badge = (props) => {
|
|
346
488
|
const { children, content, className, color = COLOR.primary } = props, rest = __rest(props, ["children", "content", "className", "color"]);
|
|
347
489
|
const getCssClassesBadgeContainer = () => {
|
|
348
490
|
const cssClasses = [];
|
|
349
|
-
cssClasses.push(styles$
|
|
491
|
+
cssClasses.push(styles$J.badgeContainer);
|
|
350
492
|
className && cssClasses.push(className);
|
|
351
493
|
return cssClasses.filter(css => css).join(' ');
|
|
352
494
|
};
|
|
353
495
|
const getCssClassesBadge = () => {
|
|
354
496
|
const cssClasses = [];
|
|
355
|
-
cssClasses.push(styles$
|
|
356
|
-
cssClasses.push(styles$
|
|
497
|
+
cssClasses.push(styles$J.badge);
|
|
498
|
+
cssClasses.push(styles$J[color]);
|
|
357
499
|
return cssClasses.filter(css => css).join(' ');
|
|
358
500
|
};
|
|
359
501
|
return (React.createElement("div", Object.assign({ className: getCssClassesBadgeContainer() }, rest),
|
|
@@ -361,26 +503,26 @@ const Badge = (props) => {
|
|
|
361
503
|
React.createElement("span", { className: getCssClassesBadge() }, content)));
|
|
362
504
|
};
|
|
363
505
|
|
|
364
|
-
var css_248z$
|
|
365
|
-
var styles$
|
|
366
|
-
styleInject(css_248z$
|
|
506
|
+
var css_248z$I = ".Button-module_button__qeIer {\n text-transform: uppercase !important;\n flex-shrink: 0;\n background-color: transparent;\n display: inline-block;\n font-weight: 400;\n line-height: 1.5;\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n user-select: none;\n border: 1px solid transparent;\n padding: 0.375rem 0.75rem;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n min-width: 64px;\n font-size: 0.875rem;\n border-radius: var(--borderRadius);\n box-shadow: var(--shadow); }\n\n.Button-module_btnContained__16y5l.Button-module_primary__EUyOu {\n color: var(--primary-contrast-text);\n background-color: var(--primary); }\n .Button-module_btnContained__16y5l.Button-module_primary__EUyOu:hover {\n background-color: var(--primary-dark); }\n\n.Button-module_btnContained__16y5l.Button-module_accent__opVgQ {\n color: var(--accent-contrast-text);\n background-color: var(--accent); }\n .Button-module_btnContained__16y5l.Button-module_accent__opVgQ:hover {\n background-color: var(--accent-dark); }\n\n.Button-module_btnContained__16y5l.Button-module_secondary__zKoGk {\n color: var(--secondary-contrast-text);\n background-color: var(--secondary); }\n .Button-module_btnContained__16y5l.Button-module_secondary__zKoGk:hover {\n background-color: var(--secondary-dark); }\n\n.Button-module_btnContained__16y5l.Button-module_light__LXeZy {\n color: var(--light-contrast-text);\n background-color: var(--light); }\n .Button-module_btnContained__16y5l.Button-module_light__LXeZy:hover {\n background-color: var(--light-dark); }\n\n.Button-module_btnContained__16y5l.Button-module_dark__5oFOT {\n color: var(--dark-contrast-text);\n background-color: var(--dark); }\n .Button-module_btnContained__16y5l.Button-module_dark__5oFOT:hover {\n background-color: var(--dark-dark); }\n\n.Button-module_btnContained__16y5l:disabled:hover {\n cursor: not-allowed; }\n\n.Button-module_btnText__N5Gys {\n box-shadow: none;\n text-decoration: none; }\n .Button-module_btnText__N5Gys.Button-module_primary__EUyOu {\n color: var(--primary) !important; }\n .Button-module_btnText__N5Gys.Button-module_primary__EUyOu:hover {\n text-decoration: none;\n background: var(--primary-highlight) !important; }\n .Button-module_btnText__N5Gys.Button-module_secondary__zKoGk {\n color: var(--secondary) !important; }\n .Button-module_btnText__N5Gys.Button-module_secondary__zKoGk:hover {\n text-decoration: none;\n background: var(--secondary-highlight) !important; }\n .Button-module_btnText__N5Gys.Button-module_accent__opVgQ {\n color: var(--accent) !important; }\n .Button-module_btnText__N5Gys.Button-module_accent__opVgQ:hover {\n text-decoration: none;\n background: var(--accent-highlight) !important; }\n .Button-module_btnText__N5Gys.Button-module_light__LXeZy {\n color: var(--light-contrast-text) !important; }\n .Button-module_btnText__N5Gys.Button-module_light__LXeZy:hover {\n text-decoration: none;\n background: var(--light-highlight) !important; }\n .Button-module_btnText__N5Gys.Button-module_dark__5oFOT {\n color: var(--dark) !important; }\n .Button-module_btnText__N5Gys.Button-module_dark__5oFOT:hover {\n text-decoration: none;\n background: var(--dark-highlight) !important; }\n\n.Button-module_btnOutline__CCFPI {\n box-shadow: none;\n text-decoration: none; }\n .Button-module_btnOutline__CCFPI.Button-module_primary__EUyOu {\n color: var(--primary) !important;\n border-color: var(--primary) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_primary__EUyOu:hover {\n background: var(--primary-highlight) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_secondary__zKoGk {\n color: var(--secondary) !important;\n border-color: var(--secondary) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_secondary__zKoGk:hover {\n background: var(--secondary-highlight) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_accent__opVgQ {\n color: var(--accent) !important;\n border-color: var(--accent) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_accent__opVgQ:hover {\n background: var(--accent-highlight) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_light__LXeZy {\n color: var(--light-contrast-text) !important;\n border-color: var(--light) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_light__LXeZy:hover {\n background: var(--light-highlight) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_dark__5oFOT {\n color: var(--dark) !important;\n border-color: var(--dark) !important; }\n .Button-module_btnOutline__CCFPI.Button-module_dark__5oFOT:hover {\n background: var(--dark-highlight) !important; }\n\n.Button-module_startIcon__Eylwr {\n display: inherit;\n margin-left: -4px;\n margin-right: 8px; }\n .Button-module_startIcon__Eylwr svg {\n width: 18px;\n height: 18px; }\n\n.Button-module_endIcon__pCffL {\n display: inherit;\n margin-left: 8px; }\n .Button-module_endIcon__pCffL svg {\n width: 18px;\n height: 18px; }\n";
|
|
507
|
+
var styles$I = {"button":"Button-module_button__qeIer","btnContained":"Button-module_btnContained__16y5l","primary":"Button-module_primary__EUyOu","accent":"Button-module_accent__opVgQ","secondary":"Button-module_secondary__zKoGk","light":"Button-module_light__LXeZy","dark":"Button-module_dark__5oFOT","btnText":"Button-module_btnText__N5Gys","btnOutline":"Button-module_btnOutline__CCFPI","startIcon":"Button-module_startIcon__Eylwr","endIcon":"Button-module_endIcon__pCffL"};
|
|
508
|
+
styleInject(css_248z$I);
|
|
367
509
|
|
|
368
510
|
const Button = (props) => {
|
|
369
511
|
const { children, variant = VARIANT.contained, color = COLOR.primary, isRounded, isActive, className, startIcon, endIcon } = props, rest = __rest(props, ["children", "variant", "color", "isRounded", "isActive", "className", "startIcon", "endIcon"]);
|
|
370
512
|
const getCssClasses = () => {
|
|
371
513
|
const cssClasses = [];
|
|
372
|
-
cssClasses.push(styles$
|
|
514
|
+
cssClasses.push(styles$I.button);
|
|
373
515
|
if (variant !== 'outline' && variant !== 'text') {
|
|
374
|
-
cssClasses.push(styles$
|
|
375
|
-
cssClasses.push(styles$
|
|
516
|
+
cssClasses.push(styles$I.btnContained);
|
|
517
|
+
cssClasses.push(styles$I[color]);
|
|
376
518
|
}
|
|
377
519
|
if (variant === 'outline') {
|
|
378
|
-
cssClasses.push(styles$
|
|
379
|
-
cssClasses.push(styles$
|
|
520
|
+
cssClasses.push(styles$I.btnOutline);
|
|
521
|
+
cssClasses.push(styles$I[color]);
|
|
380
522
|
}
|
|
381
523
|
if (variant === 'text') {
|
|
382
|
-
cssClasses.push(styles$
|
|
383
|
-
cssClasses.push(styles$
|
|
524
|
+
cssClasses.push(styles$I.btnText);
|
|
525
|
+
cssClasses.push(styles$I[color]);
|
|
384
526
|
}
|
|
385
527
|
if (isRounded && variant !== 'text') {
|
|
386
528
|
cssClasses.push(`rounded-pill`);
|
|
@@ -394,36 +536,36 @@ const Button = (props) => {
|
|
|
394
536
|
return (React.createElement("button", Object.assign({ type: "button", className: getCssClasses() }, rest),
|
|
395
537
|
React.createElement("span", { className: "d-flex justify-content-center" },
|
|
396
538
|
startIcon &&
|
|
397
|
-
React.createElement(Icon, { className: styles$
|
|
539
|
+
React.createElement(Icon, { className: styles$I.startIcon }, startIcon),
|
|
398
540
|
children,
|
|
399
541
|
endIcon &&
|
|
400
|
-
React.createElement(Icon, { className: styles$
|
|
542
|
+
React.createElement(Icon, { className: styles$I.endIcon }, endIcon))));
|
|
401
543
|
};
|
|
402
544
|
|
|
403
|
-
var css_248z$
|
|
404
|
-
var styles$
|
|
405
|
-
styleInject(css_248z$
|
|
545
|
+
var css_248z$H = ".ButtonGroup-module_buttonGroup__w6iB- button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n\n.ButtonGroup-module_buttonGroup__w6iB- button:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0; }\n";
|
|
546
|
+
var styles$H = {"buttonGroup":"ButtonGroup-module_buttonGroup__w6iB-"};
|
|
547
|
+
styleInject(css_248z$H);
|
|
406
548
|
|
|
407
549
|
const ButtonGroup = (props) => {
|
|
408
550
|
const { children, className } = props, rest = __rest(props, ["children", "className"]);
|
|
409
551
|
const getCssClasses = () => {
|
|
410
552
|
const cssClasses = [];
|
|
411
|
-
cssClasses.push(styles$
|
|
553
|
+
cssClasses.push(styles$H.buttonGroup);
|
|
412
554
|
className && cssClasses.push(className);
|
|
413
555
|
return cssClasses.filter(css => css).join(' ');
|
|
414
556
|
};
|
|
415
557
|
return (React.createElement("div", Object.assign({ className: getCssClasses(), role: "group" }, rest), children));
|
|
416
558
|
};
|
|
417
559
|
|
|
418
|
-
var css_248z$
|
|
419
|
-
var styles$
|
|
420
|
-
styleInject(css_248z$
|
|
560
|
+
var css_248z$G = ".Breadcrumb-module_breadcrumb__-pvAn {\n display: flex;\n flex-wrap: wrap;\n padding: 0.75rem 1rem;\n margin-bottom: 0;\n list-style: none;\n border-radius: var(--borderRadius); }\n";
|
|
561
|
+
var styles$G = {"breadcrumb":"Breadcrumb-module_breadcrumb__-pvAn"};
|
|
562
|
+
styleInject(css_248z$G);
|
|
421
563
|
|
|
422
564
|
const Breadcrumb = (props) => {
|
|
423
565
|
const { children, className } = props, rest = __rest(props, ["children", "className"]);
|
|
424
566
|
const getCssClasses = () => {
|
|
425
567
|
const cssClasses = [];
|
|
426
|
-
cssClasses.push(styles$
|
|
568
|
+
cssClasses.push(styles$G.breadcrumb);
|
|
427
569
|
className && cssClasses.push(className);
|
|
428
570
|
return cssClasses.filter(css => css).join(' ');
|
|
429
571
|
};
|
|
@@ -433,15 +575,15 @@ const Breadcrumb = (props) => {
|
|
|
433
575
|
|
|
434
576
|
const ConditionalWrapper = ({ condition, wrapper, children }) => condition ? wrapper(children) : children;
|
|
435
577
|
|
|
436
|
-
var css_248z$
|
|
437
|
-
var styles$
|
|
438
|
-
styleInject(css_248z$
|
|
578
|
+
var css_248z$F = ".BreadcrumbItem-module_breadcrumbItem__zsUq- + .BreadcrumbItem-module_breadcrumbItem__zsUq- {\n padding-left: 0.5rem; }\n\n.BreadcrumbItem-module_breadcrumbItem__zsUq- + .BreadcrumbItem-module_breadcrumbItem__zsUq-::before {\n float: left;\n padding-right: 0.5rem;\n color: #6c757d;\n content: \"/\"; }\n\n.BreadcrumbItem-module_breadcrumbItem__zsUq- a:not([href]):not([class]) {\n color: var(--primary); }\n\n.BreadcrumbItem-module_breadcrumbItem__zsUq-:hover {\n cursor: pointer; }\n\n.BreadcrumbItem-module_breadcrumbItem__zsUq-.BreadcrumbItem-module_active__Kn1dA:hover {\n cursor: unset; }\n";
|
|
579
|
+
var styles$F = {"breadcrumbItem":"BreadcrumbItem-module_breadcrumbItem__zsUq-","active":"BreadcrumbItem-module_active__Kn1dA"};
|
|
580
|
+
styleInject(css_248z$F);
|
|
439
581
|
|
|
440
582
|
const BreadcrumbItem = (props) => {
|
|
441
583
|
const { children, className, isActive, onClick } = props;
|
|
442
584
|
const getCssClasses = () => {
|
|
443
585
|
const cssClasses = [];
|
|
444
|
-
cssClasses.push(styles$
|
|
586
|
+
cssClasses.push(styles$F.breadcrumbItem);
|
|
445
587
|
className && cssClasses.push(className);
|
|
446
588
|
isActive && cssClasses.push('active');
|
|
447
589
|
return cssClasses.filter(css => css).join(' ');
|
|
@@ -455,195 +597,114 @@ const BreadcrumbItem = (props) => {
|
|
|
455
597
|
wrapper: label => React.createElement("a", null, label) }, children)));
|
|
456
598
|
};
|
|
457
599
|
|
|
458
|
-
var css_248z$
|
|
459
|
-
var styles$
|
|
460
|
-
styleInject(css_248z$
|
|
600
|
+
var css_248z$E = ".Card-module_card__TQdQq {\n background: var(--white);\n border-radius: var(--borderRadius); }\n .Card-module_card__TQdQq.Card-module_shadow__NxDVz {\n box-shadow: var(--shadow); }\n";
|
|
601
|
+
var styles$E = {"card":"Card-module_card__TQdQq","shadow":"Card-module_shadow__NxDVz"};
|
|
602
|
+
styleInject(css_248z$E);
|
|
461
603
|
|
|
462
604
|
const Card = (props) => {
|
|
463
605
|
const { children, className, shadow = true } = props, rest = __rest(props, ["children", "className", "shadow"]);
|
|
464
606
|
const getCssClasses = () => {
|
|
465
607
|
const cssClasses = [];
|
|
466
|
-
cssClasses.push(styles$
|
|
467
|
-
shadow && cssClasses.push(styles$
|
|
608
|
+
cssClasses.push(styles$E.card);
|
|
609
|
+
shadow && cssClasses.push(styles$E.shadow);
|
|
468
610
|
className && cssClasses.push(className);
|
|
469
611
|
return cssClasses.filter(css => css).join(' ');
|
|
470
612
|
};
|
|
471
613
|
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest), children));
|
|
472
614
|
};
|
|
473
615
|
|
|
474
|
-
var css_248z$
|
|
475
|
-
var styles$
|
|
476
|
-
styleInject(css_248z$
|
|
616
|
+
var css_248z$D = ".CardBody-module_cardBody__X52VY {\n flex: 1 1 auto;\n min-height: 1px;\n padding: 1.25rem; }\n";
|
|
617
|
+
var styles$D = {"cardBody":"CardBody-module_cardBody__X52VY"};
|
|
618
|
+
styleInject(css_248z$D);
|
|
477
619
|
|
|
478
620
|
const CardBody = (props) => {
|
|
479
621
|
const { children, className } = props, rest = __rest(props, ["children", "className"]);
|
|
480
622
|
const getCssClasses = () => {
|
|
481
623
|
const cssClasses = [];
|
|
482
|
-
cssClasses.push(styles$
|
|
624
|
+
cssClasses.push(styles$D.cardBody);
|
|
483
625
|
className && cssClasses.push(className);
|
|
484
626
|
return cssClasses.filter(css => css).join(' ');
|
|
485
627
|
};
|
|
486
628
|
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest), children));
|
|
487
629
|
};
|
|
488
630
|
|
|
489
|
-
var css_248z$
|
|
490
|
-
var styles$
|
|
491
|
-
styleInject(css_248z$
|
|
631
|
+
var css_248z$C = ".CardFooter-module_cardFooter__BpOTG {\n padding: 0.75rem 1.25rem;\n background-color: rgba(0, 0, 0, 0.03);\n border-top: 1px solid rgba(0, 0, 0, 0.125); }\n .CardFooter-module_cardFooter__BpOTG:last-child {\n border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); }\n";
|
|
632
|
+
var styles$C = {"cardFooter":"CardFooter-module_cardFooter__BpOTG"};
|
|
633
|
+
styleInject(css_248z$C);
|
|
492
634
|
|
|
493
635
|
const CardFooter = (props) => {
|
|
494
636
|
const { children, className } = props, rest = __rest(props, ["children", "className"]);
|
|
495
637
|
const getCssClasses = () => {
|
|
496
638
|
const cssClasses = [];
|
|
497
|
-
cssClasses.push(styles$
|
|
639
|
+
cssClasses.push(styles$C.cardFooter);
|
|
498
640
|
className && cssClasses.push(className);
|
|
499
641
|
return cssClasses.filter(css => css).join(' ');
|
|
500
642
|
};
|
|
501
643
|
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest), children));
|
|
502
644
|
};
|
|
503
645
|
|
|
504
|
-
var css_248z$
|
|
505
|
-
var styles$
|
|
506
|
-
styleInject(css_248z$
|
|
646
|
+
var css_248z$B = ".CardSubtitle-module_cardSubtitle__YdoRM {\n color: #6c757d !important; }\n";
|
|
647
|
+
var styles$B = {"cardSubtitle":"CardSubtitle-module_cardSubtitle__YdoRM"};
|
|
648
|
+
styleInject(css_248z$B);
|
|
507
649
|
|
|
508
650
|
const CardSubtitle = (props) => {
|
|
509
651
|
const { children, className } = props, rest = __rest(props, ["children", "className"]);
|
|
510
652
|
const getCssClasses = () => {
|
|
511
653
|
const cssClasses = [];
|
|
512
|
-
cssClasses.push(styles$
|
|
654
|
+
cssClasses.push(styles$B.cardSubtitle);
|
|
513
655
|
className && cssClasses.push(className);
|
|
514
656
|
return cssClasses.filter(css => css).join(' ');
|
|
515
657
|
};
|
|
516
658
|
return (React.createElement("p", Object.assign({ className: getCssClasses() }, rest), children));
|
|
517
659
|
};
|
|
518
660
|
|
|
519
|
-
var css_248z$
|
|
520
|
-
var styles$
|
|
521
|
-
styleInject(css_248z$
|
|
661
|
+
var css_248z$A = ".CardText-module_cardText__UtYd9:last-child {\n margin-bottom: 0; }\n";
|
|
662
|
+
var styles$A = {"cardText":"CardText-module_cardText__UtYd9"};
|
|
663
|
+
styleInject(css_248z$A);
|
|
522
664
|
|
|
523
665
|
const CardText = (props) => {
|
|
524
666
|
const { children, className } = props, rest = __rest(props, ["children", "className"]);
|
|
525
667
|
const getCssClasses = () => {
|
|
526
668
|
const cssClasses = [];
|
|
527
|
-
cssClasses.push(styles$
|
|
669
|
+
cssClasses.push(styles$A.cardText);
|
|
528
670
|
className && cssClasses.push(className);
|
|
529
671
|
return cssClasses.filter(css => css).join(' ');
|
|
530
672
|
};
|
|
531
673
|
return (React.createElement("p", Object.assign({ className: getCssClasses() }, rest), props.children));
|
|
532
674
|
};
|
|
533
675
|
|
|
534
|
-
var css_248z$
|
|
535
|
-
var styles$
|
|
536
|
-
styleInject(css_248z$
|
|
676
|
+
var css_248z$z = ".CardTitle-module_cardTitle__aiPSE {\n margin-bottom: 0;\n font-size: 1.5rem;\n font-weight: 400;\n line-height: 1.334;\n letter-spacing: 0em; }\n";
|
|
677
|
+
var styles$z = {"cardTitle":"CardTitle-module_cardTitle__aiPSE"};
|
|
678
|
+
styleInject(css_248z$z);
|
|
537
679
|
|
|
538
680
|
const CardTitle = (props) => {
|
|
539
681
|
const { children, className, as: As = 'div' } = props, rest = __rest(props, ["children", "className", "as"]);
|
|
540
682
|
const getCssClasses = () => {
|
|
541
683
|
const cssClasses = [];
|
|
542
|
-
cssClasses.push(styles$
|
|
684
|
+
cssClasses.push(styles$z.cardTitle);
|
|
543
685
|
className && cssClasses.push(className);
|
|
544
686
|
return cssClasses.filter(css => css).join(' ');
|
|
545
687
|
};
|
|
546
688
|
return (React.createElement(As, Object.assign({ className: getCssClasses() }, rest), children));
|
|
547
689
|
};
|
|
548
690
|
|
|
549
|
-
var css_248z$
|
|
550
|
-
var styles$
|
|
551
|
-
styleInject(css_248z$
|
|
691
|
+
var css_248z$y = ".CardImage-module_cardImage__Z6JWW {\n flex-shrink: 0;\n width: 100%;\n border-top-left-radius: calc(0.25rem - 1px);\n border-top-right-radius: calc(0.25rem - 1px); }\n";
|
|
692
|
+
var styles$y = {"cardImage":"CardImage-module_cardImage__Z6JWW"};
|
|
693
|
+
styleInject(css_248z$y);
|
|
552
694
|
|
|
553
695
|
const CardImage = (props) => {
|
|
554
696
|
const { src, alt, className } = props, rest = __rest(props, ["src", "alt", "className"]);
|
|
555
697
|
const getCssClasses = () => {
|
|
556
698
|
const cssClasses = [];
|
|
557
|
-
cssClasses.push(styles$
|
|
699
|
+
cssClasses.push(styles$y.cardImage);
|
|
558
700
|
className && cssClasses.push(className);
|
|
559
701
|
return cssClasses.filter(css => css).join(' ');
|
|
560
702
|
};
|
|
561
703
|
return (React.createElement("img", Object.assign({ className: getCssClasses(), src: src, alt: alt }, rest)));
|
|
562
704
|
};
|
|
563
705
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
const CheckSquareRegularIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "far", "data-icon": "check-square", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
568
|
-
React.createElement("path", { fill: "currentColor", d: "M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z" })));
|
|
569
|
-
|
|
570
|
-
const ChevronDownSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "chevron-down", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
571
|
-
React.createElement("path", { fill: "currentColor", d: "M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z" })));
|
|
572
|
-
|
|
573
|
-
const ChevronRightSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "chevron-right", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512" },
|
|
574
|
-
React.createElement("path", { fill: "currentColor", d: "M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z" })));
|
|
575
|
-
|
|
576
|
-
const ChevronUpSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "chevron-up", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
577
|
-
React.createElement("path", { fill: "currentColor", d: "M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z" })));
|
|
578
|
-
|
|
579
|
-
const HomeSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "home", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 576 512" },
|
|
580
|
-
React.createElement("path", { fill: "currentColor", d: "M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z" })));
|
|
581
|
-
|
|
582
|
-
const SquareRegularIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "far", "data-icon": "square", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
583
|
-
React.createElement("path", { fill: "currentColor", d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z" })));
|
|
584
|
-
|
|
585
|
-
const TimesCircleSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
586
|
-
React.createElement("path", { fill: "currentColor", d: "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" })));
|
|
587
|
-
|
|
588
|
-
const TimesSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 352 512" },
|
|
589
|
-
React.createElement("path", { fill: "currentColor", d: "M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z" })));
|
|
590
|
-
|
|
591
|
-
const SpinnerSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "spinner", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
592
|
-
React.createElement("path", { fill: "currentColor", d: "M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z" })));
|
|
593
|
-
|
|
594
|
-
const PlusSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512" },
|
|
595
|
-
React.createElement("path", { fill: "currentColor", d: "M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" })));
|
|
596
|
-
|
|
597
|
-
const CheckSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
598
|
-
React.createElement("path", { fill: "currentColor", d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })));
|
|
599
|
-
|
|
600
|
-
const CircleSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
601
|
-
React.createElement("path", { fill: "currentColor", d: "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z" })));
|
|
602
|
-
|
|
603
|
-
const ChevronLeftSolidIcon = () => (React.createElement("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512" },
|
|
604
|
-
React.createElement("path", { fill: "currentColor", d: "M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z" })));
|
|
605
|
-
|
|
606
|
-
var css_248z$z = ".Icon-module_icon__2etAT {\n align-items: center;\n justify-content: center;\n display: flex;\n width: 20px;\n height: 20px; }\n .Icon-module_icon__2etAT svg {\n width: inherit;\n height: inherit; }\n .Icon-module_icon__2etAT.Icon-module_primary__32Mh4 {\n color: var(--primary); }\n .Icon-module_icon__2etAT.Icon-module_accent__2U_no {\n color: var(--accent); }\n .Icon-module_icon__2etAT.Icon-module_secondary__3cMmx {\n color: var(--secondary); }\n .Icon-module_icon__2etAT.Icon-module_light__2SugS {\n color: var(--light); }\n .Icon-module_icon__2etAT.Icon-module_dark__GWMzb {\n color: var(--dark); }\n";
|
|
607
|
-
var styles$z = {"icon":"Icon-module_icon__2etAT","primary":"Icon-module_primary__32Mh4","accent":"Icon-module_accent__2U_no","secondary":"Icon-module_secondary__3cMmx","light":"Icon-module_light__2SugS","dark":"Icon-module_dark__GWMzb"};
|
|
608
|
-
styleInject(css_248z$z);
|
|
609
|
-
|
|
610
|
-
const Icon = (props) => {
|
|
611
|
-
const { children, iconColor, className } = props, rest = __rest(props, ["children", "iconColor", "className"]);
|
|
612
|
-
const getCssClasses = () => {
|
|
613
|
-
const cssClasses = [];
|
|
614
|
-
cssClasses.push(styles$z.icon);
|
|
615
|
-
iconColor && cssClasses.push(styles$z[iconColor]);
|
|
616
|
-
className && cssClasses.push(className);
|
|
617
|
-
return cssClasses.filter(css => css).join(' ');
|
|
618
|
-
};
|
|
619
|
-
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest), children));
|
|
620
|
-
};
|
|
621
|
-
|
|
622
|
-
var css_248z$y = ".IconButton-module_iconButton__1xqrL {\n border-radius: 100%;\n padding: 0px;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n min-width: auto;\n box-shadow: none;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n user-select: none;\n background-color: transparent;\n font-size: 1rem;\n line-height: 1.5;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n border: none; }\n .IconButton-module_iconButton__1xqrL:hover {\n cursor: pointer; }\n .IconButton-module_iconButton__1xqrL.IconButton-module_shadow__5U4-_ {\n box-shadow: var(--shadow); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_md__1lmDL {\n width: 48px;\n height: 48px; }\n .IconButton-module_iconButton__1xqrL.IconButton-module_lg__1O2Uy {\n width: 56px;\n height: 56px; }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG {\n padding: 0;\n background: transparent;\n color: inherit; }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_active__2tJut {\n background-color: rgba(0, 0, 0, 0.04); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_primary__qRw4T {\n color: var(--primary); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_primary__qRw4T:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_primary__qRw4T.IconButton-module_active__2tJut {\n color: var(--primary-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_secondary__1lzNL {\n color: var(--secondary); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_secondary__1lzNL:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_secondary__1lzNL.IconButton-module_active__2tJut {\n color: var(--secondary-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_accent__exm5t {\n color: var(--accent); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_accent__exm5t:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_accent__exm5t.IconButton-module_active__2tJut {\n color: var(--accent-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_light__2nWhD {\n color: var(--light); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_light__2nWhD:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_light__2nWhD.IconButton-module_active__2tJut {\n color: var(--light-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_dark__1e6bR {\n color: var(--dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_dark__1e6bR:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_dark__1e6bR.IconButton-module_active__2tJut {\n color: var(--dark-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_text__33RrG.IconButton-module_disabled__3TgpF {\n color: rgba(0, 0, 0, 0.26);\n background-color: transparent;\n cursor: default;\n pointer-events: none; }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_active__2tJut {\n background-color: rgba(0, 0, 0, 0.04); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_primary__qRw4T {\n background-color: var(--primary);\n color: var(--white); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_primary__qRw4T:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_primary__qRw4T.IconButton-module_active__2tJut {\n background-color: var(--primary-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_secondary__1lzNL {\n background-color: var(--secondary);\n color: var(--white); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_secondary__1lzNL:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_secondary__1lzNL.IconButton-module_active__2tJut {\n background-color: var(--secondary-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_accent__exm5t {\n background-color: var(--accent);\n color: var(--white); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_accent__exm5t:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_accent__exm5t.IconButton-module_active__2tJut {\n background-color: var(--accent-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_light__2nWhD {\n background-color: var(--light);\n color: var(--dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_light__2nWhD:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_light__2nWhD.IconButton-module_active__2tJut {\n background-color: var(--light-dark); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_dark__1e6bR {\n background-color: var(--dark);\n color: var(--white); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_dark__1e6bR:hover, .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_dark__1e6bR.IconButton-module_active__2tJut {\n background-color: var(--dark-light); }\n .IconButton-module_iconButton__1xqrL.IconButton-module_contained__gWulJ.IconButton-module_disabled__3TgpF {\n color: rgba(0, 0, 0, 0.26);\n background-color: transparent;\n cursor: default;\n pointer-events: none; }\n";
|
|
623
|
-
var styles$y = {"iconButton":"IconButton-module_iconButton__1xqrL","shadow":"IconButton-module_shadow__5U4-_","md":"IconButton-module_md__1lmDL","lg":"IconButton-module_lg__1O2Uy","text":"IconButton-module_text__33RrG","active":"IconButton-module_active__2tJut","primary":"IconButton-module_primary__qRw4T","secondary":"IconButton-module_secondary__1lzNL","accent":"IconButton-module_accent__exm5t","light":"IconButton-module_light__2nWhD","dark":"IconButton-module_dark__1e6bR","disabled":"IconButton-module_disabled__3TgpF","contained":"IconButton-module_contained__gWulJ"};
|
|
624
|
-
styleInject(css_248z$y);
|
|
625
|
-
|
|
626
|
-
const IconButton = (props) => {
|
|
627
|
-
const { children, icon, variant = VARIANT.text, color = COLOR.dark, size = SIZE.md, isActive, disabled, className, shadow } = props, rest = __rest(props, ["children", "icon", "variant", "color", "size", "isActive", "disabled", "className", "shadow"]);
|
|
628
|
-
const getCssClasses = () => {
|
|
629
|
-
const cssClasses = [];
|
|
630
|
-
cssClasses.push(styles$y[color]);
|
|
631
|
-
cssClasses.push(styles$y[variant]);
|
|
632
|
-
cssClasses.push(styles$y[size]);
|
|
633
|
-
cssClasses.push(styles$y.iconButton);
|
|
634
|
-
isActive && cssClasses.push(styles$y.active);
|
|
635
|
-
disabled && cssClasses.push(styles$y.disabled);
|
|
636
|
-
shadow && cssClasses.push(styles$y.shadow);
|
|
637
|
-
className && cssClasses.push(className);
|
|
638
|
-
return cssClasses.filter(css => css).join(' ');
|
|
639
|
-
};
|
|
640
|
-
return (React.createElement("button", Object.assign({ type: "button", className: getCssClasses(), disabled: disabled }, rest),
|
|
641
|
-
icon && React.createElement(Icon, null, icon),
|
|
642
|
-
children));
|
|
643
|
-
};
|
|
644
|
-
|
|
645
|
-
var css_248z$x = ".Checkbox-module_checkboxContainer__2oWhu {\n display: flex;\n align-items: center;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n .Checkbox-module_checkboxContainer__2oWhu label {\n margin-bottom: 0;\n margin-left: 0; }\n .Checkbox-module_checkboxContainer__2oWhu label:hover {\n cursor: pointer; }\n\n.Checkbox-module_checkboxLabel__27Y6U.Checkbox-module_disabled__3EXUd {\n color: rgba(0, 0, 0, 0.26);\n cursor: not-allowed; }\n";
|
|
646
|
-
var styles$x = {"checkboxContainer":"Checkbox-module_checkboxContainer__2oWhu","checkboxLabel":"Checkbox-module_checkboxLabel__27Y6U","disabled":"Checkbox-module_disabled__3EXUd"};
|
|
706
|
+
var css_248z$x = ".Checkbox-module_checkboxContainer__x2GCi {\n display: flex;\n align-items: center;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n .Checkbox-module_checkboxContainer__x2GCi label {\n margin-bottom: 0;\n margin-left: 0; }\n .Checkbox-module_checkboxContainer__x2GCi label:hover {\n cursor: pointer; }\n\n.Checkbox-module_checkboxLabel__nPY4k.Checkbox-module_disabled__wnFIG {\n color: rgba(0, 0, 0, 0.26);\n cursor: not-allowed; }\n";
|
|
707
|
+
var styles$x = {"checkboxContainer":"Checkbox-module_checkboxContainer__x2GCi","checkboxLabel":"Checkbox-module_checkboxLabel__nPY4k","disabled":"Checkbox-module_disabled__wnFIG"};
|
|
647
708
|
styleInject(css_248z$x);
|
|
648
709
|
|
|
649
710
|
const Checkbox = (props) => {
|
|
@@ -687,8 +748,8 @@ const Checkbox = (props) => {
|
|
|
687
748
|
React.createElement("input", Object.assign({ type: "checkbox", ref: checkboxElement, id: id, name: name, checked: isChecked, disabled: disabled, readOnly: readOnly, hidden: true, value: value }, rest))));
|
|
688
749
|
};
|
|
689
750
|
|
|
690
|
-
var css_248z$w = ".Chip-
|
|
691
|
-
var styles$w = {"chip":"Chip-
|
|
751
|
+
var css_248z$w = ".Chip-module_chip__dZ5qz {\n display: inline-flex;\n align-items: center;\n padding: 0.5rem;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n font-size: 75%;\n font-weight: 700;\n border-radius: 10rem;\n line-height: 1; }\n .Chip-module_chip__dZ5qz svg {\n width: 18px;\n height: 18px; }\n .Chip-module_chip__dZ5qz .Chip-module_deleteIcon__--rUx {\n margin-left: 5px; }\n .Chip-module_chip__dZ5qz .Chip-module_deleteIcon__--rUx:hover {\n cursor: pointer; }\n .Chip-module_chip__dZ5qz.Chip-module_primary__YVDi9 {\n background: var(--primary);\n color: var(--primary-contrast-text); }\n .Chip-module_chip__dZ5qz.Chip-module_secondary__-e4xP {\n background: var(--secondary);\n color: var(--secondary-contrast-text); }\n .Chip-module_chip__dZ5qz.Chip-module_accent__ZCTwu {\n background: var(--accent);\n color: var(--accent-contrast-text); }\n .Chip-module_chip__dZ5qz.Chip-module_light__vKs7O {\n color: var(--light-contrast-text);\n background-color: var(--light); }\n .Chip-module_chip__dZ5qz.Chip-module_dark__G-FLQ {\n color: var(--dark-contrast-text);\n background-color: var(--dark); }\n .Chip-module_chip__dZ5qz.Chip-module_clickable__qAqVH:hover {\n cursor: pointer; }\n .Chip-module_chip__dZ5qz.Chip-module_clickable__qAqVH:hover.Chip-module_primary__YVDi9 {\n background: var(--primary-dark); }\n .Chip-module_chip__dZ5qz.Chip-module_clickable__qAqVH:hover.Chip-module_secondary__-e4xP {\n background: var(--secondary-dark); }\n .Chip-module_chip__dZ5qz.Chip-module_clickable__qAqVH:hover.Chip-module_accent__ZCTwu {\n background: var(--accent-dark); }\n .Chip-module_chip__dZ5qz.Chip-module_shadow__v11NF {\n box-shadow: var(--shadow); }\n";
|
|
752
|
+
var styles$w = {"chip":"Chip-module_chip__dZ5qz","deleteIcon":"Chip-module_deleteIcon__--rUx","primary":"Chip-module_primary__YVDi9","secondary":"Chip-module_secondary__-e4xP","accent":"Chip-module_accent__ZCTwu","light":"Chip-module_light__vKs7O","dark":"Chip-module_dark__G-FLQ","clickable":"Chip-module_clickable__qAqVH","shadow":"Chip-module_shadow__v11NF"};
|
|
692
753
|
styleInject(css_248z$w);
|
|
693
754
|
|
|
694
755
|
const Chip = (props) => {
|
|
@@ -711,8 +772,8 @@ const Chip = (props) => {
|
|
|
711
772
|
isDeletable && (React.createElement("div", { className: styles$w.deleteIcon, onClick: e => handleClickOnDelete(e) }, deleteIcon))));
|
|
712
773
|
};
|
|
713
774
|
|
|
714
|
-
var css_248z$v = ".FormLabel-
|
|
715
|
-
var styles$v = {"formLabel":"FormLabel-
|
|
775
|
+
var css_248z$v = ".FormLabel-module_formLabel__TXcHc {\n margin-bottom: .5rem; }\n";
|
|
776
|
+
var styles$v = {"formLabel":"FormLabel-module_formLabel__TXcHc"};
|
|
716
777
|
styleInject(css_248z$v);
|
|
717
778
|
|
|
718
779
|
const FormLabel = (props) => {
|
|
@@ -757,8 +818,8 @@ const FileInput = (props) => {
|
|
|
757
818
|
React.createElement("input", Object.assign({ type: "file", ref: inputFileElement, className: getCssClasses(), id: id, name: name, multiple: multiple, accept: accept, disabled: disabled, readOnly: readOnly, hidden: true, onChange: handleOnChange, value: model }, rest))));
|
|
758
819
|
};
|
|
759
820
|
|
|
760
|
-
var css_248z$u = ".Select-
|
|
761
|
-
var styles$u = {"selectContainer":"Select-
|
|
821
|
+
var css_248z$u = ".Select-module_selectContainer__DHFDZ {\n position: relative; }\n\n.Select-module_select__Fbn38 {\n min-height: calc(1.5em + 0.75rem + 2px);\n height: auto;\n display: flex; }\n .Select-module_select__Fbn38:hover {\n cursor: pointer; }\n\n.Select-module_selectMenu__8y4kQ {\n background-color: var(--light);\n position: absolute;\n box-shadow: var(--shadow);\n border-radius: var(--borderRadius);\n width: 100%;\n top: 2px;\n z-index: 1112;\n max-height: 280px;\n overflow: auto; }\n";
|
|
822
|
+
var styles$u = {"selectContainer":"Select-module_selectContainer__DHFDZ","select":"Select-module_select__Fbn38","selectMenu":"Select-module_selectMenu__8y4kQ"};
|
|
762
823
|
styleInject(css_248z$u);
|
|
763
824
|
|
|
764
825
|
const Select = (props) => {
|
|
@@ -890,21 +951,20 @@ const Select = (props) => {
|
|
|
890
951
|
}
|
|
891
952
|
}
|
|
892
953
|
};
|
|
893
|
-
return (React.createElement(
|
|
894
|
-
React.createElement("div", {
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
React.createElement(
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
React.createElement(
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
React.createElement(Backdrop, { style: { zIndex: 1111 }, isTransparent: true, onClick: () => hide() })), document.body))));
|
|
954
|
+
return (React.createElement("div", { ref: selectConainter, className: styles$u.selectContainer },
|
|
955
|
+
React.createElement("div", { id: id, className: getCssClass(), onClick: () => show(), tabIndex: 0, onKeyDown: e => handleOnKeyDown(e) },
|
|
956
|
+
!multiple && renderSingleViewModel(),
|
|
957
|
+
multiple && renderMultipleViewModel(),
|
|
958
|
+
React.createElement(Icon, { className: "ml-auto" },
|
|
959
|
+
React.createElement(ChevronDownSolidIcon, null))),
|
|
960
|
+
isShow &&
|
|
961
|
+
createPortal(React.createElement(React.Fragment, null,
|
|
962
|
+
React.createElement("div", { className: styles$u.selectMenu, style: { left: (_a = selectConainter.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().x, top: (_b = selectConainter.current) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect().y, width: (_c = selectConainter.current) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect().width } },
|
|
963
|
+
React.createElement(List, null, options && options.map((option, index) => React.createElement(ListItem, { id: `list-item-${index}`, key: option.value, onClick: () => handleOnClick(option), active: isActive(option) },
|
|
964
|
+
multiple &&
|
|
965
|
+
React.createElement(Checkbox, { checked: isActive(option), onChange: () => handleOnClick(option) }),
|
|
966
|
+
React.createElement(ListItemText, { primary: option.label ? option.label : option.value }))))),
|
|
967
|
+
React.createElement(Backdrop, { style: { zIndex: 1111 }, isTransparent: true, onClick: () => hide() })), document.body)));
|
|
908
968
|
};
|
|
909
969
|
|
|
910
970
|
var css_248z$t = "textarea {\n min-height: calc(10em + 0.75rem + 2px);\n display: block;\n width: 100%;\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n background-clip: padding-box;\n border: 2px solid var(--input-border-color);\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-radius: var(--borderRadius);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n resize: vertical; }\n textarea:focus {\n outline: none !important;\n border-color: var(--primary); }\n";
|
|
@@ -922,8 +982,8 @@ const Textarea = (props) => {
|
|
|
922
982
|
return (React.createElement("textarea", Object.assign({ className: getCssClass() }, rest)));
|
|
923
983
|
};
|
|
924
984
|
|
|
925
|
-
var css_248z$s = ".FormInput-
|
|
926
|
-
var styles$s = {"formInput":"FormInput-
|
|
985
|
+
var css_248z$s = ".FormInput-module_formInput__VXZip {\n display: block;\n width: 100%;\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n -webkit-appearance: none;\n appearance: none;\n border-radius: 0.25rem;\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }\n .FormInput-module_formInput__VXZip:focus {\n color: #212529;\n background-color: #fff;\n border-color: #86b7fe;\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); }\n";
|
|
986
|
+
var styles$s = {"formInput":"FormInput-module_formInput__VXZip"};
|
|
927
987
|
styleInject(css_248z$s);
|
|
928
988
|
|
|
929
989
|
const FormInput = (props) => {
|
|
@@ -1296,8 +1356,8 @@ const DateSelect = (props) => {
|
|
|
1296
1356
|
// return Math.ceil((((d - yearStart) / 86400000) + 1) / 7)
|
|
1297
1357
|
// };
|
|
1298
1358
|
|
|
1299
|
-
var css_248z$r = ".Drawer-
|
|
1300
|
-
var styles$r = {"drawer":"Drawer-
|
|
1359
|
+
var css_248z$r = ".Drawer-module_drawer__kdQCk {\n height: 100%;\n z-index: 1101;\n bottom: 0;\n position: fixed;\n background: white;\n min-width: 280px;\n overflow-y: auto; }\n .Drawer-module_drawer__kdQCk.Drawer-module_permanent__c-y8y {\n position: inherit;\n z-index: 0; }\n .Drawer-module_drawer__kdQCk.Drawer-module_left__loQVO {\n order: 0; }\n .Drawer-module_drawer__kdQCk.Drawer-module_right__sJ3mZ {\n order: 2; }\n\n.Drawer-module_drawerOpen__07ptP {\n overflow: hidden; }\n";
|
|
1360
|
+
var styles$r = {"drawer":"Drawer-module_drawer__kdQCk","permanent":"Drawer-module_permanent__c-y8y","left":"Drawer-module_left__loQVO","right":"Drawer-module_right__sJ3mZ","drawerOpen":"Drawer-module_drawerOpen__07ptP"};
|
|
1301
1361
|
styleInject(css_248z$r);
|
|
1302
1362
|
|
|
1303
1363
|
const Drawer = (props) => {
|
|
@@ -1335,8 +1395,8 @@ const DrawerContent = (props) => {
|
|
|
1335
1395
|
return (React.createElement("div", { className: getCssClasses(), style: getStyles() }, children));
|
|
1336
1396
|
};
|
|
1337
1397
|
|
|
1338
|
-
var css_248z$q = ".MenuBody-
|
|
1339
|
-
var styles$q = {"menuBody":"MenuBody-
|
|
1398
|
+
var css_248z$q = ".MenuBody-module_menuBody__u4FIQ {\n z-index: 1111;\n margin: 0;\n position: absolute;\n top: 100%;\n left: 0;\n min-width: 10rem;\n padding: 8px 0px;\n font-size: 1rem;\n color: #212529;\n text-align: left;\n list-style: none;\n background-color: #fff;\n background-clip: padding-box;\n border-radius: var(--borderRadius); }\n .MenuBody-module_menuBody__u4FIQ.MenuBody-module_shadow__OBp-f {\n box-shadow: var(--shadow); }\n";
|
|
1399
|
+
var styles$q = {"menuBody":"MenuBody-module_menuBody__u4FIQ","shadow":"MenuBody-module_shadow__OBp-f"};
|
|
1340
1400
|
styleInject(css_248z$q);
|
|
1341
1401
|
|
|
1342
1402
|
const MenuBody = (props) => {
|
|
@@ -1380,8 +1440,8 @@ const MenuBody = (props) => {
|
|
|
1380
1440
|
React.createElement(Backdrop, { isTransparent: true, onClick: handleClickBackdrop })), document.body));
|
|
1381
1441
|
};
|
|
1382
1442
|
|
|
1383
|
-
var css_248z$p = ".Menu-
|
|
1384
|
-
var styles$p = {"menu":"Menu-
|
|
1443
|
+
var css_248z$p = ".Menu-module_menu__p8QL- {\n display: flex; }\n";
|
|
1444
|
+
var styles$p = {"menu":"Menu-module_menu__p8QL-"};
|
|
1385
1445
|
styleInject(css_248z$p);
|
|
1386
1446
|
|
|
1387
1447
|
const Menu = (props) => {
|
|
@@ -1403,8 +1463,8 @@ const Menu = (props) => {
|
|
|
1403
1463
|
React.createElement(MenuBody, { parentRef: toggleContainerRef, menuPosition: menuPosition, onClickBackdrop: handleClickBackdrop }, children)));
|
|
1404
1464
|
};
|
|
1405
1465
|
|
|
1406
|
-
var css_248z$o = ".MenuItem-
|
|
1407
|
-
var styles$o = {"menuItem":"MenuItem-
|
|
1466
|
+
var css_248z$o = ".MenuItem-module_menuItem__MeBxN {\n display: flex;\n width: 100%;\n padding: 0.25rem 1.5rem;\n clear: both;\n font-weight: 400;\n color: #212529;\n text-align: inherit;\n text-decoration: none;\n white-space: nowrap;\n background-color: transparent;\n border: 0; }\n .MenuItem-module_menuItem__MeBxN.MenuItem-module_menuItemHeader__2l732 {\n margin-bottom: 0;\n font-size: 0.875rem; }\n .MenuItem-module_menuItem__MeBxN:hover {\n cursor: pointer;\n color: #1e2125;\n background-color: rgba(0, 0, 0, 0.04); }\n";
|
|
1467
|
+
var styles$o = {"menuItem":"MenuItem-module_menuItem__MeBxN","menuItemHeader":"MenuItem-module_menuItemHeader__2l732"};
|
|
1408
1468
|
styleInject(css_248z$o);
|
|
1409
1469
|
|
|
1410
1470
|
const MenuItem = (props) => {
|
|
@@ -1431,22 +1491,22 @@ const MenuToggle = ({ children }) => {
|
|
|
1431
1491
|
return (React.createElement(Fragment, null, children));
|
|
1432
1492
|
};
|
|
1433
1493
|
|
|
1434
|
-
var css_248z$n = ".MenuDivider-
|
|
1435
|
-
var styles$n = {"menuItemDivider":"MenuDivider-
|
|
1494
|
+
var css_248z$n = ".MenuDivider-module_menuItemDivider__oRP-j {\n height: 0;\n margin: 0.5rem 0;\n overflow: hidden;\n border-top: 1px solid #e9ecef; }\n";
|
|
1495
|
+
var styles$n = {"menuItemDivider":"MenuDivider-module_menuItemDivider__oRP-j"};
|
|
1436
1496
|
styleInject(css_248z$n);
|
|
1437
1497
|
|
|
1438
1498
|
const MenuDivider = () => React.createElement("div", { className: styles$n.menuItemDivider });
|
|
1439
1499
|
|
|
1440
|
-
var css_248z$m = ".ExpansionPanelContent-
|
|
1441
|
-
var styles$m = {"expansionPanelContent":"ExpansionPanelContent-
|
|
1500
|
+
var css_248z$m = ".ExpansionPanelContent-module_expansionPanelContent__aXNfH {\n padding: 8px 16px 16px; }\n";
|
|
1501
|
+
var styles$m = {"expansionPanelContent":"ExpansionPanelContent-module_expansionPanelContent__aXNfH"};
|
|
1442
1502
|
styleInject(css_248z$m);
|
|
1443
1503
|
|
|
1444
1504
|
const ExpansionPanelContent = ({ children }) => {
|
|
1445
1505
|
return (React.createElement("div", { className: styles$m.expansionPanelContent }, children));
|
|
1446
1506
|
};
|
|
1447
1507
|
|
|
1448
|
-
var css_248z$l = ".ExpansionPanelHeader-
|
|
1449
|
-
var styles$l = {"expansionPanelHeader":"ExpansionPanelHeader-
|
|
1508
|
+
var css_248z$l = ".ExpansionPanelHeader-module_expansionPanelHeader__Wy6Pq {\n display: flex;\n align-items: center;\n padding: 12px 16px;\n min-height: 48px; }\n .ExpansionPanelHeader-module_expansionPanelHeader__Wy6Pq:hover {\n cursor: pointer;\n background-color: var(--highlight); }\n";
|
|
1509
|
+
var styles$l = {"expansionPanelHeader":"ExpansionPanelHeader-module_expansionPanelHeader__Wy6Pq"};
|
|
1450
1510
|
styleInject(css_248z$l);
|
|
1451
1511
|
|
|
1452
1512
|
const ExpansionPanelHeader = (props) => {
|
|
@@ -1461,8 +1521,8 @@ const ExpansionPanelHeader = (props) => {
|
|
|
1461
1521
|
React.createElement(Icon, null, isExpanded ? React.createElement(ChevronUpSolidIcon, null) : React.createElement(ChevronDownSolidIcon, null)))));
|
|
1462
1522
|
};
|
|
1463
1523
|
|
|
1464
|
-
var css_248z$k = ".ExpansionPanel-
|
|
1465
|
-
var styles$k = {"expansionPanel":"ExpansionPanel-
|
|
1524
|
+
var css_248z$k = ".ExpansionPanel-module_expansionPanel__m1yQq {\n background-color: var(--white);\n box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }\n .ExpansionPanel-module_expansionPanel__m1yQq:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px; }\n .ExpansionPanel-module_expansionPanel__m1yQq:last-child {\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px; }\n .ExpansionPanel-module_expansionPanel__m1yQq.ExpansionPanel-module_isExpanded__TS1ph {\n margin: 16px 0; }\n .ExpansionPanel-module_expansionPanel__m1yQq.ExpansionPanel-module_isExpanded__TS1ph:first-child {\n margin-top: 0; }\n .ExpansionPanel-module_expansionPanel__m1yQq.ExpansionPanel-module_isExpanded__TS1ph:last-child {\n margin-bottom: 0; }\n";
|
|
1525
|
+
var styles$k = {"expansionPanel":"ExpansionPanel-module_expansionPanel__m1yQq","isExpanded":"ExpansionPanel-module_isExpanded__TS1ph"};
|
|
1466
1526
|
styleInject(css_248z$k);
|
|
1467
1527
|
|
|
1468
1528
|
const ExpansionPanel = (props) => {
|
|
@@ -1489,8 +1549,8 @@ const ExpansionPanel = (props) => {
|
|
|
1489
1549
|
React.createElement(ExpansionPanelContent, null, children)));
|
|
1490
1550
|
};
|
|
1491
1551
|
|
|
1492
|
-
var css_248z$j = ".FloatingActionButton-
|
|
1493
|
-
var styles$j = {"fab":"FloatingActionButton-
|
|
1552
|
+
var css_248z$j = ".FloatingActionButton-module_fab__Rw3kd {\n box-shadow: var(--shadow); }\n .FloatingActionButton-module_fab__Rw3kd.FloatingActionButton-module_fixed__XQOkG {\n position: fixed;\n bottom: 16px;\n right: 16px;\n z-index: 1000; }\n";
|
|
1553
|
+
var styles$j = {"fab":"FloatingActionButton-module_fab__Rw3kd","fixed":"FloatingActionButton-module_fixed__XQOkG"};
|
|
1494
1554
|
styleInject(css_248z$j);
|
|
1495
1555
|
|
|
1496
1556
|
const FloatingActionButton = (props) => {
|
|
@@ -1542,7 +1602,7 @@ const Row = (props) => {
|
|
|
1542
1602
|
};
|
|
1543
1603
|
|
|
1544
1604
|
const Link = (props) => {
|
|
1545
|
-
const { href, className, target, children } = props;
|
|
1605
|
+
const { href = '#', className, target, children } = props, rest = __rest(props, ["href", "className", "target", "children"]);
|
|
1546
1606
|
const [status, setStatus] = useState(STATUS.NORMAL);
|
|
1547
1607
|
const getCssClasses = () => {
|
|
1548
1608
|
const cssClasses = [];
|
|
@@ -1556,20 +1616,21 @@ const Link = (props) => {
|
|
|
1556
1616
|
const onMouseLeave = () => {
|
|
1557
1617
|
setStatus(STATUS.NORMAL);
|
|
1558
1618
|
};
|
|
1559
|
-
return (React.createElement("a", { className: getCssClasses(), href: href
|
|
1619
|
+
return (React.createElement("a", Object.assign({ className: getCssClasses(), href: href, target: target, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave }, rest), children));
|
|
1560
1620
|
};
|
|
1561
1621
|
|
|
1562
|
-
var css_248z$i = ".LoadingIndicator-
|
|
1563
|
-
var styles$i = {"loadingIndicatorContainer":"LoadingIndicator-
|
|
1622
|
+
var css_248z$i = ".LoadingIndicator-module_loadingIndicatorContainer__GS9OG {\n position: fixed;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%; }\n\n.LoadingIndicator-module_loadingIndicator__EC9sx {\n animation-name: LoadingIndicator-module_spinAnimation__LeY4Z;\n animation-duration: 5000ms;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n width: 24px;\n height: 24px; }\n\n@keyframes LoadingIndicator-module_spinAnimation__LeY4Z {\n from {\n transform: rotate(0deg); }\n to {\n transform: rotate(360deg); } }\n";
|
|
1623
|
+
var styles$i = {"loadingIndicatorContainer":"LoadingIndicator-module_loadingIndicatorContainer__GS9OG","loadingIndicator":"LoadingIndicator-module_loadingIndicator__EC9sx","spinAnimation":"LoadingIndicator-module_spinAnimation__LeY4Z"};
|
|
1564
1624
|
styleInject(css_248z$i);
|
|
1565
1625
|
|
|
1566
|
-
const LoadingIndicator = () => {
|
|
1626
|
+
const LoadingIndicator = (_a) => {
|
|
1627
|
+
var rest = __rest(_a, []);
|
|
1567
1628
|
const getCssClasses = () => {
|
|
1568
1629
|
const cssClasses = [];
|
|
1569
1630
|
cssClasses.push(styles$i.loadingIndicator);
|
|
1570
1631
|
return cssClasses.filter(css => css).join(' ');
|
|
1571
1632
|
};
|
|
1572
|
-
return (React.createElement("div", { className: getCssClasses() },
|
|
1633
|
+
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest),
|
|
1573
1634
|
React.createElement(SpinnerSolidIcon, null)));
|
|
1574
1635
|
};
|
|
1575
1636
|
|
|
@@ -1606,8 +1667,8 @@ class LoadingIndicatorService {
|
|
|
1606
1667
|
}
|
|
1607
1668
|
const loadingIndicatorService = new LoadingIndicatorService();
|
|
1608
1669
|
|
|
1609
|
-
var css_248z$h = ".ModalHeader-
|
|
1610
|
-
var styles$h = {"modalHeader":"ModalHeader-
|
|
1670
|
+
var css_248z$h = ".ModalHeader-module_modalHeader__tw-u- {\n border-bottom: none;\n align-items: center; }\n";
|
|
1671
|
+
var styles$h = {"modalHeader":"ModalHeader-module_modalHeader__tw-u-"};
|
|
1611
1672
|
styleInject(css_248z$h);
|
|
1612
1673
|
|
|
1613
1674
|
const ModalHeader = (props) => {
|
|
@@ -1623,12 +1684,12 @@ const ModalHeader = (props) => {
|
|
|
1623
1684
|
|
|
1624
1685
|
const ModalBody = ({ children }) => (React.createElement("div", { className: "modal-body" }, children));
|
|
1625
1686
|
|
|
1626
|
-
var css_248z$g = ".Modal-
|
|
1627
|
-
var styles$g = {"modal":"Modal-
|
|
1687
|
+
var css_248z$g = ".Modal-module_modal__HMxWV {\n z-index: 1111 !important;\n border-radius: var(--borderRadius); }\n .Modal-module_modal__HMxWV.Modal-module_fullscreen__iepGa {\n width: 100% !important;\n height: 100% !important;\n max-height: 100% !important;\n margin: 0;\n padding: 0; }\n .Modal-module_modal__HMxWV.Modal-module_fullscreen__iepGa .Modal-module_modalContent__9wAwB {\n height: auto;\n min-height: 100%;\n max-height: 100%;\n border-radius: 0;\n overflow: auto; }\n @media (min-width: 320px) {\n .Modal-module_modal__HMxWV.Modal-module_fullscreen__iepGa {\n max-width: 100% !important; } }\n .Modal-module_modal__HMxWV .Modal-module_sm__CsR6U {\n max-width: 300px; }\n .Modal-module_modal__HMxWV .Modal-module_md__lNggx {\n max-width: 500px; }\n .Modal-module_modal__HMxWV .Modal-module_lg__6dtT2 {\n max-width: 1140px; }\n @media (min-width: 576px) {\n .Modal-module_modal__HMxWV .Modal-module_modal-dialog__U2wGf {\n max-width: 600px; } }\n";
|
|
1688
|
+
var styles$g = {"modal":"Modal-module_modal__HMxWV","fullscreen":"Modal-module_fullscreen__iepGa","modalContent":"Modal-module_modalContent__9wAwB","sm":"Modal-module_sm__CsR6U","md":"Modal-module_md__lNggx","lg":"Modal-module_lg__6dtT2","modal-dialog":"Modal-module_modal-dialog__U2wGf"};
|
|
1628
1689
|
styleInject(css_248z$g);
|
|
1629
1690
|
|
|
1630
|
-
var css_248z$f = ".ModalFooter-
|
|
1631
|
-
var styles$f = {"modalFooter":"ModalFooter-
|
|
1691
|
+
var css_248z$f = ".ModalFooter-module_modalFooter__SNm-f {\n border-top: none; }\n";
|
|
1692
|
+
var styles$f = {"modalFooter":"ModalFooter-module_modalFooter__SNm-f"};
|
|
1632
1693
|
styleInject(css_248z$f);
|
|
1633
1694
|
|
|
1634
1695
|
const ModalFooter = ({ children }) => (React.createElement("div", { className: "modal-footer " + styles$f.modalFooter }, children));
|
|
@@ -1796,14 +1857,18 @@ class SidebarItemModel {
|
|
|
1796
1857
|
}
|
|
1797
1858
|
|
|
1798
1859
|
const Sidebar = (props) => {
|
|
1799
|
-
const { items, currentUrl, onItemClicked } = props;
|
|
1860
|
+
const { className, items, currentUrl, onItemClicked } = props, rest = __rest(props, ["className", "items", "currentUrl", "onItemClicked"]);
|
|
1800
1861
|
const [menuItems, setMenuItems] = useState([]);
|
|
1801
1862
|
useEffect(() => {
|
|
1802
1863
|
if (items && items.length > 0) {
|
|
1803
1864
|
initMenuItems();
|
|
1804
1865
|
}
|
|
1805
1866
|
}, []);
|
|
1806
|
-
|
|
1867
|
+
const getCssClasses = () => {
|
|
1868
|
+
const cssClasses = [];
|
|
1869
|
+
className && cssClasses.push(className);
|
|
1870
|
+
return cssClasses.filter(css => css).join(' ');
|
|
1871
|
+
};
|
|
1807
1872
|
const initMenuItems = () => {
|
|
1808
1873
|
const newItems = items.map(item => new SidebarItemModel(item.id, item.label, item.path, item.icon, isMenuItemActive(item.path), item.items && item.items.map(subItem => new SidebarItemModel(subItem.id, subItem.label, subItem.path, subItem.icon, isMenuItemActive(`${item.path}/${subItem.path}`))), item.isCollapsible, item.isCollapsed));
|
|
1809
1874
|
setMenuItems(newItems);
|
|
@@ -1828,8 +1893,7 @@ const Sidebar = (props) => {
|
|
|
1828
1893
|
if (item.items && item.items.length > 0 && item.isCollapsible) {
|
|
1829
1894
|
const newMenuItems = menuItems.map((menuItem) => {
|
|
1830
1895
|
if (item.id === menuItem.id) {
|
|
1831
|
-
|
|
1832
|
-
return updatedItem;
|
|
1896
|
+
menuItem.isCollapsed = !item.isCollapsed;
|
|
1833
1897
|
}
|
|
1834
1898
|
return menuItem;
|
|
1835
1899
|
});
|
|
@@ -1842,7 +1906,7 @@ const Sidebar = (props) => {
|
|
|
1842
1906
|
const handleClickSubItem = (itemPath, subItemPath, e) => {
|
|
1843
1907
|
navigate(e, `/${itemPath}/${subItemPath}`);
|
|
1844
1908
|
};
|
|
1845
|
-
return (React.createElement("nav", { className:
|
|
1909
|
+
return (React.createElement("nav", Object.assign({ className: getCssClasses() }, rest),
|
|
1846
1910
|
React.createElement(List, null, menuItems.map(item => (React.createElement(React.Fragment, { key: item.id },
|
|
1847
1911
|
React.createElement(ListItem, { active: isMenuItemActive(item.path), onClick: (e) => handleClickItem(item, e) },
|
|
1848
1912
|
React.createElement(ListItemText, { primary: React.createElement(React.Fragment, null,
|
|
@@ -1856,12 +1920,12 @@ const Sidebar = (props) => {
|
|
|
1856
1920
|
!item.isCollapsed && item.items && item.items.length > 0 && (React.createElement(List, { className: "list-level-1", key: `${item.id}-sub` }, item.items.map(subItem => (React.createElement(ListItem, { className: "list-item-level-1", active: isMenuItemActive(subItem.path), key: subItem.id, onClick: (e) => handleClickSubItem(item.path, subItem.path, e) }, subItem.label)))))))))));
|
|
1857
1921
|
};
|
|
1858
1922
|
|
|
1859
|
-
var css_248z$e = ".Snackbar-
|
|
1860
|
-
var styles$e = {"snackbar":"Snackbar-
|
|
1923
|
+
var css_248z$e = ".Snackbar-module_snackbar__O5T2b {\n display: flex;\n align-items: center;\n min-width: 288px;\n padding: 6px 16px;\n transform-origin: center;\n min-height: 52px;\n animation: Snackbar-module_bounceIn__E47iD 0.4s ease;\n z-index: 1001;\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n bottom: 2%;\n border-radius: var(--borderRadius); }\n .Snackbar-module_snackbar__O5T2b.Snackbar-module_primary__ZBOTN {\n color: var(--primary-contrast-text);\n background-color: var(--primary); }\n .Snackbar-module_snackbar__O5T2b.Snackbar-module_accent__0MnFy {\n color: var(--accent-contrast-text);\n background-color: var(--accent); }\n .Snackbar-module_snackbar__O5T2b.Snackbar-module_secondary__s8-ez {\n color: var(--secondary-contrast-text);\n background-color: var(--secondary); }\n .Snackbar-module_snackbar__O5T2b.Snackbar-module_light__Vrd7o {\n color: var(--light-contrast-text);\n background-color: var(--light); }\n .Snackbar-module_snackbar__O5T2b.Snackbar-module_dark__U-5io {\n color: var(--dark-contrast-text);\n background-color: var(--dark); }\n\n.Snackbar-module_text__G5r5D {\n width: 100%;\n padding: 8px 0; }\n\n.Snackbar-module_action__vus2Y {\n margin-left: auto; }\n .Snackbar-module_action__vus2Y:hover {\n cursor: pointer; }\n\n@keyframes Snackbar-module_bounceIn__E47iD {\n 0% {\n opacity: 0; }\n 50% {\n opacity: 0.9; }\n 80% {\n opacity: 1; }\n 100% {\n opacity: 1; } }\n";
|
|
1924
|
+
var styles$e = {"snackbar":"Snackbar-module_snackbar__O5T2b","bounceIn":"Snackbar-module_bounceIn__E47iD","primary":"Snackbar-module_primary__ZBOTN","accent":"Snackbar-module_accent__0MnFy","secondary":"Snackbar-module_secondary__s8-ez","light":"Snackbar-module_light__Vrd7o","dark":"Snackbar-module_dark__U-5io","text":"Snackbar-module_text__G5r5D","action":"Snackbar-module_action__vus2Y"};
|
|
1861
1925
|
styleInject(css_248z$e);
|
|
1862
1926
|
|
|
1863
1927
|
const Snackbar = (props) => {
|
|
1864
|
-
const { children, color = COLOR.dark, actionText = 'ok', onOk } = props;
|
|
1928
|
+
const { children, color = COLOR.dark, actionText = 'ok', onOk } = props, rest = __rest(props, ["children", "color", "actionText", "onOk"]);
|
|
1865
1929
|
const getCssClasses = () => {
|
|
1866
1930
|
const cssClasses = [];
|
|
1867
1931
|
cssClasses.push(styles$e.snackbar);
|
|
@@ -1872,7 +1936,7 @@ const Snackbar = (props) => {
|
|
|
1872
1936
|
const handleClickAction = (e) => {
|
|
1873
1937
|
onOk && onOk(e);
|
|
1874
1938
|
};
|
|
1875
|
-
return (React.createElement("div", { className: getCssClasses() },
|
|
1939
|
+
return (React.createElement("div", Object.assign({ className: getCssClasses() }, rest),
|
|
1876
1940
|
React.createElement("div", { className: styles$e.text }, children),
|
|
1877
1941
|
React.createElement("div", { className: styles$e.action + " text-accent", onClick: handleClickAction },
|
|
1878
1942
|
React.createElement("span", null, actionText))));
|
|
@@ -1912,8 +1976,8 @@ class SnackbarService {
|
|
|
1912
1976
|
}
|
|
1913
1977
|
const snackbarService = new SnackbarService();
|
|
1914
1978
|
|
|
1915
|
-
var css_248z$d = ".SpeedDialActions-
|
|
1916
|
-
var styles$d = {"speedDialActions":"SpeedDialActions-
|
|
1979
|
+
var css_248z$d = ".SpeedDialActions-module_speedDialActions__cY2i3 {\n margin-bottom: -32px;\n flex-direction: column-reverse;\n padding-bottom: 48px;\n display: flex;\n pointer-events: auto; }\n";
|
|
1980
|
+
var styles$d = {"speedDialActions":"SpeedDialActions-module_speedDialActions__cY2i3"};
|
|
1917
1981
|
styleInject(css_248z$d);
|
|
1918
1982
|
|
|
1919
1983
|
const SpeedDialActions = (props) => {
|
|
@@ -1926,8 +1990,8 @@ const SpeedDialActions = (props) => {
|
|
|
1926
1990
|
return (React.createElement("div", { className: getCssClasses() }, children));
|
|
1927
1991
|
};
|
|
1928
1992
|
|
|
1929
|
-
var css_248z$c = ".SpeedDial-
|
|
1930
|
-
var styles$c = {"speedDial":"SpeedDial-
|
|
1993
|
+
var css_248z$c = ".SpeedDial-module_speedDial__W3VN2 {\n position: absolute;\n flex-direction: column-reverse;\n display: flex;\n z-index: 1050;\n align-items: center;\n right: 16px;\n bottom: 16px;\n transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n";
|
|
1994
|
+
var styles$c = {"speedDial":"SpeedDial-module_speedDial__W3VN2"};
|
|
1931
1995
|
styleInject(css_248z$c);
|
|
1932
1996
|
|
|
1933
1997
|
const SpeedDial = (props) => {
|
|
@@ -1951,8 +2015,8 @@ const SpeedDial = (props) => {
|
|
|
1951
2015
|
React.createElement(SpeedDialActions, null, children)));
|
|
1952
2016
|
};
|
|
1953
2017
|
|
|
1954
|
-
var css_248z$b = ".SpeedDialAction-
|
|
1955
|
-
var styles$b = {"speedDialAction":"SpeedDialAction-
|
|
2018
|
+
var css_248z$b = ".SpeedDialAction-module_speedDialAction__kJLpz + .SpeedDialAction-module_speedDialAction__kJLpz {\n margin-bottom: 10px; }\n";
|
|
2019
|
+
var styles$b = {"speedDialAction":"SpeedDialAction-module_speedDialAction__kJLpz"};
|
|
1956
2020
|
styleInject(css_248z$b);
|
|
1957
2021
|
|
|
1958
2022
|
const SpeedDialAction = (props) => {
|
|
@@ -1976,8 +2040,8 @@ const SpeedDialIcon = (props) => {
|
|
|
1976
2040
|
return (React.createElement(Icon, Object.assign({ className: getCssClasses() }, rest), children));
|
|
1977
2041
|
};
|
|
1978
2042
|
|
|
1979
|
-
var css_248z$a = ".StepperActions-
|
|
1980
|
-
var styles$a = {"stepperActions":"StepperActions-
|
|
2043
|
+
var css_248z$a = ".StepperActions-module_stepperActions__hBUkh {\n display: flex; }\n";
|
|
2044
|
+
var styles$a = {"stepperActions":"StepperActions-module_stepperActions__hBUkh"};
|
|
1981
2045
|
styleInject(css_248z$a);
|
|
1982
2046
|
|
|
1983
2047
|
const StepperActions = (props) => {
|
|
@@ -2001,8 +2065,8 @@ const StepPanel = (props) => {
|
|
|
2001
2065
|
return (React.createElement("div", { className: "steppanel" }, children));
|
|
2002
2066
|
};
|
|
2003
2067
|
|
|
2004
|
-
var css_248z$9 = ".StepConnector-
|
|
2005
|
-
var styles$9 = {"stepConnector":"StepConnector-
|
|
2068
|
+
var css_248z$9 = ".StepConnector-module_stepConnector__A7A-7 {\n flex: 1 1 auto;\n flex-shrink: 0;\n min-width: 20px; }\n\n.StepConnector-module_stepConnectorLine__8rQxv {\n display: block;\n border-color: var(--secondary);\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n .StepConnector-module_stepConnectorLine__8rQxv.StepConnector-module_isActive__TUIKV {\n border-color: var(--primary); }\n\n.StepConnector-module_stepConnectorLineHorizontal__i09K0 {\n border-top-style: solid;\n border-top-width: 1px; }\n";
|
|
2069
|
+
var styles$9 = {"stepConnector":"StepConnector-module_stepConnector__A7A-7","stepConnectorLine":"StepConnector-module_stepConnectorLine__8rQxv","isActive":"StepConnector-module_isActive__TUIKV","stepConnectorLineHorizontal":"StepConnector-module_stepConnectorLineHorizontal__i09K0"};
|
|
2006
2070
|
styleInject(css_248z$9);
|
|
2007
2071
|
|
|
2008
2072
|
const StepConnector = (props) => {
|
|
@@ -2023,8 +2087,8 @@ const StepConnector = (props) => {
|
|
|
2023
2087
|
React.createElement("div", { className: getCssClassesLine() })));
|
|
2024
2088
|
};
|
|
2025
2089
|
|
|
2026
|
-
var css_248z$8 = ".Stepper-
|
|
2027
|
-
var styles$8 = {"stepper":"Stepper-
|
|
2090
|
+
var css_248z$8 = ".Stepper-module_stepper__V6odG {\n display: flex;\n align-items: center;\n flex-direction: row;\n margin-bottom: 10px; }\n .Stepper-module_stepper__V6odG.Stepper-module_isHorizontal__Q-3Wu {\n overflow-x: auto; }\n";
|
|
2091
|
+
var styles$8 = {"stepper":"Stepper-module_stepper__V6odG","isHorizontal":"Stepper-module_isHorizontal__Q-3Wu"};
|
|
2028
2092
|
styleInject(css_248z$8);
|
|
2029
2093
|
|
|
2030
2094
|
const Stepper = (props) => {
|
|
@@ -2127,64 +2191,8 @@ const Stepper = (props) => {
|
|
|
2127
2191
|
React.createElement(StepperActions, { className: "mt-3", isFirstStep: activeIndex === 0, isStepOptional: isStepOptional(activeIndex), isCompleted: isLastStep(), onBack: handleBack, onSkip: handleSkip, onNext: handleNext, onReset: handleReset }))));
|
|
2128
2192
|
};
|
|
2129
2193
|
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
width: 0,
|
|
2133
|
-
height: 0,
|
|
2134
|
-
});
|
|
2135
|
-
useEffect(() => {
|
|
2136
|
-
function handleResize() {
|
|
2137
|
-
setWindowSize({
|
|
2138
|
-
width: window.innerWidth,
|
|
2139
|
-
height: window.innerHeight,
|
|
2140
|
-
});
|
|
2141
|
-
}
|
|
2142
|
-
window.addEventListener("resize", handleResize);
|
|
2143
|
-
handleResize();
|
|
2144
|
-
return () => window.removeEventListener("resize", handleResize);
|
|
2145
|
-
}, []);
|
|
2146
|
-
return windowSize;
|
|
2147
|
-
}
|
|
2148
|
-
|
|
2149
|
-
function useHover() {
|
|
2150
|
-
const [value, setValue] = useState(false);
|
|
2151
|
-
const ref = useRef(null);
|
|
2152
|
-
const handleMouseOver = () => setValue(true);
|
|
2153
|
-
const handleMouseOut = () => setValue(false);
|
|
2154
|
-
useEffect(() => {
|
|
2155
|
-
const node = ref.current;
|
|
2156
|
-
if (node) {
|
|
2157
|
-
node.addEventListener("mouseover", handleMouseOver);
|
|
2158
|
-
node.addEventListener("mouseout", handleMouseOut);
|
|
2159
|
-
return () => {
|
|
2160
|
-
node.removeEventListener("mouseover", handleMouseOver);
|
|
2161
|
-
node.removeEventListener("mouseout", handleMouseOut);
|
|
2162
|
-
};
|
|
2163
|
-
}
|
|
2164
|
-
}, [ref.current] // Recall only if ref changes
|
|
2165
|
-
);
|
|
2166
|
-
return [ref, value];
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
const useConstructor = (callBack = () => { }) => {
|
|
2170
|
-
const [hasBeenCalled, setHasBeenCalled] = useState(false);
|
|
2171
|
-
if (hasBeenCalled)
|
|
2172
|
-
return;
|
|
2173
|
-
callBack();
|
|
2174
|
-
setHasBeenCalled(true);
|
|
2175
|
-
};
|
|
2176
|
-
|
|
2177
|
-
function useDebounce(callback, timeout, deps) {
|
|
2178
|
-
const timeoutId = useRef();
|
|
2179
|
-
useEffect(() => {
|
|
2180
|
-
clearTimeout(timeoutId.current);
|
|
2181
|
-
timeoutId.current = setTimeout(callback, timeout);
|
|
2182
|
-
return () => clearTimeout(timeoutId.current);
|
|
2183
|
-
}, deps);
|
|
2184
|
-
}
|
|
2185
|
-
|
|
2186
|
-
var css_248z$7 = ".Typography-module_typography__2bM6E {\n text-overflow: ellipsis;\n overflow: hidden !important; }\n";
|
|
2187
|
-
var styles$7 = {"typography":"Typography-module_typography__2bM6E"};
|
|
2194
|
+
var css_248z$7 = ".Typography-module_typography__sw-td {\n text-overflow: ellipsis;\n overflow: hidden !important; }\n";
|
|
2195
|
+
var styles$7 = {"typography":"Typography-module_typography__sw-td"};
|
|
2188
2196
|
styleInject(css_248z$7);
|
|
2189
2197
|
|
|
2190
2198
|
const Wrapper = (props) => {
|
|
@@ -2202,8 +2210,8 @@ const Typography = (_a) => {
|
|
|
2202
2210
|
return (React.createElement(Wrapper, Object.assign({ as: as }, rest), children));
|
|
2203
2211
|
};
|
|
2204
2212
|
|
|
2205
|
-
var css_248z$6 = ".Step-
|
|
2206
|
-
var styles$6 = {"stepWrapper":"Step-
|
|
2213
|
+
var css_248z$6 = ".Step-module_stepWrapper__IQwq1 {\n display: flex;\n align-items: center;\n padding-left: 8px;\n padding-right: 8px;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n .Step-module_stepWrapper__IQwq1.Step-module_hasLabel__LZNvd:not(.Step-module_disabled__JnxUP):hover {\n cursor: pointer;\n background-color: rgba(0, 0, 0, 0.04);\n border-radius: var(--borderRadius); }\n\n.Step-module_step__k42go {\n width: 40px;\n height: 40px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n .Step-module_step__k42go:not(.Step-module_hasLabel__LZNvd):not(.Step-module_disabled__JnxUP):hover {\n border-radius: 100%;\n cursor: pointer;\n background-color: rgba(0, 0, 0, 0.04); }\n .Step-module_step__k42go.Step-module_hasLabel__LZNvd svg {\n width: 18px !important;\n height: 18px !important; }\n\n.Step-module_stepIconCircle__hnxIV svg {\n width: 24px;\n height: 24px; }\n\n.Step-module_stepValue__B0-xv {\n position: absolute;\n color: var(--secondary-contrast-text); }\n .Step-module_stepValue__B0-xv .Step-module_isActive__3GGcl {\n color: var(--primary-contrast-text); }\n";
|
|
2214
|
+
var styles$6 = {"stepWrapper":"Step-module_stepWrapper__IQwq1","hasLabel":"Step-module_hasLabel__LZNvd","disabled":"Step-module_disabled__JnxUP","step":"Step-module_step__k42go","stepIconCircle":"Step-module_stepIconCircle__hnxIV","stepValue":"Step-module_stepValue__B0-xv","isActive":"Step-module_isActive__3GGcl"};
|
|
2207
2215
|
styleInject(css_248z$6);
|
|
2208
2216
|
|
|
2209
2217
|
const Step = (props) => {
|
|
@@ -2257,8 +2265,8 @@ const Table = (props) => {
|
|
|
2257
2265
|
React.createElement("table", { className: getCssClasses() }, children)));
|
|
2258
2266
|
};
|
|
2259
2267
|
|
|
2260
|
-
var css_248z$5 = ".TabIndicator-
|
|
2261
|
-
var styles$5 = {"tabIndicator":"TabIndicator-
|
|
2268
|
+
var css_248z$5 = ".TabIndicator-module_tabIndicator__jSJhH {\n bottom: 0;\n height: 2px;\n position: absolute;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n .TabIndicator-module_tabIndicator__jSJhH.TabIndicator-module_primary__Q5jEo {\n background-color: var(--primary); }\n .TabIndicator-module_tabIndicator__jSJhH.TabIndicator-module_accent__qbgIG {\n background-color: var(--accent); }\n";
|
|
2269
|
+
var styles$5 = {"tabIndicator":"TabIndicator-module_tabIndicator__jSJhH","primary":"TabIndicator-module_primary__Q5jEo","accent":"TabIndicator-module_accent__qbgIG"};
|
|
2262
2270
|
styleInject(css_248z$5);
|
|
2263
2271
|
|
|
2264
2272
|
const TabIndicator = (props) => {
|
|
@@ -2275,8 +2283,8 @@ const TabIndicator = (props) => {
|
|
|
2275
2283
|
} }));
|
|
2276
2284
|
};
|
|
2277
2285
|
|
|
2278
|
-
var css_248z$4 = ".Tabs-
|
|
2279
|
-
var styles$4 = {"tabs":"Tabs-
|
|
2286
|
+
var css_248z$4 = ".Tabs-module_tabs__YyRTZ {\n display: flex;\n position: relative; }\n";
|
|
2287
|
+
var styles$4 = {"tabs":"Tabs-module_tabs__YyRTZ"};
|
|
2280
2288
|
styleInject(css_248z$4);
|
|
2281
2289
|
|
|
2282
2290
|
const Tabs = (props) => {
|
|
@@ -2316,8 +2324,8 @@ const Tabs = (props) => {
|
|
|
2316
2324
|
React.createElement(TabIndicator, { color: indicatorColor, width: (100 / React.Children.toArray(children).length) + '%', index: selectedIndex, amount: React.Children.toArray(children).length }))));
|
|
2317
2325
|
};
|
|
2318
2326
|
|
|
2319
|
-
var css_248z$3 = ".Tab-
|
|
2320
|
-
var styles$3 = {"tab":"Tab-
|
|
2327
|
+
var css_248z$3 = ".Tab-module_tab__Q8w1f {\n padding: 6px 12px;\n overflow: hidden;\n position: relative;\n font-size: 0.875rem;\n min-width: 72px;\n box-sizing: border-box;\n min-height: 48px;\n text-align: center;\n font-weight: 500;\n line-height: 1.75;\n white-space: normal;\n letter-spacing: 0.02857em;\n text-transform: uppercase;\n border-radius: 0;\n flex-grow: 1;\n flex-basis: 0;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }\n";
|
|
2328
|
+
var styles$3 = {"tab":"Tab-module_tab__Q8w1f"};
|
|
2321
2329
|
styleInject(css_248z$3);
|
|
2322
2330
|
|
|
2323
2331
|
const Tab = (props) => {
|
|
@@ -2339,8 +2347,8 @@ const TabPanel = (props) => {
|
|
|
2339
2347
|
return (React.createElement("div", Object.assign({ role: "tabpanel", hidden: value !== index, id: `tabpanel-${index}`, "aria-labelledby": `wrapped-tab-${index}` }, rest), value === index && children));
|
|
2340
2348
|
};
|
|
2341
2349
|
|
|
2342
|
-
var css_248z$2 = ".Tooltip-
|
|
2343
|
-
var styles$2 = {"tooltipContainer":"Tooltip-
|
|
2350
|
+
var css_248z$2 = ".Tooltip-module_tooltipContainer__9ZWx3 {\n display: inline; }\n\n.Tooltip-module_tooltip__x5HOu {\n background-color: #333;\n color: white;\n padding: 5px 10px;\n border-radius: 4px;\n font-size: 13px;\n position: absolute;\n left: -1000000px;\n z-index: 1100; }\n .Tooltip-module_tooltip__x5HOu #Tooltip-module_arrow__B6lfe,\n .Tooltip-module_tooltip__x5HOu #Tooltip-module_arrow__B6lfe::before {\n position: absolute;\n width: 8px;\n height: 8px;\n z-index: -1; }\n .Tooltip-module_tooltip__x5HOu #Tooltip-module_arrow__B6lfe::before {\n content: \"\";\n transform: rotate(45deg);\n background: #333; }\n .Tooltip-module_tooltip__x5HOu[data-popper-placement^=\"top\"] > #Tooltip-module_arrow__B6lfe {\n bottom: -4px; }\n .Tooltip-module_tooltip__x5HOu[data-popper-placement^=\"bottom\"] > #Tooltip-module_arrow__B6lfe {\n top: -4px; }\n .Tooltip-module_tooltip__x5HOu[data-popper-placement^=\"left\"] > #Tooltip-module_arrow__B6lfe {\n right: -4px; }\n .Tooltip-module_tooltip__x5HOu[data-popper-placement^=\"right\"] > #Tooltip-module_arrow__B6lfe {\n left: -4px; }\n";
|
|
2351
|
+
var styles$2 = {"tooltipContainer":"Tooltip-module_tooltipContainer__9ZWx3","tooltip":"Tooltip-module_tooltip__x5HOu","arrow":"Tooltip-module_arrow__B6lfe"};
|
|
2344
2352
|
styleInject(css_248z$2);
|
|
2345
2353
|
|
|
2346
2354
|
const Tooltip = (props) => {
|
|
@@ -2518,23 +2526,23 @@ const TimeSelect = (props) => {
|
|
|
2518
2526
|
React.createElement(MilliSecondSelect, { className: "form-control", value: currDate.getMilliseconds(), disabled: disabled, onChange: e => handleOnChange(e, TIMEMODE.MILLISECONDS) }))));
|
|
2519
2527
|
};
|
|
2520
2528
|
|
|
2521
|
-
var css_248z$1 = ".TreeView-
|
|
2522
|
-
var styles$1 = {"treeView":"TreeView-
|
|
2529
|
+
var css_248z$1 = ".TreeView-module_treeView__VVj-4 {\n list-style-type: none;\n margin-bottom: 0;\n padding-left: 0px !important; }\n .TreeView-module_treeView__VVj-4 ul {\n padding-left: 48px !important; }\n";
|
|
2530
|
+
var styles$1 = {"treeView":"TreeView-module_treeView__VVj-4"};
|
|
2523
2531
|
styleInject(css_248z$1);
|
|
2524
2532
|
|
|
2525
2533
|
const TreeView = (props) => {
|
|
2526
|
-
const { children, className } = props;
|
|
2534
|
+
const { children, className } = props, rest = __rest(props, ["children", "className"]);
|
|
2527
2535
|
const getCssClasses = () => {
|
|
2528
2536
|
const cssClasses = [];
|
|
2529
2537
|
cssClasses.push(styles$1.treeView);
|
|
2530
2538
|
className && cssClasses.push(className);
|
|
2531
2539
|
return cssClasses.filter(css => css).join(' ');
|
|
2532
2540
|
};
|
|
2533
|
-
return (React.createElement("ul", { className: getCssClasses() }, children));
|
|
2541
|
+
return (React.createElement("ul", Object.assign({ className: getCssClasses() }, rest), children));
|
|
2534
2542
|
};
|
|
2535
2543
|
|
|
2536
|
-
var css_248z = ".TreeItem-
|
|
2537
|
-
var styles = {"treeItem":"TreeItem-
|
|
2544
|
+
var css_248z = ".TreeItem-module_treeItem__Mxsjr {\n display: flex;\n flex-direction: column;\n min-height: 48px;\n justify-content: center; }\n";
|
|
2545
|
+
var styles = {"treeItem":"TreeItem-module_treeItem__Mxsjr"};
|
|
2538
2546
|
styleInject(css_248z);
|
|
2539
2547
|
|
|
2540
2548
|
const TreeItem = (props) => {
|
|
@@ -2574,4 +2582,3 @@ const TreeItem = (props) => {
|
|
|
2574
2582
|
};
|
|
2575
2583
|
|
|
2576
2584
|
export { Alert, AppBar, AppBarTitle, AutoComplete, Backdrop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, COLOR, Card, CardBody, CardFooter, CardImage, CardSubtitle, CardText, CardTitle, CaretDownSolidIcon, CheckSolidIcon, CheckSquareRegularIcon, Checkbox, ChevronDownSolidIcon, ChevronLeftSolidIcon, ChevronRightSolidIcon, ChevronUpSolidIcon, Chip, CircleSolidIcon, Column, ConditionalWrapper, DATEMODE, DateSelect, DaySelect, Drawer, EmailValidator, ExpansionPanel, ExpansionPanelContent, ExpansionPanelHeader, FileInput, FloatingActionButton, Form, FormControl, FormError, FormGroup, FormHint, FormInput, FormLabel, GlobalModal, HomeSolidIcon, HourSelect, Icon, IconButton, IsEmptyValidator, IsEqualValidator, Link, List, ListItem, ListItemAction, ListItemAvatar, ListItemIcon, ListItemText, LoadingIndicator, LoadingIndicatorContainer, MODALBUTTONTYPE, MODALTYPE, Menu, MenuBody, MenuDivider, MenuItem, MenuToggle, MilliSecondSelect, MinuteSelect, Modal, ModalBody, ModalFooter, ModalHeader, MonthSelect, NumberSelect, POSITION, PlusSolidIcon, Row, SIZE, STATUS, SecondSelect, Select, Sidebar, Snackbar, SpeedDial, SpeedDialAction, SpeedDialIcon, SpinnerSolidIcon, SquareRegularIcon, Step, Stepper, StepperActions, TIMEMODE, Tab, TabPanel, Table, Tabs, Textarea, TimeSelect, TimesCircleSolidIcon, TimesSolidIcon, Tooltip, TreeItem, TreeView, Typography, VARIANT, YearSelect, loadingIndicatorService, modalService, snackbarService, useConstructor, useDebounce, useHover, useWindowSize };
|
|
2577
|
-
//# sourceMappingURL=index.es.js.map
|