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
|
@@ -7,8 +7,8 @@ exports.ChatUi = exports.ChatFooter = exports.ChatDrawer = exports.ChatContainer
|
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _CustomDrawer = _interopRequireDefault(require("../../components/oa-component-drawer/CustomDrawer"));
|
|
9
9
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
10
|
-
function _interopRequireDefault(
|
|
11
|
-
function _taggedTemplateLiteral(
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
12
|
const ChatUi = exports.ChatUi = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 16px;\n background-color: var(--color-background-info);\n border-radius: 4px;\n max-width: 440px;\n margin-top: 12px;\n"])));
|
|
13
13
|
const ChatContainer = exports.ChatContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n height: 100%;\n position: relative;\n flex: 9;\n overflow: auto;\n"])));
|
|
14
14
|
const ChatDrawer = exports.ChatDrawer = (0, _styledComponents.default)(_CustomDrawer.default)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n // Your CustomDrawer styles here\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"));
|
|
@@ -17,11 +15,11 @@ var _Typography = _interopRequireDefault(require("../../components/oa-component-
|
|
|
17
15
|
var _CustomDrawer = _interopRequireDefault(require("../../components/oa-component-drawer/CustomDrawer"));
|
|
18
16
|
var _CustomSelect = _interopRequireDefault(require("../../components/oa-component-select/CustomSelect"));
|
|
19
17
|
const _excluded = ["visible", "onCancel", "onConfirm", "fraudReasons", "isFraudRequired", "closingClaimReasons", "serviceRequestData", "remarkMaxlength", "data-test"];
|
|
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 &&
|
|
23
|
-
function _objectWithoutProperties(
|
|
24
|
-
function _objectWithoutPropertiesLoose(
|
|
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; }
|
|
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
|
const {
|
|
26
24
|
Option
|
|
27
25
|
} = _antd.Select;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.AsideContainer = 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 AsideContainer = exports.AsideContainer = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.ant-form-item-explain-error{\n color: var(--color-negative);\n font-size: 12px;\n}\n h1 {\n padding: 0 0 8px;\n margin: 0;\n color: var(--color-primary-content);\n }\n\n small {\n padding: 0 0 32px;\n margin: 0;\n display: block;\n color: var(--color-primary-content);\n }\n\n .ant-radio-group {\n display: flex;\n }\n\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 color: var(--color-negative);\n padding: 0;\n }\n .ant-form-item {\n margin-bottom: 36px;\n }\n\n textarea {\n min-height: 108px;\n resize: none;\n border-radius: 4px;\n padding: 12px;\n border: 1px solid var(--color-placeholder-text);\n }\n\n .type-r1-400 {\n color: var(--color-negative);\n }\n\n .ant-form-item .ant-form-item-label {\n padding: 0;\n }\n\n label {\n padding: 0 0 4px;\n height: auto !important;\n color: var(--color-primary-content) !important;\n }\n\n form .ant-radio-wrapper {\n width: 140px;\n }\n"])));
|
|
@@ -9,8 +9,8 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
10
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
11
11
|
var _templateObject;
|
|
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 Container = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 16px;\n border: 1px solid var(--color-divider);\n background: var(--color-secondary-background);\n border-bottom: ", ";\n"])), props => props.showBorder ? '1px solid var(--color-divider)' : 'none');
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -17,11 +17,11 @@ var _CustomCheckBox = _interopRequireDefault(require("../../components/oa-compon
|
|
|
17
17
|
var _styles = require("./styles");
|
|
18
18
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
19
19
|
const _excluded = ["submitBtnLabel", "activity", "submitRating", "open", "closeRatingModal", "data-test"];
|
|
20
|
-
function _interopRequireDefault(
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
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 &&
|
|
23
|
-
function _objectWithoutProperties(
|
|
24
|
-
function _objectWithoutPropertiesLoose(
|
|
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 && 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
|
+
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; }
|
|
24
|
+
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
25
|
/**
|
|
26
26
|
* CustomerRatingCard component allows users to rate an activity and provide feedback.
|
|
27
27
|
*
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.RatingModalStyle = 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 RatingModalStyle = exports.RatingModalStyle = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ratingSection{\n text-align: center;\n display: flex;\n flex-direction: column;\n gap: 32px;\n}\n .ratingSection .ant-rate{\n color: #FF991F;\n font-size: 40px;\n }\n .ratingDiv{\n width: 235px;\n margin: 0 auto;\n }\n .rateTextAntbelowStar{\n display: flex;\n justify-content: center;\n padding: 4px 0 0;\n }\n .ratingSection button{\n width: 100%;\n }\n .leaveComment{\n text-align: left;\n }\n .ant-checkbox-wrapper-checked{\n border-radius: 4px;\nborder: 1px solid #014FC5;\nbackground: #014FC5;\n \n }\n.ant-checkbox-wrapper-checked .ant-checkbox+span{\n color: #fff;\n}\n .ant-checkbox-inner{\n display: none;\n }\n .ant-checkbox+span{\n color: #014FC5;\n }\n .ant-checkbox-group{\n gap: 16px;\n justify-content: center;\n padding: 16px 0 0;\n }\n .ant-checkbox-group-item{\n border: 1px solid #014FC5;\n padding: 8px;\n border-radius: 4px;\n }\n"])));
|
|
@@ -1,17 +1,15 @@
|
|
|
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
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
require("core-js/modules/es.parse-int.js");
|
|
10
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
10
11
|
require("core-js/modules/es.regexp.exec.js");
|
|
11
12
|
require("core-js/modules/es.string.split.js");
|
|
12
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
13
|
-
require("core-js/modules/esnext.iterator.for-each.js");
|
|
14
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
15
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
14
|
var _antd = require("antd");
|
|
17
15
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -21,14 +19,14 @@ var _styles = require("./styles");
|
|
|
21
19
|
var _ColorVariablesMap = _interopRequireDefault(require("../../global-css/ColorVariablesMap"));
|
|
22
20
|
var _CustomSelect = _interopRequireDefault(require("../../components/oa-component-select/CustomSelect"));
|
|
23
21
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
24
|
-
function _interopRequireDefault(
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
23
|
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); }
|
|
26
|
-
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 &&
|
|
24
|
+
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; }
|
|
27
25
|
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; }
|
|
28
26
|
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; }
|
|
29
|
-
function _defineProperty(
|
|
30
|
-
function _toPropertyKey(
|
|
31
|
-
function _toPrimitive(
|
|
27
|
+
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; }
|
|
28
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
29
|
+
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); }
|
|
32
30
|
const {
|
|
33
31
|
RangePicker
|
|
34
32
|
} = _antd.DatePicker;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.StyledContainer = 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 StyledContainer = exports.StyledContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.ant-select .ant-select-arrow{\n margin: -6px 0 0 16px;\n}\n.ant-select{\n width: 100%;\n}\n.ant-picker-range{\n height: 0px;\n}\n.customDateRange{display:flex; flex-direction:column;}\n.customDateRange h6{color: var(--color-primary-content);\n font-size: 14px; margin:0;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;}\n\n .customDateRange span{\n color: var(--color-secondary-content);\nmargin:4px 0 0 0;\nfont-size: 12px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 16px; }\n.ant-select-dropdown {width:auto !important;}\n\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.symbol.description.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 _InfoOutlined = _interopRequireDefault(require("@material-ui/icons/InfoOutlined"));
|
|
@@ -19,7 +17,7 @@ var _MaterialIcon = _interopRequireDefault(require("../../components/oa-componen
|
|
|
19
17
|
var _styles = require("./styles");
|
|
20
18
|
var _offer = _interopRequireDefault(require("../../images/offer.svg"));
|
|
21
19
|
var _CustomIcon = _interopRequireDefault(require("../../components/oa-component-icons/CustomIcon"));
|
|
22
|
-
function _interopRequireDefault(
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
21
|
/**
|
|
24
22
|
* MembershipDetailCard component
|
|
25
23
|
*
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.MembershipCardStyle = exports.CardBody = 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
|
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,h2,h3{\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 border: 1px solid var(--color-divider);\n margin: 0 0 24px;\n @media only screen and (max-width: 600px) {\n gap: 16px;\n padding: 16px;\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: 32px;\n flex-direction: column;\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 .displayFlex{\n display: flex;\n }\n\n.preline span{\n white-space: pre-line;\n}\n\n @media only screen and (max-width: 600px) {\n .toolTipInfo {\n flex-direction: column;\n gap: 0;\n align-items: unset;\n }\n .cardHead{\n gap: 24px;\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: 32px;\n@media only screen and (max-width: 600px) {\n gap: 24px;\n}\n"])));
|
|
@@ -6,9 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
require("core-js/modules/es.promise.js");
|
|
9
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
10
|
-
require("core-js/modules/esnext.iterator.filter.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"));
|
|
@@ -25,9 +22,9 @@ var _CustomLoader = _interopRequireDefault(require("../../components/oa-componen
|
|
|
25
22
|
var _PdfSampleImage = _interopRequireDefault(require("../../images/PdfSampleImage.png"));
|
|
26
23
|
var _upload = _interopRequireDefault(require("../../images/upload.svg"));
|
|
27
24
|
var _CustomIcon = _interopRequireDefault(require("../../components/oa-component-icons/CustomIcon"));
|
|
28
|
-
function _interopRequireDefault(
|
|
25
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
26
|
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); }
|
|
30
|
-
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 &&
|
|
27
|
+
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; }
|
|
31
28
|
/**
|
|
32
29
|
* Takes a file and returns a Promise that resolves with the file as a base64 encoded string.
|
|
33
30
|
* The Promise is rejected if there is an error reading the file.
|
|
@@ -7,7 +7,7 @@ exports.StyledSection = exports.MainStyleSec = void 0;
|
|
|
7
7
|
var _antd = require("antd");
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
var _templateObject, _templateObject2;
|
|
10
|
-
function _interopRequireDefault(
|
|
11
|
-
function _taggedTemplateLiteral(
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
12
|
const MainStyleSec = exports.MainStyleSec = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.ant-form-item{\n margin-bottom: 0;\n}\n.ant-upload button{\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n} \n.uploadDiv{\n width: 96px;\n position: relative;\n}\n.uploadDiv em{\n position: absolute;\n right: -9px;\n top: -9px;\n font-style: normal;\n width: 20px;\n height: 20px;\n background: var(--color-warning);\n z-index: 9;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: #fff;\n font-size: 12px;\n line-height: 0;\n}\n.UploadImg img{\n height: 24px;\n width: 24px;\n\n}\n.UploadImg{\n justify-content: center;\n cursor: pointer;\n}\n.uploadSecPad div{\n padding: 0 0 8px;\n}\n.anticon-upload{\n font-size: 24px;\n}\n.uploadSecPad{\n width: 100%;\n}\n.uploadSecPad div:last-child{\n padding: 0;\n}\n display: flex;\n flex-direction: column;\n gap: 24px;\n .ant-upload-list-item-done,.ant-upload-list-item-A{\n border: 1px solid var(--color-divider) !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item:hover::before{\n opacity: 1 !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item:hover::before ant-upload-list-item-actions > a\n {\n background: red !important;\n }\n .ant-upload-list-item-actions{\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item::before{\n background: transparent;\n opacity: 1;\n }\n.ant-upload-list-item-actions button{\n background: #212121;\n border-radius: 50px;\n height: 24px !important;\n display: flex;\n align-items: center;\n}\n.ant-btn-text:not(:disabled):not(.ant-btn-disabled):hover{\n background: #212121;\n}\n .ant-upload-list-item-actions a{\n background: #212121;\n border-radius: 50px;\n height: 24px;\n display: flex;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions,.ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action {\n opacity: 1;\n }\n .ant-upload-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item{\n opacity: 1 !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,.ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete{\n color: #fff;\n }\n @media only screen and (max-width: 600px) {\n .uploadDiv {\n width: 64px;\n }\n .uploadDiv em{\n width: 16px;\n height: 16px;\n }\n }\n"])));
|
|
13
13
|
const StyledSection = exports.StyledSection = _styledComponents.default.section(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n gap: 16px;\n justify-content: space-between;\n h2{\n margin: 0;\n }\n .ant-upload-select, .ant-upload-wrapper, .ant-upload-wrapper, .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-container{\n width: 96px;\n height: 96px;\n margin: 0;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload.ant-upload-select{\n width: 96px !important;\n height: 96px !important;\n margin: 0;\n }\n @media only screen and (max-width: 600px) {\n .ant-upload-select, .ant-upload-wrapper, .ant-upload-wrapper, .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-container{\n width: 64px;\n height: 64px;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload.ant-upload-select{\n width: 64px !important;\n height: 64px !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,.ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete{\n font-size:12px;\n margin: 0 !important;\n padding: 0 !important;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .ant-upload-list-item-actions button {\n height: 16px!important;\n width: 16px !important;\n justify-content: center;\n }\n .ant-upload-list-item-actions a {\n height: 16px;\n width: 16px !important;\n align-items: center;\n justify-content: center;\n}\n .ant-upload-list-item-actions {\n gap: 8px;\n }\n .ant-upload button span + div{\n display: none;\n }\n }\n"])));
|
|
@@ -19,9 +19,9 @@ var _PdfSampleImage = _interopRequireDefault(require("../../images/PdfSampleImag
|
|
|
19
19
|
var _upload = _interopRequireDefault(require("../../images/upload.svg"));
|
|
20
20
|
var _CustomIcon = _interopRequireDefault(require("../../components/oa-component-icons/CustomIcon"));
|
|
21
21
|
var _CustomUpload = _interopRequireDefault(require("../../components/oa-component-upload/CustomUpload"));
|
|
22
|
-
function _interopRequireDefault(
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
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); }
|
|
24
|
-
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 &&
|
|
24
|
+
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; }
|
|
25
25
|
/**
|
|
26
26
|
* Takes a file and returns a Promise that resolves with the file as a base64 encoded string.
|
|
27
27
|
* The Promise is rejected if there is an error reading the file.
|
|
@@ -7,7 +7,7 @@ exports.StyledSection = exports.MainStyleSec = void 0;
|
|
|
7
7
|
var _antd = require("antd");
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
var _templateObject, _templateObject2;
|
|
10
|
-
function _interopRequireDefault(
|
|
11
|
-
function _taggedTemplateLiteral(
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
12
|
const MainStyleSec = exports.MainStyleSec = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.ant-form-item{\n margin-bottom: 0;\n}\n.ant-upload button{\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n} \n.uploadDiv{\n width: 96px;\n position: relative;\n}\n.uploadDiv em{\n position: absolute;\n right: -9px;\n top: -9px;\n font-style: normal;\n width: 20px;\n height: 20px;\n background: var(--color-warning);\n z-index: 9;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: #fff;\n font-size: 12px;\n line-height: 0;\n}\n.UploadImg img{\n height: 24px;\n width: 24px;\n\n}\n.UploadImg{\n justify-content: center;\n cursor: pointer;\n}\n.uploadSecPad div{\n padding: 0 0 8px;\n}\n.anticon-upload{\n font-size: 24px;\n}\n.uploadSecPad{\n width: 100%;\n}\n.uploadSecPad div:last-child{\n padding: 0;\n}\n display: flex;\n flex-direction: column;\n gap: 24px;\n .ant-upload-list-item-done,.ant-upload-list-item-A{\n border: 1px solid var(--color-divider) !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item:hover::before{\n opacity: 1 !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item:hover::before ant-upload-list-item-actions > a\n {\n background: red !important;\n }\n .ant-upload-list-item-actions{\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item::before{\n background: transparent;\n opacity: 1;\n }\n.ant-upload-list-item-actions button{\n background: #212121;\n border-radius: 50px;\n height: 24px !important;\n display: flex;\n align-items: center;\n}\n.ant-btn-text:not(:disabled):not(.ant-btn-disabled):hover{\n background: #212121;\n}\n .ant-upload-list-item-actions a{\n background: #212121;\n border-radius: 50px;\n height: 24px;\n display: flex;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions,.ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action {\n opacity: 1;\n }\n .ant-upload-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item{\n opacity: 1 !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,.ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete{\n color: #fff;\n }\n @media only screen and (max-width: 600px) {\n .uploadDiv {\n width: 64px;\n }\n .uploadDiv em{\n width: 16px;\n height: 16px;\n }\n }\n"])));
|
|
13
13
|
const StyledSection = exports.StyledSection = _styledComponents.default.section(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n gap: 16px;\n justify-content: space-between;\n h2{\n margin: 0;\n }\n .ant-upload-select, .ant-upload-wrapper, .ant-upload-wrapper, .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-container{\n width: 96px;\n height: 96px;\n margin: 0;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload.ant-upload-select{\n width: 96px !important;\n height: 96px !important;\n margin: 0;\n }\n @media only screen and (max-width: 600px) {\n .ant-upload-select, .ant-upload-wrapper, .ant-upload-wrapper, .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-container{\n width: 64px;\n height: 64px;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload.ant-upload-select{\n width: 64px !important;\n height: 64px !important;\n }\n .ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,.ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload-list.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete{\n font-size:12px;\n margin: 0 !important;\n padding: 0 !important;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .ant-upload-list-item-actions button {\n height: 16px!important;\n width: 16px !important;\n justify-content: center;\n }\n .ant-upload-list-item-actions a {\n height: 16px;\n width: 16px !important;\n align-items: center;\n justify-content: center;\n}\n .ant-upload-list-item-actions {\n gap: 8px;\n }\n .ant-upload button span + div{\n display: none;\n }\n }\n"])));
|
|
@@ -6,9 +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.find.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"));
|
|
@@ -17,12 +14,12 @@ var _KeyboardArrowDownOutlined = _interopRequireDefault(require("@material-ui/ic
|
|
|
17
14
|
var _styles = require("./styles");
|
|
18
15
|
var _CustomInput = _interopRequireDefault(require("../../components/oa-component-input/CustomInput"));
|
|
19
16
|
const _excluded = ["options", "onOptionChange", "onInputChange", "onPressEnter", "inputValue", "placeholder"];
|
|
20
|
-
function _interopRequireDefault(
|
|
17
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
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); }
|
|
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 &&
|
|
23
|
-
function _extends() {
|
|
24
|
-
function _objectWithoutProperties(
|
|
25
|
-
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; }
|
|
26
23
|
/**
|
|
27
24
|
* A dropdown search input component.
|
|
28
25
|
*
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.StylesContainer = 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
|
const StylesContainer = exports.StylesContainer = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\ndisplay: flex;\n.mobile-input{\n min-width: 60px;\n height: 48px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-color: #959595;\n border-right: none;\n align-items: center;\n justify-content: space-between;\n display: flex;\n gap: 4px;\n}\n.ant-input{\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n boder-left: none;\n}\n.dropdown-container {\n display: flex;\n align-items: center;\n } \n .selected-icon {\n display: none;\n margin-left: 10px;\n font-size: 24px;\n }\n .mobileVisible svg,.mobile-input svg{\n color: var(--color-primary);\n }\n .mobileVisible small{display: none;}\n @media (min-width: 768px) {\n .mobileVisible span {\n display: none;\n }\n .mobile-input{\n min-width: 144px;\n align-items: center;\n justify-content: space-between;\n gap: 4\n }\n .mobileVisible small{display: block;font-size: inherit;color: var(--color-primary)}\n \n } \n"])));
|
|
12
12
|
var _default = exports.default = StylesContainer;
|
|
@@ -10,9 +10,9 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _FeedbackForm = _interopRequireDefault(require("../../components/oa-component-feedback-form/FeedbackForm"));
|
|
11
11
|
var _FeedbackTooltip = _interopRequireDefault(require("../../components/oa-component-feedback-tooltip/FeedbackTooltip"));
|
|
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
|
/** *********** ✨ Codeium Command ⭐ ************ */
|
|
17
17
|
/**
|
|
18
18
|
* FeedbackWidget renders a feedback form and a tooltip with a button to open the form.
|
|
@@ -7,7 +7,7 @@ exports.default = exports.OaFeedBackStyle = void 0;
|
|
|
7
7
|
var _antd = require("antd");
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
var _templateObject;
|
|
10
|
-
function _interopRequireDefault(
|
|
11
|
-
function _taggedTemplateLiteral(
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
12
|
var _default = exports.default = {};
|
|
13
13
|
const OaFeedBackStyle = exports.OaFeedBackStyle = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .whiteBg{\n position: fixed;\n top: 50%;\n right: 0;\n transform: translate(0%, -50%) rotate(-90deg);\n cursor: pointer;\n z-index: 999;\n }\n .whiteBg button{\n background: #212121 !important;\n border: 1px solid #212121;\n }\n\n .OaMask{\n width: 100%;\n position: fixed;\n background: rgb(0 0 0 / 70%);\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 9;\n top: 0;\n }\n"])));
|
|
@@ -4,14 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = CustomFormWidget;
|
|
7
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
8
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
9
7
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
10
|
var _antd = require("antd");
|
|
13
11
|
var _utils = require("../../utils");
|
|
14
|
-
function _interopRequireDefault(
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
13
|
/**
|
|
16
14
|
* A wrapper around Ant Design's Form component that accepts an array of objects
|
|
17
15
|
* to be rendered as Form.Items. Each object should have a "label" string, a
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.StyleContainer = 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 StyleContainer = exports.StyleContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\nheader{background: var(--color-primary-background); box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.14);}\n.flexProp{display:flex; flex-direction: row; align-items: center; justify-content: space-between; min-height:60px;}\n.flexSec{display:flex; flex-direction: row; justify-content: flex-start;}\n.flexSec svg{cursor:pointer;}\n.mobView{display:none;}\n.deskView{display:flex;}\n\n@media only screen and (max-width: 600px) {\n.mobView{display:flex;}\n.deskView{display:none;}\n}\n\n\n"])));
|
|
@@ -11,7 +11,7 @@ var _ThumbUpAltOutlined = _interopRequireDefault(require("@material-ui/icons/Thu
|
|
|
11
11
|
var _styles = require("./styles");
|
|
12
12
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
13
13
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
14
|
-
function _interopRequireDefault(
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
/**
|
|
16
16
|
* GoogleRating component renders a styled section with an optional Material icon and text content.
|
|
17
17
|
*
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.GoogleRatingStyle = 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 GoogleRatingStyle = exports.GoogleRatingStyle = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 16px;\n display: flex;\n justify-content: space-between;\n border-radius: 8px;\n background: var(--color-primary-background);\n p{\n margin: 0;\n }\n section{\n text-align: center;\n margin: 0 24px 0 0;\n\n }\n section:last-child{\n margin: 0;\n }\n"])));
|
|
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = CustomHeaderWidget;
|
|
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 _ArrowBack = _interopRequireDefault(require("@material-ui/icons/ArrowBack"));
|
|
@@ -14,7 +12,7 @@ var _MaterialIcon = _interopRequireDefault(require("../../components/oa-componen
|
|
|
14
12
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
15
13
|
var _utils = require("../../utils");
|
|
16
14
|
var _CustomInput = _interopRequireDefault(require("../../components/oa-component-input/CustomInput"));
|
|
17
|
-
function _interopRequireDefault(
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
16
|
/**
|
|
19
17
|
* CustomHeaderWidget is a widget to display a custom header component.
|
|
20
18
|
*
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.StyleContainer = 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 StyleContainer = exports.StyleContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.flexProp{display:flex; flex-direction: row; align-items: center; justify-content: space-between; width:100%;}\n.flexSec{display:flex; flex-direction: row; justify-content: flex-start;}\n.flexSec svg{cursor:pointer;}\n.mobView{display:none;}\n.deskView{display:flex;}\n.headerSearch {display: flex; width:100%; flex-direction: row; justify-content: flex-start; align-items: center; background-color: var(--color-primary-background); position: absolute; padding: 6px 0; left: 0; right: 0;}\n.customHeader{min-height: 60px; position: relative; display: flex; align-items: center; justify-content: space-between;}\n\n@media only screen and (max-width: 600px) {\n.mobView{display:flex;}\n.deskView{display:none;}\n.headerSearch {align-items: flex-start; flex-direction: column; justify-content: flex-start; padding: 18px 0;top:0; }\n.headerSearch input{margin:18px 0 0 0;} \n\n}\n\n\n"])));
|
|
@@ -5,12 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = CustomPinPatternCaptureWidget;
|
|
8
|
-
require("core-js/modules/
|
|
8
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
9
9
|
require("core-js/modules/es.json.stringify.js");
|
|
10
10
|
require("core-js/modules/es.string.trim.js");
|
|
11
|
-
require("core-js/modules/
|
|
12
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
13
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
11
|
+
require("core-js/modules/es.symbol.description.js");
|
|
14
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
16
14
|
var _reactPatternLock = _interopRequireDefault(require("react-pattern-lock"));
|
|
@@ -22,9 +20,9 @@ var _CustomModal = _interopRequireDefault(require("../../components/oa-component
|
|
|
22
20
|
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
23
21
|
var _modalImg = _interopRequireDefault(require("../../images/modal-img.svg"));
|
|
24
22
|
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
25
|
-
function _interopRequireDefault(
|
|
23
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26
24
|
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); }
|
|
27
|
-
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 &&
|
|
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 && 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; }
|
|
28
26
|
/**
|
|
29
27
|
* CustomPinPatternCaptureWidget is a component for capturing and verifying a
|
|
30
28
|
* user's PIN or pattern input. It supports both PIN and pattern modes, allowing
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.StyleContainer = 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 StyleContainer = exports.StyleContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n max-width: 600px;\n width: 100%;\n margin: 0 auto;\n text-align: center;\n position: relative;\n.react-pattern-lock__pattern-wrapper.error .react-pattern-lock__point-wrapper.selected .react-pattern-lock__point .react-pattern-lock__point-inner {\n background: black !important;\n}\n .pattern-container {\n position: relative;\n }\n .numbers-overlay {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n right: 0;\n width: 300px;\n height: 300px;\n margin: 0 auto;\n }\n .dot-number {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100px;\n height: 100px;\n }\n .react-pattern-lock__point-wrapper{\n z-index: 9;\n }\n.flexAlignPattern{\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: calc(100vh - 0px);\n gap: 24px;\n}\n .flexAlignPattern .ant-form-item{\n text-align: left;\n }\n .ant-form-item-explain-error{\n color: var(--color-negative) !important;\n }\n .cancelIcon{\n position: absolute;\n right: 16px;\n cursor: pointer;\n }\n.react-pattern-lock__pattern-wrapper .selected .react-pattern-lock__point .react-pattern-lock__point-inner {\n background: #0275DA !important;\n min-width: 20px !important;\n min-height: 20px !important;\n}\n .react-pattern-lock__point-inner{\n background: #0275DA;\n min-width: 20px !important;\n min-height: 20px !important;\n }\n\n .posRelative{\n position: relative;\n }\n .disabled .react-pattern-lock__point .react-pattern-lock__point-inner {\n background: var(--color-placeholder-text) !important;\n min-width: 12px !important;\n min-height: 12px !important;\n z-index: 2;\n}\n .greyDisabledDots .react-pattern-lock__point-inner{\n background: var(--color-placeholder-text);\n } \n .dot-number span{\n width: 16px;\n height: 16px;\n background: var(--color-divider);\n z-index: 2;\n font-size: 11px;\n font-style: normal;\n font-weight: 700;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n color: #717171;\n line-height: 0;\n z-index: 9;\n }\n .activedotoverlay span{\n background: #0275DA;\n color: #fff;\n }\n.react-pattern-lock__pattern-wrapper.error .react-pattern-lock__connector-wrapper .react-pattern-lock__connector {\n background: black !important;\n}\n .buttonAlign{\n display: flex;\n justify-content: space-between;\n gap: 16px;\n padding: 0 24px;\n }\n .buttonAlign button{\n width: 100%;\n }\n .textInfo{\n padding: 12px;\n border-top: 1px solid #D9D9D9;\n text-align: left;\n margin: 32px 0 0;\n text-align: left;\n }\n .alignLeft{\n text-align: left;\n }\n .selected .react-pattern-lock__point{\n width: 28px !important;\n height: 28px !important;\n background: #DEF1FB !important;\n border-radius: 50% !important;\n }\n.react-pattern-lock__pattern-wrapper{\nmargin: 0 auto;}\n.react-pattern-lock__pattern-wrapper .react-pattern-lock__connector-wrapper .react-pattern-lock__connector {\n background: #0275DA !important;\n}\n @media screen and (-webkit-min-device-pixel-ratio: 0) {\n @supports (-webkit-overflow-scrolling: touch) {\n .react-pattern-lock__pattern-wrapper{\n width: 274px !important;\n height: 274px !important;\n }\n}\n }\n"])));
|
|
@@ -4,14 +4,12 @@ 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
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
10
|
var _utils = require("../../utils");
|
|
13
11
|
var _styles = require("./styles");
|
|
14
|
-
function _interopRequireDefault(
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
13
|
/**
|
|
16
14
|
* Renders a view displaying key-value pairs in a structured format.
|
|
17
15
|
*
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.StyledSpan = exports.StyledBold = exports.KeyValueGroups = exports.KeyValueGroup = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4; // KeyValueWidgetStyles.js
|
|
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 KeyValueGroup = exports.KeyValueGroup = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .col-md-4:last-child,.col-md-12:last-child,.col-md-3:last-child,.col-md-6:last-child {\n padding: 0;\n }\n \n .valuestyle {\n display: flex;\n gap: 16px;\n padding: 0 0 8px;\n }\n\n .valuestyle b {\n width: 38.734%;\n font-style: normal;\n color: var(--color-primary-content); \n }\n\n .valuestyle span {\n width: 180px;\n word-wrap: break-word;\n font-style: normal;\n color: var(--color-secondary-content); }\n\n .valuestyle span + span{\n color: var(--color-primary-content);\n font-size: 14px;\n padding: 0 4px 0 0;\n }\n"])));
|
|
12
12
|
const KeyValueGroups = exports.KeyValueGroups = _styledComponents.default.section(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n.container {\n max-width: 1154px;\n margin: 0 auto;\n padding: 0 16px;\n}\n.container-fluid{\n width: 100%;\n padding: 0 16px;\n}\n.row {\n display: flex;\n flex-direction: column;\n}\n.row::after {\n content: \"\";\n clear: both;\n display: table;\n}\n.col-xs-1 {\n width: 8.33333%;\n}\n\n.col-xs-2 {\n width: 16.66667%;\n}\n\n.col-xs-3 {\n width: 25%;\n}\n\n.col-xs-4 {\n width: 33.33333%;\n}\n\n.col-xs-5 {\n width: 41.66667%;\n}\n\n.col-xs-6 {\n width: 50%;\n}\n\n.col-xs-7 {\n width: 58.33333%;\n}\n\n.col-xs-8 {\n width: 66.66667%;\n}\n\n.col-xs-9 {\n width: 75%;\n}\n\n.col-xs-10 {\n width: 83.33333%;\n}\n\n.col-xs-11 {\n width: 91.66667%;\n}\n\n.col-xs-12 {\n width: 100%;\n}\n@media (min-width: 768px) {\n .row {\n flex-direction: row;\n}\n .col-sm-1 {\n width: 8.33333%;\n }\n\n .col-sm-2 {\n width: 16.66667%;\n }\n\n .col-sm-3 {\n width: 25%;\n }\n\n .col-sm-4 {\n width: 33.33333%;\n }\n\n .col-sm-5 {\n width: 41.66667%;\n }\n\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-7 {\n width: 58.33333%;\n }\n .col-sm-8 {\n width: 66.66667%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-10 {\n width: 83.33333%;\n }\n .col-sm-11 {\n width: 91.66667%;\n }\n .col-sm-12 {\n width: 100%;\n }\n}\n\n@media (min-width: 768px) {\n .col-md-1 {\n width: 8.33333%;\n }\n .col-md-2 {\n width: 16.66667%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-4 {\n width: 33.33333%;\n float: left;\n }\n\n .col-md-5 {\n width: 41.66667%;\n }\n\n .col-md-6 {\n width: 50%;\n }\n\n .col-md-7 {\n width: 58.33333%;\n }\n\n .col-md-8 {\n width: 66.66667%;\n }\n\n .col-md-9 {\n width: 75%;\n }\n\n .col-md-10 {\n width: 83.33333%;\n }\n .col-md-11 {\n width: 91.66667%;\n }\n\n .col-md-12 {\n width: 100%;\n }\n\n}\n/* Large Devices (desktops) */\n@media (min-width: 992px) {\n .gutter{\n padding: 0 24px 0 0;\n }\n .col-lg-1 {\n width: 8.33333%;\n }\n .col-lg-2 {\n width: 16.66667%;\n }\n .col-lg-3 {\n width: 25%;\n float: left;\n }\n .col-lg-4 {\n width: 33.33333%;\n float: left;\n }\n .col-lg-5 {\n width: 41.66667%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-7 {\n width: 58.33333%;\n }\n .col-lg-8 {\n width: 66.66667%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-10 {\n width: 83.33333%;\n }\n\n .col-lg-11 {\n width: 91.66667%;\n }\n\n .col-lg-12 {\n width: 100%;\n }\n}\n\n@media (min-width: 1200px) {\n .gutter{\n padding: 0 32px 0 0;\n }\n .col-xl-1 {\n width: 8.33333%;\n }\n\n \n}\n@media (max-width: 767px) {\n .gutter{\n padding: 0;\n }\n}\n"])));
|
|
13
13
|
const StyledBold = exports.StyledBold = _styledComponents.default.b(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n color: var(--color-primary-content);\n font-weight: 400;\n"])));
|
|
@@ -15,7 +15,7 @@ var _MaterialIcon = _interopRequireDefault(require("../../components/oa-componen
|
|
|
15
15
|
var _CustomButton = _interopRequireDefault(require("../../components/oa-component-button/CustomButton"));
|
|
16
16
|
var _CustomInfo = _interopRequireDefault(require("../../components/oa-component-info/CustomInfo"));
|
|
17
17
|
var _styles = require("./styles");
|
|
18
|
-
function _interopRequireDefault(
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
const buttonConfig = {
|
|
20
20
|
label: 'Change',
|
|
21
21
|
type: 'text-only'
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.LocationAccessStyle = 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 LocationAccessStyle = exports.LocationAccessStyle = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\npadding: 32px;\n display: flex;\n flex-direction: column;\n align-items: center;\n border: 1px solid var(--color-divider);\nul{\n margin: 16px 0 32px;\n list-style: none;\n padding: 0;\n width: 100%;\n text-align: center;\n}\nli{\n padding: 0 0 16px;\n}\nli:last-child{\n padding: 0;\n}\n p{\n display: block;\n padding: 32px 0 0;\n position: relative;\n }\n hr{\n background: var(--color-divider);\n height: 1px;\n width: 100%;\n border: none;\n margin: 0;\n position: absolute;\n bottom: 9px;\n }\n button{\n width: 100%;\n }\n p small{\n background: #fff;\n display: inline-block;\n z-index: 1;\n padding: 0 8px;\n position: relative;\n }\n section{\n width: 100%;\n }\n section h3{\n text-align: center;\n margin: 0;\n }\n section iframe{\n width: 100%;\n height: 240px;\n }\n section iframe + section{\n justify-content: space-between;\n }\n section aside{\n border: 1px solid var(--color-divider);\n margin: 16px 0 32px;\n border-radius: 4px;\n }\n section button{\n width: auto;\n }\n"])));
|