oa-componentbook 0.18.1 → 0.18.2

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.
Files changed (82) hide show
  1. package/build/MockData.js +4 -7
  2. package/build/components/oa-component-accordion/Accordion.js +1 -4
  3. package/build/components/oa-component-accordion/styles.js +3 -6
  4. package/build/components/oa-component-auto-complete/CustomAutoComplete.js +0 -1
  5. package/build/components/oa-component-bar-chart/BarChart.js +2 -2
  6. package/build/components/oa-component-bread-crumb/CustomBreadCrumb.js +1 -3
  7. package/build/components/oa-component-button/CustomButton.js +1 -2
  8. package/build/components/oa-component-button/styles.js +3 -6
  9. package/build/components/oa-component-checkbox/CustomCheckBox.js +1 -2
  10. package/build/components/oa-component-demo-border-radius/BorderRadiusDemo.js +1 -2
  11. package/build/components/oa-component-demo-border-radius/styles.js +2 -4
  12. package/build/components/oa-component-demo-color-variables/ColorVariablesDemo.js +1 -2
  13. package/build/components/oa-component-demo-color-variables/styles.js +2 -4
  14. package/build/components/oa-component-demo-elevation/ElevationDemo.js +1 -2
  15. package/build/components/oa-component-demo-elevation/styles.js +2 -4
  16. package/build/components/oa-component-demo-spacing/SpacingScales.js +1 -2
  17. package/build/components/oa-component-demo-spacing/styles.js +1 -2
  18. package/build/components/oa-component-drawer/CustomDrawer.js +1 -2
  19. package/build/components/oa-component-drawer/styles.js +4 -8
  20. package/build/components/oa-component-info/styles.js +4 -7
  21. package/build/components/oa-component-input/CustomInput.js +0 -1
  22. package/build/components/oa-component-input-number/CustomInputNumber.js +0 -1
  23. package/build/components/oa-component-lable/CustomLable.js +1 -2
  24. package/build/components/oa-component-lable/styles.js +2 -4
  25. package/build/components/oa-component-loader/CustomLoader.js +1 -2
  26. package/build/components/oa-component-modal/CustomModal.js +1 -3
  27. package/build/components/oa-component-modal/styles.js +3 -6
  28. package/build/components/oa-component-notification/CustomNotification.js +9 -8
  29. package/build/components/oa-component-notification/styles.js +2 -4
  30. package/build/components/oa-component-radio/CustomRadio.js +1 -3
  31. package/build/components/oa-component-radio/styles.js +2 -4
  32. package/build/components/oa-component-select/CustomSelect.js +2 -3
  33. package/build/components/oa-component-table/CustomTable.js +1 -2
  34. package/build/components/oa-component-tabs/CustomTabs.js +1 -3
  35. package/build/components/oa-component-tabs/styles.js +2 -4
  36. package/build/components/oa-component-tag/CustomTag.js +1 -2
  37. package/build/components/oa-component-tag/styles.js +3 -6
  38. package/build/components/oa-component-textarea/TextArea.js +1 -2
  39. package/build/components/oa-component-textarea/styles.js +1 -2
  40. package/build/components/oa-component-timeline/CustomTimeline.js +1 -2
  41. package/build/components/oa-component-timeline/styles.js +3 -6
  42. package/build/components/oa-component-timepicker/CustomTimePicker.js +0 -1
  43. package/build/components/oa-component-toggle/CustomToggle.js +3 -4
  44. package/build/components/oa-component-toggle/styles.js +2 -4
  45. package/build/components/oa-component-typography/Typography.js +1 -2
  46. package/build/components/oa-component-typography/styles.js +2 -4
  47. package/build/global-css/BorderRadius.js +1 -2
  48. package/build/global-css/ColorVariables.js +1 -2
  49. package/build/global-css/ColorVariablesMap.js +1 -2
  50. package/build/global-css/Elevation.js +2 -4
  51. package/build/global-css/GridLayout.js +3 -3
  52. package/build/global-css/Typographies.js +1 -2
  53. package/build/global-css/TypographiesMap.js +1 -2
  54. package/build/global-css/color-options.js +2 -4
  55. package/build/global-css/typography-options.js +2 -4
  56. package/build/index.js +2 -2
  57. package/build/utils/get-uuid.js +1 -2
  58. package/build/utils/hex-to-rgb.js +1 -2
  59. package/build/widgets/oa-widget-add-spare-part/AddSparePartWidget.js +3 -8
  60. package/build/widgets/oa-widget-address/styles.js +3 -6
  61. package/build/widgets/oa-widget-approval/ApprovalWidget.js +3 -4
  62. package/build/widgets/oa-widget-approval/styles.js +2 -4
  63. package/build/widgets/oa-widget-close-claim/CloseClaimWidget.js +3 -4
  64. package/build/widgets/oa-widget-close-claim/styles.js +2 -4
  65. package/build/widgets/oa-widget-key-value/KeyValueWidget.js +1 -2
  66. package/build/widgets/oa-widget-key-value/styles.js +4 -8
  67. package/build/widgets/oa-widget-notes/NotesWidget.js +3 -4
  68. package/build/widgets/oa-widget-notes/styles.js +2 -4
  69. package/build/widgets/oa-widget-send-payment-link/SendPaymentLinkWidget.js +2 -2
  70. package/build/widgets/oa-widget-send-payment-link/styles.js +3 -6
  71. package/build/widgets/oa-widget-spare-part/SparePartsWidget.js +4 -6
  72. package/build/widgets/oa-widget-spare-part/styles.js +6 -12
  73. package/build/widgets/oa-widget-stage-timeline/StageTimelineWidget.js +2 -2
  74. package/build/widgets/oa-widget-stage-timeline/styles.js +7 -14
  75. package/build/widgets/oa-widget-track-shipment/TrackShipmentWidget.js +1 -2
  76. package/build/widgets/oa-widget-track-shipment/styles.js +3 -6
  77. package/build/widgets/oa-widget-upload-download/UploadDownloadWidget.js +1 -2
  78. package/build/widgets/oa-widget-upload-download/styles.js +3 -6
  79. package/build/widgets/oa-widget-view-history/styles.js +2 -4
  80. package/build/widgets/oa-widget-view-previous-description/ViewPreviousDescriptionWidget.js +2 -2
  81. package/build/widgets/oa-widget-view-previous-description/styles.js +6 -12
  82. package/package.json +1 -1
