@ansible/ansible-ui-framework 2.4.2680 → 2.4.2681

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,4 +1,4 @@
1
- import { u as He, j as M } from "./index-D0UiKTWo.js";
1
+ import { u as He, j as M } from "./index-Cbq4EFFV.js";
2
2
  import { useContext as je, createContext as Oe, useState as Se, useEffect as Be, useRef as Ze } from "react";
3
3
  import Ye from "react-dom";
4
4
  import { A as Te } from "./ansible-chatbot-jXPBfTRi.js";
@@ -1,4 +1,4 @@
1
- import { u as a, j as e, d as i } from "./index-D0UiKTWo.js";
1
+ import { u as a, j as e, d as i } from "./index-Cbq4EFFV.js";
2
2
  import { t as r, a as s, X as o } from "./ansible-chatbot-jXPBfTRi.js";
3
3
  import "@patternfly/react-core";
4
4
  import "react";
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { FieldPath, FieldPathValue, FieldValues, Validate, ValidationRule } from 'react-hook-form';
3
- export type PageFormTextInputProps<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TSelection extends FieldValues = FieldValues> = {
3
+ type PageFormTextInputBaseProps<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TSelection extends FieldValues = FieldValues> = {
4
4
  id?: string;
5
5
  name: TFieldName;
6
6
  type?: 'text' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'time' | 'url';
@@ -24,11 +24,18 @@ export type PageFormTextInputProps<TFieldValues extends FieldValues = FieldValue
24
24
  selectValue?: (selection: TSelection) => FieldPathValue<TSelection, FieldPath<TSelection>>;
25
25
  selectOpen?: (callback: (selection: TSelection) => void, title: string) => void;
26
26
  autoFocus?: boolean;
27
- autoComplete?: string;
28
27
  defaultValue?: FieldPathValue<TFieldValues, TFieldName>;
29
28
  enableUndo?: boolean;
30
29
  enableReset?: boolean;
31
30
  shouldUnregister?: boolean;
32
31
  fullWidth?: boolean;
33
32
  };
33
+ export type PageFormTextInputProps<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TSelection extends FieldValues = FieldValues> = PageFormTextInputBaseProps<TFieldValues, TFieldName, TSelection> & ({
34
+ type: 'password';
35
+ autoComplete?: 'new-password' | 'current-password' | 'off';
36
+ } | {
37
+ type?: 'text' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'search' | 'tel' | 'time' | 'url';
38
+ autoComplete?: string;
39
+ });
34
40
  export declare function PageFormTextInput<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TSelection extends FieldValues = FieldValues>(props: PageFormTextInputProps<TFieldValues, TFieldName, TSelection>): import("react/jsx-runtime").JSX.Element;
41
+ export {};
@@ -3049,7 +3049,7 @@ const g8 = an({
3049
3049
  chatbotState: "disabled",
3050
3050
  setChatbotState: () => {
3051
3051
  }
3052
- }), m8 = () => kt(g8), y8 = dE(() => import("./ChatbotPortal-CteaGTH4.js")), v8 = () => /* @__PURE__ */ p.jsx(fE, { fallback: /* @__PURE__ */ p.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ p.jsx(y8, {}) }), x8 = dE(() => import("./ChatbotSideBarHeader-d_4Xnufk.js")), b8 = () => {
3052
+ }), m8 = () => kt(g8), y8 = dE(() => import("./ChatbotPortal-C35ASh-B.js")), v8 = () => /* @__PURE__ */ p.jsx(fE, { fallback: /* @__PURE__ */ p.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ p.jsx(y8, {}) }), x8 = dE(() => import("./ChatbotSideBarHeader-DQTsn4I-.js")), b8 = () => {
3053
3053
  const { t: e } = Pe();
3054
3054
  return /* @__PURE__ */ p.jsx(fE, { fallback: /* @__PURE__ */ p.jsx("span", { children: e("Loading...") }), children: /* @__PURE__ */ p.jsx(x8, {}) });
3055
3055
  }, _8 = Te(PR)`
@@ -43619,7 +43619,7 @@ function mfe(e) {
43619
43619
  readOnlyVariant: d ? "default" : void 0,
43620
43620
  isDisabled: u,
43621
43621
  autoFocus: S,
43622
- autoComplete: C || "off",
43622
+ autoComplete: C || (t === "password" ? "new-password" : "off"),
43623
43623
  "data-cy": E
43624
43624
  }
43625
43625
  ) }),
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as s, B as o, A as t, C as r, aW as l, aY as i, aV as n, aX as g, aZ as b, aU as u, aQ as P, D as d, af as m, ae as C, E as c, bo as T, bm as D, F as p, G as S, bs as h, ab as F, H as v, k as B, I as f, L as I, a2 as A, P as y, r as N, q as x, s as k, t as w, w as E, y as O, z as L, J as M, M as V, N as R, Q as W, O as j, K as G, U as z, X as U, V as H, Y as q, aP as Q, Z as J, _ as K, a4 as X, W as Y, an as Z, aq as _, ac as $, ad as aa, ao as ea, ai as sa, ap as oa, aj as ta, ak as ra, al as la, ar as ia, as as na, at as ga, au as ba, av as ua, aF as Pa, aH as da, ay as ma, a9 as Ca, aa as ca, aw as Ta, aL as Da, aM as pa, bg as Sa, aN as ha, aR as Fa, aT as va, bf as Ba, ax as fa, bh as Ia, bj as Aa, br as ya, R as Na, S as xa, a8 as ka, aO as wa, a_ as Ea, T as Oa, bn as La, bi as Ma, bq as Va, bp as Ra, aC as Wa, aD as ja, aE as Ga, bz as za, by as Ua, bx as Ha, bw as qa, x as Qa, bB as Ja, aA as Ka, g as Xa, bk as Ya, ah as Za, bA as _a, a as $a, e as ae, c as ee, f as se, p as oe, i as te, h as re, b as le, az as ie, aB as ne, bl as ge, n as be, a0 as ue, a1 as Pe, aS as de, b8 as me, b7 as Ce, b3 as ce, b5 as Te, b6 as De, bd as pe, am as Se, bt as he, aJ as Fe, bu as ve, a3 as Be, o as fe, v as Ie, a6 as Ae, a5 as ye, aI as Ne, aG as xe, aK as ke, u as we, be as Ee, l as Oe, a7 as Le, ba as Me, bb as Ve, bc as Re, b9 as We, bv as je, b1 as Ge, b4 as ze, b0 as Ue, b2 as He, a$ as qe, m as Qe, ag as Je } from "./index-D0UiKTWo.js";
1
+ import { $ as s, B as o, A as t, C as r, aW as l, aY as i, aV as n, aX as g, aZ as b, aU as u, aQ as P, D as d, af as m, ae as C, E as c, bo as T, bm as D, F as p, G as S, bs as h, ab as F, H as v, k as B, I as f, L as I, a2 as A, P as y, r as N, q as x, s as k, t as w, w as E, y as O, z as L, J as M, M as V, N as R, Q as W, O as j, K as G, U as z, X as U, V as H, Y as q, aP as Q, Z as J, _ as K, a4 as X, W as Y, an as Z, aq as _, ac as $, ad as aa, ao as ea, ai as sa, ap as oa, aj as ta, ak as ra, al as la, ar as ia, as as na, at as ga, au as ba, av as ua, aF as Pa, aH as da, ay as ma, a9 as Ca, aa as ca, aw as Ta, aL as Da, aM as pa, bg as Sa, aN as ha, aR as Fa, aT as va, bf as Ba, ax as fa, bh as Ia, bj as Aa, br as ya, R as Na, S as xa, a8 as ka, aO as wa, a_ as Ea, T as Oa, bn as La, bi as Ma, bq as Va, bp as Ra, aC as Wa, aD as ja, aE as Ga, bz as za, by as Ua, bx as Ha, bw as qa, x as Qa, bB as Ja, aA as Ka, g as Xa, bk as Ya, ah as Za, bA as _a, a as $a, e as ae, c as ee, f as se, p as oe, i as te, h as re, b as le, az as ie, aB as ne, bl as ge, n as be, a0 as ue, a1 as Pe, aS as de, b8 as me, b7 as Ce, b3 as ce, b5 as Te, b6 as De, bd as pe, am as Se, bt as he, aJ as Fe, bu as ve, a3 as Be, o as fe, v as Ie, a6 as Ae, a5 as ye, aI as Ne, aG as xe, aK as ke, u as we, be as Ee, l as Oe, a7 as Le, ba as Me, bb as Ve, bc as Re, b9 as We, bv as je, b1 as Ge, b4 as ze, b0 as Ue, b2 as He, a$ as qe, m as Qe, ag as Je } from "./index-Cbq4EFFV.js";
2
2
  export {
3
3
  s as BulkActionDialog,
4
4
  o as BulkSelector,
package/index.umd.cjs CHANGED
@@ -562,7 +562,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
562
562
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vge(e,t){if(e){if(typeof e=="string")return CU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CU(e,t)}}function CU(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vat(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,i,l;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));a=!0);}catch(s){o=!0,l=s}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function Yat(e){if(Array.isArray(e))return e}var Kat=typeof wU=="function"?wU:wU.default,Qat="file-invalid-type",Xat="file-too-large",Zat="file-too-small",Jat="too-many-files",$at=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=t.split(","),r=n.length>1?"one of ".concat(n.join(", ")):n[0];return{code:Qat,message:"File type must be ".concat(r)}},hge=function(t){return{code:Xat,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},bge=function(t){return{code:Zat,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},eot={code:Jat,message:"Too many files"};function _ge(e,t){var n=e.type==="application/x-moz-file"||Kat(e,t);return[n,n?null:$at(t)]}function yge(e,t,n){if($v(e.size))if($v(t)&&$v(n)){if(e.size>n)return[!1,hge(n)];if(e.size<t)return[!1,bge(t)]}else{if($v(t)&&e.size<t)return[!1,bge(t)];if($v(n)&&e.size>n)return[!1,hge(n)]}return[!0,null]}function $v(e){return e!=null}function tot(e){var t=e.files,n=e.accept,r=e.minSize,a=e.maxSize,o=e.multiple,i=e.maxFiles,l=e.validator;return!o&&t.length>1||o&&i>=1&&t.length>i?!1:t.every(function(s){var c=_ge(s,n),p=qE(c,1),f=p[0],g=yge(s,r,a),v=qE(g,1),b=v[0],y=l?l(s):null;return f&&b&&!y})}function iO(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function lO(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function xge(e){e.preventDefault()}function not(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function rot(e){return e.indexOf("Edge/")!==-1}function aot(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return not(e)||rot(e)}function Iu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];return t.some(function(l){return!iO(r)&&l&&l.apply(void 0,[r].concat(o)),iO(r)})}}function oot(){return"showOpenFilePicker"in window}function iot(e){if($v(e)){var t=Object.entries(e).filter(function(n){var r=qE(n,2),a=r[0],o=r[1],i=!0;return Sge(a)||(console.warn('Skipped "'.concat(a,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),i=!1),(!Array.isArray(o)||!o.every(Ege))&&(console.warn('Skipped "'.concat(a,'" because an invalid file extension was provided.')),i=!1),i}).reduce(function(n,r){var a=qE(r,2),o=a[0],i=a[1];return mge(mge({},n),{},gge({},o,i))},{});return[{description:"Files",accept:t}]}return e}function lot(e){if($v(e))return Object.entries(e).reduce(function(t,n){var r=qE(n,2),a=r[0],o=r[1];return[].concat(pge(t),[a],pge(o))},[]).filter(function(t){return Sge(t)||Ege(t)}).join(",")}function sot(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function cot(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function Sge(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function Ege(e){return/^.*\.[\w]+$/.test(e)}var dot=["children"],uot=["open"],pot=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],fot=["refKey","onChange","onClick"];function mot(e){return hot(e)||vot(e)||wge(e)||got()}function got(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
563
563
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vot(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hot(e){if(Array.isArray(e))return TU(e)}function kU(e,t){return yot(e)||_ot(e,t)||wge(e,t)||bot()}function bot(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
564
564
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wge(e,t){if(e){if(typeof e=="string")return TU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TU(e,t)}}function TU(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _ot(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,i,l;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));a=!0);}catch(s){o=!0,l=s}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function yot(e){if(Array.isArray(e))return e}function Cge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function xa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cge(Object(n),!0).forEach(function(r){RU(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cge(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function RU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sO(e,t){if(e==null)return{};var n=xot(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xot(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}var IU=w.forwardRef(function(e,t){var n=e.children,r=sO(e,dot),a=Tge(r),o=a.open,i=sO(a,uot);return w.useImperativeHandle(t,function(){return{open:o}},[o]),w.createElement(w.Fragment,null,n(xa(xa({},i),{},{open:o})))});IU.displayName="Dropzone";var kge={disabled:!1,getFilesFromEvent:Nat,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};IU.defaultProps=kge,IU.propTypes={children:Wr.func,accept:Wr.objectOf(Wr.arrayOf(Wr.string)),multiple:Wr.bool,preventDropOnDocument:Wr.bool,noClick:Wr.bool,noKeyboard:Wr.bool,noDrag:Wr.bool,noDragEventsBubbling:Wr.bool,minSize:Wr.number,maxSize:Wr.number,maxFiles:Wr.number,disabled:Wr.bool,getFilesFromEvent:Wr.func,onFileDialogCancel:Wr.func,onFileDialogOpen:Wr.func,useFsAccessApi:Wr.bool,autoFocus:Wr.bool,onDragEnter:Wr.func,onDragLeave:Wr.func,onDragOver:Wr.func,onDrop:Wr.func,onDropAccepted:Wr.func,onDropRejected:Wr.func,onError:Wr.func,validator:Wr.func};var OU={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Tge(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=xa(xa({},kge),e),n=t.accept,r=t.disabled,a=t.getFilesFromEvent,o=t.maxSize,i=t.minSize,l=t.multiple,s=t.maxFiles,c=t.onDragEnter,p=t.onDragLeave,f=t.onDragOver,g=t.onDrop,v=t.onDropAccepted,b=t.onDropRejected,y=t.onFileDialogCancel,x=t.onFileDialogOpen,E=t.useFsAccessApi,C=t.autoFocus,I=t.preventDropOnDocument,N=t.noClick,O=t.noKeyboard,P=t.noDrag,M=t.noDragEventsBubbling,L=t.onError,H=t.validator,U=w.useMemo(function(){return lot(n)},[n]),F=w.useMemo(function(){return iot(n)},[n]),j=w.useMemo(function(){return typeof x=="function"?x:Rge},[x]),W=w.useMemo(function(){return typeof y=="function"?y:Rge},[y]),Y=w.useRef(null),K=w.useRef(null),ae=w.useReducer(Sot,OU),oe=kU(ae,2),te=oe[0],ee=oe[1],G=te.isFocused,re=te.isFileDialogActive,ce=w.useRef(typeof window<"u"&&window.isSecureContext&&E&&oot()),$=function(){!ce.current&&re&&setTimeout(function(){if(K.current){var Se=K.current.files;Se.length||(ee({type:"closeDialog"}),W())}},300)};w.useEffect(function(){return window.addEventListener("focus",$,!1),function(){window.removeEventListener("focus",$,!1)}},[K,re,W,ce]);var de=w.useRef([]),be=function(Se){Y.current&&Y.current.contains(Se.target)||(Se.preventDefault(),de.current=[])};w.useEffect(function(){return I&&(document.addEventListener("dragover",xge,!1),document.addEventListener("drop",be,!1)),function(){I&&(document.removeEventListener("dragover",xge),document.removeEventListener("drop",be))}},[Y,I]),w.useEffect(function(){return!r&&C&&Y.current&&Y.current.focus(),function(){}},[Y,C,r]);var pe=w.useCallback(function(ve){L?L(ve):console.error(ve)},[L]),Te=w.useCallback(function(ve){ve.preventDefault(),ve.persist(),Ee(ve),de.current=[].concat(mot(de.current),[ve.target]),lO(ve)&&Promise.resolve(a(ve)).then(function(Se){if(!(iO(ve)&&!M)){var _e=Se.length,Ae=_e>0&&tot({files:Se,accept:U,minSize:i,maxSize:o,multiple:l,maxFiles:s,validator:H}),ze=_e>0&&!Ae;ee({isDragAccept:Ae,isDragReject:ze,isDragActive:!0,type:"setDraggedFiles"}),c&&c(ve)}}).catch(function(Se){return pe(Se)})},[a,c,pe,M,U,i,o,l,s,H]),Ce=w.useCallback(function(ve){ve.preventDefault(),ve.persist(),Ee(ve);var Se=lO(ve);if(Se&&ve.dataTransfer)try{ve.dataTransfer.dropEffect="copy"}catch{}return Se&&f&&f(ve),!1},[f,M]),he=w.useCallback(function(ve){ve.preventDefault(),ve.persist(),Ee(ve);var Se=de.current.filter(function(Ae){return Y.current&&Y.current.contains(Ae)}),_e=Se.indexOf(ve.target);_e!==-1&&Se.splice(_e,1),de.current=Se,!(Se.length>0)&&(ee({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),lO(ve)&&p&&p(ve))},[Y,p,M]),xe=w.useCallback(function(ve,Se){var _e=[],Ae=[];ve.forEach(function(ze){var De=_ge(ze,U),Ye=kU(De,2),Xe=Ye[0],yt=Ye[1],ut=yge(ze,i,o),Yt=kU(ut,2),Rt=Yt[0],ye=Yt[1],Le=H?H(ze):null;if(Xe&&Rt&&!Le)_e.push(ze);else{var Ze=[yt,ye];Le&&(Ze=Ze.concat(Le)),Ae.push({file:ze,errors:Ze.filter(function(At){return At})})}}),(!l&&_e.length>1||l&&s>=1&&_e.length>s)&&(_e.forEach(function(ze){Ae.push({file:ze,errors:[eot]})}),_e.splice(0)),ee({acceptedFiles:_e,fileRejections:Ae,isDragReject:Ae.length>0,type:"setFiles"}),g&&g(_e,Ae,Se),Ae.length>0&&b&&b(Ae,Se),_e.length>0&&v&&v(_e,Se)},[ee,l,U,i,o,s,g,v,b,H]),Pe=w.useCallback(function(ve){ve.preventDefault(),ve.persist(),Ee(ve),de.current=[],lO(ve)&&Promise.resolve(a(ve)).then(function(Se){iO(ve)&&!M||xe(Se,ve)}).catch(function(Se){return pe(Se)}),ee({type:"reset"})},[a,xe,pe,M]),ie=w.useCallback(function(){if(ce.current){ee({type:"openDialog"}),j();var ve={multiple:l,types:F};window.showOpenFilePicker(ve).then(function(Se){return a(Se)}).then(function(Se){xe(Se,null),ee({type:"closeDialog"})}).catch(function(Se){sot(Se)?(W(Se),ee({type:"closeDialog"})):cot(Se)?(ce.current=!1,K.current?(K.current.value=null,K.current.click()):pe(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):pe(Se)});return}K.current&&(ee({type:"openDialog"}),j(),K.current.value=null,K.current.click())},[ee,j,W,E,xe,pe,F,l]),lt=w.useCallback(function(ve){!Y.current||!Y.current.isEqualNode(ve.target)||(ve.key===" "||ve.key==="Enter"||ve.keyCode===32||ve.keyCode===13)&&(ve.preventDefault(),ie())},[Y,ie]),Me=w.useCallback(function(){ee({type:"focus"})},[]),ot=w.useCallback(function(){ee({type:"blur"})},[]),_t=w.useCallback(function(){N||(aot()?setTimeout(ie,0):ie())},[N,ie]),st=function(Se){return r?null:Se},ue=function(Se){return O?null:st(Se)},fe=function(Se){return P?null:st(Se)},Ee=function(Se){M&&Se.stopPropagation()},We=w.useMemo(function(){return function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Se=ve.refKey,_e=Se===void 0?"ref":Se,Ae=ve.role,ze=ve.onKeyDown,De=ve.onFocus,Ye=ve.onBlur,Xe=ve.onClick,yt=ve.onDragEnter,ut=ve.onDragOver,Yt=ve.onDragLeave,Rt=ve.onDrop,ye=sO(ve,pot);return xa(xa(RU({onKeyDown:ue(Iu(ze,lt)),onFocus:ue(Iu(De,Me)),onBlur:ue(Iu(Ye,ot)),onClick:st(Iu(Xe,_t)),onDragEnter:fe(Iu(yt,Te)),onDragOver:fe(Iu(ut,Ce)),onDragLeave:fe(Iu(Yt,he)),onDrop:fe(Iu(Rt,Pe)),role:typeof Ae=="string"&&Ae!==""?Ae:"presentation"},_e,Y),!r&&!O?{tabIndex:0}:{}),ye)}},[Y,lt,Me,ot,_t,Te,Ce,he,Pe,O,P,r]),Qe=w.useCallback(function(ve){ve.stopPropagation()},[]),Ge=w.useMemo(function(){return function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Se=ve.refKey,_e=Se===void 0?"ref":Se,Ae=ve.onChange,ze=ve.onClick,De=sO(ve,fot),Ye=RU({accept:U,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:st(Iu(Ae,Pe)),onClick:st(Iu(ze,Qe)),tabIndex:-1},_e,K);return xa(xa({},Ye),De)}},[K,n,l,Pe,r]);return xa(xa({},te),{},{isFocused:G&&!r,getRootProps:We,getInputProps:Ge,rootRef:Y,inputRef:K,open:st(ie)})}function Sot(e,t){switch(t.type){case"focus":return xa(xa({},e),{},{isFocused:!0});case"blur":return xa(xa({},e),{},{isFocused:!1});case"openDialog":return xa(xa({},OU),{},{isFileDialogActive:!0});case"closeDialog":return xa(xa({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return xa(xa({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return xa(xa({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return xa({},OU);default:return e}}function Rge(){}function Eot(e){const{t}=Wn(),n=dT(),{onDrop:r}=e,a=w.useCallback(l=>{if(!l||l.length===0)return;const s=l[0],c=new FileReader;c.onload=()=>{const p=c.result;if(typeof p=="string"){const f={variant:"success",title:t("File uploaded"),timeout:!0};n.addAlert(f),r(p)}},c.onerror=()=>{const p={variant:"danger",title:t("Failed to upload file"),children:t("Unable to upload")};n.addAlert(p)},c.readAsText(s)},[t,n,r]),{getRootProps:o,getInputProps:i}=Tge({onDrop:a,noClick:!0,accept:e.accept??{"application/json":[".json"],"text/yaml":[".yaml",".yml"]}});return R.jsxs("div",{id:"code-editor-dropzone",...o({disabled:!0}),style:{width:"100%",height:"100%"},children:[R.jsx("input",{id:"code-editor-dropzone-input",...i(),ref:e.inputRef}),e.children]})}function wot(e){return R.jsx(Q.Icon,{size:e.size??"md",children:R.jsx(Vt.AngleDownIcon,{"data-cy":"expandable",style:{transform:e.isExpanded?"rotate(0deg)":e.direction==="left"?"rotate(90deg)":"rotate(-90deg)",transition:"transform 0.2s",alignSelf:"center"},onClick:()=>e.setExpanded(!e.isExpanded),"aria-label":e.isExpanded?LE("Collapse"):LE("Expand")})})}function Cot(e,t,n="txt"){const r=new Blob(t.split("/n"),{type:"text/plain"}),a=document.createElement("a");a.href=URL.createObjectURL(r),a.download=e+"."+n,document.body.appendChild(a),a.click(),document.body.removeChild(a)}function WE(e){const{children:t,helperText:n,helperTextInvalid:r,isRequired:a,labelHelp:o,labelHelpTitle:i,label:l,fullWidth:s}=e;return R.jsxs(Q.FormGroup,{id:`${e.fieldId}-form-group`,fieldId:e.fieldId,label:R.jsxs(R.Fragment,{children:[e.icon,l]}),labelHelp:o?R.jsx(vS,{title:i,help:o}):void 0,labelInfo:e.additionalControls,isRequired:a,"data-cy":`${e.fieldId}-form-group`,style:{gridColumn:s?"span 12":void 0},children:[t,(n||r)&&R.jsx(Q.FormHelperText,{children:R.jsx(Q.HelperText,{children:R.jsx(Q.HelperTextItem,{variant:r?"error":void 0,children:r||n})})})]})}function kot(e){const{t}=Wn(),{name:n,format:r,disableCopy:a,disableUpload:o,disableDownload:i,disableExpand:l,validate:s,isArray:c}=e,p=Tp(e),{formState:{isSubmitting:f,isValidating:g},setError:v,getValues:b,clearErrors:y,control:x}=Eu(),C=Ip().dataEditorFormat??"yaml",[I,N]=w.useState(C),[O,P]=w.useState(!e.defaultCollapsed),[M,L]=w.useState(()=>{const $=b(n);return typeof $=="string"?$:Ou($,C)}),H=dT(),{writeToClipboard:U}=QJ(),F=w.useCallback(()=>U(Ou(tf(b(n),c),I)),[b,c,I,n,U]),j=w.useCallback($=>{L(Ou(tf($,c),I))},[c,I]),W=w.useRef(null),Y=w.useCallback(()=>{var $;return($=W.current)==null?void 0:$.click()},[]),K=w.useCallback(()=>{const $=n||"data",de=I==="json"?"json":"yaml";Cot($,Ou(tf(b(n),c),I),de),H.addAlert({variant:"success",title:t("File downloaded"),timeout:!0})},[H,b,c,I,n,t]);w.useLayoutEffect(()=>{const $=Ou(tf(b(n),c),I);L($)},[b,c,I,n]);const[ae,oe]=w.useState(!1),te=ofe({name:n});w.useEffect(()=>{ae||L(Ou(tf(te,c),I))},[ae,te,c,I]);const{setValue:ee,formState:{defaultValues:G}}=Eu(),re=BE(e.label,e.isRequired),ce=fy(G,e.name);return R.jsx(cy,{name:n,control:x,shouldUnregister:!0,render:({field:{value:$,name:de,onChange:be},fieldState:{error:pe}})=>{var Ce;function Te(he){try{const xe=tf(he,c);switch(r){case"object":be(xe);return;default:be(Ou(xe,r));break}y(de)}catch(xe){xe instanceof Error&&v(de,{message:xe.message})}}return R.jsxs(WE,{fieldId:p,icon:!l&&R.jsx(wot,{isExpanded:O,setExpanded:P}),label:e.label,labelHelpTitle:e.labelHelpTitle??e.label,labelHelp:e.labelHelp,additionalControls:R.jsx(Oge,{handleCopy:!a&&F,handleUpload:!o&&Y,handleDownload:!i&&K,language:I,setLanguage:N,children:e.additionalControls}),helperText:e.helperText,helperTextInvalid:!(s&&g)&&((Ce=pe==null?void 0:pe.message)==null?void 0:Ce.split(`
565
- `)),isRequired:e.isRequired,children:[O&&R.jsxs("div",{style:{display:"flex"},children:[R.jsx(Eot,{onDrop:j,isDisabled:f||e.isReadOnly,inputRef:W,children:R.jsx(_at,{"data-cy":p,id:p,name:de,language:I,value:M,onChange:Te,setError:he=>{he?v(de,{message:he}):y(de)},isReadOnly:e.isReadOnly||f,className:e.isReadOnly?"pf-v6-c-form-control pf-m-disabled":"pf-v6-c-form-control",onFocus:()=>oe(!0),onBlur:()=>oe(!1)})}),R.jsx(fu,{actions:[{label:t("Undo changes"),type:Pr.Button,selection:vr.None,onClick:()=>{ee(e.name,ce),L(""),setTimeout(()=>{L(Ou(tf(ce,c),I))},0)},isHidden:()=>!e.enableUndo||Gfe($,ce)},{label:t("Reset to default"),type:Pr.Button,selection:vr.None,onClick:()=>{ee(e.name,e.defaultValue),L(""),setTimeout(()=>{L(Ou(tf(e.defaultValue,c),I))},0)},isHidden:()=>!e.enableReset||Gfe($,e.defaultValue)}],position:"right"})]}),!O&&R.jsx("div",{className:"pf-v6-c-form-control"})]})},rules:{required:re,validate:e.validate}})}function Ige(e){const{t}=Wn(),{handleCopy:n,handleDownload:r,handleUpload:a}=e;return!n&&!r&&!a?R.jsx(R.Fragment,{}):R.jsxs(Q.Flex,{spaceItems:{default:"spaceItemsMd"},children:[n&&R.jsx(Q.FlexItem,{children:R.jsx(sT,{id:"copy-button","data-cy":"copy-button","aria-label":t("Copy to clipboard"),type:"button",onClick:n,children:R.jsx(Q.Icon,{size:"md",children:R.jsx(Vt.CopyIcon,{})})})}),a&&R.jsx(Q.FlexItem,{children:R.jsx(sT,{id:"upload-button","data-cy":"upload-button","aria-label":t("Upload from file"),type:"button",onClick:a,children:R.jsx(Q.Icon,{size:"md",children:R.jsx(Vt.UploadIcon,{})})})}),r&&R.jsx(Q.FlexItem,{children:R.jsx(sT,{id:"download-button","data-cy":"download-button","aria-label":t("Download file"),type:"button",onClick:r,children:R.jsx(Q.Icon,{size:"md",children:R.jsx(Vt.DownloadIcon,{})})})})]})}function Oge(e){const{t}=Wn(),{handleCopy:n,handleDownload:r,handleUpload:a,language:o,setLanguage:i}=e;return R.jsxs(Q.Flex,{spaceItems:{default:"spaceItemsLg"},children:[R.jsx(Q.FlexItem,{children:e.children}),R.jsx(Ige,{handleCopy:n,handleDownload:r,handleUpload:a}),R.jsx(Q.FlexItem,{align:{default:"alignRight"},children:R.jsxs(Q.ToggleGroup,{isCompact:!0,children:[R.jsx(Q.ToggleGroupItem,{id:"toggle-yaml","data-cy":"toggle-yaml","aria-label":t("Toggle to YAML"),isSelected:o==="yaml",text:"YAML",type:"button",onChange:()=>i("yaml")}),R.jsx(Q.ToggleGroupItem,{id:"toggle-json","data-cy":"toggle-json","aria-label":t("Toggle to JSON"),isSelected:o==="json",text:"JSON",type:"button",onChange:()=>i("json")})]})})]})}function tf(e,t){const n=t?[]:{};if(e==null)return n;const a=()=>{try{e=Yme.load(e)}catch(o){return o instanceof Error||o instanceof gU?new Error(o.message):{}}};if(typeof e=="string")try{e=JSON.parse(e)}catch{a()}return t?Array.isArray(e)?e:[]:Array.isArray(e)?{}:e}function Ou(e,t){if(e==null)return"";if(e instanceof Error)return e.message;switch(t){case"json":return JSON.stringify(e,null,2);case"yaml":try{const n=Yme.dump(e).trimEnd();switch(n){case"null":case"{}":case"[]":return"";default:return n}}catch(n){return n instanceof Error||n instanceof gU?n.message:""}default:return""}}function Tot(e){const{additionalControls:t,footer:n,helperText:r,isDisabled:a,isReadOnly:o,isRequired:i,label:l,labelHelp:s,labelHelpTitle:c,name:p,options:f,placeholderText:g,validate:v}=e,b=Tp(e),{t:y}=Wn(),{control:x,setValue:E,getValues:C,formState:{isSubmitting:I,isValidating:N,defaultValues:O}}=Eu(),[P,M]=w.useState(!1),L=w.useCallback(()=>M(!P),[P]),[H]=Pa(),U=BE(e.label,e.isRequired),F=fy(O,e.name);w.useEffect(()=>{C(e.name)||f.length===1&&i&&E(e.name,f[0].value)},[C,i,f,e.name,E]);const j=(W,Y)=>R.jsx(Q.MenuToggle,{"data-cy":`${b}-form-group`,id:`${b}-form-group-toggle`,isDisabled:a||o||I,ref:W,onClick:L,isExpanded:P,isFullWidth:!0,children:Y??g});return R.jsx(cy,{name:p,control:x,defaultValue:e.defaultValue,shouldUnregister:!0,render:({field:{onChange:W,value:Y},fieldState:{error:K}})=>{const ae=(ee,G)=>{const re=f.find(ce=>ce.value===G);re&&(W(re.value),e.onChange&&e.onChange(re.value)),M(!1)},oe=K!=null&&K.message?v&&N?H.validating:K==null?void 0:K.message:void 0,te=f.find(ee=>ee.value===Y);return R.jsx(WE,{fieldId:b,label:l,labelHelpTitle:c??l,labelHelp:s,additionalControls:t,helperText:r,helperTextInvalid:oe,isRequired:i,children:R.jsxs("div",{style:{display:"flex"},children:[R.jsx(Q.Select,{"aria-describedby":`${b}-form-group-select`,"data-cy":b,id:b,isOpen:P,itemID:b,onOpenChange:ee=>M(ee),onSelect:ae,ouiaId:"menu-select",shouldFocusToggleOnSelect:!0,toggle:ee=>j(ee,te==null?void 0:te.label),isScrollable:!0,popperProps:{enableFlip:!0,preventOverflow:!0},children:R.jsxs(R.Fragment,{children:[R.jsx(Q.SelectList,{children:f.map(ee=>{const G=pu(ee);return R.jsx(Q.SelectOption,{id:G,value:ee.value,label:ee.label,description:ee.description,"data-cy":G,children:ee.label},ee.label)})}),n&&R.jsx(Q.MenuFooter,{children:n})]})}),R.jsx(fu,{actions:[{label:y("Undo changes"),type:Pr.Button,selection:vr.None,onClick:()=>{E(e.name,F)},isHidden:()=>!e.enableUndo||Y===F},{label:y("Reset to default"),type:Pr.Button,selection:vr.None,onClick:()=>{E(e.name,e.defaultValue)},isHidden:()=>!e.enableReset||Y===e.defaultValue}],variant:Q.ButtonVariant.control,position:"right"})]})})},rules:{required:U,validate:v}})}function Rot(e){const{name:t,helperText:n,validate:r,additionalControls:a,label:o,labelHelp:i,labelHelpTitle:l,labelOn:s}=e,{control:c,formState:{isSubmitting:p,isValidating:f}}=Eu(),g=Tp(e);return R.jsx(cy,{name:t,control:c,shouldUnregister:!0,render:({field:{onChange:v,value:b},fieldState:{error:y}})=>{const x=r&&f||y==null?void 0:y.message;return R.jsx(WE,{fieldId:g,"data-cy":g+"-form-group",label:o,labelHelpTitle:l??o,labelHelp:i,helperText:n,helperTextInvalid:x,additionalControls:a,children:R.jsx(Q.Switch,{"data-cy":g+"-toggle","aria-label":o,isChecked:b,onChange:E=>v(E),isDisabled:p,label:s})})}})}function Iot(e){const{type:t,name:n,label:r,labelHelpTitle:a,labelHelp:o,additionalControls:i,placeholder:l,button:s,helperText:c,isDisabled:p,isReadOnly:f,isRequired:g,validate:v,minLength:b,maxLength:y,min:x,max:E,pattern:C,selectTitle:I,selectOpen:N,selectValue:O,autoFocus:P,autoComplete:M,disableAutoResize:L}=e,H=Tp(e),{control:U,setValue:F,formState:{isSubmitting:j,isValidating:W}}=Eu(),[Y,K]=w.useState(!1),[ae]=Pa(),oe=BE(e.label,e.isRequired);return R.jsx(cy,{name:n,control:U,shouldUnregister:!0,render:({field:{onChange:te,value:ee,name:G},fieldState:{error:re}})=>{const ce=re!=null&&re.message?v&&W?ae.validating:re==null?void 0:re.message:void 0;function $(de){te(de.trimStart())}return R.jsx(WE,{fieldId:H,label:r,labelHelpTitle:a??r,labelHelp:o,additionalControls:i,helperText:c,helperTextInvalid:ce,isRequired:g,fullWidth:!0,children:R.jsxs(Q.InputGroup,{children:[R.jsx(Q.InputGroupItem,{isFill:!0,children:R.jsx(Q.TextArea,{id:H,placeholder:l,onChange:(de,be)=>$(be),value:ee??"","aria-describedby":H?`${H}-form-group`:void 0,validated:ce?"error":void 0,type:t==="password"?Y?"text":"password":t,readOnlyVariant:f?"default":void 0,isDisabled:p,autoFocus:P,autoComplete:M||"off","data-cy":H,autoResize:L===void 0?!0:!L,rows:1,resizeOrientation:"vertical"})}),t==="password"&&R.jsx(Q.Button,{variant:"control",onClick:()=>K(!Y),isDisabled:p||f,children:Y?R.jsx(Vt.EyeIcon,{}):R.jsx(Vt.EyeSlashIcon,{})}),I&&R.jsx(Q.Button,{icon:R.jsx(Vt.SearchIcon,{}),ouiaId:`lookup-${G}-button`,variant:"control",onClick:()=>N==null?void 0:N(de=>{if(O){const be=O(de);F(G,be,{shouldValidate:!0})}},I),"aria-label":"Options menu",isDisabled:p||j}),s]})})},rules:{required:oe,validate:v,minLength:typeof r=="string"&&typeof b=="number"?{value:b,message:`${Tu(r.toLocaleLowerCase())} must be at least ${b} characters.`}:b,maxLength:typeof r=="string"&&typeof y=="number"?{value:y,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${y} characters.`}:y,min:typeof r=="string"&&(typeof x=="number"||typeof x=="string")?{value:x,message:`${Tu(r.toLocaleLowerCase())} must be less than ${x}.`}:b,max:typeof r=="string"&&(typeof E=="number"||typeof E=="string")?{value:E,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${E}.`}:b,pattern:C}})}function Oot(e){const{type:t,name:n,label:r,labelHelpTitle:a,labelHelp:o,additionalControls:i,placeholder:l,button:s,helperText:c,isDisabled:p,isReadOnly:f,isRequired:g,validate:v,minLength:b,maxLength:y,min:x,max:E,pattern:C,selectTitle:I,selectOpen:N,selectValue:O,autoFocus:P,autoComplete:M,fullWidth:L}=e,H=Tp(e),{t:U}=Wn(),{control:F,setValue:j,formState:{isSubmitting:W,isValidating:Y,defaultValues:K}}=Eu(),[ae,oe]=w.useState(!1),[te]=Pa(),ee=BE(e.label,e.isRequired),G=fy(K,e.name);return R.jsx(cy,{name:n,control:F,shouldUnregister:e.shouldUnregister!==!1,defaultValue:e.defaultValue,render:({field:{onChange:re,value:ce,name:$},fieldState:{error:de}})=>{const be=de!=null&&de.message?v&&Y?te.validating:de==null?void 0:de.message:void 0;let pe=ce;switch(t){case"datetime-local":if(ce){const Ce=new Date(ce);pe=new Date(Ce.getTime()-Ce.getTimezoneOffset()*6e4).toISOString().slice(0,16)}break}function Te(Ce){switch(e.type){case"datetime-local":{re(new Date(Ce).toISOString());break}case"number":{let he=Number(Ce);if(Ce===""||isNaN(he)){j($,null),re(null);return}E!==void 0&&he>Number(E)&&(he=Number(E)),x!==void 0&&he<Number(x)&&(he=Number(x)),j($,he),re(he);break}default:re(Ce.trimStart())}}return R.jsx(WE,{fieldId:H,label:r,labelHelpTitle:a??r,labelHelp:o,additionalControls:i,helperText:c,helperTextInvalid:be,isRequired:g,fullWidth:L,children:R.jsxs(Q.InputGroup,{children:[R.jsx(Q.InputGroupItem,{isFill:!0,children:R.jsx(Q.TextInput,{id:H,placeholder:l,onChange:(Ce,he)=>Te(he),value:pe??"","aria-describedby":H?`${H}-form-group`:void 0,validated:be?"error":void 0,type:t==="password"?ae?"text":"password":t,readOnlyVariant:f?"default":void 0,isDisabled:p,autoFocus:P,autoComplete:M||"off","data-cy":H})}),t==="password"&&R.jsx(Q.Button,{variant:"control",onClick:()=>oe(!ae),isDisabled:p||f,children:ae?R.jsx(Vt.EyeIcon,{}):R.jsx(Vt.EyeSlashIcon,{})}),I&&R.jsx(Q.Button,{icon:R.jsx(Vt.SearchIcon,{"data-cy":"lookup-button"}),ouiaId:`lookup-${$}-button`,variant:"control",onClick:()=>N==null?void 0:N(Ce=>{if(O){const he=O(Ce);j($,he,{shouldValidate:!0})}},I),"aria-label":"Options menu",isDisabled:p||W}),s,R.jsx(fu,{actions:[{label:U("Undo changes"),type:Pr.Button,selection:vr.None,onClick:()=>{j(e.name,G)},isHidden:()=>!e.enableUndo||ce===G},{label:U("Reset to default"),type:Pr.Button,selection:vr.None,onClick:()=>{j(e.name,e.defaultValue)},isHidden:()=>!e.enableReset||ce===e.defaultValue}],variant:Q.ButtonVariant.control,position:"right"})]})})},rules:{required:ee,validate:v,minLength:typeof r=="string"&&typeof b=="number"?{value:b,message:`${Tu(r.toLocaleLowerCase())} must be at least ${b} characters.`}:b,maxLength:typeof r=="string"&&typeof y=="number"?{value:y,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${y} characters.`}:y,min:typeof r=="string"&&(typeof x=="number"||typeof x=="string")?{value:x,message:`${Tu(r.toLocaleLowerCase())} must be greater or equal to ${x}.`}:b,max:typeof r=="string"&&(typeof E=="number"||typeof E=="string")?{value:E,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${E}.`}:E,pattern:C}})}const Nge=w.createContext({tabBreadcrumb:{},setTabBreadcrumb:()=>{}});function Not(e){const[t,n]=w.useState();return R.jsx(Nge.Provider,{value:{tabBreadcrumb:t,setTabBreadcrumb:n},children:e.children})}const Aot=()=>w.useContext(Nge);function Pot(e){return R.jsx(jZ,{children:R.jsx(Fee,{defaultRefreshInterval:e.defaultRefreshInterval,children:R.jsx(hLe,{children:R.jsx(Dpe,{children:R.jsx(UJ,{children:R.jsx(GJ,{children:R.jsx(Not,{children:e.children})})})})})})})}function Dot(e){const t=Gr.useNavigate();return e.breadcrumbs?R.jsx(Q.Breadcrumb,{style:e.style,children:e.breadcrumbs.map((n,r)=>n.label?R.jsx(Q.BreadcrumbItem,{"data-cy":n.label,id:n.id,component:n.component,isActive:n.to===void 0,children:n.to?R.jsx("a",{href:n.to,"data-cy":n.label,onClick:a=>{a.preventDefault(),n.to&&t(n.to)},children:n.label}):n.label},r):R.jsx(w.Fragment,{},r))}):R.jsx(w.Fragment,{})}function Mot(e){const{title:t,description:n,controls:r,headerActions:a,footer:o}=e,i=sl("lg"),l=sl("xl"),s=sl("md"),[c]=Pa(),{tabBreadcrumb:p}=Aot(),f=w.useMemo(()=>{const g=[];return e.breadcrumbs&&(g.push(...e.breadcrumbs),p&&g.push(p)),g},[e.breadcrumbs,p]);return R.jsx(Q.PageSection,{hasBodyWrapper:!1,style:{paddingBlock:l?16:12},children:R.jsxs(Q.Stack,{hasGutter:!0,children:[R.jsxs(Q.Flex,{flexWrap:{default:"nowrap"},alignItems:{default:"alignItemsStretch"},children:[R.jsxs(Q.FlexItem,{grow:{default:"grow"},children:[f.length>0&&R.jsx(Dot,{breadcrumbs:f!=null&&f.length?f:void 0,style:{paddingBottom:i?6:4}}),t?e.titleHelp?R.jsx(Q.Popover,{headerContent:e.titleHelpTitle??e.title,bodyContent:R.jsxs(Q.Stack,{hasGutter:!0,children:[typeof e.titleHelp=="string"?R.jsx(Q.StackItem,{children:e.titleHelp}):e.titleHelp.map((g,v)=>R.jsx(Q.StackItem,{children:g},v)),e.titleDocLink&&R.jsx(Q.StackItem,{children:R.jsx(Q.Button,{icon:R.jsx(Vt.ExternalLinkAltIcon,{}),variant:"link",onClick:()=>window.open(e.titleDocLink,"_blank"),isInline:!0,iconPosition:"end",children:c.documentation})})]}),position:"bottom-start",children:R.jsxs(Q.Title,{"data-testid":"page-title","data-cy":"page-title",headingLevel:"h1",children:[t,R.jsx(Q.Button,{icon:R.jsx(Vt.OutlinedQuestionCircleIcon,{}),variant:"link",style:{padding:0,marginTop:1,marginLeft:8,verticalAlign:"top"}})]})}):R.jsx(Q.Title,{"data-cy":"page-title",headingLevel:"h1",children:t}):null,s&&n&&R.jsx("div",{"data-cy":"app-description",style:{paddingTop:l?4:2,opacity:.8},children:n})]}),t&&(a||r)&&R.jsxs(Q.Flex,{"data-cy":"manage-view",direction:{default:"column"},spaceItems:{default:"spaceItemsSm",xl:"spaceItemsMd"},justifyContent:{default:"justifyContentCenter"},children:[r&&R.jsx(Q.FlexItem,{grow:{default:"grow"},children:r}),a&&R.jsx(Q.FlexItem,{children:a})]})]}),o]})})}function Age(e){const[t]=Pa();return R.jsx(KJ,{message:t.errorText,children:e.children})}function Lot(e){return R.jsxs(Q.Masthead,{display:{default:"inline"},children:[R.jsxs(Q.MastheadMain,{children:[R.jsx(Pge,{}),R.jsx(Q.MastheadBrand,{children:R.jsx(Q.MastheadLogo,{component:t=>R.jsx(Gr.Link,{...t,to:"/",style:{textDecoration:"none",color:"light-dark(black, white)"}}),children:e.brand})})]}),R.jsx(Q.MastheadContent,{style:{marginLeft:0,minHeight:0},children:R.jsx(Q.Toolbar,{id:"toolbar","data-cy":"toolbar",inset:{default:"insetNone"},style:{padding:0},children:R.jsx(Q.ToolbarContent,{children:e.children})})})]})}function Pge(){const e=pT();return R.jsx(Q.MastheadToggle,{onClick:()=>e.setState({isOpen:!e.isOpen}),children:R.jsx(Q.PageToggleButton,{"data-cy":"nav-toggle",variant:"plain","aria-label":"Global navigation",children:R.jsx(Vt.BarsIcon,{})})})}function Bot(){const{setNotificationsDrawerOpen:e,notificationGroups:t}=_S(),n=Object.values(t).reduce((r,a)=>r+a.notifications.length,0);return R.jsx(Q.NotificationBadge,{"data-cy":"notification-badge",variant:n===0?"read":"unread",count:n,onClick:()=>e(r=>!r)})}function Fot(){const[e,t]=w.useContext(yv);return e.activeTheme==="dark"?R.jsx(Q.Button,{icon:R.jsx(Vt.MoonIcon,{}),"data-cy":"settings-icon",variant:"plain",onClick:()=>t({...e,theme:"light"})}):R.jsx(Q.Button,{icon:R.jsx(Vt.SunIcon,{}),"data-cy":"theme-icon",variant:"plain",onClick:()=>t({...e,theme:"dark"})})}function jot(e){return e.replace(/^\//,"")}function Dge(e,t){for(const n of e){if("id"in n&&n.id===t)return n;if("children"in n){const r=Dge(n.children,t);if(r)return r}}}function Mge(e,t){for(let n=0;n<e.length;n++){const r=e[n];if("id"in r&&r.id===t)return e.splice(n,1),r;if("children"in r){const a=Mge(r.children,t);if(a)return a}}}function Lge(e,t,n){for(const r of e)if("id"in r&&r.id===t){const a=r;"children"in r||(a.children=[]),a.children.push(n);return}else"children"in r&&Lge(r.children,t,n)}function Bge(e,t,n){for(let r=0;r<e.length;r++){const a=e[r];if("id"in a&&a.id===t){e.splice(r+1,0,n);return}else"children"in a&&Bge(a.children,t,n)}}function Fge(e,t,n){for(let r=0;r<e.length;r++){const a=e[r];if("id"in a&&a.id===t){e.splice(r,0,n);return}else"children"in a&&Fge(a.children,t,n)}}function jge(){const e=gLe();return w.useCallback((t,n)=>{let r=e[t]??"";const a=n==null?void 0:n.params,o=n==null?void 0:n.query;return r&&(a&&(r=Object.keys(a).reduce((i,l)=>{let s=a[l];if(s==null)return i;s=encodeURIComponent(s.toString());const c=":"+l,p=new RegExp(c+"(?!.*"+c+")","g");return i.replace(p,s)},r)),o&&(r=`${r}?${Object.keys(o).map(i=>{let l=o[i];return l===void 0?"":(l=encodeURIComponent(l.toString()),`${i}=${l}`)}).join("&").replace("/&&/g","&")}`)),r},[e])}function Uot(){const e=Gr.useNavigate(),t=jge();return w.useCallback((n,r)=>{const a=t(n,r);a&&e(a)},[e,t])}function zot(e){const{loading:t}=e,[n,r]=w.useState((e==null?void 0:e.initialTabIndex)??0),a=w.useCallback((s,c)=>r(c),[r]),o=w.Children.toArray(e.children),i=o.map((s,c)=>{if(w.isValidElement(s)&&s.type===NU){const p=s.props.label;return R.jsx(Q.Tab,{title:p||R.jsx(Q.Skeleton,{width:"60px"}),eventKey:c},p??c)}return s}),l=o[n];return t?R.jsx(Q.Tabs,{children:R.jsx(NU,{children:R.jsx(Q.PageSection,{hasBodyWrapper:!1,children:R.jsx(Q.Skeleton,{})})})}):R.jsxs(R.Fragment,{children:[R.jsx(Q.Tabs,{activeKey:n,onSelect:a,inset:{default:"insetSm"},className:"pf-v6-u-mb-md",children:i}),l]})}function NU(e){return R.jsx(R.Fragment,{children:e.children})}function Got(e,t,n,r){return(a,o)=>{e(i=>{r?r(i):a(i.map(l=>t(l)))},o?o.map(i=>n(i)):[])}}function qot(e,t,n,r){return(a,o)=>{e(i=>{r?r(i):a(t(i))},o?n(o):void 0)}}function Wot(){const[e,t]=w.useState(!0);return w.useEffect(()=>()=>{t(!1)},[]),e}function Hot(){const e=w.useRef({isMounted:!0});return w.useEffect(()=>()=>{e.current.isMounted=!1},[]),e}function Uge(){const e=Wot(),[t,n]=w.useState(e?window.location:void 0),r=w.useCallback(()=>{n(window.location)},[]);w.useEffect(()=>{if(e)return t||r(),window.addEventListener("popstate",r),()=>{window.removeEventListener("popstate",r)}},[e,t,r]);const a=w.useCallback(i=>{window.history.replaceState(null,"",i),r()},[r]),o=w.useCallback(i=>{window.history.replaceState(null,"",i),r()},[r]);return{location:t,push:a,update:o}}function zge(){var a,o;const e=Uge(),t=((a=e.location)==null?void 0:a.pathname)||"/",n=w.useMemo(()=>{var l;let i=(l=e.location)==null?void 0:l.search;return i&&i.includes("?specPath=")?i=i.substring(0,i.indexOf("?specPath=")):i&&i.includes("&specPath=")&&(i=i.substring(0,i.indexOf("&specPath="))),new URLSearchParams(i??"/")},[(o=e.location)==null?void 0:o.search]),r=w.useCallback(i=>{const l=i.toString();l?e.update("?"+l):e.update(t)},[e,t]);return[n,r]}const Gge=w.createContext({});function eh(){return w.useContext(Gge)}function Vot(e,t){return!e.hidden||!e.hidden(t)?e:null}function nf(e){return(e==null?void 0:e.substeps)!==void 0}function Yot(e){const{steps:t,onSubmit:n}=e,[r,a]=w.useState(!1),[o,i]=w.useState(null),[l,s]=w.useState({}),[c,p]=w.useState(e.stepDefaults??{}),[f,g]=w.useState({}),[v,b]=w.useState(),[y,x]=w.useState(!1),[E,C]=zge(),I=w.useMemo(()=>Kot(t),[t]);w.useEffect(()=>{if(process.env.NODE_ENV==="development")for(const M in e.stepDefaults)t.find(L=>L.id===M)||console.warn(`PageWizardProvider: defaultValue key '${M}' not found in steps.`)},[e.stepDefaults,t]),w.useEffect(()=>{const M=cO(t,l);o||!M.length||(M[0].substeps?i(M[0].substeps[0]):i(M[0]))},[o,t,l]);const N=w.useCallback(async(M={})=>{var j;const L=qge(t,{...l,...M});if(o===null)return Promise.resolve();if(!nf(o)&&o.validate&&await o.validate(M,l),(o==null?void 0:o.id)===((j=L[L.length-1])==null?void 0:j.id)){x(!0);try{await n(l)}catch(W){b(W instanceof Error?W:new Error(LE("An error occurred.")))}finally{x(!1)}return}const U=L.findIndex(W=>W.id===(o==null?void 0:o.id)),F=nf(L[U+1])?L[U+2]:L[U+1];return C(new URLSearchParams("")),s(W=>({...W,...M})),p(W=>({...W,[o==null?void 0:o.id]:M})),i(F),Promise.resolve()},[o,t,n,C,l,b]),O=w.useCallback(()=>{const M=cO(I,l),L=M.findIndex(U=>U.id===(o==null?void 0:o.id)),H=nf(M[L-1])?M[L-2]:M[L-1];C(new URLSearchParams("")),i(H)},[o==null?void 0:o.id,I,C,l]),P=w.useMemo(()=>({wizardData:l,setWizardData:s,stepData:c,setStepData:p,steps:e.steps,visibleSteps:cO(t,l),visibleStepsFlattened:qge(t,l),activeStep:o,setActiveStep:i,stepError:f,setStepError:g,submitError:v,setSubmitError:b,isToggleExpanded:r,setToggleExpanded:a,onNext:N,onBack:O,isSubmitting:y}),[l,s,c,p,e.steps,t,o,i,f,g,v,b,r,a,N,O,y]);return R.jsx(Gge.Provider,{value:P,children:e.children})}function Kot(e){return e.reduce((t,n)=>(t.push(n),nf(n)&&t.push(...n.substeps),t),[])}function cO(e,t){return e.filter(n=>Vot(n,t))}function qge(e,t){return cO(e,t).reduce((r,a)=>(r.push(a),nf(a)&&r.push(...a.substeps),r),[])}function Wge(e){const{t}=Wn(),{activeStep:n,visibleStepsFlattened:r,setSubmitError:a}=eh(),o=(n==null?void 0:n.id)===r[r.length-1].id,i=t(o?"Finish":"Next"),l=nf(r[0])?(n==null?void 0:n.id)===r[1].id:(n==null?void 0:n.id)===r[0].id,s=l?"pf-v6-c-button pf-m-disabled":"pf-v6-c-button pf-m-secondary";return R.jsx("footer",{className:"pf-v6-c-wizard__footer","data-cy":"wizard-footer",children:R.jsxs(Q.ActionList,{children:[R.jsxs(Q.ActionListGroup,{children:[R.jsx(Q.ActionListItem,{children:n!==null&&"inputs"in n?R.jsx(Kj,{style:{minWidth:10},children:i}):R.jsx("button",{"data-cy":"wizard-next",className:"pf-v6-c-button pf-m-primary",type:"submit",onClick:()=>{var c;a(void 0),(c=e.onNext)==null||c.call(e)},children:i})}),R.jsx(Q.ActionListItem,{children:R.jsx("button",{type:"button","data-cy":"wizard-back",className:s,disabled:l,onClick:()=>{var c;a(void 0),(c=e.onBack)==null||c.call(e)},children:t("Back")})})]}),R.jsx(Q.ActionListItem,{children:R.jsx("div",{"data-cy":"wizard-cancel",className:"pf-v6-c-wizard__footer-cancel",children:R.jsx("button",{className:"pf-v6-c-button pf-m-link",type:"button",onClick:e.onCancel,children:t("Cancel")})})})]})})}function Qot({onCancel:e,disableGrid:t,errorAdapter:n,isVertical:r,singleColumn:a}){const o=Gr.useNavigate(),{activeStep:i,stepData:l,onNext:s,onBack:c,submitError:p,isSubmitting:f}=eh(),g=w.useCallback(()=>{e?e():o(-1)},[o,e]);return f?R.jsx(Q.Bullseye,{children:R.jsx(Q.Spinner,{})}):R.jsxs(Age,{children:[R.jsx(Zot,{error:p}),i!==null&&("inputs"in i?R.jsxs(wfe,{onSubmit:s,footer:R.jsx(Wge,{onBack:c,onCancel:g}),defaultValue:l[i.id],errorAdapter:n,disableGrid:t,isVertical:r,singleColumn:a,isWizard:!0,children:[R.jsx(Xot,{}),i.inputs]},i.id):R.jsxs("div",{"data-cy":`wizard-section-${i.id}`,style:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden"},children:[R.jsx(Q.PageSection,{hasBodyWrapper:!1,"aria-label":LE("Wizard step content"),hasOverflowScroll:!0,isFilled:!0,children:i==null?void 0:i.element}),R.jsx(Wge,{onNext:()=>void s({}),onBack:c,onCancel:g})]}))]})}function Xot(){const{activeStep:e,setStepError:t}=eh(),{errors:n}=zj(),r=JSON.stringify(n);return w.useEffect(()=>{Object.keys(n).length===0?t({}):e&&t({[e.id]:n})},[n,e,t,r]),null}function Zot(e){const{t}=Wn(),n=e.error;if(!e.error)return null;if(!(e.error instanceof Error))return typeof e.error=="string"?R.jsx(Q.Alert,{variant:"danger",title:e.error}):R.jsx(Q.Alert,{variant:"danger",title:t("An error occurred.")});if("message"in e.error&&!n.json)return R.jsx(Q.Alert,{variant:"danger",title:e.error.message});if(n.json)return R.jsx(Q.Alert,{variant:"danger",title:n.message,isInline:!0,children:Object.values(n.json).map((r,a)=>R.jsx("div",{children:r},a))})}function Nu(...e){const t=[],n={}.hasOwnProperty;return e.filter(Boolean).forEach(r=>{const a=typeof r;if(a==="string"||a==="number")t.push(r);else if(Array.isArray(r)&&r.length){const o=Nu(...r);o&&t.push(o)}else if(a==="object")for(const o in r)n.call(r,o)&&r[o]&&t.push(o)}),t.join(" ")}const rf={wizardClose:"pf-v6-c-wizard__close",wizardHeader:"pf-v6-c-wizard__header",wizardTitle:"pf-v6-c-wizard__title",wizardTitleText:"pf-v6-c-wizard__title-text",wizardToggle:"pf-v6-c-wizard__toggle",wizardToggleIcon:"pf-v6-c-wizard__toggle-icon",wizardToggleList:"pf-v6-c-wizard__toggle-list",wizardToggleListItem:"pf-v6-c-wizard__toggle-list-item",wizardToggleNum:"pf-v6-c-wizard__toggle-num"},Jot=Cn.div`
565
+ `)),isRequired:e.isRequired,children:[O&&R.jsxs("div",{style:{display:"flex"},children:[R.jsx(Eot,{onDrop:j,isDisabled:f||e.isReadOnly,inputRef:W,children:R.jsx(_at,{"data-cy":p,id:p,name:de,language:I,value:M,onChange:Te,setError:he=>{he?v(de,{message:he}):y(de)},isReadOnly:e.isReadOnly||f,className:e.isReadOnly?"pf-v6-c-form-control pf-m-disabled":"pf-v6-c-form-control",onFocus:()=>oe(!0),onBlur:()=>oe(!1)})}),R.jsx(fu,{actions:[{label:t("Undo changes"),type:Pr.Button,selection:vr.None,onClick:()=>{ee(e.name,ce),L(""),setTimeout(()=>{L(Ou(tf(ce,c),I))},0)},isHidden:()=>!e.enableUndo||Gfe($,ce)},{label:t("Reset to default"),type:Pr.Button,selection:vr.None,onClick:()=>{ee(e.name,e.defaultValue),L(""),setTimeout(()=>{L(Ou(tf(e.defaultValue,c),I))},0)},isHidden:()=>!e.enableReset||Gfe($,e.defaultValue)}],position:"right"})]}),!O&&R.jsx("div",{className:"pf-v6-c-form-control"})]})},rules:{required:re,validate:e.validate}})}function Ige(e){const{t}=Wn(),{handleCopy:n,handleDownload:r,handleUpload:a}=e;return!n&&!r&&!a?R.jsx(R.Fragment,{}):R.jsxs(Q.Flex,{spaceItems:{default:"spaceItemsMd"},children:[n&&R.jsx(Q.FlexItem,{children:R.jsx(sT,{id:"copy-button","data-cy":"copy-button","aria-label":t("Copy to clipboard"),type:"button",onClick:n,children:R.jsx(Q.Icon,{size:"md",children:R.jsx(Vt.CopyIcon,{})})})}),a&&R.jsx(Q.FlexItem,{children:R.jsx(sT,{id:"upload-button","data-cy":"upload-button","aria-label":t("Upload from file"),type:"button",onClick:a,children:R.jsx(Q.Icon,{size:"md",children:R.jsx(Vt.UploadIcon,{})})})}),r&&R.jsx(Q.FlexItem,{children:R.jsx(sT,{id:"download-button","data-cy":"download-button","aria-label":t("Download file"),type:"button",onClick:r,children:R.jsx(Q.Icon,{size:"md",children:R.jsx(Vt.DownloadIcon,{})})})})]})}function Oge(e){const{t}=Wn(),{handleCopy:n,handleDownload:r,handleUpload:a,language:o,setLanguage:i}=e;return R.jsxs(Q.Flex,{spaceItems:{default:"spaceItemsLg"},children:[R.jsx(Q.FlexItem,{children:e.children}),R.jsx(Ige,{handleCopy:n,handleDownload:r,handleUpload:a}),R.jsx(Q.FlexItem,{align:{default:"alignRight"},children:R.jsxs(Q.ToggleGroup,{isCompact:!0,children:[R.jsx(Q.ToggleGroupItem,{id:"toggle-yaml","data-cy":"toggle-yaml","aria-label":t("Toggle to YAML"),isSelected:o==="yaml",text:"YAML",type:"button",onChange:()=>i("yaml")}),R.jsx(Q.ToggleGroupItem,{id:"toggle-json","data-cy":"toggle-json","aria-label":t("Toggle to JSON"),isSelected:o==="json",text:"JSON",type:"button",onChange:()=>i("json")})]})})]})}function tf(e,t){const n=t?[]:{};if(e==null)return n;const a=()=>{try{e=Yme.load(e)}catch(o){return o instanceof Error||o instanceof gU?new Error(o.message):{}}};if(typeof e=="string")try{e=JSON.parse(e)}catch{a()}return t?Array.isArray(e)?e:[]:Array.isArray(e)?{}:e}function Ou(e,t){if(e==null)return"";if(e instanceof Error)return e.message;switch(t){case"json":return JSON.stringify(e,null,2);case"yaml":try{const n=Yme.dump(e).trimEnd();switch(n){case"null":case"{}":case"[]":return"";default:return n}}catch(n){return n instanceof Error||n instanceof gU?n.message:""}default:return""}}function Tot(e){const{additionalControls:t,footer:n,helperText:r,isDisabled:a,isReadOnly:o,isRequired:i,label:l,labelHelp:s,labelHelpTitle:c,name:p,options:f,placeholderText:g,validate:v}=e,b=Tp(e),{t:y}=Wn(),{control:x,setValue:E,getValues:C,formState:{isSubmitting:I,isValidating:N,defaultValues:O}}=Eu(),[P,M]=w.useState(!1),L=w.useCallback(()=>M(!P),[P]),[H]=Pa(),U=BE(e.label,e.isRequired),F=fy(O,e.name);w.useEffect(()=>{C(e.name)||f.length===1&&i&&E(e.name,f[0].value)},[C,i,f,e.name,E]);const j=(W,Y)=>R.jsx(Q.MenuToggle,{"data-cy":`${b}-form-group`,id:`${b}-form-group-toggle`,isDisabled:a||o||I,ref:W,onClick:L,isExpanded:P,isFullWidth:!0,children:Y??g});return R.jsx(cy,{name:p,control:x,defaultValue:e.defaultValue,shouldUnregister:!0,render:({field:{onChange:W,value:Y},fieldState:{error:K}})=>{const ae=(ee,G)=>{const re=f.find(ce=>ce.value===G);re&&(W(re.value),e.onChange&&e.onChange(re.value)),M(!1)},oe=K!=null&&K.message?v&&N?H.validating:K==null?void 0:K.message:void 0,te=f.find(ee=>ee.value===Y);return R.jsx(WE,{fieldId:b,label:l,labelHelpTitle:c??l,labelHelp:s,additionalControls:t,helperText:r,helperTextInvalid:oe,isRequired:i,children:R.jsxs("div",{style:{display:"flex"},children:[R.jsx(Q.Select,{"aria-describedby":`${b}-form-group-select`,"data-cy":b,id:b,isOpen:P,itemID:b,onOpenChange:ee=>M(ee),onSelect:ae,ouiaId:"menu-select",shouldFocusToggleOnSelect:!0,toggle:ee=>j(ee,te==null?void 0:te.label),isScrollable:!0,popperProps:{enableFlip:!0,preventOverflow:!0},children:R.jsxs(R.Fragment,{children:[R.jsx(Q.SelectList,{children:f.map(ee=>{const G=pu(ee);return R.jsx(Q.SelectOption,{id:G,value:ee.value,label:ee.label,description:ee.description,"data-cy":G,children:ee.label},ee.label)})}),n&&R.jsx(Q.MenuFooter,{children:n})]})}),R.jsx(fu,{actions:[{label:y("Undo changes"),type:Pr.Button,selection:vr.None,onClick:()=>{E(e.name,F)},isHidden:()=>!e.enableUndo||Y===F},{label:y("Reset to default"),type:Pr.Button,selection:vr.None,onClick:()=>{E(e.name,e.defaultValue)},isHidden:()=>!e.enableReset||Y===e.defaultValue}],variant:Q.ButtonVariant.control,position:"right"})]})})},rules:{required:U,validate:v}})}function Rot(e){const{name:t,helperText:n,validate:r,additionalControls:a,label:o,labelHelp:i,labelHelpTitle:l,labelOn:s}=e,{control:c,formState:{isSubmitting:p,isValidating:f}}=Eu(),g=Tp(e);return R.jsx(cy,{name:t,control:c,shouldUnregister:!0,render:({field:{onChange:v,value:b},fieldState:{error:y}})=>{const x=r&&f||y==null?void 0:y.message;return R.jsx(WE,{fieldId:g,"data-cy":g+"-form-group",label:o,labelHelpTitle:l??o,labelHelp:i,helperText:n,helperTextInvalid:x,additionalControls:a,children:R.jsx(Q.Switch,{"data-cy":g+"-toggle","aria-label":o,isChecked:b,onChange:E=>v(E),isDisabled:p,label:s})})}})}function Iot(e){const{type:t,name:n,label:r,labelHelpTitle:a,labelHelp:o,additionalControls:i,placeholder:l,button:s,helperText:c,isDisabled:p,isReadOnly:f,isRequired:g,validate:v,minLength:b,maxLength:y,min:x,max:E,pattern:C,selectTitle:I,selectOpen:N,selectValue:O,autoFocus:P,autoComplete:M,disableAutoResize:L}=e,H=Tp(e),{control:U,setValue:F,formState:{isSubmitting:j,isValidating:W}}=Eu(),[Y,K]=w.useState(!1),[ae]=Pa(),oe=BE(e.label,e.isRequired);return R.jsx(cy,{name:n,control:U,shouldUnregister:!0,render:({field:{onChange:te,value:ee,name:G},fieldState:{error:re}})=>{const ce=re!=null&&re.message?v&&W?ae.validating:re==null?void 0:re.message:void 0;function $(de){te(de.trimStart())}return R.jsx(WE,{fieldId:H,label:r,labelHelpTitle:a??r,labelHelp:o,additionalControls:i,helperText:c,helperTextInvalid:ce,isRequired:g,fullWidth:!0,children:R.jsxs(Q.InputGroup,{children:[R.jsx(Q.InputGroupItem,{isFill:!0,children:R.jsx(Q.TextArea,{id:H,placeholder:l,onChange:(de,be)=>$(be),value:ee??"","aria-describedby":H?`${H}-form-group`:void 0,validated:ce?"error":void 0,type:t==="password"?Y?"text":"password":t,readOnlyVariant:f?"default":void 0,isDisabled:p,autoFocus:P,autoComplete:M||"off","data-cy":H,autoResize:L===void 0?!0:!L,rows:1,resizeOrientation:"vertical"})}),t==="password"&&R.jsx(Q.Button,{variant:"control",onClick:()=>K(!Y),isDisabled:p||f,children:Y?R.jsx(Vt.EyeIcon,{}):R.jsx(Vt.EyeSlashIcon,{})}),I&&R.jsx(Q.Button,{icon:R.jsx(Vt.SearchIcon,{}),ouiaId:`lookup-${G}-button`,variant:"control",onClick:()=>N==null?void 0:N(de=>{if(O){const be=O(de);F(G,be,{shouldValidate:!0})}},I),"aria-label":"Options menu",isDisabled:p||j}),s]})})},rules:{required:oe,validate:v,minLength:typeof r=="string"&&typeof b=="number"?{value:b,message:`${Tu(r.toLocaleLowerCase())} must be at least ${b} characters.`}:b,maxLength:typeof r=="string"&&typeof y=="number"?{value:y,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${y} characters.`}:y,min:typeof r=="string"&&(typeof x=="number"||typeof x=="string")?{value:x,message:`${Tu(r.toLocaleLowerCase())} must be less than ${x}.`}:b,max:typeof r=="string"&&(typeof E=="number"||typeof E=="string")?{value:E,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${E}.`}:b,pattern:C}})}function Oot(e){const{type:t,name:n,label:r,labelHelpTitle:a,labelHelp:o,additionalControls:i,placeholder:l,button:s,helperText:c,isDisabled:p,isReadOnly:f,isRequired:g,validate:v,minLength:b,maxLength:y,min:x,max:E,pattern:C,selectTitle:I,selectOpen:N,selectValue:O,autoFocus:P,autoComplete:M,fullWidth:L}=e,H=Tp(e),{t:U}=Wn(),{control:F,setValue:j,formState:{isSubmitting:W,isValidating:Y,defaultValues:K}}=Eu(),[ae,oe]=w.useState(!1),[te]=Pa(),ee=BE(e.label,e.isRequired),G=fy(K,e.name);return R.jsx(cy,{name:n,control:F,shouldUnregister:e.shouldUnregister!==!1,defaultValue:e.defaultValue,render:({field:{onChange:re,value:ce,name:$},fieldState:{error:de}})=>{const be=de!=null&&de.message?v&&Y?te.validating:de==null?void 0:de.message:void 0;let pe=ce;switch(t){case"datetime-local":if(ce){const Ce=new Date(ce);pe=new Date(Ce.getTime()-Ce.getTimezoneOffset()*6e4).toISOString().slice(0,16)}break}function Te(Ce){switch(e.type){case"datetime-local":{re(new Date(Ce).toISOString());break}case"number":{let he=Number(Ce);if(Ce===""||isNaN(he)){j($,null),re(null);return}E!==void 0&&he>Number(E)&&(he=Number(E)),x!==void 0&&he<Number(x)&&(he=Number(x)),j($,he),re(he);break}default:re(Ce.trimStart())}}return R.jsx(WE,{fieldId:H,label:r,labelHelpTitle:a??r,labelHelp:o,additionalControls:i,helperText:c,helperTextInvalid:be,isRequired:g,fullWidth:L,children:R.jsxs(Q.InputGroup,{children:[R.jsx(Q.InputGroupItem,{isFill:!0,children:R.jsx(Q.TextInput,{id:H,placeholder:l,onChange:(Ce,he)=>Te(he),value:pe??"","aria-describedby":H?`${H}-form-group`:void 0,validated:be?"error":void 0,type:t==="password"?ae?"text":"password":t,readOnlyVariant:f?"default":void 0,isDisabled:p,autoFocus:P,autoComplete:M||(t==="password"?"new-password":"off"),"data-cy":H})}),t==="password"&&R.jsx(Q.Button,{variant:"control",onClick:()=>oe(!ae),isDisabled:p||f,children:ae?R.jsx(Vt.EyeIcon,{}):R.jsx(Vt.EyeSlashIcon,{})}),I&&R.jsx(Q.Button,{icon:R.jsx(Vt.SearchIcon,{"data-cy":"lookup-button"}),ouiaId:`lookup-${$}-button`,variant:"control",onClick:()=>N==null?void 0:N(Ce=>{if(O){const he=O(Ce);j($,he,{shouldValidate:!0})}},I),"aria-label":"Options menu",isDisabled:p||W}),s,R.jsx(fu,{actions:[{label:U("Undo changes"),type:Pr.Button,selection:vr.None,onClick:()=>{j(e.name,G)},isHidden:()=>!e.enableUndo||ce===G},{label:U("Reset to default"),type:Pr.Button,selection:vr.None,onClick:()=>{j(e.name,e.defaultValue)},isHidden:()=>!e.enableReset||ce===e.defaultValue}],variant:Q.ButtonVariant.control,position:"right"})]})})},rules:{required:ee,validate:v,minLength:typeof r=="string"&&typeof b=="number"?{value:b,message:`${Tu(r.toLocaleLowerCase())} must be at least ${b} characters.`}:b,maxLength:typeof r=="string"&&typeof y=="number"?{value:y,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${y} characters.`}:y,min:typeof r=="string"&&(typeof x=="number"||typeof x=="string")?{value:x,message:`${Tu(r.toLocaleLowerCase())} must be greater or equal to ${x}.`}:b,max:typeof r=="string"&&(typeof E=="number"||typeof E=="string")?{value:E,message:`${Tu(r.toLocaleLowerCase())} cannot be greater than ${E}.`}:E,pattern:C}})}const Nge=w.createContext({tabBreadcrumb:{},setTabBreadcrumb:()=>{}});function Not(e){const[t,n]=w.useState();return R.jsx(Nge.Provider,{value:{tabBreadcrumb:t,setTabBreadcrumb:n},children:e.children})}const Aot=()=>w.useContext(Nge);function Pot(e){return R.jsx(jZ,{children:R.jsx(Fee,{defaultRefreshInterval:e.defaultRefreshInterval,children:R.jsx(hLe,{children:R.jsx(Dpe,{children:R.jsx(UJ,{children:R.jsx(GJ,{children:R.jsx(Not,{children:e.children})})})})})})})}function Dot(e){const t=Gr.useNavigate();return e.breadcrumbs?R.jsx(Q.Breadcrumb,{style:e.style,children:e.breadcrumbs.map((n,r)=>n.label?R.jsx(Q.BreadcrumbItem,{"data-cy":n.label,id:n.id,component:n.component,isActive:n.to===void 0,children:n.to?R.jsx("a",{href:n.to,"data-cy":n.label,onClick:a=>{a.preventDefault(),n.to&&t(n.to)},children:n.label}):n.label},r):R.jsx(w.Fragment,{},r))}):R.jsx(w.Fragment,{})}function Mot(e){const{title:t,description:n,controls:r,headerActions:a,footer:o}=e,i=sl("lg"),l=sl("xl"),s=sl("md"),[c]=Pa(),{tabBreadcrumb:p}=Aot(),f=w.useMemo(()=>{const g=[];return e.breadcrumbs&&(g.push(...e.breadcrumbs),p&&g.push(p)),g},[e.breadcrumbs,p]);return R.jsx(Q.PageSection,{hasBodyWrapper:!1,style:{paddingBlock:l?16:12},children:R.jsxs(Q.Stack,{hasGutter:!0,children:[R.jsxs(Q.Flex,{flexWrap:{default:"nowrap"},alignItems:{default:"alignItemsStretch"},children:[R.jsxs(Q.FlexItem,{grow:{default:"grow"},children:[f.length>0&&R.jsx(Dot,{breadcrumbs:f!=null&&f.length?f:void 0,style:{paddingBottom:i?6:4}}),t?e.titleHelp?R.jsx(Q.Popover,{headerContent:e.titleHelpTitle??e.title,bodyContent:R.jsxs(Q.Stack,{hasGutter:!0,children:[typeof e.titleHelp=="string"?R.jsx(Q.StackItem,{children:e.titleHelp}):e.titleHelp.map((g,v)=>R.jsx(Q.StackItem,{children:g},v)),e.titleDocLink&&R.jsx(Q.StackItem,{children:R.jsx(Q.Button,{icon:R.jsx(Vt.ExternalLinkAltIcon,{}),variant:"link",onClick:()=>window.open(e.titleDocLink,"_blank"),isInline:!0,iconPosition:"end",children:c.documentation})})]}),position:"bottom-start",children:R.jsxs(Q.Title,{"data-testid":"page-title","data-cy":"page-title",headingLevel:"h1",children:[t,R.jsx(Q.Button,{icon:R.jsx(Vt.OutlinedQuestionCircleIcon,{}),variant:"link",style:{padding:0,marginTop:1,marginLeft:8,verticalAlign:"top"}})]})}):R.jsx(Q.Title,{"data-cy":"page-title",headingLevel:"h1",children:t}):null,s&&n&&R.jsx("div",{"data-cy":"app-description",style:{paddingTop:l?4:2,opacity:.8},children:n})]}),t&&(a||r)&&R.jsxs(Q.Flex,{"data-cy":"manage-view",direction:{default:"column"},spaceItems:{default:"spaceItemsSm",xl:"spaceItemsMd"},justifyContent:{default:"justifyContentCenter"},children:[r&&R.jsx(Q.FlexItem,{grow:{default:"grow"},children:r}),a&&R.jsx(Q.FlexItem,{children:a})]})]}),o]})})}function Age(e){const[t]=Pa();return R.jsx(KJ,{message:t.errorText,children:e.children})}function Lot(e){return R.jsxs(Q.Masthead,{display:{default:"inline"},children:[R.jsxs(Q.MastheadMain,{children:[R.jsx(Pge,{}),R.jsx(Q.MastheadBrand,{children:R.jsx(Q.MastheadLogo,{component:t=>R.jsx(Gr.Link,{...t,to:"/",style:{textDecoration:"none",color:"light-dark(black, white)"}}),children:e.brand})})]}),R.jsx(Q.MastheadContent,{style:{marginLeft:0,minHeight:0},children:R.jsx(Q.Toolbar,{id:"toolbar","data-cy":"toolbar",inset:{default:"insetNone"},style:{padding:0},children:R.jsx(Q.ToolbarContent,{children:e.children})})})]})}function Pge(){const e=pT();return R.jsx(Q.MastheadToggle,{onClick:()=>e.setState({isOpen:!e.isOpen}),children:R.jsx(Q.PageToggleButton,{"data-cy":"nav-toggle",variant:"plain","aria-label":"Global navigation",children:R.jsx(Vt.BarsIcon,{})})})}function Bot(){const{setNotificationsDrawerOpen:e,notificationGroups:t}=_S(),n=Object.values(t).reduce((r,a)=>r+a.notifications.length,0);return R.jsx(Q.NotificationBadge,{"data-cy":"notification-badge",variant:n===0?"read":"unread",count:n,onClick:()=>e(r=>!r)})}function Fot(){const[e,t]=w.useContext(yv);return e.activeTheme==="dark"?R.jsx(Q.Button,{icon:R.jsx(Vt.MoonIcon,{}),"data-cy":"settings-icon",variant:"plain",onClick:()=>t({...e,theme:"light"})}):R.jsx(Q.Button,{icon:R.jsx(Vt.SunIcon,{}),"data-cy":"theme-icon",variant:"plain",onClick:()=>t({...e,theme:"dark"})})}function jot(e){return e.replace(/^\//,"")}function Dge(e,t){for(const n of e){if("id"in n&&n.id===t)return n;if("children"in n){const r=Dge(n.children,t);if(r)return r}}}function Mge(e,t){for(let n=0;n<e.length;n++){const r=e[n];if("id"in r&&r.id===t)return e.splice(n,1),r;if("children"in r){const a=Mge(r.children,t);if(a)return a}}}function Lge(e,t,n){for(const r of e)if("id"in r&&r.id===t){const a=r;"children"in r||(a.children=[]),a.children.push(n);return}else"children"in r&&Lge(r.children,t,n)}function Bge(e,t,n){for(let r=0;r<e.length;r++){const a=e[r];if("id"in a&&a.id===t){e.splice(r+1,0,n);return}else"children"in a&&Bge(a.children,t,n)}}function Fge(e,t,n){for(let r=0;r<e.length;r++){const a=e[r];if("id"in a&&a.id===t){e.splice(r,0,n);return}else"children"in a&&Fge(a.children,t,n)}}function jge(){const e=gLe();return w.useCallback((t,n)=>{let r=e[t]??"";const a=n==null?void 0:n.params,o=n==null?void 0:n.query;return r&&(a&&(r=Object.keys(a).reduce((i,l)=>{let s=a[l];if(s==null)return i;s=encodeURIComponent(s.toString());const c=":"+l,p=new RegExp(c+"(?!.*"+c+")","g");return i.replace(p,s)},r)),o&&(r=`${r}?${Object.keys(o).map(i=>{let l=o[i];return l===void 0?"":(l=encodeURIComponent(l.toString()),`${i}=${l}`)}).join("&").replace("/&&/g","&")}`)),r},[e])}function Uot(){const e=Gr.useNavigate(),t=jge();return w.useCallback((n,r)=>{const a=t(n,r);a&&e(a)},[e,t])}function zot(e){const{loading:t}=e,[n,r]=w.useState((e==null?void 0:e.initialTabIndex)??0),a=w.useCallback((s,c)=>r(c),[r]),o=w.Children.toArray(e.children),i=o.map((s,c)=>{if(w.isValidElement(s)&&s.type===NU){const p=s.props.label;return R.jsx(Q.Tab,{title:p||R.jsx(Q.Skeleton,{width:"60px"}),eventKey:c},p??c)}return s}),l=o[n];return t?R.jsx(Q.Tabs,{children:R.jsx(NU,{children:R.jsx(Q.PageSection,{hasBodyWrapper:!1,children:R.jsx(Q.Skeleton,{})})})}):R.jsxs(R.Fragment,{children:[R.jsx(Q.Tabs,{activeKey:n,onSelect:a,inset:{default:"insetSm"},className:"pf-v6-u-mb-md",children:i}),l]})}function NU(e){return R.jsx(R.Fragment,{children:e.children})}function Got(e,t,n,r){return(a,o)=>{e(i=>{r?r(i):a(i.map(l=>t(l)))},o?o.map(i=>n(i)):[])}}function qot(e,t,n,r){return(a,o)=>{e(i=>{r?r(i):a(t(i))},o?n(o):void 0)}}function Wot(){const[e,t]=w.useState(!0);return w.useEffect(()=>()=>{t(!1)},[]),e}function Hot(){const e=w.useRef({isMounted:!0});return w.useEffect(()=>()=>{e.current.isMounted=!1},[]),e}function Uge(){const e=Wot(),[t,n]=w.useState(e?window.location:void 0),r=w.useCallback(()=>{n(window.location)},[]);w.useEffect(()=>{if(e)return t||r(),window.addEventListener("popstate",r),()=>{window.removeEventListener("popstate",r)}},[e,t,r]);const a=w.useCallback(i=>{window.history.replaceState(null,"",i),r()},[r]),o=w.useCallback(i=>{window.history.replaceState(null,"",i),r()},[r]);return{location:t,push:a,update:o}}function zge(){var a,o;const e=Uge(),t=((a=e.location)==null?void 0:a.pathname)||"/",n=w.useMemo(()=>{var l;let i=(l=e.location)==null?void 0:l.search;return i&&i.includes("?specPath=")?i=i.substring(0,i.indexOf("?specPath=")):i&&i.includes("&specPath=")&&(i=i.substring(0,i.indexOf("&specPath="))),new URLSearchParams(i??"/")},[(o=e.location)==null?void 0:o.search]),r=w.useCallback(i=>{const l=i.toString();l?e.update("?"+l):e.update(t)},[e,t]);return[n,r]}const Gge=w.createContext({});function eh(){return w.useContext(Gge)}function Vot(e,t){return!e.hidden||!e.hidden(t)?e:null}function nf(e){return(e==null?void 0:e.substeps)!==void 0}function Yot(e){const{steps:t,onSubmit:n}=e,[r,a]=w.useState(!1),[o,i]=w.useState(null),[l,s]=w.useState({}),[c,p]=w.useState(e.stepDefaults??{}),[f,g]=w.useState({}),[v,b]=w.useState(),[y,x]=w.useState(!1),[E,C]=zge(),I=w.useMemo(()=>Kot(t),[t]);w.useEffect(()=>{if(process.env.NODE_ENV==="development")for(const M in e.stepDefaults)t.find(L=>L.id===M)||console.warn(`PageWizardProvider: defaultValue key '${M}' not found in steps.`)},[e.stepDefaults,t]),w.useEffect(()=>{const M=cO(t,l);o||!M.length||(M[0].substeps?i(M[0].substeps[0]):i(M[0]))},[o,t,l]);const N=w.useCallback(async(M={})=>{var j;const L=qge(t,{...l,...M});if(o===null)return Promise.resolve();if(!nf(o)&&o.validate&&await o.validate(M,l),(o==null?void 0:o.id)===((j=L[L.length-1])==null?void 0:j.id)){x(!0);try{await n(l)}catch(W){b(W instanceof Error?W:new Error(LE("An error occurred.")))}finally{x(!1)}return}const U=L.findIndex(W=>W.id===(o==null?void 0:o.id)),F=nf(L[U+1])?L[U+2]:L[U+1];return C(new URLSearchParams("")),s(W=>({...W,...M})),p(W=>({...W,[o==null?void 0:o.id]:M})),i(F),Promise.resolve()},[o,t,n,C,l,b]),O=w.useCallback(()=>{const M=cO(I,l),L=M.findIndex(U=>U.id===(o==null?void 0:o.id)),H=nf(M[L-1])?M[L-2]:M[L-1];C(new URLSearchParams("")),i(H)},[o==null?void 0:o.id,I,C,l]),P=w.useMemo(()=>({wizardData:l,setWizardData:s,stepData:c,setStepData:p,steps:e.steps,visibleSteps:cO(t,l),visibleStepsFlattened:qge(t,l),activeStep:o,setActiveStep:i,stepError:f,setStepError:g,submitError:v,setSubmitError:b,isToggleExpanded:r,setToggleExpanded:a,onNext:N,onBack:O,isSubmitting:y}),[l,s,c,p,e.steps,t,o,i,f,g,v,b,r,a,N,O,y]);return R.jsx(Gge.Provider,{value:P,children:e.children})}function Kot(e){return e.reduce((t,n)=>(t.push(n),nf(n)&&t.push(...n.substeps),t),[])}function cO(e,t){return e.filter(n=>Vot(n,t))}function qge(e,t){return cO(e,t).reduce((r,a)=>(r.push(a),nf(a)&&r.push(...a.substeps),r),[])}function Wge(e){const{t}=Wn(),{activeStep:n,visibleStepsFlattened:r,setSubmitError:a}=eh(),o=(n==null?void 0:n.id)===r[r.length-1].id,i=t(o?"Finish":"Next"),l=nf(r[0])?(n==null?void 0:n.id)===r[1].id:(n==null?void 0:n.id)===r[0].id,s=l?"pf-v6-c-button pf-m-disabled":"pf-v6-c-button pf-m-secondary";return R.jsx("footer",{className:"pf-v6-c-wizard__footer","data-cy":"wizard-footer",children:R.jsxs(Q.ActionList,{children:[R.jsxs(Q.ActionListGroup,{children:[R.jsx(Q.ActionListItem,{children:n!==null&&"inputs"in n?R.jsx(Kj,{style:{minWidth:10},children:i}):R.jsx("button",{"data-cy":"wizard-next",className:"pf-v6-c-button pf-m-primary",type:"submit",onClick:()=>{var c;a(void 0),(c=e.onNext)==null||c.call(e)},children:i})}),R.jsx(Q.ActionListItem,{children:R.jsx("button",{type:"button","data-cy":"wizard-back",className:s,disabled:l,onClick:()=>{var c;a(void 0),(c=e.onBack)==null||c.call(e)},children:t("Back")})})]}),R.jsx(Q.ActionListItem,{children:R.jsx("div",{"data-cy":"wizard-cancel",className:"pf-v6-c-wizard__footer-cancel",children:R.jsx("button",{className:"pf-v6-c-button pf-m-link",type:"button",onClick:e.onCancel,children:t("Cancel")})})})]})})}function Qot({onCancel:e,disableGrid:t,errorAdapter:n,isVertical:r,singleColumn:a}){const o=Gr.useNavigate(),{activeStep:i,stepData:l,onNext:s,onBack:c,submitError:p,isSubmitting:f}=eh(),g=w.useCallback(()=>{e?e():o(-1)},[o,e]);return f?R.jsx(Q.Bullseye,{children:R.jsx(Q.Spinner,{})}):R.jsxs(Age,{children:[R.jsx(Zot,{error:p}),i!==null&&("inputs"in i?R.jsxs(wfe,{onSubmit:s,footer:R.jsx(Wge,{onBack:c,onCancel:g}),defaultValue:l[i.id],errorAdapter:n,disableGrid:t,isVertical:r,singleColumn:a,isWizard:!0,children:[R.jsx(Xot,{}),i.inputs]},i.id):R.jsxs("div",{"data-cy":`wizard-section-${i.id}`,style:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden"},children:[R.jsx(Q.PageSection,{hasBodyWrapper:!1,"aria-label":LE("Wizard step content"),hasOverflowScroll:!0,isFilled:!0,children:i==null?void 0:i.element}),R.jsx(Wge,{onNext:()=>void s({}),onBack:c,onCancel:g})]}))]})}function Xot(){const{activeStep:e,setStepError:t}=eh(),{errors:n}=zj(),r=JSON.stringify(n);return w.useEffect(()=>{Object.keys(n).length===0?t({}):e&&t({[e.id]:n})},[n,e,t,r]),null}function Zot(e){const{t}=Wn(),n=e.error;if(!e.error)return null;if(!(e.error instanceof Error))return typeof e.error=="string"?R.jsx(Q.Alert,{variant:"danger",title:e.error}):R.jsx(Q.Alert,{variant:"danger",title:t("An error occurred.")});if("message"in e.error&&!n.json)return R.jsx(Q.Alert,{variant:"danger",title:e.error.message});if(n.json)return R.jsx(Q.Alert,{variant:"danger",title:n.message,isInline:!0,children:Object.values(n.json).map((r,a)=>R.jsx("div",{children:r},a))})}function Nu(...e){const t=[],n={}.hasOwnProperty;return e.filter(Boolean).forEach(r=>{const a=typeof r;if(a==="string"||a==="number")t.push(r);else if(Array.isArray(r)&&r.length){const o=Nu(...r);o&&t.push(o)}else if(a==="object")for(const o in r)n.call(r,o)&&r[o]&&t.push(o)}),t.join(" ")}const rf={wizardClose:"pf-v6-c-wizard__close",wizardHeader:"pf-v6-c-wizard__header",wizardTitle:"pf-v6-c-wizard__title",wizardTitleText:"pf-v6-c-wizard__title-text",wizardToggle:"pf-v6-c-wizard__toggle",wizardToggleIcon:"pf-v6-c-wizard__toggle-icon",wizardToggleList:"pf-v6-c-wizard__toggle-list",wizardToggleListItem:"pf-v6-c-wizard__toggle-list-item",wizardToggleNum:"pf-v6-c-wizard__toggle-num"},Jot=Cn.div`
566
566
  background-color: var(--pf-t--global--background--color--primary--default);
567
567
  color: var(--pf-t--global--text--color--regular);
568
568
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "2.4.2680",
4
+ "version": "2.4.2681",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,155 +1,155 @@
1
- import { $ as s } from "./index-D0UiKTWo.js";
2
- import { B as o } from "./index-D0UiKTWo.js";
3
- import { A as t } from "./index-D0UiKTWo.js";
4
- import { C as r } from "./index-D0UiKTWo.js";
5
- import { aW as l } from "./index-D0UiKTWo.js";
6
- import { aY as i } from "./index-D0UiKTWo.js";
7
- import { aV as n } from "./index-D0UiKTWo.js";
8
- import { aX as g } from "./index-D0UiKTWo.js";
9
- import { aZ as b } from "./index-D0UiKTWo.js";
10
- import { aU as u } from "./index-D0UiKTWo.js";
11
- import { aQ as P } from "./index-D0UiKTWo.js";
12
- import { D as d } from "./index-D0UiKTWo.js";
13
- import { af as m } from "./index-D0UiKTWo.js";
14
- import { ae as C } from "./index-D0UiKTWo.js";
15
- import { E as c } from "./index-D0UiKTWo.js";
16
- import { bo as T } from "./index-D0UiKTWo.js";
17
- import { bm as D } from "./index-D0UiKTWo.js";
18
- import { F as p } from "./index-D0UiKTWo.js";
19
- import { G as S } from "./index-D0UiKTWo.js";
20
- import { bs as h } from "./index-D0UiKTWo.js";
21
- import { ab as F } from "./index-D0UiKTWo.js";
22
- import { H as v } from "./index-D0UiKTWo.js";
23
- import { k as B } from "./index-D0UiKTWo.js";
24
- import { I as f } from "./index-D0UiKTWo.js";
25
- import { L as I } from "./index-D0UiKTWo.js";
26
- import { a2 as A } from "./index-D0UiKTWo.js";
27
- import { P as y } from "./index-D0UiKTWo.js";
28
- import { r as N } from "./index-D0UiKTWo.js";
29
- import { q as x } from "./index-D0UiKTWo.js";
30
- import { s as k } from "./index-D0UiKTWo.js";
31
- import { t as w } from "./index-D0UiKTWo.js";
32
- import { w as E } from "./index-D0UiKTWo.js";
33
- import { y as O } from "./index-D0UiKTWo.js";
34
- import { z as L } from "./index-D0UiKTWo.js";
35
- import { J as M } from "./index-D0UiKTWo.js";
36
- import { M as V } from "./index-D0UiKTWo.js";
37
- import { N as R } from "./index-D0UiKTWo.js";
38
- import { Q as W } from "./index-D0UiKTWo.js";
39
- import { O as j } from "./index-D0UiKTWo.js";
40
- import { K as G } from "./index-D0UiKTWo.js";
41
- import { U as z } from "./index-D0UiKTWo.js";
42
- import { X as U } from "./index-D0UiKTWo.js";
43
- import { V as H } from "./index-D0UiKTWo.js";
44
- import { Y as q } from "./index-D0UiKTWo.js";
45
- import { aP as Q } from "./index-D0UiKTWo.js";
46
- import { Z as J } from "./index-D0UiKTWo.js";
47
- import { _ as K } from "./index-D0UiKTWo.js";
48
- import { a4 as X } from "./index-D0UiKTWo.js";
49
- import { W as Y } from "./index-D0UiKTWo.js";
50
- import { an as Z } from "./index-D0UiKTWo.js";
51
- import { aq as _ } from "./index-D0UiKTWo.js";
52
- import { ac as $ } from "./index-D0UiKTWo.js";
53
- import { ad as aa } from "./index-D0UiKTWo.js";
54
- import { ao as ea } from "./index-D0UiKTWo.js";
55
- import { ai as sa } from "./index-D0UiKTWo.js";
56
- import { ap as oa } from "./index-D0UiKTWo.js";
57
- import { aj as ta } from "./index-D0UiKTWo.js";
58
- import { ak as ra } from "./index-D0UiKTWo.js";
59
- import { al as la } from "./index-D0UiKTWo.js";
60
- import { ar as ia } from "./index-D0UiKTWo.js";
61
- import { as as na } from "./index-D0UiKTWo.js";
62
- import { at as ga } from "./index-D0UiKTWo.js";
63
- import { au as ba } from "./index-D0UiKTWo.js";
64
- import { av as ua } from "./index-D0UiKTWo.js";
65
- import { aF as Pa } from "./index-D0UiKTWo.js";
66
- import { aH as da } from "./index-D0UiKTWo.js";
67
- import { ay as ma } from "./index-D0UiKTWo.js";
68
- import { a9 as Ca } from "./index-D0UiKTWo.js";
69
- import { aa as ca } from "./index-D0UiKTWo.js";
70
- import { aw as Ta } from "./index-D0UiKTWo.js";
71
- import { aL as Da } from "./index-D0UiKTWo.js";
72
- import { aM as pa } from "./index-D0UiKTWo.js";
73
- import { bg as Sa } from "./index-D0UiKTWo.js";
74
- import { aN as ha } from "./index-D0UiKTWo.js";
75
- import { aR as Fa } from "./index-D0UiKTWo.js";
76
- import { aT as va } from "./index-D0UiKTWo.js";
77
- import { bf as Ba } from "./index-D0UiKTWo.js";
78
- import { ax as fa } from "./index-D0UiKTWo.js";
79
- import { bh as Ia } from "./index-D0UiKTWo.js";
80
- import { bj as Aa } from "./index-D0UiKTWo.js";
81
- import { br as ya } from "./index-D0UiKTWo.js";
82
- import { R as Na } from "./index-D0UiKTWo.js";
83
- import { S as xa } from "./index-D0UiKTWo.js";
84
- import { a8 as ka } from "./index-D0UiKTWo.js";
85
- import { aO as wa } from "./index-D0UiKTWo.js";
86
- import { a_ as Ea } from "./index-D0UiKTWo.js";
87
- import { T as Oa } from "./index-D0UiKTWo.js";
88
- import { bn as La } from "./index-D0UiKTWo.js";
89
- import { bi as Ma } from "./index-D0UiKTWo.js";
90
- import { bq as Va } from "./index-D0UiKTWo.js";
91
- import { bp as Ra } from "./index-D0UiKTWo.js";
92
- import { aC as Wa } from "./index-D0UiKTWo.js";
93
- import { aD as ja } from "./index-D0UiKTWo.js";
94
- import { aE as Ga } from "./index-D0UiKTWo.js";
95
- import { bz as za } from "./index-D0UiKTWo.js";
96
- import { by as Ua } from "./index-D0UiKTWo.js";
97
- import { bx as Ha } from "./index-D0UiKTWo.js";
98
- import { bw as qa } from "./index-D0UiKTWo.js";
99
- import { x as Qa } from "./index-D0UiKTWo.js";
100
- import { bB as Ja } from "./index-D0UiKTWo.js";
101
- import { aA as Ka } from "./index-D0UiKTWo.js";
102
- import { g as Xa } from "./index-D0UiKTWo.js";
103
- import { bk as Ya } from "./index-D0UiKTWo.js";
104
- import { ah as Za } from "./index-D0UiKTWo.js";
105
- import { bA as _a } from "./index-D0UiKTWo.js";
106
- import { a as $a } from "./index-D0UiKTWo.js";
107
- import { e as ae } from "./index-D0UiKTWo.js";
108
- import { c as ee } from "./index-D0UiKTWo.js";
109
- import { f as se } from "./index-D0UiKTWo.js";
110
- import { p as oe } from "./index-D0UiKTWo.js";
111
- import { i as te } from "./index-D0UiKTWo.js";
112
- import { h as re } from "./index-D0UiKTWo.js";
113
- import { b as le } from "./index-D0UiKTWo.js";
114
- import { az as ie } from "./index-D0UiKTWo.js";
115
- import { aB as ne } from "./index-D0UiKTWo.js";
116
- import { bl as ge } from "./index-D0UiKTWo.js";
117
- import { n as be } from "./index-D0UiKTWo.js";
118
- import { a0 as ue } from "./index-D0UiKTWo.js";
119
- import { a1 as Pe } from "./index-D0UiKTWo.js";
120
- import { aS as de } from "./index-D0UiKTWo.js";
121
- import { b8 as me } from "./index-D0UiKTWo.js";
122
- import { b7 as Ce } from "./index-D0UiKTWo.js";
123
- import { b3 as ce } from "./index-D0UiKTWo.js";
124
- import { b5 as Te } from "./index-D0UiKTWo.js";
125
- import { b6 as De } from "./index-D0UiKTWo.js";
126
- import { bd as pe } from "./index-D0UiKTWo.js";
127
- import { am as Se } from "./index-D0UiKTWo.js";
128
- import { bt as he } from "./index-D0UiKTWo.js";
129
- import { aJ as Fe } from "./index-D0UiKTWo.js";
130
- import { bu as ve } from "./index-D0UiKTWo.js";
131
- import { a3 as Be } from "./index-D0UiKTWo.js";
132
- import { o as fe } from "./index-D0UiKTWo.js";
133
- import { v as Ie } from "./index-D0UiKTWo.js";
134
- import { a6 as Ae } from "./index-D0UiKTWo.js";
135
- import { a5 as ye } from "./index-D0UiKTWo.js";
136
- import { aI as Ne } from "./index-D0UiKTWo.js";
137
- import { aG as xe } from "./index-D0UiKTWo.js";
138
- import { aK as ke } from "./index-D0UiKTWo.js";
139
- import { u as we } from "./index-D0UiKTWo.js";
140
- import { be as Ee } from "./index-D0UiKTWo.js";
141
- import { l as Oe } from "./index-D0UiKTWo.js";
142
- import { a7 as Le } from "./index-D0UiKTWo.js";
143
- import { ba as Me } from "./index-D0UiKTWo.js";
144
- import { bb as Ve } from "./index-D0UiKTWo.js";
145
- import { bc as Re } from "./index-D0UiKTWo.js";
146
- import { b9 as We } from "./index-D0UiKTWo.js";
147
- import { bv as je } from "./index-D0UiKTWo.js";
148
- import { b1 as Ge } from "./index-D0UiKTWo.js";
149
- import { b4 as ze } from "./index-D0UiKTWo.js";
150
- import { b0 as Ue } from "./index-D0UiKTWo.js";
151
- import { b2 as He } from "./index-D0UiKTWo.js";
152
- import { a$ as qe } from "./index-D0UiKTWo.js";
153
- import { m as Qe } from "./index-D0UiKTWo.js";
154
- import { ag as Je } from "./index-D0UiKTWo.js";
1
+ import { $ as s } from "./index-Cbq4EFFV.js";
2
+ import { B as o } from "./index-Cbq4EFFV.js";
3
+ import { A as t } from "./index-Cbq4EFFV.js";
4
+ import { C as r } from "./index-Cbq4EFFV.js";
5
+ import { aW as l } from "./index-Cbq4EFFV.js";
6
+ import { aY as i } from "./index-Cbq4EFFV.js";
7
+ import { aV as n } from "./index-Cbq4EFFV.js";
8
+ import { aX as g } from "./index-Cbq4EFFV.js";
9
+ import { aZ as b } from "./index-Cbq4EFFV.js";
10
+ import { aU as u } from "./index-Cbq4EFFV.js";
11
+ import { aQ as P } from "./index-Cbq4EFFV.js";
12
+ import { D as d } from "./index-Cbq4EFFV.js";
13
+ import { af as m } from "./index-Cbq4EFFV.js";
14
+ import { ae as C } from "./index-Cbq4EFFV.js";
15
+ import { E as c } from "./index-Cbq4EFFV.js";
16
+ import { bo as T } from "./index-Cbq4EFFV.js";
17
+ import { bm as D } from "./index-Cbq4EFFV.js";
18
+ import { F as p } from "./index-Cbq4EFFV.js";
19
+ import { G as S } from "./index-Cbq4EFFV.js";
20
+ import { bs as h } from "./index-Cbq4EFFV.js";
21
+ import { ab as F } from "./index-Cbq4EFFV.js";
22
+ import { H as v } from "./index-Cbq4EFFV.js";
23
+ import { k as B } from "./index-Cbq4EFFV.js";
24
+ import { I as f } from "./index-Cbq4EFFV.js";
25
+ import { L as I } from "./index-Cbq4EFFV.js";
26
+ import { a2 as A } from "./index-Cbq4EFFV.js";
27
+ import { P as y } from "./index-Cbq4EFFV.js";
28
+ import { r as N } from "./index-Cbq4EFFV.js";
29
+ import { q as x } from "./index-Cbq4EFFV.js";
30
+ import { s as k } from "./index-Cbq4EFFV.js";
31
+ import { t as w } from "./index-Cbq4EFFV.js";
32
+ import { w as E } from "./index-Cbq4EFFV.js";
33
+ import { y as O } from "./index-Cbq4EFFV.js";
34
+ import { z as L } from "./index-Cbq4EFFV.js";
35
+ import { J as M } from "./index-Cbq4EFFV.js";
36
+ import { M as V } from "./index-Cbq4EFFV.js";
37
+ import { N as R } from "./index-Cbq4EFFV.js";
38
+ import { Q as W } from "./index-Cbq4EFFV.js";
39
+ import { O as j } from "./index-Cbq4EFFV.js";
40
+ import { K as G } from "./index-Cbq4EFFV.js";
41
+ import { U as z } from "./index-Cbq4EFFV.js";
42
+ import { X as U } from "./index-Cbq4EFFV.js";
43
+ import { V as H } from "./index-Cbq4EFFV.js";
44
+ import { Y as q } from "./index-Cbq4EFFV.js";
45
+ import { aP as Q } from "./index-Cbq4EFFV.js";
46
+ import { Z as J } from "./index-Cbq4EFFV.js";
47
+ import { _ as K } from "./index-Cbq4EFFV.js";
48
+ import { a4 as X } from "./index-Cbq4EFFV.js";
49
+ import { W as Y } from "./index-Cbq4EFFV.js";
50
+ import { an as Z } from "./index-Cbq4EFFV.js";
51
+ import { aq as _ } from "./index-Cbq4EFFV.js";
52
+ import { ac as $ } from "./index-Cbq4EFFV.js";
53
+ import { ad as aa } from "./index-Cbq4EFFV.js";
54
+ import { ao as ea } from "./index-Cbq4EFFV.js";
55
+ import { ai as sa } from "./index-Cbq4EFFV.js";
56
+ import { ap as oa } from "./index-Cbq4EFFV.js";
57
+ import { aj as ta } from "./index-Cbq4EFFV.js";
58
+ import { ak as ra } from "./index-Cbq4EFFV.js";
59
+ import { al as la } from "./index-Cbq4EFFV.js";
60
+ import { ar as ia } from "./index-Cbq4EFFV.js";
61
+ import { as as na } from "./index-Cbq4EFFV.js";
62
+ import { at as ga } from "./index-Cbq4EFFV.js";
63
+ import { au as ba } from "./index-Cbq4EFFV.js";
64
+ import { av as ua } from "./index-Cbq4EFFV.js";
65
+ import { aF as Pa } from "./index-Cbq4EFFV.js";
66
+ import { aH as da } from "./index-Cbq4EFFV.js";
67
+ import { ay as ma } from "./index-Cbq4EFFV.js";
68
+ import { a9 as Ca } from "./index-Cbq4EFFV.js";
69
+ import { aa as ca } from "./index-Cbq4EFFV.js";
70
+ import { aw as Ta } from "./index-Cbq4EFFV.js";
71
+ import { aL as Da } from "./index-Cbq4EFFV.js";
72
+ import { aM as pa } from "./index-Cbq4EFFV.js";
73
+ import { bg as Sa } from "./index-Cbq4EFFV.js";
74
+ import { aN as ha } from "./index-Cbq4EFFV.js";
75
+ import { aR as Fa } from "./index-Cbq4EFFV.js";
76
+ import { aT as va } from "./index-Cbq4EFFV.js";
77
+ import { bf as Ba } from "./index-Cbq4EFFV.js";
78
+ import { ax as fa } from "./index-Cbq4EFFV.js";
79
+ import { bh as Ia } from "./index-Cbq4EFFV.js";
80
+ import { bj as Aa } from "./index-Cbq4EFFV.js";
81
+ import { br as ya } from "./index-Cbq4EFFV.js";
82
+ import { R as Na } from "./index-Cbq4EFFV.js";
83
+ import { S as xa } from "./index-Cbq4EFFV.js";
84
+ import { a8 as ka } from "./index-Cbq4EFFV.js";
85
+ import { aO as wa } from "./index-Cbq4EFFV.js";
86
+ import { a_ as Ea } from "./index-Cbq4EFFV.js";
87
+ import { T as Oa } from "./index-Cbq4EFFV.js";
88
+ import { bn as La } from "./index-Cbq4EFFV.js";
89
+ import { bi as Ma } from "./index-Cbq4EFFV.js";
90
+ import { bq as Va } from "./index-Cbq4EFFV.js";
91
+ import { bp as Ra } from "./index-Cbq4EFFV.js";
92
+ import { aC as Wa } from "./index-Cbq4EFFV.js";
93
+ import { aD as ja } from "./index-Cbq4EFFV.js";
94
+ import { aE as Ga } from "./index-Cbq4EFFV.js";
95
+ import { bz as za } from "./index-Cbq4EFFV.js";
96
+ import { by as Ua } from "./index-Cbq4EFFV.js";
97
+ import { bx as Ha } from "./index-Cbq4EFFV.js";
98
+ import { bw as qa } from "./index-Cbq4EFFV.js";
99
+ import { x as Qa } from "./index-Cbq4EFFV.js";
100
+ import { bB as Ja } from "./index-Cbq4EFFV.js";
101
+ import { aA as Ka } from "./index-Cbq4EFFV.js";
102
+ import { g as Xa } from "./index-Cbq4EFFV.js";
103
+ import { bk as Ya } from "./index-Cbq4EFFV.js";
104
+ import { ah as Za } from "./index-Cbq4EFFV.js";
105
+ import { bA as _a } from "./index-Cbq4EFFV.js";
106
+ import { a as $a } from "./index-Cbq4EFFV.js";
107
+ import { e as ae } from "./index-Cbq4EFFV.js";
108
+ import { c as ee } from "./index-Cbq4EFFV.js";
109
+ import { f as se } from "./index-Cbq4EFFV.js";
110
+ import { p as oe } from "./index-Cbq4EFFV.js";
111
+ import { i as te } from "./index-Cbq4EFFV.js";
112
+ import { h as re } from "./index-Cbq4EFFV.js";
113
+ import { b as le } from "./index-Cbq4EFFV.js";
114
+ import { az as ie } from "./index-Cbq4EFFV.js";
115
+ import { aB as ne } from "./index-Cbq4EFFV.js";
116
+ import { bl as ge } from "./index-Cbq4EFFV.js";
117
+ import { n as be } from "./index-Cbq4EFFV.js";
118
+ import { a0 as ue } from "./index-Cbq4EFFV.js";
119
+ import { a1 as Pe } from "./index-Cbq4EFFV.js";
120
+ import { aS as de } from "./index-Cbq4EFFV.js";
121
+ import { b8 as me } from "./index-Cbq4EFFV.js";
122
+ import { b7 as Ce } from "./index-Cbq4EFFV.js";
123
+ import { b3 as ce } from "./index-Cbq4EFFV.js";
124
+ import { b5 as Te } from "./index-Cbq4EFFV.js";
125
+ import { b6 as De } from "./index-Cbq4EFFV.js";
126
+ import { bd as pe } from "./index-Cbq4EFFV.js";
127
+ import { am as Se } from "./index-Cbq4EFFV.js";
128
+ import { bt as he } from "./index-Cbq4EFFV.js";
129
+ import { aJ as Fe } from "./index-Cbq4EFFV.js";
130
+ import { bu as ve } from "./index-Cbq4EFFV.js";
131
+ import { a3 as Be } from "./index-Cbq4EFFV.js";
132
+ import { o as fe } from "./index-Cbq4EFFV.js";
133
+ import { v as Ie } from "./index-Cbq4EFFV.js";
134
+ import { a6 as Ae } from "./index-Cbq4EFFV.js";
135
+ import { a5 as ye } from "./index-Cbq4EFFV.js";
136
+ import { aI as Ne } from "./index-Cbq4EFFV.js";
137
+ import { aG as xe } from "./index-Cbq4EFFV.js";
138
+ import { aK as ke } from "./index-Cbq4EFFV.js";
139
+ import { u as we } from "./index-Cbq4EFFV.js";
140
+ import { be as Ee } from "./index-Cbq4EFFV.js";
141
+ import { l as Oe } from "./index-Cbq4EFFV.js";
142
+ import { a7 as Le } from "./index-Cbq4EFFV.js";
143
+ import { ba as Me } from "./index-Cbq4EFFV.js";
144
+ import { bb as Ve } from "./index-Cbq4EFFV.js";
145
+ import { bc as Re } from "./index-Cbq4EFFV.js";
146
+ import { b9 as We } from "./index-Cbq4EFFV.js";
147
+ import { bv as je } from "./index-Cbq4EFFV.js";
148
+ import { b1 as Ge } from "./index-Cbq4EFFV.js";
149
+ import { b4 as ze } from "./index-Cbq4EFFV.js";
150
+ import { b0 as Ue } from "./index-Cbq4EFFV.js";
151
+ import { b2 as He } from "./index-Cbq4EFFV.js";
152
+ import { a$ as qe } from "./index-Cbq4EFFV.js";
153
+ import { m as Qe } from "./index-Cbq4EFFV.js";
154
+ import { ag as Je } from "./index-Cbq4EFFV.js";
155
155
  export { s as BulkActionDialog, o as BulkSelector, t as BytesCell, r as Collapse, l as ColumnCardOption, i as ColumnDashboardOption, n as ColumnListOption, g as ColumnModalOption, b as ColumnPriority, u as ColumnTableOption, P as ColumnsDiv, d as CopyCell, m as DataEditorActions, C as DataEditorButtons, c as DateCell, T as DateRange, D as DateRangeFilterPresets, p as DateTimeCell, S as ElapsedTimeCell, h as FrameworkTranslationsProvider, F as GenericForm, v as Help, B as LabelColorE, f as LabelsCell, I as LoadingPage, A as MultiSelectDialog, y as PFColorE, N as PageActionSelection, x as PageActionType, k as PageActions, w as PageAlertToasterContext, E as PageAlertToasterProvider, O as PageApp, L as PageBody, M as PageChartContainer, V as PageDashboard, R as PageDashboardCard, W as PageDashboardChart, j as PageDashboardChartVariantE, G as PageDashboardContext, z as PageDashboardCount, U as PageDashboardDonutCard, H as PageDashboardGettingStarted, q as PageDetail, Q as PageDetailDiv, J as PageDetails, K as PageDetailsFromColumns, X as PageDialogProvider, Y as PageDonutChart, Z as PageForm, _ as PageFormCancelButton, $ as PageFormCheckbox, aa as PageFormDataEditor, ea as PageFormGrid, sa as PageFormSelect, oa as PageFormSubmitButton, ta as PageFormSwitch, ra as PageFormTextArea, la as PageFormTextInput, ia as PageFramework, na as PageHeader, ga as PageLayout, ba as PageMasthead, ua as PageMastheadToggle, Pa as PageNavSideBarContext, da as PageNavSideBarProvider, ma as PageNavigation, Ca as PageNotFound, ca as PageNotImplemented, Ta as PageNotificationsIcon, Da as PageSettingsContext, pa as PageSettingsProvider, Sa as PageTab, ha as PageTable, Fa as PageTableCard, va as PageTableCards, Ba as PageTabs, fa as PageThemeSwitcher, Ia as PageToolbar, Aa as PageToolbarFilters, ya as PageWizard, Na as RunningIcon, xa as Scrollable, ka as SelectDialog, wa as Small, Ea as TableColumnCell, Oa as TextCell, La as ToolbarDateRangeFilter, Ma as ToolbarFilterType, Va as ToolbarSingleTextFilter, Ra as ToolbarTextMultiFilter, Wa as addNavigationItem, ja as addNavigationItemAfter, Ga as addNavigationItemBefore, za as buildQueryString, Ua as compareNumbers, Ha as compareStrings, qa as compareUnknowns, Qa as errorToAlertProps, Ja as filtersToSearchObj, Ka as findNavigationItemById, Xa as getPatternflyColor, Ya as multiSelectBrowseAdapter, Za as objectToString, _a as paramsToSearchObj, $a as pfDanger, ae as pfDisabled, ee as pfInfo, se as pfLink, oe as pfSuccess, te as pfTopologyInfo, re as pfUnreachable, le as pfWarning, ie as removeLeadingSlash, ne as removeNavigationItemById, ge as singleSelectBrowseAdapter, be as useBreakpoint, ue as useBulkActionDialog, Pe as useBulkConfirmation, de as useColumnsToTableCardFn, me as useColumnsWithoutExpandedRow, Ce as useColumnsWithoutSort, ce as useDashboardColumns, Te as useDescriptionColumns, De as useExpandedColumns, pe as useFiltered, Se as useFormErrors, he as useFrameworkTranslations, Fe as useGetPageUrl, ve as useInMemoryView, Be as useIsPageDialog, fe as useOrientation, Ie as usePageAlertToaster, Ae as usePageDialog, ye as usePageDialogs, Ne as usePageNavBarClick, xe as usePageNavSideBar, ke as usePageNavigate, we as usePageSettings, Ee as usePaged, Oe as useScrollableState, Le as useSelectDialog, Me as useSelected, Ve as useSelectedInMemory, Re as useSorted, We as useTableItems, je as useView, Ge as useVisibleCardColumns, ze as useVisibleColumns, Ue as useVisibleListColumns, He as useVisibleModalColumns, qe as useVisibleTableColumns, Qe as useWindowSize, Je as valueToObject };