oa-componentbook 1.0.1-stage.34 → 1.0.1-stage.36
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/build/components/oa-component-accordion/Accordion.js +17 -6
- package/build/components/oa-component-accordion/styles.js +2 -2
- package/build/components/oa-component-auto-complete/CustomAutoComplete.js +8 -11
- package/build/components/oa-component-bar-chart/BarChart.js +4 -8
- package/build/components/oa-component-bread-crumb/CustomBreadCrumb.js +1 -1
- package/build/components/oa-component-button/CustomButton.js +6 -10
- package/build/components/oa-component-button/styles.js +2 -2
- package/build/components/oa-component-checkbox/CustomCheckBox.js +4 -4
- package/build/components/oa-component-checkbox/styles.js +2 -2
- package/build/components/oa-component-count-card/CustomCountCard.js +1 -1
- package/build/components/oa-component-count-card/styles.js +2 -2
- package/build/components/oa-component-datepicker/CustomDatePicker.js +5 -5
- package/build/components/oa-component-demo-border-radius/BorderRadiusDemo.js +1 -1
- package/build/components/oa-component-demo-border-radius/styles.js +2 -2
- package/build/components/oa-component-demo-color-variables/ColorVariablesDemo.js +1 -1
- package/build/components/oa-component-demo-color-variables/styles.js +2 -2
- package/build/components/oa-component-demo-elevation/ElevationDemo.js +1 -1
- package/build/components/oa-component-demo-elevation/styles.js +2 -2
- package/build/components/oa-component-demo-spacing/SpacingScales.js +1 -1
- package/build/components/oa-component-demo-spacing/styles.js +2 -2
- package/build/components/oa-component-drawer/CustomDrawer.js +5 -7
- package/build/components/oa-component-drawer/styles.js +2 -2
- package/build/components/oa-component-dropdown/CustomDropdown.js +1 -1
- package/build/components/oa-component-dropdown/styles.js +2 -2
- package/build/components/oa-component-feedback-form/FeedbackForm.js +2 -2
- package/build/components/oa-component-feedback-tooltip/FeedbackTooltip.js +1 -1
- package/build/components/oa-component-form-item/CustomFormItem.js +9 -11
- package/build/components/oa-component-header/CustomHeader.js +1 -1
- package/build/components/oa-component-header/styles.js +2 -2
- package/build/components/oa-component-icons/CustomIcon.js +9 -11
- package/build/components/oa-component-icons/MaterialIcon.js +9 -11
- package/build/components/oa-component-icons/SizedSvg.js +2 -2
- package/build/components/oa-component-info/CustomInfo.js +10 -5
- package/build/components/oa-component-info/styles.js +5 -5
- package/build/components/oa-component-input/CustomInput.js +5 -5
- package/build/components/oa-component-input-number/CustomInputNumber.js +5 -5
- package/build/components/oa-component-lable/CustomLable.js +1 -1
- package/build/components/oa-component-lable/styles.js +2 -2
- package/build/components/oa-component-loader/CustomLoader.js +4 -4
- package/build/components/oa-component-modal/CustomModal.js +4 -6
- package/build/components/oa-component-modal/styles.js +2 -2
- package/build/components/oa-component-notification/CustomNotification.js +8 -11
- package/build/components/oa-component-notification/styles.js +2 -2
- package/build/components/oa-component-popover/CustomPopover.js +4 -6
- package/build/components/oa-component-progress-bar/CustomProgressBar.js +1 -1
- package/build/components/oa-component-progress-bar/styles.js +2 -2
- package/build/components/oa-component-radio/CustomRadio.js +4 -4
- package/build/components/oa-component-radio/styles.js +2 -2
- package/build/components/oa-component-rating/CustomRating.js +1 -1
- package/build/components/oa-component-select/CustomSelect.js +13 -17
- package/build/components/oa-component-table/CustomTable.js +11 -14
- package/build/components/oa-component-table/styles.js +2 -2
- package/build/components/oa-component-tabs/CustomTabs.js +8 -11
- package/build/components/oa-component-tabs/styles.js +2 -2
- package/build/components/oa-component-tag/CustomTag.js +1 -1
- package/build/components/oa-component-tag/styles.js +2 -2
- package/build/components/oa-component-textarea/TextArea.js +4 -4
- package/build/components/oa-component-textarea/styles.js +2 -2
- package/build/components/oa-component-timeline/CustomTimeline.js +4 -4
- package/build/components/oa-component-timeline/styles.js +2 -2
- package/build/components/oa-component-timepicker/CustomTimePicker.js +5 -5
- package/build/components/oa-component-toggle/CustomToggle.js +5 -5
- package/build/components/oa-component-toggle/styles.js +2 -2
- package/build/components/oa-component-tooltip/CustomTooltip.js +4 -4
- package/build/components/oa-component-typography/Typography.js +4 -4
- package/build/components/oa-component-typography/styles.js +2 -2
- package/build/components/oa-component-upload/CustomUpload.js +5 -8
- package/build/components/oa-component-upload/styles.js +2 -2
- package/build/components/oa-component-viewer/CustomViewer.js +6 -7
- package/build/components/oa-component-viewer/styles.js +2 -2
- package/build/dev/oa-component-timeline/CustomTimeline.js +4 -4
- package/build/dev/oa-component-timeline/styles.js +2 -2
- package/build/dev/oa-component-upload/CustomUpload.js +5 -8
- package/build/dev/oa-component-upload/styles.js +2 -2
- package/build/dev/oa-component-viewer/CustomViewer.js +6 -7
- package/build/dev/oa-component-viewer/styles.js +2 -2
- package/build/dev/oa-widget-document-upload-card/DocUploadCardWidget.js +2 -2
- package/build/dev/oa-widget-document-upload-card/styles.js +2 -2
- package/build/global-css/BorderRadius.js +1 -1
- package/build/global-css/ColorVariables.js +2 -2
- package/build/global-css/CustomDropDownThemes.js +1 -1
- package/build/global-css/Elevation.js +1 -1
- package/build/global-css/GlobalCss.js +1 -1
- package/build/global-css/GridLayout.js +1 -1
- package/build/global-css/SpacingScales.js +1 -1
- package/build/global-css/Typographies.js +2 -2
- package/build/index.js +12 -5
- package/build/layout/paymentAndConsent/CancelScreen.js +46 -0
- package/build/layout/paymentAndConsent/ConsentCard.js +68 -0
- package/build/layout/paymentAndConsent/DetailsCard.js +75 -0
- package/build/layout/paymentAndConsent/DetailsList.js +38 -0
- package/build/layout/paymentAndConsent/Header.js +33 -0
- package/build/layout/paymentAndConsent/InProgressScreen.js +46 -0
- package/build/layout/paymentAndConsent/Loader.js +21 -0
- package/build/layout/paymentAndConsent/Modal.js +28 -0
- package/build/layout/paymentAndConsent/PaymentAndConsent.js +22 -0
- package/build/layout/paymentAndConsent/PaymentCard.js +83 -0
- package/build/layout/paymentAndConsent/Section.js +34 -0
- package/build/layout/paymentAndConsent/SuccessScreen.js +46 -0
- package/build/layout/paymentAndConsent/TimeLineCard.js +28 -0
- package/build/layout/paymentAndConsent/TncList.js +32 -0
- package/build/layout/paymentAndConsent/style.js +12 -0
- package/build/utils/fix-decimal-places.js +1 -1
- package/build/utils/get-uuid.js +1 -1
- package/build/utils/hex-to-rgb.js +3 -5
- package/build/utils/index.js +1 -1
- package/build/utils/rupee-formatters.js +1 -1
- package/build/widgets/oa-widget-add-spare-part/AddSparePartCollapseWidget.js +9 -16
- package/build/widgets/oa-widget-add-spare-part/AddSparePartWidget.js +10 -15
- package/build/widgets/oa-widget-add-spare-part/styles.js +2 -2
- package/build/widgets/oa-widget-address/AddressWidget.js +1 -1
- package/build/widgets/oa-widget-address/styles.js +2 -2
- package/build/widgets/oa-widget-approval/ApprovalWidget.js +5 -5
- package/build/widgets/oa-widget-approval/styles.js +2 -2
- package/build/widgets/oa-widget-chat/ChatWidget.js +7 -10
- package/build/widgets/oa-widget-chat/styles.js +2 -2
- package/build/widgets/oa-widget-close-claim/CloseClaimWidget.js +4 -6
- package/build/widgets/oa-widget-close-claim/styles.js +2 -2
- package/build/widgets/oa-widget-custom-details/CustomDetails.js +2 -2
- package/build/widgets/oa-widget-customer-rating-card/CustomerRatingCard.js +4 -4
- package/build/widgets/oa-widget-customer-rating-card/styles.js +2 -2
- package/build/widgets/oa-widget-date-dropdown/DateDropDown.js +7 -9
- package/build/widgets/oa-widget-date-dropdown/styles.js +2 -2
- package/build/widgets/oa-widget-detailcard/MembershipDetailCard.js +1 -3
- package/build/widgets/oa-widget-detailcard/styles.js +2 -2
- package/build/widgets/oa-widget-document-upload/DocUploadWidget.js +2 -5
- package/build/widgets/oa-widget-document-upload/styles.js +2 -2
- package/build/widgets/oa-widget-document-upload-card/DocUploadCardWidget.js +2 -2
- package/build/widgets/oa-widget-document-upload-card/styles.js +2 -2
- package/build/widgets/oa-widget-dropdown-search-input/DropdownSearchInput.js +5 -8
- package/build/widgets/oa-widget-dropdown-search-input/styles.js +2 -2
- package/build/widgets/oa-widget-feedback/FeedbackWidget.js +2 -2
- package/build/widgets/oa-widget-feedback/styles.js +2 -2
- package/build/widgets/oa-widget-form/CustomFormWidget.js +1 -3
- package/build/widgets/oa-widget-form/styles.js +2 -2
- package/build/widgets/oa-widget-googlerating/GoogleRating.js +1 -1
- package/build/widgets/oa-widget-googlerating/styles.js +2 -2
- package/build/widgets/oa-widget-header/CustomHeaderWidget.js +1 -3
- package/build/widgets/oa-widget-header/styles.js +2 -2
- package/build/widgets/oa-widget-input-pattern-pin/CustomPinPatternCaptureWidget.js +4 -6
- package/build/widgets/oa-widget-input-pattern-pin/styles.js +2 -2
- package/build/widgets/oa-widget-key-value/KeyValueWidget.js +1 -3
- package/build/widgets/oa-widget-key-value/styles.js +2 -2
- package/build/widgets/oa-widget-location-access/LocationAccessWidget.js +1 -1
- package/build/widgets/oa-widget-location-access/styles.js +2 -2
- package/build/widgets/oa-widget-map-base-location/AddressDetails.js +1 -1
- package/build/widgets/oa-widget-map-base-location/AddressForm.js +1 -1
- package/build/widgets/oa-widget-map-base-location/CustomModalComponent.js +1 -1
- package/build/widgets/oa-widget-map-base-location/MapBaseLocation.js +1 -1
- package/build/widgets/oa-widget-map-base-location/MapComponent.js +4 -4
- package/build/widgets/oa-widget-map-base-location/styles.js +2 -2
- package/build/widgets/oa-widget-membershipcard/MembershipCard.js +3 -5
- package/build/widgets/oa-widget-membershipcard/styles.js +2 -2
- package/build/widgets/oa-widget-multiple-collapse-with-slots/MultipleCollapseWithSlots.js +1 -3
- package/build/widgets/oa-widget-multiple-collapse-with-slots/styles.js +2 -2
- package/build/widgets/oa-widget-notes/NotesWidget.js +5 -7
- package/build/widgets/oa-widget-notes/styles.js +2 -2
- package/build/widgets/oa-widget-pincode-base-location/PincodeBaseLocation.js +1 -3
- package/build/widgets/oa-widget-pincode-base-location/styles.js +2 -2
- package/build/widgets/oa-widget-plan-card/PlanCard.js +2 -4
- package/build/widgets/oa-widget-plan-card/styles.js +2 -2
- package/build/widgets/oa-widget-preview/Preview.js +2 -4
- package/build/widgets/oa-widget-preview/ZoomImageComponent.js +2 -2
- package/build/widgets/oa-widget-preview/styles.js +2 -2
- package/build/widgets/oa-widget-reimbursement-breakup/ReimbursementBreakupWidget.js +1 -3
- package/build/widgets/oa-widget-reimbursement-breakup/styles.js +2 -2
- package/build/widgets/oa-widget-repair-service/RepairServiceWidget.js +1 -1
- package/build/widgets/oa-widget-repair-service/styles.js +2 -2
- package/build/widgets/oa-widget-send-payment-link/SendPaymentLinkWidget.js +6 -9
- package/build/widgets/oa-widget-send-payment-link/styles.js +2 -2
- package/build/widgets/oa-widget-servicecard/ServiceCard.js +3 -5
- package/build/widgets/oa-widget-servicecard/styles.js +2 -2
- package/build/widgets/oa-widget-spare-part/SparePartsCollapseWidget.js +2 -4
- package/build/widgets/oa-widget-spare-part/SparePartsWidget.js +5 -8
- package/build/widgets/oa-widget-spare-part/styles.js +2 -2
- package/build/widgets/oa-widget-stage-timeline/StageTimelineWidget.js +2 -4
- package/build/widgets/oa-widget-stage-timeline/styles.js +2 -2
- package/build/widgets/oa-widget-track-shipment/TrackShipmentWidget.js +30 -11
- package/build/widgets/oa-widget-track-shipment/styles.js +2 -2
- package/build/widgets/oa-widget-track-shipment-list/TrackShipmentWidgetList.js +103 -0
- package/build/widgets/oa-widget-track-shipment-list/fn.js +69 -0
- package/build/{dev/oa-widget-track-shipment → widgets/oa-widget-track-shipment-list}/styles.js +2 -2
- package/build/widgets/oa-widget-upload-download/UploadDownloadWidget.js +4 -6
- package/build/widgets/oa-widget-upload-download/styles.js +2 -2
- package/build/widgets/oa-widget-view-history/ViewHistoryWidget.js +5 -5
- package/build/widgets/oa-widget-view-history/styles.js +2 -2
- package/build/widgets/oa-widget-view-previous-description/ViewPreviousDescriptionWidget.js +7 -10
- package/build/widgets/oa-widget-view-previous-description/styles.js +2 -2
- package/package.json +1 -1
- package/build/dev/oa-widget-track-shipment/TrackShipmentWidget.js +0 -198
|
@@ -12,7 +12,7 @@ var _MaterialIcon = _interopRequireDefault(require("../../components/oa-componen
|
|
|
12
12
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
13
13
|
var _CustomButton = _interopRequireDefault(require("../../components/oa-component-button/CustomButton"));
|
|
14
14
|
var _AddressForm = _interopRequireDefault(require("./AddressForm"));
|
|
15
|
-
function _interopRequireDefault(
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
16
|
/* eslint-disable */
|
|
17
17
|
|
|
18
18
|
// Address Details Component
|
|
@@ -10,7 +10,7 @@ var _antd = require("antd");
|
|
|
10
10
|
var _CustomInput = _interopRequireDefault(require("../../components/oa-component-input/CustomInput"));
|
|
11
11
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
12
12
|
var _CustomButton = _interopRequireDefault(require("../../components/oa-component-button/CustomButton"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
/* eslint-disable */
|
|
15
15
|
|
|
16
16
|
// Address Form Component
|
|
@@ -9,7 +9,7 @@ var _LocationOff = _interopRequireDefault(require("@material-ui/icons/LocationOf
|
|
|
9
9
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
10
10
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
11
11
|
var _CustomModal = _interopRequireDefault(require("../../components/oa-component-modal/CustomModal"));
|
|
12
|
-
function _interopRequireDefault(
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
/* eslint-disable */
|
|
14
14
|
|
|
15
15
|
// Custom Modal Component
|
|
@@ -10,7 +10,7 @@ var _MapComponent = _interopRequireDefault(require("./MapComponent"));
|
|
|
10
10
|
var _CustomModalComponent = _interopRequireDefault(require("./CustomModalComponent"));
|
|
11
11
|
var _CustomLoader = _interopRequireDefault(require("../../components/oa-component-loader/CustomLoader"));
|
|
12
12
|
var _styles = require("./styles");
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
/* eslint-disable */
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
require("core-js/modules/
|
|
8
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
9
9
|
require("core-js/modules/es.promise.js");
|
|
10
|
+
require("core-js/modules/es.array.includes.js");
|
|
10
11
|
require("core-js/modules/es.string.includes.js");
|
|
11
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _reactGoogleMaps = require("react-google-maps");
|
|
14
14
|
var _map_pointer = _interopRequireDefault(require("../../images/map_pointer.svg"));
|
|
15
15
|
var _currentLocation = _interopRequireDefault(require("../../images/current-location.svg"));
|
|
16
|
-
function _interopRequireDefault(
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
18
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
/* eslint-disable */
|
|
20
20
|
|
|
21
21
|
const MapComponent = (0, _reactGoogleMaps.withScriptjs)((0, _reactGoogleMaps.withGoogleMap)(props => {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.MapStyles = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
12
|
const MapStyles = exports.MapStyles = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\n@import url(\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\");\n\n.ant-input-outlined {\n background: #ffffff;\n border-width: 1px;\n border-style: solid;\n border-color: #959595;\n padding: 13px 16px;\n border-radius: 4px;\n}\n.ant-input-outlined:focus,\n:where(.css-dev-only-do-not-override-vqv1ns).ant-input-outlined:focus-within {\n border-color: #014fc5;\n box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);\n outline: 0;\n background-color: #ffffff;\n}\n\n.map-current-location {\n position: absolute;\n cursor: pointer;\n user-select: none;\n overflow: hidden;\n width: 40px;\n height: 40px;\n top: 85px !important;\n right: 10px !important;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;\n border-radius: 2px;\n cursor: pointer;\n background-color: rgb(255, 255, 255);\n}\n.map-current-location:hover {\n color: black;\n}\n.mapHeight {\n height: 570px;\n min-width: 360px;\n border-radius: 12px;\n position: relative;\n overflow: hidden;\n}\n\n.addresBoxDiv {\n display: flex;\n flex-direction: column;\n padding: 46px 24px 34px;\n width: calc(100% - 360px);\n position: relative;\n}\n\n.addressEdit {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n flex-direction: row;\n}\n.addressDetails {\n max-width: 216px;\n display: flex;\n flex-direction: column;\n}\n\n.buttonBottom {\n width: 100%;\n position: absolute;\n bottom: 24px;\n right: 0;\n left: 0;\n padding: 0 24px;\n}\n.buttonBottom .ant-form-item{\nmargin: 0;\n}\n.buttonBottom button {\n width: 100%;\n}\n\n.spacing-32 h3 {\n text-align: center;\n}\n.padding-top-32 button {\n width: 100%;\n}\n.borderArea {\n border: 1px solid var(--color-divider);\n}\n.locWithForm button {\n width: 100%;\n}\n.locWithForm section {\n padding: 0 0 32px;\n}\n.locWithForm section > div .MuiSvgIcon-root {\n font-size: 24px !important;\n}\n.ant-form-item .ant-form-item-explain-error,\n.errorMsg {\n color: var(--color-negative);\n font-size: 12px;\n}\n.marZero .ant-form-item {\n margin-bottom: 0;\n}\n.datepicker-modal button {\n width: 100%;\n}\n.mapHeight + section {\n justify-content: space-between;\n overflow: hidden;\n}\n.loadingGif {\n text-align: center;\n padding: 12px 0 0;\n}\n.borderArea {\n border: 1px solid var(--color-divider);\n}\n.mobileHeader {\n display: none;\n}\n.addLocation li > p {\n padding: 16px 0 0px;\n margin: 0 0 32px !important;\n}\n.addLocation {\n position: relative;\n}\n.flexDisplay {\n display: flex;\n gap: 8px;\n}\n.rowGap {\n display: flex;\n flex-direction: column;\n gap: 8px;\n align-items: baseline;\n cursor: pointer;\n}\n.rowGap + button {\n cursor: pointer;\n}\n.selectLocation button {\n margin: 24px 0 0;\n}\n.parentDisplay {\n padding: 16px;\n border-bottom: 1px solid var(--color-divider);\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n}\n\n.searchLocationForm section {\n position: relative;\n}\n.searchLocationForm .ant-input-affix-wrapper {\n height: 48px;\n}\n.searchLocationForm .anticon-close-circle svg {\n font-size: 20px;\n}\n.searchLocationForm section img {\n position: absolute;\n right: 6px;\n top: 14px;\n z-index: 9;\n cursor: pointer;\n width: 22px;\n}\n.serviceLocationContainer ul li {\n display: flex;\n gap: 8px;\n align-items: start;\n}\n.serviceLocationContainer ul li img {\n position: relative;\n top: 2px;\n}\n.searchLocationForm section input {\n padding: 13px 16px 13px 38px;\n}\n.searchLocationForm section img.crossIcon,\n.searchLocationForm section img.searchLoader {\n right: 16px;\n}\n.searchLocationForm {\n min-height: 260px;\n}\n\n.searchLocationForm img.searchIcon {\n left: 14px;\n top: 14px;\n}\n.serviceLocationContainer {\n margin: 32px 0 0;\n /* border: 1px solid var(--color-divider); */\n border-radius: 12px;\n max-height: 300px;\n overflow: auto;\n}\n.serviceLocationContainer ul {\n padding: 16px;\n border-bottom: 1px solid var(--color-divider);\n}\n.serviceLocationContainer ul:last-child {\n border: none;\n}\n.currentLocationLink {\n display: flex;\n gap: 4px;\n}\n.noResultFound {\n padding: 58px 32px;\n border: 1px solid var(--color-divider);\n border-radius: 12px;\n text-align: center;\n margin: 32px 0 0;\n}\n.noResultFound img {\n width: 48px;\n}\n.serviceLocationContainer ul li {\n padding: 0;\n}\n\n.addLocation aside {\n border-radius: 12px;\n}\n.addLocation aside svg {\n padding: 0 0 16px;\n}\n.crossIcon {\n font-size: 24px;\n position: absolute;\n z-index: 1;\n top: 13px;\n right: 16px;\n color: var(--color-secondary-content);\n}\n.crossIcon:hover {\n color: var(--color-primary-content);\n}\n\n.mapComponent .locationSecBox {\n display: flex;\n max-width: 748px;\n margin: 24px auto;\n\n flex-direction: column;\n border-radius: 12px;\n border: none;\n}\n.mapComponent .listoflocation ul{\n width: calc(100% + 48px);\n margin: 16px 0 0 -24px !important;\n}\n.mapComponent .listoflocation{\n margin: 24px 0 0 0;\n}\n.smallModalWidth{\n width: 480px !important;\n}\n.fullModalWidth{\n width: 800px !important;\n}\n.fullModalWidth .ant-modal-content{\n padding: 0;\n}\n.fullModalWidth .mapHeight{\n width: 440px;\n}\n.fullModalWidth .addresBoxDiv{\n width: calc(100% - 440px);\n padding: 64px 24px 32px;\n}\n.fullModalWidth .buttonBottom{\n bottom: 32px;\n}\n.fullModalWidth .ant-modal-body > div{\n padding: 0;\n}\n.mapComponent .locationInner {\n padding: 0;\n width: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.addressDetaisBox {\n display: flex;\n flex-direction: row;\n width: 100%;\n}\n\n.locationlabel {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n\n.listoflocation {\n display: flex;\n flex-direction: column;\n width: 100%;\n margin: 48px 0 0 0;\n}\n.listoflocation ul {\n display: flex;\n padding: 0;\n flex-direction: column;\n width: 100%;\n border-top: solid 4px var(--color-divider);\n margin: 16px 0 0 0 !important;\n}\n.listoflocation ul li {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 16px;\n border-bottom: solid 1px var(--color-divider);\n align-items: flex-start;\n cursor: pointer;\n}\n.listoflocation ul li:last-child {\n border-bottom: none;\n padding-bottom: 0;\n}\n.listoflocation ul li .addressDetails {\n display: flex;\n flex-direction: column;\n width: auto;\n margin: 0 0 0 12px;\n max-width: none;\n}\n\n.minHeightAuto {\n min-height: auto !important;\n}\n\n.oa-pincodeLocation .topHeader {\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n display: flex;\n align-items: center;\n justify-content: flex-start;\n left: 0;\n height: 56px;\n width: 100%;\n z-index: 9;\n background: var(--color-primary-background);\n}\n.oa-pincodeLocation .topHeader .container {\n width: 100%;\n}\n\n.oa-pincodeLocation .topHeader img {\n width: 122px;\n}\n\n@media screen and (max-width: 600px) {\n .slotContainer {\n padding: 48px 16px 24px 16px !important;\n }\n\n .listoflocation ul li:last-child {\n padding-bottom: 12px;\n }\n\n .oa-pincodeLocation .topHeader {\n position: fixed;\n top: 0;\n }\n .mobileMarginTop {\n margin: 80px 0 0 !important;\n }\n\n .containerMap {\n margin: 0 auto;\n height: 100vh;\n padding: 56px 16px 0 16px;\n }\n .locationSecBox {\n margin: 0 auto;\n border: none;\n overflow: inherit;\n }\n .locationInner {\n padding: 80px 16px 0 16px;\n }\n .addressDetaisBox {\n flex-direction: column;\n }\n .mapHeight {\n height: calc(100vh - 436px);\n width: calc(100% + 32px);\n border-radius: 0;\n position: relative;\n overflow: hidden;\n margin: -24px 0 0 -16px;\n }\n .fullModalWidth .addresBoxDiv{\n width: 100%;\n padding: 0px 16px 32px;\n margin: 0;\n }\n .fullModalWidth .buttonBottom{\n position: static;\n }\n .fullModalWidth .addressDetaisBox{\n gap: 32px;\n }\n .fullModalWidth .mapHeight {\n width: 100%;\n margin: 0 !important;\n height: calc(100vh - 392px) !important;\n}\n.fullModalWidth .ant-modal-content{\n padding: 0;\n bottom: 0;\n top: 0;\n}\n.fullModalWidth .ant-modal-body{\n max-height: fit-content;\n padding-right: 0;\n}\n.fullModalWidth .containerMap{\n padding: 0;\n}\n.fullModalWidth{\n margin: 0 !important;\n}\n .addresBoxDiv {\n flex-direction: column;\n padding: 33px 16px;\n width: calc(100% + 32px);\n background: #fff;\n margin: 0 0 0 -16px;\n border-radius: 12px 12px 0 0;\n }\n\n .buttonBottom {\n position: relative;\n bottom: 0;\n right: 0;\n left: 0;\n padding: 0;\n }\n\n .searchLocationForm {\n min-height: 200px;\n }\n .searchLocationContainer .padding-bottom-24 {\n padding-top: 12px;\n }\n .spacing-32 h3,\n .locationHead,\n .mobileViewNone {\n display: none;\n }\n .paddingZero {\n padding: 0;\n border: none;\n }\n /* .mapMobileRadious{\n width: calc(100% + 32px);\n position: relative;\n margin: 0 -16px 0 0;\n border-radius: 0;\n border: none;\n } */\n .mapHeightMobile .mapHeight {\n height: calc(96vh - 56px - 80px - 36px - 80px - 24px);\n padding: 0;\n }\n .mapHeightMobile {\n height: 88vh;\n overflow: hidden;\n }\n\n .mobileHeader {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n .noResultFound {\n padding: 16px;\n margin: 24px 0 0;\n }\n .mobileHeader svg {\n cursor: pointer;\n }\n .serviceLocationContainer {\n max-height: fit-content;\n overflow-x: inherit;\n }\n}\n@media screen and (max-width: 1024px) {\n .addLocation aside {\n border: none;\n padding: 0;\n }\n .locFormContainer {\n padding: 0;\n border: none;\n }\n /* .mapMobileRadious{\n border-radius: 0;\n } */\n}\n\n.locFormContainer input[type=\"text\"]:not(.browser-default),\ninput[type=\"date\"]:not(.browser-default) {\n float: none;\n width: 100% !important;\n /* padding: 14px; */\n}\n\n.getCompleteAddress input[type=\"text\"]:not(.browser-default),\ninput[type=\"date\"]:not(.browser-default) {\n float: none;\n width: 100% !important;\n /* padding: 14px; */\n}\n\n"])));
|
|
@@ -5,10 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
require("core-js/modules/es.symbol.description.js");
|
|
9
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
10
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
11
8
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
9
|
+
require("core-js/modules/es.symbol.description.js");
|
|
12
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
12
|
var _ArrowForwardIos = _interopRequireDefault(require("@material-ui/icons/ArrowForwardIos"));
|
|
@@ -43,9 +41,9 @@ var _Microwave = _interopRequireDefault(require("../../images/Microwave.png"));
|
|
|
43
41
|
var _HA = _interopRequireDefault(require("../../images/HA.png"));
|
|
44
42
|
var _CustomIcon = _interopRequireDefault(require("../../components/oa-component-icons/CustomIcon"));
|
|
45
43
|
var _styles = require("./styles");
|
|
46
|
-
function _interopRequireDefault(
|
|
44
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
47
45
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
48
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
46
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
49
47
|
/**
|
|
50
48
|
* Renders a Membership Card component based on the provided card data.
|
|
51
49
|
*
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.MembershipCardStyle = exports.CardFooter = exports.CardBody = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject, _templateObject2, _templateObject3;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
const MembershipCardStyle = exports.MembershipCardStyle = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.topPad24{\n padding: 16px 0 0;\n}\n.flexGap div{\n padding: 0 0 8px;\n}\n.flexGap ul{\n margin: 0;\n padding: 0 0 0 16px;\n list-style-type: disc;\n}\n.flexGap li{\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.viewStatus button{\n margin: 16px 0 0;\n}\n.flexGap div:last-child{\n padding: 0;\n}\n.primaryInfo svg{\n cursor: pointer;\n}\np,h1, h2, h3, h4, h5, h6{\n margin: 0;\n}\n padding: 24px;\n background: var(--color-primary-background);\n border-radius: 12px;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n position: relative;\n margin: 0 0 24px;\n border: 1px solid var(--color-divider);\n @media only screen and (max-width: 600px) {\n gap: 16px;\n padding: 24px 16px 16px;\n .cardHead p .type-b1-400{\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .primary-info label .type-t2-700{\n font-size: 14px;\n font-weight: 500;\n line-height: 20px;\n }\n }\n .primaryInfo{\n display: flex;\n padding: 12px 8px;\n justify-content: space-between;\n background: var(--color-primary);\n border-radius: 8px;\n align-items: center;\n cursor: pointer;\n }\n .primaryInfo img{\n width: 24px;\n height: 24px;\n }\n .toolTipInfo .text-container svg {\n font-size: 16px !important;\n }\n .paraWithIcon{\n display: flex;\n gap: 8px;\n align-items: center;\n }\n .toolTipInfo{\n display: flex;\n background: var(--color-background-positive);\n padding: 12px;\n border-radius: 8px;\n flex-direction: column;\n justify-content: space-between;\n }\n .flexChangeBody{\n flex-direction: row;\n align-items: center;\n }\n\n .toolTipInfo .toolTip + div{\n display: flex;\n justify-content: end;\n }\n .error{\n background: var(--color-background-negative);\n }\n .error .toolTip svg{\n color: var(--color-negative);\n }\n .warning{\n background: var(--color-background-warning);\n }\n .warning .toolTip svg{\n color: var(--color-warning);\n }\n .success{\n background: var(--color-background-positive);\n }\n\n .success .toolTip svg{\n color: var(--color-positive);\n }\n .toolTip{\n display: flex;\n gap: 8px;\n }\n .cardHead{\n display: flex;\n justify-content: space-between;\n gap: 24px;\n }\n .imgBg{\n border-radius: 8px;\n background: #DEF1FB;\n min-width: 56px;\n height: 56px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n \n .ant-modal-footer{\n display: none;\n }\n .toolTip svg{\n margin: 0px 0 0;\n }\n .flexChangeBody{\n align-items: center !important;\n flex-direction: row !important;\n gap: 8px !important;\n }\n .flexChangeBody .text-container{\n white-space: nowrap;\n }\n .flexChangeBody .viewStatus button {\n margin: 0 !important;\n}\n.displayFlex{\n display: flex;\n}\n @media only screen and (max-width: 600px) {\n .type-b1-400{\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .toolTipInfo {\n flex-direction: column;\n gap: 0;\n align-items: unset;\n }\n \n .cardHead .titleHead > span{\n font-size: 16px;\n font-weight: 700;\n line-height: 24px;\n }\n }\n"])));
|
|
12
12
|
const CardBody = exports.CardBody = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\ndisplay: flex;\nflex-direction: column;\ngap: 24px;\n@media only screen and (max-width: 600px) {\n gap: 16px;\n}\n"])));
|
|
13
13
|
const CardFooter = exports.CardFooter = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\ndisplay: flex;\npadding: 16px 24px;\ngap: 24px;\nborder-top: 1px solid var(--color-divider);\nwidth: calc(100% + 48px);\nmargin: 0 0 0 -24px;\nposition: relative;\ntop: 24px;\njustify-content: end;\n@media only screen and (max-width: 600px) {\n padding: 16px 16px;\n width: calc(100% + 32px);\n margin: 0 0 0 -16px;\n top: 16px;\n\n .text-container .type-t2-700 {\n font-size: 14px;\n font-weight: 500;\n line-height: 20px;\n}\n.large {\n height: 36px;\n min-width: 100px;\n padding: 10px 16px;\n}\n}\n"])));
|
|
@@ -4,13 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
8
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
9
7
|
var _react = _interopRequireDefault(require("react"));
|
|
10
8
|
var _antd = require("antd");
|
|
11
9
|
var _dayjs = _interopRequireDefault(require("dayjs"));
|
|
12
10
|
var _styles = require("./styles");
|
|
13
|
-
function _interopRequireDefault(
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
12
|
const {
|
|
15
13
|
Panel
|
|
16
14
|
} = _antd.Collapse;
|
|
@@ -9,8 +9,8 @@ var _ColorVariablesMap = _interopRequireDefault(require("../../global-css/ColorV
|
|
|
9
9
|
var _checkactive = _interopRequireDefault(require("./checkactive.svg"));
|
|
10
10
|
var _checkhover = _interopRequireDefault(require("./checkhover.svg"));
|
|
11
11
|
var _templateObject, _templateObject2, _templateObject3;
|
|
12
|
-
function _interopRequireDefault(
|
|
13
|
-
function _taggedTemplateLiteral(
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
14
14
|
const SmallText = exports.SmallText = _styledComponents.default.small(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: 18px;\n color: #E21616;\n margin: 0 0 0 4px;\n"])));
|
|
15
15
|
const CollapseStyle = exports.CollapseStyle = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n.ant-collapse {\n border-radius: 12px;\n margin: 20px;\n background:", ";\n border:solid 1px ", "; border-bottom: none;\n}\n.ant-collapse-header{padding: 16px 16px 16px 22px;}\n\n.colHeading{\n display: flex;\n width: 100%;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n.colHeading .leftSec{ display: flex;\n flex-direction: row;\n align-items: center;}\n\n.colHeading .leftSec h3{\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; margin:0; color:", ";\n}\n.colHeading .leftSec span, .colHeading em{\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px; margin:0 0 0 4px; color:", ";\n}\n.ant-collapse-expand-icon{order:2;height: 24px !important;\n padding-inline-end: 0 !important;\n margin: 0 0 0 12px;\n width: 24px;\n justify-content: center;\n color: ", "\n}\n\n.ant-collapse-header-text{order:1;}\n.ant-collapse-expand-icon svg {transform: rotate(90deg);}\n.ant-collapse>.ant-collapse-item >.ant-collapse-header .ant-collapse-arrow {font-size: 14px;}\n.ant-collapse-item-active .ant-collapse-header .ant-collapse-arrow svg{transform: rotate(-90deg) !important;}\n.ant-collapse .ant-collapse-item:last-child >.ant-collapse-content {border-radius: 0 0 12px 12px;}\n\n\n\n.noSlot .leftSec h3, .noSlot .leftSec span {color: rgba(33, 33, 33, 0.4)}\n.noSlot em {color: ", "}\n\n.ant-radio-group{\n display: flex; flex-flow: wrap;\n gap: 16px;\n}\n\n.ant-radio-button-wrapper:not(:first-child)::before, .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {background-color: transparent;}\n\n\n .ant-radio-group-outline label:hover {\n background:", ";\n border: 1px solid ", ";\n color: ", ";\n}\n\n.ant-radio-group-outline label:hover span+span::before{ background-image: url(", ");}\n\n\n.ant-radio-button-wrapper-checked span + span::before {\n content: '';\n display: inline-block;\n width: 20px; \n height: 20px; \n background-image: url(", "); \n background-size: contain;\n margin-right: 4px; \n vertical-align: middle;\n}\n\n.ant-form-item {margin-bottom:0;}\n\n.ant-radio-button-wrapper {\n position: relative;\n display: inline-block;\n height: 36px;\n margin: 0;\n padding-inline: 15px;\n padding-block: 0;\n color: var(--color-primary-content);\n font-size: 14px;\n line-height: 34px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n cursor: pointer;\n transition: color 0.2s,background 0.2s,box-shadow 0.2s;\n}\n\n\n\n.ant-form label {\n font-weight: 500;\n line-height: 20px;\n}\n.ant-radio-group-outline label {\n width: 156px;\n border-radius: 4px;\n text-align: center;\n}\n\n\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n color: #fff;\n}\n\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n z-index: 1;\n color: ", ";\n background:", ";\n border-color: ", ";\n\n.ant-radio-button-wrapper:not(:first-child)::before {\n width: 0;\n}\n\n\n.ant-radio-group-outline label {\n font-weight: 500;\n line-height: 20px;\n}\n\n\n\n\n\n"])), _ColorVariablesMap.default['--color-primary-background'], _ColorVariablesMap.default['--color-divider'], _ColorVariablesMap.default['--color-primary-content'], _ColorVariablesMap.default['--color-secondary-content'], _ColorVariablesMap.default['--color-primary'], _ColorVariablesMap.default['--color-negative'], _ColorVariablesMap.default['--color-background-info'], _ColorVariablesMap.default['--color-primary'], _ColorVariablesMap.default['--color-primary'], _checkhover.default, _checkactive.default, _ColorVariablesMap.default['--color-primary-background'], _ColorVariablesMap.default['--color-primary'], _ColorVariablesMap.default['--color-primary']);
|
|
16
16
|
const DropdownStyle = exports.DropdownStyle = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\n.ant-dropdown-trigger{ width:24px; height:24px; display:flex; justify-content: center;\n align-items: center; font-size: 22px;\n cursor: pointer; color:#717171;}\n\n.ant-dropdown .ant-dropdown-menu{\n padding:50px;\n }\n"])));
|
|
@@ -6,8 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
10
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
11
9
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
12
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -16,12 +14,12 @@ var _CustomTable = _interopRequireDefault(require("../../components/oa-component
|
|
|
16
14
|
var _CustomInput = _interopRequireDefault(require("../../components/oa-component-input/CustomInput"));
|
|
17
15
|
var _styles = require("./styles");
|
|
18
16
|
const _excluded = ["data-test", "disabled", "records", "tableBorder", "onBlur", "extraColumnData"];
|
|
19
|
-
function _interopRequireDefault(
|
|
17
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
21
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
22
|
-
function _extends() {
|
|
23
|
-
function _objectWithoutProperties(
|
|
24
|
-
function _objectWithoutPropertiesLoose(
|
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
22
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
25
23
|
function NotesWidget(_ref) {
|
|
26
24
|
let {
|
|
27
25
|
'data-test': dataTest,
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.NoNotesMessage = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
12
|
const NoNotesMessage = exports.NoNotesMessage = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n input{\n height: 30px;\n }\n"])));
|
|
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
require("core-js/modules/es.regexp.to-string.js");
|
|
8
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
9
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
10
|
var _GpsFixedRounded = _interopRequireDefault(require("@material-ui/icons/GpsFixedRounded"));
|
|
@@ -23,7 +21,7 @@ var _ajaxLoader = _interopRequireDefault(require("../../images/ajax-loader.gif")
|
|
|
23
21
|
var _search_ic = _interopRequireDefault(require("../../images/search_ic.svg"));
|
|
24
22
|
var _search_not_found = _interopRequireDefault(require("../../images/search_not_found.svg"));
|
|
25
23
|
var _styles = require("./styles");
|
|
26
|
-
function _interopRequireDefault(
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
25
|
/* eslint-disable */
|
|
28
26
|
|
|
29
27
|
/**
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.PincodeStyles = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
12
|
const PincodeStyles = exports.PincodeStyles = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.loadingGif p{\npadding: 8px 0 0;\n}\n\n.errorMsg{\npadding: 4px 0 0;}\n@import url(\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\");\n\n.ant-input-outlined {\n background: #ffffff;\n border-width: 1px;\n border-style: solid;\n border-color: #959595;\n padding: 13px 16px;\n border-radius: 4px;\n}\n.ant-input-outlined:focus,\n:where(.css-dev-only-do-not-override-vqv1ns).ant-input-outlined:focus-within {\n border-color: #014fc5;\n box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);\n outline: 0;\n background-color: #ffffff;\n}\n\n.map-current-location {\n position: absolute;\n cursor: pointer;\n user-select: none;\n overflow: hidden;\n width: 40px;\n height: 40px;\n top: 85px !important;\n right: 10px !important;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;\n border-radius: 2px;\n cursor: pointer;\n background-color: rgb(255, 255, 255);\n}\n.map-current-location:hover {\n color: black;\n}\n.mapHeight {\n height: 570px;\n min-width: 360px;\n border-radius: 12px;\n position: relative;\n overflow: hidden;\n}\n\n.addresBoxDiv {\n display: flex;\n flex-direction: column;\n padding: 46px 24px 34px;\n width: calc(100% - 360px);\n position: relative;\n}\n\n.addressEdit {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n flex-direction: row;\n}\n.addressDetails {\n max-width: 216px;\n display: flex;\n flex-direction: column;\n}\n\n.buttonBottom {\n width: 100%;\n position: absolute;\n bottom: 24px;\n right: 0;\n left: 0;\n padding: 0 24px;\n}\n.buttonBottom .ant-form-item{\nmargin: 0;\n}\n.buttonBottom button {\n width: 100%;\n}\n\n.spacing-32 h3 {\n text-align: center;\n}\n.padding-top-32 button {\n width: 100%;\n}\n.borderArea {\n border: 1px solid var(--color-divider);\n}\n.locWithForm button {\n width: 100%;\n}\n.locWithForm section {\n padding: 0 0 32px;\n}\n.locWithForm section > div .MuiSvgIcon-root {\n font-size: 24px !important;\n}\n.ant-form-item .ant-form-item-explain-error,\n.errorMsg {\n color: var(--color-negative);\n font-size: 12px;\n}\n.marZero .ant-form-item {\n margin-bottom: 0;\n}\n.datepicker-modal button {\n width: 100%;\n}\n.mapHeight + section {\n justify-content: space-between;\n overflow: hidden;\n}\n.loadingGif {\n text-align: center;\n padding: 12px 0 0;\n}\n.borderArea {\n border: 1px solid var(--color-divider);\n}\n.mobileHeader {\n display: none;\n}\n.addLocation li > p {\n padding: 16px 0 0px;\n margin: 0 0 32px !important;\n}\n.addLocation {\n position: relative;\n}\n.flexDisplay {\n display: flex;\n gap: 8px;\n}\n.rowGap {\n display: flex;\n flex-direction: column;\n gap: 8px;\n align-items: baseline;\n cursor: pointer;\n}\n.rowGap + button {\n cursor: pointer;\n}\n.selectLocation button {\n margin: 24px 0 0;\n}\n.parentDisplay {\n padding: 16px;\n border-bottom: 1px solid var(--color-divider);\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n}\n\n.searchLocationForm section {\n position: relative;\n}\n.searchLocationForm .ant-input-affix-wrapper {\n height: 48px;\n}\n.searchLocationForm .anticon-close-circle svg {\n font-size: 20px;\n}\n.searchLocationForm section img {\n position: absolute;\n right: 6px;\n top: 14px;\n z-index: 9;\n cursor: pointer;\n width: 22px;\n}\n.serviceLocationContainer ul li {\n display: flex;\n gap: 8px;\n align-items: start;\n}\n.serviceLocationContainer ul li img {\n position: relative;\n top: 2px;\n}\n.searchLocationForm section input {\n padding: 13px 16px 13px 38px;\n}\n.searchLocationForm section img.crossIcon,\n.searchLocationForm section img.searchLoader {\n right: 16px;\n}\n.searchLocationForm {\n min-height: 260px;\n}\n\n.searchLocationForm img.searchIcon {\n left: 14px;\n top: 14px;\n}\n.serviceLocationContainer {\n margin: 32px 0 0;\n /* border: 1px solid var(--color-divider); */\n border-radius: 12px;\n max-height: 300px;\n overflow: auto;\n}\n.serviceLocationContainer ul {\n padding: 16px;\n border-bottom: 1px solid var(--color-divider);\n}\n.serviceLocationContainer ul:last-child {\n border: none;\n}\n.currentLocationLink {\n display: flex;\n gap: 4px;\n}\n.noResultFound {\n padding: 58px 32px;\n border: 1px solid var(--color-divider);\n border-radius: 12px;\n text-align: center;\n margin: 32px 0 0;\n}\n.noResultFound img {\n width: 48px;\n}\n.serviceLocationContainer ul li {\n padding: 0;\n}\n\n.addLocation aside {\n border-radius: 12px;\n}\n.addLocation aside svg {\n padding: 0 0 16px;\n}\n.crossIcon {\n font-size: 24px;\n position: absolute;\n z-index: 1;\n top: 13px;\n right: 16px;\n color: var(--color-secondary-content);\n}\n.crossIcon:hover {\n color: var(--color-primary-content);\n}\n\n.mapComponent .locationSecBox {\n display: flex;\n max-width: 748px;\n margin: 24px auto;\n\n flex-direction: column;\n border-radius: 12px;\n border: none;\n}\n.mapComponent .listoflocation ul{\n width: calc(100% + 48px);\n margin: 16px 0 0 -24px !important;\n}\n.mapComponent .listoflocation{\n margin: 24px 0 0 0;\n}\n.smallModalWidth{\n width: 480px !important;\n}\n.fullModalWidth{\n width: 800px !important;\n}\n.fullModalWidth .ant-modal-content{\n padding: 0;\n}\n.fullModalWidth .mapHeight{\n width: 440px;\n}\n.fullModalWidth .addresBoxDiv{\n width: calc(100% - 440px);\n padding: 64px 24px 32px;\n}\n.fullModalWidth .buttonBottom{\n bottom: 32px;\n}\n.fullModalWidth .ant-modal-body > div{\n padding: 0;\n}\n.mapComponent .locationInner {\n padding: 0;\n width: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.addressDetaisBox {\n display: flex;\n flex-direction: row;\n width: 100%;\n}\n\n.locationlabel {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n\n.listoflocation {\n display: flex;\n flex-direction: column;\n width: 100%;\n margin: 48px 0 0 0;\n}\n.listoflocation ul {\n display: flex;\n padding: 0;\n flex-direction: column;\n width: 100%;\n border-top: solid 4px var(--color-divider);\n margin: 16px 0 0 0 !important;\n}\n.listoflocation ul li {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 16px;\n border-bottom: solid 1px var(--color-divider);\n align-items: flex-start;\n cursor: pointer;\n}\n.listoflocation ul li:last-child {\n border-bottom: none;\n padding-bottom: 0;\n}\n.listoflocation ul li .addressDetails {\n display: flex;\n flex-direction: column;\n width: auto;\n margin: 0 0 0 12px;\n max-width: none;\n}\n\n.minHeightAuto {\n min-height: auto !important;\n}\n\n.oa-pincodeLocation .topHeader {\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n display: flex;\n align-items: center;\n justify-content: flex-start;\n left: 0;\n height: 56px;\n width: 100%;\n z-index: 9;\n background: var(--color-primary-background);\n}\n.oa-pincodeLocation .topHeader .container {\n width: 100%;\n}\n\n.oa-pincodeLocation .topHeader img {\n width: 122px;\n}\n\n@media screen and (max-width: 600px) {\n .slotContainer {\n padding: 48px 16px 24px 16px !important;\n }\n\n .listoflocation ul li:last-child {\n padding-bottom: 12px;\n }\n\n .oa-pincodeLocation .topHeader {\n position: fixed;\n top: 0;\n }\n .mobileMarginTop {\n margin: 80px 0 0 !important;\n }\n\n .containerMap {\n margin: 0 auto;\n height: 100vh;\n padding: 56px 16px 0 16px;\n }\n .locationSecBox {\n margin: 0 auto;\n border: none;\n overflow: inherit;\n }\n .locationInner {\n padding: 80px 16px 0 16px;\n }\n .addressDetaisBox {\n flex-direction: column;\n }\n .mapHeight {\n height: calc(100vh - 436px);\n width: calc(100% + 32px);\n border-radius: 0;\n position: relative;\n overflow: hidden;\n margin: -24px 0 0 -16px;\n }\n .fullModalWidth .addresBoxDiv{\n width: 100%;\n padding: 0px 16px 32px;\n margin: 0;\n }\n .fullModalWidth .buttonBottom{\n position: static;\n }\n .fullModalWidth .addressDetaisBox{\n gap: 32px;\n }\n .fullModalWidth .mapHeight {\n width: 100%;\n margin: 0 !important;\n height: calc(100vh - 392px) !important;\n}\n.fullModalWidth .ant-modal-content{\n padding: 0;\n bottom: 0;\n top: 0;\n}\n.fullModalWidth .ant-modal-body{\n max-height: fit-content;\n padding-right: 0;\n}\n.fullModalWidth .containerMap{\n padding: 0;\n}\n.fullModalWidth{\n margin: 0 !important;\n}\n .addresBoxDiv {\n flex-direction: column;\n padding: 46px 24px 34px\n width: calc(100% + 32px);\n background: #fff;\n margin: 0 0 0 -16px;\n border-radius: 12px 12px 0 0;\n }\n\n .buttonBottom {\n position: relative;\n bottom: 0;\n right: 0;\n left: 0;\n padding: 0;\n }\n\n .searchLocationForm {\n min-height: 200px;\n }\n .searchLocationContainer .padding-bottom-24 {\n padding-top: 12px;\n }\n .spacing-32 h3,\n .locationHead,\n .mobileViewNone {\n display: none;\n }\n .paddingZero {\n padding: 0;\n border: none;\n }\n /* .mapMobileRadious{\n width: calc(100% + 32px);\n position: relative;\n margin: 0 -16px 0 0;\n border-radius: 0;\n border: none;\n } */\n .mapHeightMobile .mapHeight {\n height: calc(96vh - 56px - 80px - 36px - 80px - 24px);\n padding: 0;\n }\n .mapHeightMobile {\n height: 88vh;\n overflow: hidden;\n }\n\n .mobileHeader {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n .noResultFound {\n padding: 16px;\n margin: 24px 0 0;\n }\n .mobileHeader svg {\n cursor: pointer;\n }\n .serviceLocationContainer {\n max-height: fit-content;\n overflow-x: inherit;\n }\n}\n@media screen and (max-width: 1024px) {\n .addLocation aside {\n border: none;\n padding: 0;\n }\n .locFormContainer {\n padding: 0;\n border: none;\n }\n /* .mapMobileRadious{\n border-radius: 0;\n } */\n}\n\n.locFormContainer input[type=\"text\"]:not(.browser-default),\ninput[type=\"date\"]:not(.browser-default) {\n float: none;\n width: 100% !important;\n /* padding: 14px; */\n}\n\n.getCompleteAddress input[type=\"text\"]:not(.browser-default),\ninput[type=\"date\"]:not(.browser-default) {\n float: none;\n width: 100% !important;\n /* padding: 14px; */\n}\n\n"])));
|
|
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
9
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
10
8
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
11
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -20,9 +18,9 @@ var _styles = require("./styles");
|
|
|
20
18
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
21
19
|
var _CustomTooltip = _interopRequireDefault(require("../../components/oa-component-tooltip/CustomTooltip"));
|
|
22
20
|
var _CustomButton = _interopRequireDefault(require("../../components/oa-component-button/CustomButton"));
|
|
23
|
-
function _interopRequireDefault(
|
|
21
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
25
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
23
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
26
24
|
/**
|
|
27
25
|
* PlanCard component renders a card with plan details.
|
|
28
26
|
* It displays the plan heading, heading2, heading3, price, subText, benefits and buttons.
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.PlanCardStyle = exports.BenfitsModalStyle = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject, _templateObject2;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
12
|
const PlanCardStyle = exports.PlanCardStyle = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .planCard{\n border-radius: 12px;\n border: 1px solid var(--color-divider);\n background: #FFF;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n padding: 36px 16px 24px;\n position: relative;\n overflow: hidden;\n }\n .top-right-text{\n border-radius: 4px;\n background: var(--color-positive);\n color: var(--color-primary-background);\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; \n padding: 4px;\n position: absolute;\n right: 0;\n top: 0;\n }\n .flexMin{\n display: flex;\n gap: 4px;\n }\n .planContent{\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n .price{\n display: flex;\n gap: 8px;\n align-items: center;\n }\n ul{\n list-style: none;\n list-style-position: inside;\n padding: 0;\n margin: 0;\n }\n .planHeader{\n display: flex;\n gap: 16px;\n padding: 0 0 16px;\n }\n ul li{\n display: flex;\n align-items: flex-start;\n gap: 8px;\n padding: 0 0 8px;\n }\n .flexMin svg{\n cursor: pointer;\n } \n .flexEnd{\n display: flex;\n justify-content: end;\n }\n .benefits{\n display: flex;\n gap: 16px;\n flex-direction: column;\n }\n \n"])));
|
|
13
13
|
const BenfitsModalStyle = exports.BenfitsModalStyle = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n}\n .seeAllBenefits ul li{\n display: flex !important;\n gap: 8px !important;\n padding: 0 0 16px !important;\n }\n .seeAllBenefits ul {\n list-style: none !important;\n list-style-position: inside !important;\n padding: 0 !important;\n }\n\n"])));
|
|
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = Preview;
|
|
8
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
9
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
10
8
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
11
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -17,9 +15,9 @@ var _zoom = _interopRequireDefault(require("../../images/zoom.svg"));
|
|
|
17
15
|
var _close = _interopRequireDefault(require("../../images/close.svg"));
|
|
18
16
|
var _utils = require("../../utils");
|
|
19
17
|
var _styles = require("./styles");
|
|
20
|
-
function _interopRequireDefault(
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
22
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
23
21
|
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
|
24
22
|
/* eslint-disable jsx-a11y/no-noninteractive-element-to-interactive-role */
|
|
25
23
|
|
|
@@ -10,9 +10,9 @@ var _antd = require("antd");
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _styles = require("./styles");
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
/* eslint-disable jsx-a11y/no-noninteractive-element-to-interactive-role */
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.ImgPreviewStyles = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
12
|
const ImgPreviewStyles = exports.ImgPreviewStyles = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.mainStylePreview .selected {\n width: 302px;\n margin: 0 auto;\n height: 56vh;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.singleVideoselected{\n max-width: 360px;\n width: 100%;\n margin: 0 auto;\n height: calc(100vh - 101px);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.imgContainer {\n display: flex;\n overflow-x: auto;\n background-color: #fafafa;\n box-shadow: 0 -2px 8px 0 rgb(0 0 0 / 12%);\n padding: 16px;\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n}\n.imgArea {\n margin-right: 20px;\n list-style: none;\n width: 116px;\n}\n.imgArea img,\n.imgArea video {\n width: 116px !important;\n height: 116px;\n cursor: pointer;\n border-radius: 4px;\n}\n.imgArea video {\n border: 1px solid var(--color-divider);\n}\n.imgArea span {\n display: block;\n text-align: center;\n margin: 4px 0 0;\n color: var(--color-primary-content);\n}\n.mainStylePreview .selected img {\n width: 100%;\n}\n.mainStylePreview .selected img.zoomIn,\n.mismatchDrawer .ovrScroll .deicePic .zoomIn {\n width: auto;\n position: absolute;\n cursor: pointer;\n opacity: 0.8;\n}\n.left-icon {\n position: absolute;\n top: 35%;\n font-size: 30px;\n cursor: pointer;\n left: 40px;\n}\n.right-icon {\n position: absolute;\n top: 35%;\n right: 40px;\n font-size: 30px;\n cursor: pointer;\n}\n.zoomModal .ant-modal-body {\n height: 420px;\n overflow-x: auto;\n margin: 16px 0 0;\n}\n.zoomModal .closedIcon {\n display: none;\n}\n.modalImg {\n width: 100%;\n}\n .imgContainerHeight{\n height: 260px;\n display: flex;\n }\n.imgContainer .selected-thumbnail {\n border: 2px solid var(--color-primary);\n}\n.imgContainer .selected-thumb {\n color: var(--color-primary);\n}\n.imgContainer span {\n width: 116px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mainStylePreview .selected video {\n height: 260px;\n width: 100%;\n }\n .singleVideoselected img:first-child{\n width: 100%;\n margin: 0 auto;\n display: block;\n }\n .singleVideoselected .zoomIn{\n position: absolute;\n }\n.singleVideoselected video {\n height: 440px;\n width: 100%;\n}\n@media screen and (max-width: 600px) {\n .zoomModal .ant-modal-content {\n position: fixed !important;\n }\n .imgContainerHeight{\n height: auto;}\n}\n\n\n"])));
|
|
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = ReimbursementBreakupWidget;
|
|
7
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
8
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
9
7
|
var _react = _interopRequireDefault(require("react"));
|
|
10
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
9
|
var _InfoRounded = _interopRequireDefault(require("@material-ui/icons/InfoRounded"));
|
|
@@ -14,7 +12,7 @@ var _MaterialIcon = _interopRequireDefault(require("../../components/oa-componen
|
|
|
14
12
|
var _styles = require("./styles");
|
|
15
13
|
var _utils = require("../../utils");
|
|
16
14
|
var _CustomDrawer = _interopRequireDefault(require("../../components/oa-component-drawer/CustomDrawer"));
|
|
17
|
-
function _interopRequireDefault(
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
16
|
/**
|
|
19
17
|
* A React component that displays a reimbursement amount breakup in a modal dialog.
|
|
20
18
|
* It renders data in either a grid or non-grid format based on the `tableType` specified in `cardData`.
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.WidgetContainer = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
12
|
const WidgetContainer = exports.WidgetContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.oaReimbursFlow {\n background: #fff;\n border-radius: 8px 8px 0px 0px;\n color: #212121;\n padding: 16px 12px;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 150%;\n display: flex;\n flex-direction: column;\n}\n\n.amoutCalculat {\n color: #0282F0;\n padding: 16px 12px 0;\n border-top: solid 1px var(--color-divider);\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 150%;\n width: calc(100% + 24px);\n display: flex;\n flex-direction: row;\n align-items: center;\n margin: 12px 0 0 -12px;\n cursor: pointer;\n justify-content: space-between;\n}\n\n.rmbsProdAmt {\n display: flex;\n flex-direction: column;\n}\n\n.rmbsProdAmt h5 {\n font-style: normal;\n color: #212121;\n font-size: 14px;\n font-weight: 400;\n line-height: 22px;\n border-top: solid 1px var(--color-divider);\n padding: 36px 0 16px;\n}\n\nul.calSecBox {\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n}\n\nul.calSecBox li {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n margin: 0 0 16px;\n gap: 16px;\n}\n\n.gridtableFooter {\n border-top: solid 1px var(--color-divider);\n padding: 16px 0 0 0; \n font-size: 14px;\n font-style: normal;\n font-weight: 700;\n line-height: 22px;\n}\n\n.gridtableFooter aside {\n font-weight: 700;\n}\n.gridtableFooter aside p{\n color: var(--color-positive) !important;\n}\nul.calSecBox li aside {\n color: #212121;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.gridtableFooter aside p{\n font-weight: 700;\n}\n\nul.calSecBox li aside+aside {\n font-weight: 700;\n text-align: right;\n}\n\nul.calSecBox li aside p {\n margin: 0;\n}\n\n.infoIconScroll img {\n width: 12px;\n height: 12px;\n margin: 0 0 0 5px;\n}\n\n.rmbsProdAmt ul.listofProd {\n display: flex;\n flex-direction: column;\n border-radius: 4px 4px 0px 0px;\n border: 1px solid #F6F6F6;\n overflow: hidden;\n border-top: none !important;\n border-bottom: none !important;\n background: #FFF;\n margin: 0;\n padding: 0;\n}\n\n.rmbsProdAmt ul.listofProd li {\n border-bottom: solid 1px var(--color-divider);\n padding: 16px;\n display: flex;\n flex-direction: row;\n gap: 16px;\n\n}\n\n.nonGridTableHeader {\n background: #F6F6F6;\n border-bottom: none;\n}\n\n.rmbsProdAmt ul.listofProd li aside {\n color: #212121;\n width: 100%;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; \n}\n\n.rmbsProdAmt ul.listofProd li aside.boldText {\n font-weight: 700;\n}\n.nonGridTableHeader aside {\n white-space: nowrap;\n color: var(--color-secondary-content) !important;\n font-size: 12px;\n font-style: normal;\n font-weight: 700;\n line-height: 16px; /* 133.333% */\n letter-spacing: 0.24px;\n text-transform: uppercase;\n}\n#gridView{\n border: solid 1px var(--color-divider);\n}\n.rmbsProdAmt ul#gridView{\n border: solid 1px var(--color-divider);\n border-radius: 4px;\n border-top: solid 1px var(--color-divider) !important;\n}\n#gridView li aside {\n font-size: 14px !important;\n line-height: 20px !important;\n}\n#gridView li.nonGridTableHeader aside {\n font-size: 12px !important;\n white-space: normal;\n font-weight: 700 !important;\n line-height: 16px; /* 133.333% */\n letter-spacing: 0.24px;\n text-transform: uppercase;\n}\n"])));
|
|
@@ -10,7 +10,7 @@ var _Typography = _interopRequireDefault(require("../../components/oa-component-
|
|
|
10
10
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
11
11
|
var _styles = require("./styles");
|
|
12
12
|
var _utils = require("../../utils");
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
/**
|
|
15
15
|
* A widget for displaying a repair service.
|
|
16
16
|
*
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.RepairService = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
12
|
const RepairService = exports.RepairService = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\nul{\n display: flex;\n flex-direction: column;\n padding: 16px 0;\n margin: 0;\n list-style: none;\n border-bottom: 1px solid var(--color-divider);\n}\n .flexBody{\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n \n }\n .InfoSec section{\n margin: 8px 0 0;\n }\n .disabled .InfoSec .type-b2-400{\n color: var(--color-primary-content) !important;\n }\n .disabled .InfoSec svg{\n color: rgb(255, 153, 31) !important;\n }\n ul li span{\n display: block;\n }\n ul li:last-child{\n margin: 0 0 0 16px;\n display: flex;\n }\n li span:nth-child(2){\n padding: 8px 0 0;\n }\n .disabled {\n cursor: not-allowed;\n pointer-events: none;\n }\n .disabled svg,.disabled .type-t2-700, .disabled .type-b2-400 {\n color: var(--color-disabled-button) !important;\n }\n\n"])));
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
require("core-js/modules/es.symbol.description.js");
|
|
3
4
|
require("core-js/modules/es.weak-map.js");
|
|
4
|
-
require("core-js/modules/esnext.iterator.filter.js");
|
|
5
|
-
require("core-js/modules/esnext.iterator.for-each.js");
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.default = SendPaymentLinkWidget;
|
|
10
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
11
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
12
9
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
13
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -18,14 +15,14 @@ var _CustomDrawer = _interopRequireDefault(require("../../components/oa-componen
|
|
|
18
15
|
var _CustomRadio = _interopRequireDefault(require("../../components/oa-component-radio/CustomRadio"));
|
|
19
16
|
var _CustomInput = _interopRequireDefault(require("../../components/oa-component-input/CustomInput"));
|
|
20
17
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
21
|
-
function _interopRequireDefault(
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
23
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
24
21
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26
|
-
function _defineProperty(
|
|
27
|
-
function _toPropertyKey(
|
|
28
|
-
function _toPrimitive(
|
|
23
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
25
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } // TODO: Select the appropriate typographies for each text below.
|
|
29
26
|
/**
|
|
30
27
|
* @description A widget to send a payment link to customers.
|
|
31
28
|
* @param {Object} props The component props.
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.RadioGrid = exports.RadioContainer = exports.FormContainer = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject, _templateObject2, _templateObject3;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
const RadioContainer = exports.RadioContainer = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n h2{\n color: var(--color-primary-content);\n }\n \n display: flex;\n flex-direction: column;\n gap: 16px;\n margin-bottom: 44px;\n .ant-form-item .ant-form-item-label >label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before{\n position: absolute;\n right: 0;\n }\n"])));
|
|
12
12
|
|
|
13
13
|
// This helps make the radio buttons aligned in uniform columns
|
|
@@ -5,10 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
require("core-js/modules/es.symbol.description.js");
|
|
9
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
10
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
11
8
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
9
|
+
require("core-js/modules/es.symbol.description.js");
|
|
12
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
12
|
var _ArrowForwardIosSharp = _interopRequireDefault(require("@material-ui/icons/ArrowForwardIosSharp"));
|
|
@@ -18,9 +16,9 @@ var _CustomModal = _interopRequireDefault(require("../../components/oa-component
|
|
|
18
16
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
19
17
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
20
18
|
var _styles = require("./styles");
|
|
21
|
-
function _interopRequireDefault(
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
20
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
23
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
24
22
|
/**
|
|
25
23
|
* ServiceCard component
|
|
26
24
|
*
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.MembershipCardStyle = exports.CardFooter = exports.CardBody = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject, _templateObject2, _templateObject3;
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
const MembershipCardStyle = exports.MembershipCardStyle = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.flexGap div{\n padding: 0 0 8px;\n}\n.viewStatus button{\n padding: 16px 0 0;\n}\n.flexGap div:last-child{\n padding: 0;\n}\n.primaryInfo svg{\n cursor: pointer;\n}\np,h1, h2, h3, h4, h5, h6{\n margin: 0;\n}\n padding: 24px;\n background: var(--color-primary-background);\n border-radius: 12px;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n position: relative;\n margin: 0 0 24px;\n border: 1px solid var(--color-divider);\n @media only screen and (max-width: 600px) {\n .type-t1-500 {\n font-size: 16px;\n font-weight: 700;\n line-height: 24px;\n }\n gap: 16px;\n padding: 24px 16px 16px;\n .cardHead p .type-b1-400{\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .primary-info label .type-t2-700{\n font-size: 14px;\n font-weight: 500;\n line-height: 20px;\n }\n }\n .primaryInfo{\n display: flex;\n padding: 12px 8px;\n justify-content: space-between;\n background: var(--color-primary);\n border-radius: 8px;\n align-items: center;\n cursor: pointer;\n }\n .primaryInfo img{\n width: 24px;\n height: 24px;\n }\n .toolTipInfo .text-container svg {\n font-size: 16px !important;\n }\n .paraWithIcon{\n display: flex;\n gap: 8px;\n align-items: center;\n }\n .toolTipInfo{\n display: flex;\n background: var(--color-background-positive);\n padding: 12px;\n border-radius: 8px;\n flex-direction: column;\n justify-content: space-between;\n }\n .flexChangeBody{\n flex-direction: row;\n align-items: center;\n }\n\n .toolTipInfo .toolTip + div{\n display: flex;\n justify-content: end;\n }\n .error{\n background: var(--color-background-negative);\n }\n .error .toolTip svg{\n color: var(--color-negative);\n }\n .warning{\n background: var(--color-background-warning);\n }\n .warning .toolTip svg{\n color: var(--color-warning);\n }\n .success{\n background: var(--color-background-positive);\n }\n\n .success .toolTip svg{\n color: var(--color-positive);\n }\n .toolTip{\n display: flex;\n gap: 8px;\n }\n .cardHead{\n display: flex;\n justify-content: space-between;\n gap: 24px;\n }\n .imgBg{\n border-radius: 8px;\n background: #DEF1FB;\n min-width: 56px;\n height: 56px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n \n .ant-modal-footer{\n display: none;\n }\n .toolTip svg{\n margin: 0px 0 0;\n }\n .flexChangeBody{\n align-items: center !important;\n flex-direction: row !important;\n gap: 8px !important;\n }\n .flexChangeBody .text-container{\n white-space: nowrap;\n }\n .flexChangeBody .viewStatus button {\n margin: 0 !important;\n}\n.displayFlex{\n display: flex;\n}\n @media only screen and (max-width: 600px) {\n .type-b1-400{\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .toolTipInfo {\n flex-direction: column;\n gap: 0;\n align-items: unset;\n }\n \n .cardHead .titleHead > span{\n font-size: 16px;\n font-weight: 700;\n line-height: 24px;\n }\n }\n"])));
|
|
12
12
|
const CardBody = exports.CardBody = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\ndisplay: flex;\nflex-direction: column;\ngap: 24px;\n@media only screen and (max-width: 600px) {\n gap: 16px;\n}\n"])));
|
|
13
13
|
const CardFooter = exports.CardFooter = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n.mobileIcon{\n display: none;\n}\ndisplay: flex;\npadding: 16px 24px;\ngap: 24px;\nborder-top: 1px solid var(--color-divider);\nwidth: calc(100% + 48px);\nmargin: 0 0 0 -24px;\nposition: relative;\ntop: 24px;\njustify-content: end;\n@media only screen and (max-width: 600px) {\n .fullWidth{\n width: 100%;\n }\n .mobileIcon{\n min-width: 48px;\n height: 48px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--color-primary);\n border-radius: 50%;\n color: var(--color-primary-background);\n }\n .mobileIcon a{\n display: flex;\n }\n padding: 16px 16px;\n width: calc(100% + 32px);\n margin: 0 0 0 -16px;\n top: 16px;\n align-items:center;\ndiv span {\n display: block;\n}\ndiv span > .type-t2-700{\n padding: 4px 0 0;\n}\n .text-container .type-t2-700 {\n font-size: 14px;\n font-weight: 500;\n line-height: 20px;\n}\n.large {\n height: 36px;\n min-width: 100px;\n padding: 10px 16px;\n}\n}\n"])));
|
|
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
8
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
9
7
|
var _react = _interopRequireDefault(require("react"));
|
|
10
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
9
|
var _antd = require("antd");
|
|
@@ -14,8 +12,8 @@ var _DeleteForever = _interopRequireDefault(require("@material-ui/icons/DeleteFo
|
|
|
14
12
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
15
13
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
16
14
|
var _templateObject;
|
|
17
|
-
function _interopRequireDefault(
|
|
18
|
-
function _taggedTemplateLiteral(
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
19
17
|
const {
|
|
20
18
|
Panel
|
|
21
19
|
} = _antd.Collapse;
|