@majoo-ui/react 1.55.11 → 1.55.12
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/index.esm.js +48 -37
- package/index.umd.js +50 -42
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -7,6 +7,8 @@ import { CloseOutline, UserFilled, CircleQuestionOutline, SearchOutline, CloseFi
|
|
|
7
7
|
import { Transition } from 'react-transition-group';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
9
|
import { Portal } from '@majoo-ui/helpers';
|
|
10
|
+
import { useTranslation } from 'react-i18next';
|
|
11
|
+
import moment from 'moment';
|
|
10
12
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
11
13
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
12
14
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
@@ -18,7 +20,6 @@ import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
|
18
20
|
import Downshift, { useMultipleSelection, useCombobox } from 'downshift';
|
|
19
21
|
import InfiniteScroll from 'react-infinite-scroller';
|
|
20
22
|
import debounce from 'lodash.debounce';
|
|
21
|
-
import { useTranslation } from 'react-i18next';
|
|
22
23
|
import OTPInput, { ResendOTP as ResendOTP$1 } from 'otp-input-react';
|
|
23
24
|
import { useFloating, offset, flip, shift as shift$2, useInteractions, useClick, useDismiss, FloatingFocusManager } from '@floating-ui/react-dom-interactions';
|
|
24
25
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
@@ -28,7 +29,6 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
|
28
29
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
29
30
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
30
31
|
import { useDayzed } from 'dayzed';
|
|
31
|
-
import moment from 'moment';
|
|
32
32
|
import { useTable, useSortBy, useExpanded, usePagination, useRowSelect, useColumnOrder, useMountedLayoutEffect } from 'react-table';
|
|
33
33
|
import ReactDOM, { createPortal } from 'react-dom';
|
|
34
34
|
import * as ADialog from '@radix-ui/react-alert-dialog';
|
|
@@ -3389,19 +3389,23 @@ function MajooProvider({
|
|
|
3389
3389
|
disableGlobalStyle
|
|
3390
3390
|
}) {
|
|
3391
3391
|
!disableGlobalStyle && applyGlobalStyles(extendStyle);
|
|
3392
|
+
const {
|
|
3393
|
+
i18n
|
|
3394
|
+
} = useTranslation();
|
|
3395
|
+
moment.locale(i18n && i18n.language ? i18n.language : 'id');
|
|
3392
3396
|
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
3393
3397
|
theme: theme$1,
|
|
3394
3398
|
__self: this,
|
|
3395
3399
|
__source: {
|
|
3396
3400
|
fileName: _jsxFileName$Y,
|
|
3397
|
-
lineNumber:
|
|
3401
|
+
lineNumber: 15,
|
|
3398
3402
|
columnNumber: 5
|
|
3399
3403
|
}
|
|
3400
3404
|
}, /*#__PURE__*/React__default.createElement(ToastProvider, {
|
|
3401
3405
|
__self: this,
|
|
3402
3406
|
__source: {
|
|
3403
3407
|
fileName: _jsxFileName$Y,
|
|
3404
|
-
lineNumber:
|
|
3408
|
+
lineNumber: 16,
|
|
3405
3409
|
columnNumber: 7
|
|
3406
3410
|
}
|
|
3407
3411
|
}, children));
|
|
@@ -17200,7 +17204,6 @@ function InputDatePicker({
|
|
|
17200
17204
|
const [value, setValue] = useState(date || dateValue);
|
|
17201
17205
|
const [defaultValue, setDefaultValue] = useState(defaultDate || defaultDateValue);
|
|
17202
17206
|
const language = i18n.language;
|
|
17203
|
-
moment.locale(language);
|
|
17204
17207
|
useEffect(() => {
|
|
17205
17208
|
setValue(date || dateValue);
|
|
17206
17209
|
}, [date, dateValue]);
|
|
@@ -18185,6 +18188,9 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
|
|
|
18185
18188
|
renderContextMenu,
|
|
18186
18189
|
handleRowClick
|
|
18187
18190
|
}, ref) => {
|
|
18191
|
+
const {
|
|
18192
|
+
t
|
|
18193
|
+
} = useTranslation('MajooUI/table');
|
|
18188
18194
|
const {
|
|
18189
18195
|
getTableProps,
|
|
18190
18196
|
getTableBodyProps,
|
|
@@ -18218,7 +18224,7 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
|
|
|
18218
18224
|
children: headerGroup.headers.filter(column => column.isMobileHeader || column.id === 'selection').map(column => {
|
|
18219
18225
|
const headerRender = column.render('Header');
|
|
18220
18226
|
return jsx(TableHeadCell$4, Object.assign({}, column.getHeaderProps(!column.unsortable ? column.getSortByToggleProps({
|
|
18221
|
-
title: 'Urutkan'
|
|
18227
|
+
title: t('sortColumnTitle', 'Urutkan') || 'Urutkan'
|
|
18222
18228
|
}) : {
|
|
18223
18229
|
onClick: column.onToggle
|
|
18224
18230
|
}), {
|
|
@@ -18675,7 +18681,7 @@ const formattingData = (rawData, groupKey) => {
|
|
|
18675
18681
|
}
|
|
18676
18682
|
return rawData;
|
|
18677
18683
|
};
|
|
18678
|
-
const defaultEmptyDataProps = t => ({
|
|
18684
|
+
const defaultEmptyDataProps = (t, isMobile) => ({
|
|
18679
18685
|
doodleImage: jsx(EmptyDataDoodle, {}, void 0),
|
|
18680
18686
|
title: jsx(Paragraph, Object.assign({
|
|
18681
18687
|
paragraph: "shortContentBold",
|
|
@@ -18687,12 +18693,15 @@ const defaultEmptyDataProps = t => ({
|
|
|
18687
18693
|
}, {
|
|
18688
18694
|
children: t('dataNotAvailableTitle', 'Data tidak tersedia')
|
|
18689
18695
|
}), void 0),
|
|
18690
|
-
description:
|
|
18696
|
+
description: jsx(Paragraph, Object.assign({
|
|
18691
18697
|
paragraph: "shortContentRegular",
|
|
18692
18698
|
color: "secondary",
|
|
18693
18699
|
align: "center"
|
|
18694
18700
|
}, {
|
|
18695
|
-
children:
|
|
18701
|
+
children: isMobile ? jsxs(Fragment, {
|
|
18702
|
+
children: [t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan'), jsx("br", {}, void 0), t('dataNotAvailableDescription_2', 'di halaman ini')]
|
|
18703
|
+
}, void 0) : `${t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan')}
|
|
18704
|
+
${t('dataNotAvailableDescription_2', 'di halaman ini')}`
|
|
18696
18705
|
}), void 0)
|
|
18697
18706
|
});
|
|
18698
18707
|
function Table({
|
|
@@ -18732,7 +18741,8 @@ function Table({
|
|
|
18732
18741
|
const {
|
|
18733
18742
|
t
|
|
18734
18743
|
} = useTranslation('MajooUI/table');
|
|
18735
|
-
const
|
|
18744
|
+
const isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
|
|
18745
|
+
const customEmptyDataProps = emptyDataProps || defaultEmptyDataProps(t, isMobile);
|
|
18736
18746
|
const getInitialState = () => {
|
|
18737
18747
|
const initialState = {};
|
|
18738
18748
|
if (fetchData) {
|
|
@@ -18762,12 +18772,10 @@ function Table({
|
|
|
18762
18772
|
getRowId: showDuplicatedData ? undefined : row => row[keyId] || JSON.stringify(row)
|
|
18763
18773
|
}, useSortBy, useExpanded, usePagination, useRowSelect, useSticky, useColumnOrder);
|
|
18764
18774
|
const scrollerRef = useRef(null);
|
|
18765
|
-
const isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
|
|
18766
18775
|
const {
|
|
18767
18776
|
getTableProps,
|
|
18768
18777
|
getTableBodyProps,
|
|
18769
18778
|
headerGroups,
|
|
18770
|
-
allColumns,
|
|
18771
18779
|
visibleColumns,
|
|
18772
18780
|
prepareRow,
|
|
18773
18781
|
page,
|
|
@@ -18970,7 +18978,7 @@ function Table({
|
|
|
18970
18978
|
children: visibleHeaders.map((column, index) => {
|
|
18971
18979
|
const headerRender = column.render('Header');
|
|
18972
18980
|
return jsx(TableHeadCell$3, Object.assign({}, column.getHeaderProps(props => [props, !column.unsortable ? column.getSortByToggleProps({
|
|
18973
|
-
title: 'Urutkan'
|
|
18981
|
+
title: t('sortColumnTitle', 'Urutkan') || 'Urutkan'
|
|
18974
18982
|
}) : {
|
|
18975
18983
|
onClick: column.onToggle
|
|
18976
18984
|
}, {
|
|
@@ -19155,7 +19163,7 @@ const DateColumn = ({
|
|
|
19155
19163
|
let dateTime = '-';
|
|
19156
19164
|
const format = customFormat || 'DD MMMM YYYY';
|
|
19157
19165
|
if (value && moment(value, 'YYYYMMDDHHmmss').isValid()) {
|
|
19158
|
-
dateTime = moment(value, 'YYYYMMDDHHmmss').
|
|
19166
|
+
dateTime = moment(value, 'YYYYMMDDHHmmss').format(format);
|
|
19159
19167
|
}
|
|
19160
19168
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19161
19169
|
__self: undefined,
|
|
@@ -19710,8 +19718,11 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19710
19718
|
options,
|
|
19711
19719
|
Header: () => null,
|
|
19712
19720
|
Cell: props => {
|
|
19721
|
+
const {
|
|
19722
|
+
t
|
|
19723
|
+
} = useTranslation('MajooUI/table');
|
|
19713
19724
|
const defaultConfig = {
|
|
19714
|
-
mobileTitle: 'Aksi',
|
|
19725
|
+
mobileTitle: t('rowMenuMobileLabel', 'Aksi'),
|
|
19715
19726
|
cssContent: {},
|
|
19716
19727
|
cssMenuItem: {},
|
|
19717
19728
|
align: 'end'
|
|
@@ -19731,7 +19742,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19731
19742
|
__self: undefined,
|
|
19732
19743
|
__source: {
|
|
19733
19744
|
fileName: _jsxFileName$d,
|
|
19734
|
-
lineNumber:
|
|
19745
|
+
lineNumber: 39,
|
|
19735
19746
|
columnNumber: 9
|
|
19736
19747
|
}
|
|
19737
19748
|
}, /*#__PURE__*/React__default.createElement(DropdownMenuTrigger, {
|
|
@@ -19739,7 +19750,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19739
19750
|
__self: undefined,
|
|
19740
19751
|
__source: {
|
|
19741
19752
|
fileName: _jsxFileName$d,
|
|
19742
|
-
lineNumber:
|
|
19753
|
+
lineNumber: 40,
|
|
19743
19754
|
columnNumber: 11
|
|
19744
19755
|
}
|
|
19745
19756
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -19752,7 +19763,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19752
19763
|
__self: undefined,
|
|
19753
19764
|
__source: {
|
|
19754
19765
|
fileName: _jsxFileName$d,
|
|
19755
|
-
lineNumber:
|
|
19766
|
+
lineNumber: 41,
|
|
19756
19767
|
columnNumber: 13
|
|
19757
19768
|
}
|
|
19758
19769
|
}, /*#__PURE__*/React__default.createElement(IconButton, {
|
|
@@ -19766,21 +19777,21 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19766
19777
|
__self: undefined,
|
|
19767
19778
|
__source: {
|
|
19768
19779
|
fileName: _jsxFileName$d,
|
|
19769
|
-
lineNumber:
|
|
19780
|
+
lineNumber: 42,
|
|
19770
19781
|
columnNumber: 15
|
|
19771
19782
|
}
|
|
19772
19783
|
}, icon || /*#__PURE__*/React__default.createElement(EllipsisHorizontalOutline, {
|
|
19773
19784
|
__self: undefined,
|
|
19774
19785
|
__source: {
|
|
19775
19786
|
fileName: _jsxFileName$d,
|
|
19776
|
-
lineNumber:
|
|
19787
|
+
lineNumber: 50,
|
|
19777
19788
|
columnNumber: 26
|
|
19778
19789
|
}
|
|
19779
19790
|
})))), /*#__PURE__*/React__default.createElement(DropdownMenuPortal, {
|
|
19780
19791
|
__self: undefined,
|
|
19781
19792
|
__source: {
|
|
19782
19793
|
fileName: _jsxFileName$d,
|
|
19783
|
-
lineNumber:
|
|
19794
|
+
lineNumber: 54,
|
|
19784
19795
|
columnNumber: 11
|
|
19785
19796
|
}
|
|
19786
19797
|
}, /*#__PURE__*/React__default.createElement(DropdownMenuContent, {
|
|
@@ -19803,7 +19814,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19803
19814
|
__self: undefined,
|
|
19804
19815
|
__source: {
|
|
19805
19816
|
fileName: _jsxFileName$d,
|
|
19806
|
-
lineNumber:
|
|
19817
|
+
lineNumber: 55,
|
|
19807
19818
|
columnNumber: 13
|
|
19808
19819
|
}
|
|
19809
19820
|
}, options.map((option, index) => /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
@@ -19811,7 +19822,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19811
19822
|
__self: undefined,
|
|
19812
19823
|
__source: {
|
|
19813
19824
|
fileName: _jsxFileName$d,
|
|
19814
|
-
lineNumber:
|
|
19825
|
+
lineNumber: 75,
|
|
19815
19826
|
columnNumber: 17
|
|
19816
19827
|
}
|
|
19817
19828
|
}, /*#__PURE__*/React__default.createElement(DropdownMenuItem, {
|
|
@@ -19823,7 +19834,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19823
19834
|
__self: undefined,
|
|
19824
19835
|
__source: {
|
|
19825
19836
|
fileName: _jsxFileName$d,
|
|
19826
|
-
lineNumber:
|
|
19837
|
+
lineNumber: 76,
|
|
19827
19838
|
columnNumber: 19
|
|
19828
19839
|
}
|
|
19829
19840
|
}, option.title), /*#__PURE__*/React__default.createElement(DropdownMenuSeparator, {
|
|
@@ -19834,7 +19845,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19834
19845
|
__self: undefined,
|
|
19835
19846
|
__source: {
|
|
19836
19847
|
fileName: _jsxFileName$d,
|
|
19837
|
-
lineNumber:
|
|
19848
|
+
lineNumber: 85,
|
|
19838
19849
|
columnNumber: 19
|
|
19839
19850
|
}
|
|
19840
19851
|
})))))), /*#__PURE__*/React__default.createElement(ModalDialog, {
|
|
@@ -19845,7 +19856,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19845
19856
|
__self: undefined,
|
|
19846
19857
|
__source: {
|
|
19847
19858
|
fileName: _jsxFileName$d,
|
|
19848
|
-
lineNumber:
|
|
19859
|
+
lineNumber: 91,
|
|
19849
19860
|
columnNumber: 9
|
|
19850
19861
|
}
|
|
19851
19862
|
}, /*#__PURE__*/React__default.createElement(ModalDialogTrigger, {
|
|
@@ -19853,7 +19864,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19853
19864
|
__self: undefined,
|
|
19854
19865
|
__source: {
|
|
19855
19866
|
fileName: _jsxFileName$d,
|
|
19856
|
-
lineNumber:
|
|
19867
|
+
lineNumber: 92,
|
|
19857
19868
|
columnNumber: 11
|
|
19858
19869
|
}
|
|
19859
19870
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -19866,7 +19877,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19866
19877
|
__self: undefined,
|
|
19867
19878
|
__source: {
|
|
19868
19879
|
fileName: _jsxFileName$d,
|
|
19869
|
-
lineNumber:
|
|
19880
|
+
lineNumber: 93,
|
|
19870
19881
|
columnNumber: 13
|
|
19871
19882
|
}
|
|
19872
19883
|
}, /*#__PURE__*/React__default.createElement(IconButton, {
|
|
@@ -19874,21 +19885,21 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19874
19885
|
__self: undefined,
|
|
19875
19886
|
__source: {
|
|
19876
19887
|
fileName: _jsxFileName$d,
|
|
19877
|
-
lineNumber:
|
|
19888
|
+
lineNumber: 94,
|
|
19878
19889
|
columnNumber: 15
|
|
19879
19890
|
}
|
|
19880
19891
|
}, icon || /*#__PURE__*/React__default.createElement(EllipsisHorizontalOutline, {
|
|
19881
19892
|
__self: undefined,
|
|
19882
19893
|
__source: {
|
|
19883
19894
|
fileName: _jsxFileName$d,
|
|
19884
|
-
lineNumber:
|
|
19895
|
+
lineNumber: 94,
|
|
19885
19896
|
columnNumber: 50
|
|
19886
19897
|
}
|
|
19887
19898
|
})))), /*#__PURE__*/React__default.createElement(ModalDialogTitle, {
|
|
19888
19899
|
__self: undefined,
|
|
19889
19900
|
__source: {
|
|
19890
19901
|
fileName: _jsxFileName$d,
|
|
19891
|
-
lineNumber:
|
|
19902
|
+
lineNumber: 97,
|
|
19892
19903
|
columnNumber: 11
|
|
19893
19904
|
}
|
|
19894
19905
|
}, mobileTitle), /*#__PURE__*/React__default.createElement(ModalDialogContent, {
|
|
@@ -19898,7 +19909,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19898
19909
|
__self: undefined,
|
|
19899
19910
|
__source: {
|
|
19900
19911
|
fileName: _jsxFileName$d,
|
|
19901
|
-
lineNumber:
|
|
19912
|
+
lineNumber: 98,
|
|
19902
19913
|
columnNumber: 11
|
|
19903
19914
|
}
|
|
19904
19915
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -19913,7 +19924,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19913
19924
|
__self: undefined,
|
|
19914
19925
|
__source: {
|
|
19915
19926
|
fileName: _jsxFileName$d,
|
|
19916
|
-
lineNumber:
|
|
19927
|
+
lineNumber: 99,
|
|
19917
19928
|
columnNumber: 13
|
|
19918
19929
|
}
|
|
19919
19930
|
}, options.map((option, index) => /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
@@ -19921,7 +19932,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19921
19932
|
__self: undefined,
|
|
19922
19933
|
__source: {
|
|
19923
19934
|
fileName: _jsxFileName$d,
|
|
19924
|
-
lineNumber:
|
|
19935
|
+
lineNumber: 101,
|
|
19925
19936
|
columnNumber: 17
|
|
19926
19937
|
}
|
|
19927
19938
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -19937,7 +19948,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19937
19948
|
__self: undefined,
|
|
19938
19949
|
__source: {
|
|
19939
19950
|
fileName: _jsxFileName$d,
|
|
19940
|
-
lineNumber:
|
|
19951
|
+
lineNumber: 102,
|
|
19941
19952
|
columnNumber: 19
|
|
19942
19953
|
}
|
|
19943
19954
|
}, /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -19946,7 +19957,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19946
19957
|
__self: undefined,
|
|
19947
19958
|
__source: {
|
|
19948
19959
|
fileName: _jsxFileName$d,
|
|
19949
|
-
lineNumber:
|
|
19960
|
+
lineNumber: 113,
|
|
19950
19961
|
columnNumber: 21
|
|
19951
19962
|
}
|
|
19952
19963
|
}, option.title)), /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
@@ -19954,7 +19965,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
19954
19965
|
__self: undefined,
|
|
19955
19966
|
__source: {
|
|
19956
19967
|
fileName: _jsxFileName$d,
|
|
19957
|
-
lineNumber:
|
|
19968
|
+
lineNumber: 117,
|
|
19958
19969
|
columnNumber: 19
|
|
19959
19970
|
}
|
|
19960
19971
|
})))))));
|
package/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('@stitches/react'), require('@majoo-ui/core'), require('@majoo-ui/icons'), require('react-transition-group'), require('react/jsx-runtime'), require('@majoo-ui/helpers'), require('@radix-ui/react-avatar'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-progress'), require('@radix-ui/react-label'), require('@radix-ui/react-checkbox'), require('@radix-ui/react-radio-group'), require('react-number-format'), require('@radix-ui/react-switch'), require('downshift'), require('react-infinite-scroller'), require('lodash.debounce'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', '@stitches/react', '@majoo-ui/core', '@majoo-ui/icons', 'react-transition-group', 'react/jsx-runtime', '@majoo-ui/helpers', '@radix-ui/react-avatar', '@radix-ui/react-tooltip', '@radix-ui/react-progress', '@radix-ui/react-label', '@radix-ui/react-checkbox', '@radix-ui/react-radio-group', 'react-number-format', '@radix-ui/react-switch', 'downshift', 'react-infinite-scroller', 'lodash.debounce', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.React, global.PropTypes, global.react, global.core, global.icons, global.reactTransitionGroup, global.jsxRuntime, global.helpers, global.AvatarPrimitive, global.TooltipPrimitive, global.ProgressPrimitive, global.LabelPrimitive, global.CheckboxPrimitive, global.RadioGroupPrimitive, global.NumberFormat, global.SwitchPrimitive, global.Downshift, global.InfiniteScroll, global.debounce, global.
|
|
5
|
-
})(this, (function (exports, React, PropTypes, react, core, icons, reactTransitionGroup, jsxRuntime, helpers, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, NumberFormat, SwitchPrimitive, Downshift, InfiniteScroll, debounce,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('@stitches/react'), require('@majoo-ui/core'), require('@majoo-ui/icons'), require('react-transition-group'), require('react/jsx-runtime'), require('@majoo-ui/helpers'), require('react-i18next'), require('moment'), require('@radix-ui/react-avatar'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-progress'), require('@radix-ui/react-label'), require('@radix-ui/react-checkbox'), require('@radix-ui/react-radio-group'), require('react-number-format'), require('@radix-ui/react-switch'), require('downshift'), require('react-infinite-scroller'), require('lodash.debounce'), require('otp-input-react'), require('@floating-ui/react-dom-interactions'), require('@radix-ui/react-slider'), require('@radix-ui/react-tabs'), require('@radix-ui/react-separator'), require('@radix-ui/react-toggle-group'), require('@radix-ui/react-dialog'), require('@radix-ui/react-accordion'), require('dayzed'), require('react-table'), require('react-dom'), require('@radix-ui/react-alert-dialog'), require('@radix-ui/react-dropdown-menu'), require('@radix-ui/react-aspect-ratio'), require('react-color/lib/components/common'), require('react-color/lib/helpers/color'), require('react-step-wizard'), require('@react-google-maps/api'), require('superagent'), require('recharts'), require('draft-js'), require('react-draft-wysiwyg'), require('react-contextmenu'), require('react-loading-skeleton'), require('react-loading-skeleton/dist/skeleton.css'), require('react-ui-scrollspy'), require('react-image-crop'), require('browser-image-compression'), require('react-table-sticky')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', '@stitches/react', '@majoo-ui/core', '@majoo-ui/icons', 'react-transition-group', 'react/jsx-runtime', '@majoo-ui/helpers', 'react-i18next', 'moment', '@radix-ui/react-avatar', '@radix-ui/react-tooltip', '@radix-ui/react-progress', '@radix-ui/react-label', '@radix-ui/react-checkbox', '@radix-ui/react-radio-group', 'react-number-format', '@radix-ui/react-switch', 'downshift', 'react-infinite-scroller', 'lodash.debounce', 'otp-input-react', '@floating-ui/react-dom-interactions', '@radix-ui/react-slider', '@radix-ui/react-tabs', '@radix-ui/react-separator', '@radix-ui/react-toggle-group', '@radix-ui/react-dialog', '@radix-ui/react-accordion', 'dayzed', 'react-table', 'react-dom', '@radix-ui/react-alert-dialog', '@radix-ui/react-dropdown-menu', '@radix-ui/react-aspect-ratio', 'react-color/lib/components/common', 'react-color/lib/helpers/color', 'react-step-wizard', '@react-google-maps/api', 'superagent', 'recharts', 'draft-js', 'react-draft-wysiwyg', 'react-contextmenu', 'react-loading-skeleton', 'react-loading-skeleton/dist/skeleton.css', 'react-ui-scrollspy', 'react-image-crop', 'browser-image-compression', 'react-table-sticky'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.React, global.PropTypes, global.react, global.core, global.icons, global.reactTransitionGroup, global.jsxRuntime, global.helpers, global.reactI18next, global.moment, global.AvatarPrimitive, global.TooltipPrimitive, global.ProgressPrimitive, global.LabelPrimitive, global.CheckboxPrimitive, global.RadioGroupPrimitive, global.NumberFormat, global.SwitchPrimitive, global.Downshift, global.InfiniteScroll, global.debounce, global.OTPInput, global.reactDomInteractions, global.SliderPrimitive, global.TabsPrimitive, global.SeparatorPrimitive, global.ToggleGroupPrimitive, global.DialogPrimitive, global.AccordionPrimitive, global.dayzed, global.reactTable, global.ReactDOM, global.ADialog, global.DropdownMenuPrimitive, global.AspectRatioPrimitive, global.common, global.color, global.StepWizard$1, global.api, global.request, global.recharts, global.draftJs, global.reactDraftWysiwyg, global.reactContextmenu, global.ReactSkeleton, null, global.ScrollSpy, global.ReactCrop, global.imageCompressionComponent, global.reactTableSticky));
|
|
5
|
+
})(this, (function (exports, React, PropTypes, react, core, icons, reactTransitionGroup, jsxRuntime, helpers, reactI18next, moment, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, NumberFormat, SwitchPrimitive, Downshift, InfiniteScroll, debounce, OTPInput, reactDomInteractions, SliderPrimitive, TabsPrimitive, SeparatorPrimitive, ToggleGroupPrimitive, DialogPrimitive, AccordionPrimitive, dayzed, reactTable, ReactDOM, ADialog, DropdownMenuPrimitive, AspectRatioPrimitive, common, color, StepWizard$1, api, request, recharts, draftJs, reactDraftWysiwyg, reactContextmenu, ReactSkeleton, skeleton_css, ScrollSpy, ReactCrop, imageCompressionComponent, reactTableSticky) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
28
28
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
29
29
|
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
30
|
+
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
30
31
|
var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
|
|
31
32
|
var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive);
|
|
32
33
|
var ProgressPrimitive__namespace = /*#__PURE__*/_interopNamespace(ProgressPrimitive);
|
|
@@ -45,7 +46,6 @@
|
|
|
45
46
|
var ToggleGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(ToggleGroupPrimitive);
|
|
46
47
|
var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
|
|
47
48
|
var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
|
|
48
|
-
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
49
49
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
50
50
|
var ADialog__namespace = /*#__PURE__*/_interopNamespace(ADialog);
|
|
51
51
|
var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
|
|
@@ -3464,19 +3464,23 @@
|
|
|
3464
3464
|
disableGlobalStyle
|
|
3465
3465
|
}) {
|
|
3466
3466
|
!disableGlobalStyle && applyGlobalStyles(extendStyle);
|
|
3467
|
+
const {
|
|
3468
|
+
i18n
|
|
3469
|
+
} = reactI18next.useTranslation();
|
|
3470
|
+
moment__default["default"].locale(i18n && i18n.language ? i18n.language : 'id');
|
|
3467
3471
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
3468
3472
|
theme: theme$1,
|
|
3469
3473
|
__self: this,
|
|
3470
3474
|
__source: {
|
|
3471
3475
|
fileName: _jsxFileName$Y,
|
|
3472
|
-
lineNumber:
|
|
3476
|
+
lineNumber: 15,
|
|
3473
3477
|
columnNumber: 5
|
|
3474
3478
|
}
|
|
3475
3479
|
}, /*#__PURE__*/React__default["default"].createElement(ToastProvider, {
|
|
3476
3480
|
__self: this,
|
|
3477
3481
|
__source: {
|
|
3478
3482
|
fileName: _jsxFileName$Y,
|
|
3479
|
-
lineNumber:
|
|
3483
|
+
lineNumber: 16,
|
|
3480
3484
|
columnNumber: 7
|
|
3481
3485
|
}
|
|
3482
3486
|
}, children));
|
|
@@ -17435,7 +17439,6 @@
|
|
|
17435
17439
|
defaultValue = _h[0],
|
|
17436
17440
|
setDefaultValue = _h[1];
|
|
17437
17441
|
var language = i18n.language;
|
|
17438
|
-
moment__default["default"].locale(language);
|
|
17439
17442
|
React.useEffect(function () {
|
|
17440
17443
|
setValue(date || dateValue);
|
|
17441
17444
|
}, [date, dateValue]);
|
|
@@ -18439,6 +18442,7 @@
|
|
|
18439
18442
|
cellAlign = _a.cellAlign,
|
|
18440
18443
|
renderContextMenu = _a.renderContextMenu,
|
|
18441
18444
|
handleRowClick = _a.handleRowClick;
|
|
18445
|
+
var t = reactI18next.useTranslation('MajooUI/table').t;
|
|
18442
18446
|
var getTableProps = instance.getTableProps,
|
|
18443
18447
|
getTableBodyProps = instance.getTableBodyProps,
|
|
18444
18448
|
headerGroups = instance.headerGroups,
|
|
@@ -18471,7 +18475,7 @@
|
|
|
18471
18475
|
}).map(function (column) {
|
|
18472
18476
|
var headerRender = column.render('Header');
|
|
18473
18477
|
return jsxRuntime.jsx(TableHeadCell$4, __assign({}, column.getHeaderProps(!column.unsortable ? column.getSortByToggleProps({
|
|
18474
|
-
title: 'Urutkan'
|
|
18478
|
+
title: t('sortColumnTitle', 'Urutkan') || 'Urutkan'
|
|
18475
18479
|
}) : {
|
|
18476
18480
|
onClick: column.onToggle
|
|
18477
18481
|
}), {
|
|
@@ -18945,7 +18949,7 @@
|
|
|
18945
18949
|
}
|
|
18946
18950
|
return rawData;
|
|
18947
18951
|
};
|
|
18948
|
-
var defaultEmptyDataProps = function defaultEmptyDataProps(t) {
|
|
18952
|
+
var defaultEmptyDataProps = function defaultEmptyDataProps(t, isMobile) {
|
|
18949
18953
|
return {
|
|
18950
18954
|
doodleImage: jsxRuntime.jsx(EmptyDataDoodle, {}, void 0),
|
|
18951
18955
|
title: jsxRuntime.jsx(Paragraph, __assign({
|
|
@@ -18958,12 +18962,14 @@
|
|
|
18958
18962
|
}, {
|
|
18959
18963
|
children: t('dataNotAvailableTitle', 'Data tidak tersedia')
|
|
18960
18964
|
}), void 0),
|
|
18961
|
-
description: jsxRuntime.
|
|
18965
|
+
description: jsxRuntime.jsx(Paragraph, __assign({
|
|
18962
18966
|
paragraph: "shortContentRegular",
|
|
18963
18967
|
color: "secondary",
|
|
18964
18968
|
align: "center"
|
|
18965
18969
|
}, {
|
|
18966
|
-
children:
|
|
18970
|
+
children: isMobile ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
18971
|
+
children: [t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan'), jsxRuntime.jsx("br", {}, void 0), t('dataNotAvailableDescription_2', 'di halaman ini')]
|
|
18972
|
+
}, void 0) : "".concat(t('dataNotAvailableDescription_1', 'Belum ada data yang dapat ditampilkan'), " \n ").concat(t('dataNotAvailableDescription_2', 'di halaman ini'))
|
|
18967
18973
|
}), void 0)
|
|
18968
18974
|
};
|
|
18969
18975
|
};
|
|
@@ -19020,7 +19026,8 @@
|
|
|
19020
19026
|
scrollAreaWidth = _s[0],
|
|
19021
19027
|
setScrollAreaWidth = _s[1];
|
|
19022
19028
|
var t = reactI18next.useTranslation('MajooUI/table').t;
|
|
19023
|
-
var
|
|
19029
|
+
var isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
|
|
19030
|
+
var customEmptyDataProps = emptyDataProps || defaultEmptyDataProps(t, isMobile);
|
|
19024
19031
|
var getInitialState = function getInitialState() {
|
|
19025
19032
|
var initialState = {};
|
|
19026
19033
|
if (fetchData) {
|
|
@@ -19054,12 +19061,10 @@
|
|
|
19054
19061
|
}
|
|
19055
19062
|
}, reactTable.useSortBy, reactTable.useExpanded, reactTable.usePagination, reactTable.useRowSelect, reactTableSticky.useSticky, reactTable.useColumnOrder);
|
|
19056
19063
|
var scrollerRef = React.useRef(null);
|
|
19057
|
-
var isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
|
|
19058
19064
|
var getTableProps = instance.getTableProps,
|
|
19059
19065
|
getTableBodyProps = instance.getTableBodyProps,
|
|
19060
|
-
headerGroups = instance.headerGroups
|
|
19061
|
-
instance.
|
|
19062
|
-
var visibleColumns = instance.visibleColumns,
|
|
19066
|
+
headerGroups = instance.headerGroups,
|
|
19067
|
+
visibleColumns = instance.visibleColumns,
|
|
19063
19068
|
prepareRow = instance.prepareRow,
|
|
19064
19069
|
page = instance.page,
|
|
19065
19070
|
gotoPage = instance.gotoPage,
|
|
@@ -19276,7 +19281,7 @@
|
|
|
19276
19281
|
var headerRender = column.render('Header');
|
|
19277
19282
|
return jsxRuntime.jsx(TableHeadCell$3, __assign({}, column.getHeaderProps(function (props) {
|
|
19278
19283
|
return [props, !column.unsortable ? column.getSortByToggleProps({
|
|
19279
|
-
title: 'Urutkan'
|
|
19284
|
+
title: t('sortColumnTitle', 'Urutkan') || 'Urutkan'
|
|
19280
19285
|
}) : {
|
|
19281
19286
|
onClick: column.onToggle
|
|
19282
19287
|
}, {
|
|
@@ -19485,7 +19490,7 @@
|
|
|
19485
19490
|
let dateTime = '-';
|
|
19486
19491
|
const format = customFormat || 'DD MMMM YYYY';
|
|
19487
19492
|
if (value && moment__default["default"](value, 'YYYYMMDDHHmmss').isValid()) {
|
|
19488
|
-
dateTime = moment__default["default"](value, 'YYYYMMDDHHmmss').
|
|
19493
|
+
dateTime = moment__default["default"](value, 'YYYYMMDDHHmmss').format(format);
|
|
19489
19494
|
}
|
|
19490
19495
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19491
19496
|
__self: undefined,
|
|
@@ -20040,8 +20045,11 @@
|
|
|
20040
20045
|
options,
|
|
20041
20046
|
Header: () => null,
|
|
20042
20047
|
Cell: props => {
|
|
20048
|
+
const {
|
|
20049
|
+
t
|
|
20050
|
+
} = reactI18next.useTranslation('MajooUI/table');
|
|
20043
20051
|
const defaultConfig = {
|
|
20044
|
-
mobileTitle: 'Aksi',
|
|
20052
|
+
mobileTitle: t('rowMenuMobileLabel', 'Aksi'),
|
|
20045
20053
|
cssContent: {},
|
|
20046
20054
|
cssMenuItem: {},
|
|
20047
20055
|
align: 'end'
|
|
@@ -20061,7 +20069,7 @@
|
|
|
20061
20069
|
__self: undefined,
|
|
20062
20070
|
__source: {
|
|
20063
20071
|
fileName: _jsxFileName$d,
|
|
20064
|
-
lineNumber:
|
|
20072
|
+
lineNumber: 39,
|
|
20065
20073
|
columnNumber: 9
|
|
20066
20074
|
}
|
|
20067
20075
|
}, /*#__PURE__*/React__default["default"].createElement(DropdownMenuTrigger, {
|
|
@@ -20069,7 +20077,7 @@
|
|
|
20069
20077
|
__self: undefined,
|
|
20070
20078
|
__source: {
|
|
20071
20079
|
fileName: _jsxFileName$d,
|
|
20072
|
-
lineNumber:
|
|
20080
|
+
lineNumber: 40,
|
|
20073
20081
|
columnNumber: 11
|
|
20074
20082
|
}
|
|
20075
20083
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -20082,7 +20090,7 @@
|
|
|
20082
20090
|
__self: undefined,
|
|
20083
20091
|
__source: {
|
|
20084
20092
|
fileName: _jsxFileName$d,
|
|
20085
|
-
lineNumber:
|
|
20093
|
+
lineNumber: 41,
|
|
20086
20094
|
columnNumber: 13
|
|
20087
20095
|
}
|
|
20088
20096
|
}, /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
@@ -20096,21 +20104,21 @@
|
|
|
20096
20104
|
__self: undefined,
|
|
20097
20105
|
__source: {
|
|
20098
20106
|
fileName: _jsxFileName$d,
|
|
20099
|
-
lineNumber:
|
|
20107
|
+
lineNumber: 42,
|
|
20100
20108
|
columnNumber: 15
|
|
20101
20109
|
}
|
|
20102
20110
|
}, icon || /*#__PURE__*/React__default["default"].createElement(icons.EllipsisHorizontalOutline, {
|
|
20103
20111
|
__self: undefined,
|
|
20104
20112
|
__source: {
|
|
20105
20113
|
fileName: _jsxFileName$d,
|
|
20106
|
-
lineNumber:
|
|
20114
|
+
lineNumber: 50,
|
|
20107
20115
|
columnNumber: 26
|
|
20108
20116
|
}
|
|
20109
20117
|
})))), /*#__PURE__*/React__default["default"].createElement(DropdownMenuPortal, {
|
|
20110
20118
|
__self: undefined,
|
|
20111
20119
|
__source: {
|
|
20112
20120
|
fileName: _jsxFileName$d,
|
|
20113
|
-
lineNumber:
|
|
20121
|
+
lineNumber: 54,
|
|
20114
20122
|
columnNumber: 11
|
|
20115
20123
|
}
|
|
20116
20124
|
}, /*#__PURE__*/React__default["default"].createElement(DropdownMenuContent, {
|
|
@@ -20133,7 +20141,7 @@
|
|
|
20133
20141
|
__self: undefined,
|
|
20134
20142
|
__source: {
|
|
20135
20143
|
fileName: _jsxFileName$d,
|
|
20136
|
-
lineNumber:
|
|
20144
|
+
lineNumber: 55,
|
|
20137
20145
|
columnNumber: 13
|
|
20138
20146
|
}
|
|
20139
20147
|
}, options.map((option, index) => /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
@@ -20141,7 +20149,7 @@
|
|
|
20141
20149
|
__self: undefined,
|
|
20142
20150
|
__source: {
|
|
20143
20151
|
fileName: _jsxFileName$d,
|
|
20144
|
-
lineNumber:
|
|
20152
|
+
lineNumber: 75,
|
|
20145
20153
|
columnNumber: 17
|
|
20146
20154
|
}
|
|
20147
20155
|
}, /*#__PURE__*/React__default["default"].createElement(DropdownMenuItem, {
|
|
@@ -20153,7 +20161,7 @@
|
|
|
20153
20161
|
__self: undefined,
|
|
20154
20162
|
__source: {
|
|
20155
20163
|
fileName: _jsxFileName$d,
|
|
20156
|
-
lineNumber:
|
|
20164
|
+
lineNumber: 76,
|
|
20157
20165
|
columnNumber: 19
|
|
20158
20166
|
}
|
|
20159
20167
|
}, option.title), /*#__PURE__*/React__default["default"].createElement(DropdownMenuSeparator, {
|
|
@@ -20164,7 +20172,7 @@
|
|
|
20164
20172
|
__self: undefined,
|
|
20165
20173
|
__source: {
|
|
20166
20174
|
fileName: _jsxFileName$d,
|
|
20167
|
-
lineNumber:
|
|
20175
|
+
lineNumber: 85,
|
|
20168
20176
|
columnNumber: 19
|
|
20169
20177
|
}
|
|
20170
20178
|
})))))), /*#__PURE__*/React__default["default"].createElement(ModalDialog, {
|
|
@@ -20175,7 +20183,7 @@
|
|
|
20175
20183
|
__self: undefined,
|
|
20176
20184
|
__source: {
|
|
20177
20185
|
fileName: _jsxFileName$d,
|
|
20178
|
-
lineNumber:
|
|
20186
|
+
lineNumber: 91,
|
|
20179
20187
|
columnNumber: 9
|
|
20180
20188
|
}
|
|
20181
20189
|
}, /*#__PURE__*/React__default["default"].createElement(ModalDialogTrigger, {
|
|
@@ -20183,7 +20191,7 @@
|
|
|
20183
20191
|
__self: undefined,
|
|
20184
20192
|
__source: {
|
|
20185
20193
|
fileName: _jsxFileName$d,
|
|
20186
|
-
lineNumber:
|
|
20194
|
+
lineNumber: 92,
|
|
20187
20195
|
columnNumber: 11
|
|
20188
20196
|
}
|
|
20189
20197
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -20196,7 +20204,7 @@
|
|
|
20196
20204
|
__self: undefined,
|
|
20197
20205
|
__source: {
|
|
20198
20206
|
fileName: _jsxFileName$d,
|
|
20199
|
-
lineNumber:
|
|
20207
|
+
lineNumber: 93,
|
|
20200
20208
|
columnNumber: 13
|
|
20201
20209
|
}
|
|
20202
20210
|
}, /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
@@ -20204,21 +20212,21 @@
|
|
|
20204
20212
|
__self: undefined,
|
|
20205
20213
|
__source: {
|
|
20206
20214
|
fileName: _jsxFileName$d,
|
|
20207
|
-
lineNumber:
|
|
20215
|
+
lineNumber: 94,
|
|
20208
20216
|
columnNumber: 15
|
|
20209
20217
|
}
|
|
20210
20218
|
}, icon || /*#__PURE__*/React__default["default"].createElement(icons.EllipsisHorizontalOutline, {
|
|
20211
20219
|
__self: undefined,
|
|
20212
20220
|
__source: {
|
|
20213
20221
|
fileName: _jsxFileName$d,
|
|
20214
|
-
lineNumber:
|
|
20222
|
+
lineNumber: 94,
|
|
20215
20223
|
columnNumber: 50
|
|
20216
20224
|
}
|
|
20217
20225
|
})))), /*#__PURE__*/React__default["default"].createElement(ModalDialogTitle, {
|
|
20218
20226
|
__self: undefined,
|
|
20219
20227
|
__source: {
|
|
20220
20228
|
fileName: _jsxFileName$d,
|
|
20221
|
-
lineNumber:
|
|
20229
|
+
lineNumber: 97,
|
|
20222
20230
|
columnNumber: 11
|
|
20223
20231
|
}
|
|
20224
20232
|
}, mobileTitle), /*#__PURE__*/React__default["default"].createElement(ModalDialogContent, {
|
|
@@ -20228,7 +20236,7 @@
|
|
|
20228
20236
|
__self: undefined,
|
|
20229
20237
|
__source: {
|
|
20230
20238
|
fileName: _jsxFileName$d,
|
|
20231
|
-
lineNumber:
|
|
20239
|
+
lineNumber: 98,
|
|
20232
20240
|
columnNumber: 11
|
|
20233
20241
|
}
|
|
20234
20242
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -20243,7 +20251,7 @@
|
|
|
20243
20251
|
__self: undefined,
|
|
20244
20252
|
__source: {
|
|
20245
20253
|
fileName: _jsxFileName$d,
|
|
20246
|
-
lineNumber:
|
|
20254
|
+
lineNumber: 99,
|
|
20247
20255
|
columnNumber: 13
|
|
20248
20256
|
}
|
|
20249
20257
|
}, options.map((option, index) => /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
@@ -20251,7 +20259,7 @@
|
|
|
20251
20259
|
__self: undefined,
|
|
20252
20260
|
__source: {
|
|
20253
20261
|
fileName: _jsxFileName$d,
|
|
20254
|
-
lineNumber:
|
|
20262
|
+
lineNumber: 101,
|
|
20255
20263
|
columnNumber: 17
|
|
20256
20264
|
}
|
|
20257
20265
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -20267,7 +20275,7 @@
|
|
|
20267
20275
|
__self: undefined,
|
|
20268
20276
|
__source: {
|
|
20269
20277
|
fileName: _jsxFileName$d,
|
|
20270
|
-
lineNumber:
|
|
20278
|
+
lineNumber: 102,
|
|
20271
20279
|
columnNumber: 19
|
|
20272
20280
|
}
|
|
20273
20281
|
}, /*#__PURE__*/React__default["default"].createElement(Paragraph, {
|
|
@@ -20276,7 +20284,7 @@
|
|
|
20276
20284
|
__self: undefined,
|
|
20277
20285
|
__source: {
|
|
20278
20286
|
fileName: _jsxFileName$d,
|
|
20279
|
-
lineNumber:
|
|
20287
|
+
lineNumber: 113,
|
|
20280
20288
|
columnNumber: 21
|
|
20281
20289
|
}
|
|
20282
20290
|
}, option.title)), /*#__PURE__*/React__default["default"].createElement(Separator$2, {
|
|
@@ -20284,7 +20292,7 @@
|
|
|
20284
20292
|
__self: undefined,
|
|
20285
20293
|
__source: {
|
|
20286
20294
|
fileName: _jsxFileName$d,
|
|
20287
|
-
lineNumber:
|
|
20295
|
+
lineNumber: 117,
|
|
20288
20296
|
columnNumber: 19
|
|
20289
20297
|
}
|
|
20290
20298
|
})))))));
|