@@ -60,7 +60,6 @@ function CustomTimePicker(_ref) {
60
60
  // Error color
61
61
  colorErrorBorderHover: _ColorVariablesMap.default['--color-negative'] // Hover error color should be same as error color
62
62
  },
63
-
64
63
  components: {
65
64
  DatePicker: {
66
65
  // DatePicker key is used for TimePicker component as well.
@@ -13,8 +13,8 @@ var _antd = require("antd");
13
13
  var _styles = require("./styles");
14
14
  const _excluded = ["data-test", "defaultChecked", "disabled", "onChange", "onClick", "checkedLabel", "uncheckedLabel", "size"];
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+ 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); }
17
+ 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; }
18
18
  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); }
19
19
  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; }
20
20
  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; }
@@ -98,5 +98,4 @@ CustomToggle.defaultProps = {
98
98
  uncheckedLabel: null,
99
99
  size: 'large'
100
100
  };
101
- var _default = CustomToggle;
102
- exports.default = _default;
101
+ var _default = exports.default = CustomToggle;
@@ -9,10 +9,8 @@ var _antd = require("antd");
9
9
  var _templateObject; // ToggleStyles.js
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
- var _default = {};
13
- exports.default = _default;
14
- const SwitchStyle = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.ant-switch{\n min-width: 56px;\n height: 32px;\n}\n.ant-switch .ant-switch-handle::before{\n border-radius: 50px;\n}\n.ant-switch .ant-switch-handle{\n width: 28px;\n height: 28px;\n}\n.ant-switch.ant-switch-checked .ant-switch-handle {\n inset-inline-start: calc(100% - 30px);\n}\n.ant-switch-small .ant-switch-handle{\n width: 16px;\n height: 16px;\n}\n.ant-switch.ant-switch-small.ant-switch-checked .ant-switch-handle {\n inset-inline-start: calc(100% - 18px) !important;\n}\n .ant-switch.ant-switch-small {\n min-width: 35px;\n height: 20px;\n"])));
15
- exports.SwitchStyle = SwitchStyle;
12
+ var _default = exports.default = {};
13
+ const SwitchStyle = exports.SwitchStyle = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.ant-switch{\n min-width: 56px;\n height: 32px;\n}\n.ant-switch .ant-switch-handle::before{\n border-radius: 50px;\n}\n.ant-switch .ant-switch-handle{\n width: 28px;\n height: 28px;\n}\n.ant-switch.ant-switch-checked .ant-switch-handle {\n inset-inline-start: calc(100% - 30px);\n}\n.ant-switch-small .ant-switch-handle{\n width: 16px;\n height: 16px;\n}\n.ant-switch.ant-switch-small.ant-switch-checked .ant-switch-handle {\n inset-inline-start: calc(100% - 18px) !important;\n}\n .ant-switch.ant-switch-small {\n min-width: 35px;\n height: 20px;\n"])));
16
14
  const getSwitchConfig = _ref => {
17
15
  let {
18
16
  disabled
@@ -40,5 +40,4 @@ Typography.defaultProps = {
40
40
  'data-test': null,
41
41
  typography: null
42
42
  };
43
- var _default = Typography;
44
- exports.default = _default;
43
+ var _default = exports.default = Typography;
@@ -9,7 +9,5 @@ var _TypographiesMap = _interopRequireDefault(require("../../global-css/Typograp
9
9
  var _templateObject;
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
- var _default = {};
13
- exports.default = _default;
14
- const StyledTypography = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n // If a color is provided then that is used, otherwise the color is inherited from parent.\n color: ", ";\n\n &.type-d1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-d2-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-h1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-h2-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-h3-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n\n &.type-t1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-t2-700 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-b1-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-b2-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-b3-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-button-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-sl1-700 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n letter-spacing: ", "px;\n text-transform: ", ";\n } \n"])), props => props.color !== null ? "var(--color-".concat(props.color, ")") : 'inherit', _TypographiesMap.default['type-d1-500']['font-size'], _TypographiesMap.default['type-d1-500']['font-weight'], _TypographiesMap.default['type-d1-500']['line-height'], _TypographiesMap.default['type-d2-500']['font-size'], _TypographiesMap.default['type-d2-500']['font-weight'], _TypographiesMap.default['type-d2-500']['line-height'], _TypographiesMap.default['type-h1-500']['font-size'], _TypographiesMap.default['type-h1-500']['font-weight'], _TypographiesMap.default['type-h1-500']['line-height'], _TypographiesMap.default['type-h2-500']['font-size'], _TypographiesMap.default['type-h2-500']['font-weight'], _TypographiesMap.default['type-h2-500']['line-height'], _TypographiesMap.default['type-h3-500']['font-size'], _TypographiesMap.default['type-h3-500']['font-weight'], _TypographiesMap.default['type-h3-500']['line-height'], _TypographiesMap.default['type-t1-500']['font-size'], _TypographiesMap.default['type-t1-500']['font-weight'], _TypographiesMap.default['type-t1-500']['line-height'], _TypographiesMap.default['type-t2-700']['font-size'], _TypographiesMap.default['type-t2-700']['font-weight'], _TypographiesMap.default['type-t2-700']['line-height'], _TypographiesMap.default['type-b1-400']['font-size'], _TypographiesMap.default['type-b1-400']['font-weight'], _TypographiesMap.default['type-b1-400']['line-height'], _TypographiesMap.default['type-b2-400']['font-size'], _TypographiesMap.default['type-b2-400']['font-weight'], _TypographiesMap.default['type-b2-400']['line-height'], _TypographiesMap.default['type-b3-400']['font-size'], _TypographiesMap.default['type-b3-400']['font-weight'], _TypographiesMap.default['type-b3-400']['line-height'], _TypographiesMap.default['type-button-500']['font-size'], _TypographiesMap.default['type-button-500']['font-weight'], _TypographiesMap.default['type-button-500']['line-height'], _TypographiesMap.default['type-sl1-700']['font-size'], _TypographiesMap.default['type-sl1-700']['font-weight'], _TypographiesMap.default['type-sl1-700']['line-height'], _TypographiesMap.default['type-sl1-700']['letter-spacing'], _TypographiesMap.default['type-sl1-700']['text-transform']);
15
- exports.StyledTypography = StyledTypography;
12
+ var _default = exports.default = {};
13
+ const StyledTypography = exports.StyledTypography = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n // If a color is provided then that is used, otherwise the color is inherited from parent.\n color: ", ";\n\n &.type-d1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-d2-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-h1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-h2-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-h3-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n\n &.type-t1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-t2-700 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-b1-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-b2-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-b3-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-button-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n &.type-sl1-700 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n letter-spacing: ", "px;\n text-transform: ", ";\n } \n"])), props => props.color !== null ? "var(--color-".concat(props.color, ")") : 'inherit', _TypographiesMap.default['type-d1-500']['font-size'], _TypographiesMap.default['type-d1-500']['font-weight'], _TypographiesMap.default['type-d1-500']['line-height'], _TypographiesMap.default['type-d2-500']['font-size'], _TypographiesMap.default['type-d2-500']['font-weight'], _TypographiesMap.default['type-d2-500']['line-height'], _TypographiesMap.default['type-h1-500']['font-size'], _TypographiesMap.default['type-h1-500']['font-weight'], _TypographiesMap.default['type-h1-500']['line-height'], _TypographiesMap.default['type-h2-500']['font-size'], _TypographiesMap.default['type-h2-500']['font-weight'], _TypographiesMap.default['type-h2-500']['line-height'], _TypographiesMap.default['type-h3-500']['font-size'], _TypographiesMap.default['type-h3-500']['font-weight'], _TypographiesMap.default['type-h3-500']['line-height'], _TypographiesMap.default['type-t1-500']['font-size'], _TypographiesMap.default['type-t1-500']['font-weight'], _TypographiesMap.default['type-t1-500']['line-height'], _TypographiesMap.default['type-t2-700']['font-size'], _TypographiesMap.default['type-t2-700']['font-weight'], _TypographiesMap.default['type-t2-700']['line-height'], _TypographiesMap.default['type-b1-400']['font-size'], _TypographiesMap.default['type-b1-400']['font-weight'], _TypographiesMap.default['type-b1-400']['line-height'], _TypographiesMap.default['type-b2-400']['font-size'], _TypographiesMap.default['type-b2-400']['font-weight'], _TypographiesMap.default['type-b2-400']['line-height'], _TypographiesMap.default['type-b3-400']['font-size'], _TypographiesMap.default['type-b3-400']['font-weight'], _TypographiesMap.default['type-b3-400']['line-height'], _TypographiesMap.default['type-button-500']['font-size'], _TypographiesMap.default['type-button-500']['font-weight'], _TypographiesMap.default['type-button-500']['line-height'], _TypographiesMap.default['type-sl1-700']['font-size'], _TypographiesMap.default['type-sl1-700']['font-weight'], _TypographiesMap.default['type-sl1-700']['line-height'], _TypographiesMap.default['type-sl1-700']['letter-spacing'], _TypographiesMap.default['type-sl1-700']['text-transform']);
@@ -19,5 +19,4 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
19
19
  */
20
20
 
21
21
  const BorderRadius = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.border-radius-full {\n border-radius: 9999px;\n}\n\n.border-radius-xlarge {\n border-radius: 16px;\n}\n\n.border-radius-large {\n border-radius: 12px;\n}\n\n.border-radius-medium {\n border-radius: 8px;\n}\n\n.border-radius-small {\n border-radius: 4px;\n}\n\n.border-radius-xsmall {\n border-radius: 2px;\n}\n\n.border-radius-none {\n border-radius: 0px;\n}\n"])));
22
- var _default = BorderRadius;
23
- exports.default = _default;
22
+ var _default = exports.default = BorderRadius;
@@ -23,5 +23,4 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
23
23
  // TODO: Figure out a way to make this work with storybook.
24
24
  // Can be used to wrap the entire application, to make these styles available to every component
25
25
  const ColorVariables = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n:root {\n --color-primary: ", ";\n --color-primary-hover: ", ";\n --color-background-dark: ", ";\n --color-background-info: ", ";\n --color-positive: ", ";\n --color-background-positive: ", ";\n --color-warning: ", ";\n --color-background-warning: ", ";\n --color-negative: ", ";\n --color-hover-negative: ", ";\n --color-background-negative: ", ";\n --color-primary-content: ", ";\n --color-secondary-content: ", ";\n --color-placeholder-text: ", ";\n --color-disabled-button: ", ";\n --color-divider: ", ";\n --color-secondary-background: ", ";\n --color-primary-background: ", ";\n --color-background-overlay: ", ";\n --color-tags: ", ";\n} \n"])), _ColorVariablesMap.default['--color-primary'], _ColorVariablesMap.default['--color-primary-hover'], _ColorVariablesMap.default['--color-background-dark'], _ColorVariablesMap.default['--color-background-info'], _ColorVariablesMap.default['--color-positive'], _ColorVariablesMap.default['--color-background-positive'], _ColorVariablesMap.default['--color-warning'], _ColorVariablesMap.default['--color-background-warning'], _ColorVariablesMap.default['--color-negative'], _ColorVariablesMap.default['--color-hover-negative'], _ColorVariablesMap.default['--color-background-negative'], _ColorVariablesMap.default['--color-primary-content'], _ColorVariablesMap.default['--color-secondary-content'], _ColorVariablesMap.default['--color-placeholder-text'], _ColorVariablesMap.default['--color-disabled-button'], _ColorVariablesMap.default['--color-divider'], _ColorVariablesMap.default['--color-secondary-background'], _ColorVariablesMap.default['--color-primary-background'], _ColorVariablesMap.default['--color-background-overlay'], _ColorVariablesMap.default['--color-tags']);
26
- var _default = ColorVariables;
27
- exports.default = _default;
26
+ var _default = exports.default = ColorVariables;
@@ -26,5 +26,4 @@ const ColorVariablesMap = {
26
26
  '--color-background-overlay': 'rgba(0, 0, 0, 0.7)',
27
27
  '--color-tags': '#F5C82D'
28
28
  };
29
- var _default = ColorVariablesMap;
30
- exports.default = _default;
29
+ var _default = exports.default = ColorVariablesMap;
@@ -18,7 +18,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
18
18
  </>
19
19
  */
20
20
 
21
- const ElevationMap = {
21
+ const ElevationMap = exports.ElevationMap = {
22
22
  'elevation-white-1': '0px 2px 10px 0px rgba(0, 0, 0, 0.14)',
23
23
  'elevation-above-white-1': '0px -2px 10px 0px rgba(0, 0, 0, 0.14)',
24
24
  'elevation-white-2': '0px 4px 20px 0px rgba(0, 0, 0, 0.14)',
@@ -31,7 +31,5 @@ const ElevationMap = {
31
31
 
32
32
  // TODO: Figure out a way to make this work with storybook.
33
33
  // Can be used to wrap the entire application, to make these styles available to every component
34
- exports.ElevationMap = ElevationMap;
35
34
  const Elevation = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .elevation-white-1 {\n box-shadow: ", ";\n } \n\n .elevation-above-white-1 {\n box-shadow: ", ";\n }\n\n .elevation-white-2 {\n box-shadow: ", ";\n }\n\n .elevation-above-white-2 {\n box-shadow: ", ";\n }\n\n .elevation-white-3 {\n box-shadow: ", ";\n }\n\n .elevation-dark-1 {\n box-shadow: ", ";\n }\n\n .elevation-dark-2 {\n box-shadow: ", ";\n }\n\n .elevation-dark-3 {\n box-shadow: ", ";\n }\n"])), ElevationMap['elevation-white-1'], ElevationMap['elevation-above-white-1'], ElevationMap['elevation-white-2'], ElevationMap['elevation-above-white-2'], ElevationMap['elevation-white-3'], ElevationMap['elevation-dark-1'], ElevationMap['elevation-dark-2'], ElevationMap['elevation-dark-3']);
36
- var _default = Elevation;
37
- exports.default = _default;
35
+ var _default = exports.default = Elevation;
@@ -20,6 +20,6 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
20
20
 
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
- 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 margin: 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 margin: 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@media (min-width: 1200px) {\n .gutter {\n margin: 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"])));
24
- var _default = GridLayout;
25
- exports.default = _default;
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\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"])));
25
+ var _default = exports.default = GridLayout;
@@ -23,5 +23,4 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
23
23
  // TODO: Figure out a way to make this work with storybook.
24
24
  // Can be used to wrap the entire application, to make these styles available to every component
25
25
  const Typographies = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');\n\n * {\n font-family: 'Roboto', sans-serif;\n }\n\n .type-d1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-d2-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-h1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-h2-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-h3-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n\n .type-t1-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-t2-700 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-b1-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-b2-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-b3-400 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-button-500 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n }\n \n .type-sl1-700 {\n font-size: ", "px;\n font-weight: ", ";\n line-height: ", "px;\n letter-spacing: ", "px;\n text-transform: ", ";\n } \n"])), _TypographiesMap.default['type-d1-500']['font-size'], _TypographiesMap.default['type-d1-500']['font-weight'], _TypographiesMap.default['type-d1-500']['line-height'], _TypographiesMap.default['type-d2-500']['font-size'], _TypographiesMap.default['type-d2-500']['font-weight'], _TypographiesMap.default['type-d2-500']['line-height'], _TypographiesMap.default['type-h1-500']['font-size'], _TypographiesMap.default['type-h1-500']['font-weight'], _TypographiesMap.default['type-h1-500']['line-height'], _TypographiesMap.default['type-h2-500']['font-size'], _TypographiesMap.default['type-h2-500']['font-weight'], _TypographiesMap.default['type-h2-500']['line-height'], _TypographiesMap.default['type-h3-500']['font-size'], _TypographiesMap.default['type-h3-500']['font-weight'], _TypographiesMap.default['type-h3-500']['line-height'], _TypographiesMap.default['type-t1-500']['font-size'], _TypographiesMap.default['type-t1-500']['font-weight'], _TypographiesMap.default['type-t1-500']['line-height'], _TypographiesMap.default['type-t2-700']['font-size'], _TypographiesMap.default['type-t2-700']['font-weight'], _TypographiesMap.default['type-t2-700']['line-height'], _TypographiesMap.default['type-b1-400']['font-size'], _TypographiesMap.default['type-b1-400']['font-weight'], _TypographiesMap.default['type-b1-400']['line-height'], _TypographiesMap.default['type-b2-400']['font-size'], _TypographiesMap.default['type-b2-400']['font-weight'], _TypographiesMap.default['type-b2-400']['line-height'], _TypographiesMap.default['type-b3-400']['font-size'], _TypographiesMap.default['type-b3-400']['font-weight'], _TypographiesMap.default['type-b3-400']['line-height'], _TypographiesMap.default['type-button-500']['font-size'], _TypographiesMap.default['type-button-500']['font-weight'], _TypographiesMap.default['type-button-500']['line-height'], _TypographiesMap.default['type-sl1-700']['font-size'], _TypographiesMap.default['type-sl1-700']['font-weight'], _TypographiesMap.default['type-sl1-700']['line-height'], _TypographiesMap.default['type-sl1-700']['letter-spacing'], _TypographiesMap.default['type-sl1-700']['text-transform']);
26
- var _default = Typographies;
27
- exports.default = _default;
26
+ var _default = exports.default = Typographies;
@@ -68,5 +68,4 @@ const TypographiesMap = {
68
68
  'text-transform': 'uppercase'
69
69
  }
70
70
  };
71
- var _default = TypographiesMap;
72
- exports.default = _default;
71
+ var _default = exports.default = TypographiesMap;
@@ -4,7 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = exports.colorOptions = void 0;
7
- const colorOptions = ['primary', 'background-dark', 'background-info', 'primary-hover', 'positive', 'background-positive', 'warning', 'background-warning', 'negative', 'hover-negative', 'background-negative', 'primary-content', 'secondary-content', 'placeholder-text', 'disabled-button', 'divider', 'secondary-background', 'primary-background', 'background-overlay', 'tags'];
8
- exports.colorOptions = colorOptions;
9
- var _default = {};
10
- exports.default = _default;
7
+ const colorOptions = exports.colorOptions = ['primary', 'background-dark', 'background-info', 'primary-hover', 'positive', 'background-positive', 'warning', 'background-warning', 'negative', 'hover-negative', 'background-negative', 'primary-content', 'secondary-content', 'placeholder-text', 'disabled-button', 'divider', 'secondary-background', 'primary-background', 'background-overlay', 'tags'];
8
+ var _default = exports.default = {};
@@ -4,7 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.typographyOptions = exports.default = void 0;
7
- const typographyOptions = ['type-d1-500', 'type-d2-500', 'type-h1-500', 'type-h2-500', 'type-h3-500', 'type-t1-500', 'type-t2-700', 'type-b1-400', 'type-b2-400', 'type-b3-400', 'type-button-500', 'type-sl1-700'];
8
- exports.typographyOptions = typographyOptions;
9
- var _default = {};
10
- exports.default = _default;
7
+ const typographyOptions = exports.typographyOptions = ['type-d1-500', 'type-d2-500', 'type-h1-500', 'type-h2-500', 'type-h3-500', 'type-t1-500', 'type-t2-700', 'type-b1-400', 'type-b2-400', 'type-b3-400', 'type-button-500', 'type-sl1-700'];
8
+ var _default = exports.default = {};
package/build/index.js CHANGED
@@ -387,6 +387,6 @@ var _TrackShipmentWidget = _interopRequireDefault(require("./widgets/oa-widget-t
387
387
  var _UploadDownloadWidget = _interopRequireDefault(require("./widgets/oa-widget-upload-download/UploadDownloadWidget"));
388
388
  var _ViewHistoryWidget = _interopRequireDefault(require("./widgets/oa-widget-view-history/ViewHistoryWidget"));
389
389
  var _ViewPreviousDescriptionWidget = _interopRequireDefault(require("./widgets/oa-widget-view-previous-description/ViewPreviousDescriptionWidget"));
390
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
391
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
390
+ 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); }
391
+ 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; }
392
392
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -24,5 +24,4 @@ const getUniqueId = suffix => {
24
24
  TODO: Add in-depth explanation why this bind operation was necessary.
25
25
  */
26
26
  const getUUID = (_window$crypto$random = (_window = window) === null || _window === void 0 || (_window = _window.crypto) === null || _window === void 0 || (_window = _window.randomUUID) === null || _window === void 0 ? void 0 : _window.bind(window.crypto)) !== null && _window$crypto$random !== void 0 ? _window$crypto$random : getUniqueId;
27
- var _default = getUUID;
28
- exports.default = _default;
27
+ var _default = exports.default = getUUID;
@@ -17,5 +17,4 @@ const hexToRgb = hexCode => {
17
17
  const decimalRgbValues = rgbValues.map(rgbValue => parseInt(rgbValue, 16).toString());
18
18
  return decimalRgbValues;
19
19
  };
20
- var _default = hexToRgb;
21
- exports.default = _default;
20
+ var _default = exports.default = hexToRgb;
@@ -21,8 +21,8 @@ var _CustomInputNumber = _interopRequireDefault(require("../../components/oa-com
21
21
  var _CustomInput = _interopRequireDefault(require("../../components/oa-component-input/CustomInput"));
22
22
  const _excluded = ["onClose", "onSave", "addedSpareList", "allSpareList", "open"];
23
23
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
24
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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); }
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; }
26
26
  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); }
27
27
  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
28
  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; }
@@ -132,7 +132,6 @@ function AddSparePartWidget(_ref) {
132
132
  message: ''
133
133
  // message: 'Enter the discount value.',
134
134
  }],
135
-
136
135
  initialValue: ""
137
136
  }, /*#__PURE__*/_react.default.createElement(_CustomInputNumber.default, {
138
137
  size: "small"
@@ -149,7 +148,6 @@ function AddSparePartWidget(_ref) {
149
148
  message: ''
150
149
  // message: 'Enter the discount value.',
151
150
  }],
152
-
153
151
  initialValue: ""
154
152
  }, /*#__PURE__*/_react.default.createElement(_CustomInputNumber.default, {
155
153
  size: "small"
@@ -166,7 +164,6 @@ function AddSparePartWidget(_ref) {
166
164
  message: ''
167
165
  // message: 'Enter the discount value.',
168
166
  }],
169
-
170
167
  initialValue: ""
171
168
  }, /*#__PURE__*/_react.default.createElement(_CustomInput.default, {
172
169
  size: "small"
@@ -264,7 +261,6 @@ function AddSparePartWidget(_ref) {
264
261
  // }}
265
262
  }))));
266
263
  }
267
-
268
264
  AddSparePartWidget.propTypes = {
269
265
  onClose: _propTypes.default.func.isRequired,
270
266
  onSave: _propTypes.default.func.isRequired,
@@ -286,5 +282,4 @@ AddSparePartWidget.defaultProps = {
286
282
  allSpareList: [],
287
283
  open: true
288
284
  };
289
- var _default = AddSparePartWidget;
290
- exports.default = _default;
285
+ var _default = exports.default = AddSparePartWidget;
@@ -8,9 +8,6 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject, _templateObject2;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- var _default = {};
12
- exports.default = _default;
13
- const AddressContainer = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n gap: 12px; \n width: 100%\n"])));
14
- exports.AddressContainer = AddressContainer;
15
- const AddressLines = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
16
- exports.AddressLines = AddressLines;
11
+ var _default = exports.default = {};
12
+ const AddressContainer = exports.AddressContainer = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n gap: 12px; \n width: 100%\n"])));
13
+ const AddressLines = exports.AddressLines = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
@@ -18,8 +18,8 @@ var _Typography = _interopRequireDefault(require("../../components/oa-component-
18
18
  var _CustomButton = _interopRequireDefault(require("../../components/oa-component-button/CustomButton"));
19
19
  const _excluded = ["children", "description", "docDetails", "approvalForm", "isMandatory", "hasDivider", "isQuestionStyleWidget", "questionId", "title", "viewOnClick", "data-test"];
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
22
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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 && 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
23
  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); }
24
24
  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; }
25
25
  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; }
