oa-componentbook 1.0.1-stage.42 → 1.0.1-stage.421
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 +123 -43
- package/build/components/oa-component-accordion/styles.js +2 -2
- package/build/components/oa-component-button/CustomButton.js +24 -19
- package/build/components/oa-component-button/styles.js +1 -1
- package/build/components/oa-component-checkbox/CustomCheckBox.js +20 -17
- package/build/components/oa-component-checkbox/styles.js +1 -1
- package/build/components/oa-component-datepicker/CustomDatePicker.js +37 -26
- package/build/components/oa-component-drawer/CustomDrawer.js +2 -0
- package/build/components/oa-component-dropdown/CustomDropdown.js +16 -4
- package/build/components/oa-component-icons/MaterialIcon.js +1 -1
- package/build/components/oa-component-modal/CustomModal.js +55 -47
- package/build/components/oa-component-modal/styles.js +3 -2
- package/build/components/oa-component-pagination/CustomPagination.js +111 -0
- package/build/components/oa-component-pagination/styles.js +12 -0
- package/build/components/oa-component-select/CustomSelect.js +130 -56
- package/build/components/oa-component-steps/CustomSteps.js +117 -0
- package/build/components/oa-component-steps/styles.js +12 -0
- package/build/components/oa-component-table/CustomTable.js +28 -5
- package/build/components/oa-component-table/CustomTableV1.js +611 -0
- package/build/components/oa-component-table/styles.js +1 -1
- package/build/components/oa-component-table/stylesV1.js +19 -0
- package/build/components/oa-component-tabs/CustomTabs.js +1 -1
- package/build/components/oa-component-tag/CustomTag.js +29 -11
- package/build/components/oa-component-tag/styles.js +30 -3
- package/build/components/oa-component-textarea/{TextArea.js → CustomTextArea.js} +4 -4
- package/build/components/oa-component-tooltip/CustomTooltip.js +8 -4
- package/build/components/oa-component-upload/CustomUpload.js +120 -40
- package/build/components/oa-component-viewer/CustomViewer.js +3 -1
- package/build/dev/oa-component-document-viewer/CustomDocumentViewer.js +367 -0
- package/build/dev/oa-component-document-viewer/styles.js +12 -0
- package/build/dev/oa-component-upload/CustomUpload.js +117 -46
- package/build/dev/oa-component-upload/styles.js +2 -2
- package/build/dev/oa-widget-document-modal/DocumentSideModal.js +166 -0
- package/build/dev/oa-widget-document-modal/styles.js +12 -0
- package/build/dev/oa-widget-document-side-drawer/DocumentSideDrawer.js +196 -0
- package/build/dev/oa-widget-document-side-drawer/styles.js +12 -0
- package/build/global-css/GlobalCss.js +2 -1
- package/build/global-css/GridLayout.js +1 -1
- package/build/global-css/commonStyles.js +11 -0
- package/build/images/Car.png +0 -0
- package/build/images/TwoWheeler.png +0 -0
- package/build/images/astronaut_emptystate.png +0 -0
- package/build/images/exportGrp01.png +0 -0
- package/build/images/exportGrp02.png +0 -0
- package/build/images/exportGrp03.png +0 -0
- package/build/images/outOfStock.png +0 -0
- package/build/index.js +114 -2
- package/build/layout/DetailDataLayout/DetailDataLayout.js +20 -0
- package/build/layout/DetailDataLayout/components/Form.js +22 -0
- package/build/layout/DetailDataLayout/components/Header.js +32 -0
- package/build/layout/DetailDataLayout/style.css +9 -0
- package/build/layout/DetailDataLayout/styles.js +12 -0
- package/build/layout/EntityOverviewLayout/EntityOverviewLayout.js +262 -0
- package/build/layout/EntityOverviewLayout/reducer/entityOverviewLayoutReducer.js +68 -0
- package/build/layout/EntityOverviewLayout/styles.js +13 -0
- package/build/layout/GenricLayOut/GenricLayOut.js +2386 -0
- package/build/layout/GenricLayOut/components/AppliedFilters.js +90 -0
- package/build/layout/GenricLayOut/components/CardList.js +34 -0
- package/build/layout/GenricLayOut/components/DropdownSearch.js +48 -0
- package/build/layout/GenricLayOut/components/Header.js +74 -0
- package/build/layout/GenricLayOut/components/Modal.js +96 -0
- package/build/layout/GenricLayOut/components/ProfileSection.js +219 -0
- package/build/layout/GenricLayOut/components/Search.js +51 -0
- package/build/layout/GenricLayOut/components/StaticFilter.css +73 -0
- package/build/layout/GenricLayOut/components/StaticFilter.js +37 -0
- package/build/layout/GenricLayOut/reducer/layoutReducer.js +306 -0
- package/build/layout/GenricLayOut/resolver/staticConfigResolver.js +98 -0
- package/build/layout/GenricLayOut/styles.js +42 -0
- package/build/utils/download-file.js +23 -0
- package/build/widgets/oa-form-widget/FormWidget.js +576 -0
- package/build/widgets/oa-form-widget/FormWidgetStyle.js +18 -0
- package/build/widgets/oa-widget-add-spare-part/AddSparePartCollapseWidget.js +80 -16
- package/build/widgets/oa-widget-add-spare-part/AddSparePartWidget.js +50 -7
- package/build/widgets/oa-widget-address/AddressWidget.js +12 -17
- package/build/widgets/oa-widget-approval/ApprovalWidget.js +19 -11
- package/build/widgets/oa-widget-approval/ApprovalWidgetNew.js +492 -0
- package/build/widgets/oa-widget-approval/styles.js +2 -2
- package/build/widgets/oa-widget-chat/ChatWidget.js +5 -5
- package/build/widgets/oa-widget-close-claim/CloseClaimWidget.js +17 -5
- package/build/widgets/oa-widget-collapsible-key-value/CollapsibleKeyValueWidget.js +396 -0
- package/build/widgets/oa-widget-collapsible-key-value/styles.js +16 -0
- package/build/widgets/oa-widget-content-panel/ContentPanel.js +82 -0
- package/build/widgets/oa-widget-content-panel/styles.js +12 -0
- package/build/widgets/oa-widget-customer-rating-card/CustomerRatingCard.js +5 -5
- package/build/widgets/oa-widget-detailcard/styles.js +1 -1
- package/build/widgets/oa-widget-document-upload/DocUploadWidget.js +6 -9
- package/build/widgets/oa-widget-dropdown-search-input/DropdownSearchInput.js +53 -19
- package/build/widgets/oa-widget-dropdown-search-input/styles.js +1 -1
- package/build/widgets/oa-widget-guide/GuideWidget.js +70 -0
- package/build/widgets/oa-widget-guide/GuideWidgetStyle.js +12 -0
- package/build/widgets/oa-widget-hub-automation-modal/HubAutomationDeleteBiker.js +24 -0
- package/build/widgets/oa-widget-hub-automation-modal/HubAutomationModal.js +34 -0
- package/build/widgets/oa-widget-hub-automation-modal/HubAutomationModalStyle.js +13 -0
- package/build/widgets/oa-widget-image-carousel/ImageCarouselWidget.js +256 -0
- package/build/widgets/oa-widget-image-carousel/styles.js +23 -0
- package/build/widgets/oa-widget-image-gallery/FullscreenViewer.js +169 -0
- package/build/widgets/oa-widget-image-gallery/ImageGallery.js +87 -0
- package/build/widgets/oa-widget-image-gallery/ThumbnailGrid.js +146 -0
- package/build/widgets/oa-widget-image-gallery/imageCache.js +15 -0
- package/build/widgets/oa-widget-image-gallery/imageGalleryStyle.js +16 -0
- package/build/widgets/oa-widget-item-info-card/InfoCardListWidget.js +60 -0
- package/build/widgets/oa-widget-item-info-card/ItemInfoCardWidget.js +83 -0
- package/build/widgets/oa-widget-item-info-card/styles.css +50 -0
- package/build/widgets/oa-widget-item-info-card/styles.js +14 -0
- package/build/widgets/oa-widget-key-value/KeyValueWidget.js +46 -12
- package/build/widgets/oa-widget-key-value/styles.js +1 -1
- package/build/widgets/oa-widget-kpi/KPICardWidget.js +86 -0
- package/build/widgets/oa-widget-kpi/styles.js +12 -0
- package/build/widgets/oa-widget-map-base-location/AddressDetails.js +21 -7
- package/build/widgets/oa-widget-map-base-location/AddressForm.js +32 -5
- package/build/widgets/oa-widget-map-base-location/MapBaseLocation.js +9 -3
- package/build/widgets/oa-widget-map-base-location/MapComponent.js +17 -2
- package/build/widgets/oa-widget-membershipcard/MembershipCard.js +14 -3
- package/build/widgets/oa-widget-membershipcard/styles.js +1 -1
- package/build/widgets/oa-widget-notes/NotesWidget.js +32 -30
- package/build/widgets/oa-widget-notes/styles.js +4 -3
- package/build/widgets/oa-widget-profile-data/ProfileDataWidget.js +165 -0
- package/build/widgets/oa-widget-profile-data/styles.js +13 -0
- package/build/widgets/oa-widget-progressive-steps/ProgressiveStepsWidget.js +362 -0
- package/build/widgets/oa-widget-progressive-steps/styles.js +12 -0
- package/build/widgets/oa-widget-reimbursement-breakup/ReimbursementBreakupWidget.js +18 -9
- package/build/widgets/oa-widget-reimbursement-breakup/styles.js +1 -1
- package/build/widgets/oa-widget-reupload-drawer/ReUploadDrawer.js +164 -0
- package/build/widgets/oa-widget-select-list-item-modal/SelectListItemModal.js +91 -0
- package/build/widgets/oa-widget-sidebar/SidebarWidget.js +175 -0
- package/build/widgets/oa-widget-sidebar/components/Header.js +33 -0
- package/build/widgets/oa-widget-sidebar/styles.js +13 -0
- package/build/widgets/oa-widget-spare-part/SparePartsWidget.js +63 -35
- package/build/widgets/oa-widget-track-shipment-list/fn.js +16 -4
- package/build/widgets/oa-widget-user-management/UserManagementWidget.js +352 -0
- package/build/widgets/oa-widget-user-management/styles.js +15 -0
- package/package.json +4 -2
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.assign.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
require("react-pdf/dist/esm/Page/AnnotationLayer.css");
|
|
11
|
+
var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
|
|
12
|
+
var _CustomDrawer = _interopRequireDefault(require("../../components/oa-component-drawer/CustomDrawer"));
|
|
13
|
+
var _CustomDocumentViewer = _interopRequireDefault(require("../oa-component-document-viewer/CustomDocumentViewer"));
|
|
14
|
+
var _CustomTabs = _interopRequireDefault(require("../../components/oa-component-tabs/CustomTabs"));
|
|
15
|
+
var _CustomTag = _interopRequireDefault(require("../../components/oa-component-tag/CustomTag"));
|
|
16
|
+
var _CustomButton = _interopRequireDefault(require("../../components/oa-component-button/CustomButton"));
|
|
17
|
+
var _CustomTooltip = _interopRequireDefault(require("../../components/oa-component-tooltip/CustomTooltip"));
|
|
18
|
+
var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
|
|
19
|
+
var _Close = _interopRequireDefault(require("@material-ui/icons/Close"));
|
|
20
|
+
var _Check = _interopRequireDefault(require("@material-ui/icons/Check"));
|
|
21
|
+
var _styles = _interopRequireDefault(require("./styles"));
|
|
22
|
+
const _excluded = ["title", "handleCloseDrawer", "documentConfig", "drawerWidth", "drawerButtonConfig", "drawerTagConfig", "onlyDocumentView"];
|
|
23
|
+
/* eslint-disable */
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
+
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); }
|
|
26
|
+
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; }
|
|
27
|
+
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; }
|
|
28
|
+
/**
|
|
29
|
+
* DocumentSideDrawer Component
|
|
30
|
+
*
|
|
31
|
+
* A side drawer component that displays documents with optional metadata.
|
|
32
|
+
* Supports both single document (backward compatibility) and multiple documents (new feature).
|
|
33
|
+
*
|
|
34
|
+
* @param {Object} props - Component props
|
|
35
|
+
* @param {string} props.title - Drawer title
|
|
36
|
+
* @param {Function} props.handleCloseDrawer - Function to close the drawer
|
|
37
|
+
* @param {Object|Array} props.documentConfig - Single document config or array of document configs
|
|
38
|
+
* @param {string} props.drawerWidth - Custom drawer width
|
|
39
|
+
* @param {Object} props.drawerButtonConfig - Button configuration for the drawer
|
|
40
|
+
* @param {Object} props.drawerTagConfig - Tag configuration (heading, tag, viewDetails)
|
|
41
|
+
* @param {boolean} props.onlyDocumentView - Whether to show only document viewer
|
|
42
|
+
* @param {React.ReactNode} props.children - Additional content to render
|
|
43
|
+
*/
|
|
44
|
+
function DocumentSideDrawer(_ref) {
|
|
45
|
+
var _drawerTagConfig$view;
|
|
46
|
+
let {
|
|
47
|
+
title,
|
|
48
|
+
handleCloseDrawer,
|
|
49
|
+
documentConfig,
|
|
50
|
+
drawerWidth,
|
|
51
|
+
drawerButtonConfig,
|
|
52
|
+
drawerTagConfig,
|
|
53
|
+
onlyDocumentView
|
|
54
|
+
} = _ref,
|
|
55
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
56
|
+
// Calculate the drawer width based on documentConfig or fallback to 480
|
|
57
|
+
const calculatedWidth = drawerWidth !== null && drawerWidth !== void 0 ? drawerWidth : documentConfig ? 1200 : 480;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Determines if documentConfig contains multiple documents
|
|
61
|
+
* @returns {boolean} True if documentConfig is an array with multiple items
|
|
62
|
+
*/
|
|
63
|
+
const isMultipleDocuments = Array.isArray(documentConfig) && documentConfig.length > 1;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Renders the document viewer(s) based on configuration
|
|
67
|
+
* @returns {React.ReactNode} Document viewer component(s)
|
|
68
|
+
*/
|
|
69
|
+
const renderDocumentViewer = () => {
|
|
70
|
+
if (!documentConfig) return null;
|
|
71
|
+
|
|
72
|
+
// Handle multiple documents with tabs
|
|
73
|
+
if (isMultipleDocuments) {
|
|
74
|
+
return /*#__PURE__*/_react.default.createElement(_CustomTabs.default, {
|
|
75
|
+
data: {
|
|
76
|
+
tabs: documentConfig.map((doc, index) => ({
|
|
77
|
+
body: /*#__PURE__*/_react.default.createElement(_CustomDocumentViewer.default, _extends({}, doc, {
|
|
78
|
+
onlyDocumentView: onlyDocumentView
|
|
79
|
+
})),
|
|
80
|
+
key: String(index + 1),
|
|
81
|
+
label: doc.label || "Document ".concat(index + 1)
|
|
82
|
+
}))
|
|
83
|
+
},
|
|
84
|
+
"data-test": "tabs",
|
|
85
|
+
type: "card"
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Handle single document (backward compatibility)
|
|
90
|
+
const singleDocument = Array.isArray(documentConfig) ? documentConfig[0] : documentConfig;
|
|
91
|
+
return /*#__PURE__*/_react.default.createElement(_CustomDocumentViewer.default, _extends({}, singleDocument, {
|
|
92
|
+
onlyDocumentView: onlyDocumentView
|
|
93
|
+
}));
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Renders the tooltip content for view details
|
|
98
|
+
* @param {Array} items - Array of detail items
|
|
99
|
+
* @param {string} title - Tooltip title
|
|
100
|
+
* @returns {React.ReactNode} Tooltip content
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
const renderTooltipContent = (items, title) => {
|
|
105
|
+
const totalItems = (items === null || items === void 0 ? void 0 : items.length) || 0;
|
|
106
|
+
if (totalItems === 0) return null;
|
|
107
|
+
const numColumns = totalItems === 1 ? 1 : 2;
|
|
108
|
+
const col1Size = Math.ceil(totalItems / numColumns);
|
|
109
|
+
const col2Size = totalItems - col1Size;
|
|
110
|
+
const columns = [items.slice(0, col1Size),
|
|
111
|
+
// First column
|
|
112
|
+
items.slice(col1Size) // Second column
|
|
113
|
+
];
|
|
114
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, title && /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
115
|
+
typography: "type-sl1-700",
|
|
116
|
+
color: "secondary-content"
|
|
117
|
+
}, title), /*#__PURE__*/_react.default.createElement("div", {
|
|
118
|
+
className: "tooltip-grid",
|
|
119
|
+
style: {
|
|
120
|
+
flexDirection: totalItems === 1 ? "column" : "row",
|
|
121
|
+
width: totalItems === 1 ? "100%" : "auto"
|
|
122
|
+
}
|
|
123
|
+
}, columns.map((columnItems, colIndex) => /*#__PURE__*/_react.default.createElement("div", {
|
|
124
|
+
key: "col-".concat(colIndex),
|
|
125
|
+
className: "tooltip-column"
|
|
126
|
+
}, columnItems.map(item => /*#__PURE__*/_react.default.createElement("li", {
|
|
127
|
+
key: item.title,
|
|
128
|
+
className: "tooltip-item"
|
|
129
|
+
}, /*#__PURE__*/_react.default.createElement(_MaterialIcon.default, {
|
|
130
|
+
size: 20,
|
|
131
|
+
icon: item.type === "positive" ? _Check.default : _Close.default,
|
|
132
|
+
color: item.type === "positive" ? "positive" : "negative"
|
|
133
|
+
}), /*#__PURE__*/_react.default.createElement("p", null, item.title)))))));
|
|
134
|
+
};
|
|
135
|
+
return /*#__PURE__*/_react.default.createElement(_CustomDrawer.default, {
|
|
136
|
+
buttonConfig: drawerButtonConfig,
|
|
137
|
+
"data-test": "document-side-drawer",
|
|
138
|
+
className: "documentDrawer",
|
|
139
|
+
width: calculatedWidth,
|
|
140
|
+
onClose: handleCloseDrawer,
|
|
141
|
+
title: title
|
|
142
|
+
}, /*#__PURE__*/_react.default.createElement(_styles.default, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
143
|
+
className: "viewerContainer"
|
|
144
|
+
}, renderDocumentViewer(), !onlyDocumentView && /*#__PURE__*/_react.default.createElement("div", {
|
|
145
|
+
className: "rightContSection"
|
|
146
|
+
}, drawerTagConfig && /*#__PURE__*/_react.default.createElement("div", {
|
|
147
|
+
className: "grayBoxSec"
|
|
148
|
+
}, drawerTagConfig.heading && /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
149
|
+
className: "type-t2-700",
|
|
150
|
+
color: "primary-content"
|
|
151
|
+
}, drawerTagConfig.heading), /*#__PURE__*/_react.default.createElement("div", {
|
|
152
|
+
className: "margin-top-12 statusSec"
|
|
153
|
+
}, drawerTagConfig.tag && (
|
|
154
|
+
// Conditionally render CustomTag or Typography based on tag type
|
|
155
|
+
drawerTagConfig.tag.type ? /*#__PURE__*/_react.default.createElement(_CustomTag.default, {
|
|
156
|
+
label: drawerTagConfig.tag.label,
|
|
157
|
+
type: drawerTagConfig.tag.type
|
|
158
|
+
}) : /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
159
|
+
typography: "type-b2-400",
|
|
160
|
+
color: "primary-content"
|
|
161
|
+
}, drawerTagConfig.tag.label)), ((_drawerTagConfig$view = drawerTagConfig.viewDetails) === null || _drawerTagConfig$view === void 0 || (_drawerTagConfig$view = _drawerTagConfig$view.items) === null || _drawerTagConfig$view === void 0 ? void 0 : _drawerTagConfig$view.length) > 0 && /*#__PURE__*/_react.default.createElement(_CustomTooltip.default, {
|
|
162
|
+
overlayClassName: "multipleDocumentTooltip",
|
|
163
|
+
isDisplayed: true,
|
|
164
|
+
placement: "bottomRight",
|
|
165
|
+
title: renderTooltipContent(drawerTagConfig.viewDetails.items, drawerTagConfig.viewDetails.title)
|
|
166
|
+
}, /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
|
|
167
|
+
type: "text-only",
|
|
168
|
+
label: drawerTagConfig.viewDetails.label
|
|
169
|
+
})))), props.children))));
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// Define the prop types to enforce correct data types for the props
|
|
173
|
+
DocumentSideDrawer.propTypes = {
|
|
174
|
+
title: _propTypes.default.string,
|
|
175
|
+
handleCloseDrawer: _propTypes.default.func,
|
|
176
|
+
documentConfig: _propTypes.default.oneOfType([_propTypes.default.object,
|
|
177
|
+
// Single document configuration
|
|
178
|
+
_propTypes.default.arrayOf(_propTypes.default.object) // Array of document configurations
|
|
179
|
+
]),
|
|
180
|
+
drawerWidth: _propTypes.default.string,
|
|
181
|
+
drawerButtonConfig: _propTypes.default.object,
|
|
182
|
+
drawerTagConfig: _propTypes.default.object,
|
|
183
|
+
onlyDocumentView: _propTypes.default.bool
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
// Default props to provide fallback values for optional props
|
|
187
|
+
DocumentSideDrawer.defaultProps = {
|
|
188
|
+
title: "",
|
|
189
|
+
handleCloseDrawer: () => {},
|
|
190
|
+
documentConfig: null,
|
|
191
|
+
drawerWidth: null,
|
|
192
|
+
drawerButtonConfig: null,
|
|
193
|
+
drawerTagConfig: null,
|
|
194
|
+
onlyDocumentView: false
|
|
195
|
+
};
|
|
196
|
+
var _default = exports.default = DocumentSideDrawer;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _templateObject;
|
|
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
|
+
const ViewerContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.ant-tabs-nav{\n margin: 0;\n}\n .ant-tabs-top>.ant-tabs-nav::before {\n border: none;\n border-right: 1px solid #E0E0E0;\n }\n .ant-tabs-content-holder .customDocumentViewerOverlayHeader{\n bottom: 60px;\n }\n .ant-tabs-tab{\n border-radius: 0px !important;\n border: none !important;\n border-bottom: 2px solid transparent !important;\n }\n .ant-tabs-tab-active{\n border-bottom: 2px solid var(--color-primary) !important;\n }\n .viewerContainer > div {\n flex: 1;\n box-sizing: border-box;\n }\n .viewerContainer {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n }\n .rightContSection {\n display: flex;\n flex-direction: column;\n padding: 24px;\n }\n .grayBoxSec {\n border-radius: 8px;\n background: #f6f6f6;\n padding: 12px 16px;\n }\n .statusSec {\n display: flex;\n flex-direction: row;\n align-items: center;\n }\n .statusSec button {\n margin-left: 8px;\n }\n"])));
|
|
12
|
+
var _default = exports.default = ViewerContainer;
|
|
@@ -12,13 +12,14 @@ var _Elevation = _interopRequireDefault(require("./Elevation"));
|
|
|
12
12
|
var _GridLayout = _interopRequireDefault(require("./GridLayout"));
|
|
13
13
|
var _SpacingScales = _interopRequireDefault(require("./SpacingScales"));
|
|
14
14
|
var _Typographies = _interopRequireDefault(require("./Typographies"));
|
|
15
|
+
var _commonStyles = _interopRequireDefault(require("./commonStyles"));
|
|
15
16
|
require("antd/dist/reset.css");
|
|
16
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
18
|
function GlobalCss(_ref) {
|
|
18
19
|
let {
|
|
19
20
|
children
|
|
20
21
|
} = _ref;
|
|
21
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_BorderRadius.default, null), /*#__PURE__*/_react.default.createElement(_SpacingScales.default, null), /*#__PURE__*/_react.default.createElement(_ColorVariables.default, null), /*#__PURE__*/_react.default.createElement(_Elevation.default, null), /*#__PURE__*/_react.default.createElement(_GridLayout.default, null), /*#__PURE__*/_react.default.createElement(_Typographies.default, null), children);
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_BorderRadius.default, null), /*#__PURE__*/_react.default.createElement(_SpacingScales.default, null), /*#__PURE__*/_react.default.createElement(_ColorVariables.default, null), /*#__PURE__*/_react.default.createElement(_Elevation.default, null), /*#__PURE__*/_react.default.createElement(_GridLayout.default, null), /*#__PURE__*/_react.default.createElement(_commonStyles.default, null), /*#__PURE__*/_react.default.createElement(_Typographies.default, null), children);
|
|
22
23
|
}
|
|
23
24
|
GlobalCss.propTypes = {
|
|
24
25
|
children: _propTypes.default.node.isRequired
|
|
@@ -21,5 +21,5 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
21
21
|
// TODO: Figure out a way to make this work with storybook.
|
|
22
22
|
// Can be used to wrap the entire application, to make these styles available to every component
|
|
23
23
|
|
|
24
|
-
const GridLayout = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.container {\n max-width: 1154px;\n margin: 0 auto;\n padding: 0 16px;\n}\n\n.container-fluid {\n width: 100%;\n padding: 0 16px;\n}\n\n.row {\n display: flex;\n flex-direction: column;\n}\n\n.gutter {\n padding: 0 24px 0 0;\n}\n\n.row::after {\n content: \"\";\n clear: both;\n display: table;\n}\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\n@media (min-width: 768px) {\n .row {\n flex-direction: row;\n }\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\n .col-sm-7 {\n width: 58.33333%;\n }\n\n .col-sm-8 {\n width: 66.66667%;\n }\n\n .col-sm-9 {\n width: 75%;\n }\n\n .col-sm-10 {\n width: 83.33333%;\n }\n\n .col-sm-11 {\n width: 91.66667%;\n }\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\n .col-md-2 {\n width: 16.66667%;\n }\n\n .col-md-3 {\n width: 25%;\n }\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\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\n .col-lg-1 {\n width: 8.33333%;\n }\n\n .col-lg-2 {\n width: 16.66667%;\n }\n\n .col-lg-3 {\n width: 25%;\n }\n\n .col-lg-4 {\n width: 33.33333%;\n }\n\n .col-lg-5 {\n width: 41.66667%;\n }\n\n .col-lg-6 {\n width: 50%;\n }\n\n .col-lg-7 {\n width: 58.33333%;\n }\n\n .col-lg-8 {\n width: 66.66667%;\n }\n\n .col-lg-9 {\n width: 75%;\n }\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.ant-modal .ant-modal-content {\n padding: 24px 24px 32px;\n border-radius: 12px;\n }\n .ant-select-dropdown .ant-select-item{\n min-height: auto !important;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice-message{\n margin-bottom: 0 !important;\n }\n .ant-notification .ant-notification-notice-wrapper{\n background: transparent;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice-close{\n position: inherit !important;\n width: 24px !important;\n height: 24px !important;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice-closable .ant-notification-notice-message {\n padding-inline-end: 0px !important;\n}\n .ant-notification-notice-close > button{\n width: 24px !important;\n height: 24px !important;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice {\n display: flex;\n align-items: center;\n gap: 12px;\n justify-content: space-between;\n }\n @media (max-width: 372px) {\n .ant-picker-date-panel .ant-picker-body{\n padding: 8px !important;\n }\n }\n@media (max-width: 600px) {\n .ant-drawer .ant-drawer-header,.ant-drawer .ant-drawer-body{\n padding: 16px !important;\n }\n .ant-drawer .ant-drawer-footer {\n padding: 12px 16px;\n }\n .ant-picker-dropdown .ant-picker-date-panel{\n width: 100%;\n }\n .ant-picker-dropdown .ant-picker-time-panel-column {\n overflow-y: auto;\n}\n.ant-picker-dropdown .ant-picker-time-panel-column::-webkit-scrollbar {\n width: 2px;\n }\n\n .ant-modal-root .ant-modal-wrap {\n position: fixed;\n overflow: inherit;\n }\n .ant-modal-root .ant-modal-centered .ant-modal{\n vertical-align: middle;\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100% !important;\n max-width: 100%!important;\n // transform-origin: bottom !important;\n //animation-duration: 0s !important;\n animation-name: slideUp;\n animation-duration: 0.2s;\n transition: .3s ease-in-out;\n animation-timing-function: ease-in;\n }\n @keyframes slideUp {\n 0%,\n 50% {\n transform: translateY(100%);\n opacity: 0;\n }\n \n 60%,\n 100% {\n transform: translateY(0);\n opacity: 1;\n \n }\n }\n .ant-modal .ant-modal-content {\n bottom: -8px;\n left: 0;\n position: absolute;\n right: 0;\n border-bottom-left-radius: 0px;\n border-bottom-right-radius: 0px;\n }\n .ant-modal .ant-modal-body{\n max-height: calc(90vh - 126px);\n overflow: auto;\n padding-right: 16px;\n }\n .ant-modal-footer{\n padding-right: 16px !important;\n }\n .ant-modal .ant-modal-content{\n padding: 24px 16px 32px;\n padding-right: 0;\n }\n}\n@media (min-width: 1200px) {\n .gutter {\n padding: 0 32px 0 0;\n }\n\n .col-xl-1 {\n width: 8.33333%;\n }\n \n .col-xl-2 {\n width: 16.66667%;\n }\n\n .col-xl-3 {\n width: 25%;\n }\n\n .col-xl-4 {\n width: 33.33333%;\n }\n\n .col-xl-5 {\n width: 41.66667%;\n }\n\n .col-xl-6 {\n width: 50%;\n }\n\n .col-xl-7 {\n width: 58.33333%;\n }\n\n .col-xl-8 {\n width: 66.66667%;\n }\n\n .col-xl-9 {\n width: 75%;\n }\n\n .col-xl-10 {\n width: 83.33333%;\n }\n\n .col-xl-11 {\n width: 91.66667%;\n }\n\n .col-xl-12 {\n width: 100%;\n }\n \n}\n\n.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item{\n padding: 12px 24px;\n}\n.ant-dropdown-menu{\n min-width: 256px;\n top: 4px;\n}\n.ant-space-item span{\n line-height: 0 !important;\n display: flex;\n}\n\n\n.ant-select-dropdown{border-radius: 4px; padding:8px 0 !important;\n background: var(--color-primary-background) ;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);}\n\n\n\n .ant-select-dropdown .ant-select-item { \n min-height: auto;\n padding: 12px 16px;\n color: var(--color-primary-content) ;\n line-height: 20px;\n border-radius: 0px;\n}\n\n.label-date-dropdown {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 16px;\n}\n\n.ant-select-dropdown .ant-select-item-option-active span{ color: var(--color-primary) !important;}\n.ant-picker-range {opacity: 0;}\n.ant-picker-dropdown-range { padding: 0; }\n\n.fadeImg{\n position: relative;\n width: 100%;\n max-height: 300px;\n overflow-x: auto;\n}\n.overLayImg{\n background: rgb(0 0 0 / 40%);\n border-radius: 12px 12px 0px 0px;\n overflow: hidden;\n}\n \n .OaTooltip .ant-tooltip-inner{\n padding: 24px 16px;\n background: #fff;\n color: #212121;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n width: 348px;\n border-radius: 12px;\n }\n .OaTooltip .ant-tooltip-arrow:before{\n background: #fff !important;\n }\n .OaFooterBtn{\n display: flex;\n justify-content: end;\n }\n .OaTooltip{\n max-width: 348px !important;\n }\n.paddingBot .ant-drawer-body{\n padding-bottom: 100px !important;\n}\n.react-transform-component,.react-transform-wrapper,.react-transform-component > div{\n width: 100%;\n}\n.ascCollapse .ant-collapse-arrow{\n transform: rotate(90deg);\n color: var(--color-primary) !important;\n font-size: 14px !important;\n}\n.gappingIcons{\n display: flex;\n gap: 16px;\n}\n.imageZoom .ant-modal-body > div{\n height: 350px;\n overflow-y: auto;\n margin: 30px 0px 0px;\n padding: 0px 8px 0 0;;\n \n}\n/* width */\n.imageZoom ::-webkit-scrollbar {\n width: 8px;\n height: 100px;\n border-radius: 8px;\n}\n\n/* Track */\n.imageZoom ::-webkit-scrollbar-track {\n background: #f6f6f6; \n border-radius: 8px;\n}\n \n/* Handle */\n.imageZoom ::-webkit-scrollbar-thumb {\n background: #888; \n border-radius: 8px;\n height: 100px;\n}\n\n/* Handle on hover */\n.imageZoom ::-webkit-scrollbar-thumb:hover {\n background: #555; \n}\n .modalImg{\n width: 100%;\n }\n.overflowScroll{\n position: relative;\n}\n.ascCollapse .ant-collapse-header{\n border-radius: 4px !important;\n background: var(--color-secondary-background);\n}\n.ascCollapse,.ant-collapse{\n overflow: hidden;\n}\n.ascCollapse .totalVal{\n display: flex;\n gap: 12px;\n}\n.ascCollapse.ant-collapse-item-active .ant-collapse-arrow{\n transform: rotate(180deg) !important;\n}.mobilesIcons li.ant-dropdown-menu-item > svg {\n display: none\n}\n .ant-notification-notice-close svg{\n font-size: 24px !important;\n height: auto;\n }\n @media only screen and (max-width: 574px) {\n .ant-steps-item-tail{\n inset-inline-start: 78px !important;\n \n }\n}\n @media only screen and (max-width: 480px) {\n .ant-steps-item-tail{\n inset-inline-start: 60px !important;\n \n }\n}\n@media only screen and (max-width: 600px) {\n \n .ant-picker-dropdown .ant-picker-date-panel .ant-picker-body {\n padding: 8px;\n }\n .ant-picker-dropdown { width: 100%; left: 0 !important; }\n .mobilesIcons li.ant-dropdown-menu-item > svg {\n display: block;\n}\n.imageZoom .ant-modal-body>div{\n height: auto;\n overflow-y: auto;\n}\n.imageZoom .ant-modal-footer{\n padding-right: 16px !important;\n}\n .fadeImg{\n max-height: auto;\n }\n .ant-picker-dropdown .ant-picker-date-panel .ant-picker-content th {\n width: 24px; font-size: 12px; font-weight: bold; }\n\n .ant-picker-dropdown .ant-picker-content th {\n height: 24px;\n }\n .ant-picker-dropdown .ant-picker-content td {\n font-size: 12px;\n }\n .ant-picker-dropdown .ant-picker-date-panel .ant-picker-content {\n width: 100%;\n }\n\n}\n\n\n.ant-picker .ant-picker-clear{\n font-size: 20px;\n}\n \n"])));
|
|
24
|
+
const GridLayout = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.container {\n max-width: 1154px;\n margin: 0 auto;\n padding: 0 16px;\n}\n\n.container-fluid {\n width: 100%;\n padding: 0 16px;\n}\n\n.row {\n display: flex;\n flex-direction: column;\n}\n\n.gutter {\n padding: 0 24px 0 0;\n}\n\n.row::after {\n content: \"\";\n clear: both;\n display: table;\n}\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\n@media (min-width: 768px) {\n .row {\n flex-direction: row;\n }\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\n .col-sm-7 {\n width: 58.33333%;\n }\n\n .col-sm-8 {\n width: 66.66667%;\n }\n\n .col-sm-9 {\n width: 75%;\n }\n\n .col-sm-10 {\n width: 83.33333%;\n }\n\n .col-sm-11 {\n width: 91.66667%;\n }\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\n .col-md-2 {\n width: 16.66667%;\n }\n\n .col-md-3 {\n width: 25%;\n }\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\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\n .col-lg-1 {\n width: 8.33333%;\n }\n\n .col-lg-2 {\n width: 16.66667%;\n }\n\n .col-lg-3 {\n width: 25%;\n }\n\n .col-lg-4 {\n width: 33.33333%;\n }\n\n .col-lg-5 {\n width: 41.66667%;\n }\n\n .col-lg-6 {\n width: 50%;\n }\n\n .col-lg-7 {\n width: 58.33333%;\n }\n\n .col-lg-8 {\n width: 66.66667%;\n }\n\n .col-lg-9 {\n width: 75%;\n }\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\n@media (min-width: 1200px) {\n .gutter {\n padding: 0 32px 0 0;\n }\n\n .col-xl-1 {\n width: 8.33333%;\n }\n \n .col-xl-2 {\n width: 16.66667%;\n }\n\n .col-xl-3 {\n width: 25%;\n }\n\n .col-xl-4 {\n width: 33.33333%;\n }\n\n .col-xl-5 {\n width: 41.66667%;\n }\n\n .col-xl-6 {\n width: 50%;\n }\n\n .col-xl-7 {\n width: 58.33333%;\n }\n\n .col-xl-8 {\n width: 66.66667%;\n }\n\n .col-xl-9 {\n width: 75%;\n }\n\n .col-xl-10 {\n width: 83.33333%;\n }\n\n .col-xl-11 {\n width: 91.66667%;\n }\n\n .col-xl-12 {\n width: 100%;\n }\n \n}\n"])));
|
|
25
25
|
var _default = exports.default = GridLayout;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = require("styled-components");
|
|
8
|
+
var _templateObject;
|
|
9
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
10
|
+
const CommonStyles = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.customLightTooltip .ant-tooltip-inner {\n background-color: #ffffff !important;\n color: #212121 !important;\n border-radius: 12px !important;\n padding: 16px;\n box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.14);\n}\n\n.customLightTooltip .ant-tooltip-arrow::before {\n background-color: #ffffff !important;\n}\n\n.tooltip-grid {\n display: flex;\n align-items: flex-start;\n padding: 8px 0 0;\n gap: 0px 32px;\n}\n\n.tooltip-column {\n display: flex;\n flex-direction: column;\n width: 200px;\n}\n\n\n.multipleDocumentTooltip .ant-tooltip-inner{\n padding: 16px;\n background: #fff;\n color: #212121;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n width: max-content;\n border-radius: 12px;\n min-width: 300px;\n\n}\n.customLightTooltip .ant-tooltip-inner {\n background-color: #ffffff !important;\n color: #212121 !important;\n border-radius: 12px !important;\n padding: 16px;\n box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);\n}\n\n.customLightTooltip .ant-tooltip-arrow::before {\n background-color: #ffffff !important;\n}\n\n .multipleDocumentTooltip .ant-tooltip-arrow:before{\n background: #fff;\n }\n .multipleDocumentTooltip li.tooltip-item{\n display: flex;\n gap: 8px;\n align-items: flex-start;\n color: #212121;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px; \n padding: 8px 0;\n // width: max-content;\n }\n .tooltip-item p{\n margin: 0;\n }\n .multipleDocumentTooltip ul .headingName{\n color: #717171;\n font-size: 12px;\n font-style: normal;\n font-weight: 700;\n line-height: 16px; \n letter-spacing: 0.24px;\n text-transform: uppercase;\n padding: 0 0 16px;\n }\n .multipleDocumentTooltip .flexWrap{\n display: flex;\n flex-wrap: wrap;\n column-count: 1;\n column-gap: 8px;\n list-style: none;\n justify-content: space-between;\n }\n.ant-modal .ant-modal-content {\n padding: 24px 24px 32px;\n border-radius: 12px;\n }\n .ant-select-dropdown .ant-select-item{\n min-height: auto !important;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice-message{\n margin-bottom: 0 !important;\n }\n .ant-notification .ant-notification-notice-wrapper{\n background: transparent;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice-close{\n position: inherit !important;\n width: 24px !important;\n height: 24px !important;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice-closable .ant-notification-notice-message {\n padding-inline-end: 0px !important;\n}\n .ant-notification-notice-close > button{\n width: 24px !important;\n height: 24px !important;\n }\n .ant-notification .ant-notification-notice-wrapper .ant-notification-notice {\n display: flex;\n align-items: center;\n gap: 12px;\n justify-content: space-between;\n }\n .documentDrawer .ant-drawer-body{\n overflow: hidden;\n padding: 0;\n }\n .documentDrawer .rightContSection {\n overflow-y: auto;\n max-width: 480px !important;\n height: calc(100vh - 114px);\n }\n .documentDrawer .ant-radio-group{\n display: flex;\n white-space: nowrap;\n }\n .documentDrawer .ant-drawer-content-wrapper{\n width: 100% !important;\n }\n .documentDrawer .ant-select-selector .ant-select-selection-item > span{\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 269px;\n display: block;\n }\n @media (max-width: 372px) {\n .ant-picker-date-panel .ant-picker-body{\n padding: 8px !important;\n }\n }\n@media (max-width: 600px) {\n .ant-drawer .ant-drawer-header,.ant-drawer .ant-drawer-body{\n padding: 16px !important;\n }\n .ant-drawer .ant-drawer-footer {\n padding: 12px 16px;\n }\n .ant-picker-dropdown .ant-picker-date-panel{\n width: 100%;\n }\n .ant-picker-dropdown .ant-picker-time-panel-column {\n overflow-y: auto;\n}\n.ant-picker-dropdown .ant-picker-time-panel-column::-webkit-scrollbar {\n width: 2px;\n }\n\n .ant-modal-root .ant-modal-wrap {\n position: fixed;\n overflow: inherit;\n }\n .ant-modal-root .ant-modal-centered .ant-modal{\n vertical-align: middle;\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100% !important;\n max-width: 100%!important;\n // transform-origin: bottom !important;\n //animation-duration: 0s !important;\n animation-name: slideUp;\n animation-duration: 0.2s;\n transition: .3s ease-in-out;\n animation-timing-function: ease-in;\n }\n @keyframes slideUp {\n 0%,\n 50% {\n transform: translateY(100%);\n opacity: 0;\n }\n \n 60%,\n 100% {\n transform: translateY(0);\n opacity: 1;\n \n }\n }\n .ant-modal .ant-modal-content {\n bottom: -8px;\n left: 0;\n position: absolute;\n right: 0;\n border-bottom-left-radius: 0px;\n border-bottom-right-radius: 0px;\n }\n .ant-modal .ant-modal-body{\n max-height: calc(90vh - 126px);\n overflow: auto;\n padding-right: 16px;\n }\n .ant-modal-footer{\n padding-right: 16px !important;\n }\n .ant-modal .ant-modal-content{\n padding: 24px 16px 32px;\n padding-right: 0;\n }\n}\n\n.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item{\n padding: 12px 24px;\n}\n.ant-dropdown-menu{\n min-width: 256px;\n top: 4px;\n}\n.ant-space-item span{\n line-height: 0 !important;\n display: flex;\n}\n.ant-select-dropdown{border-radius: 4px; padding:8px 0 !important;\n background: var(--color-primary-background) ;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);}\n\n.ant-select-dropdown .ant-select-item { \n min-height: auto;\n padding: 12px 16px;\n color: var(--color-primary-content) ;\n line-height: 20px;\n border-radius: 0px;\n}\n\n.label-date-dropdown {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 16px;\n}\n\n.ant-select-dropdown .ant-select-item-option-active span{ color: var(--color-primary) !important;}\n.ant-picker-range {opacity: 0;}\n.ant-picker-dropdown-range { padding: 0; }\n\n.fadeImg{\n position: relative;\n width: 100%;\n max-height: 300px;\n overflow-x: auto;\n}\n.overLayImg{\n background: rgb(0 0 0 / 40%);\n border-radius: 12px 12px 0px 0px;\n overflow: hidden;\n}\n \n.OaTooltip .ant-tooltip-inner{\n padding: 24px 16px;\n background: #fff;\n color: #212121;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n width: 348px;\n border-radius: 12px;\n}\n.OaTooltip .ant-tooltip-arrow:before{\n background: #fff !important;\n}\n.OaFooterBtn{\n display: flex;\n justify-content: end;\n}\n.OaTooltip{\n max-width: 348px !important;\n}\n.paddingBot .ant-drawer-body{\n padding-bottom: 100px !important;\n}\n.react-transform-component,.react-transform-wrapper,.react-transform-component > div{\n width: 100%;\n}\n.ascCollapse .ant-collapse-arrow{\n transform: rotate(90deg);\n color: var(--color-primary) !important;\n font-size: 14px !important;\n}\n.gappingIcons{\n display: flex;\n gap: 16px;\n}\n.imageZoom .ant-modal-body > div{\n height: 350px;\n overflow-y: auto;\n margin: 30px 0px 0px;\n padding: 0px 8px 0 0;;\n \n}\n/* width */\n.imageZoom ::-webkit-scrollbar {\n width: 8px;\n height: 100px;\n border-radius: 8px;\n}\n\n/* Track */\n.imageZoom ::-webkit-scrollbar-track {\n background: #f6f6f6; \n border-radius: 8px;\n}\n \n/* Handle */\n.imageZoom ::-webkit-scrollbar-thumb {\n background: #888; \n border-radius: 8px;\n height: 100px;\n}\n\n/* Handle on hover */\n.imageZoom ::-webkit-scrollbar-thumb:hover {\n background: #555; \n}\n .modalImg{\n width: 100%;\n }\n.overflowScroll{\n position: relative;\n}\n.ascCollapse .ant-collapse-header{\n border-radius: 4px !important;\n background: var(--color-secondary-background);\n}\n.ascCollapse,.ant-collapse{\n overflow: hidden;\n}\n.ascCollapse .totalVal{\n display: flex;\n gap: 12px;\n}\n.ascCollapse.ant-collapse-item-active .ant-collapse-arrow{\n transform: rotate(180deg) !important;\n}.mobilesIcons li.ant-dropdown-menu-item > svg {\n display: none\n}\n .ant-notification-notice-close svg{\n font-size: 24px !important;\n height: auto;\n }\n @media only screen and (max-width: 574px) {\n .ant-steps-item-tail{\n inset-inline-start: 78px !important;\n \n }\n}\n @media only screen and (max-width: 480px) {\n .ant-steps-item-tail{\n inset-inline-start: 60px !important;\n \n }\n}\n@media only screen and (max-width: 600px) {\n \n .ant-picker-dropdown .ant-picker-date-panel .ant-picker-body {\n padding: 8px;\n }\n .ant-picker-dropdown { width: 100%; left: 0 !important; }\n .mobilesIcons li.ant-dropdown-menu-item > svg {\n display: block;\n}\n.imageZoom .ant-modal-body>div{\n height: auto;\n overflow-y: auto;\n}\n.imageZoom .ant-modal-footer{\n padding-right: 16px !important;\n}\n .fadeImg{\n max-height: auto;\n }\n .ant-picker-dropdown .ant-picker-date-panel .ant-picker-content th {\n width: 24px; font-size: 12px; font-weight: bold; }\n\n .ant-picker-dropdown .ant-picker-content th {\n height: 24px;\n }\n .ant-picker-dropdown .ant-picker-content td {\n font-size: 12px;\n }\n .ant-picker-dropdown .ant-picker-date-panel .ant-picker-content {\n width: 100%;\n }\n\n}\n.ant-picker .ant-picker-clear{\n font-size: 20px;\n}\n\n"])));
|
|
11
|
+
var _default = exports.default = CommonStyles;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/index.js
CHANGED
|
@@ -35,6 +35,12 @@ Object.defineProperty(exports, "ApprovalWidget", {
|
|
|
35
35
|
return _ApprovalWidget.default;
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
+
Object.defineProperty(exports, "ApprovalWidgetNew", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _ApprovalWidgetNew.default;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
38
44
|
Object.defineProperty(exports, "BarChart", {
|
|
39
45
|
enumerable: true,
|
|
40
46
|
get: function get() {
|
|
@@ -119,6 +125,12 @@ Object.defineProperty(exports, "CustomDetails", {
|
|
|
119
125
|
return _CustomDetails.default;
|
|
120
126
|
}
|
|
121
127
|
});
|
|
128
|
+
Object.defineProperty(exports, "CustomDocumentViewer", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function get() {
|
|
131
|
+
return _CustomDocumentViewer.default;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
122
134
|
Object.defineProperty(exports, "CustomDrawer", {
|
|
123
135
|
enumerable: true,
|
|
124
136
|
get: function get() {
|
|
@@ -185,6 +197,12 @@ Object.defineProperty(exports, "CustomNotification", {
|
|
|
185
197
|
return _CustomNotification.default;
|
|
186
198
|
}
|
|
187
199
|
});
|
|
200
|
+
Object.defineProperty(exports, "CustomPagination", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function get() {
|
|
203
|
+
return _CustomPagination.default;
|
|
204
|
+
}
|
|
205
|
+
});
|
|
188
206
|
Object.defineProperty(exports, "CustomPinPatternCaptureWidget", {
|
|
189
207
|
enumerable: true,
|
|
190
208
|
get: function get() {
|
|
@@ -221,6 +239,12 @@ Object.defineProperty(exports, "CustomSelect", {
|
|
|
221
239
|
return _CustomSelect.default;
|
|
222
240
|
}
|
|
223
241
|
});
|
|
242
|
+
Object.defineProperty(exports, "CustomSteps", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function get() {
|
|
245
|
+
return _CustomSteps.default;
|
|
246
|
+
}
|
|
247
|
+
});
|
|
224
248
|
Object.defineProperty(exports, "CustomTable", {
|
|
225
249
|
enumerable: true,
|
|
226
250
|
get: function get() {
|
|
@@ -311,6 +335,18 @@ Object.defineProperty(exports, "DocUploadWidget", {
|
|
|
311
335
|
return _DocUploadWidget.default;
|
|
312
336
|
}
|
|
313
337
|
});
|
|
338
|
+
Object.defineProperty(exports, "DocumentSideDrawer", {
|
|
339
|
+
enumerable: true,
|
|
340
|
+
get: function get() {
|
|
341
|
+
return _DocumentSideDrawer.default;
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
Object.defineProperty(exports, "DocumentSideModal", {
|
|
345
|
+
enumerable: true,
|
|
346
|
+
get: function get() {
|
|
347
|
+
return _DocumentSideModal.default;
|
|
348
|
+
}
|
|
349
|
+
});
|
|
314
350
|
Object.defineProperty(exports, "DropdownSearchInput", {
|
|
315
351
|
enumerable: true,
|
|
316
352
|
get: function get() {
|
|
@@ -329,12 +365,30 @@ Object.defineProperty(exports, "ElevationDemo", {
|
|
|
329
365
|
return _ElevationDemo.default;
|
|
330
366
|
}
|
|
331
367
|
});
|
|
368
|
+
Object.defineProperty(exports, "EntityOverviewLayout", {
|
|
369
|
+
enumerable: true,
|
|
370
|
+
get: function get() {
|
|
371
|
+
return _EntityOverviewLayout.default;
|
|
372
|
+
}
|
|
373
|
+
});
|
|
332
374
|
Object.defineProperty(exports, "FeedbackWidget", {
|
|
333
375
|
enumerable: true,
|
|
334
376
|
get: function get() {
|
|
335
377
|
return _FeedbackWidget.default;
|
|
336
378
|
}
|
|
337
379
|
});
|
|
380
|
+
Object.defineProperty(exports, "GenericUpload", {
|
|
381
|
+
enumerable: true,
|
|
382
|
+
get: function get() {
|
|
383
|
+
return _ReUploadDrawer.default;
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
Object.defineProperty(exports, "GenricLayOut", {
|
|
387
|
+
enumerable: true,
|
|
388
|
+
get: function get() {
|
|
389
|
+
return _GenricLayOut.default;
|
|
390
|
+
}
|
|
391
|
+
});
|
|
338
392
|
Object.defineProperty(exports, "GlobalCss", {
|
|
339
393
|
enumerable: true,
|
|
340
394
|
get: function get() {
|
|
@@ -353,6 +407,24 @@ Object.defineProperty(exports, "GridLayout", {
|
|
|
353
407
|
return _GridLayout.default;
|
|
354
408
|
}
|
|
355
409
|
});
|
|
410
|
+
Object.defineProperty(exports, "ImageCarouselWidget", {
|
|
411
|
+
enumerable: true,
|
|
412
|
+
get: function get() {
|
|
413
|
+
return _ImageCarouselWidget.default;
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
Object.defineProperty(exports, "ImageGallery", {
|
|
417
|
+
enumerable: true,
|
|
418
|
+
get: function get() {
|
|
419
|
+
return _ImageGallery.default;
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
Object.defineProperty(exports, "KPICardWidget", {
|
|
423
|
+
enumerable: true,
|
|
424
|
+
get: function get() {
|
|
425
|
+
return _KPICardWidget.default;
|
|
426
|
+
}
|
|
427
|
+
});
|
|
356
428
|
Object.defineProperty(exports, "KeyValueWidget", {
|
|
357
429
|
enumerable: true,
|
|
358
430
|
get: function get() {
|
|
@@ -425,6 +497,18 @@ Object.defineProperty(exports, "Preview", {
|
|
|
425
497
|
return _Preview.default;
|
|
426
498
|
}
|
|
427
499
|
});
|
|
500
|
+
Object.defineProperty(exports, "ProfileDataWidget", {
|
|
501
|
+
enumerable: true,
|
|
502
|
+
get: function get() {
|
|
503
|
+
return _ProfileDataWidget.default;
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
Object.defineProperty(exports, "ProgressiveStepsWidget", {
|
|
507
|
+
enumerable: true,
|
|
508
|
+
get: function get() {
|
|
509
|
+
return _ProgressiveStepsWidget.default;
|
|
510
|
+
}
|
|
511
|
+
});
|
|
428
512
|
Object.defineProperty(exports, "ReimbursementBreakupWidget", {
|
|
429
513
|
enumerable: true,
|
|
430
514
|
get: function get() {
|
|
@@ -449,6 +533,12 @@ Object.defineProperty(exports, "ServiceCard", {
|
|
|
449
533
|
return _ServiceCard.default;
|
|
450
534
|
}
|
|
451
535
|
});
|
|
536
|
+
Object.defineProperty(exports, "SidebarWidget", {
|
|
537
|
+
enumerable: true,
|
|
538
|
+
get: function get() {
|
|
539
|
+
return _SidebarWidget.default;
|
|
540
|
+
}
|
|
541
|
+
});
|
|
452
542
|
Object.defineProperty(exports, "SpacingDemo", {
|
|
453
543
|
enumerable: true,
|
|
454
544
|
get: function get() {
|
|
@@ -488,7 +578,7 @@ Object.defineProperty(exports, "StageTimelineWidget", {
|
|
|
488
578
|
Object.defineProperty(exports, "TextArea", {
|
|
489
579
|
enumerable: true,
|
|
490
580
|
get: function get() {
|
|
491
|
-
return
|
|
581
|
+
return _CustomTextArea.default;
|
|
492
582
|
}
|
|
493
583
|
});
|
|
494
584
|
Object.defineProperty(exports, "TrackShipmentWidget", {
|
|
@@ -539,6 +629,12 @@ Object.defineProperty(exports, "colorOptions", {
|
|
|
539
629
|
return _colorOptions.colorOptions;
|
|
540
630
|
}
|
|
541
631
|
});
|
|
632
|
+
Object.defineProperty(exports, "customForm", {
|
|
633
|
+
enumerable: true,
|
|
634
|
+
get: function get() {
|
|
635
|
+
return _antd.Form;
|
|
636
|
+
}
|
|
637
|
+
});
|
|
542
638
|
Object.defineProperty(exports, "getCheckboxTheme", {
|
|
543
639
|
enumerable: true,
|
|
544
640
|
get: function get() {
|
|
@@ -557,6 +653,8 @@ Object.defineProperty(exports, "typographyOptions", {
|
|
|
557
653
|
return _typographyOptions.typographyOptions;
|
|
558
654
|
}
|
|
559
655
|
});
|
|
656
|
+
var _antd = require("antd");
|
|
657
|
+
var _ReUploadDrawer = _interopRequireDefault(require("./widgets/oa-widget-reupload-drawer/ReUploadDrawer"));
|
|
560
658
|
var _Accordion = _interopRequireDefault(require("./components/oa-component-accordion/Accordion"));
|
|
561
659
|
var _CustomDetails = _interopRequireDefault(require("./widgets/oa-widget-custom-details/CustomDetails"));
|
|
562
660
|
var _DocUploadWidget = _interopRequireDefault(require("./widgets/oa-widget-document-upload/DocUploadWidget"));
|
|
@@ -578,6 +676,7 @@ var _CustomInputNumber = _interopRequireDefault(require("./components/oa-compone
|
|
|
578
676
|
var _CustomLoader = _interopRequireDefault(require("./components/oa-component-loader/CustomLoader"));
|
|
579
677
|
var _CustomModal = _interopRequireDefault(require("./components/oa-component-modal/CustomModal"));
|
|
580
678
|
var _CustomNotification = _interopRequireDefault(require("./components/oa-component-notification/CustomNotification"));
|
|
679
|
+
var _CustomPagination = _interopRequireDefault(require("./components/oa-component-pagination/CustomPagination"));
|
|
581
680
|
var _CustomUpload = _interopRequireDefault(require("./components/oa-component-upload/CustomUpload"));
|
|
582
681
|
var _CustomRadio = _interopRequireWildcard(require("./components/oa-component-radio/CustomRadio"));
|
|
583
682
|
var _CustomSelect = _interopRequireDefault(require("./components/oa-component-select/CustomSelect"));
|
|
@@ -589,7 +688,7 @@ var _CustomTag = _interopRequireDefault(require("./components/oa-component-tag/C
|
|
|
589
688
|
var _CustomTimeline = _interopRequireDefault(require("./components/oa-component-timeline/CustomTimeline"));
|
|
590
689
|
var _CustomToggle = _interopRequireDefault(require("./components/oa-component-toggle/CustomToggle"));
|
|
591
690
|
var _ElevationDemo = _interopRequireDefault(require("./components/oa-component-demo-elevation/ElevationDemo"));
|
|
592
|
-
var
|
|
691
|
+
var _CustomTextArea = _interopRequireDefault(require("./components/oa-component-textarea/CustomTextArea"));
|
|
593
692
|
var _Typography = _interopRequireDefault(require("./components/oa-component-typography/Typography"));
|
|
594
693
|
var _SpacingScales = _interopRequireDefault(require("./components/oa-component-demo-spacing/SpacingScales"));
|
|
595
694
|
var _CustomTooltip = _interopRequireDefault(require("./components/oa-component-tooltip/CustomTooltip"));
|
|
@@ -610,6 +709,8 @@ var _AddressWidget = _interopRequireDefault(require("./widgets/oa-widget-address
|
|
|
610
709
|
var _AddSparePartWidget = _interopRequireDefault(require("./widgets/oa-widget-add-spare-part/AddSparePartWidget"));
|
|
611
710
|
var _AddSparePartCollapseWidget = _interopRequireDefault(require("./widgets/oa-widget-add-spare-part/AddSparePartCollapseWidget"));
|
|
612
711
|
var _ApprovalWidget = _interopRequireDefault(require("./widgets/oa-widget-approval/ApprovalWidget"));
|
|
712
|
+
var _ApprovalWidgetNew = _interopRequireDefault(require("./widgets/oa-widget-approval/ApprovalWidgetNew"));
|
|
713
|
+
var _ImageGallery = _interopRequireDefault(require("./widgets/oa-widget-image-gallery/ImageGallery"));
|
|
613
714
|
var _CloseClaimWidget = _interopRequireDefault(require("./widgets/oa-widget-close-claim/CloseClaimWidget"));
|
|
614
715
|
var _KeyValueWidget = _interopRequireDefault(require("./widgets/oa-widget-key-value/KeyValueWidget"));
|
|
615
716
|
var _NotesWidget = _interopRequireDefault(require("./widgets/oa-widget-notes/NotesWidget"));
|
|
@@ -633,6 +734,9 @@ var _ServiceCard = _interopRequireDefault(require("./widgets/oa-widget-serviceca
|
|
|
633
734
|
var _CustomProgressBar = _interopRequireDefault(require("./components/oa-component-progress-bar/CustomProgressBar"));
|
|
634
735
|
var _CustomHeaderWidget = _interopRequireDefault(require("./widgets/oa-widget-header/CustomHeaderWidget"));
|
|
635
736
|
var _CustomPinPatternCaptureWidget = _interopRequireDefault(require("./widgets/oa-widget-input-pattern-pin/CustomPinPatternCaptureWidget"));
|
|
737
|
+
var _ImageCarouselWidget = _interopRequireDefault(require("./widgets/oa-widget-image-carousel/ImageCarouselWidget"));
|
|
738
|
+
var _SidebarWidget = _interopRequireDefault(require("./widgets/oa-widget-sidebar/SidebarWidget"));
|
|
739
|
+
var _KPICardWidget = _interopRequireDefault(require("./widgets/oa-widget-kpi/KPICardWidget"));
|
|
636
740
|
var _CustomFormWidget = _interopRequireDefault(require("./widgets/oa-widget-form/CustomFormWidget"));
|
|
637
741
|
var _DateDropDown = _interopRequireDefault(require("./widgets/oa-widget-date-dropdown/DateDropDown"));
|
|
638
742
|
var _CustomRating = _interopRequireDefault(require("./components/oa-component-rating/CustomRating"));
|
|
@@ -642,10 +746,18 @@ var _DropdownSearchInput = _interopRequireDefault(require("./widgets/oa-widget-d
|
|
|
642
746
|
var _Preview = _interopRequireDefault(require("./widgets/oa-widget-preview/Preview"));
|
|
643
747
|
var _PincodeBaseLocation = _interopRequireDefault(require("./widgets/oa-widget-pincode-base-location/PincodeBaseLocation"));
|
|
644
748
|
var _MapBaseLocation = _interopRequireDefault(require("./widgets/oa-widget-map-base-location/MapBaseLocation"));
|
|
749
|
+
var _ProgressiveStepsWidget = _interopRequireDefault(require("./widgets/oa-widget-progressive-steps/ProgressiveStepsWidget"));
|
|
750
|
+
var _CustomSteps = _interopRequireDefault(require("./components/oa-component-steps/CustomSteps"));
|
|
645
751
|
var _CustomTimeline2 = _interopRequireDefault(require("./dev/oa-component-timeline/CustomTimeline"));
|
|
646
752
|
var _DocUploadCardWidget2 = _interopRequireDefault(require("./dev/oa-widget-document-upload-card/DocUploadCardWidget"));
|
|
647
753
|
var _CustomUpload2 = _interopRequireDefault(require("./dev/oa-component-upload/CustomUpload"));
|
|
754
|
+
var _DocumentSideDrawer = _interopRequireDefault(require("./dev/oa-widget-document-side-drawer/DocumentSideDrawer"));
|
|
755
|
+
var _CustomDocumentViewer = _interopRequireDefault(require("./dev/oa-component-document-viewer/CustomDocumentViewer"));
|
|
756
|
+
var _DocumentSideModal = _interopRequireDefault(require("./dev/oa-widget-document-modal/DocumentSideModal"));
|
|
648
757
|
var _PaymentAndConsent = _interopRequireDefault(require("./layout/paymentAndConsent/PaymentAndConsent"));
|
|
758
|
+
var _GenricLayOut = _interopRequireDefault(require("./layout/GenricLayOut/GenricLayOut"));
|
|
759
|
+
var _EntityOverviewLayout = _interopRequireDefault(require("./layout/EntityOverviewLayout/EntityOverviewLayout"));
|
|
760
|
+
var _ProfileDataWidget = _interopRequireDefault(require("./widgets/oa-widget-profile-data/ProfileDataWidget"));
|
|
649
761
|
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); }
|
|
650
762
|
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; }
|
|
651
763
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = DetailDataLayout;
|
|
7
|
+
require("core-js/modules/es.object.assign.js");
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _FormWidget = _interopRequireDefault(require("../../widgets/oa-form-widget/FormWidget"));
|
|
10
|
+
require("./style.css");
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
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); } /* eslint-disable */
|
|
13
|
+
function DetailDataLayout(props) {
|
|
14
|
+
console.log(props, "DetailDataLayoutprops1");
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_FormWidget.default, _extends({}, props, {
|
|
16
|
+
handleDrawerFormOnFinish: props === null || props === void 0 ? void 0 : props.handleDrawerFormOnFinish,
|
|
17
|
+
onSelectHandlers: props === null || props === void 0 ? void 0 : props.onSelectHandlers,
|
|
18
|
+
handleCollapsibleKeyData: props === null || props === void 0 ? void 0 : props.handleCollapsibleKeyData
|
|
19
|
+
})));
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
require("core-js/modules/es.object.assign.js");
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _FormWidget = _interopRequireDefault(require("../../../widgets/oa-form-widget/FormWidget"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
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); } /* eslint-disable */
|
|
12
|
+
function Form(props) {
|
|
13
|
+
const {
|
|
14
|
+
cta,
|
|
15
|
+
onFinish
|
|
16
|
+
} = props !== null && props !== void 0 ? props : {};
|
|
17
|
+
return /*#__PURE__*/_react.default.createElement(_FormWidget.default, _extends({}, props, {
|
|
18
|
+
cta: cta,
|
|
19
|
+
onFinish: onFinish
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
var _default = exports.default = Form;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _antd = require("antd");
|
|
9
|
+
var _Typography = _interopRequireDefault(require("../../../components/oa-component-typography/Typography"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
|
|
13
|
+
function Header(props) {
|
|
14
|
+
const {
|
|
15
|
+
bordered,
|
|
16
|
+
heading
|
|
17
|
+
} = props !== null && props !== void 0 ? props : {};
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, bordered ? /*#__PURE__*/_react.default.createElement("div", {
|
|
19
|
+
className: "margin-bottom-8"
|
|
20
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
21
|
+
typography: "type-sl1-700",
|
|
22
|
+
color: "secondary-content"
|
|
23
|
+
}, heading)) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_antd.Divider, {
|
|
24
|
+
className: "dividerLine"
|
|
25
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
26
|
+
className: "margin-bottom-24"
|
|
27
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
28
|
+
typography: "type-sl1-700",
|
|
29
|
+
color: "secondary-content"
|
|
30
|
+
}, heading))));
|
|
31
|
+
}
|
|
32
|
+
var _default = exports.default = Header;
|