@majoo-ui/react 1.47.0 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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('@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('moment'), 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-ui-scrollspy'), require('@react-google-maps/api'), require('superagent'), require('react-image-crop'), 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', '@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', '@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', 'moment', '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-ui-scrollspy', '@react-google-maps/api', 'superagent', 'react-image-crop', '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.AvatarPrimitive, global.TooltipPrimitive, global.ProgressPrimitive, global.LabelPrimitive, global.CheckboxPrimitive, global.RadioGroupPrimitive, global.NumberFormat, global.SwitchPrimitive, global.Downshift, global.InfiniteScroll, global.debounce, global.reactDomInteractions, global.SliderPrimitive, global.TabsPrimitive, global.SeparatorPrimitive, global.ToggleGroupPrimitive, global.DialogPrimitive, global.AccordionPrimitive, global.dayzed, global.moment, global.reactTable, global.ReactDOM, global.ADialog, global.DropdownMenuPrimitive, global.AspectRatioPrimitive, global.common, global.color, global.StepWizard$1, global.ScrollSpy, global.api, global.request, global.ReactCrop, global.reactTableSticky));
|
|
5
|
-
})(this, (function (exports, React, PropTypes, react, core, icons, reactTransitionGroup, jsxRuntime, helpers, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, NumberFormat, SwitchPrimitive, Downshift, InfiniteScroll, debounce, reactDomInteractions, SliderPrimitive, TabsPrimitive, SeparatorPrimitive, ToggleGroupPrimitive, DialogPrimitive, AccordionPrimitive, dayzed, moment, reactTable, ReactDOM, ADialog, DropdownMenuPrimitive, AspectRatioPrimitive, common, color, StepWizard$1, ScrollSpy, api, request, ReactCrop, reactTableSticky) { 'use strict';
|
|
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('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('moment'), 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-ui-scrollspy'), require('@react-google-maps/api'), require('superagent'), require('react-image-crop'), 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', '@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', 'moment', '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-ui-scrollspy', '@react-google-maps/api', 'superagent', 'react-image-crop', '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.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.moment, global.reactTable, global.ReactDOM, global.ADialog, global.DropdownMenuPrimitive, global.AspectRatioPrimitive, global.common, global.color, global.StepWizard$1, global.ScrollSpy, global.api, global.request, global.ReactCrop, global.reactTableSticky));
|
|
5
|
+
})(this, (function (exports, React, PropTypes, react, core, icons, reactTransitionGroup, jsxRuntime, helpers, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, NumberFormat, SwitchPrimitive, Downshift, InfiniteScroll, debounce, OTPInput, reactDomInteractions, SliderPrimitive, TabsPrimitive, SeparatorPrimitive, ToggleGroupPrimitive, DialogPrimitive, AccordionPrimitive, dayzed, moment, reactTable, ReactDOM, ADialog, DropdownMenuPrimitive, AspectRatioPrimitive, common, color, StepWizard$1, ScrollSpy, api, request, ReactCrop, reactTableSticky) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
var Downshift__default = /*#__PURE__*/_interopDefaultLegacy(Downshift);
|
|
39
39
|
var InfiniteScroll__default = /*#__PURE__*/_interopDefaultLegacy(InfiniteScroll);
|
|
40
40
|
var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
|
|
41
|
+
var OTPInput__default = /*#__PURE__*/_interopDefaultLegacy(OTPInput);
|
|
41
42
|
var SliderPrimitive__namespace = /*#__PURE__*/_interopNamespace(SliderPrimitive);
|
|
42
43
|
var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
|
|
43
44
|
var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);
|
|
@@ -1306,7 +1307,7 @@
|
|
|
1306
1307
|
bgDark: '#FFFFFF'
|
|
1307
1308
|
}
|
|
1308
1309
|
});
|
|
1309
|
-
var colors = core.foundations.colors;
|
|
1310
|
+
var colors$1 = core.foundations.colors;
|
|
1310
1311
|
|
|
1311
1312
|
const normalize = {
|
|
1312
1313
|
'*,::before,::after': {
|
|
@@ -3222,7 +3223,8 @@
|
|
|
3222
3223
|
e.stopPropagation();
|
|
3223
3224
|
close();
|
|
3224
3225
|
},
|
|
3225
|
-
|
|
3226
|
+
align: "center",
|
|
3227
|
+
justify: "center",
|
|
3226
3228
|
hasTitle: !!title,
|
|
3227
3229
|
__self: undefined,
|
|
3228
3230
|
__source: {
|
|
@@ -3231,12 +3233,12 @@
|
|
|
3231
3233
|
columnNumber: 17
|
|
3232
3234
|
}
|
|
3233
3235
|
}, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
|
|
3234
|
-
color: colors.iconSecondary,
|
|
3236
|
+
color: colors$1.iconSecondary,
|
|
3235
3237
|
size: "16px",
|
|
3236
3238
|
__self: undefined,
|
|
3237
3239
|
__source: {
|
|
3238
3240
|
fileName: _jsxFileName$X,
|
|
3239
|
-
lineNumber:
|
|
3241
|
+
lineNumber: 264,
|
|
3240
3242
|
columnNumber: 19
|
|
3241
3243
|
}
|
|
3242
3244
|
}))), (hrefOfAction || isExternalOfAction || onClickOfAction) && /*#__PURE__*/React__namespace.createElement(Link, {
|
|
@@ -3251,7 +3253,7 @@
|
|
|
3251
3253
|
__self: undefined,
|
|
3252
3254
|
__source: {
|
|
3253
3255
|
fileName: _jsxFileName$X,
|
|
3254
|
-
lineNumber:
|
|
3256
|
+
lineNumber: 268,
|
|
3255
3257
|
columnNumber: 17
|
|
3256
3258
|
}
|
|
3257
3259
|
}, captionOfAction)))));
|
|
@@ -3647,7 +3649,7 @@
|
|
|
3647
3649
|
columnNumber: 7
|
|
3648
3650
|
}
|
|
3649
3651
|
}, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
|
|
3650
|
-
color: colors.iconSecondary,
|
|
3652
|
+
color: colors$1.iconSecondary,
|
|
3651
3653
|
size: "16px",
|
|
3652
3654
|
__self: undefined,
|
|
3653
3655
|
__source: {
|
|
@@ -3725,7 +3727,7 @@
|
|
|
3725
3727
|
columnNumber: 7
|
|
3726
3728
|
}
|
|
3727
3729
|
}, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
|
|
3728
|
-
color: colors.iconSecondary,
|
|
3730
|
+
color: colors$1.iconSecondary,
|
|
3729
3731
|
size: "16px",
|
|
3730
3732
|
__self: undefined,
|
|
3731
3733
|
__source: {
|
|
@@ -7329,7 +7331,7 @@
|
|
|
7329
7331
|
}
|
|
7330
7332
|
}, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
|
|
7331
7333
|
size: 14,
|
|
7332
|
-
color: colors.iconSecondary,
|
|
7334
|
+
color: colors$1.iconSecondary,
|
|
7333
7335
|
style: {
|
|
7334
7336
|
verticalAlign: 'middle'
|
|
7335
7337
|
},
|
|
@@ -8698,7 +8700,7 @@
|
|
|
8698
8700
|
}, {
|
|
8699
8701
|
children: jsxRuntime.jsx(icons.CircleInfoOutline, {
|
|
8700
8702
|
size: "16px",
|
|
8701
|
-
color: colors.iconDisable,
|
|
8703
|
+
color: colors$1.iconDisable,
|
|
8702
8704
|
style: {
|
|
8703
8705
|
verticalAlign: 'text-bottom'
|
|
8704
8706
|
}
|
|
@@ -9544,7 +9546,7 @@
|
|
|
9544
9546
|
columnNumber: 9
|
|
9545
9547
|
}
|
|
9546
9548
|
}), /*#__PURE__*/React__namespace.createElement(IconCaretDown, {
|
|
9547
|
-
color: disabled || readOnly ? colors.iconDisable : colors.iconPrimary,
|
|
9549
|
+
color: disabled || readOnly ? colors$1.iconDisable : colors$1.iconPrimary,
|
|
9548
9550
|
__self: this,
|
|
9549
9551
|
__source: {
|
|
9550
9552
|
fileName: _jsxFileName$u,
|
|
@@ -9634,7 +9636,7 @@
|
|
|
9634
9636
|
columnNumber: 19
|
|
9635
9637
|
}
|
|
9636
9638
|
}, item.isDisabled ? /*#__PURE__*/React__namespace.createElement(CheckOutline, {
|
|
9637
|
-
color: colors.iconDisable,
|
|
9639
|
+
color: colors$1.iconDisable,
|
|
9638
9640
|
__self: this,
|
|
9639
9641
|
__source: {
|
|
9640
9642
|
fileName: _jsxFileName$u,
|
|
@@ -9642,7 +9644,7 @@
|
|
|
9642
9644
|
columnNumber: 23
|
|
9643
9645
|
}
|
|
9644
9646
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__namespace.createElement(CheckOutline, {
|
|
9645
|
-
color: colors.iconGreen,
|
|
9647
|
+
color: colors$1.iconGreen,
|
|
9646
9648
|
__self: this,
|
|
9647
9649
|
__source: {
|
|
9648
9650
|
fileName: _jsxFileName$u,
|
|
@@ -9689,7 +9691,7 @@
|
|
|
9689
9691
|
}
|
|
9690
9692
|
}, /*#__PURE__*/React__namespace.createElement(icons.CircleInfoOutline, {
|
|
9691
9693
|
size: "16px",
|
|
9692
|
-
color: colors.iconDisable,
|
|
9694
|
+
color: colors$1.iconDisable,
|
|
9693
9695
|
style: {
|
|
9694
9696
|
verticalAlign: 'text-bottom'
|
|
9695
9697
|
},
|
|
@@ -9993,7 +9995,7 @@
|
|
|
9993
9995
|
columnNumber: 9
|
|
9994
9996
|
}
|
|
9995
9997
|
}, /*#__PURE__*/React__default["default"].createElement(icons.CirclePlusOutline, {
|
|
9996
|
-
color: colors.iconGreen,
|
|
9998
|
+
color: colors$1.iconGreen,
|
|
9997
9999
|
__self: this,
|
|
9998
10000
|
__source: {
|
|
9999
10001
|
fileName: _jsxFileName$s,
|
|
@@ -10308,6 +10310,67 @@
|
|
|
10308
10310
|
}), void 0);
|
|
10309
10311
|
});
|
|
10310
10312
|
|
|
10313
|
+
var colors = core.foundations.colors;
|
|
10314
|
+
function InputOTP(props) {
|
|
10315
|
+
var isError = props.isError;
|
|
10316
|
+
var inputStyles = {
|
|
10317
|
+
width: 48,
|
|
10318
|
+
height: 48,
|
|
10319
|
+
border: "1px solid ".concat(isError ? colors.textRed : colors.gray300),
|
|
10320
|
+
borderRadius: 4,
|
|
10321
|
+
fontWeight: 600,
|
|
10322
|
+
fontSize: 24,
|
|
10323
|
+
textAlign: 'center',
|
|
10324
|
+
color: colors.textPrimary
|
|
10325
|
+
};
|
|
10326
|
+
return jsxRuntime.jsx(OTPInput__default["default"], __assign({
|
|
10327
|
+
inputStyles: inputStyles
|
|
10328
|
+
}, props), void 0);
|
|
10329
|
+
}
|
|
10330
|
+
InputOTP.defaultProps = {
|
|
10331
|
+
OTPLength: 4,
|
|
10332
|
+
value: '',
|
|
10333
|
+
disabled: false,
|
|
10334
|
+
autoFocus: false,
|
|
10335
|
+
otpType: 'any',
|
|
10336
|
+
secure: false
|
|
10337
|
+
};
|
|
10338
|
+
function ResendOTP(props) {
|
|
10339
|
+
function renderButton() {
|
|
10340
|
+
return;
|
|
10341
|
+
}
|
|
10342
|
+
|
|
10343
|
+
function renderTime(time) {
|
|
10344
|
+
function handleClick() {
|
|
10345
|
+
var _a;
|
|
10346
|
+
|
|
10347
|
+
if (time < 1) {
|
|
10348
|
+
(_a = props === null || props === void 0 ? void 0 : props.onResendClick) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
10349
|
+
}
|
|
10350
|
+
}
|
|
10351
|
+
|
|
10352
|
+
return jsxRuntime.jsx(Paragraph, __assign({
|
|
10353
|
+
color: "green",
|
|
10354
|
+
css: {
|
|
10355
|
+
cursor: time > 0 ? 'not-allowed' : 'pointer',
|
|
10356
|
+
userSelect: 'none'
|
|
10357
|
+
},
|
|
10358
|
+
onClick: handleClick
|
|
10359
|
+
}, {
|
|
10360
|
+
children: "Kirim Ulang ".concat(time > 0 ? "(".concat(time, "s)") : '')
|
|
10361
|
+
}), void 0);
|
|
10362
|
+
}
|
|
10363
|
+
|
|
10364
|
+
return jsxRuntime.jsx(OTPInput.ResendOTP, __assign({
|
|
10365
|
+
renderButton: renderButton,
|
|
10366
|
+
renderTime: renderTime
|
|
10367
|
+
}, props), void 0);
|
|
10368
|
+
}
|
|
10369
|
+
ResendOTP.defaultProps = {
|
|
10370
|
+
maxTime: 60,
|
|
10371
|
+
timeInterval: 1000
|
|
10372
|
+
};
|
|
10373
|
+
|
|
10311
10374
|
const _excluded$b = ["children"];
|
|
10312
10375
|
var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
|
|
10313
10376
|
const {
|
|
@@ -15835,7 +15898,7 @@
|
|
|
15835
15898
|
columnNumber: 15
|
|
15836
15899
|
}
|
|
15837
15900
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ArrowLeftOutline, {
|
|
15838
|
-
color: currentPage === 1 ? colors.iconDisable : colors.iconPrimary,
|
|
15901
|
+
color: currentPage === 1 ? colors$1.iconDisable : colors$1.iconPrimary,
|
|
15839
15902
|
__self: undefined,
|
|
15840
15903
|
__source: {
|
|
15841
15904
|
fileName: _jsxFileName$i,
|
|
@@ -15887,7 +15950,7 @@
|
|
|
15887
15950
|
columnNumber: 15
|
|
15888
15951
|
}
|
|
15889
15952
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ArrowRightOutline, {
|
|
15890
|
-
color: currentPage === totalPages ? colors.iconDisable : colors.iconPrimary,
|
|
15953
|
+
color: currentPage === totalPages ? colors$1.iconDisable : colors$1.iconPrimary,
|
|
15891
15954
|
__self: undefined,
|
|
15892
15955
|
__source: {
|
|
15893
15956
|
fileName: _jsxFileName$i,
|
|
@@ -16032,7 +16095,7 @@
|
|
|
16032
16095
|
columnNumber: 13
|
|
16033
16096
|
}
|
|
16034
16097
|
}, selectedLimit.toString()), /*#__PURE__*/React__default["default"].createElement(icons.ChevronDownOutline, {
|
|
16035
|
-
color: colors.gray400,
|
|
16098
|
+
color: colors$1.gray400,
|
|
16036
16099
|
__self: this,
|
|
16037
16100
|
__source: {
|
|
16038
16101
|
fileName: _jsxFileName$h,
|
|
@@ -16306,7 +16369,7 @@
|
|
|
16306
16369
|
align: "center",
|
|
16307
16370
|
justify: "between",
|
|
16308
16371
|
css: {
|
|
16309
|
-
backgroundColor: colors.bgGray,
|
|
16372
|
+
backgroundColor: colors$1.bgGray,
|
|
16310
16373
|
padding: "$spacing-03 $spacing-05 ".concat('selection' in row.values ? '$spacing-03 $spacing-07' : ''),
|
|
16311
16374
|
borderBottom: '1pt solid $bgBorder'
|
|
16312
16375
|
}
|
|
@@ -18247,7 +18310,7 @@
|
|
|
18247
18310
|
});
|
|
18248
18311
|
const StyledOverlay = styled(ADialog__namespace.Overlay, {
|
|
18249
18312
|
zIndex: 1,
|
|
18250
|
-
backgroundColor: colors.bgDimmer,
|
|
18313
|
+
backgroundColor: colors$1.bgDimmer,
|
|
18251
18314
|
position: 'fixed',
|
|
18252
18315
|
inset: 0,
|
|
18253
18316
|
'@media (prefers-reduced-motion: no-preference)': {
|
|
@@ -18280,14 +18343,14 @@
|
|
|
18280
18343
|
display: 'flex',
|
|
18281
18344
|
flexDirection: 'row',
|
|
18282
18345
|
justifyContent: 'space-between',
|
|
18283
|
-
color: colors.gray900,
|
|
18346
|
+
color: colors$1.gray900,
|
|
18284
18347
|
fontSize: 17,
|
|
18285
18348
|
fontWeight: 500
|
|
18286
18349
|
});
|
|
18287
18350
|
const StyledDescription = styled(ADialog__namespace.Description, {
|
|
18288
18351
|
mx: 24,
|
|
18289
18352
|
my: 20,
|
|
18290
|
-
color: colors.gray900,
|
|
18353
|
+
color: colors$1.gray900,
|
|
18291
18354
|
fontSize: 15,
|
|
18292
18355
|
lineHeight: 1.5
|
|
18293
18356
|
});
|
|
@@ -18902,17 +18965,17 @@
|
|
|
18902
18965
|
position: 'relative',
|
|
18903
18966
|
userSelect: 'none',
|
|
18904
18967
|
'&[data-disabled]': {
|
|
18905
|
-
color: colors.gray400,
|
|
18968
|
+
color: colors$1.gray400,
|
|
18906
18969
|
pointerEvents: 'none'
|
|
18907
18970
|
},
|
|
18908
18971
|
'&:hover': {
|
|
18909
18972
|
cursor: 'pointer'
|
|
18910
18973
|
},
|
|
18911
18974
|
'&:active': {
|
|
18912
|
-
backgroundColor: colors.gray150
|
|
18975
|
+
backgroundColor: colors$1.gray150
|
|
18913
18976
|
},
|
|
18914
18977
|
'&:focus': {
|
|
18915
|
-
backgroundColor: colors.gray100
|
|
18978
|
+
backgroundColor: colors$1.gray100
|
|
18916
18979
|
}
|
|
18917
18980
|
};
|
|
18918
18981
|
const StyledItem = styled(DropdownMenuPrimitive__namespace.Item, Object.assign({}, itemStyles));
|
|
@@ -18920,18 +18983,18 @@
|
|
|
18920
18983
|
const StyledRadioItem = styled(DropdownMenuPrimitive__namespace.RadioItem, Object.assign({}, itemStyles));
|
|
18921
18984
|
const StyledTriggerItem = styled(DropdownMenuPrimitive__namespace.TriggerItem, Object.assign({
|
|
18922
18985
|
'&[data-state="open"]': {
|
|
18923
|
-
backgroundColor: colors.gray50
|
|
18986
|
+
backgroundColor: colors$1.gray50
|
|
18924
18987
|
}
|
|
18925
18988
|
}, itemStyles));
|
|
18926
18989
|
const StyledLabel = styled(DropdownMenuPrimitive__namespace.Label, {
|
|
18927
18990
|
padding: '8px 0',
|
|
18928
18991
|
fontSize: 12,
|
|
18929
18992
|
lineHeight: '25px',
|
|
18930
|
-
color: colors.gray700
|
|
18993
|
+
color: colors$1.gray700
|
|
18931
18994
|
});
|
|
18932
18995
|
const StyledSeparator = styled(DropdownMenuPrimitive__namespace.Separator, {
|
|
18933
18996
|
height: 1,
|
|
18934
|
-
backgroundColor: colors.gray150,
|
|
18997
|
+
backgroundColor: colors$1.gray150,
|
|
18935
18998
|
margin: 5
|
|
18936
18999
|
});
|
|
18937
19000
|
const StyledItemIndicator = styled(DropdownMenuPrimitive__namespace.ItemIndicator, {
|
|
@@ -19011,7 +19074,7 @@
|
|
|
19011
19074
|
color: 'white'
|
|
19012
19075
|
},
|
|
19013
19076
|
'[data-disabled] &': {
|
|
19014
|
-
color: colors.gray400
|
|
19077
|
+
color: colors$1.gray400
|
|
19015
19078
|
}
|
|
19016
19079
|
});
|
|
19017
19080
|
const StyledDropdown = styled(ButtonPrimitive, {
|
|
@@ -21210,6 +21273,15 @@
|
|
|
21210
21273
|
|
|
21211
21274
|
function toggleModal() {
|
|
21212
21275
|
modalTrigger.current.click();
|
|
21276
|
+
setTimeout(() => {
|
|
21277
|
+
if (imgRef.current) {
|
|
21278
|
+
const {
|
|
21279
|
+
width,
|
|
21280
|
+
height
|
|
21281
|
+
} = imgRef.current;
|
|
21282
|
+
setCrop(centerAspectCrop(width, height, ratio));
|
|
21283
|
+
}
|
|
21284
|
+
}, 300);
|
|
21213
21285
|
}
|
|
21214
21286
|
|
|
21215
21287
|
function handleUpload(files) {
|
|
@@ -21473,7 +21545,7 @@
|
|
|
21473
21545
|
__self: this,
|
|
21474
21546
|
__source: {
|
|
21475
21547
|
fileName: _jsxFileName$9,
|
|
21476
|
-
lineNumber:
|
|
21548
|
+
lineNumber: 543,
|
|
21477
21549
|
columnNumber: 7
|
|
21478
21550
|
}
|
|
21479
21551
|
}, /*#__PURE__*/React__default["default"].createElement(ButtonText, {
|
|
@@ -21483,7 +21555,7 @@
|
|
|
21483
21555
|
__self: this,
|
|
21484
21556
|
__source: {
|
|
21485
21557
|
fileName: _jsxFileName$9,
|
|
21486
|
-
lineNumber:
|
|
21558
|
+
lineNumber: 544,
|
|
21487
21559
|
columnNumber: 9
|
|
21488
21560
|
}
|
|
21489
21561
|
}, replaceLabel && replaceLabel.length > 0 ? replaceLabel : `Ubah ${isFile ? 'Berkas' : 'Gambar'}`));
|
|
@@ -21499,7 +21571,7 @@
|
|
|
21499
21571
|
__self: undefined,
|
|
21500
21572
|
__source: {
|
|
21501
21573
|
fileName: _jsxFileName$9,
|
|
21502
|
-
lineNumber:
|
|
21574
|
+
lineNumber: 554,
|
|
21503
21575
|
columnNumber: 16
|
|
21504
21576
|
}
|
|
21505
21577
|
});
|
|
@@ -21511,7 +21583,7 @@
|
|
|
21511
21583
|
__self: undefined,
|
|
21512
21584
|
__source: {
|
|
21513
21585
|
fileName: _jsxFileName$9,
|
|
21514
|
-
lineNumber:
|
|
21586
|
+
lineNumber: 557,
|
|
21515
21587
|
columnNumber: 9
|
|
21516
21588
|
}
|
|
21517
21589
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -21521,7 +21593,7 @@
|
|
|
21521
21593
|
__self: undefined,
|
|
21522
21594
|
__source: {
|
|
21523
21595
|
fileName: _jsxFileName$9,
|
|
21524
|
-
lineNumber:
|
|
21596
|
+
lineNumber: 558,
|
|
21525
21597
|
columnNumber: 11
|
|
21526
21598
|
}
|
|
21527
21599
|
}, /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
|
|
@@ -21530,7 +21602,7 @@
|
|
|
21530
21602
|
__self: undefined,
|
|
21531
21603
|
__source: {
|
|
21532
21604
|
fileName: _jsxFileName$9,
|
|
21533
|
-
lineNumber:
|
|
21605
|
+
lineNumber: 559,
|
|
21534
21606
|
columnNumber: 13
|
|
21535
21607
|
}
|
|
21536
21608
|
}), /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -21543,7 +21615,7 @@
|
|
|
21543
21615
|
__self: undefined,
|
|
21544
21616
|
__source: {
|
|
21545
21617
|
fileName: _jsxFileName$9,
|
|
21546
|
-
lineNumber:
|
|
21618
|
+
lineNumber: 560,
|
|
21547
21619
|
columnNumber: 13
|
|
21548
21620
|
}
|
|
21549
21621
|
}, /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
|
|
@@ -21552,7 +21624,7 @@
|
|
|
21552
21624
|
__self: undefined,
|
|
21553
21625
|
__source: {
|
|
21554
21626
|
fileName: _jsxFileName$9,
|
|
21555
|
-
lineNumber:
|
|
21627
|
+
lineNumber: 568,
|
|
21556
21628
|
columnNumber: 15
|
|
21557
21629
|
}
|
|
21558
21630
|
})), /*#__PURE__*/React__default["default"].createElement(Image, {
|
|
@@ -21560,7 +21632,7 @@
|
|
|
21560
21632
|
__self: undefined,
|
|
21561
21633
|
__source: {
|
|
21562
21634
|
fileName: _jsxFileName$9,
|
|
21563
|
-
lineNumber:
|
|
21635
|
+
lineNumber: 570,
|
|
21564
21636
|
columnNumber: 13
|
|
21565
21637
|
}
|
|
21566
21638
|
})), renderButtonReplace(index));
|
|
@@ -21579,7 +21651,7 @@
|
|
|
21579
21651
|
__self: undefined,
|
|
21580
21652
|
__source: {
|
|
21581
21653
|
fileName: _jsxFileName$9,
|
|
21582
|
-
lineNumber:
|
|
21654
|
+
lineNumber: 581,
|
|
21583
21655
|
columnNumber: 16
|
|
21584
21656
|
}
|
|
21585
21657
|
});
|
|
@@ -21590,7 +21662,7 @@
|
|
|
21590
21662
|
__self: undefined,
|
|
21591
21663
|
__source: {
|
|
21592
21664
|
fileName: _jsxFileName$9,
|
|
21593
|
-
lineNumber:
|
|
21665
|
+
lineNumber: 584,
|
|
21594
21666
|
columnNumber: 9
|
|
21595
21667
|
}
|
|
21596
21668
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -21600,7 +21672,7 @@
|
|
|
21600
21672
|
__self: undefined,
|
|
21601
21673
|
__source: {
|
|
21602
21674
|
fileName: _jsxFileName$9,
|
|
21603
|
-
lineNumber:
|
|
21675
|
+
lineNumber: 585,
|
|
21604
21676
|
columnNumber: 11
|
|
21605
21677
|
}
|
|
21606
21678
|
}, /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
|
|
@@ -21609,7 +21681,7 @@
|
|
|
21609
21681
|
__self: undefined,
|
|
21610
21682
|
__source: {
|
|
21611
21683
|
fileName: _jsxFileName$9,
|
|
21612
|
-
lineNumber:
|
|
21684
|
+
lineNumber: 586,
|
|
21613
21685
|
columnNumber: 13
|
|
21614
21686
|
}
|
|
21615
21687
|
}), /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -21622,7 +21694,7 @@
|
|
|
21622
21694
|
__self: undefined,
|
|
21623
21695
|
__source: {
|
|
21624
21696
|
fileName: _jsxFileName$9,
|
|
21625
|
-
lineNumber:
|
|
21697
|
+
lineNumber: 587,
|
|
21626
21698
|
columnNumber: 13
|
|
21627
21699
|
}
|
|
21628
21700
|
}, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
@@ -21632,32 +21704,40 @@
|
|
|
21632
21704
|
__self: undefined,
|
|
21633
21705
|
__source: {
|
|
21634
21706
|
fileName: _jsxFileName$9,
|
|
21635
|
-
lineNumber:
|
|
21707
|
+
lineNumber: 595,
|
|
21636
21708
|
columnNumber: 15
|
|
21637
21709
|
}
|
|
21638
21710
|
}, /*#__PURE__*/React__default["default"].createElement(FileExtension, {
|
|
21639
21711
|
__self: undefined,
|
|
21640
21712
|
__source: {
|
|
21641
21713
|
fileName: _jsxFileName$9,
|
|
21642
|
-
lineNumber:
|
|
21714
|
+
lineNumber: 596,
|
|
21643
21715
|
columnNumber: 17
|
|
21644
21716
|
}
|
|
21645
|
-
}, ".", item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default["default"].createElement(
|
|
21717
|
+
}, ".", item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
21718
|
+
label: item.name,
|
|
21719
|
+
__self: undefined,
|
|
21720
|
+
__source: {
|
|
21721
|
+
fileName: _jsxFileName$9,
|
|
21722
|
+
lineNumber: 597,
|
|
21723
|
+
columnNumber: 17
|
|
21724
|
+
}
|
|
21725
|
+
}, /*#__PURE__*/React__default["default"].createElement(Text, {
|
|
21646
21726
|
css: {
|
|
21647
21727
|
color: '$textPrimary',
|
|
21648
21728
|
textOverflow: 'ellipsis',
|
|
21649
21729
|
overflow: 'hidden',
|
|
21650
|
-
width:
|
|
21730
|
+
width: 120,
|
|
21651
21731
|
whiteSpace: 'nowrap',
|
|
21652
21732
|
margin: '0 $spacing-07 0 $spacing-07'
|
|
21653
21733
|
},
|
|
21654
21734
|
__self: undefined,
|
|
21655
21735
|
__source: {
|
|
21656
21736
|
fileName: _jsxFileName$9,
|
|
21657
|
-
lineNumber:
|
|
21658
|
-
columnNumber:
|
|
21737
|
+
lineNumber: 598,
|
|
21738
|
+
columnNumber: 19
|
|
21659
21739
|
}
|
|
21660
|
-
}, item.name))), /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
21740
|
+
}, item.name)))), /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
21661
21741
|
css: {
|
|
21662
21742
|
position: 'absolute',
|
|
21663
21743
|
top: '45%',
|
|
@@ -21667,7 +21747,7 @@
|
|
|
21667
21747
|
__self: undefined,
|
|
21668
21748
|
__source: {
|
|
21669
21749
|
fileName: _jsxFileName$9,
|
|
21670
|
-
lineNumber:
|
|
21750
|
+
lineNumber: 613,
|
|
21671
21751
|
columnNumber: 13
|
|
21672
21752
|
}
|
|
21673
21753
|
}, /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
|
|
@@ -21676,14 +21756,14 @@
|
|
|
21676
21756
|
__self: undefined,
|
|
21677
21757
|
__source: {
|
|
21678
21758
|
fileName: _jsxFileName$9,
|
|
21679
|
-
lineNumber:
|
|
21759
|
+
lineNumber: 621,
|
|
21680
21760
|
columnNumber: 15
|
|
21681
21761
|
}
|
|
21682
21762
|
})), /*#__PURE__*/React__default["default"].createElement(Blank, {
|
|
21683
21763
|
__self: undefined,
|
|
21684
21764
|
__source: {
|
|
21685
21765
|
fileName: _jsxFileName$9,
|
|
21686
|
-
lineNumber:
|
|
21766
|
+
lineNumber: 623,
|
|
21687
21767
|
columnNumber: 13
|
|
21688
21768
|
}
|
|
21689
21769
|
})), renderButtonReplace(index));
|
|
@@ -21699,7 +21779,7 @@
|
|
|
21699
21779
|
__self: this,
|
|
21700
21780
|
__source: {
|
|
21701
21781
|
fileName: _jsxFileName$9,
|
|
21702
|
-
lineNumber:
|
|
21782
|
+
lineNumber: 634,
|
|
21703
21783
|
columnNumber: 7
|
|
21704
21784
|
}
|
|
21705
21785
|
}, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
@@ -21713,7 +21793,7 @@
|
|
|
21713
21793
|
__self: this,
|
|
21714
21794
|
__source: {
|
|
21715
21795
|
fileName: _jsxFileName$9,
|
|
21716
|
-
lineNumber:
|
|
21796
|
+
lineNumber: 635,
|
|
21717
21797
|
columnNumber: 9
|
|
21718
21798
|
}
|
|
21719
21799
|
}, /*#__PURE__*/React__default["default"].createElement(LoadingBar, {
|
|
@@ -21739,7 +21819,7 @@
|
|
|
21739
21819
|
__self: this,
|
|
21740
21820
|
__source: {
|
|
21741
21821
|
fileName: _jsxFileName$9,
|
|
21742
|
-
lineNumber:
|
|
21822
|
+
lineNumber: 636,
|
|
21743
21823
|
columnNumber: 11
|
|
21744
21824
|
}
|
|
21745
21825
|
}), /*#__PURE__*/React__default["default"].createElement(Text, {
|
|
@@ -21747,14 +21827,14 @@
|
|
|
21747
21827
|
__self: this,
|
|
21748
21828
|
__source: {
|
|
21749
21829
|
fileName: _jsxFileName$9,
|
|
21750
|
-
lineNumber:
|
|
21830
|
+
lineNumber: 649,
|
|
21751
21831
|
columnNumber: 11
|
|
21752
21832
|
}
|
|
21753
21833
|
}, `${progress <= 100 ? progress : 100}%`), /*#__PURE__*/React__default["default"].createElement(Text, {
|
|
21754
21834
|
__self: this,
|
|
21755
21835
|
__source: {
|
|
21756
21836
|
fileName: _jsxFileName$9,
|
|
21757
|
-
lineNumber:
|
|
21837
|
+
lineNumber: 650,
|
|
21758
21838
|
columnNumber: 11
|
|
21759
21839
|
}
|
|
21760
21840
|
}, `${isFile ? 'Berkas' : 'Gambar'} sedang diunggah`)));
|
|
@@ -21767,7 +21847,7 @@
|
|
|
21767
21847
|
__self: this,
|
|
21768
21848
|
__source: {
|
|
21769
21849
|
fileName: _jsxFileName$9,
|
|
21770
|
-
lineNumber:
|
|
21850
|
+
lineNumber: 658,
|
|
21771
21851
|
columnNumber: 7
|
|
21772
21852
|
}
|
|
21773
21853
|
}, /*#__PURE__*/React__default["default"].createElement(ContainerUpload, {
|
|
@@ -21783,7 +21863,7 @@
|
|
|
21783
21863
|
__self: this,
|
|
21784
21864
|
__source: {
|
|
21785
21865
|
fileName: _jsxFileName$9,
|
|
21786
|
-
lineNumber:
|
|
21866
|
+
lineNumber: 659,
|
|
21787
21867
|
columnNumber: 9
|
|
21788
21868
|
}
|
|
21789
21869
|
}, /*#__PURE__*/React__default["default"].createElement(Input$2, {
|
|
@@ -21795,21 +21875,21 @@
|
|
|
21795
21875
|
__self: this,
|
|
21796
21876
|
__source: {
|
|
21797
21877
|
fileName: _jsxFileName$9,
|
|
21798
|
-
lineNumber:
|
|
21878
|
+
lineNumber: 670,
|
|
21799
21879
|
columnNumber: 11
|
|
21800
21880
|
}
|
|
21801
21881
|
}), /*#__PURE__*/React__default["default"].createElement(Children, {
|
|
21802
21882
|
__self: this,
|
|
21803
21883
|
__source: {
|
|
21804
21884
|
fileName: _jsxFileName$9,
|
|
21805
|
-
lineNumber:
|
|
21885
|
+
lineNumber: 671,
|
|
21806
21886
|
columnNumber: 11
|
|
21807
21887
|
}
|
|
21808
21888
|
}, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
21809
21889
|
__self: this,
|
|
21810
21890
|
__source: {
|
|
21811
21891
|
fileName: _jsxFileName$9,
|
|
21812
|
-
lineNumber:
|
|
21892
|
+
lineNumber: 673,
|
|
21813
21893
|
columnNumber: 15
|
|
21814
21894
|
}
|
|
21815
21895
|
}, /*#__PURE__*/React__default["default"].createElement(IconCard, {
|
|
@@ -21818,7 +21898,7 @@
|
|
|
21818
21898
|
__self: this,
|
|
21819
21899
|
__source: {
|
|
21820
21900
|
fileName: _jsxFileName$9,
|
|
21821
|
-
lineNumber:
|
|
21901
|
+
lineNumber: 674,
|
|
21822
21902
|
columnNumber: 17
|
|
21823
21903
|
}
|
|
21824
21904
|
}, /*#__PURE__*/React__default["default"].createElement(icons.UploadOutline, {
|
|
@@ -21826,7 +21906,7 @@
|
|
|
21826
21906
|
__self: this,
|
|
21827
21907
|
__source: {
|
|
21828
21908
|
fileName: _jsxFileName$9,
|
|
21829
|
-
lineNumber:
|
|
21909
|
+
lineNumber: 675,
|
|
21830
21910
|
columnNumber: 19
|
|
21831
21911
|
}
|
|
21832
21912
|
})), /*#__PURE__*/React__default["default"].createElement(Text, {
|
|
@@ -21836,14 +21916,14 @@
|
|
|
21836
21916
|
__self: this,
|
|
21837
21917
|
__source: {
|
|
21838
21918
|
fileName: _jsxFileName$9,
|
|
21839
|
-
lineNumber:
|
|
21919
|
+
lineNumber: 677,
|
|
21840
21920
|
columnNumber: 17
|
|
21841
21921
|
}
|
|
21842
21922
|
}, `Pilih atau letakkan ${isFile ? 'berkas' : 'gambar'} di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
|
|
21843
21923
|
__self: this,
|
|
21844
21924
|
__source: {
|
|
21845
21925
|
fileName: _jsxFileName$9,
|
|
21846
|
-
lineNumber:
|
|
21926
|
+
lineNumber: 684,
|
|
21847
21927
|
columnNumber: 19
|
|
21848
21928
|
}
|
|
21849
21929
|
}, error));
|
|
@@ -21854,7 +21934,7 @@
|
|
|
21854
21934
|
__self: this,
|
|
21855
21935
|
__source: {
|
|
21856
21936
|
fileName: _jsxFileName$9,
|
|
21857
|
-
lineNumber:
|
|
21937
|
+
lineNumber: 691,
|
|
21858
21938
|
columnNumber: 7
|
|
21859
21939
|
}
|
|
21860
21940
|
}, /*#__PURE__*/React__default["default"].createElement(ModalDialogTrigger, {
|
|
@@ -21862,7 +21942,7 @@
|
|
|
21862
21942
|
__self: this,
|
|
21863
21943
|
__source: {
|
|
21864
21944
|
fileName: _jsxFileName$9,
|
|
21865
|
-
lineNumber:
|
|
21945
|
+
lineNumber: 692,
|
|
21866
21946
|
columnNumber: 9
|
|
21867
21947
|
}
|
|
21868
21948
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -21870,7 +21950,7 @@
|
|
|
21870
21950
|
__self: this,
|
|
21871
21951
|
__source: {
|
|
21872
21952
|
fileName: _jsxFileName$9,
|
|
21873
|
-
lineNumber:
|
|
21953
|
+
lineNumber: 693,
|
|
21874
21954
|
columnNumber: 11
|
|
21875
21955
|
}
|
|
21876
21956
|
})), /*#__PURE__*/React__default["default"].createElement(ModalDialogTitle, {
|
|
@@ -21883,7 +21963,7 @@
|
|
|
21883
21963
|
__self: this,
|
|
21884
21964
|
__source: {
|
|
21885
21965
|
fileName: _jsxFileName$9,
|
|
21886
|
-
lineNumber:
|
|
21966
|
+
lineNumber: 695,
|
|
21887
21967
|
columnNumber: 9
|
|
21888
21968
|
}
|
|
21889
21969
|
}, cropperTitle), /*#__PURE__*/React__default["default"].createElement(ModalDialogContent, {
|
|
@@ -21894,7 +21974,7 @@
|
|
|
21894
21974
|
__self: this,
|
|
21895
21975
|
__source: {
|
|
21896
21976
|
fileName: _jsxFileName$9,
|
|
21897
|
-
lineNumber:
|
|
21977
|
+
lineNumber: 698,
|
|
21898
21978
|
columnNumber: 9
|
|
21899
21979
|
}
|
|
21900
21980
|
}, /*#__PURE__*/React__default["default"].createElement(ReactCrop__default["default"], {
|
|
@@ -21905,7 +21985,7 @@
|
|
|
21905
21985
|
__self: this,
|
|
21906
21986
|
__source: {
|
|
21907
21987
|
fileName: _jsxFileName$9,
|
|
21908
|
-
lineNumber:
|
|
21988
|
+
lineNumber: 699,
|
|
21909
21989
|
columnNumber: 11
|
|
21910
21990
|
}
|
|
21911
21991
|
}, /*#__PURE__*/React__default["default"].createElement(Image, {
|
|
@@ -21918,14 +21998,14 @@
|
|
|
21918
21998
|
__self: this,
|
|
21919
21999
|
__source: {
|
|
21920
22000
|
fileName: _jsxFileName$9,
|
|
21921
|
-
lineNumber:
|
|
22001
|
+
lineNumber: 700,
|
|
21922
22002
|
columnNumber: 13
|
|
21923
22003
|
}
|
|
21924
22004
|
}))), /*#__PURE__*/React__default["default"].createElement(ModalDialogFooter, {
|
|
21925
22005
|
__self: this,
|
|
21926
22006
|
__source: {
|
|
21927
22007
|
fileName: _jsxFileName$9,
|
|
21928
|
-
lineNumber:
|
|
22008
|
+
lineNumber: 703,
|
|
21929
22009
|
columnNumber: 9
|
|
21930
22010
|
}
|
|
21931
22011
|
}, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
@@ -21937,7 +22017,7 @@
|
|
|
21937
22017
|
__self: this,
|
|
21938
22018
|
__source: {
|
|
21939
22019
|
fileName: _jsxFileName$9,
|
|
21940
|
-
lineNumber:
|
|
22020
|
+
lineNumber: 704,
|
|
21941
22021
|
columnNumber: 11
|
|
21942
22022
|
}
|
|
21943
22023
|
}, /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
@@ -21945,7 +22025,7 @@
|
|
|
21945
22025
|
__self: this,
|
|
21946
22026
|
__source: {
|
|
21947
22027
|
fileName: _jsxFileName$9,
|
|
21948
|
-
lineNumber:
|
|
22028
|
+
lineNumber: 705,
|
|
21949
22029
|
columnNumber: 13
|
|
21950
22030
|
}
|
|
21951
22031
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ImageOutline, {
|
|
@@ -21957,7 +22037,7 @@
|
|
|
21957
22037
|
__self: this,
|
|
21958
22038
|
__source: {
|
|
21959
22039
|
fileName: _jsxFileName$9,
|
|
21960
|
-
lineNumber:
|
|
22040
|
+
lineNumber: 706,
|
|
21961
22041
|
columnNumber: 15
|
|
21962
22042
|
}
|
|
21963
22043
|
})), /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
@@ -21965,7 +22045,7 @@
|
|
|
21965
22045
|
__self: this,
|
|
21966
22046
|
__source: {
|
|
21967
22047
|
fileName: _jsxFileName$9,
|
|
21968
|
-
lineNumber:
|
|
22048
|
+
lineNumber: 712,
|
|
21969
22049
|
columnNumber: 13
|
|
21970
22050
|
}
|
|
21971
22051
|
}, /*#__PURE__*/React__default["default"].createElement(Button$2, {
|
|
@@ -21974,7 +22054,7 @@
|
|
|
21974
22054
|
__self: this,
|
|
21975
22055
|
__source: {
|
|
21976
22056
|
fileName: _jsxFileName$9,
|
|
21977
|
-
lineNumber:
|
|
22057
|
+
lineNumber: 713,
|
|
21978
22058
|
columnNumber: 15
|
|
21979
22059
|
}
|
|
21980
22060
|
}, "Batal"), /*#__PURE__*/React__default["default"].createElement(Button$2, {
|
|
@@ -21982,7 +22062,7 @@
|
|
|
21982
22062
|
__self: this,
|
|
21983
22063
|
__source: {
|
|
21984
22064
|
fileName: _jsxFileName$9,
|
|
21985
|
-
lineNumber:
|
|
22065
|
+
lineNumber: 716,
|
|
21986
22066
|
columnNumber: 15
|
|
21987
22067
|
}
|
|
21988
22068
|
}, `${completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height ? 'Potong & Simpan' : 'Simpan'}`)))));
|
|
@@ -21998,7 +22078,7 @@
|
|
|
21998
22078
|
__self: undefined,
|
|
21999
22079
|
__source: {
|
|
22000
22080
|
fileName: _jsxFileName$9,
|
|
22001
|
-
lineNumber:
|
|
22081
|
+
lineNumber: 727,
|
|
22002
22082
|
columnNumber: 5
|
|
22003
22083
|
}
|
|
22004
22084
|
}, !isFile && renderPicture(), isFile && renderFile(), progress || isLoading ? /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
|
|
@@ -22007,7 +22087,7 @@
|
|
|
22007
22087
|
__self: undefined,
|
|
22008
22088
|
__source: {
|
|
22009
22089
|
fileName: _jsxFileName$9,
|
|
22010
|
-
lineNumber:
|
|
22090
|
+
lineNumber: 730,
|
|
22011
22091
|
columnNumber: 32
|
|
22012
22092
|
}
|
|
22013
22093
|
}) : renderUpload(), showCropper && renderCropper());
|
|
@@ -22341,7 +22421,7 @@
|
|
|
22341
22421
|
buttonType: "secondary"
|
|
22342
22422
|
}, {
|
|
22343
22423
|
children: jsxRuntime.jsx(icons.ChevronLgLeftOutline, {
|
|
22344
|
-
color: colors.btnPrimary
|
|
22424
|
+
color: colors$1.btnPrimary
|
|
22345
22425
|
}, void 0)
|
|
22346
22426
|
}), void 0), jsxRuntime.jsxs(Flex$1, __assign({
|
|
22347
22427
|
align: "center",
|
|
@@ -22401,7 +22481,7 @@
|
|
|
22401
22481
|
buttonType: "secondary"
|
|
22402
22482
|
}, {
|
|
22403
22483
|
children: jsxRuntime.jsx(icons.ChevronRightOutline, {
|
|
22404
|
-
color: colors.btnPrimary
|
|
22484
|
+
color: colors$1.btnPrimary
|
|
22405
22485
|
}, void 0)
|
|
22406
22486
|
}), void 0)]
|
|
22407
22487
|
}), void 0);
|
|
@@ -25386,7 +25466,7 @@
|
|
|
25386
25466
|
marginRight: 9
|
|
25387
25467
|
},
|
|
25388
25468
|
size: "24",
|
|
25389
|
-
color: colors.bgGreen,
|
|
25469
|
+
color: colors$1.bgGreen,
|
|
25390
25470
|
__self: undefined,
|
|
25391
25471
|
__source: {
|
|
25392
25472
|
fileName: _jsxFileName$4,
|
|
@@ -25407,7 +25487,7 @@
|
|
|
25407
25487
|
margin: '0 9px'
|
|
25408
25488
|
},
|
|
25409
25489
|
size: "20",
|
|
25410
|
-
color: colors.iconSecondary,
|
|
25490
|
+
color: colors$1.iconSecondary,
|
|
25411
25491
|
__self: undefined,
|
|
25412
25492
|
__source: {
|
|
25413
25493
|
fileName: _jsxFileName$4,
|
|
@@ -25433,7 +25513,7 @@
|
|
|
25433
25513
|
}
|
|
25434
25514
|
}, isComplete && /*#__PURE__*/React__default["default"].createElement(StyledCheckFiled, {
|
|
25435
25515
|
size: "24",
|
|
25436
|
-
color: colors.bgGreen,
|
|
25516
|
+
color: colors$1.bgGreen,
|
|
25437
25517
|
__self: undefined,
|
|
25438
25518
|
__source: {
|
|
25439
25519
|
fileName: _jsxFileName$4,
|
|
@@ -25478,7 +25558,7 @@
|
|
|
25478
25558
|
}
|
|
25479
25559
|
}, /*#__PURE__*/React__default["default"].createElement(StyledCircleInfoOutline, {
|
|
25480
25560
|
size: "20",
|
|
25481
|
-
color: colors.iconSecondary,
|
|
25561
|
+
color: colors$1.iconSecondary,
|
|
25482
25562
|
__self: undefined,
|
|
25483
25563
|
__source: {
|
|
25484
25564
|
fileName: _jsxFileName$4,
|
|
@@ -29106,6 +29186,7 @@
|
|
|
29106
29186
|
exports.InputLeftElement = InputLeftElement;
|
|
29107
29187
|
exports.InputMapPicker = InputMapPicker;
|
|
29108
29188
|
exports.InputNumber = InputNumber;
|
|
29189
|
+
exports.InputOTP = InputOTP;
|
|
29109
29190
|
exports.InputPrefix = InputPrefix;
|
|
29110
29191
|
exports.InputRadio = InputRadio;
|
|
29111
29192
|
exports.InputRadioGroup = InputRadioGroup;
|
|
@@ -29157,6 +29238,7 @@
|
|
|
29157
29238
|
exports.Progress = Progress$1;
|
|
29158
29239
|
exports.ProgressIndicator = ProgressIndicator;
|
|
29159
29240
|
exports.RANGE_PICKER = RANGE_PICKER;
|
|
29241
|
+
exports.ResendOTP = ResendOTP;
|
|
29160
29242
|
exports.RightSlot = RightSlot;
|
|
29161
29243
|
exports.RowExpanderColumn = rowExpanderColumn;
|
|
29162
29244
|
exports.RowMenuColumn = rowMenuColumn;
|