@@ -165,5 +165,4 @@ ApprovalWidget.defaultProps = {
165
165
  isQuestionStyleWidget: false,
166
166
  viewOnClick: null
167
167
  };
168
- var _default = ApprovalWidget;
169
- exports.default = _default;
168
+ var _default = exports.default = ApprovalWidget;
@@ -8,7 +8,5 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject, _templateObject2;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- const StyledContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\nlabel.ant-radio-wrapper:first-child{\n margin-inline-end: 32px;\n}\n .container {\n margin-bottom: 16px;\n }\n\n h4{\n padding: 0 0 4px;\n }\n.view-button {\n justify-content: start;\n}\n .ant-form-item.custom-radio-group {\n margin-bottom: 12px;\n }\n\n .ant-divider-horizontal {\n margin: 16px 0px 16px;\n }\n\n .ant-form-item .ant-form-item-control-input {\n min-height: auto;\n }\n\n .ant-radio-group-outline {\n display: flex;\n justify-content: start;\n }\n\n textarea {\n padding: 16px; \n min-height: 88px;\n resize: none;\n border-radius: 4px;\n border: 1px solid var(--color-placeholder-text);\n }\n\n h5 {\n margin: 0 0 4px;\n color: var(--color-primary-content);\n }\n\n radiofield label {\n white-space: nowrap;\n }\n\n docdetailstag a {\n white-space: nowrap;\n }\n\n .view-button {\n margin: 8px 0 0 0;\n }\n"])));
12
- exports.StyledContainer = StyledContainer;
13
- const RedText = _styledComponents.default.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: inline-block;\n color: red;\n margin-left: 4px;\n"])));
14
- exports.RedText = RedText;
11
+ const StyledContainer = exports.StyledContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\nlabel.ant-radio-wrapper:first-child{\n margin-inline-end: 32px;\n}\n .container {\n margin-bottom: 16px;\n }\n\n h4{\n padding: 0 0 4px;\n }\n.view-button {\n justify-content: start;\n}\n .ant-form-item.custom-radio-group {\n margin-bottom: 12px;\n }\n\n .ant-divider-horizontal {\n margin: 16px 0px 16px;\n }\n\n .ant-form-item .ant-form-item-control-input {\n min-height: auto;\n }\n\n .ant-radio-group-outline {\n display: flex;\n justify-content: start;\n }\n\n textarea {\n padding: 16px; \n min-height: 88px;\n resize: none;\n border-radius: 4px;\n border: 1px solid var(--color-placeholder-text);\n }\n\n h5 {\n margin: 0 0 4px;\n color: var(--color-primary-content);\n }\n\n radiofield label {\n white-space: nowrap;\n }\n\n docdetailstag a {\n white-space: nowrap;\n }\n\n .view-button {\n margin: 8px 0 0 0;\n }\n"])));
12
+ const RedText = exports.RedText = _styledComponents.default.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: inline-block;\n color: red;\n margin-left: 4px;\n"])));
@@ -16,8 +16,8 @@ var _CustomDrawer = _interopRequireDefault(require("../../components/oa-componen
16
16
  var _CustomSelect = _interopRequireDefault(require("../../components/oa-component-select/CustomSelect"));
17
17
  const _excluded = ["visible", "onCancel", "onConfirm", "fraudReasons", "closingClaimReasons", "serviceRequestData", "data-test"];
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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); }
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
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
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; }
23
23
  const {
@@ -189,5 +189,4 @@ CloseClaimWidget.propTypes = {
189
189
  CloseClaimWidget.defaultProps = {
190
190
  'data-test': null
191
191
  };
192
- var _default = CloseClaimWidget;
193
- exports.default = _default;
192
+ var _default = exports.default = CloseClaimWidget;
@@ -8,7 +8,5 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- var _default = {};
12
- exports.default = _default;
13
- const AsideContainer = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\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"])));
14
- exports.AsideContainer = AsideContainer;
11
+ var _default = exports.default = {};
12
+ const AsideContainer = exports.AsideContainer = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\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"])));
@@ -55,5 +55,4 @@ KeyValueDataView.propTypes = {
55
55
  KeyValueDataView.defaultProps = {
56
56
  columnLayout: []
57
57
  };
58
- var _default = KeyValueDataView;
59
- exports.default = _default;
58
+ var _default = exports.default = KeyValueDataView;
@@ -8,11 +8,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject, _templateObject2, _templateObject3, _templateObject4; // KeyValueWidgetStyles.js
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- const KeyValueGroup = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .col-md-4:last-child {\n margin: 0;\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 max-width: 180px;\n font-style: normal;\n color: var(--color-secondary-content);\n overflow: hidden;\n text-overflow: ellipsis;\n }\n"])));
12
- exports.KeyValueGroup = KeyValueGroup;
13
- const 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 margin: 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 margin: 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 margin: 0;\n }\n}\n"])));
14
- exports.KeyValueGroups = KeyValueGroups;
15
- const StyledBold = _styledComponents.default.b(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n color: var(--color-primary-content);\n font-weight: 400;\n"])));
16
- exports.StyledBold = StyledBold;
17
- const StyledSpan = _styledComponents.default.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n /* vertical-align: bottom; */\n color: var(--color-secondary-content);\n font-weight: 400;\n word-break: break-word;\n"])));
18
- exports.StyledSpan = StyledSpan;
11
+ const KeyValueGroup = exports.KeyValueGroup = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .col-md-4:last-child {\n margin: 0;\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 max-width: 180px;\n font-style: normal;\n color: var(--color-secondary-content);\n overflow: hidden;\n text-overflow: ellipsis;\n }\n"])));
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
+ const StyledBold = exports.StyledBold = _styledComponents.default.b(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n color: var(--color-primary-content);\n font-weight: 400;\n"])));
14
+ const StyledSpan = exports.StyledSpan = _styledComponents.default.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n /* vertical-align: bottom; */\n color: var(--color-secondary-content);\n font-weight: 400;\n word-break: break-word;\n"])));
@@ -15,8 +15,8 @@ var _CustomInput = _interopRequireDefault(require("../../components/oa-component
15
15
  var _styles = require("./styles");
16
16
  const _excluded = ["data-test", "disabled", "records", "tableBorder", "onBlur"];
17
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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); }
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
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
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
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; }
@@ -117,5 +117,4 @@ NotesWidget.defaultProps = {
117
117
  records: [],
118
118
  tableBorder: false
119
119
  };
120
- var _default = NotesWidget;
121
- exports.default = _default;
120
+ var _default = exports.default = NotesWidget;
@@ -8,7 +8,5 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- var _default = {};
12
- exports.default = _default;
13
- const NoNotesMessage = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n input{\n height: 30px;\n }\n"])));
14
- exports.NoNotesMessage = NoNotesMessage;
11
+ var _default = exports.default = {};
12
+ const NoNotesMessage = exports.NoNotesMessage = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n input{\n height: 30px;\n }\n"])));
@@ -16,8 +16,8 @@ var _CustomRadio = _interopRequireDefault(require("../../components/oa-component
16
16
  var _CustomInput = _interopRequireDefault(require("../../components/oa-component-input/CustomInput"));
17
17
  var _Typography = _interopRequireDefault(require("../../components/oa-component-typography/Typography"));
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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); }
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
21
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
22
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23
23
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -8,11 +8,8 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _templateObject, _templateObject2, _templateObject3;
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
- const RadioContainer = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n h2{\n color: var(--color-primary-content);\n }\n \n display: flex;\n flex-direction: column;\n gap: 16px;\n margin-bottom: 44px;\n .ant-form-item .ant-form-item-label >label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before{\n position: absolute;\n right: 0;\n }\n"])));
11
+ const RadioContainer = exports.RadioContainer = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n h2{\n color: var(--color-primary-content);\n }\n \n display: flex;\n flex-direction: column;\n gap: 16px;\n margin-bottom: 44px;\n .ant-form-item .ant-form-item-label >label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before{\n position: absolute;\n right: 0;\n }\n"])));
12
12
 
13
13
  // This helps make the radio buttons aligned in uniform columns
14
- exports.RadioContainer = RadioContainer;
15
- const RadioGrid = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n"])));
16
- exports.RadioGrid = RadioGrid;
17
- const FormContainer = _styledComponents.default.aside(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n .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 }\n .ant-form-item {\n margin-bottom: 36px;\n }\n label{\n display: block;\n }\n .ant-form-item .ant-form-item-label{\n text-align: start;\n }\n .ant-row{\n flex-direction: column;\n }\n"])));
18
- exports.FormContainer = FormContainer;
14
+ const RadioGrid = exports.RadioGrid = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n"])));
15
+ const FormContainer = exports.FormContainer = _styledComponents.default.aside(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n .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 }\n .ant-form-item {\n margin-bottom: 36px;\n }\n label{\n display: block;\n }\n .ant-form-item .ant-form-item-label{\n text-align: start;\n }\n .ant-row{\n flex-direction: column;\n }\n"])));
@@ -20,8 +20,8 @@ var _CustomInfo = _interopRequireDefault(require("../../components/oa-component-
20
20
  var _MaterialIcon = _interopRequireDefault(require("../../components/oa-component-icons/MaterialIcon"));
21
21
  var _templateObject, _templateObject2;
22
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
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 && 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
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
26
26
  const FlexContainer = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n .text-only-size{\n justify-content: left;\n }\n small{\n color: var(--color-secondary-content);\n display: block;\n }\n"])));
27
27
  const CostBreakdown = _styledComponents.default.aside(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: var(--color-secondary-background);\n padding: 0 12px;\n border-radius: 4px;\n ul{\n display: flex;\n margin: 0;\n border-bottom: 1px solid var(--color-divider);\n padding: 12px 0;\n }\n ul:last-child{\n border-bottom: none;\n }\n ul li{\n width: 100%;\n list-style: none;\n }\n ul li:first-child{\n color: var(--color-primary-content);\n font-style: normal;\n }\n ul li:last-child{\n font-style: normal;\n color: var(--color-secondary-content);\n }\n"])));
@@ -79,7 +79,7 @@ function SparePartsWidget(_ref) {
79
79
  const [sparePartList, setSparePartList] = (0, _react.useState)([]);
80
80
  const [actionList, setActionList] = (0, _react.useState)(false);
81
81
  (0, _react.useEffect)(() => {
82
- var tempSparePartsList = [...scopeDetails.unCoveredScope, ...scopeDetails.coveredScope];
82
+ const tempSparePartsList = [...scopeDetails.unCoveredScope, ...scopeDetails.coveredScope];
83
83
  setActionList(tempSparePartsList.some(sparePart => {
84
84
  var _sparePart$action;
85
85
  return (sparePart === null || sparePart === void 0 || (_sparePart$action = sparePart.action) === null || _sparePart$action === void 0 ? void 0 : _sparePart$action.length) > 0;
@@ -158,7 +158,6 @@ function SparePartsWidget(_ref) {
158
158
  return null; // To satisfy React key warning
159
159
  })));
160
160
  }
161
-
162
161
  return null;
163
162
  }
164
163
 
@@ -188,5 +187,4 @@ SparePartsWidget.defaultProps = {
188
187
  },
189
188
  actions: null
190
189
  };
191
- var _default = SparePartsWidget;
192
- exports.default = _default;
190
+ var _default = exports.default = SparePartsWidget;