@rh-support/manage 2.1.13 → 2.1.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ManageTabs.d.ts","sourceRoot":"","sources":["../../src/ManageTabs.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAmBvD,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC;CACvC;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eAqIvC"}
1
+ {"version":3,"file":"ManageTabs.d.ts","sourceRoot":"","sources":["../../src/ManageTabs.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAmBvD,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC;CACvC;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eAsIvC"}
@@ -109,6 +109,7 @@ export function ManageTabs(props) {
109
109
  if (tabsToRender.length === 1)
110
110
  return (React.createElement("div", { className: "grid-main manage" },
111
111
  React.createElement(ErrorBoundary, { isPageLevelError: true }, (_b = (_a = tabsToRender[0]) === null || _a === void 0 ? void 0 : _a.component) !== null && _b !== void 0 ? _b : React.createElement(React.Fragment, null))));
112
+ // To get selected index
112
113
  const getSelectedIndex = () => {
113
114
  if (isOnlyBasePath)
114
115
  return 0;
@@ -1 +1 @@
1
- {"version":3,"file":"PreferenceSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/ManagePreferences/components/PreferenceSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,UAAU,MAAM;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,GAAG,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,QAAQ,EAAE,CAAC,KAAK,KAAA,EAAE,SAAS,KAAA,EAAE,aAAa,KAAA,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5D,QAAQ,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;CAClC;AACD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,MAAM,eA6CrF"}
1
+ {"version":3,"file":"PreferenceSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/ManagePreferences/components/PreferenceSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,UAAU,MAAM;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,GAAG,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,QAAQ,EAAE,CAAC,KAAK,KAAA,EAAE,SAAS,KAAA,EAAE,aAAa,KAAA,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5D,QAAQ,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;CAClC;AACD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,MAAM,eA8CrF"}
@@ -18,6 +18,7 @@ export function PreferenceSelect({ id, label, selections, children, onSelect })
18
18
  const onSelectToggle = (isOpen) => {
19
19
  setIsOpen(isOpen);
20
20
  };
21
+ // To handle select
21
22
  const onSelectLocal = (event, selection, isPlaceholder) => __awaiter(this, void 0, void 0, function* () {
22
23
  if (isPlaceholder)
23
24
  defaultClearSelection();
@@ -1 +1 @@
1
- {"version":3,"file":"PreferenceSwitch.d.ts","sourceRoot":"","sources":["../../../../../src/components/ManagePreferences/components/PreferenceSwitch.tsx"],"names":[],"mappings":"AAKA,UAAU,MAAM;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,GAAG,CAAC;IACX,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnD,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,MAAM,eA+B3F"}
1
+ {"version":3,"file":"PreferenceSwitch.d.ts","sourceRoot":"","sources":["../../../../../src/components/ManagePreferences/components/PreferenceSwitch.tsx"],"names":[],"mappings":"AAKA,UAAU,MAAM;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,GAAG,CAAC;IACX,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnD,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,MAAM,eAgC3F"}
@@ -15,6 +15,7 @@ export function PreferenceSwitch({ onSwitchChange, className, id, label, isCheck
15
15
  const [isSwitchLoading, setIsSwitchLoading] = useState(false);
16
16
  let isCheckedLocal = isChecked;
17
17
  const { t } = useTranslation();
18
+ // To handle change
18
19
  const onChangeLocal = (checked) => __awaiter(this, void 0, void 0, function* () {
19
20
  try {
20
21
  setIsSwitchLoading(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/manage",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "Customer Support Manage App",
5
5
  "author": "Jordan Eudy <jeudy100@gmail.com>",
6
6
  "homepage": "",
@@ -46,7 +46,7 @@
46
46
  "prepublishOnly": "npm run build"
47
47
  },
48
48
  "peerDependencies": {
49
- "@cee-eng/hydrajs": "4.15.87",
49
+ "@cee-eng/hydrajs": "4.16.11",
50
50
  "@patternfly/patternfly": "4.196.7",
51
51
  "@patternfly/pfe-accordion": "1.12.3",
52
52
  "@patternfly/pfe-collapse": "1.12.3",
@@ -77,19 +77,19 @@
77
77
  "typescript": "4.3.5"
78
78
  },
79
79
  "dependencies": {
80
- "@cee-eng/hydrajs": "4.15.87",
80
+ "@cee-eng/hydrajs": "4.16.11",
81
81
  "@patternfly/patternfly": "4.196.7",
82
82
  "@patternfly/pfe-accordion": "1.12.3",
83
83
  "@patternfly/pfe-collapse": "1.12.3",
84
84
  "@patternfly/pfe-tabs": "1.12.3",
85
85
  "@patternfly/react-core": "4.264.0",
86
86
  "@patternfly/react-table": "4.111.33",
87
- "@rh-support/components": "2.1.11",
87
+ "@rh-support/components": "2.1.13",
88
88
  "@rh-support/configs": "2.0.9",
89
- "@rh-support/react-context": "2.1.11",
89
+ "@rh-support/react-context": "2.1.13",
90
90
  "@rh-support/types": "2.0.2",
91
- "@rh-support/user-permissions": "2.1.5",
92
- "@rh-support/utils": "2.1.3",
91
+ "@rh-support/user-permissions": "2.1.7",
92
+ "@rh-support/utils": "2.1.4",
93
93
  "@types/react-beautiful-dnd": "^13.0.0",
94
94
  "i18next": ">=17.0.1",
95
95
  "lodash": ">=4.17.15",
@@ -103,5 +103,5 @@
103
103
  "defaults and supports es6-module",
104
104
  "maintained node versions"
105
105
  ],
106
- "gitHead": "056d618a88448b91d76813aa88c4d441aeb7d665"
106
+ "gitHead": "3cb1c9deeb0f55a0df73b0f0845194a72cbac688"
107
107
  }