@majoo-ui/react 1.60.37-rc.4 → 1.60.37-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/datePicker/InputDatePicker.d.ts +1 -13
- package/components/datePicker/components/CalendarTimePicker.d.ts +2 -1
- package/components/form/components/InputDateRange/InputDateRange.d.ts +0 -12
- package/components/form/components/InputSelect/InputSelect.backup.d.ts +1 -111
- package/components/form/components/InputSelect/InputSelect.d.ts +1 -111
- package/components/loadingBar/LoadingBar.d.ts +0 -12
- package/components/table/Table.d.ts +1 -111
- package/index.esm.js +713 -847
- package/index.umd.js +1213 -1378
- package/layout/flex/index.d.ts +1 -0
- package/package.json +1 -1
- package/components/tag/Tag.d.ts +0 -16
- package/components/tag/index.d.ts +0 -2
- package/components/tooltip/Tooltip.d.ts +0 -218
- package/components/tooltip/index.d.ts +0 -2
- package/layout/box/Box.d.ts +0 -100
- package/layout/flex/Flex.d.ts +0 -112
- package/layout/grid/Grid.d.ts +0 -40
package/index.esm.js
CHANGED
|
@@ -5,8 +5,8 @@ import { createStitches, styled as styled$1 } from '@stitches/react';
|
|
|
5
5
|
import { foundations } from '@majoo-ui/core';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import moment from 'moment';
|
|
8
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
8
|
import { CloseOutline, UserFilled, CircleQuestionOutline, CircleInfoOutline, SearchOutline, CloseFilled, CaretDownOutline, ChevronUpOutline, ChevronDownOutline, CirclePlusOutline, SortingOutline, MinusOutline, PlusOutline, ChevronLeftOutline, ChevronRightOutline, TimeOutline, CalendarOutline, ChevronLgLeftOutline, ChevronLgRightOutline, ArrowLeftOutline, ArrowRightOutline, PlusPrimitive, EllipsisHorizontalOutline, EyeOutline, UploadOutline, ImageOutline, ChevronUpDownOutline, CheckFilled, RemoveOutline, LocationOutline } from '@majoo-ui/icons';
|
|
9
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
11
11
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
12
12
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
@@ -54,7 +54,7 @@ import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
|
|
|
54
54
|
import imageCompressionComponent from 'browser-image-compression';
|
|
55
55
|
import { useSticky } from 'react-table-sticky';
|
|
56
56
|
|
|
57
|
-
var _jsxFileName
|
|
57
|
+
var _jsxFileName$12 = "/Users/majoo/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
|
|
58
58
|
function ThemeProvider({
|
|
59
59
|
theme,
|
|
60
60
|
children
|
|
@@ -63,7 +63,7 @@ function ThemeProvider({
|
|
|
63
63
|
className: theme,
|
|
64
64
|
__self: this,
|
|
65
65
|
__source: {
|
|
66
|
-
fileName: _jsxFileName
|
|
66
|
+
fileName: _jsxFileName$12,
|
|
67
67
|
lineNumber: 5,
|
|
68
68
|
columnNumber: 10
|
|
69
69
|
}
|
|
@@ -1397,7 +1397,7 @@ const applyGlobalStyles = additionaStyles => {
|
|
|
1397
1397
|
globalStyles();
|
|
1398
1398
|
};
|
|
1399
1399
|
|
|
1400
|
-
var _jsxFileName$
|
|
1400
|
+
var _jsxFileName$11 = "/Users/majoo/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
|
|
1401
1401
|
function MajooProvider({
|
|
1402
1402
|
children,
|
|
1403
1403
|
theme: theme$1 = theme,
|
|
@@ -1413,7 +1413,7 @@ function MajooProvider({
|
|
|
1413
1413
|
theme: theme$1,
|
|
1414
1414
|
__self: this,
|
|
1415
1415
|
__source: {
|
|
1416
|
-
fileName: _jsxFileName$
|
|
1416
|
+
fileName: _jsxFileName$11,
|
|
1417
1417
|
lineNumber: 14,
|
|
1418
1418
|
columnNumber: 5
|
|
1419
1419
|
}
|
|
@@ -1527,27 +1527,25 @@ const Flex$1 = styled('div', {
|
|
|
1527
1527
|
gap: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1528
1528
|
}), 12),
|
|
1529
1529
|
m: seqNumberVariants$1(value => ({
|
|
1530
|
-
|
|
1530
|
+
m: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1531
1531
|
}), 12),
|
|
1532
1532
|
mt: seqNumberVariants$1(value => ({
|
|
1533
|
-
|
|
1533
|
+
mt: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1534
1534
|
}), 12),
|
|
1535
1535
|
mb: seqNumberVariants$1(value => ({
|
|
1536
|
-
|
|
1536
|
+
mb: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1537
1537
|
}), 12),
|
|
1538
1538
|
mr: seqNumberVariants$1(value => ({
|
|
1539
|
-
|
|
1539
|
+
mr: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1540
1540
|
}), 12),
|
|
1541
1541
|
ml: seqNumberVariants$1(value => ({
|
|
1542
|
-
|
|
1542
|
+
ml: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1543
1543
|
}), 12),
|
|
1544
1544
|
mx: seqNumberVariants$1(value => ({
|
|
1545
|
-
|
|
1546
|
-
marginLeft: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1545
|
+
mx: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1547
1546
|
}), 12),
|
|
1548
1547
|
my: seqNumberVariants$1(value => ({
|
|
1549
|
-
|
|
1550
|
-
marginBottom: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1548
|
+
my: `$spacing-${value < 10 ? '0' + value : value}`
|
|
1551
1549
|
}), 12),
|
|
1552
1550
|
mobileOnly: {
|
|
1553
1551
|
true: {
|
|
@@ -1566,51 +1564,62 @@ const Flex$1 = styled('div', {
|
|
|
1566
1564
|
}
|
|
1567
1565
|
}
|
|
1568
1566
|
});
|
|
1567
|
+
Flex$1.propTypes = {
|
|
1568
|
+
direction: PropTypes.string,
|
|
1569
|
+
align: PropTypes.string,
|
|
1570
|
+
justify: PropTypes.string,
|
|
1571
|
+
wrap: PropTypes.string,
|
|
1572
|
+
gap: PropTypes.number,
|
|
1573
|
+
m: PropTypes.number,
|
|
1574
|
+
mt: PropTypes.number,
|
|
1575
|
+
mb: PropTypes.number,
|
|
1576
|
+
mr: PropTypes.number,
|
|
1577
|
+
ml: PropTypes.number,
|
|
1578
|
+
mx: PropTypes.number,
|
|
1579
|
+
my: PropTypes.number
|
|
1580
|
+
};
|
|
1569
1581
|
Flex$1.defaultProps = {
|
|
1570
1582
|
direction: 'row',
|
|
1571
1583
|
align: 'stretch',
|
|
1572
1584
|
justify: 'start',
|
|
1573
|
-
wrap: 'noWrap'
|
|
1585
|
+
wrap: 'noWrap',
|
|
1586
|
+
gap: 0
|
|
1574
1587
|
};
|
|
1575
1588
|
Flex$1.displayName = 'Flex';
|
|
1576
1589
|
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
1606
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1607
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
1608
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
1609
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
1610
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1611
|
-
});
|
|
1590
|
+
function _extends() {
|
|
1591
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
1592
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
1593
|
+
var source = arguments[i];
|
|
1594
|
+
for (var key in source) {
|
|
1595
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
1596
|
+
target[key] = source[key];
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
return target;
|
|
1601
|
+
};
|
|
1602
|
+
return _extends.apply(this, arguments);
|
|
1603
|
+
}
|
|
1604
|
+
function _objectDestructuringEmpty(obj) {
|
|
1605
|
+
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
1606
|
+
}
|
|
1607
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
1608
|
+
if (source == null) return {};
|
|
1609
|
+
var target = {};
|
|
1610
|
+
var sourceKeys = Object.keys(source);
|
|
1611
|
+
var key, i;
|
|
1612
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
1613
|
+
key = sourceKeys[i];
|
|
1614
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
1615
|
+
target[key] = source[key];
|
|
1616
|
+
}
|
|
1617
|
+
return target;
|
|
1612
1618
|
}
|
|
1613
1619
|
|
|
1620
|
+
const _excluded$B = ["children"],
|
|
1621
|
+
_excluded2$4 = ["children"];
|
|
1622
|
+
var _jsxFileName$10 = "/Users/majoo/majoo-ui/packages/react/src/layout/grid/Grid.js";
|
|
1614
1623
|
const GridComponent = styled('div', {
|
|
1615
1624
|
display: 'grid',
|
|
1616
1625
|
variants: {
|
|
@@ -1795,21 +1804,25 @@ const GridComponent = styled('div', {
|
|
|
1795
1804
|
}
|
|
1796
1805
|
}
|
|
1797
1806
|
});
|
|
1798
|
-
const Grid =
|
|
1799
|
-
|
|
1807
|
+
const Grid = _ref => {
|
|
1808
|
+
let {
|
|
1800
1809
|
children
|
|
1801
|
-
} =
|
|
1802
|
-
props =
|
|
1803
|
-
return
|
|
1804
|
-
css: Object.assign(
|
|
1810
|
+
} = _ref,
|
|
1811
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
|
|
1812
|
+
return /*#__PURE__*/React__default.createElement(GridComponent, _extends({}, props, {
|
|
1813
|
+
css: Object.assign({}, props.css, {
|
|
1805
1814
|
gridAutoColumns: props.autoColumns,
|
|
1806
1815
|
gridAutoRows: props.autoRows,
|
|
1807
1816
|
gridTemplateColumns: props.templateColumns,
|
|
1808
1817
|
gridTemplateRows: props.templateRows
|
|
1809
|
-
})
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1818
|
+
}),
|
|
1819
|
+
__self: undefined,
|
|
1820
|
+
__source: {
|
|
1821
|
+
fileName: _jsxFileName$10,
|
|
1822
|
+
lineNumber: 200,
|
|
1823
|
+
columnNumber: 5
|
|
1824
|
+
}
|
|
1825
|
+
}), children);
|
|
1813
1826
|
};
|
|
1814
1827
|
Grid.propTypes = {
|
|
1815
1828
|
align: PropTypes.string,
|
|
@@ -1843,22 +1856,26 @@ const GridItemComponent = styled('div', {
|
|
|
1843
1856
|
}), 10))
|
|
1844
1857
|
}
|
|
1845
1858
|
});
|
|
1846
|
-
const GridItem =
|
|
1847
|
-
|
|
1859
|
+
const GridItem = _ref2 => {
|
|
1860
|
+
let {
|
|
1848
1861
|
children
|
|
1849
|
-
} =
|
|
1850
|
-
props =
|
|
1851
|
-
return
|
|
1852
|
-
css: Object.assign(
|
|
1862
|
+
} = _ref2,
|
|
1863
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
1864
|
+
return /*#__PURE__*/React__default.createElement(GridItemComponent, _extends({}, props, {
|
|
1865
|
+
css: Object.assign({}, props.css, {
|
|
1853
1866
|
gridArea: props.area,
|
|
1854
1867
|
gridColumnStart: props.colStart,
|
|
1855
1868
|
gridColumnEnd: props.colEnd,
|
|
1856
1869
|
gridRowStart: props.rowStart,
|
|
1857
1870
|
gridRowEnd: props.rowEnd
|
|
1858
|
-
})
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1871
|
+
}),
|
|
1872
|
+
__self: undefined,
|
|
1873
|
+
__source: {
|
|
1874
|
+
fileName: _jsxFileName$10,
|
|
1875
|
+
lineNumber: 265,
|
|
1876
|
+
columnNumber: 5
|
|
1877
|
+
}
|
|
1878
|
+
}), children);
|
|
1862
1879
|
};
|
|
1863
1880
|
GridItem.propTypes = {
|
|
1864
1881
|
gridArea: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
@@ -1871,38 +1888,8 @@ GridItem.propTypes = {
|
|
|
1871
1888
|
};
|
|
1872
1889
|
GridItem.displayName = 'Grid Item';
|
|
1873
1890
|
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
1877
|
-
var source = arguments[i];
|
|
1878
|
-
for (var key in source) {
|
|
1879
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
1880
|
-
target[key] = source[key];
|
|
1881
|
-
}
|
|
1882
|
-
}
|
|
1883
|
-
}
|
|
1884
|
-
return target;
|
|
1885
|
-
};
|
|
1886
|
-
return _extends.apply(this, arguments);
|
|
1887
|
-
}
|
|
1888
|
-
function _objectDestructuringEmpty(obj) {
|
|
1889
|
-
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
1890
|
-
}
|
|
1891
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
1892
|
-
if (source == null) return {};
|
|
1893
|
-
var target = {};
|
|
1894
|
-
var sourceKeys = Object.keys(source);
|
|
1895
|
-
var key, i;
|
|
1896
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
1897
|
-
key = sourceKeys[i];
|
|
1898
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
1899
|
-
target[key] = source[key];
|
|
1900
|
-
}
|
|
1901
|
-
return target;
|
|
1902
|
-
}
|
|
1903
|
-
|
|
1904
|
-
const _excluded$y = ["children", "isCollapse", "css", "contentHeader"];
|
|
1905
|
-
var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
|
|
1891
|
+
const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
|
|
1892
|
+
var _jsxFileName$$ = "/Users/majoo/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
|
|
1906
1893
|
const StyledDiv$2 = styled(Flex$1, {
|
|
1907
1894
|
justifyContent: 'center',
|
|
1908
1895
|
marginLeft: 'auto',
|
|
@@ -1945,7 +1932,7 @@ const PageContainer = _ref => {
|
|
|
1945
1932
|
css,
|
|
1946
1933
|
contentHeader
|
|
1947
1934
|
} = _ref,
|
|
1948
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1935
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
|
|
1949
1936
|
return /*#__PURE__*/React__default.createElement(StyledDiv$2, _extends({
|
|
1950
1937
|
id: "retina-container",
|
|
1951
1938
|
css: Object.assign({
|
|
@@ -1954,7 +1941,7 @@ const PageContainer = _ref => {
|
|
|
1954
1941
|
}, props, {
|
|
1955
1942
|
__self: undefined,
|
|
1956
1943
|
__source: {
|
|
1957
|
-
fileName: _jsxFileName
|
|
1944
|
+
fileName: _jsxFileName$$,
|
|
1958
1945
|
lineNumber: 43,
|
|
1959
1946
|
columnNumber: 5
|
|
1960
1947
|
}
|
|
@@ -2313,6 +2300,43 @@ Paragraph.defaultProps = {
|
|
|
2313
2300
|
};
|
|
2314
2301
|
Paragraph.displayName = 'Paragraph';
|
|
2315
2302
|
|
|
2303
|
+
/******************************************************************************
|
|
2304
|
+
Copyright (c) Microsoft Corporation.
|
|
2305
|
+
|
|
2306
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
2307
|
+
purpose with or without fee is hereby granted.
|
|
2308
|
+
|
|
2309
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
2310
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
2311
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
2312
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
2313
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
2314
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2315
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
2316
|
+
***************************************************************************** */
|
|
2317
|
+
|
|
2318
|
+
function __rest(s, e) {
|
|
2319
|
+
var t = {};
|
|
2320
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2321
|
+
t[p] = s[p];
|
|
2322
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2323
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2324
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2325
|
+
t[p[i]] = s[p[i]];
|
|
2326
|
+
}
|
|
2327
|
+
return t;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
2331
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
2332
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
2333
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
2334
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
2335
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
2336
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
2337
|
+
});
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2316
2340
|
const StyledLink = styled('a', {
|
|
2317
2341
|
fontSize: '$short-content-regular',
|
|
2318
2342
|
textDecoration: 'underline',
|
|
@@ -2366,8 +2390,8 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
2366
2390
|
}), void 0);
|
|
2367
2391
|
});
|
|
2368
2392
|
|
|
2369
|
-
const _excluded$
|
|
2370
|
-
var _jsxFileName$
|
|
2393
|
+
const _excluded$z = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
|
|
2394
|
+
var _jsxFileName$_ = "/Users/majoo/majoo-ui/packages/react/src/components/banner/Banner.js";
|
|
2371
2395
|
const Context$2 = /*#__PURE__*/React.createContext();
|
|
2372
2396
|
const StyledBanner = styled(Flex$1, {
|
|
2373
2397
|
maxWidth: '100%',
|
|
@@ -2469,7 +2493,7 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
|
|
|
2469
2493
|
}, props, {
|
|
2470
2494
|
__self: undefined,
|
|
2471
2495
|
__source: {
|
|
2472
|
-
fileName: _jsxFileName$
|
|
2496
|
+
fileName: _jsxFileName$_,
|
|
2473
2497
|
lineNumber: 111,
|
|
2474
2498
|
columnNumber: 3
|
|
2475
2499
|
}
|
|
@@ -2490,7 +2514,7 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
|
|
|
2490
2514
|
}, props, {
|
|
2491
2515
|
__self: undefined,
|
|
2492
2516
|
__source: {
|
|
2493
|
-
fileName: _jsxFileName$
|
|
2517
|
+
fileName: _jsxFileName$_,
|
|
2494
2518
|
lineNumber: 128,
|
|
2495
2519
|
columnNumber: 3
|
|
2496
2520
|
}
|
|
@@ -2526,7 +2550,7 @@ const BannerLink = ({
|
|
|
2526
2550
|
return /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
2527
2551
|
__self: undefined,
|
|
2528
2552
|
__source: {
|
|
2529
|
-
fileName: _jsxFileName$
|
|
2553
|
+
fileName: _jsxFileName$_,
|
|
2530
2554
|
lineNumber: 159,
|
|
2531
2555
|
columnNumber: 5
|
|
2532
2556
|
}
|
|
@@ -2538,7 +2562,7 @@ const BannerLink = ({
|
|
|
2538
2562
|
color: variant ? generateVariant(variant) : generateVariant(value.variant),
|
|
2539
2563
|
__self: undefined,
|
|
2540
2564
|
__source: {
|
|
2541
|
-
fileName: _jsxFileName$
|
|
2565
|
+
fileName: _jsxFileName$_,
|
|
2542
2566
|
lineNumber: 161,
|
|
2543
2567
|
columnNumber: 9
|
|
2544
2568
|
}
|
|
@@ -2564,7 +2588,7 @@ BannerLink.defaultProps = {
|
|
|
2564
2588
|
const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
2565
2589
|
__self: undefined,
|
|
2566
2590
|
__source: {
|
|
2567
|
-
fileName: _jsxFileName$
|
|
2591
|
+
fileName: _jsxFileName$_,
|
|
2568
2592
|
lineNumber: 193,
|
|
2569
2593
|
columnNumber: 3
|
|
2570
2594
|
}
|
|
@@ -2576,7 +2600,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
|
2576
2600
|
},
|
|
2577
2601
|
__self: undefined,
|
|
2578
2602
|
__source: {
|
|
2579
|
-
fileName: _jsxFileName$
|
|
2603
|
+
fileName: _jsxFileName$_,
|
|
2580
2604
|
lineNumber: 195,
|
|
2581
2605
|
columnNumber: 7
|
|
2582
2606
|
}
|
|
@@ -2585,7 +2609,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
|
2585
2609
|
size: "16px",
|
|
2586
2610
|
__self: undefined,
|
|
2587
2611
|
__source: {
|
|
2588
|
-
fileName: _jsxFileName$
|
|
2612
|
+
fileName: _jsxFileName$_,
|
|
2589
2613
|
lineNumber: 202,
|
|
2590
2614
|
columnNumber: 9
|
|
2591
2615
|
}
|
|
@@ -2596,14 +2620,14 @@ const SingleTagBanner = props => {
|
|
|
2596
2620
|
direction: "column",
|
|
2597
2621
|
__self: undefined,
|
|
2598
2622
|
__source: {
|
|
2599
|
-
fileName: _jsxFileName$
|
|
2623
|
+
fileName: _jsxFileName$_,
|
|
2600
2624
|
lineNumber: 210,
|
|
2601
2625
|
columnNumber: 5
|
|
2602
2626
|
}
|
|
2603
2627
|
}, /*#__PURE__*/React.createElement(Flex$1, {
|
|
2604
2628
|
__self: undefined,
|
|
2605
2629
|
__source: {
|
|
2606
|
-
fileName: _jsxFileName$
|
|
2630
|
+
fileName: _jsxFileName$_,
|
|
2607
2631
|
lineNumber: 211,
|
|
2608
2632
|
columnNumber: 7
|
|
2609
2633
|
}
|
|
@@ -2612,7 +2636,7 @@ const SingleTagBanner = props => {
|
|
|
2612
2636
|
direction: "row",
|
|
2613
2637
|
__self: undefined,
|
|
2614
2638
|
__source: {
|
|
2615
|
-
fileName: _jsxFileName$
|
|
2639
|
+
fileName: _jsxFileName$_,
|
|
2616
2640
|
lineNumber: 212,
|
|
2617
2641
|
columnNumber: 9
|
|
2618
2642
|
}
|
|
@@ -2622,7 +2646,7 @@ const SingleTagBanner = props => {
|
|
|
2622
2646
|
},
|
|
2623
2647
|
__self: undefined,
|
|
2624
2648
|
__source: {
|
|
2625
|
-
fileName: _jsxFileName$
|
|
2649
|
+
fileName: _jsxFileName$_,
|
|
2626
2650
|
lineNumber: 213,
|
|
2627
2651
|
columnNumber: 27
|
|
2628
2652
|
}
|
|
@@ -2635,21 +2659,21 @@ const SingleTagBanner = props => {
|
|
|
2635
2659
|
},
|
|
2636
2660
|
__self: undefined,
|
|
2637
2661
|
__source: {
|
|
2638
|
-
fileName: _jsxFileName$
|
|
2662
|
+
fileName: _jsxFileName$_,
|
|
2639
2663
|
lineNumber: 214,
|
|
2640
2664
|
columnNumber: 11
|
|
2641
2665
|
}
|
|
2642
2666
|
}, props.title && /*#__PURE__*/React.createElement(BannerTitle, {
|
|
2643
2667
|
__self: undefined,
|
|
2644
2668
|
__source: {
|
|
2645
|
-
fileName: _jsxFileName$
|
|
2669
|
+
fileName: _jsxFileName$_,
|
|
2646
2670
|
lineNumber: 222,
|
|
2647
2671
|
columnNumber: 29
|
|
2648
2672
|
}
|
|
2649
2673
|
}, props.title), props.description && /*#__PURE__*/React.createElement(BannerDescription, {
|
|
2650
2674
|
__self: undefined,
|
|
2651
2675
|
__source: {
|
|
2652
|
-
fileName: _jsxFileName$
|
|
2676
|
+
fileName: _jsxFileName$_,
|
|
2653
2677
|
lineNumber: 223,
|
|
2654
2678
|
columnNumber: 35
|
|
2655
2679
|
}
|
|
@@ -2662,7 +2686,7 @@ const SingleTagBanner = props => {
|
|
|
2662
2686
|
closeCenter: !props.title && !props.link,
|
|
2663
2687
|
__self: undefined,
|
|
2664
2688
|
__source: {
|
|
2665
|
-
fileName: _jsxFileName$
|
|
2689
|
+
fileName: _jsxFileName$_,
|
|
2666
2690
|
lineNumber: 226,
|
|
2667
2691
|
columnNumber: 9
|
|
2668
2692
|
}
|
|
@@ -2671,7 +2695,7 @@ const SingleTagBanner = props => {
|
|
|
2671
2695
|
size: "16px",
|
|
2672
2696
|
__self: undefined,
|
|
2673
2697
|
__source: {
|
|
2674
|
-
fileName: _jsxFileName$
|
|
2698
|
+
fileName: _jsxFileName$_,
|
|
2675
2699
|
lineNumber: 234,
|
|
2676
2700
|
columnNumber: 11
|
|
2677
2701
|
}
|
|
@@ -2684,7 +2708,7 @@ const SingleTagBanner = props => {
|
|
|
2684
2708
|
variant: props.variant,
|
|
2685
2709
|
__self: undefined,
|
|
2686
2710
|
__source: {
|
|
2687
|
-
fileName: _jsxFileName$
|
|
2711
|
+
fileName: _jsxFileName$_,
|
|
2688
2712
|
lineNumber: 238,
|
|
2689
2713
|
columnNumber: 9
|
|
2690
2714
|
}
|
|
@@ -2703,7 +2727,7 @@ const Banner = _ref => {
|
|
|
2703
2727
|
bannerBlock,
|
|
2704
2728
|
icon
|
|
2705
2729
|
} = _ref,
|
|
2706
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2730
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$z);
|
|
2707
2731
|
return /*#__PURE__*/React.createElement(StyledBanner, _extends({
|
|
2708
2732
|
variant: variant,
|
|
2709
2733
|
hasAction: !!onClick,
|
|
@@ -2712,7 +2736,7 @@ const Banner = _ref => {
|
|
|
2712
2736
|
}, rest, {
|
|
2713
2737
|
__self: undefined,
|
|
2714
2738
|
__source: {
|
|
2715
|
-
fileName: _jsxFileName$
|
|
2739
|
+
fileName: _jsxFileName$_,
|
|
2716
2740
|
lineNumber: 260,
|
|
2717
2741
|
columnNumber: 5
|
|
2718
2742
|
}
|
|
@@ -2729,7 +2753,7 @@ const Banner = _ref => {
|
|
|
2729
2753
|
},
|
|
2730
2754
|
__self: undefined,
|
|
2731
2755
|
__source: {
|
|
2732
|
-
fileName: _jsxFileName$
|
|
2756
|
+
fileName: _jsxFileName$_,
|
|
2733
2757
|
lineNumber: 262,
|
|
2734
2758
|
columnNumber: 9
|
|
2735
2759
|
}
|
|
@@ -2740,7 +2764,7 @@ const Banner = _ref => {
|
|
|
2740
2764
|
},
|
|
2741
2765
|
__self: undefined,
|
|
2742
2766
|
__source: {
|
|
2743
|
-
fileName: _jsxFileName$
|
|
2767
|
+
fileName: _jsxFileName$_,
|
|
2744
2768
|
lineNumber: 269,
|
|
2745
2769
|
columnNumber: 11
|
|
2746
2770
|
}
|
|
@@ -2755,7 +2779,7 @@ const Banner = _ref => {
|
|
|
2755
2779
|
onRemove: onRemove,
|
|
2756
2780
|
__self: undefined,
|
|
2757
2781
|
__source: {
|
|
2758
|
-
fileName: _jsxFileName$
|
|
2782
|
+
fileName: _jsxFileName$_,
|
|
2759
2783
|
lineNumber: 272,
|
|
2760
2784
|
columnNumber: 9
|
|
2761
2785
|
}
|
|
@@ -3367,8 +3391,8 @@ Card.defaultProps = {
|
|
|
3367
3391
|
Card.Label = StyledLabel$2;
|
|
3368
3392
|
Card.Description = StyledDescription$3;
|
|
3369
3393
|
|
|
3370
|
-
const _excluded$
|
|
3371
|
-
var _jsxFileName$
|
|
3394
|
+
const _excluded$y = ["children"];
|
|
3395
|
+
var _jsxFileName$Z = "/Users/majoo/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
|
|
3372
3396
|
const BreadcrumbStyle = styled('nav', {
|
|
3373
3397
|
wordWrap: 'break-word',
|
|
3374
3398
|
'& li+li:before': {
|
|
@@ -3413,7 +3437,7 @@ const BreadcrumbLinkBase = props => {
|
|
|
3413
3437
|
return /*#__PURE__*/React__default.createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
|
|
3414
3438
|
__self: undefined,
|
|
3415
3439
|
__source: {
|
|
3416
|
-
fileName: _jsxFileName$
|
|
3440
|
+
fileName: _jsxFileName$Z,
|
|
3417
3441
|
lineNumber: 42,
|
|
3418
3442
|
columnNumber: 10
|
|
3419
3443
|
}
|
|
@@ -3423,19 +3447,19 @@ const BreadcrumbBase = _ref => {
|
|
|
3423
3447
|
let {
|
|
3424
3448
|
children
|
|
3425
3449
|
} = _ref,
|
|
3426
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3450
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
|
|
3427
3451
|
return /*#__PURE__*/React__default.createElement(BreadcrumbStyle, _extends({}, rest, {
|
|
3428
3452
|
"aria-label": "breadcrumb",
|
|
3429
3453
|
__self: undefined,
|
|
3430
3454
|
__source: {
|
|
3431
|
-
fileName: _jsxFileName$
|
|
3455
|
+
fileName: _jsxFileName$Z,
|
|
3432
3456
|
lineNumber: 47,
|
|
3433
3457
|
columnNumber: 5
|
|
3434
3458
|
}
|
|
3435
3459
|
}), /*#__PURE__*/React__default.createElement(Ol, {
|
|
3436
3460
|
__self: undefined,
|
|
3437
3461
|
__source: {
|
|
3438
|
-
fileName: _jsxFileName$
|
|
3462
|
+
fileName: _jsxFileName$Z,
|
|
3439
3463
|
lineNumber: 48,
|
|
3440
3464
|
columnNumber: 7
|
|
3441
3465
|
}
|
|
@@ -3687,8 +3711,8 @@ Badge.defaultProps = {
|
|
|
3687
3711
|
};
|
|
3688
3712
|
Badge.displayName = 'Badge';
|
|
3689
3713
|
|
|
3690
|
-
const _excluded$
|
|
3691
|
-
var _jsxFileName$
|
|
3714
|
+
const _excluded$x = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
|
|
3715
|
+
var _jsxFileName$Y = "/Users/majoo/majoo-ui/packages/react/src/components/avatar/Avatar.js";
|
|
3692
3716
|
const StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
3693
3717
|
width: '32px',
|
|
3694
3718
|
height: '32px',
|
|
@@ -3732,7 +3756,7 @@ function Avatar(_ref) {
|
|
|
3732
3756
|
onClick,
|
|
3733
3757
|
css
|
|
3734
3758
|
} = _ref,
|
|
3735
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3759
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
3736
3760
|
return /*#__PURE__*/React__default.createElement(StyledAvatar, _extends({
|
|
3737
3761
|
className: className,
|
|
3738
3762
|
onClick: onClick,
|
|
@@ -3740,7 +3764,7 @@ function Avatar(_ref) {
|
|
|
3740
3764
|
}, props, {
|
|
3741
3765
|
__self: this,
|
|
3742
3766
|
__source: {
|
|
3743
|
-
fileName: _jsxFileName$
|
|
3767
|
+
fileName: _jsxFileName$Y,
|
|
3744
3768
|
lineNumber: 46,
|
|
3745
3769
|
columnNumber: 5
|
|
3746
3770
|
}
|
|
@@ -3750,7 +3774,7 @@ function Avatar(_ref) {
|
|
|
3750
3774
|
onLoadingStatusChange: onLoadingStatusChange,
|
|
3751
3775
|
__self: this,
|
|
3752
3776
|
__source: {
|
|
3753
|
-
fileName: _jsxFileName$
|
|
3777
|
+
fileName: _jsxFileName$Y,
|
|
3754
3778
|
lineNumber: 47,
|
|
3755
3779
|
columnNumber: 21
|
|
3756
3780
|
}
|
|
@@ -3758,21 +3782,21 @@ function Avatar(_ref) {
|
|
|
3758
3782
|
delayMs: delayMs,
|
|
3759
3783
|
__self: this,
|
|
3760
3784
|
__source: {
|
|
3761
|
-
fileName: _jsxFileName$
|
|
3785
|
+
fileName: _jsxFileName$Y,
|
|
3762
3786
|
lineNumber: 48,
|
|
3763
3787
|
columnNumber: 7
|
|
3764
3788
|
}
|
|
3765
3789
|
}, children !== undefined ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children) : /*#__PURE__*/React__default.createElement(StyledIcon, {
|
|
3766
3790
|
__self: this,
|
|
3767
3791
|
__source: {
|
|
3768
|
-
fileName: _jsxFileName$
|
|
3792
|
+
fileName: _jsxFileName$Y,
|
|
3769
3793
|
lineNumber: 52,
|
|
3770
3794
|
columnNumber: 11
|
|
3771
3795
|
}
|
|
3772
3796
|
}, /*#__PURE__*/React__default.createElement(UserFilled, {
|
|
3773
3797
|
__self: this,
|
|
3774
3798
|
__source: {
|
|
3775
|
-
fileName: _jsxFileName$
|
|
3799
|
+
fileName: _jsxFileName$Y,
|
|
3776
3800
|
lineNumber: 53,
|
|
3777
3801
|
columnNumber: 13
|
|
3778
3802
|
}
|
|
@@ -3789,8 +3813,8 @@ Avatar.defaultProps = {
|
|
|
3789
3813
|
delayMs: 0
|
|
3790
3814
|
};
|
|
3791
3815
|
|
|
3792
|
-
const _excluded$
|
|
3793
|
-
var _jsxFileName$
|
|
3816
|
+
const _excluded$w = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
|
|
3817
|
+
var _jsxFileName$X = "/Users/majoo/majoo-ui/packages/react/src/components/image/Image.js";
|
|
3794
3818
|
const ContainerFallback = styled(Flex$1, {
|
|
3795
3819
|
boxSizing: 'border-box',
|
|
3796
3820
|
border: '2px dashed #C0C4C4',
|
|
@@ -3839,7 +3863,7 @@ function Image(_ref) {
|
|
|
3839
3863
|
cssFallback,
|
|
3840
3864
|
rounded
|
|
3841
3865
|
} = _ref,
|
|
3842
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3866
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
3843
3867
|
const {
|
|
3844
3868
|
t
|
|
3845
3869
|
} = useTranslation('translation');
|
|
@@ -3858,7 +3882,7 @@ function Image(_ref) {
|
|
|
3858
3882
|
}, props, {
|
|
3859
3883
|
__self: this,
|
|
3860
3884
|
__source: {
|
|
3861
|
-
fileName: _jsxFileName$
|
|
3885
|
+
fileName: _jsxFileName$X,
|
|
3862
3886
|
lineNumber: 61,
|
|
3863
3887
|
columnNumber: 7
|
|
3864
3888
|
}
|
|
@@ -3874,14 +3898,14 @@ function Image(_ref) {
|
|
|
3874
3898
|
}, cssFallback),
|
|
3875
3899
|
__self: this,
|
|
3876
3900
|
__source: {
|
|
3877
|
-
fileName: _jsxFileName$
|
|
3901
|
+
fileName: _jsxFileName$X,
|
|
3878
3902
|
lineNumber: 75,
|
|
3879
3903
|
columnNumber: 7
|
|
3880
3904
|
}
|
|
3881
3905
|
}, /*#__PURE__*/React__default.createElement(TextFallback, {
|
|
3882
3906
|
__self: this,
|
|
3883
3907
|
__source: {
|
|
3884
|
-
fileName: _jsxFileName$
|
|
3908
|
+
fileName: _jsxFileName$X,
|
|
3885
3909
|
lineNumber: 76,
|
|
3886
3910
|
columnNumber: 9
|
|
3887
3911
|
}
|
|
@@ -4475,6 +4499,8 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
4475
4499
|
|
|
4476
4500
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
4477
4501
|
|
|
4502
|
+
const _excluded$v = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
|
|
4503
|
+
var _jsxFileName$W = "/Users/majoo/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
|
|
4478
4504
|
const {
|
|
4479
4505
|
zIndices: zIndices$2
|
|
4480
4506
|
} = foundations;
|
|
@@ -4561,10 +4587,10 @@ const TooltipBase = styled(TooltipPrimitive.Root, {
|
|
|
4561
4587
|
color: 'ligth'
|
|
4562
4588
|
}
|
|
4563
4589
|
});
|
|
4590
|
+
|
|
4564
4591
|
// Exports
|
|
4565
4592
|
const Provider = TooltipPrimitive.Provider;
|
|
4566
4593
|
const TooltipTrigger = TooltipPrimitive.Trigger;
|
|
4567
|
-
const TooltipContent = StyledContent$6;
|
|
4568
4594
|
const dark = {
|
|
4569
4595
|
color: foundations.colors.white,
|
|
4570
4596
|
backgroundColor: foundations.colors.gray800
|
|
@@ -4579,8 +4605,8 @@ const darkArrow = {
|
|
|
4579
4605
|
const lightArrow = {
|
|
4580
4606
|
fill: foundations.colors.bgWhite
|
|
4581
4607
|
};
|
|
4582
|
-
const Tooltip$1 =
|
|
4583
|
-
|
|
4608
|
+
const Tooltip$1 = _ref => {
|
|
4609
|
+
let {
|
|
4584
4610
|
children,
|
|
4585
4611
|
label,
|
|
4586
4612
|
color,
|
|
@@ -4589,52 +4615,98 @@ const Tooltip$1 = _a => {
|
|
|
4589
4615
|
side,
|
|
4590
4616
|
align,
|
|
4591
4617
|
delayDuration
|
|
4592
|
-
} =
|
|
4593
|
-
rest =
|
|
4618
|
+
} = _ref,
|
|
4619
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
4594
4620
|
const [open, setOpen] = useState(false);
|
|
4595
|
-
return
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4621
|
+
return /*#__PURE__*/React__default.createElement(Provider, {
|
|
4622
|
+
__self: undefined,
|
|
4623
|
+
__source: {
|
|
4624
|
+
fileName: _jsxFileName$W,
|
|
4625
|
+
lineNumber: 92,
|
|
4626
|
+
columnNumber: 5
|
|
4627
|
+
}
|
|
4628
|
+
}, /*#__PURE__*/React__default.createElement(TooltipBase, _extends({}, rest, {
|
|
4629
|
+
open: withClick ? open : undefined,
|
|
4630
|
+
delayDuration: delayDuration,
|
|
4631
|
+
__self: undefined,
|
|
4632
|
+
__source: {
|
|
4633
|
+
fileName: _jsxFileName$W,
|
|
4634
|
+
lineNumber: 93,
|
|
4635
|
+
columnNumber: 7
|
|
4636
|
+
}
|
|
4637
|
+
}), /*#__PURE__*/React__default.createElement(TooltipTrigger, {
|
|
4638
|
+
asChild: true,
|
|
4639
|
+
__self: undefined,
|
|
4640
|
+
__source: {
|
|
4641
|
+
fileName: _jsxFileName$W,
|
|
4642
|
+
lineNumber: 94,
|
|
4643
|
+
columnNumber: 9
|
|
4644
|
+
}
|
|
4645
|
+
}, /*#__PURE__*/React__default.createElement(TriggerSpan, {
|
|
4646
|
+
onClick: () => withClick && !open && setOpen(true),
|
|
4647
|
+
__self: undefined,
|
|
4648
|
+
__source: {
|
|
4649
|
+
fileName: _jsxFileName$W,
|
|
4650
|
+
lineNumber: 95,
|
|
4651
|
+
columnNumber: 11
|
|
4652
|
+
}
|
|
4653
|
+
}, children)), /*#__PURE__*/React__default.createElement(TooltipPrimitive.Portal, {
|
|
4654
|
+
__self: undefined,
|
|
4655
|
+
__source: {
|
|
4656
|
+
fileName: _jsxFileName$W,
|
|
4657
|
+
lineNumber: 97,
|
|
4658
|
+
columnNumber: 9
|
|
4659
|
+
}
|
|
4660
|
+
}, /*#__PURE__*/React__default.createElement(StyledContent$6, {
|
|
4661
|
+
align: align,
|
|
4662
|
+
side: side,
|
|
4663
|
+
sideOffset: 5,
|
|
4664
|
+
css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
|
|
4665
|
+
onPointerDownOutside: () => setTimeout(() => {
|
|
4666
|
+
setOpen(false);
|
|
4667
|
+
}, 100),
|
|
4668
|
+
__self: undefined,
|
|
4669
|
+
__source: {
|
|
4670
|
+
fileName: _jsxFileName$W,
|
|
4671
|
+
lineNumber: 98,
|
|
4672
|
+
columnNumber: 11
|
|
4673
|
+
}
|
|
4674
|
+
}, label, /*#__PURE__*/React__default.createElement(StyledArrow$1, {
|
|
4675
|
+
offset: 10,
|
|
4676
|
+
css: color === 'dark' ? darkArrow : lightArrow,
|
|
4677
|
+
__self: undefined,
|
|
4678
|
+
__source: {
|
|
4679
|
+
fileName: _jsxFileName$W,
|
|
4680
|
+
lineNumber: 110,
|
|
4681
|
+
columnNumber: 13
|
|
4682
|
+
}
|
|
4683
|
+
})))));
|
|
4684
|
+
};
|
|
4685
|
+
Tooltip$1.propTypes = {
|
|
4686
|
+
children: PropTypes.node,
|
|
4687
|
+
label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
4688
|
+
color: PropTypes.string,
|
|
4689
|
+
side: PropTypes.oneOf(['top', 'bottom', 'right', 'left']),
|
|
4690
|
+
align: PropTypes.oneOf(['start', 'center', 'end'])
|
|
4626
4691
|
};
|
|
4627
4692
|
Tooltip$1.defaultProps = {
|
|
4628
4693
|
color: 'dark',
|
|
4629
4694
|
side: 'bottom',
|
|
4630
4695
|
align: 'center',
|
|
4631
4696
|
label: '',
|
|
4632
|
-
children:
|
|
4697
|
+
children: /*#__PURE__*/React__default.createElement("div", {
|
|
4698
|
+
__self: undefined,
|
|
4699
|
+
__source: {
|
|
4700
|
+
fileName: _jsxFileName$W,
|
|
4701
|
+
lineNumber: 131,
|
|
4702
|
+
columnNumber: 13
|
|
4703
|
+
}
|
|
4704
|
+
}),
|
|
4633
4705
|
delayDuration: 200
|
|
4634
4706
|
};
|
|
4635
4707
|
|
|
4636
|
-
const _excluded$
|
|
4637
|
-
var _jsxFileName$
|
|
4708
|
+
const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
|
|
4709
|
+
var _jsxFileName$V = "/Users/majoo/majoo-ui/packages/react/src/components/progress/Progress.js";
|
|
4638
4710
|
const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
4639
4711
|
position: 'relative',
|
|
4640
4712
|
overflow: 'hidden',
|
|
@@ -4752,7 +4824,7 @@ function Progress$1(_ref) {
|
|
|
4752
4824
|
rounded,
|
|
4753
4825
|
width
|
|
4754
4826
|
} = _ref,
|
|
4755
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4827
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
4756
4828
|
return /*#__PURE__*/React__default.createElement(StyledProgress$1, _extends({
|
|
4757
4829
|
className: className,
|
|
4758
4830
|
value: value,
|
|
@@ -4767,7 +4839,7 @@ function Progress$1(_ref) {
|
|
|
4767
4839
|
}, props, {
|
|
4768
4840
|
__self: this,
|
|
4769
4841
|
__source: {
|
|
4770
|
-
fileName: _jsxFileName$
|
|
4842
|
+
fileName: _jsxFileName$V,
|
|
4771
4843
|
lineNumber: 88,
|
|
4772
4844
|
columnNumber: 5
|
|
4773
4845
|
}
|
|
@@ -4780,7 +4852,7 @@ function Progress$1(_ref) {
|
|
|
4780
4852
|
},
|
|
4781
4853
|
__self: this,
|
|
4782
4854
|
__source: {
|
|
4783
|
-
fileName: _jsxFileName$
|
|
4855
|
+
fileName: _jsxFileName$V,
|
|
4784
4856
|
lineNumber: 89,
|
|
4785
4857
|
columnNumber: 7
|
|
4786
4858
|
}
|
|
@@ -5445,8 +5517,8 @@ function useMediaQuery(query) {
|
|
|
5445
5517
|
return matches;
|
|
5446
5518
|
}
|
|
5447
5519
|
|
|
5448
|
-
const _excluded$
|
|
5449
|
-
var _jsxFileName$
|
|
5520
|
+
const _excluded$t = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
|
|
5521
|
+
var _jsxFileName$U = "/Users/majoo/majoo-ui/packages/react/src/components/toast/Toast.js";
|
|
5450
5522
|
const TOAST_WIDTH = 576;
|
|
5451
5523
|
const ANIMATION_DURATION = 400;
|
|
5452
5524
|
const TOP_RIGHT_POSITION = 'top-right';
|
|
@@ -5614,7 +5686,7 @@ const Toast = _ref => {
|
|
|
5614
5686
|
captionOfAction,
|
|
5615
5687
|
hrefOfAction
|
|
5616
5688
|
} = _ref,
|
|
5617
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5689
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
5618
5690
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
5619
5691
|
const isMobile = useMediaQuery(`(max-width: 767px`);
|
|
5620
5692
|
const close = React.useCallback(() => {
|
|
@@ -5643,7 +5715,7 @@ const Toast = _ref => {
|
|
|
5643
5715
|
onExited: onRemove,
|
|
5644
5716
|
__self: undefined,
|
|
5645
5717
|
__source: {
|
|
5646
|
-
fileName: _jsxFileName$
|
|
5718
|
+
fileName: _jsxFileName$U,
|
|
5647
5719
|
lineNumber: 216,
|
|
5648
5720
|
columnNumber: 5
|
|
5649
5721
|
}
|
|
@@ -5658,7 +5730,7 @@ const Toast = _ref => {
|
|
|
5658
5730
|
}, rest, {
|
|
5659
5731
|
__self: undefined,
|
|
5660
5732
|
__source: {
|
|
5661
|
-
fileName: _jsxFileName$
|
|
5733
|
+
fileName: _jsxFileName$U,
|
|
5662
5734
|
lineNumber: 227,
|
|
5663
5735
|
columnNumber: 9
|
|
5664
5736
|
}
|
|
@@ -5668,7 +5740,7 @@ const Toast = _ref => {
|
|
|
5668
5740
|
onClick: onClick,
|
|
5669
5741
|
__self: undefined,
|
|
5670
5742
|
__source: {
|
|
5671
|
-
fileName: _jsxFileName$
|
|
5743
|
+
fileName: _jsxFileName$U,
|
|
5672
5744
|
lineNumber: 235,
|
|
5673
5745
|
columnNumber: 11
|
|
5674
5746
|
}
|
|
@@ -5676,7 +5748,7 @@ const Toast = _ref => {
|
|
|
5676
5748
|
direction: "column",
|
|
5677
5749
|
__self: undefined,
|
|
5678
5750
|
__source: {
|
|
5679
|
-
fileName: _jsxFileName$
|
|
5751
|
+
fileName: _jsxFileName$U,
|
|
5680
5752
|
lineNumber: 236,
|
|
5681
5753
|
columnNumber: 13
|
|
5682
5754
|
}
|
|
@@ -5684,7 +5756,7 @@ const Toast = _ref => {
|
|
|
5684
5756
|
direction: "row",
|
|
5685
5757
|
__self: undefined,
|
|
5686
5758
|
__source: {
|
|
5687
|
-
fileName: _jsxFileName$
|
|
5759
|
+
fileName: _jsxFileName$U,
|
|
5688
5760
|
lineNumber: 237,
|
|
5689
5761
|
columnNumber: 15
|
|
5690
5762
|
}
|
|
@@ -5692,7 +5764,7 @@ const Toast = _ref => {
|
|
|
5692
5764
|
variant: variant,
|
|
5693
5765
|
__self: undefined,
|
|
5694
5766
|
__source: {
|
|
5695
|
-
fileName: _jsxFileName$
|
|
5767
|
+
fileName: _jsxFileName$U,
|
|
5696
5768
|
lineNumber: 238,
|
|
5697
5769
|
columnNumber: 17
|
|
5698
5770
|
}
|
|
@@ -5704,7 +5776,7 @@ const Toast = _ref => {
|
|
|
5704
5776
|
},
|
|
5705
5777
|
__self: undefined,
|
|
5706
5778
|
__source: {
|
|
5707
|
-
fileName: _jsxFileName$
|
|
5779
|
+
fileName: _jsxFileName$U,
|
|
5708
5780
|
lineNumber: 239,
|
|
5709
5781
|
columnNumber: 17
|
|
5710
5782
|
}
|
|
@@ -5712,7 +5784,7 @@ const Toast = _ref => {
|
|
|
5712
5784
|
justify: "between",
|
|
5713
5785
|
__self: undefined,
|
|
5714
5786
|
__source: {
|
|
5715
|
-
fileName: _jsxFileName$
|
|
5787
|
+
fileName: _jsxFileName$U,
|
|
5716
5788
|
lineNumber: 247,
|
|
5717
5789
|
columnNumber: 21
|
|
5718
5790
|
}
|
|
@@ -5727,7 +5799,7 @@ const Toast = _ref => {
|
|
|
5727
5799
|
},
|
|
5728
5800
|
__self: undefined,
|
|
5729
5801
|
__source: {
|
|
5730
|
-
fileName: _jsxFileName$
|
|
5802
|
+
fileName: _jsxFileName$U,
|
|
5731
5803
|
lineNumber: 248,
|
|
5732
5804
|
columnNumber: 23
|
|
5733
5805
|
}
|
|
@@ -5736,7 +5808,7 @@ const Toast = _ref => {
|
|
|
5736
5808
|
color: "secondary",
|
|
5737
5809
|
__self: undefined,
|
|
5738
5810
|
__source: {
|
|
5739
|
-
fileName: _jsxFileName$
|
|
5811
|
+
fileName: _jsxFileName$U,
|
|
5740
5812
|
lineNumber: 262,
|
|
5741
5813
|
columnNumber: 19
|
|
5742
5814
|
}
|
|
@@ -5751,7 +5823,7 @@ const Toast = _ref => {
|
|
|
5751
5823
|
hasTitle: !!title,
|
|
5752
5824
|
__self: undefined,
|
|
5753
5825
|
__source: {
|
|
5754
|
-
fileName: _jsxFileName$
|
|
5826
|
+
fileName: _jsxFileName$U,
|
|
5755
5827
|
lineNumber: 266,
|
|
5756
5828
|
columnNumber: 17
|
|
5757
5829
|
}
|
|
@@ -5760,7 +5832,7 @@ const Toast = _ref => {
|
|
|
5760
5832
|
size: "16px",
|
|
5761
5833
|
__self: undefined,
|
|
5762
5834
|
__source: {
|
|
5763
|
-
fileName: _jsxFileName$
|
|
5835
|
+
fileName: _jsxFileName$U,
|
|
5764
5836
|
lineNumber: 276,
|
|
5765
5837
|
columnNumber: 19
|
|
5766
5838
|
}
|
|
@@ -5775,7 +5847,7 @@ const Toast = _ref => {
|
|
|
5775
5847
|
},
|
|
5776
5848
|
__self: undefined,
|
|
5777
5849
|
__source: {
|
|
5778
|
-
fileName: _jsxFileName$
|
|
5850
|
+
fileName: _jsxFileName$U,
|
|
5779
5851
|
lineNumber: 280,
|
|
5780
5852
|
columnNumber: 17
|
|
5781
5853
|
}
|
|
@@ -5797,8 +5869,8 @@ Toast.defaultProps = {
|
|
|
5797
5869
|
dismissAfter: 5000
|
|
5798
5870
|
};
|
|
5799
5871
|
|
|
5800
|
-
const _excluded$
|
|
5801
|
-
var _jsxFileName$
|
|
5872
|
+
const _excluded$s = ["preventDuplicate"];
|
|
5873
|
+
var _jsxFileName$T = "/Users/majoo/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
|
|
5802
5874
|
const ToastBox = styled(Flex$1, {
|
|
5803
5875
|
position: 'fixed',
|
|
5804
5876
|
variants: {
|
|
@@ -5845,7 +5917,7 @@ const ToastContainer = ({
|
|
|
5845
5917
|
},
|
|
5846
5918
|
__self: undefined,
|
|
5847
5919
|
__source: {
|
|
5848
|
-
fileName: _jsxFileName$
|
|
5920
|
+
fileName: _jsxFileName$T,
|
|
5849
5921
|
lineNumber: 43,
|
|
5850
5922
|
columnNumber: 5
|
|
5851
5923
|
}
|
|
@@ -5853,7 +5925,7 @@ const ToastContainer = ({
|
|
|
5853
5925
|
position: position,
|
|
5854
5926
|
__self: undefined,
|
|
5855
5927
|
__source: {
|
|
5856
|
-
fileName: _jsxFileName$
|
|
5928
|
+
fileName: _jsxFileName$T,
|
|
5857
5929
|
lineNumber: 44,
|
|
5858
5930
|
columnNumber: 7
|
|
5859
5931
|
}
|
|
@@ -5861,14 +5933,14 @@ const ToastContainer = ({
|
|
|
5861
5933
|
const {
|
|
5862
5934
|
preventDuplicate
|
|
5863
5935
|
} = item,
|
|
5864
|
-
toast = _objectWithoutPropertiesLoose(item, _excluded$
|
|
5936
|
+
toast = _objectWithoutPropertiesLoose(item, _excluded$s);
|
|
5865
5937
|
return /*#__PURE__*/React.createElement(Toast, _extends({
|
|
5866
5938
|
key: preventDuplicate ? toast.id : `${toast.id}-${index}`,
|
|
5867
5939
|
onRemove: () => removeToast(toast.id)
|
|
5868
5940
|
}, toast, {
|
|
5869
5941
|
__self: undefined,
|
|
5870
5942
|
__source: {
|
|
5871
|
-
fileName: _jsxFileName$
|
|
5943
|
+
fileName: _jsxFileName$T,
|
|
5872
5944
|
lineNumber: 47,
|
|
5873
5945
|
columnNumber: 18
|
|
5874
5946
|
}
|
|
@@ -7093,45 +7165,37 @@ const catchError = e => {
|
|
|
7093
7165
|
return message;
|
|
7094
7166
|
};
|
|
7095
7167
|
|
|
7096
|
-
const _excluded$
|
|
7097
|
-
var _jsxFileName$
|
|
7168
|
+
const _excluded$r = ["id", "disabledOfflineIntercept"];
|
|
7169
|
+
var _jsxFileName$S = "/Users/majoo/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
|
|
7098
7170
|
let toastCount = 0;
|
|
7099
7171
|
const ToastProvider = ({
|
|
7100
7172
|
children,
|
|
7101
7173
|
translations
|
|
7102
7174
|
}) => {
|
|
7103
|
-
console.warn({
|
|
7104
|
-
providerTranslations: translations
|
|
7105
|
-
});
|
|
7106
7175
|
const isOnline = useNavigatorOnLine();
|
|
7107
7176
|
const [toasts, setToasts] = useState([]);
|
|
7108
7177
|
const {
|
|
7109
7178
|
t,
|
|
7110
7179
|
i18n
|
|
7111
7180
|
} = useTranslation(['MajooUI/toast', 'translation']);
|
|
7112
|
-
const catchError$1 = useCallback((e, values
|
|
7181
|
+
const catchError$1 = useCallback((e, values) => {
|
|
7113
7182
|
let errorMsg = catchError(e);
|
|
7114
|
-
if (
|
|
7115
|
-
errorMsg =
|
|
7183
|
+
if (translations && translations[errorMsg]) {
|
|
7184
|
+
errorMsg = translations[errorMsg][i18n.language];
|
|
7116
7185
|
}
|
|
7117
7186
|
if (values) {
|
|
7118
7187
|
Object.keys(values).forEach(key => {
|
|
7119
7188
|
errorMsg = errorMsg.replace(`$${key}`, values[key]);
|
|
7120
7189
|
});
|
|
7121
7190
|
}
|
|
7122
|
-
console.warn({
|
|
7123
|
-
trans,
|
|
7124
|
-
e,
|
|
7125
|
-
errorMsg
|
|
7126
|
-
});
|
|
7127
7191
|
return errorMsg;
|
|
7128
7192
|
}, [translations, i18n.language]);
|
|
7129
|
-
const createToastInstance = useCallback(
|
|
7193
|
+
const createToastInstance = useCallback(toast => {
|
|
7130
7194
|
const {
|
|
7131
7195
|
id,
|
|
7132
7196
|
disabledOfflineIntercept
|
|
7133
7197
|
} = toast,
|
|
7134
|
-
rest = _objectWithoutPropertiesLoose(toast, _excluded$
|
|
7198
|
+
rest = _objectWithoutPropertiesLoose(toast, _excluded$r);
|
|
7135
7199
|
|
|
7136
7200
|
// eslint-disable-next-line no-plusplus
|
|
7137
7201
|
const uniqueId = ++toastCount;
|
|
@@ -7144,23 +7208,15 @@ const ToastProvider = ({
|
|
|
7144
7208
|
onClickOfAction: false,
|
|
7145
7209
|
isExternalOfAction: false
|
|
7146
7210
|
};
|
|
7147
|
-
console.warn({
|
|
7148
|
-
toast,
|
|
7149
|
-
isValidElement: /*#__PURE__*/React.isValidElement(toast.description),
|
|
7150
|
-
trans
|
|
7151
|
-
});
|
|
7152
7211
|
return Object.assign({
|
|
7153
7212
|
id: toastId,
|
|
7154
7213
|
position: TOP_RIGHT_POSITION
|
|
7155
7214
|
}, rest, {
|
|
7156
|
-
description: /*#__PURE__*/React.isValidElement(toast.description) ? toast.description : catchError$1(toast.description, toast.values
|
|
7215
|
+
description: /*#__PURE__*/React.isValidElement(toast.description) ? toast.description : catchError$1(toast.description, toast.values)
|
|
7157
7216
|
}, !isOnline && !disabledOfflineIntercept && offlineInstance);
|
|
7158
7217
|
}, [isOnline, t, translations, i18n.language]);
|
|
7159
7218
|
const addToast = React.useCallback(toast => {
|
|
7160
|
-
|
|
7161
|
-
addToastTranslations: translations
|
|
7162
|
-
});
|
|
7163
|
-
const toastInstance = createToastInstance(toast, translations);
|
|
7219
|
+
const toastInstance = createToastInstance(toast);
|
|
7164
7220
|
setToasts(toastItems => {
|
|
7165
7221
|
if (!toastItems.some(currToast => toast.id === currToast.id) || !toast.preventDuplicate) {
|
|
7166
7222
|
return [...toastItems, toastInstance];
|
|
@@ -7168,7 +7224,7 @@ const ToastProvider = ({
|
|
|
7168
7224
|
return toastItems;
|
|
7169
7225
|
});
|
|
7170
7226
|
return toastInstance;
|
|
7171
|
-
}, [createToastInstance
|
|
7227
|
+
}, [createToastInstance]);
|
|
7172
7228
|
const removeToast = React.useCallback(id => {
|
|
7173
7229
|
setToasts(toastItems => toastItems.filter(t => t.id !== id));
|
|
7174
7230
|
}, [setToasts]);
|
|
@@ -7179,8 +7235,8 @@ const ToastProvider = ({
|
|
|
7179
7235
|
},
|
|
7180
7236
|
__self: undefined,
|
|
7181
7237
|
__source: {
|
|
7182
|
-
fileName: _jsxFileName$
|
|
7183
|
-
lineNumber:
|
|
7238
|
+
fileName: _jsxFileName$S,
|
|
7239
|
+
lineNumber: 81,
|
|
7184
7240
|
columnNumber: 5
|
|
7185
7241
|
}
|
|
7186
7242
|
}, children, /*#__PURE__*/React.createElement(ToastContainer, {
|
|
@@ -7188,8 +7244,8 @@ const ToastProvider = ({
|
|
|
7188
7244
|
position: TOP_RIGHT_POSITION,
|
|
7189
7245
|
__self: undefined,
|
|
7190
7246
|
__source: {
|
|
7191
|
-
fileName: _jsxFileName$
|
|
7192
|
-
lineNumber:
|
|
7247
|
+
fileName: _jsxFileName$S,
|
|
7248
|
+
lineNumber: 83,
|
|
7193
7249
|
columnNumber: 7
|
|
7194
7250
|
}
|
|
7195
7251
|
}), /*#__PURE__*/React.createElement(ToastContainer, {
|
|
@@ -7197,8 +7253,8 @@ const ToastProvider = ({
|
|
|
7197
7253
|
position: TOP_LEFT_POSITION,
|
|
7198
7254
|
__self: undefined,
|
|
7199
7255
|
__source: {
|
|
7200
|
-
fileName: _jsxFileName$
|
|
7201
|
-
lineNumber:
|
|
7256
|
+
fileName: _jsxFileName$S,
|
|
7257
|
+
lineNumber: 87,
|
|
7202
7258
|
columnNumber: 7
|
|
7203
7259
|
}
|
|
7204
7260
|
}), /*#__PURE__*/React.createElement(ToastContainer, {
|
|
@@ -7206,8 +7262,8 @@ const ToastProvider = ({
|
|
|
7206
7262
|
position: BOTTOM_RIGHT_POSITION,
|
|
7207
7263
|
__self: undefined,
|
|
7208
7264
|
__source: {
|
|
7209
|
-
fileName: _jsxFileName$
|
|
7210
|
-
lineNumber:
|
|
7265
|
+
fileName: _jsxFileName$S,
|
|
7266
|
+
lineNumber: 91,
|
|
7211
7267
|
columnNumber: 7
|
|
7212
7268
|
}
|
|
7213
7269
|
}), /*#__PURE__*/React.createElement(ToastContainer, {
|
|
@@ -7215,8 +7271,8 @@ const ToastProvider = ({
|
|
|
7215
7271
|
position: BOTTOM_LEFT_POSITION,
|
|
7216
7272
|
__self: undefined,
|
|
7217
7273
|
__source: {
|
|
7218
|
-
fileName: _jsxFileName$
|
|
7219
|
-
lineNumber:
|
|
7274
|
+
fileName: _jsxFileName$S,
|
|
7275
|
+
lineNumber: 95,
|
|
7220
7276
|
columnNumber: 7
|
|
7221
7277
|
}
|
|
7222
7278
|
}));
|
|
@@ -7228,8 +7284,8 @@ const ConditionalWrapper = ({
|
|
|
7228
7284
|
children
|
|
7229
7285
|
}) => condition ? wrapper(children) : children;
|
|
7230
7286
|
|
|
7231
|
-
const _excluded$
|
|
7232
|
-
var _jsxFileName$
|
|
7287
|
+
const _excluded$q = ["count", "maxCount", "css"];
|
|
7288
|
+
var _jsxFileName$R = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
|
|
7233
7289
|
const formLabelClassStyle = {
|
|
7234
7290
|
alignItems: 'start !important',
|
|
7235
7291
|
'& > div': {
|
|
@@ -7332,7 +7388,7 @@ const FormGroup = _ref => {
|
|
|
7332
7388
|
maxCount,
|
|
7333
7389
|
css
|
|
7334
7390
|
} = _ref,
|
|
7335
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7391
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
|
|
7336
7392
|
const withCounter = Boolean(count || maxCount);
|
|
7337
7393
|
return /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
|
|
7338
7394
|
condition: withCounter,
|
|
@@ -7341,7 +7397,7 @@ const FormGroup = _ref => {
|
|
|
7341
7397
|
css: css,
|
|
7342
7398
|
__self: undefined,
|
|
7343
7399
|
__source: {
|
|
7344
|
-
fileName: _jsxFileName$
|
|
7400
|
+
fileName: _jsxFileName$R,
|
|
7345
7401
|
lineNumber: 115,
|
|
7346
7402
|
columnNumber: 9
|
|
7347
7403
|
}
|
|
@@ -7354,14 +7410,14 @@ const FormGroup = _ref => {
|
|
|
7354
7410
|
},
|
|
7355
7411
|
__self: undefined,
|
|
7356
7412
|
__source: {
|
|
7357
|
-
fileName: _jsxFileName$
|
|
7413
|
+
fileName: _jsxFileName$R,
|
|
7358
7414
|
lineNumber: 116,
|
|
7359
7415
|
columnNumber: 11
|
|
7360
7416
|
}
|
|
7361
7417
|
}, count, "/", maxCount), children),
|
|
7362
7418
|
__self: undefined,
|
|
7363
7419
|
__source: {
|
|
7364
|
-
fileName: _jsxFileName$
|
|
7420
|
+
fileName: _jsxFileName$R,
|
|
7365
7421
|
lineNumber: 112,
|
|
7366
7422
|
columnNumber: 5
|
|
7367
7423
|
}
|
|
@@ -7371,7 +7427,7 @@ const FormGroup = _ref => {
|
|
|
7371
7427
|
}, props, {
|
|
7372
7428
|
__self: undefined,
|
|
7373
7429
|
__source: {
|
|
7374
|
-
fileName: _jsxFileName$
|
|
7430
|
+
fileName: _jsxFileName$R,
|
|
7375
7431
|
lineNumber: 123,
|
|
7376
7432
|
columnNumber: 7
|
|
7377
7433
|
}
|
|
@@ -7379,8 +7435,8 @@ const FormGroup = _ref => {
|
|
|
7379
7435
|
};
|
|
7380
7436
|
FormGroup.displayName = 'FormGroup';
|
|
7381
7437
|
|
|
7382
|
-
const _excluded$
|
|
7383
|
-
var _jsxFileName$
|
|
7438
|
+
const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
|
|
7439
|
+
var _jsxFileName$Q = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
|
|
7384
7440
|
const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
|
|
7385
7441
|
display: 'inline-block',
|
|
7386
7442
|
fontSize: '$label',
|
|
@@ -7412,13 +7468,13 @@ const FormLabel = _ref => {
|
|
|
7412
7468
|
maxCount,
|
|
7413
7469
|
labelCss
|
|
7414
7470
|
} = _ref,
|
|
7415
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7471
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
7416
7472
|
return /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
7417
7473
|
justify: "between",
|
|
7418
7474
|
className: "form-label",
|
|
7419
7475
|
__self: undefined,
|
|
7420
7476
|
__source: {
|
|
7421
|
-
fileName: _jsxFileName$
|
|
7477
|
+
fileName: _jsxFileName$Q,
|
|
7422
7478
|
lineNumber: 36,
|
|
7423
7479
|
columnNumber: 5
|
|
7424
7480
|
}
|
|
@@ -7428,7 +7484,7 @@ const FormLabel = _ref => {
|
|
|
7428
7484
|
}, props, {
|
|
7429
7485
|
__self: undefined,
|
|
7430
7486
|
__source: {
|
|
7431
|
-
fileName: _jsxFileName$
|
|
7487
|
+
fileName: _jsxFileName$Q,
|
|
7432
7488
|
lineNumber: 37,
|
|
7433
7489
|
columnNumber: 7
|
|
7434
7490
|
}
|
|
@@ -7438,7 +7494,7 @@ const FormLabel = _ref => {
|
|
|
7438
7494
|
css: labelCss,
|
|
7439
7495
|
__self: undefined,
|
|
7440
7496
|
__source: {
|
|
7441
|
-
fileName: _jsxFileName$
|
|
7497
|
+
fileName: _jsxFileName$Q,
|
|
7442
7498
|
lineNumber: 38,
|
|
7443
7499
|
columnNumber: 9
|
|
7444
7500
|
}
|
|
@@ -7453,7 +7509,7 @@ const FormLabel = _ref => {
|
|
|
7453
7509
|
},
|
|
7454
7510
|
__self: undefined,
|
|
7455
7511
|
__source: {
|
|
7456
|
-
fileName: _jsxFileName$
|
|
7512
|
+
fileName: _jsxFileName$Q,
|
|
7457
7513
|
lineNumber: 42,
|
|
7458
7514
|
columnNumber: 11
|
|
7459
7515
|
}
|
|
@@ -7461,14 +7517,14 @@ const FormLabel = _ref => {
|
|
|
7461
7517
|
label: tooltipLabel,
|
|
7462
7518
|
__self: undefined,
|
|
7463
7519
|
__source: {
|
|
7464
|
-
fileName: _jsxFileName$
|
|
7520
|
+
fileName: _jsxFileName$Q,
|
|
7465
7521
|
lineNumber: 56,
|
|
7466
7522
|
columnNumber: 11
|
|
7467
7523
|
}
|
|
7468
7524
|
}, /*#__PURE__*/React__default.createElement(StyledHelpIcon, {
|
|
7469
7525
|
__self: undefined,
|
|
7470
7526
|
__source: {
|
|
7471
|
-
fileName: _jsxFileName$
|
|
7527
|
+
fileName: _jsxFileName$Q,
|
|
7472
7528
|
lineNumber: 57,
|
|
7473
7529
|
columnNumber: 13
|
|
7474
7530
|
}
|
|
@@ -7477,7 +7533,7 @@ const FormLabel = _ref => {
|
|
|
7477
7533
|
color: "disable",
|
|
7478
7534
|
__self: undefined,
|
|
7479
7535
|
__source: {
|
|
7480
|
-
fileName: _jsxFileName$
|
|
7536
|
+
fileName: _jsxFileName$Q,
|
|
7481
7537
|
lineNumber: 62,
|
|
7482
7538
|
columnNumber: 9
|
|
7483
7539
|
}
|
|
@@ -7496,8 +7552,8 @@ FormLabel.defaultProps = {
|
|
|
7496
7552
|
};
|
|
7497
7553
|
FormLabel.displayName = 'FormLabel';
|
|
7498
7554
|
|
|
7499
|
-
const _excluded$
|
|
7500
|
-
var _jsxFileName$
|
|
7555
|
+
const _excluded$o = ["children", "error", "errorMessage"];
|
|
7556
|
+
var _jsxFileName$P = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
|
|
7501
7557
|
const StyledHelper = styled(Text$1, {
|
|
7502
7558
|
display: 'inline-block',
|
|
7503
7559
|
color: '$textSecondary',
|
|
@@ -7515,7 +7571,7 @@ const FormHelper = _ref => {
|
|
|
7515
7571
|
error,
|
|
7516
7572
|
errorMessage
|
|
7517
7573
|
} = _ref,
|
|
7518
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7574
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
7519
7575
|
const errorByMessage = !!errorMessage;
|
|
7520
7576
|
if (error === undefined && errorByMessage) {
|
|
7521
7577
|
return /*#__PURE__*/React__default.createElement(StyledHelper, _extends({
|
|
@@ -7525,7 +7581,7 @@ const FormHelper = _ref => {
|
|
|
7525
7581
|
}, props, {
|
|
7526
7582
|
__self: undefined,
|
|
7527
7583
|
__source: {
|
|
7528
|
-
fileName: _jsxFileName$
|
|
7584
|
+
fileName: _jsxFileName$P,
|
|
7529
7585
|
lineNumber: 22,
|
|
7530
7586
|
columnNumber: 7
|
|
7531
7587
|
}
|
|
@@ -7541,7 +7597,7 @@ const FormHelper = _ref => {
|
|
|
7541
7597
|
}, props, {
|
|
7542
7598
|
__self: undefined,
|
|
7543
7599
|
__source: {
|
|
7544
|
-
fileName: _jsxFileName$
|
|
7600
|
+
fileName: _jsxFileName$P,
|
|
7545
7601
|
lineNumber: 31,
|
|
7546
7602
|
columnNumber: 5
|
|
7547
7603
|
}
|
|
@@ -7552,7 +7608,7 @@ FormHelper.propTypes = {
|
|
|
7552
7608
|
};
|
|
7553
7609
|
FormHelper.displayName = 'FormHelper';
|
|
7554
7610
|
|
|
7555
|
-
var _jsxFileName$
|
|
7611
|
+
var _jsxFileName$O = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
|
|
7556
7612
|
const CheckboxContext = /*#__PURE__*/createContext();
|
|
7557
7613
|
const CheckboxGroup = ({
|
|
7558
7614
|
children,
|
|
@@ -7593,7 +7649,7 @@ const CheckboxGroup = ({
|
|
|
7593
7649
|
value: values,
|
|
7594
7650
|
__self: undefined,
|
|
7595
7651
|
__source: {
|
|
7596
|
-
fileName: _jsxFileName$
|
|
7652
|
+
fileName: _jsxFileName$O,
|
|
7597
7653
|
lineNumber: 35,
|
|
7598
7654
|
columnNumber: 5
|
|
7599
7655
|
}
|
|
@@ -7610,7 +7666,7 @@ CheckboxGroup.defaultProps = {
|
|
|
7610
7666
|
};
|
|
7611
7667
|
CheckboxGroup.displayName = 'CheckboxGroup';
|
|
7612
7668
|
|
|
7613
|
-
var _jsxFileName$
|
|
7669
|
+
var _jsxFileName$N = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
|
|
7614
7670
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7615
7671
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7616
7672
|
xmlSpace: "preserve",
|
|
@@ -7627,7 +7683,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
7627
7683
|
}, props, {
|
|
7628
7684
|
__self: undefined,
|
|
7629
7685
|
__source: {
|
|
7630
|
-
fileName: _jsxFileName$
|
|
7686
|
+
fileName: _jsxFileName$N,
|
|
7631
7687
|
lineNumber: 4,
|
|
7632
7688
|
columnNumber: 3
|
|
7633
7689
|
}
|
|
@@ -7639,7 +7695,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
7639
7695
|
},
|
|
7640
7696
|
__self: undefined,
|
|
7641
7697
|
__source: {
|
|
7642
|
-
fileName: _jsxFileName$
|
|
7698
|
+
fileName: _jsxFileName$N,
|
|
7643
7699
|
lineNumber: 19,
|
|
7644
7700
|
columnNumber: 5
|
|
7645
7701
|
}
|
|
@@ -7651,13 +7707,13 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
7651
7707
|
},
|
|
7652
7708
|
__self: undefined,
|
|
7653
7709
|
__source: {
|
|
7654
|
-
fileName: _jsxFileName$
|
|
7710
|
+
fileName: _jsxFileName$N,
|
|
7655
7711
|
lineNumber: 26,
|
|
7656
7712
|
columnNumber: 5
|
|
7657
7713
|
}
|
|
7658
7714
|
}));
|
|
7659
7715
|
|
|
7660
|
-
var _jsxFileName$
|
|
7716
|
+
var _jsxFileName$M = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
|
|
7661
7717
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7662
7718
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7663
7719
|
xmlSpace: "preserve",
|
|
@@ -7674,7 +7730,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
7674
7730
|
}, props, {
|
|
7675
7731
|
__self: undefined,
|
|
7676
7732
|
__source: {
|
|
7677
|
-
fileName: _jsxFileName$
|
|
7733
|
+
fileName: _jsxFileName$M,
|
|
7678
7734
|
lineNumber: 4,
|
|
7679
7735
|
columnNumber: 3
|
|
7680
7736
|
}
|
|
@@ -7686,7 +7742,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
7686
7742
|
},
|
|
7687
7743
|
__self: undefined,
|
|
7688
7744
|
__source: {
|
|
7689
|
-
fileName: _jsxFileName$
|
|
7745
|
+
fileName: _jsxFileName$M,
|
|
7690
7746
|
lineNumber: 19,
|
|
7691
7747
|
columnNumber: 5
|
|
7692
7748
|
}
|
|
@@ -7698,14 +7754,14 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
7698
7754
|
d: "M14.31 10.41H3.9v-2.6h10.41z",
|
|
7699
7755
|
__self: undefined,
|
|
7700
7756
|
__source: {
|
|
7701
|
-
fileName: _jsxFileName$
|
|
7757
|
+
fileName: _jsxFileName$M,
|
|
7702
7758
|
lineNumber: 26,
|
|
7703
7759
|
columnNumber: 5
|
|
7704
7760
|
}
|
|
7705
7761
|
}));
|
|
7706
7762
|
|
|
7707
|
-
const _excluded$
|
|
7708
|
-
var _jsxFileName$
|
|
7763
|
+
const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
|
|
7764
|
+
var _jsxFileName$L = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
|
|
7709
7765
|
const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
|
|
7710
7766
|
alignItems: 'center',
|
|
7711
7767
|
display: 'flex',
|
|
@@ -7763,7 +7819,7 @@ const Checkbox = _ref => {
|
|
|
7763
7819
|
index,
|
|
7764
7820
|
value
|
|
7765
7821
|
} = _ref,
|
|
7766
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7822
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
|
|
7767
7823
|
const context = useContext(CheckboxContext);
|
|
7768
7824
|
const [isChecked, setChecked] = useState(false);
|
|
7769
7825
|
useEffect(() => {
|
|
@@ -7784,28 +7840,28 @@ const Checkbox = _ref => {
|
|
|
7784
7840
|
}, props, {
|
|
7785
7841
|
__self: undefined,
|
|
7786
7842
|
__source: {
|
|
7787
|
-
fileName: _jsxFileName$
|
|
7843
|
+
fileName: _jsxFileName$L,
|
|
7788
7844
|
lineNumber: 64,
|
|
7789
7845
|
columnNumber: 5
|
|
7790
7846
|
}
|
|
7791
7847
|
}), /*#__PURE__*/React__default.createElement(StyledIndicator$2, {
|
|
7792
7848
|
__self: undefined,
|
|
7793
7849
|
__source: {
|
|
7794
|
-
fileName: _jsxFileName$
|
|
7850
|
+
fileName: _jsxFileName$L,
|
|
7795
7851
|
lineNumber: 77,
|
|
7796
7852
|
columnNumber: 7
|
|
7797
7853
|
}
|
|
7798
7854
|
}, indeterminate ? /*#__PURE__*/React__default.createElement(SvgMinusOutline, {
|
|
7799
7855
|
__self: undefined,
|
|
7800
7856
|
__source: {
|
|
7801
|
-
fileName: _jsxFileName$
|
|
7857
|
+
fileName: _jsxFileName$L,
|
|
7802
7858
|
lineNumber: 77,
|
|
7803
7859
|
columnNumber: 41
|
|
7804
7860
|
}
|
|
7805
7861
|
}) : /*#__PURE__*/React__default.createElement(CheckOutline$1, {
|
|
7806
7862
|
__self: undefined,
|
|
7807
7863
|
__source: {
|
|
7808
|
-
fileName: _jsxFileName$
|
|
7864
|
+
fileName: _jsxFileName$L,
|
|
7809
7865
|
lineNumber: 77,
|
|
7810
7866
|
columnNumber: 60
|
|
7811
7867
|
}
|
|
@@ -7818,14 +7874,14 @@ const InputCheckbox = _ref2 => {
|
|
|
7818
7874
|
gap: 4,
|
|
7819
7875
|
__self: undefined,
|
|
7820
7876
|
__source: {
|
|
7821
|
-
fileName: _jsxFileName$
|
|
7877
|
+
fileName: _jsxFileName$L,
|
|
7822
7878
|
lineNumber: 84,
|
|
7823
7879
|
columnNumber: 5
|
|
7824
7880
|
}
|
|
7825
7881
|
}, /*#__PURE__*/React__default.createElement(Checkbox, _extends({}, props, {
|
|
7826
7882
|
__self: undefined,
|
|
7827
7883
|
__source: {
|
|
7828
|
-
fileName: _jsxFileName$
|
|
7884
|
+
fileName: _jsxFileName$L,
|
|
7829
7885
|
lineNumber: 85,
|
|
7830
7886
|
columnNumber: 7
|
|
7831
7887
|
}
|
|
@@ -7841,14 +7897,14 @@ const InputCheckbox = _ref2 => {
|
|
|
7841
7897
|
},
|
|
7842
7898
|
__self: undefined,
|
|
7843
7899
|
__source: {
|
|
7844
|
-
fileName: _jsxFileName$
|
|
7900
|
+
fileName: _jsxFileName$L,
|
|
7845
7901
|
lineNumber: 86,
|
|
7846
7902
|
columnNumber: 7
|
|
7847
7903
|
}
|
|
7848
7904
|
}, props.label)) : /*#__PURE__*/React__default.createElement(Checkbox, _extends({}, props, {
|
|
7849
7905
|
__self: undefined,
|
|
7850
7906
|
__source: {
|
|
7851
|
-
fileName: _jsxFileName$
|
|
7907
|
+
fileName: _jsxFileName$L,
|
|
7852
7908
|
lineNumber: 101,
|
|
7853
7909
|
columnNumber: 5
|
|
7854
7910
|
}
|
|
@@ -7865,8 +7921,8 @@ InputCheckbox.propTypes = {
|
|
|
7865
7921
|
};
|
|
7866
7922
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
7867
7923
|
|
|
7868
|
-
const _excluded$
|
|
7869
|
-
var _jsxFileName$
|
|
7924
|
+
const _excluded$m = ["children", "size"];
|
|
7925
|
+
var _jsxFileName$K = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
|
|
7870
7926
|
const InputGroupStyle = styled('div', {
|
|
7871
7927
|
display: 'flex',
|
|
7872
7928
|
width: '100%',
|
|
@@ -8005,7 +8061,7 @@ const InputGroup = _ref => {
|
|
|
8005
8061
|
children,
|
|
8006
8062
|
size = 'lg'
|
|
8007
8063
|
} = _ref,
|
|
8008
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8064
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$m);
|
|
8009
8065
|
const isLetter = children.some(child => child.type.name === 'InputPrefix' || child.type.name === 'InputSuffix' || child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
|
|
8010
8066
|
const isElement = children.some(child => child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
|
|
8011
8067
|
const clone = children.map((child, index) => {
|
|
@@ -8028,7 +8084,7 @@ const InputGroup = _ref => {
|
|
|
8028
8084
|
isElement: isElement,
|
|
8029
8085
|
__self: undefined,
|
|
8030
8086
|
__source: {
|
|
8031
|
-
fileName: _jsxFileName$
|
|
8087
|
+
fileName: _jsxFileName$K,
|
|
8032
8088
|
lineNumber: 169,
|
|
8033
8089
|
columnNumber: 10
|
|
8034
8090
|
}
|
|
@@ -8204,8 +8260,8 @@ InputSuffix.propTypes = {
|
|
|
8204
8260
|
children: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
|
|
8205
8261
|
};
|
|
8206
8262
|
|
|
8207
|
-
const _excluded$
|
|
8208
|
-
var _jsxFileName$
|
|
8263
|
+
const _excluded$l = ["disabled", "readOnly"];
|
|
8264
|
+
var _jsxFileName$J = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
|
|
8209
8265
|
const disabledStyle = {
|
|
8210
8266
|
backgroundColor: '$formDisable',
|
|
8211
8267
|
color: '$textDisable',
|
|
@@ -8378,7 +8434,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
8378
8434
|
disabled,
|
|
8379
8435
|
readOnly
|
|
8380
8436
|
} = _ref,
|
|
8381
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8437
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
8382
8438
|
return /*#__PURE__*/React__default.createElement(StyledInput$1, _extends({
|
|
8383
8439
|
ref: ref,
|
|
8384
8440
|
disabled: disabled,
|
|
@@ -8388,7 +8444,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
8388
8444
|
}, props, {
|
|
8389
8445
|
__self: undefined,
|
|
8390
8446
|
__source: {
|
|
8391
|
-
fileName: _jsxFileName$
|
|
8447
|
+
fileName: _jsxFileName$J,
|
|
8392
8448
|
lineNumber: 185,
|
|
8393
8449
|
columnNumber: 3
|
|
8394
8450
|
}
|
|
@@ -8406,8 +8462,8 @@ InputText.propTypes = {
|
|
|
8406
8462
|
};
|
|
8407
8463
|
InputText.displayName = 'InputText';
|
|
8408
8464
|
|
|
8409
|
-
const _excluded$
|
|
8410
|
-
var _jsxFileName$
|
|
8465
|
+
const _excluded$k = ["disabled", "readOnly"];
|
|
8466
|
+
var _jsxFileName$I = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
|
|
8411
8467
|
const StyledTextArea = styled(StyledInput$1, {
|
|
8412
8468
|
variants: {
|
|
8413
8469
|
size: {
|
|
@@ -8428,7 +8484,7 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
8428
8484
|
disabled,
|
|
8429
8485
|
readOnly
|
|
8430
8486
|
} = _ref,
|
|
8431
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8487
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
|
|
8432
8488
|
const textareaRef = useRef(null);
|
|
8433
8489
|
useEffect(() => {
|
|
8434
8490
|
if (textareaRef.current) {
|
|
@@ -8462,7 +8518,7 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
8462
8518
|
}, props, {
|
|
8463
8519
|
__self: undefined,
|
|
8464
8520
|
__source: {
|
|
8465
|
-
fileName: _jsxFileName$
|
|
8521
|
+
fileName: _jsxFileName$I,
|
|
8466
8522
|
lineNumber: 51,
|
|
8467
8523
|
columnNumber: 5
|
|
8468
8524
|
}
|
|
@@ -8485,21 +8541,21 @@ InputTextArea.defaultProps = {
|
|
|
8485
8541
|
|
|
8486
8542
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
8487
8543
|
|
|
8488
|
-
var _jsxFileName$
|
|
8544
|
+
var _jsxFileName$H = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
|
|
8489
8545
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
8490
8546
|
function InputRadioGroup(props) {
|
|
8491
8547
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
8492
8548
|
value: props,
|
|
8493
8549
|
__self: this,
|
|
8494
8550
|
__source: {
|
|
8495
|
-
fileName: _jsxFileName$
|
|
8551
|
+
fileName: _jsxFileName$H,
|
|
8496
8552
|
lineNumber: 13,
|
|
8497
8553
|
columnNumber: 7
|
|
8498
8554
|
}
|
|
8499
8555
|
}, /*#__PURE__*/React__default.createElement(RadioGroup, _extends({}, props, {
|
|
8500
8556
|
__self: this,
|
|
8501
8557
|
__source: {
|
|
8502
|
-
fileName: _jsxFileName$
|
|
8558
|
+
fileName: _jsxFileName$H,
|
|
8503
8559
|
lineNumber: 14,
|
|
8504
8560
|
columnNumber: 9
|
|
8505
8561
|
}
|
|
@@ -8518,8 +8574,8 @@ InputRadioGroup.propTypes = {
|
|
|
8518
8574
|
};
|
|
8519
8575
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
8520
8576
|
|
|
8521
|
-
const _excluded$
|
|
8522
|
-
var _jsxFileName$
|
|
8577
|
+
const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
8578
|
+
var _jsxFileName$G = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
|
|
8523
8579
|
const INDICATOR_BASE_STYLES = {
|
|
8524
8580
|
alignItems: 'center',
|
|
8525
8581
|
display: 'flex',
|
|
@@ -8684,7 +8740,7 @@ const InputRadio = _ref => {
|
|
|
8684
8740
|
description,
|
|
8685
8741
|
readOnly
|
|
8686
8742
|
} = _ref,
|
|
8687
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8743
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
8688
8744
|
function renderInputType(type, checkedValue, onValueChange) {
|
|
8689
8745
|
switch (type) {
|
|
8690
8746
|
case 'number':
|
|
@@ -8697,7 +8753,7 @@ const InputRadio = _ref => {
|
|
|
8697
8753
|
asChild: true,
|
|
8698
8754
|
__self: this,
|
|
8699
8755
|
__source: {
|
|
8700
|
-
fileName: _jsxFileName$
|
|
8756
|
+
fileName: _jsxFileName$G,
|
|
8701
8757
|
lineNumber: 171,
|
|
8702
8758
|
columnNumber: 11
|
|
8703
8759
|
}
|
|
@@ -8713,7 +8769,7 @@ const InputRadio = _ref => {
|
|
|
8713
8769
|
asChild: true,
|
|
8714
8770
|
__self: this,
|
|
8715
8771
|
__source: {
|
|
8716
|
-
fileName: _jsxFileName$
|
|
8772
|
+
fileName: _jsxFileName$G,
|
|
8717
8773
|
lineNumber: 184,
|
|
8718
8774
|
columnNumber: 11
|
|
8719
8775
|
}
|
|
@@ -8732,7 +8788,7 @@ const InputRadio = _ref => {
|
|
|
8732
8788
|
},
|
|
8733
8789
|
__self: this,
|
|
8734
8790
|
__source: {
|
|
8735
|
-
fileName: _jsxFileName$
|
|
8791
|
+
fileName: _jsxFileName$G,
|
|
8736
8792
|
lineNumber: 198,
|
|
8737
8793
|
columnNumber: 11
|
|
8738
8794
|
}
|
|
@@ -8742,7 +8798,7 @@ const InputRadio = _ref => {
|
|
|
8742
8798
|
return /*#__PURE__*/React__default.createElement(InputRadioContext.Consumer, {
|
|
8743
8799
|
__self: undefined,
|
|
8744
8800
|
__source: {
|
|
8745
|
-
fileName: _jsxFileName$
|
|
8801
|
+
fileName: _jsxFileName$G,
|
|
8746
8802
|
lineNumber: 217,
|
|
8747
8803
|
columnNumber: 5
|
|
8748
8804
|
}
|
|
@@ -8759,7 +8815,7 @@ const InputRadio = _ref => {
|
|
|
8759
8815
|
outlined: outlined,
|
|
8760
8816
|
__self: undefined,
|
|
8761
8817
|
__source: {
|
|
8762
|
-
fileName: _jsxFileName$
|
|
8818
|
+
fileName: _jsxFileName$G,
|
|
8763
8819
|
lineNumber: 222,
|
|
8764
8820
|
columnNumber: 11
|
|
8765
8821
|
}
|
|
@@ -8774,7 +8830,7 @@ const InputRadio = _ref => {
|
|
|
8774
8830
|
css: css,
|
|
8775
8831
|
__self: undefined,
|
|
8776
8832
|
__source: {
|
|
8777
|
-
fileName: _jsxFileName$
|
|
8833
|
+
fileName: _jsxFileName$G,
|
|
8778
8834
|
lineNumber: 223,
|
|
8779
8835
|
columnNumber: 13
|
|
8780
8836
|
}
|
|
@@ -8783,7 +8839,7 @@ const InputRadio = _ref => {
|
|
|
8783
8839
|
gap: 4,
|
|
8784
8840
|
__self: undefined,
|
|
8785
8841
|
__source: {
|
|
8786
|
-
fileName: _jsxFileName$
|
|
8842
|
+
fileName: _jsxFileName$G,
|
|
8787
8843
|
lineNumber: 233,
|
|
8788
8844
|
columnNumber: 15
|
|
8789
8845
|
}
|
|
@@ -8794,14 +8850,14 @@ const InputRadio = _ref => {
|
|
|
8794
8850
|
}, props, {
|
|
8795
8851
|
__self: undefined,
|
|
8796
8852
|
__source: {
|
|
8797
|
-
fileName: _jsxFileName$
|
|
8853
|
+
fileName: _jsxFileName$G,
|
|
8798
8854
|
lineNumber: 234,
|
|
8799
8855
|
columnNumber: 17
|
|
8800
8856
|
}
|
|
8801
8857
|
}), /*#__PURE__*/React__default.createElement(StyledIndicator$1, {
|
|
8802
8858
|
__self: undefined,
|
|
8803
8859
|
__source: {
|
|
8804
|
-
fileName: _jsxFileName$
|
|
8860
|
+
fileName: _jsxFileName$G,
|
|
8805
8861
|
lineNumber: 235,
|
|
8806
8862
|
columnNumber: 19
|
|
8807
8863
|
}
|
|
@@ -8813,7 +8869,7 @@ const InputRadio = _ref => {
|
|
|
8813
8869
|
},
|
|
8814
8870
|
__self: undefined,
|
|
8815
8871
|
__source: {
|
|
8816
|
-
fileName: _jsxFileName$
|
|
8872
|
+
fileName: _jsxFileName$G,
|
|
8817
8873
|
lineNumber: 240,
|
|
8818
8874
|
columnNumber: 17
|
|
8819
8875
|
}
|
|
@@ -10967,8 +11023,8 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
|
|
|
10967
11023
|
}(React__default.Component);
|
|
10968
11024
|
NumberFormat.defaultProps = defaultProps;
|
|
10969
11025
|
|
|
10970
|
-
const _excluded$
|
|
10971
|
-
var _jsxFileName$
|
|
11026
|
+
const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
|
|
11027
|
+
var _jsxFileName$F = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
|
|
10972
11028
|
const StyledInput = styled(NumberFormat, {
|
|
10973
11029
|
// Reset
|
|
10974
11030
|
appearance: 'none',
|
|
@@ -11163,7 +11219,7 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
11163
11219
|
maxLength,
|
|
11164
11220
|
thousandSeparator
|
|
11165
11221
|
} = _ref,
|
|
11166
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
11222
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
11167
11223
|
return /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
|
|
11168
11224
|
condition: Boolean(control),
|
|
11169
11225
|
wrapper: child => /*#__PURE__*/React__default.createElement(Controller, {
|
|
@@ -11181,14 +11237,14 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
11181
11237
|
}),
|
|
11182
11238
|
__self: undefined,
|
|
11183
11239
|
__source: {
|
|
11184
|
-
fileName: _jsxFileName$
|
|
11240
|
+
fileName: _jsxFileName$F,
|
|
11185
11241
|
lineNumber: 225,
|
|
11186
11242
|
columnNumber: 9
|
|
11187
11243
|
}
|
|
11188
11244
|
}),
|
|
11189
11245
|
__self: undefined,
|
|
11190
11246
|
__source: {
|
|
11191
|
-
fileName: _jsxFileName$
|
|
11247
|
+
fileName: _jsxFileName$F,
|
|
11192
11248
|
lineNumber: 222,
|
|
11193
11249
|
columnNumber: 5
|
|
11194
11250
|
}
|
|
@@ -11206,7 +11262,7 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
11206
11262
|
}, props, {
|
|
11207
11263
|
__self: undefined,
|
|
11208
11264
|
__source: {
|
|
11209
|
-
fileName: _jsxFileName$
|
|
11265
|
+
fileName: _jsxFileName$F,
|
|
11210
11266
|
lineNumber: 234,
|
|
11211
11267
|
columnNumber: 7
|
|
11212
11268
|
}
|
|
@@ -11228,6 +11284,8 @@ InputNumber.defaultProps = {
|
|
|
11228
11284
|
InputNumber.name = 'InputText';
|
|
11229
11285
|
InputNumber.displayName = 'InputNumber';
|
|
11230
11286
|
|
|
11287
|
+
const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
11288
|
+
var _jsxFileName$E = "/Users/majoo/majoo-ui/packages/react/src/components/tag/Tag.js";
|
|
11231
11289
|
const TagWrapper$4 = styled('div', {
|
|
11232
11290
|
boxSizing: 'border-box',
|
|
11233
11291
|
listStyle: 'none',
|
|
@@ -11270,10 +11328,6 @@ const TagWrapper$4 = styled('div', {
|
|
|
11270
11328
|
}
|
|
11271
11329
|
},
|
|
11272
11330
|
type: {
|
|
11273
|
-
default: {
|
|
11274
|
-
background: '$bgGray',
|
|
11275
|
-
color: '$textPrimary'
|
|
11276
|
-
},
|
|
11277
11331
|
success: {
|
|
11278
11332
|
background: '$bgSuccess',
|
|
11279
11333
|
color: '$textGreen'
|
|
@@ -11323,8 +11377,8 @@ const StyledIconLeft$3 = styled('div', {
|
|
|
11323
11377
|
alignItems: 'center',
|
|
11324
11378
|
color: 'inherit'
|
|
11325
11379
|
});
|
|
11326
|
-
const Tag = /*#__PURE__*/React__default.forwardRef((
|
|
11327
|
-
|
|
11380
|
+
const Tag = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
11381
|
+
let {
|
|
11328
11382
|
children,
|
|
11329
11383
|
onClick,
|
|
11330
11384
|
size,
|
|
@@ -11334,35 +11388,71 @@ const Tag = /*#__PURE__*/React__default.forwardRef((_a, ref) => {
|
|
|
11334
11388
|
type,
|
|
11335
11389
|
onRemove,
|
|
11336
11390
|
readOnly
|
|
11337
|
-
} =
|
|
11338
|
-
props =
|
|
11339
|
-
return
|
|
11391
|
+
} = _ref,
|
|
11392
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
11393
|
+
return /*#__PURE__*/React__default.createElement(TagWrapper$4, _extends({
|
|
11340
11394
|
ref: ref,
|
|
11341
11395
|
onClick: onClick,
|
|
11342
11396
|
size: size,
|
|
11343
11397
|
disabled: disabled,
|
|
11344
11398
|
type: type,
|
|
11345
|
-
readOnly: readOnly
|
|
11399
|
+
readOnly: readOnly,
|
|
11400
|
+
css: Object.assign({}, props.css)
|
|
11346
11401
|
}, props, {
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
|
|
11359
|
-
|
|
11360
|
-
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11402
|
+
__self: undefined,
|
|
11403
|
+
__source: {
|
|
11404
|
+
fileName: _jsxFileName$E,
|
|
11405
|
+
lineNumber: 84,
|
|
11406
|
+
columnNumber: 7
|
|
11407
|
+
}
|
|
11408
|
+
}), icon !== undefined ? /*#__PURE__*/React__default.createElement(StyledIconLeft$3, {
|
|
11409
|
+
__self: undefined,
|
|
11410
|
+
__source: {
|
|
11411
|
+
fileName: _jsxFileName$E,
|
|
11412
|
+
lineNumber: 94,
|
|
11413
|
+
columnNumber: 31
|
|
11414
|
+
}
|
|
11415
|
+
}, icon) : null, /*#__PURE__*/React__default.createElement(TagComponent$1, {
|
|
11416
|
+
__self: undefined,
|
|
11417
|
+
__source: {
|
|
11418
|
+
fileName: _jsxFileName$E,
|
|
11419
|
+
lineNumber: 95,
|
|
11420
|
+
columnNumber: 9
|
|
11421
|
+
}
|
|
11422
|
+
}, children), isRemovable ? /*#__PURE__*/React__default.createElement(StyledIconRight$1, {
|
|
11423
|
+
disabled: disabled,
|
|
11424
|
+
onClick: onRemove,
|
|
11425
|
+
readOnly: readOnly,
|
|
11426
|
+
__self: undefined,
|
|
11427
|
+
__source: {
|
|
11428
|
+
fileName: _jsxFileName$E,
|
|
11429
|
+
lineNumber: 97,
|
|
11430
|
+
columnNumber: 11
|
|
11431
|
+
}
|
|
11432
|
+
}, /*#__PURE__*/React__default.createElement(CloseOutline, {
|
|
11433
|
+
size: 16,
|
|
11434
|
+
color: colors$8.iconSecondary,
|
|
11435
|
+
style: {
|
|
11436
|
+
verticalAlign: 'middle'
|
|
11437
|
+
},
|
|
11438
|
+
__self: undefined,
|
|
11439
|
+
__source: {
|
|
11440
|
+
fileName: _jsxFileName$E,
|
|
11441
|
+
lineNumber: 98,
|
|
11442
|
+
columnNumber: 13
|
|
11443
|
+
}
|
|
11444
|
+
})) : null);
|
|
11365
11445
|
});
|
|
11446
|
+
Tag.propTypes = {
|
|
11447
|
+
size: PropTypes.string,
|
|
11448
|
+
disabled: PropTypes.bool,
|
|
11449
|
+
type: PropTypes.string,
|
|
11450
|
+
icon: PropTypes.element,
|
|
11451
|
+
isRemovable: PropTypes.bool,
|
|
11452
|
+
onRemove: PropTypes.func,
|
|
11453
|
+
onClick: PropTypes.func,
|
|
11454
|
+
readOnly: PropTypes.bool
|
|
11455
|
+
};
|
|
11366
11456
|
Tag.defaultProps = {
|
|
11367
11457
|
size: 'sm',
|
|
11368
11458
|
isRemovable: false,
|
|
@@ -11371,7 +11461,7 @@ Tag.defaultProps = {
|
|
|
11371
11461
|
};
|
|
11372
11462
|
|
|
11373
11463
|
const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
11374
|
-
var _jsxFileName$D = "/
|
|
11464
|
+
var _jsxFileName$D = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
|
|
11375
11465
|
const Wrapper$2 = styled('div', {
|
|
11376
11466
|
margin: 0,
|
|
11377
11467
|
flexDirection: 'column',
|
|
@@ -11668,7 +11758,7 @@ TagsInput.defaultProps = {
|
|
|
11668
11758
|
};
|
|
11669
11759
|
|
|
11670
11760
|
const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
11671
|
-
var _jsxFileName$C = "/
|
|
11761
|
+
var _jsxFileName$C = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
|
|
11672
11762
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
11673
11763
|
display: 'block',
|
|
11674
11764
|
width: '16px',
|
|
@@ -11773,7 +11863,7 @@ InputSwitch.propTypes = {
|
|
|
11773
11863
|
};
|
|
11774
11864
|
InputSwitch.displayName = 'InputSwitch';
|
|
11775
11865
|
|
|
11776
|
-
var _jsxFileName$B = "/
|
|
11866
|
+
var _jsxFileName$B = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
|
|
11777
11867
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11778
11868
|
width: props.size,
|
|
11779
11869
|
height: props.size,
|
|
@@ -11832,7 +11922,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
11832
11922
|
size: 24
|
|
11833
11923
|
};
|
|
11834
11924
|
|
|
11835
|
-
var _jsxFileName$A = "/
|
|
11925
|
+
var _jsxFileName$A = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
|
|
11836
11926
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11837
11927
|
width: props.size,
|
|
11838
11928
|
height: props.size,
|
|
@@ -11873,7 +11963,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
11873
11963
|
};
|
|
11874
11964
|
|
|
11875
11965
|
const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
|
|
11876
|
-
var _jsxFileName$z = "/
|
|
11966
|
+
var _jsxFileName$z = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
11877
11967
|
const {
|
|
11878
11968
|
colors: colors$7
|
|
11879
11969
|
} = foundations;
|
|
@@ -12172,7 +12262,7 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
12172
12262
|
});
|
|
12173
12263
|
|
|
12174
12264
|
const _excluded$d = ["children"];
|
|
12175
|
-
var _jsxFileName$y = "/
|
|
12265
|
+
var _jsxFileName$y = "/Users/majoo/majoo-ui/packages/react/src/components/popover/Popover.js";
|
|
12176
12266
|
const {
|
|
12177
12267
|
zIndices: zIndices$1
|
|
12178
12268
|
} = foundations;
|
|
@@ -13632,7 +13722,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
13632
13722
|
}), void 0);
|
|
13633
13723
|
});
|
|
13634
13724
|
|
|
13635
|
-
var _jsxFileName$x = "/
|
|
13725
|
+
var _jsxFileName$x = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
13636
13726
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
13637
13727
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13638
13728
|
xmlSpace: "preserve",
|
|
@@ -13713,7 +13803,7 @@ function OptionGroupItem({
|
|
|
13713
13803
|
}
|
|
13714
13804
|
|
|
13715
13805
|
const _excluded$c = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "showTagSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter", "collapsible", "toggleInput", "fetchData", "onSearch", "isLoading", "maxSelectedItem", "mobileOnly", "desktopOnly", "label", "tagCss", "checkBoxCss", "optionListCss", "showCollapsibleCounter", "collapsibleLimit", "pageIndex", "onSelectAllChecked", "totalOptions"];
|
|
13716
|
-
var _jsxFileName$w = "/
|
|
13806
|
+
var _jsxFileName$w = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
13717
13807
|
const Wrapper$1 = styled('div', {
|
|
13718
13808
|
margin: 0,
|
|
13719
13809
|
flexDirection: 'column',
|
|
@@ -15018,7 +15108,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15018
15108
|
collapsibleLimit: 5
|
|
15019
15109
|
};
|
|
15020
15110
|
|
|
15021
|
-
var _jsxFileName$v = "/
|
|
15111
|
+
var _jsxFileName$v = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
15022
15112
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15023
15113
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15024
15114
|
ref: ref,
|
|
@@ -15079,7 +15169,7 @@ InputSelectTag.defaultProps = {
|
|
|
15079
15169
|
defaultValue: []
|
|
15080
15170
|
};
|
|
15081
15171
|
|
|
15082
|
-
var _jsxFileName$u = "/
|
|
15172
|
+
var _jsxFileName$u = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
15083
15173
|
const Wrapper = styled('div', {
|
|
15084
15174
|
margin: 0,
|
|
15085
15175
|
flexDirection: 'column',
|
|
@@ -16219,7 +16309,7 @@ InputCounter.defaultProps = {
|
|
|
16219
16309
|
|
|
16220
16310
|
const _excluded$b = ["children"],
|
|
16221
16311
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16222
|
-
var _jsxFileName$t = "/
|
|
16312
|
+
var _jsxFileName$t = "/Users/majoo/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
16223
16313
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16224
16314
|
const {
|
|
16225
16315
|
sizes
|
|
@@ -16569,7 +16659,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
16569
16659
|
|
|
16570
16660
|
const _excluded$a = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
16571
16661
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
16572
|
-
var _jsxFileName$s = "/
|
|
16662
|
+
var _jsxFileName$s = "/Users/majoo/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
16573
16663
|
const ScrollButton$1 = styled(Button$4, {
|
|
16574
16664
|
width: '28px',
|
|
16575
16665
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17100,7 +17190,7 @@ const DateNumber = styled('div', {
|
|
|
17100
17190
|
});
|
|
17101
17191
|
DateNumber.displayName = 'DateNumber';
|
|
17102
17192
|
|
|
17103
|
-
var _jsxFileName$r = "/
|
|
17193
|
+
var _jsxFileName$r = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
17104
17194
|
const Input$3 = styled('input', {
|
|
17105
17195
|
display: 'none'
|
|
17106
17196
|
});
|
|
@@ -17656,7 +17746,7 @@ TimePicker.propTypes = {
|
|
|
17656
17746
|
};
|
|
17657
17747
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
17658
17748
|
|
|
17659
|
-
var _jsxFileName$q = "/
|
|
17749
|
+
var _jsxFileName$q = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
17660
17750
|
const getInputPickerValue$1 = date => {
|
|
17661
17751
|
if (!date) return;
|
|
17662
17752
|
return moment(date).format('HH:mm');
|
|
@@ -17933,14 +18023,18 @@ const CalendarTimePicker = ({
|
|
|
17933
18023
|
selected,
|
|
17934
18024
|
disabled,
|
|
17935
18025
|
language,
|
|
17936
|
-
onSetDateValue
|
|
18026
|
+
onSetDateValue,
|
|
18027
|
+
isSingle
|
|
17937
18028
|
}) => {
|
|
17938
18029
|
const {
|
|
17939
18030
|
t
|
|
17940
18031
|
} = useTranslation('MajooUI/datePicker');
|
|
17941
18032
|
let startTime = moment('00:00', 'HH:mm').toDate();
|
|
17942
18033
|
let endTime = moment('00:00', 'HH:mm').toDate();
|
|
17943
|
-
if (selected && selected.length
|
|
18034
|
+
if (isSingle && selected && selected.length) {
|
|
18035
|
+
startTime = selected[0];
|
|
18036
|
+
}
|
|
18037
|
+
if (!isSingle && selected && selected.length > 1) {
|
|
17944
18038
|
startTime = selected[0];
|
|
17945
18039
|
endTime = selected[1];
|
|
17946
18040
|
}
|
|
@@ -17961,7 +18055,7 @@ const CalendarTimePicker = ({
|
|
|
17961
18055
|
variant: "label",
|
|
17962
18056
|
color: "primary"
|
|
17963
18057
|
}, {
|
|
17964
|
-
children: t('dateFromLabel', 'Dari Tanggal')
|
|
18058
|
+
children: isSingle ? t('label.date', 'Tanggal') : t('dateFromLabel', 'Dari Tanggal')
|
|
17965
18059
|
}), void 0), jsx(Text$1, Object.assign({
|
|
17966
18060
|
variant: "label",
|
|
17967
18061
|
color: "disable"
|
|
@@ -17976,53 +18070,55 @@ const CalendarTimePicker = ({
|
|
|
17976
18070
|
variant: "label",
|
|
17977
18071
|
color: "primary"
|
|
17978
18072
|
}, {
|
|
17979
|
-
children: t('timeFromLabel', 'Dari Pukul')
|
|
18073
|
+
children: isSingle ? t('time', 'Waktu') : t('timeFromLabel', 'Dari Pukul')
|
|
17980
18074
|
}), void 0), jsx(InputTimePicker, {
|
|
17981
18075
|
onChange: val => {
|
|
17982
|
-
if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([val.toDate(), selected[1]]);
|
|
18076
|
+
if (isSingle && selected && selected.length && !!onSetDateValue) onSetDateValue(val.toDate());else if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([val.toDate(), selected[1]]);
|
|
17983
18077
|
},
|
|
17984
18078
|
size: "sm",
|
|
17985
18079
|
value: startTime,
|
|
17986
|
-
disabled: !(selected && selected.length > 1)
|
|
18080
|
+
disabled: isSingle ? !(selected && selected.length) : !(selected && selected.length > 1)
|
|
17987
18081
|
}, void 0)]
|
|
17988
|
-
}), void 0),
|
|
17989
|
-
|
|
17990
|
-
|
|
17991
|
-
|
|
17992
|
-
|
|
17993
|
-
|
|
17994
|
-
children: [jsx(Text$1, Object.assign({
|
|
17995
|
-
variant: "label",
|
|
17996
|
-
color: "primary"
|
|
18082
|
+
}), void 0), isSingle ? null : jsxs(React__default.Fragment, {
|
|
18083
|
+
children: [jsx(Separator$2, {
|
|
18084
|
+
orientation: "horizontal"
|
|
18085
|
+
}, void 0), jsxs(Flex$1, Object.assign({
|
|
18086
|
+
direction: "column",
|
|
18087
|
+
gap: 3
|
|
17997
18088
|
}, {
|
|
17998
|
-
children:
|
|
17999
|
-
|
|
18000
|
-
|
|
18001
|
-
|
|
18089
|
+
children: [jsx(Text$1, Object.assign({
|
|
18090
|
+
variant: "label",
|
|
18091
|
+
color: "primary"
|
|
18092
|
+
}, {
|
|
18093
|
+
children: t('dateUntilLabel', 'Hingga Tanggal')
|
|
18094
|
+
}), void 0), jsx(Text$1, Object.assign({
|
|
18095
|
+
variant: "label",
|
|
18096
|
+
color: "disable"
|
|
18097
|
+
}, {
|
|
18098
|
+
children: formattedEndDate
|
|
18099
|
+
}), void 0)]
|
|
18100
|
+
}), void 0), jsxs(Flex$1, Object.assign({
|
|
18101
|
+
direction: "column",
|
|
18102
|
+
gap: 3
|
|
18002
18103
|
}, {
|
|
18003
|
-
children:
|
|
18104
|
+
children: [jsx(Text$1, Object.assign({
|
|
18105
|
+
variant: "label",
|
|
18106
|
+
color: "primary"
|
|
18107
|
+
}, {
|
|
18108
|
+
children: t('timeUntilLabel', 'Hingga Pukul')
|
|
18109
|
+
}), void 0), jsx(InputTimePicker, {
|
|
18110
|
+
onChange: val => {
|
|
18111
|
+
const endDate = moment(endTime).format('YYYY-MM-DD');
|
|
18112
|
+
const newTime = val.format('HH:mm');
|
|
18113
|
+
const newValue = moment(`${endDate} ${newTime}`, 'YYYY-MM-DD HH:mm').toDate();
|
|
18114
|
+
if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([selected[0], newValue]);
|
|
18115
|
+
},
|
|
18116
|
+
size: "sm",
|
|
18117
|
+
value: endTime,
|
|
18118
|
+
disabled: !(selected && selected.length > 1)
|
|
18119
|
+
}, void 0)]
|
|
18004
18120
|
}), void 0)]
|
|
18005
|
-
}
|
|
18006
|
-
direction: "column",
|
|
18007
|
-
gap: 3
|
|
18008
|
-
}, {
|
|
18009
|
-
children: [jsx(Text$1, Object.assign({
|
|
18010
|
-
variant: "label",
|
|
18011
|
-
color: "primary"
|
|
18012
|
-
}, {
|
|
18013
|
-
children: t('timeUntilLabel', 'Hingga Pukul')
|
|
18014
|
-
}), void 0), jsx(InputTimePicker, {
|
|
18015
|
-
onChange: val => {
|
|
18016
|
-
const endDate = moment(endTime).format('YYYY-MM-DD');
|
|
18017
|
-
const newTime = val.format('HH:mm');
|
|
18018
|
-
const newValue = moment(`${endDate} ${newTime}`, 'YYYY-MM-DD HH:mm').toDate();
|
|
18019
|
-
if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([selected[0], newValue]);
|
|
18020
|
-
},
|
|
18021
|
-
size: "sm",
|
|
18022
|
-
value: endTime,
|
|
18023
|
-
disabled: !(selected && selected.length > 1)
|
|
18024
|
-
}, void 0)]
|
|
18025
|
-
}), void 0)]
|
|
18121
|
+
}, void 0)]
|
|
18026
18122
|
}), void 0);
|
|
18027
18123
|
};
|
|
18028
18124
|
|
|
@@ -18085,17 +18181,22 @@ const WeekdayBox$1 = styled(Box, {
|
|
|
18085
18181
|
});
|
|
18086
18182
|
const CalendarsContainer$1 = styled(Box, {
|
|
18087
18183
|
width: '100%',
|
|
18088
|
-
padding: '$spacing-03',
|
|
18089
18184
|
display: 'inline-flex',
|
|
18090
18185
|
borderRadius: '$lg',
|
|
18091
|
-
boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
|
|
18092
|
-
backgroundColor: '$white',
|
|
18093
18186
|
justifyContent: 'center',
|
|
18094
18187
|
gap: '$spacing-03',
|
|
18095
18188
|
'@md': {
|
|
18096
18189
|
width: 'unset'
|
|
18097
18190
|
}
|
|
18098
18191
|
});
|
|
18192
|
+
const CalenderBoxContainer = styled(Box, {
|
|
18193
|
+
display: 'flex',
|
|
18194
|
+
flexDirection: 'column',
|
|
18195
|
+
boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
|
|
18196
|
+
borderRadius: '$lg',
|
|
18197
|
+
backgroundColor: '$white',
|
|
18198
|
+
padding: '$spacing-03'
|
|
18199
|
+
});
|
|
18099
18200
|
const CalendarItemContainer$1 = styled(Flex$1, {});
|
|
18100
18201
|
const DateContainer$1 = styled(Box, {
|
|
18101
18202
|
width: '100%',
|
|
@@ -18168,7 +18269,7 @@ const MonthButton$1 = styled(Text$1, {
|
|
|
18168
18269
|
}
|
|
18169
18270
|
}
|
|
18170
18271
|
});
|
|
18171
|
-
|
|
18272
|
+
styled('button', {
|
|
18172
18273
|
fontWeight: 600,
|
|
18173
18274
|
fontStyle: 'normal',
|
|
18174
18275
|
fontSize: 14,
|
|
@@ -18564,84 +18665,110 @@ const CalendarBox = ({
|
|
|
18564
18665
|
}, void 0);
|
|
18565
18666
|
};
|
|
18566
18667
|
const renderTime = () => {
|
|
18567
|
-
return jsxs(
|
|
18568
|
-
css: {
|
|
18569
|
-
padding: 4
|
|
18570
|
-
}
|
|
18571
|
-
}, {
|
|
18668
|
+
return jsxs(Fragment$1, {
|
|
18572
18669
|
children: [jsx(Separator$2, {
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
type: TIME_PICKER
|
|
18580
|
-
})),
|
|
18581
|
-
type: "button"
|
|
18670
|
+
orientation: "vertical"
|
|
18671
|
+
}, void 0), jsx(CalendarTimePicker, Object.assign({}, {
|
|
18672
|
+
selected,
|
|
18673
|
+
disabled,
|
|
18674
|
+
language,
|
|
18675
|
+
onSetDateValue
|
|
18582
18676
|
}, {
|
|
18583
|
-
|
|
18677
|
+
isSingle: !multiDatePicker
|
|
18584
18678
|
}), void 0)]
|
|
18585
|
-
}
|
|
18679
|
+
}, void 0);
|
|
18586
18680
|
};
|
|
18587
|
-
const
|
|
18681
|
+
const renderFooterSingleTimePicker = () => {
|
|
18588
18682
|
return jsxs(Box, Object.assign({
|
|
18589
18683
|
css: {
|
|
18590
|
-
|
|
18684
|
+
width: '$full'
|
|
18591
18685
|
}
|
|
18592
18686
|
}, {
|
|
18593
18687
|
children: [jsx(Separator$2, {
|
|
18594
18688
|
css: {
|
|
18595
|
-
my: '$spacing-
|
|
18689
|
+
my: '$spacing-03'
|
|
18690
|
+
}
|
|
18691
|
+
}, void 0), jsx(Flex$1, Object.assign({
|
|
18692
|
+
justify: "end",
|
|
18693
|
+
align: "center",
|
|
18694
|
+
css: {
|
|
18695
|
+
padding: 8
|
|
18596
18696
|
}
|
|
18597
|
-
}, void 0), jsx(ButtonTime, Object.assign({
|
|
18598
|
-
disabled: disabled,
|
|
18599
|
-
onClick: () => onCancel === null || onCancel === void 0 ? void 0 : onCancel(),
|
|
18600
|
-
type: "button"
|
|
18601
18697
|
}, {
|
|
18602
|
-
children:
|
|
18698
|
+
children: jsxs(Flex$1, Object.assign({
|
|
18699
|
+
gap: 3
|
|
18700
|
+
}, {
|
|
18701
|
+
children: [jsx(Button$4, Object.assign({
|
|
18702
|
+
buttonType: "ghost",
|
|
18703
|
+
css: {
|
|
18704
|
+
fontWeight: 600
|
|
18705
|
+
},
|
|
18706
|
+
onClick: onCancel,
|
|
18707
|
+
disabled: disabled,
|
|
18708
|
+
size: "sm",
|
|
18709
|
+
type: "button"
|
|
18710
|
+
}, {
|
|
18711
|
+
children: t('label.cancel', 'Batal', {
|
|
18712
|
+
ns: 'translation'
|
|
18713
|
+
})
|
|
18714
|
+
}), void 0), jsx(Button$4, Object.assign({
|
|
18715
|
+
css: {
|
|
18716
|
+
fontWeight: 600
|
|
18717
|
+
},
|
|
18718
|
+
onClick: onUpdate,
|
|
18719
|
+
disabled: disabled || !(selected && selected.length),
|
|
18720
|
+
size: "sm",
|
|
18721
|
+
type: "button"
|
|
18722
|
+
}, {
|
|
18723
|
+
children: t('label.save', 'Simpan', {
|
|
18724
|
+
ns: 'translation'
|
|
18725
|
+
})
|
|
18726
|
+
}), void 0)]
|
|
18727
|
+
}), void 0)
|
|
18603
18728
|
}), void 0)]
|
|
18604
18729
|
}), void 0);
|
|
18605
18730
|
};
|
|
18606
18731
|
if (calendars.length) {
|
|
18607
|
-
return jsxs(
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
children:
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
height: 'auto'
|
|
18621
|
-
}
|
|
18622
|
-
}, void 0), jsxs(DateContainer$1, {
|
|
18623
|
-
children: [jsx(Separator$2, {
|
|
18732
|
+
return jsxs(CalenderBoxContainer, {
|
|
18733
|
+
children: [jsxs(CalendarsContainer$1, Object.assign({
|
|
18734
|
+
css: containerStyle
|
|
18735
|
+
}, {
|
|
18736
|
+
children: [advanceView, advanceView && jsx(Separator$2, {
|
|
18737
|
+
orientation: "vertical"
|
|
18738
|
+
}, void 0), jsxs(Box, {
|
|
18739
|
+
children: [renderHeader(), jsx(CalendarItemContainer$1, Object.assign({
|
|
18740
|
+
gap: 5
|
|
18741
|
+
}, {
|
|
18742
|
+
children: calendars.map((calendar, index) => jsxs(React__default.Fragment, {
|
|
18743
|
+
children: [index > 0 && jsx(Separator$2, {
|
|
18744
|
+
orientation: "vertical",
|
|
18624
18745
|
css: {
|
|
18625
|
-
|
|
18626
|
-
mt: '$spacing-02'
|
|
18746
|
+
height: 'auto'
|
|
18627
18747
|
}
|
|
18628
|
-
}, void 0),
|
|
18629
|
-
children: [
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18748
|
+
}, void 0), jsxs(DateContainer$1, {
|
|
18749
|
+
children: [jsx(Separator$2, {
|
|
18750
|
+
css: {
|
|
18751
|
+
mb: '$spacing-04',
|
|
18752
|
+
mt: '$spacing-02'
|
|
18753
|
+
}
|
|
18754
|
+
}, void 0), pickerState.type === DATE_PICKER && jsxs(Fragment, {
|
|
18755
|
+
children: [renderWeekLabel(calendar), renderDateNumber(calendar)]
|
|
18756
|
+
}, void 0), pickerState.type === MONTH_PICKER && renderMonthsList(), pickerState.type === YEAR_PICKER && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER && renderYearRangesList()]
|
|
18757
|
+
}, void 0)]
|
|
18758
|
+
}, `${calendar.month}${calendar.year}`))
|
|
18759
|
+
}), void 0)]
|
|
18760
|
+
}, void 0), !advanceView && showTimePicker && renderTime(), showTimePicker && pickerState.type === DATE_PICKER && !!advanceView && jsxs(Fragment$1, {
|
|
18761
|
+
children: [jsx(Separator$2, {
|
|
18762
|
+
orientation: "vertical"
|
|
18763
|
+
}, void 0), jsx(CalendarTimePicker, Object.assign({}, {
|
|
18764
|
+
selected,
|
|
18765
|
+
disabled,
|
|
18766
|
+
language,
|
|
18767
|
+
onSetDateValue
|
|
18768
|
+
}), void 0)]
|
|
18769
|
+
}, void 0)]
|
|
18770
|
+
}), void 0), !multiDatePicker && showTimePicker && renderFooterSingleTimePicker(), multiDatePicker && renderFooter()]
|
|
18771
|
+
}, void 0);
|
|
18645
18772
|
}
|
|
18646
18773
|
return null;
|
|
18647
18774
|
};
|
|
@@ -19192,13 +19319,24 @@ const CalendarPicker = _a => {
|
|
|
19192
19319
|
const [dateValue, setDateValue] = useState();
|
|
19193
19320
|
const [calendarDate, setCalendarDate] = useState(selected !== null && selected !== void 0 ? selected : new Date());
|
|
19194
19321
|
const onDateSelected = selectedDate => {
|
|
19195
|
-
|
|
19196
|
-
|
|
19322
|
+
if (timePickerProps === null || timePickerProps === void 0 ? void 0 : timePickerProps.minDate) {
|
|
19323
|
+
if (moment(selectedDate.date).isBefore(timePickerProps.minDate)) {
|
|
19324
|
+
setDateValue(timePickerProps.minDate);
|
|
19325
|
+
} else {
|
|
19326
|
+
setDateValue(selectedDate.date);
|
|
19327
|
+
}
|
|
19328
|
+
} else {
|
|
19329
|
+
setDateValue(selectedDate.date);
|
|
19330
|
+
}
|
|
19331
|
+
if (!showTimePicker) {
|
|
19332
|
+
onClose();
|
|
19333
|
+
}
|
|
19197
19334
|
};
|
|
19198
19335
|
const updateHandler = () => {
|
|
19199
19336
|
if (dateValue && onChange) {
|
|
19200
19337
|
onChange(dateValue);
|
|
19201
19338
|
}
|
|
19339
|
+
onClose();
|
|
19202
19340
|
};
|
|
19203
19341
|
const dayzedData = useDayzed(Object.assign(Object.assign({}, props), {
|
|
19204
19342
|
date: calendarDate,
|
|
@@ -19215,39 +19353,22 @@ const CalendarPicker = _a => {
|
|
|
19215
19353
|
}
|
|
19216
19354
|
}, [selected]);
|
|
19217
19355
|
useEffect(() => {
|
|
19218
|
-
if (dateValue && !isMultiDatePicker && onChange) {
|
|
19356
|
+
if (dateValue && !(isMultiDatePicker || showTimePicker) && onChange) {
|
|
19219
19357
|
onChange(dateValue);
|
|
19220
19358
|
}
|
|
19221
19359
|
}, [dateValue]);
|
|
19222
|
-
const renderTimePicker = props => {
|
|
19223
|
-
return jsx(Box, Object.assign({
|
|
19224
|
-
css: {
|
|
19225
|
-
padding: '40px 60px'
|
|
19226
|
-
}
|
|
19227
|
-
}, {
|
|
19228
|
-
children: jsx(NativeTimePicker, Object.assign({
|
|
19229
|
-
size: "lg",
|
|
19230
|
-
value: dateValue ? moment(dateValue) : moment(),
|
|
19231
|
-
minDate: minDate,
|
|
19232
|
-
maxDate: maxDate,
|
|
19233
|
-
disabled: disabled,
|
|
19234
|
-
onChange: date => {
|
|
19235
|
-
setDateValue(new Date(date));
|
|
19236
|
-
}
|
|
19237
|
-
}, props), void 0)
|
|
19238
|
-
}), void 0);
|
|
19239
|
-
};
|
|
19240
19360
|
return jsx(CalendarBox, Object.assign({
|
|
19241
|
-
onUpdate: isMultiDatePicker ? updateHandler : undefined,
|
|
19361
|
+
onUpdate: isMultiDatePicker || showTimePicker ? updateHandler : undefined,
|
|
19242
19362
|
onCancel: onClose,
|
|
19243
19363
|
selected: dateValue ? [dateValue] : undefined,
|
|
19244
19364
|
advanceView: advanceView,
|
|
19245
19365
|
disabled: disabled,
|
|
19246
19366
|
onCalendarDateChange: setCalendarDate,
|
|
19247
19367
|
showTimePicker: showTimePicker,
|
|
19248
|
-
renderTimePicker: () => renderTimePicker(timePickerProps),
|
|
19249
19368
|
minDate: minDate,
|
|
19250
19369
|
maxDate: maxDate
|
|
19370
|
+
}, showTimePicker && {
|
|
19371
|
+
onSetDateValue: setDateValue
|
|
19251
19372
|
}, dayzedData), void 0);
|
|
19252
19373
|
};
|
|
19253
19374
|
const CalendarRangePicker = _a => {
|
|
@@ -19822,7 +19943,6 @@ function InputDatePicker({
|
|
|
19822
19943
|
onClose,
|
|
19823
19944
|
mobileOnly,
|
|
19824
19945
|
desktopOnly,
|
|
19825
|
-
advanceOptions,
|
|
19826
19946
|
drawerCss,
|
|
19827
19947
|
drawerContentCss = {},
|
|
19828
19948
|
isMobile = false
|
|
@@ -19915,22 +20035,20 @@ function InputDatePicker({
|
|
|
19915
20035
|
}
|
|
19916
20036
|
};
|
|
19917
20037
|
const renderDatePicker = () => {
|
|
19918
|
-
const options = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
|
|
19919
|
-
const advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
|
|
19920
20038
|
const handleDatePickerChange = value => {
|
|
19921
20039
|
if (showRangeControl || type === 'range_picker') {
|
|
19922
20040
|
if (rangePickerType === 'monthly') {
|
|
19923
20041
|
dispatch({
|
|
19924
20042
|
type: 'UPDATE',
|
|
19925
|
-
payload:
|
|
20043
|
+
payload: advancePickerDate('RANGE_MONTH', value)
|
|
19926
20044
|
});
|
|
19927
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(
|
|
20045
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_MONTH', value));
|
|
19928
20046
|
} else {
|
|
19929
20047
|
dispatch({
|
|
19930
20048
|
type: 'UPDATE',
|
|
19931
|
-
payload:
|
|
20049
|
+
payload: advancePickerDate('RANGE_WEEK', value)
|
|
19932
20050
|
});
|
|
19933
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(
|
|
20051
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_WEEK', value));
|
|
19934
20052
|
}
|
|
19935
20053
|
} else {
|
|
19936
20054
|
dispatch({
|
|
@@ -19942,10 +20060,10 @@ function InputDatePicker({
|
|
|
19942
20060
|
};
|
|
19943
20061
|
return jsx(DatePicker, {
|
|
19944
20062
|
advanceView: type === ADVANCE_PICKER && (!advanceView ? jsx(AdvancedOption, {
|
|
19945
|
-
options:
|
|
20063
|
+
options: language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn,
|
|
19946
20064
|
disabled: disabled,
|
|
19947
20065
|
optionHandler: value => {
|
|
19948
|
-
const reducedResult =
|
|
20066
|
+
const reducedResult = advancePickerDate(value, undefined);
|
|
19949
20067
|
const dateAsString = moment(reducedResult[1]).format('YYYY-MM-DD');
|
|
19950
20068
|
const payload = [reducedResult[0], moment(`${dateAsString} 23:59`, 'YYYY-MM-DD HH:mm').toDate()];
|
|
19951
20069
|
dispatch({
|
|
@@ -20194,24 +20312,22 @@ const InputDateRange = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
20194
20312
|
placement = 'bottom',
|
|
20195
20313
|
readOnly = false,
|
|
20196
20314
|
isInvalid = false,
|
|
20197
|
-
css
|
|
20198
|
-
advanceOptions
|
|
20315
|
+
css
|
|
20199
20316
|
} = _a,
|
|
20200
|
-
props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css"
|
|
20317
|
+
props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css"]);
|
|
20201
20318
|
const {
|
|
20202
20319
|
t,
|
|
20203
20320
|
i18n
|
|
20204
20321
|
} = useTranslation('translation');
|
|
20205
20322
|
const language = i18n.language;
|
|
20206
20323
|
const pickerOptions = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
|
|
20207
|
-
const advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
|
|
20208
20324
|
return jsx(InputSelect, Object.assign({}, props, {
|
|
20209
|
-
option:
|
|
20325
|
+
option: pickerOptions.map(option => ({
|
|
20210
20326
|
name: option.label,
|
|
20211
20327
|
value: option.value
|
|
20212
20328
|
})),
|
|
20213
20329
|
onChange: selectedOption => {
|
|
20214
|
-
if (onChange) onChange(
|
|
20330
|
+
if (onChange) onChange(advancePickerDate(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
|
|
20215
20331
|
},
|
|
20216
20332
|
placeholder: placeholder || t('placeholder.select', 'Pilih'),
|
|
20217
20333
|
size: size,
|
|
@@ -20224,7 +20340,7 @@ const InputDateRange = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
20224
20340
|
});
|
|
20225
20341
|
|
|
20226
20342
|
const _excluded$9 = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
20227
|
-
var _jsxFileName$p = "/
|
|
20343
|
+
var _jsxFileName$p = "/Users/majoo/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
20228
20344
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
20229
20345
|
position: 'relative',
|
|
20230
20346
|
display: 'flex',
|
|
@@ -20568,7 +20684,7 @@ Slider.defaultProps = {
|
|
|
20568
20684
|
};
|
|
20569
20685
|
|
|
20570
20686
|
const _excluded$8 = ["className", "children", "onClick", "type", "size"];
|
|
20571
|
-
var _jsxFileName$o = "/
|
|
20687
|
+
var _jsxFileName$o = "/Users/majoo/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
20572
20688
|
const TagWrapper$1 = styled('div', {
|
|
20573
20689
|
boxSizing: 'border-box',
|
|
20574
20690
|
fontSize: '12px',
|
|
@@ -20732,7 +20848,7 @@ const _excluded$7 = ["children"],
|
|
|
20732
20848
|
_excluded2$1 = ["children", "activeTabs"],
|
|
20733
20849
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
20734
20850
|
_excluded4 = ["activeTabs"];
|
|
20735
|
-
var _jsxFileName$n = "/
|
|
20851
|
+
var _jsxFileName$n = "/Users/majoo/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
20736
20852
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
20737
20853
|
display: 'flex',
|
|
20738
20854
|
flexDirection: 'column',
|
|
@@ -21071,7 +21187,7 @@ TabsContent$1.propTypes = {
|
|
|
21071
21187
|
};
|
|
21072
21188
|
|
|
21073
21189
|
const _excluded$6 = ["children", "variantIcon"];
|
|
21074
|
-
var _jsxFileName$m = "/
|
|
21190
|
+
var _jsxFileName$m = "/Users/majoo/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
21075
21191
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21076
21192
|
position: 'relative',
|
|
21077
21193
|
display: 'inline-flex',
|
|
@@ -21226,7 +21342,7 @@ NotificationBadge.propTypes = {
|
|
|
21226
21342
|
};
|
|
21227
21343
|
|
|
21228
21344
|
const _excluded$5 = ["className", "children", "radius", "padding", "width", "height"];
|
|
21229
|
-
var _jsxFileName$l = "/
|
|
21345
|
+
var _jsxFileName$l = "/Users/majoo/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
21230
21346
|
const PaperComponent = styled('div', {
|
|
21231
21347
|
padding: '20px',
|
|
21232
21348
|
height: 'auto',
|
|
@@ -21479,7 +21595,7 @@ const removeUndefinedFields = obj => {
|
|
|
21479
21595
|
};
|
|
21480
21596
|
|
|
21481
21597
|
const _excluded$4 = ["isActive", "onClick"];
|
|
21482
|
-
var _jsxFileName$k = "/
|
|
21598
|
+
var _jsxFileName$k = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
21483
21599
|
const PrevNextButton = styled(Text$1, {
|
|
21484
21600
|
padding: '$spacing-01',
|
|
21485
21601
|
cursor: 'pointer',
|
|
@@ -21967,7 +22083,7 @@ const PaginationButton = ({
|
|
|
21967
22083
|
};
|
|
21968
22084
|
|
|
21969
22085
|
const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
21970
|
-
var _jsxFileName$j = "/
|
|
22086
|
+
var _jsxFileName$j = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
21971
22087
|
const LimitContainer = styled(Flex$1, {
|
|
21972
22088
|
cursor: 'pointer'
|
|
21973
22089
|
});
|
|
@@ -22200,7 +22316,7 @@ function PaginationInfo(_ref) {
|
|
|
22200
22316
|
}
|
|
22201
22317
|
|
|
22202
22318
|
const _excluded$2 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
22203
|
-
var _jsxFileName$i = "/
|
|
22319
|
+
var _jsxFileName$i = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
22204
22320
|
function Pagination(_ref) {
|
|
22205
22321
|
let {
|
|
22206
22322
|
limit,
|
|
@@ -24368,7 +24484,7 @@ const TableColumn = _a => {
|
|
|
24368
24484
|
return jsx("div", {}, void 0);
|
|
24369
24485
|
};
|
|
24370
24486
|
|
|
24371
|
-
var _jsxFileName$h = "/
|
|
24487
|
+
var _jsxFileName$h = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
24372
24488
|
const DateColumn = ({
|
|
24373
24489
|
value,
|
|
24374
24490
|
customFormat
|
|
@@ -24481,7 +24597,7 @@ const PriceColumn = props => {
|
|
|
24481
24597
|
return addThousandSeparator(param);
|
|
24482
24598
|
};
|
|
24483
24599
|
|
|
24484
|
-
var _jsxFileName$g = "/
|
|
24600
|
+
var _jsxFileName$g = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
24485
24601
|
const rowExpanderColumn = {
|
|
24486
24602
|
id: 'expander',
|
|
24487
24603
|
Header: () => null,
|
|
@@ -24522,7 +24638,7 @@ const rowExpanderColumn = {
|
|
|
24522
24638
|
unsortable: true
|
|
24523
24639
|
};
|
|
24524
24640
|
|
|
24525
|
-
var _jsxFileName$f = "/
|
|
24641
|
+
var _jsxFileName$f = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
|
|
24526
24642
|
const rowExpanderMultipleColumn = {
|
|
24527
24643
|
id: 'multiple-expander',
|
|
24528
24644
|
Header: () => null,
|
|
@@ -24556,7 +24672,7 @@ const rowExpanderMultipleColumn = {
|
|
|
24556
24672
|
unsortable: true
|
|
24557
24673
|
};
|
|
24558
24674
|
|
|
24559
|
-
var _jsxFileName$e = "/
|
|
24675
|
+
var _jsxFileName$e = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
24560
24676
|
const rowMenuColumn = (options, icon, config) => ({
|
|
24561
24677
|
id: 'menu',
|
|
24562
24678
|
options,
|
|
@@ -24689,7 +24805,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
24689
24805
|
unsortable: true
|
|
24690
24806
|
});
|
|
24691
24807
|
|
|
24692
|
-
var _jsxFileName$d = "/
|
|
24808
|
+
var _jsxFileName$d = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
24693
24809
|
const rowSelectionColumn = {
|
|
24694
24810
|
id: 'selection',
|
|
24695
24811
|
Header: ({
|
|
@@ -24738,7 +24854,7 @@ const rowSelectionColumn = {
|
|
|
24738
24854
|
unsortable: true
|
|
24739
24855
|
};
|
|
24740
24856
|
|
|
24741
|
-
var _jsxFileName$c = "/
|
|
24857
|
+
var _jsxFileName$c = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
|
|
24742
24858
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
24743
24859
|
id: 'selection',
|
|
24744
24860
|
Header: ({
|
|
@@ -25076,7 +25192,7 @@ PageDialog.defaultProps = {
|
|
|
25076
25192
|
};
|
|
25077
25193
|
|
|
25078
25194
|
const _excluded$1 = ["children"];
|
|
25079
|
-
var _jsxFileName$b = "/
|
|
25195
|
+
var _jsxFileName$b = "/Users/majoo/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
25080
25196
|
const overlayShow = keyframes({
|
|
25081
25197
|
'0%': {
|
|
25082
25198
|
opacity: 0
|
|
@@ -25711,7 +25827,7 @@ const AlertDialogConfirm = ADialog.Action;
|
|
|
25711
25827
|
const _excluded = ["side", "align", "children"],
|
|
25712
25828
|
_excluded2 = ["children"],
|
|
25713
25829
|
_excluded3 = ["asChild"];
|
|
25714
|
-
var _jsxFileName$a = "/
|
|
25830
|
+
var _jsxFileName$a = "/Users/majoo/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
25715
25831
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
25716
25832
|
const slideUpAndFade = keyframes({
|
|
25717
25833
|
'0%': {
|
|
@@ -27822,7 +27938,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
27822
27938
|
});
|
|
27823
27939
|
}
|
|
27824
27940
|
|
|
27825
|
-
var _jsxFileName$9 = "/
|
|
27941
|
+
var _jsxFileName$9 = "/Users/majoo/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
27826
27942
|
const Input$2 = styled('input', {
|
|
27827
27943
|
display: 'none !important'
|
|
27828
27944
|
});
|
|
@@ -27911,7 +28027,7 @@ const IconStateFull = props => {
|
|
|
27911
28027
|
__self: undefined,
|
|
27912
28028
|
__source: {
|
|
27913
28029
|
fileName: _jsxFileName$9,
|
|
27914
|
-
lineNumber:
|
|
28030
|
+
lineNumber: 119,
|
|
27915
28031
|
columnNumber: 5
|
|
27916
28032
|
}
|
|
27917
28033
|
})) : /*#__PURE__*/React__default.createElement(EyeIcon, _extends({}, props, {
|
|
@@ -27921,7 +28037,7 @@ const IconStateFull = props => {
|
|
|
27921
28037
|
__self: undefined,
|
|
27922
28038
|
__source: {
|
|
27923
28039
|
fileName: _jsxFileName$9,
|
|
27924
|
-
lineNumber:
|
|
28040
|
+
lineNumber: 126,
|
|
27925
28041
|
columnNumber: 5
|
|
27926
28042
|
}
|
|
27927
28043
|
}));
|
|
@@ -27982,6 +28098,7 @@ const Upload = ({
|
|
|
27982
28098
|
const [aspect, setAspect] = useState(isDefaultCustomRatio ? 0 : 1);
|
|
27983
28099
|
const [isLoading, setIsLoading] = useState(false);
|
|
27984
28100
|
const [cropperImgRatio, setCropperImgRatio] = useState(null);
|
|
28101
|
+
const isMobile = useMediaQuery('(max-width: 767px)');
|
|
27985
28102
|
useEffect(() => {
|
|
27986
28103
|
if (loading) {
|
|
27987
28104
|
setIsLoading(true);
|
|
@@ -28392,7 +28509,7 @@ const Upload = ({
|
|
|
28392
28509
|
__self: this,
|
|
28393
28510
|
__source: {
|
|
28394
28511
|
fileName: _jsxFileName$9,
|
|
28395
|
-
lineNumber:
|
|
28512
|
+
lineNumber: 615,
|
|
28396
28513
|
columnNumber: 7
|
|
28397
28514
|
}
|
|
28398
28515
|
}, /*#__PURE__*/React__default.createElement(ButtonText, {
|
|
@@ -28402,7 +28519,7 @@ const Upload = ({
|
|
|
28402
28519
|
__self: this,
|
|
28403
28520
|
__source: {
|
|
28404
28521
|
fileName: _jsxFileName$9,
|
|
28405
|
-
lineNumber:
|
|
28522
|
+
lineNumber: 616,
|
|
28406
28523
|
columnNumber: 9
|
|
28407
28524
|
}
|
|
28408
28525
|
}, replaceLabel && replaceLabel.length > 0 ? replaceLabel : t('replaceLabel', 'Ubah Berkas')));
|
|
@@ -28417,7 +28534,7 @@ const Upload = ({
|
|
|
28417
28534
|
__self: undefined,
|
|
28418
28535
|
__source: {
|
|
28419
28536
|
fileName: _jsxFileName$9,
|
|
28420
|
-
lineNumber:
|
|
28537
|
+
lineNumber: 626,
|
|
28421
28538
|
columnNumber: 16
|
|
28422
28539
|
}
|
|
28423
28540
|
});
|
|
@@ -28428,7 +28545,7 @@ const Upload = ({
|
|
|
28428
28545
|
__self: undefined,
|
|
28429
28546
|
__source: {
|
|
28430
28547
|
fileName: _jsxFileName$9,
|
|
28431
|
-
lineNumber:
|
|
28548
|
+
lineNumber: 629,
|
|
28432
28549
|
columnNumber: 9
|
|
28433
28550
|
}
|
|
28434
28551
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -28438,7 +28555,7 @@ const Upload = ({
|
|
|
28438
28555
|
__self: undefined,
|
|
28439
28556
|
__source: {
|
|
28440
28557
|
fileName: _jsxFileName$9,
|
|
28441
|
-
lineNumber:
|
|
28558
|
+
lineNumber: 630,
|
|
28442
28559
|
columnNumber: 11
|
|
28443
28560
|
}
|
|
28444
28561
|
}, !disabled && /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -28447,7 +28564,7 @@ const Upload = ({
|
|
|
28447
28564
|
__self: undefined,
|
|
28448
28565
|
__source: {
|
|
28449
28566
|
fileName: _jsxFileName$9,
|
|
28450
|
-
lineNumber:
|
|
28567
|
+
lineNumber: 631,
|
|
28451
28568
|
columnNumber: 27
|
|
28452
28569
|
}
|
|
28453
28570
|
}), !hiddenPreview && /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -28460,7 +28577,7 @@ const Upload = ({
|
|
|
28460
28577
|
__self: undefined,
|
|
28461
28578
|
__source: {
|
|
28462
28579
|
fileName: _jsxFileName$9,
|
|
28463
|
-
lineNumber:
|
|
28580
|
+
lineNumber: 633,
|
|
28464
28581
|
columnNumber: 15
|
|
28465
28582
|
}
|
|
28466
28583
|
}, /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -28469,7 +28586,7 @@ const Upload = ({
|
|
|
28469
28586
|
__self: undefined,
|
|
28470
28587
|
__source: {
|
|
28471
28588
|
fileName: _jsxFileName$9,
|
|
28472
|
-
lineNumber:
|
|
28589
|
+
lineNumber: 641,
|
|
28473
28590
|
columnNumber: 17
|
|
28474
28591
|
}
|
|
28475
28592
|
})), /*#__PURE__*/React__default.createElement(Image, {
|
|
@@ -28479,7 +28596,7 @@ const Upload = ({
|
|
|
28479
28596
|
__self: undefined,
|
|
28480
28597
|
__source: {
|
|
28481
28598
|
fileName: _jsxFileName$9,
|
|
28482
|
-
lineNumber:
|
|
28599
|
+
lineNumber: 644,
|
|
28483
28600
|
columnNumber: 13
|
|
28484
28601
|
}
|
|
28485
28602
|
})), !disabled && renderButtonReplace(index));
|
|
@@ -28496,7 +28613,7 @@ const Upload = ({
|
|
|
28496
28613
|
__self: undefined,
|
|
28497
28614
|
__source: {
|
|
28498
28615
|
fileName: _jsxFileName$9,
|
|
28499
|
-
lineNumber:
|
|
28616
|
+
lineNumber: 655,
|
|
28500
28617
|
columnNumber: 16
|
|
28501
28618
|
}
|
|
28502
28619
|
});
|
|
@@ -28506,7 +28623,7 @@ const Upload = ({
|
|
|
28506
28623
|
__self: undefined,
|
|
28507
28624
|
__source: {
|
|
28508
28625
|
fileName: _jsxFileName$9,
|
|
28509
|
-
lineNumber:
|
|
28626
|
+
lineNumber: 658,
|
|
28510
28627
|
columnNumber: 9
|
|
28511
28628
|
}
|
|
28512
28629
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -28516,7 +28633,7 @@ const Upload = ({
|
|
|
28516
28633
|
__self: undefined,
|
|
28517
28634
|
__source: {
|
|
28518
28635
|
fileName: _jsxFileName$9,
|
|
28519
|
-
lineNumber:
|
|
28636
|
+
lineNumber: 659,
|
|
28520
28637
|
columnNumber: 11
|
|
28521
28638
|
}
|
|
28522
28639
|
}, !disabled && /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -28525,7 +28642,7 @@ const Upload = ({
|
|
|
28525
28642
|
__self: undefined,
|
|
28526
28643
|
__source: {
|
|
28527
28644
|
fileName: _jsxFileName$9,
|
|
28528
|
-
lineNumber:
|
|
28645
|
+
lineNumber: 660,
|
|
28529
28646
|
columnNumber: 27
|
|
28530
28647
|
}
|
|
28531
28648
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -28538,7 +28655,7 @@ const Upload = ({
|
|
|
28538
28655
|
__self: undefined,
|
|
28539
28656
|
__source: {
|
|
28540
28657
|
fileName: _jsxFileName$9,
|
|
28541
|
-
lineNumber:
|
|
28658
|
+
lineNumber: 661,
|
|
28542
28659
|
columnNumber: 13
|
|
28543
28660
|
}
|
|
28544
28661
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -28548,14 +28665,14 @@ const Upload = ({
|
|
|
28548
28665
|
__self: undefined,
|
|
28549
28666
|
__source: {
|
|
28550
28667
|
fileName: _jsxFileName$9,
|
|
28551
|
-
lineNumber:
|
|
28668
|
+
lineNumber: 669,
|
|
28552
28669
|
columnNumber: 15
|
|
28553
28670
|
}
|
|
28554
28671
|
}, /*#__PURE__*/React__default.createElement(FileExtension, {
|
|
28555
28672
|
__self: undefined,
|
|
28556
28673
|
__source: {
|
|
28557
28674
|
fileName: _jsxFileName$9,
|
|
28558
|
-
lineNumber:
|
|
28675
|
+
lineNumber: 670,
|
|
28559
28676
|
columnNumber: 17
|
|
28560
28677
|
}
|
|
28561
28678
|
}, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
|
|
@@ -28563,7 +28680,7 @@ const Upload = ({
|
|
|
28563
28680
|
__self: undefined,
|
|
28564
28681
|
__source: {
|
|
28565
28682
|
fileName: _jsxFileName$9,
|
|
28566
|
-
lineNumber:
|
|
28683
|
+
lineNumber: 671,
|
|
28567
28684
|
columnNumber: 17
|
|
28568
28685
|
}
|
|
28569
28686
|
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -28578,7 +28695,7 @@ const Upload = ({
|
|
|
28578
28695
|
__self: undefined,
|
|
28579
28696
|
__source: {
|
|
28580
28697
|
fileName: _jsxFileName$9,
|
|
28581
|
-
lineNumber:
|
|
28698
|
+
lineNumber: 672,
|
|
28582
28699
|
columnNumber: 19
|
|
28583
28700
|
}
|
|
28584
28701
|
}, item.name)))), !hiddenPreview && /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -28591,7 +28708,7 @@ const Upload = ({
|
|
|
28591
28708
|
__self: undefined,
|
|
28592
28709
|
__source: {
|
|
28593
28710
|
fileName: _jsxFileName$9,
|
|
28594
|
-
lineNumber:
|
|
28711
|
+
lineNumber: 688,
|
|
28595
28712
|
columnNumber: 15
|
|
28596
28713
|
}
|
|
28597
28714
|
}, /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -28600,7 +28717,7 @@ const Upload = ({
|
|
|
28600
28717
|
__self: undefined,
|
|
28601
28718
|
__source: {
|
|
28602
28719
|
fileName: _jsxFileName$9,
|
|
28603
|
-
lineNumber:
|
|
28720
|
+
lineNumber: 696,
|
|
28604
28721
|
columnNumber: 17
|
|
28605
28722
|
}
|
|
28606
28723
|
})), /*#__PURE__*/React__default.createElement(Blank, {
|
|
@@ -28608,7 +28725,7 @@ const Upload = ({
|
|
|
28608
28725
|
__self: undefined,
|
|
28609
28726
|
__source: {
|
|
28610
28727
|
fileName: _jsxFileName$9,
|
|
28611
|
-
lineNumber:
|
|
28728
|
+
lineNumber: 699,
|
|
28612
28729
|
columnNumber: 13
|
|
28613
28730
|
}
|
|
28614
28731
|
})), !disabled && renderButtonReplace(index));
|
|
@@ -28623,7 +28740,7 @@ const Upload = ({
|
|
|
28623
28740
|
__self: this,
|
|
28624
28741
|
__source: {
|
|
28625
28742
|
fileName: _jsxFileName$9,
|
|
28626
|
-
lineNumber:
|
|
28743
|
+
lineNumber: 710,
|
|
28627
28744
|
columnNumber: 7
|
|
28628
28745
|
}
|
|
28629
28746
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -28637,7 +28754,7 @@ const Upload = ({
|
|
|
28637
28754
|
__self: this,
|
|
28638
28755
|
__source: {
|
|
28639
28756
|
fileName: _jsxFileName$9,
|
|
28640
|
-
lineNumber:
|
|
28757
|
+
lineNumber: 711,
|
|
28641
28758
|
columnNumber: 9
|
|
28642
28759
|
}
|
|
28643
28760
|
}, /*#__PURE__*/React__default.createElement(LoadingBar, {
|
|
@@ -28663,7 +28780,7 @@ const Upload = ({
|
|
|
28663
28780
|
__self: this,
|
|
28664
28781
|
__source: {
|
|
28665
28782
|
fileName: _jsxFileName$9,
|
|
28666
|
-
lineNumber:
|
|
28783
|
+
lineNumber: 712,
|
|
28667
28784
|
columnNumber: 11
|
|
28668
28785
|
}
|
|
28669
28786
|
}), /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -28671,14 +28788,14 @@ const Upload = ({
|
|
|
28671
28788
|
__self: this,
|
|
28672
28789
|
__source: {
|
|
28673
28790
|
fileName: _jsxFileName$9,
|
|
28674
|
-
lineNumber:
|
|
28791
|
+
lineNumber: 725,
|
|
28675
28792
|
columnNumber: 11
|
|
28676
28793
|
}
|
|
28677
28794
|
}, `${progress <= 100 ? progress : 100}%`), /*#__PURE__*/React__default.createElement(Text, {
|
|
28678
28795
|
__self: this,
|
|
28679
28796
|
__source: {
|
|
28680
28797
|
fileName: _jsxFileName$9,
|
|
28681
|
-
lineNumber:
|
|
28798
|
+
lineNumber: 726,
|
|
28682
28799
|
columnNumber: 11
|
|
28683
28800
|
}
|
|
28684
28801
|
}, t('uploadingLabel', 'Berkas sedang diunggah'))));
|
|
@@ -28690,7 +28807,7 @@ const Upload = ({
|
|
|
28690
28807
|
__self: this,
|
|
28691
28808
|
__source: {
|
|
28692
28809
|
fileName: _jsxFileName$9,
|
|
28693
|
-
lineNumber:
|
|
28810
|
+
lineNumber: 734,
|
|
28694
28811
|
columnNumber: 7
|
|
28695
28812
|
}
|
|
28696
28813
|
}, /*#__PURE__*/React__default.createElement(ContainerUpload, {
|
|
@@ -28706,7 +28823,7 @@ const Upload = ({
|
|
|
28706
28823
|
__self: this,
|
|
28707
28824
|
__source: {
|
|
28708
28825
|
fileName: _jsxFileName$9,
|
|
28709
|
-
lineNumber:
|
|
28826
|
+
lineNumber: 735,
|
|
28710
28827
|
columnNumber: 9
|
|
28711
28828
|
}
|
|
28712
28829
|
}, /*#__PURE__*/React__default.createElement(Input$2, {
|
|
@@ -28718,21 +28835,21 @@ const Upload = ({
|
|
|
28718
28835
|
__self: this,
|
|
28719
28836
|
__source: {
|
|
28720
28837
|
fileName: _jsxFileName$9,
|
|
28721
|
-
lineNumber:
|
|
28838
|
+
lineNumber: 746,
|
|
28722
28839
|
columnNumber: 11
|
|
28723
28840
|
}
|
|
28724
28841
|
}), /*#__PURE__*/React__default.createElement(Children, {
|
|
28725
28842
|
__self: this,
|
|
28726
28843
|
__source: {
|
|
28727
28844
|
fileName: _jsxFileName$9,
|
|
28728
|
-
lineNumber:
|
|
28845
|
+
lineNumber: 747,
|
|
28729
28846
|
columnNumber: 11
|
|
28730
28847
|
}
|
|
28731
28848
|
}, children != null ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
28732
28849
|
__self: this,
|
|
28733
28850
|
__source: {
|
|
28734
28851
|
fileName: _jsxFileName$9,
|
|
28735
|
-
lineNumber:
|
|
28852
|
+
lineNumber: 749,
|
|
28736
28853
|
columnNumber: 15
|
|
28737
28854
|
}
|
|
28738
28855
|
}, /*#__PURE__*/React__default.createElement(IconCard, {
|
|
@@ -28741,7 +28858,7 @@ const Upload = ({
|
|
|
28741
28858
|
__self: this,
|
|
28742
28859
|
__source: {
|
|
28743
28860
|
fileName: _jsxFileName$9,
|
|
28744
|
-
lineNumber:
|
|
28861
|
+
lineNumber: 750,
|
|
28745
28862
|
columnNumber: 17
|
|
28746
28863
|
}
|
|
28747
28864
|
}, /*#__PURE__*/React__default.createElement(UploadOutline, {
|
|
@@ -28749,7 +28866,7 @@ const Upload = ({
|
|
|
28749
28866
|
__self: this,
|
|
28750
28867
|
__source: {
|
|
28751
28868
|
fileName: _jsxFileName$9,
|
|
28752
|
-
lineNumber:
|
|
28869
|
+
lineNumber: 751,
|
|
28753
28870
|
columnNumber: 19
|
|
28754
28871
|
}
|
|
28755
28872
|
})), /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -28759,7 +28876,7 @@ const Upload = ({
|
|
|
28759
28876
|
__self: this,
|
|
28760
28877
|
__source: {
|
|
28761
28878
|
fileName: _jsxFileName$9,
|
|
28762
|
-
lineNumber:
|
|
28879
|
+
lineNumber: 753,
|
|
28763
28880
|
columnNumber: 17
|
|
28764
28881
|
}
|
|
28765
28882
|
}, placeholder != null ? placeholder : t('uploadPlaceholder', 'Pilih atau letakkan berkas di sini'))))), error && /*#__PURE__*/React__default.createElement(ErrorMessage, {
|
|
@@ -28769,7 +28886,7 @@ const Upload = ({
|
|
|
28769
28886
|
__self: this,
|
|
28770
28887
|
__source: {
|
|
28771
28888
|
fileName: _jsxFileName$9,
|
|
28772
|
-
lineNumber:
|
|
28889
|
+
lineNumber: 760,
|
|
28773
28890
|
columnNumber: 19
|
|
28774
28891
|
}
|
|
28775
28892
|
}, error));
|
|
@@ -28777,10 +28894,11 @@ const Upload = ({
|
|
|
28777
28894
|
function renderCropper() {
|
|
28778
28895
|
return /*#__PURE__*/React__default.createElement(ModalDialog, {
|
|
28779
28896
|
onOpenChange: () => setCrop(null),
|
|
28897
|
+
isMobile: isMobile,
|
|
28780
28898
|
__self: this,
|
|
28781
28899
|
__source: {
|
|
28782
28900
|
fileName: _jsxFileName$9,
|
|
28783
|
-
lineNumber:
|
|
28901
|
+
lineNumber: 767,
|
|
28784
28902
|
columnNumber: 7
|
|
28785
28903
|
}
|
|
28786
28904
|
}, /*#__PURE__*/React__default.createElement(ModalDialogTrigger, {
|
|
@@ -28788,7 +28906,7 @@ const Upload = ({
|
|
|
28788
28906
|
__self: this,
|
|
28789
28907
|
__source: {
|
|
28790
28908
|
fileName: _jsxFileName$9,
|
|
28791
|
-
lineNumber:
|
|
28909
|
+
lineNumber: 768,
|
|
28792
28910
|
columnNumber: 9
|
|
28793
28911
|
}
|
|
28794
28912
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -28796,7 +28914,7 @@ const Upload = ({
|
|
|
28796
28914
|
__self: this,
|
|
28797
28915
|
__source: {
|
|
28798
28916
|
fileName: _jsxFileName$9,
|
|
28799
|
-
lineNumber:
|
|
28917
|
+
lineNumber: 769,
|
|
28800
28918
|
columnNumber: 11
|
|
28801
28919
|
}
|
|
28802
28920
|
})), /*#__PURE__*/React__default.createElement(ModalDialogTitle, {
|
|
@@ -28809,7 +28927,7 @@ const Upload = ({
|
|
|
28809
28927
|
__self: this,
|
|
28810
28928
|
__source: {
|
|
28811
28929
|
fileName: _jsxFileName$9,
|
|
28812
|
-
lineNumber:
|
|
28930
|
+
lineNumber: 771,
|
|
28813
28931
|
columnNumber: 9
|
|
28814
28932
|
}
|
|
28815
28933
|
}, cropperTitle || t('cropperTitle', 'Potong Gambar')), /*#__PURE__*/React__default.createElement(ModalDialogContent, {
|
|
@@ -28822,7 +28940,7 @@ const Upload = ({
|
|
|
28822
28940
|
__self: this,
|
|
28823
28941
|
__source: {
|
|
28824
28942
|
fileName: _jsxFileName$9,
|
|
28825
|
-
lineNumber:
|
|
28943
|
+
lineNumber: 774,
|
|
28826
28944
|
columnNumber: 9
|
|
28827
28945
|
}
|
|
28828
28946
|
}, /*#__PURE__*/React__default.createElement(ReactCrop, {
|
|
@@ -28833,7 +28951,7 @@ const Upload = ({
|
|
|
28833
28951
|
__self: this,
|
|
28834
28952
|
__source: {
|
|
28835
28953
|
fileName: _jsxFileName$9,
|
|
28836
|
-
lineNumber:
|
|
28954
|
+
lineNumber: 775,
|
|
28837
28955
|
columnNumber: 11
|
|
28838
28956
|
}
|
|
28839
28957
|
}, /*#__PURE__*/React__default.createElement(Image, {
|
|
@@ -28847,14 +28965,14 @@ const Upload = ({
|
|
|
28847
28965
|
__self: this,
|
|
28848
28966
|
__source: {
|
|
28849
28967
|
fileName: _jsxFileName$9,
|
|
28850
|
-
lineNumber:
|
|
28968
|
+
lineNumber: 776,
|
|
28851
28969
|
columnNumber: 13
|
|
28852
28970
|
}
|
|
28853
28971
|
}))), /*#__PURE__*/React__default.createElement(ModalDialogFooter, {
|
|
28854
28972
|
__self: this,
|
|
28855
28973
|
__source: {
|
|
28856
28974
|
fileName: _jsxFileName$9,
|
|
28857
|
-
lineNumber:
|
|
28975
|
+
lineNumber: 787,
|
|
28858
28976
|
columnNumber: 9
|
|
28859
28977
|
}
|
|
28860
28978
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -28866,14 +28984,14 @@ const Upload = ({
|
|
|
28866
28984
|
__self: this,
|
|
28867
28985
|
__source: {
|
|
28868
28986
|
fileName: _jsxFileName$9,
|
|
28869
|
-
lineNumber:
|
|
28987
|
+
lineNumber: 788,
|
|
28870
28988
|
columnNumber: 11
|
|
28871
28989
|
}
|
|
28872
28990
|
}, hiddenToggleAspect ? /*#__PURE__*/React__default.createElement(Box, {
|
|
28873
28991
|
__self: this,
|
|
28874
28992
|
__source: {
|
|
28875
28993
|
fileName: _jsxFileName$9,
|
|
28876
|
-
lineNumber:
|
|
28994
|
+
lineNumber: 790,
|
|
28877
28995
|
columnNumber: 15
|
|
28878
28996
|
}
|
|
28879
28997
|
}) : /*#__PURE__*/React__default.createElement(Tooltip$1, {
|
|
@@ -28881,7 +28999,7 @@ const Upload = ({
|
|
|
28881
28999
|
__self: this,
|
|
28882
29000
|
__source: {
|
|
28883
29001
|
fileName: _jsxFileName$9,
|
|
28884
|
-
lineNumber:
|
|
29002
|
+
lineNumber: 792,
|
|
28885
29003
|
columnNumber: 15
|
|
28886
29004
|
}
|
|
28887
29005
|
}, /*#__PURE__*/React__default.createElement(ImageOutline, {
|
|
@@ -28893,7 +29011,7 @@ const Upload = ({
|
|
|
28893
29011
|
__self: this,
|
|
28894
29012
|
__source: {
|
|
28895
29013
|
fileName: _jsxFileName$9,
|
|
28896
|
-
lineNumber:
|
|
29014
|
+
lineNumber: 793,
|
|
28897
29015
|
columnNumber: 17
|
|
28898
29016
|
}
|
|
28899
29017
|
})), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -28901,7 +29019,7 @@ const Upload = ({
|
|
|
28901
29019
|
__self: this,
|
|
28902
29020
|
__source: {
|
|
28903
29021
|
fileName: _jsxFileName$9,
|
|
28904
|
-
lineNumber:
|
|
29022
|
+
lineNumber: 800,
|
|
28905
29023
|
columnNumber: 13
|
|
28906
29024
|
}
|
|
28907
29025
|
}, /*#__PURE__*/React__default.createElement(Button$4, {
|
|
@@ -28910,7 +29028,7 @@ const Upload = ({
|
|
|
28910
29028
|
__self: this,
|
|
28911
29029
|
__source: {
|
|
28912
29030
|
fileName: _jsxFileName$9,
|
|
28913
|
-
lineNumber:
|
|
29031
|
+
lineNumber: 801,
|
|
28914
29032
|
columnNumber: 15
|
|
28915
29033
|
}
|
|
28916
29034
|
}, t('label.cancel', 'Batal', {
|
|
@@ -28920,7 +29038,7 @@ const Upload = ({
|
|
|
28920
29038
|
__self: this,
|
|
28921
29039
|
__source: {
|
|
28922
29040
|
fileName: _jsxFileName$9,
|
|
28923
|
-
lineNumber:
|
|
29041
|
+
lineNumber: 804,
|
|
28924
29042
|
columnNumber: 15
|
|
28925
29043
|
}
|
|
28926
29044
|
}, t('save', 'Simpan', {
|
|
@@ -28937,7 +29055,7 @@ const Upload = ({
|
|
|
28937
29055
|
__self: undefined,
|
|
28938
29056
|
__source: {
|
|
28939
29057
|
fileName: _jsxFileName$9,
|
|
28940
|
-
lineNumber:
|
|
29058
|
+
lineNumber: 813,
|
|
28941
29059
|
columnNumber: 5
|
|
28942
29060
|
}
|
|
28943
29061
|
}, !isFile && renderPicture(), isFile && renderFile(), progress || isLoading ? /*#__PURE__*/React__default.createElement(UploadProgress, {
|
|
@@ -28946,7 +29064,7 @@ const Upload = ({
|
|
|
28946
29064
|
__self: undefined,
|
|
28947
29065
|
__source: {
|
|
28948
29066
|
fileName: _jsxFileName$9,
|
|
28949
|
-
lineNumber:
|
|
29067
|
+
lineNumber: 816,
|
|
28950
29068
|
columnNumber: 32
|
|
28951
29069
|
}
|
|
28952
29070
|
}) : renderUpload(), showCropper && renderCropper());
|
|
@@ -29746,7 +29864,7 @@ const Device = props => {
|
|
|
29746
29864
|
};
|
|
29747
29865
|
Device.displayName = 'DevicePreview';
|
|
29748
29866
|
|
|
29749
|
-
var _jsxFileName$8 = "/
|
|
29867
|
+
var _jsxFileName$8 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
29750
29868
|
const Separator$1 = styled('div', {
|
|
29751
29869
|
height: 20,
|
|
29752
29870
|
width: 1,
|
|
@@ -29899,7 +30017,7 @@ InputColorPicker.defaultProps = {
|
|
|
29899
30017
|
|
|
29900
30018
|
var img$d = "data:image/gif;base64,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";
|
|
29901
30019
|
|
|
29902
|
-
var _jsxFileName$7 = "/
|
|
30020
|
+
var _jsxFileName$7 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
29903
30021
|
const Container$7 = styled('div', {
|
|
29904
30022
|
userSelect: 'none',
|
|
29905
30023
|
margin: 'auto',
|
|
@@ -31860,7 +31978,7 @@ function ColorMap({
|
|
|
31860
31978
|
})));
|
|
31861
31979
|
}
|
|
31862
31980
|
|
|
31863
|
-
var _jsxFileName$6 = "/
|
|
31981
|
+
var _jsxFileName$6 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
31864
31982
|
const CheckBoard = styled(Flex$1, {
|
|
31865
31983
|
background: '$bgwhite',
|
|
31866
31984
|
border: '1px solid #E5E7EB',
|
|
@@ -32061,7 +32179,7 @@ function ColorFields({
|
|
|
32061
32179
|
}, "%")));
|
|
32062
32180
|
}
|
|
32063
32181
|
|
|
32064
|
-
var _jsxFileName$5 = "/
|
|
32182
|
+
var _jsxFileName$5 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
32065
32183
|
const Container$6 = styled(Flex$1, {
|
|
32066
32184
|
background: '$white',
|
|
32067
32185
|
padding: 16,
|
|
@@ -32581,7 +32699,7 @@ ColorPicker.defaultProps = {
|
|
|
32581
32699
|
};
|
|
32582
32700
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
32583
32701
|
|
|
32584
|
-
var _jsxFileName$4 = "/
|
|
32702
|
+
var _jsxFileName$4 = "/Users/majoo/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
32585
32703
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
32586
32704
|
const Stepper = StepWizard$1;
|
|
32587
32705
|
Stepper.displayName = 'Stepper';
|
|
@@ -33304,7 +33422,7 @@ StepWizard.defaultProps = {
|
|
|
33304
33422
|
isLazyMount: true
|
|
33305
33423
|
};
|
|
33306
33424
|
|
|
33307
|
-
var _jsxFileName$3 = "/
|
|
33425
|
+
var _jsxFileName$3 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
33308
33426
|
function Collapse({
|
|
33309
33427
|
children,
|
|
33310
33428
|
isOpen
|
|
@@ -33347,7 +33465,7 @@ Collapse.defaultProps = {
|
|
|
33347
33465
|
isOpen: false
|
|
33348
33466
|
};
|
|
33349
33467
|
|
|
33350
|
-
var _jsxFileName$2 = "/
|
|
33468
|
+
var _jsxFileName$2 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
33351
33469
|
const DesktopContainer = styled(Flex$1, {
|
|
33352
33470
|
display: 'none',
|
|
33353
33471
|
'& .active-scroll-spy': {
|
|
@@ -33708,7 +33826,7 @@ TableOfContentPage.defaultProps = {
|
|
|
33708
33826
|
useBoxMethod: true
|
|
33709
33827
|
};
|
|
33710
33828
|
|
|
33711
|
-
var _jsxFileName$1 = "/
|
|
33829
|
+
var _jsxFileName$1 = "/Users/majoo/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
33712
33830
|
function Collapalse({
|
|
33713
33831
|
children,
|
|
33714
33832
|
isOpen
|
|
@@ -51986,236 +52104,12 @@ function PrimitiveLoadingBar({
|
|
|
51986
52104
|
}, void 0)]
|
|
51987
52105
|
}), void 0);
|
|
51988
52106
|
}
|
|
51989
|
-
const rotateKeyframe = keyframes({
|
|
51990
|
-
'100%': {
|
|
51991
|
-
transform: 'rotate(360deg)'
|
|
51992
|
-
}
|
|
51993
|
-
});
|
|
51994
|
-
const dashKeyframe = keyframes({
|
|
51995
|
-
'0%': {
|
|
51996
|
-
strokeDasharray: '0,125',
|
|
51997
|
-
strokeDashoffset: -8
|
|
51998
|
-
},
|
|
51999
|
-
'50%': {
|
|
52000
|
-
strokeDasharray: 125,
|
|
52001
|
-
strokeDashoffset: -10
|
|
52002
|
-
},
|
|
52003
|
-
'100%': {
|
|
52004
|
-
strokeDasharray: 125,
|
|
52005
|
-
strokeDashoffset: -125
|
|
52006
|
-
}
|
|
52007
|
-
});
|
|
52008
|
-
const LoadingContainer = styled$1('div', {
|
|
52009
|
-
position: 'absolute',
|
|
52010
|
-
width: 152,
|
|
52011
|
-
height: 152,
|
|
52012
|
-
top: '50%',
|
|
52013
|
-
left: '50%',
|
|
52014
|
-
transform: 'translate(-50%,-50%)'
|
|
52015
|
-
});
|
|
52016
|
-
const LogoSvg = styled$1('svg', {
|
|
52017
|
-
height: 152,
|
|
52018
|
-
position: 'absolute',
|
|
52019
|
-
width: 152
|
|
52020
|
-
});
|
|
52021
|
-
const LoadingSvg = styled$1('svg', {
|
|
52022
|
-
animation: `${rotateKeyframe} 2s linear infinite`,
|
|
52023
|
-
height: 152,
|
|
52024
|
-
position: 'absolute',
|
|
52025
|
-
width: 152,
|
|
52026
|
-
top: '-22px'
|
|
52027
|
-
});
|
|
52028
|
-
const LoadingBackground = styled$1('div', {
|
|
52029
|
-
background: 'conic-gradient(#fff5f6, #FF97A4, #02B4F3, #81CF77, #6D60AE, #FF6C53 320deg)',
|
|
52030
|
-
width: '100%',
|
|
52031
|
-
height: '100%'
|
|
52032
|
-
});
|
|
52033
|
-
const LoadingCircle = styled$1('circle', {
|
|
52034
|
-
stroke: 'white',
|
|
52035
|
-
strokeLinecap: 'round',
|
|
52036
|
-
transformOrigin: '50% 50%',
|
|
52037
|
-
transform: 'rotate(-102deg)',
|
|
52038
|
-
animation: `${dashKeyframe} 1.5s ease-in-out infinite`
|
|
52039
|
-
});
|
|
52040
|
-
const LoadingLabel = styled$1(Paragraph, {
|
|
52041
|
-
position: 'relative',
|
|
52042
|
-
top: 100
|
|
52043
|
-
});
|
|
52044
|
-
function CircularLoadingBar({
|
|
52045
|
-
label
|
|
52046
|
-
}) {
|
|
52047
|
-
return jsxs(LoadingContainer, {
|
|
52048
|
-
children: [jsxs(LogoSvg, Object.assign({
|
|
52049
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
52050
|
-
width: "152",
|
|
52051
|
-
height: "152",
|
|
52052
|
-
viewBox: "0 0 152 152",
|
|
52053
|
-
fill: "none"
|
|
52054
|
-
}, {
|
|
52055
|
-
children: [jsxs("g", Object.assign({
|
|
52056
|
-
filter: "url(#filter0_ddd_4303_695)"
|
|
52057
|
-
}, {
|
|
52058
|
-
children: [jsx("rect", {
|
|
52059
|
-
x: "46.0004",
|
|
52060
|
-
y: "23.9999",
|
|
52061
|
-
width: "60",
|
|
52062
|
-
height: "60",
|
|
52063
|
-
rx: "30",
|
|
52064
|
-
fill: "url(#paint0_linear_4303_695)"
|
|
52065
|
-
}, void 0), jsx("rect", {
|
|
52066
|
-
x: "46",
|
|
52067
|
-
y: "24",
|
|
52068
|
-
width: "60",
|
|
52069
|
-
height: "60",
|
|
52070
|
-
rx: "30",
|
|
52071
|
-
stroke: "url(#paint1_linear_4303_695)",
|
|
52072
|
-
"stroke-opacity": "0.99",
|
|
52073
|
-
"stroke-width": "5"
|
|
52074
|
-
}, void 0), jsx("path", {
|
|
52075
|
-
"fill-rule": "evenodd",
|
|
52076
|
-
"clip-rule": "evenodd",
|
|
52077
|
-
d: "M87.9634 61.5652C87.9634 63.0968 86.7378 64.3333 85.2195 64.3333C83.7013 64.3333 82.4757 63.0968 82.4757 61.5652C82.4757 58.1698 82.4757 54.7928 82.4757 51.4159C82.9329 51.4159 83.3902 51.4159 83.8476 51.4159C84.1768 51.4159 84.3414 51.1206 84.1037 50.8623C83.0426 49.6074 81.9633 48.371 80.9024 47.1162C80.628 46.7471 80.5366 46.821 80.2805 47.1162C79.2195 48.371 78.1402 49.6074 77.0793 50.8623C76.8415 51.1391 77.0061 51.4159 77.3354 51.4159C77.7927 51.4159 78.25 51.4159 78.7073 51.4159C78.7073 54.8113 78.7256 58.1698 78.7256 61.5652C78.7256 63.0968 77.5 64.3333 75.9817 64.3333C74.4634 64.3333 73.2378 63.0968 73.2378 61.5652C73.2378 59.1848 73.2561 56.8227 73.2561 54.4607C73.7134 54.4607 74.1707 54.4607 74.628 54.4607C74.9573 54.4607 75.1219 54.1654 74.8841 53.9071C73.8232 52.6522 72.7439 51.4159 71.6829 50.161C71.4085 49.792 71.3171 49.8658 71.061 50.161C70 51.4159 68.9207 52.6522 67.8598 53.9071C67.6219 54.1839 67.7866 54.4607 68.1159 54.4607C68.5732 54.4607 69.0305 54.4607 69.4878 54.4607V54.5899V61.5652C69.4878 63.0968 68.2622 64.3333 66.7439 64.3333C65.2256 64.3333 64 63.0968 64 61.5652V50.7515C64 48.7217 64.8232 46.8579 66.1585 45.5108C67.4939 44.1637 69.3415 43.3333 71.372 43.3333C73.128 43.3333 74.7378 43.9607 76 44.9941C77.2622 43.9607 78.872 43.3333 80.628 43.3333C82.6586 43.3333 84.5061 44.1637 85.8414 45.5108C87.1768 46.8579 88 48.7217 88 50.7515V61.5652H87.9634Z",
|
|
52078
|
-
fill: "white"
|
|
52079
|
-
}, void 0)]
|
|
52080
|
-
}), void 0), jsxs("defs", {
|
|
52081
|
-
children: [jsxs("filter", Object.assign({
|
|
52082
|
-
id: "filter0_ddd_4303_695",
|
|
52083
|
-
x: "0.5",
|
|
52084
|
-
y: "0.5",
|
|
52085
|
-
width: "151",
|
|
52086
|
-
height: "151",
|
|
52087
|
-
filterUnits: "userSpaceOnUse",
|
|
52088
|
-
"color-interpolation-filters": "sRGB"
|
|
52089
|
-
}, {
|
|
52090
|
-
children: [jsx("feFlood", {
|
|
52091
|
-
"flood-opacity": "0",
|
|
52092
|
-
result: "BackgroundImageFix"
|
|
52093
|
-
}, void 0), jsx("feColorMatrix", {
|
|
52094
|
-
in: "SourceAlpha",
|
|
52095
|
-
type: "matrix",
|
|
52096
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
52097
|
-
result: "hardAlpha"
|
|
52098
|
-
}, void 0), jsx("feOffset", {
|
|
52099
|
-
dy: "22"
|
|
52100
|
-
}, void 0), jsx("feGaussianBlur", {
|
|
52101
|
-
stdDeviation: "21.5"
|
|
52102
|
-
}, void 0), jsx("feColorMatrix", {
|
|
52103
|
-
type: "matrix",
|
|
52104
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
|
|
52105
|
-
}, void 0), jsx("feBlend", {
|
|
52106
|
-
mode: "normal",
|
|
52107
|
-
in2: "BackgroundImageFix",
|
|
52108
|
-
result: "effect1_dropShadow_4303_695"
|
|
52109
|
-
}, void 0), jsx("feColorMatrix", {
|
|
52110
|
-
in: "SourceAlpha",
|
|
52111
|
-
type: "matrix",
|
|
52112
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
52113
|
-
result: "hardAlpha"
|
|
52114
|
-
}, void 0), jsx("feOffset", {
|
|
52115
|
-
dy: "9"
|
|
52116
|
-
}, void 0), jsx("feGaussianBlur", {
|
|
52117
|
-
stdDeviation: "12"
|
|
52118
|
-
}, void 0), jsx("feColorMatrix", {
|
|
52119
|
-
type: "matrix",
|
|
52120
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0"
|
|
52121
|
-
}, void 0), jsx("feBlend", {
|
|
52122
|
-
mode: "normal",
|
|
52123
|
-
in2: "effect1_dropShadow_4303_695",
|
|
52124
|
-
result: "effect2_dropShadow_4303_695"
|
|
52125
|
-
}, void 0), jsx("feColorMatrix", {
|
|
52126
|
-
in: "SourceAlpha",
|
|
52127
|
-
type: "matrix",
|
|
52128
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
52129
|
-
result: "hardAlpha"
|
|
52130
|
-
}, void 0), jsx("feOffset", {
|
|
52131
|
-
dy: "3"
|
|
52132
|
-
}, void 0), jsx("feGaussianBlur", {
|
|
52133
|
-
stdDeviation: "4.5"
|
|
52134
|
-
}, void 0), jsx("feColorMatrix", {
|
|
52135
|
-
type: "matrix",
|
|
52136
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"
|
|
52137
|
-
}, void 0), jsx("feBlend", {
|
|
52138
|
-
mode: "normal",
|
|
52139
|
-
in2: "effect2_dropShadow_4303_695",
|
|
52140
|
-
result: "effect3_dropShadow_4303_695"
|
|
52141
|
-
}, void 0), jsx("feBlend", {
|
|
52142
|
-
mode: "normal",
|
|
52143
|
-
in: "SourceGraphic",
|
|
52144
|
-
in2: "effect3_dropShadow_4303_695",
|
|
52145
|
-
result: "shape"
|
|
52146
|
-
}, void 0)]
|
|
52147
|
-
}), void 0), jsxs("linearGradient", Object.assign({
|
|
52148
|
-
id: "paint0_linear_4303_695",
|
|
52149
|
-
x1: "76.0004",
|
|
52150
|
-
y1: "23.9999",
|
|
52151
|
-
x2: "76.0004",
|
|
52152
|
-
y2: "83.9999",
|
|
52153
|
-
gradientUnits: "userSpaceOnUse"
|
|
52154
|
-
}, {
|
|
52155
|
-
children: [jsx("stop", {
|
|
52156
|
-
"stop-color": "#B3DCA7"
|
|
52157
|
-
}, void 0), jsx("stop", {
|
|
52158
|
-
offset: "1",
|
|
52159
|
-
"stop-color": "#22BDB6"
|
|
52160
|
-
}, void 0)]
|
|
52161
|
-
}), void 0), jsxs("linearGradient", Object.assign({
|
|
52162
|
-
id: "paint1_linear_4303_695",
|
|
52163
|
-
x1: "106",
|
|
52164
|
-
y1: "68.8332",
|
|
52165
|
-
x2: "50",
|
|
52166
|
-
y2: "37.3332",
|
|
52167
|
-
gradientUnits: "userSpaceOnUse"
|
|
52168
|
-
}, {
|
|
52169
|
-
children: [jsx("stop", {
|
|
52170
|
-
"stop-color": "#F4F4F4"
|
|
52171
|
-
}, void 0), jsx("stop", {
|
|
52172
|
-
offset: "1",
|
|
52173
|
-
"stop-color": "white"
|
|
52174
|
-
}, void 0)]
|
|
52175
|
-
}), void 0)]
|
|
52176
|
-
}, void 0)]
|
|
52177
|
-
}), void 0), jsxs(LoadingSvg, Object.assign({
|
|
52178
|
-
viewBox: "0 0 100 100",
|
|
52179
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
52180
|
-
}, {
|
|
52181
|
-
children: [jsx("defs", {
|
|
52182
|
-
children: jsx("mask", Object.assign({
|
|
52183
|
-
id: "mask"
|
|
52184
|
-
}, {
|
|
52185
|
-
children: jsx(LoadingCircle, {
|
|
52186
|
-
cx: "50",
|
|
52187
|
-
cy: "50",
|
|
52188
|
-
r: "20",
|
|
52189
|
-
fill: "none",
|
|
52190
|
-
"stroke-width": "4",
|
|
52191
|
-
"stroke-miterlimit": "10"
|
|
52192
|
-
}, void 0)
|
|
52193
|
-
}), void 0)
|
|
52194
|
-
}, void 0), jsx("foreignObject", Object.assign({
|
|
52195
|
-
x: "0",
|
|
52196
|
-
y: "0",
|
|
52197
|
-
width: "100",
|
|
52198
|
-
height: "100",
|
|
52199
|
-
mask: "url(#mask)"
|
|
52200
|
-
}, {
|
|
52201
|
-
children: jsx(LoadingBackground, {}, void 0)
|
|
52202
|
-
}), void 0)]
|
|
52203
|
-
}), void 0), label && jsx(LoadingLabel, Object.assign({
|
|
52204
|
-
color: "white",
|
|
52205
|
-
align: "center"
|
|
52206
|
-
}, {
|
|
52207
|
-
children: label
|
|
52208
|
-
}), void 0)]
|
|
52209
|
-
}, void 0);
|
|
52210
|
-
}
|
|
52211
52107
|
let interval;
|
|
52212
52108
|
function LoadingBar(props) {
|
|
52213
52109
|
const {
|
|
52214
52110
|
show,
|
|
52215
52111
|
onCompleted,
|
|
52216
|
-
interval: intervalTime
|
|
52217
|
-
isPageLoader,
|
|
52218
|
-
pageLoaderLabel
|
|
52112
|
+
interval: intervalTime
|
|
52219
52113
|
} = props;
|
|
52220
52114
|
const [progress, setProgress] = useState(0);
|
|
52221
52115
|
const [visibility, setVisibility] = useState(false);
|
|
@@ -52241,34 +52135,6 @@ function LoadingBar(props) {
|
|
|
52241
52135
|
onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
|
|
52242
52136
|
}
|
|
52243
52137
|
}, [progress, onCompleted]);
|
|
52244
|
-
if (!show) return jsx(React__default.Fragment, {}, void 0);
|
|
52245
|
-
if (isPageLoader) {
|
|
52246
|
-
return jsx(ModalDialog, Object.assign({
|
|
52247
|
-
open: show,
|
|
52248
|
-
modal: true,
|
|
52249
|
-
allowPinchZoom: false,
|
|
52250
|
-
width: "100%",
|
|
52251
|
-
layer: 2000,
|
|
52252
|
-
isMobile: false,
|
|
52253
|
-
css: {
|
|
52254
|
-
borderRadius: '2px !important',
|
|
52255
|
-
'& > div': {
|
|
52256
|
-
backgroundColor: 'transparent !important',
|
|
52257
|
-
borderRadius: '2px !important'
|
|
52258
|
-
}
|
|
52259
|
-
}
|
|
52260
|
-
}, {
|
|
52261
|
-
children: jsx(ModalDialogContent, Object.assign({
|
|
52262
|
-
css: {
|
|
52263
|
-
padding: '$spacing-08 $spacing-11'
|
|
52264
|
-
}
|
|
52265
|
-
}, {
|
|
52266
|
-
children: jsx(CircularLoadingBar, {
|
|
52267
|
-
label: pageLoaderLabel
|
|
52268
|
-
}, void 0)
|
|
52269
|
-
}), void 0)
|
|
52270
|
-
}), void 0);
|
|
52271
|
-
}
|
|
52272
52138
|
return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsx(PrimitiveLoadingBar, Object.assign({}, props, {
|
|
52273
52139
|
visibility: true
|
|
52274
52140
|
}), void 0) : jsx(PrimitiveLoadingBar, Object.assign({}, props, {
|
|
@@ -52281,8 +52147,7 @@ LoadingBar.defaultProps = {
|
|
|
52281
52147
|
show: false,
|
|
52282
52148
|
interval: 100,
|
|
52283
52149
|
description: 'Loading...',
|
|
52284
|
-
size: 'md'
|
|
52285
|
-
isPageLoader: false
|
|
52150
|
+
size: 'md'
|
|
52286
52151
|
};
|
|
52287
52152
|
|
|
52288
52153
|
const Container$4 = styled(Flex$1, {
|
|
@@ -53365,6 +53230,7 @@ const ProductList = props => {
|
|
|
53365
53230
|
label: tooltipLabel(name, variants)
|
|
53366
53231
|
}, {
|
|
53367
53232
|
children: jsxs(Box, Object.assign({
|
|
53233
|
+
gap: 2,
|
|
53368
53234
|
css: Object.assign({
|
|
53369
53235
|
display: 'flex',
|
|
53370
53236
|
alignItems: 'center',
|
|
@@ -53410,7 +53276,7 @@ const ProductList = props => {
|
|
|
53410
53276
|
padding: '4px 8px',
|
|
53411
53277
|
minWidth: 'unset',
|
|
53412
53278
|
justifyContent: 'flex-start',
|
|
53413
|
-
|
|
53279
|
+
mr: 'auto'
|
|
53414
53280
|
},
|
|
53415
53281
|
type: "varian"
|
|
53416
53282
|
}, {
|
|
@@ -55474,7 +55340,7 @@ PieChartComponent.defaultProps = {
|
|
|
55474
55340
|
innerRadius: 70
|
|
55475
55341
|
};
|
|
55476
55342
|
|
|
55477
|
-
var _jsxFileName = "/
|
|
55343
|
+
var _jsxFileName = "/Users/majoo/majoo-ui/packages/react/src/colors/Colors.js";
|
|
55478
55344
|
const StyledPaper = styled(Paper, {
|
|
55479
55345
|
borderRadius: '10px 10px 0 0',
|
|
55480
55346
|
padding: 15,
|
|
@@ -56970,4 +56836,4 @@ const useToggle = initialValue => {
|
|
|
56970
56836
|
return useReducer(toggleReducer, initialValue);
|
|
56971
56837
|
};
|
|
56972
56838
|
|
|
56973
|
-
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, ResourceList as InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator,
|
|
56839
|
+
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, ResourceList as InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowExpanderMultipleColumn as RowExpanderMultipleColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, rowSelectionWithCallbackColumn as RowSelectionWithCallbackColumn, SINGLE_PICKER, ScrollSync, ScrollSyncNode, SelectBox, SelectContainer, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, ToastProvider, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultEmptyDataProps, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
|