@patternfly/react-core 4.232.9 → 4.232.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/umd/react-core.css +669 -669
- package/dist/umd/react-core.js +412 -507
- package/dist/umd/react-core.min.js +5 -5
- package/package.json +10 -10
package/dist/umd/react-core.js
CHANGED
|
@@ -106,70 +106,60 @@
|
|
|
106
106
|
"value": "576px",
|
|
107
107
|
"var": "var(--pf-global--breakpoint--sm)"
|
|
108
108
|
};
|
|
109
|
-
var globalBreakpointSm = global_breakpoint_sm;
|
|
110
109
|
|
|
111
110
|
const global_breakpoint_md = {
|
|
112
111
|
"name": "--pf-global--breakpoint--md",
|
|
113
112
|
"value": "768px",
|
|
114
113
|
"var": "var(--pf-global--breakpoint--md)"
|
|
115
114
|
};
|
|
116
|
-
var globalBreakpointMd = global_breakpoint_md;
|
|
117
115
|
|
|
118
116
|
const global_breakpoint_lg = {
|
|
119
117
|
"name": "--pf-global--breakpoint--lg",
|
|
120
118
|
"value": "992px",
|
|
121
119
|
"var": "var(--pf-global--breakpoint--lg)"
|
|
122
120
|
};
|
|
123
|
-
var globalBreakpointLg = global_breakpoint_lg;
|
|
124
121
|
|
|
125
122
|
const global_breakpoint_xl = {
|
|
126
123
|
"name": "--pf-global--breakpoint--xl",
|
|
127
124
|
"value": "1200px",
|
|
128
125
|
"var": "var(--pf-global--breakpoint--xl)"
|
|
129
126
|
};
|
|
130
|
-
var globalBreakpointXl = global_breakpoint_xl;
|
|
131
127
|
|
|
132
128
|
const global_breakpoint_2xl = {
|
|
133
129
|
"name": "--pf-global--breakpoint--2xl",
|
|
134
130
|
"value": "1450px",
|
|
135
131
|
"var": "var(--pf-global--breakpoint--2xl)"
|
|
136
132
|
};
|
|
137
|
-
var globalBreakpoint2xl = global_breakpoint_2xl;
|
|
138
133
|
|
|
139
134
|
const global_height_breakpoint_sm = {
|
|
140
135
|
"name": "--pf-global--height-breakpoint--sm",
|
|
141
136
|
"value": "0",
|
|
142
137
|
"var": "var(--pf-global--height-breakpoint--sm)"
|
|
143
138
|
};
|
|
144
|
-
var globalHeightBreakpointSm = global_height_breakpoint_sm;
|
|
145
139
|
|
|
146
140
|
const global_height_breakpoint_md = {
|
|
147
141
|
"name": "--pf-global--height-breakpoint--md",
|
|
148
142
|
"value": "40rem",
|
|
149
143
|
"var": "var(--pf-global--height-breakpoint--md)"
|
|
150
144
|
};
|
|
151
|
-
var globalHeightBreakpointMd = global_height_breakpoint_md;
|
|
152
145
|
|
|
153
146
|
const global_height_breakpoint_lg = {
|
|
154
147
|
"name": "--pf-global--height-breakpoint--lg",
|
|
155
148
|
"value": "48rem",
|
|
156
149
|
"var": "var(--pf-global--height-breakpoint--lg)"
|
|
157
150
|
};
|
|
158
|
-
var globalHeightBreakpointLg = global_height_breakpoint_lg;
|
|
159
151
|
|
|
160
152
|
const global_height_breakpoint_xl = {
|
|
161
153
|
"name": "--pf-global--height-breakpoint--xl",
|
|
162
154
|
"value": "60rem",
|
|
163
155
|
"var": "var(--pf-global--height-breakpoint--xl)"
|
|
164
156
|
};
|
|
165
|
-
var globalHeightBreakpointXl = global_height_breakpoint_xl;
|
|
166
157
|
|
|
167
158
|
const global_height_breakpoint_2xl = {
|
|
168
159
|
"name": "--pf-global--height-breakpoint--2xl",
|
|
169
160
|
"value": "80rem",
|
|
170
161
|
"var": "var(--pf-global--height-breakpoint--2xl)"
|
|
171
162
|
};
|
|
172
|
-
var globalHeightBreakpoint2xl = global_height_breakpoint_2xl;
|
|
173
163
|
|
|
174
164
|
const KEY_CODES = { ARROW_UP: 38, ARROW_DOWN: 40, ESCAPE_KEY: 27, TAB: 9, ENTER: 13, SPACE: 32 };
|
|
175
165
|
const SIDE = { RIGHT: 'right', LEFT: 'left', BOTH: 'both', NONE: 'none' };
|
|
@@ -192,18 +182,18 @@
|
|
|
192
182
|
ArrowRight: 'ArrowRight'
|
|
193
183
|
};
|
|
194
184
|
const globalWidthBreakpoints = {
|
|
195
|
-
sm: parseInt(
|
|
196
|
-
md: parseInt(
|
|
197
|
-
lg: parseInt(
|
|
198
|
-
xl: parseInt(
|
|
199
|
-
'2xl': parseInt(
|
|
185
|
+
sm: parseInt(global_breakpoint_sm.value),
|
|
186
|
+
md: parseInt(global_breakpoint_md.value),
|
|
187
|
+
lg: parseInt(global_breakpoint_lg.value),
|
|
188
|
+
xl: parseInt(global_breakpoint_xl.value),
|
|
189
|
+
'2xl': parseInt(global_breakpoint_2xl.value)
|
|
200
190
|
};
|
|
201
191
|
const globalHeightBreakpoints = {
|
|
202
|
-
sm: parseInt(
|
|
203
|
-
md: parseInt(
|
|
204
|
-
lg: parseInt(
|
|
205
|
-
xl: parseInt(
|
|
206
|
-
'2xl': parseInt(
|
|
192
|
+
sm: parseInt(global_height_breakpoint_sm.value),
|
|
193
|
+
md: parseInt(global_height_breakpoint_md.value),
|
|
194
|
+
lg: parseInt(global_height_breakpoint_lg.value),
|
|
195
|
+
xl: parseInt(global_height_breakpoint_xl.value),
|
|
196
|
+
'2xl': parseInt(global_height_breakpoint_2xl.value)
|
|
207
197
|
};
|
|
208
198
|
|
|
209
199
|
/*!
|
|
@@ -4291,14 +4281,13 @@
|
|
|
4291
4281
|
"value": "url(\"../../assets/images/pfbg_992@2x.jpg\")",
|
|
4292
4282
|
"var": "var(--pf-c-about-modal-box__hero--sm--BackgroundImage)"
|
|
4293
4283
|
};
|
|
4294
|
-
var c_about_modal_box__hero_sm_BackgroundImage$1 = c_about_modal_box__hero_sm_BackgroundImage;
|
|
4295
4284
|
|
|
4296
4285
|
const AboutModalBoxHero = (_a) => {
|
|
4297
4286
|
var { className, backgroundImageSrc } = _a, props = __rest$1(_a, ["className", "backgroundImageSrc"]);
|
|
4298
4287
|
return (React__namespace.createElement("div", Object.assign({ style:
|
|
4299
4288
|
/* eslint-disable camelcase */
|
|
4300
4289
|
backgroundImageSrc !== ''
|
|
4301
|
-
? { [c_about_modal_box__hero_sm_BackgroundImage
|
|
4290
|
+
? { [c_about_modal_box__hero_sm_BackgroundImage.name]: `url(${backgroundImageSrc})` }
|
|
4302
4291
|
: {}, className: css(styles$1f.aboutModalBoxHero, className) }, props)));
|
|
4303
4292
|
};
|
|
4304
4293
|
AboutModalBoxHero.displayName = 'AboutModalBoxHero';
|
|
@@ -4518,13 +4507,11 @@
|
|
|
4518
4507
|
|
|
4519
4508
|
const TimesIcon = createIcon(TimesIconConfig);
|
|
4520
4509
|
|
|
4521
|
-
var TimesIcon$1 = TimesIcon;
|
|
4522
|
-
|
|
4523
4510
|
const AboutModalBoxCloseButton = (_a) => {
|
|
4524
4511
|
var { className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close Dialog' } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label']);
|
|
4525
4512
|
return (React__namespace.createElement("div", Object.assign({ className: css(styles$1f.aboutModalBoxClose, className) }, props),
|
|
4526
4513
|
React__namespace.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel },
|
|
4527
|
-
React__namespace.createElement(TimesIcon
|
|
4514
|
+
React__namespace.createElement(TimesIcon, null))));
|
|
4528
4515
|
};
|
|
4529
4516
|
AboutModalBoxCloseButton.displayName = 'AboutModalBoxCloseButton';
|
|
4530
4517
|
|
|
@@ -4702,8 +4689,6 @@
|
|
|
4702
4689
|
|
|
4703
4690
|
const AngleRightIcon = createIcon(AngleRightIconConfig);
|
|
4704
4691
|
|
|
4705
|
-
var AngleRightIcon$1 = AngleRightIcon;
|
|
4706
|
-
|
|
4707
4692
|
const AccordionToggle = (_a) => {
|
|
4708
4693
|
var { className = '', id, isExpanded = false, children = null, component } = _a, props = __rest$1(_a, ["className", "id", "isExpanded", "children", "component"]);
|
|
4709
4694
|
return (React__namespace.createElement(AccordionContext.Consumer, null, ({ ToggleContainer }) => {
|
|
@@ -4712,7 +4697,7 @@
|
|
|
4712
4697
|
React__namespace.createElement("button", Object.assign({ id: id, className: css(styles$1b.accordionToggle, isExpanded && styles$1b.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
|
|
4713
4698
|
React__namespace.createElement("span", { className: css(styles$1b.accordionToggleText) }, children),
|
|
4714
4699
|
React__namespace.createElement("span", { className: css(styles$1b.accordionToggleIcon) },
|
|
4715
|
-
React__namespace.createElement(AngleRightIcon
|
|
4700
|
+
React__namespace.createElement(AngleRightIcon, null)))));
|
|
4716
4701
|
}));
|
|
4717
4702
|
};
|
|
4718
4703
|
AccordionToggle.displayName = 'AccordionToggle';
|
|
@@ -4803,8 +4788,6 @@
|
|
|
4803
4788
|
|
|
4804
4789
|
const CheckCircleIcon = createIcon(CheckCircleIconConfig);
|
|
4805
4790
|
|
|
4806
|
-
var CheckCircleIcon$1 = CheckCircleIcon;
|
|
4807
|
-
|
|
4808
4791
|
const ExclamationCircleIconConfig = {
|
|
4809
4792
|
name: 'ExclamationCircleIcon',
|
|
4810
4793
|
height: 512,
|
|
@@ -4816,8 +4799,6 @@
|
|
|
4816
4799
|
|
|
4817
4800
|
const ExclamationCircleIcon = createIcon(ExclamationCircleIconConfig);
|
|
4818
4801
|
|
|
4819
|
-
var ExclamationCircleIcon$1 = ExclamationCircleIcon;
|
|
4820
|
-
|
|
4821
4802
|
const ExclamationTriangleIconConfig = {
|
|
4822
4803
|
name: 'ExclamationTriangleIcon',
|
|
4823
4804
|
height: 512,
|
|
@@ -4829,8 +4810,6 @@
|
|
|
4829
4810
|
|
|
4830
4811
|
const ExclamationTriangleIcon = createIcon(ExclamationTriangleIconConfig);
|
|
4831
4812
|
|
|
4832
|
-
var ExclamationTriangleIcon$1 = ExclamationTriangleIcon;
|
|
4833
|
-
|
|
4834
4813
|
const InfoCircleIconConfig = {
|
|
4835
4814
|
name: 'InfoCircleIcon',
|
|
4836
4815
|
height: 512,
|
|
@@ -4842,8 +4821,6 @@
|
|
|
4842
4821
|
|
|
4843
4822
|
const InfoCircleIcon = createIcon(InfoCircleIconConfig);
|
|
4844
4823
|
|
|
4845
|
-
var InfoCircleIcon$1 = InfoCircleIcon;
|
|
4846
|
-
|
|
4847
4824
|
const BellIconConfig = {
|
|
4848
4825
|
name: 'BellIcon',
|
|
4849
4826
|
height: 1024,
|
|
@@ -4855,14 +4832,12 @@
|
|
|
4855
4832
|
|
|
4856
4833
|
const BellIcon = createIcon(BellIconConfig);
|
|
4857
4834
|
|
|
4858
|
-
var BellIcon$1 = BellIcon;
|
|
4859
|
-
|
|
4860
4835
|
const variantIcons$2 = {
|
|
4861
|
-
success: CheckCircleIcon
|
|
4862
|
-
danger: ExclamationCircleIcon
|
|
4863
|
-
warning: ExclamationTriangleIcon
|
|
4864
|
-
info: InfoCircleIcon
|
|
4865
|
-
default: BellIcon
|
|
4836
|
+
success: CheckCircleIcon,
|
|
4837
|
+
danger: ExclamationCircleIcon,
|
|
4838
|
+
warning: ExclamationTriangleIcon,
|
|
4839
|
+
info: InfoCircleIcon,
|
|
4840
|
+
default: BellIcon
|
|
4866
4841
|
};
|
|
4867
4842
|
const AlertIcon = (_a) => {
|
|
4868
4843
|
var { variant, customIcon, className = '' } = _a, props = __rest$1(_a, ["variant", "customIcon", "className"]);
|
|
@@ -4877,7 +4852,6 @@
|
|
|
4877
4852
|
"value": "1",
|
|
4878
4853
|
"var": "var(--pf-c-alert__title--max-lines)"
|
|
4879
4854
|
};
|
|
4880
|
-
var maxLines$2 = c_alert__title_max_lines;
|
|
4881
4855
|
|
|
4882
4856
|
Promise.resolve().then(function () { return tooltip; });
|
|
4883
4857
|
var styles$18 = {
|
|
@@ -4919,7 +4893,6 @@
|
|
|
4919
4893
|
"value": "18.75rem",
|
|
4920
4894
|
"var": "var(--pf-c-tooltip--MaxWidth)"
|
|
4921
4895
|
};
|
|
4922
|
-
var tooltipMaxWidth = c_tooltip_MaxWidth;
|
|
4923
4896
|
|
|
4924
4897
|
exports.TooltipPosition = void 0;
|
|
4925
4898
|
(function (TooltipPosition) {
|
|
@@ -4940,7 +4913,7 @@
|
|
|
4940
4913
|
// id for associating trigger with the content aria-describedby or aria-labelledby
|
|
4941
4914
|
let pfTooltipIdCounter = 1;
|
|
4942
4915
|
const Tooltip = (_a) => {
|
|
4943
|
-
var { content: bodyContent, position = 'top', trigger = 'mouseenter focus', isVisible = false, isContentLeftAligned = false, enableFlip = true, className = '', entryDelay = 300, exitDelay = 300, appendTo = () => document.body, zIndex = 9999, maxWidth =
|
|
4916
|
+
var { content: bodyContent, position = 'top', trigger = 'mouseenter focus', isVisible = false, isContentLeftAligned = false, enableFlip = true, className = '', entryDelay = 300, exitDelay = 300, appendTo = () => document.body, zIndex = 9999, maxWidth = c_tooltip_MaxWidth.value, distance = 15, aria = 'describedby',
|
|
4944
4917
|
// For every initial starting position, there are 3 escape positions
|
|
4945
4918
|
flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], id = `pf-tooltip-${pfTooltipIdCounter++}`, children, animationDuration = 300, reference, 'aria-live': ariaLive = reference ? 'polite' : 'off', boundary, isAppLauncher, tippyProps } = _a, rest = __rest$1(_a, ["content", "position", "trigger", "isVisible", "isContentLeftAligned", "enableFlip", "className", "entryDelay", "exitDelay", "appendTo", "zIndex", "maxWidth", "distance", "aria", "flipBehavior", "id", "children", "animationDuration", "reference", 'aria-live', "boundary", "isAppLauncher", "tippyProps"]);
|
|
4946
4919
|
{
|
|
@@ -5023,7 +4996,7 @@
|
|
|
5023
4996
|
'right-start': styles$18.modifiers.rightTop,
|
|
5024
4997
|
'right-end': styles$18.modifiers.rightBottom
|
|
5025
4998
|
};
|
|
5026
|
-
const hasCustomMaxWidth = maxWidth !==
|
|
4999
|
+
const hasCustomMaxWidth = maxWidth !== c_tooltip_MaxWidth.value;
|
|
5027
5000
|
const content = (React__namespace.createElement("div", Object.assign({ "aria-live": ariaLive, className: css(styles$18.tooltip, className), role: "tooltip", id: id, style: {
|
|
5028
5001
|
maxWidth: hasCustomMaxWidth ? maxWidth : null,
|
|
5029
5002
|
opacity,
|
|
@@ -5062,7 +5035,7 @@
|
|
|
5062
5035
|
const { title, variantLabel: alertVariantLabel } = React__namespace.useContext(AlertContext);
|
|
5063
5036
|
return (React__namespace.createElement(Button, Object.assign({ variant: exports.ButtonVariant.plain, onClick: onToggleExpand, "aria-expanded": isExpanded, "aria-label": ariaLabel === '' ? `Toggle ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel }, props),
|
|
5064
5037
|
React__namespace.createElement("span", { className: css(styles$19.alertToggleIcon) },
|
|
5065
|
-
React__namespace.createElement(AngleRightIcon
|
|
5038
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": "true" }))));
|
|
5066
5039
|
};
|
|
5067
5040
|
AlertToggleExpandButton.displayName = 'AlertToggleExpandButton';
|
|
5068
5041
|
|
|
@@ -5087,7 +5060,7 @@
|
|
|
5087
5060
|
if (!titleRef.current || !truncateTitle) {
|
|
5088
5061
|
return;
|
|
5089
5062
|
}
|
|
5090
|
-
titleRef.current.style.setProperty(
|
|
5063
|
+
titleRef.current.style.setProperty(c_alert__title_max_lines.name, truncateTitle.toString());
|
|
5091
5064
|
const showTooltip = titleRef.current && titleRef.current.offsetHeight < titleRef.current.scrollHeight;
|
|
5092
5065
|
if (isTooltipVisible !== showTooltip) {
|
|
5093
5066
|
setIsTooltipVisible(showTooltip);
|
|
@@ -5167,7 +5140,7 @@
|
|
|
5167
5140
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5168
5141
|
className = '', onClose = () => undefined, 'aria-label': ariaLabel = '', variantLabel } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label', "variantLabel"]);
|
|
5169
5142
|
return (React__namespace.createElement(AlertContext.Consumer, null, ({ title, variantLabel: alertVariantLabel }) => (React__namespace.createElement(Button, Object.assign({ variant: exports.ButtonVariant.plain, onClick: onClose, "aria-label": ariaLabel === '' ? `Close ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel }, props),
|
|
5170
|
-
React__namespace.createElement(TimesIcon
|
|
5143
|
+
React__namespace.createElement(TimesIcon, null)))));
|
|
5171
5144
|
};
|
|
5172
5145
|
AlertActionCloseButton.displayName = 'AlertActionCloseButton';
|
|
5173
5146
|
|
|
@@ -5294,8 +5267,6 @@
|
|
|
5294
5267
|
|
|
5295
5268
|
const ThIcon = createIcon(ThIconConfig);
|
|
5296
5269
|
|
|
5297
|
-
var ThIcon$1 = ThIcon;
|
|
5298
|
-
|
|
5299
5270
|
Promise.resolve().then(function () { return dropdown; });
|
|
5300
5271
|
var styles$15 = {
|
|
5301
5272
|
"badge": "pf-c-badge",
|
|
@@ -5878,8 +5849,6 @@
|
|
|
5878
5849
|
|
|
5879
5850
|
const CaretDownIcon = createIcon(CaretDownIconConfig);
|
|
5880
5851
|
|
|
5881
|
-
var CaretDownIcon$1 = CaretDownIcon;
|
|
5882
|
-
|
|
5883
5852
|
const buttonVariantStyles = {
|
|
5884
5853
|
default: '',
|
|
5885
5854
|
primary: styles$15.modifiers.primary,
|
|
@@ -5991,7 +5960,7 @@
|
|
|
5991
5960
|
React__namespace.createElement(Badge, Object.assign({}, badgeProps),
|
|
5992
5961
|
children,
|
|
5993
5962
|
React__namespace.createElement("span", { className: css(styles$15.dropdownToggleIcon) },
|
|
5994
|
-
React__namespace.createElement(CaretDownIcon
|
|
5963
|
+
React__namespace.createElement(CaretDownIcon, null)))));
|
|
5995
5964
|
};
|
|
5996
5965
|
BadgeToggle.displayName = 'BadgeToggle';
|
|
5997
5966
|
|
|
@@ -6006,8 +5975,6 @@
|
|
|
6006
5975
|
|
|
6007
5976
|
const EllipsisVIcon = createIcon(EllipsisVIconConfig);
|
|
6008
5977
|
|
|
6009
|
-
var EllipsisVIcon$1 = EllipsisVIcon;
|
|
6010
|
-
|
|
6011
5978
|
const KebabToggle = (_a) => {
|
|
6012
5979
|
var { id = '',
|
|
6013
5980
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -6016,7 +5983,7 @@
|
|
|
6016
5983
|
ref } = _a, // Types of Ref are different for React.FunctionComponent vs React.Component
|
|
6017
5984
|
props = __rest$1(_a, ["id", "children", "className", "isOpen", 'aria-label', "parentRef", "getMenuRef", "isActive", "isPlain", "isDisabled", "bubbleEvent", "onToggle", "ref"]);
|
|
6018
5985
|
return (React__namespace.createElement(Toggle, Object.assign({ id: id, className: className, isOpen: isOpen, "aria-label": ariaLabel, parentRef: parentRef, getMenuRef: getMenuRef, isActive: isActive, isPlain: isPlain, isDisabled: isDisabled, onToggle: onToggle, bubbleEvent: bubbleEvent }, props),
|
|
6019
|
-
React__namespace.createElement(EllipsisVIcon
|
|
5986
|
+
React__namespace.createElement(EllipsisVIcon, null)));
|
|
6020
5987
|
};
|
|
6021
5988
|
KebabToggle.displayName = 'KebabToggle';
|
|
6022
5989
|
|
|
@@ -6025,7 +5992,7 @@
|
|
|
6025
5992
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6026
5993
|
isActive = false,
|
|
6027
5994
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6028
|
-
onToggle = (_isOpen) => undefined, icon = null, toggleIndicator: ToggleIndicator = CaretDownIcon
|
|
5995
|
+
onToggle = (_isOpen) => undefined, icon = null, toggleIndicator: ToggleIndicator = CaretDownIcon, splitButtonItems, splitButtonVariant = 'checkbox', 'aria-haspopup': ariaHasPopup, ouiaId, ouiaSafe,
|
|
6029
5996
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6030
5997
|
ref } = _a, // Types of Ref are different for React.FunctionComponent vs React.Component
|
|
6031
5998
|
props = __rest$1(_a, ["id", "children", "className", "isOpen", "parentRef", "getMenuRef", "isDisabled", "isPlain", "isText", "isPrimary", "toggleVariant", "isActive", "onToggle", "icon", "toggleIndicator", "splitButtonItems", "splitButtonVariant", 'aria-haspopup', "ouiaId", "ouiaSafe", "ref"]);
|
|
@@ -6135,8 +6102,6 @@
|
|
|
6135
6102
|
|
|
6136
6103
|
const ExternalLinkAltIcon = createIcon(ExternalLinkAltIconConfig);
|
|
6137
6104
|
|
|
6138
|
-
var ExternalLinkAltIcon$1 = ExternalLinkAltIcon;
|
|
6139
|
-
|
|
6140
6105
|
const ApplicationLauncherItemContext = React__namespace.createContext({ isExternal: false, icon: null });
|
|
6141
6106
|
|
|
6142
6107
|
const ApplicationLauncherContent = ({ children }) => (React__namespace.createElement(ApplicationLauncherItemContext.Consumer, null, ({ isExternal, icon }) => (React__namespace.createElement(React__namespace.Fragment, null,
|
|
@@ -6144,7 +6109,7 @@
|
|
|
6144
6109
|
icon ? React__namespace.createElement(ApplicationLauncherText, null, children) : children,
|
|
6145
6110
|
isExternal && (React__namespace.createElement(React__namespace.Fragment, null,
|
|
6146
6111
|
React__namespace.createElement("span", { className: css(styles$16.appLauncherMenuItemExternalIcon) },
|
|
6147
|
-
React__namespace.createElement(ExternalLinkAltIcon
|
|
6112
|
+
React__namespace.createElement(ExternalLinkAltIcon, null)),
|
|
6148
6113
|
React__namespace.createElement("span", { className: css(a11yStyles.screenReader) }, "(opens new window)")))))));
|
|
6149
6114
|
ApplicationLauncherContent.displayName = 'ApplicationLauncherContent';
|
|
6150
6115
|
|
|
@@ -6164,8 +6129,6 @@
|
|
|
6164
6129
|
|
|
6165
6130
|
const StarIcon = createIcon(StarIconConfig);
|
|
6166
6131
|
|
|
6167
|
-
var StarIcon$1 = StarIcon;
|
|
6168
|
-
|
|
6169
6132
|
const ApplicationLauncherItem = (_a) => {
|
|
6170
6133
|
var { className = '', id, children, icon = null, isExternal = false, href, tooltip = null, tooltipProps = null, component = 'a', isFavorite = null, ariaIsFavoriteLabel = 'starred', ariaIsNotFavoriteLabel = 'not starred', customChild, enterTriggersArrowDown = false } = _a, props = __rest$1(_a, ["className", "id", "children", "icon", "isExternal", "href", "tooltip", "tooltipProps", "component", "isFavorite", "ariaIsFavoriteLabel", "ariaIsNotFavoriteLabel", "customChild", "enterTriggersArrowDown"]);
|
|
6171
6134
|
return (React__namespace.createElement(ApplicationLauncherItemContext.Provider, { value: { isExternal, icon } },
|
|
@@ -6173,7 +6136,7 @@
|
|
|
6173
6136
|
additionalChild: (React__namespace.createElement("button", { className: css(styles$16.appLauncherMenuItem, styles$16.modifiers.action), "aria-label": isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel, onClick: () => {
|
|
6174
6137
|
onFavorite((id || getUniqueId('app-launcher-option')).replace('favorite-', ''), isFavorite);
|
|
6175
6138
|
} },
|
|
6176
|
-
React__namespace.createElement(StarIcon
|
|
6139
|
+
React__namespace.createElement(StarIcon, null)))
|
|
6177
6140
|
}), props), children && React__namespace.createElement(ApplicationLauncherContent, null, children))))));
|
|
6178
6141
|
};
|
|
6179
6142
|
ApplicationLauncherItem.displayName = 'ApplicationLauncherItem';
|
|
@@ -6316,7 +6279,7 @@
|
|
|
6316
6279
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
6317
6280
|
'aria-label': 'Application launcher',
|
|
6318
6281
|
isGrouped: false,
|
|
6319
|
-
toggleIcon: React__namespace.createElement(ThIcon
|
|
6282
|
+
toggleIcon: React__namespace.createElement(ThIcon, null),
|
|
6320
6283
|
searchPlaceholderText: 'Filter by name...',
|
|
6321
6284
|
searchNoResultsText: 'No results found',
|
|
6322
6285
|
favoritesLabel: 'Favorites',
|
|
@@ -6362,8 +6325,6 @@
|
|
|
6362
6325
|
|
|
6363
6326
|
const AngleUpIcon = createIcon(AngleUpIconConfig);
|
|
6364
6327
|
|
|
6365
|
-
var AngleUpIcon$1 = AngleUpIcon;
|
|
6366
|
-
|
|
6367
6328
|
const BackToTopBase = (_a) => {
|
|
6368
6329
|
var { className, title = 'Back to top', innerRef, scrollableSelector, isAlwaysVisible = false } = _a, props = __rest$1(_a, ["className", "title", "innerRef", "scrollableSelector", "isAlwaysVisible"]);
|
|
6369
6330
|
const [visible, setVisible] = React__namespace.useState(isAlwaysVisible);
|
|
@@ -6411,7 +6372,7 @@
|
|
|
6411
6372
|
scrollElement.scrollTo({ top: 0, behavior: 'smooth' });
|
|
6412
6373
|
};
|
|
6413
6374
|
return (React__namespace.createElement("div", Object.assign({ className: css(styles$12.backToTop, !visible && styles$12.modifiers.hidden, className), ref: innerRef, onClick: handleClick }, props),
|
|
6414
|
-
React__namespace.createElement(Button, { variant: "primary", icon: React__namespace.createElement(AngleUpIcon
|
|
6375
|
+
React__namespace.createElement(Button, { variant: "primary", icon: React__namespace.createElement(AngleUpIcon, { "aria-hidden": "true" }), iconPosition: "right" }, title)));
|
|
6415
6376
|
};
|
|
6416
6377
|
const BackToTop = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(BackToTopBase, Object.assign({ innerRef: ref }, props))));
|
|
6417
6378
|
BackToTop.displayName = 'BackToTop';
|
|
@@ -6421,42 +6382,36 @@
|
|
|
6421
6382
|
"value": "url(\"../../assets/images/pfbg_576.jpg\")",
|
|
6422
6383
|
"var": "var(--pf-c-background-image--BackgroundImage)"
|
|
6423
6384
|
};
|
|
6424
|
-
var cssVar = c_background_image_BackgroundImage;
|
|
6425
6385
|
|
|
6426
6386
|
const c_background_image_BackgroundImage_2x = {
|
|
6427
6387
|
"name": "--pf-c-background-image--BackgroundImage-2x",
|
|
6428
6388
|
"value": "url(\"../../assets/images/pfbg_576@2x.jpg\")",
|
|
6429
6389
|
"var": "var(--pf-c-background-image--BackgroundImage-2x)"
|
|
6430
6390
|
};
|
|
6431
|
-
var cssVarName2x = c_background_image_BackgroundImage_2x;
|
|
6432
6391
|
|
|
6433
6392
|
const c_background_image_BackgroundImage_sm = {
|
|
6434
6393
|
"name": "--pf-c-background-image--BackgroundImage--sm",
|
|
6435
6394
|
"value": "url(\"../../assets/images/pfbg_768.jpg\")",
|
|
6436
6395
|
"var": "var(--pf-c-background-image--BackgroundImage--sm)"
|
|
6437
6396
|
};
|
|
6438
|
-
var cssVarNameSm = c_background_image_BackgroundImage_sm;
|
|
6439
6397
|
|
|
6440
6398
|
const c_background_image_BackgroundImage_sm_2x = {
|
|
6441
6399
|
"name": "--pf-c-background-image--BackgroundImage--sm-2x",
|
|
6442
6400
|
"value": "url(\"../../assets/images/pfbg_768@2x.jpg\")",
|
|
6443
6401
|
"var": "var(--pf-c-background-image--BackgroundImage--sm-2x)"
|
|
6444
6402
|
};
|
|
6445
|
-
var cssVarNameSm2x = c_background_image_BackgroundImage_sm_2x;
|
|
6446
6403
|
|
|
6447
6404
|
const c_background_image_BackgroundImage_lg = {
|
|
6448
6405
|
"name": "--pf-c-background-image--BackgroundImage--lg",
|
|
6449
6406
|
"value": "url(\"../../assets/images/pfbg_2000.jpg\")",
|
|
6450
6407
|
"var": "var(--pf-c-background-image--BackgroundImage--lg)"
|
|
6451
6408
|
};
|
|
6452
|
-
var cssVarNameLg = c_background_image_BackgroundImage_lg;
|
|
6453
6409
|
|
|
6454
6410
|
const c_background_image_Filter = {
|
|
6455
6411
|
"name": "--pf-c-background-image--Filter",
|
|
6456
6412
|
"value": "url(\"#image_overlay\")",
|
|
6457
6413
|
"var": "var(--pf-c-background-image--Filter)"
|
|
6458
6414
|
};
|
|
6459
|
-
var cssVarNameFilter = c_background_image_Filter;
|
|
6460
6415
|
|
|
6461
6416
|
Promise.resolve().then(function () { return backgroundImage; });
|
|
6462
6417
|
var styles$11 = {
|
|
@@ -6486,12 +6441,12 @@
|
|
|
6486
6441
|
const filterNum = React__namespace.useMemo(() => filterCounter++, []);
|
|
6487
6442
|
const filterId = `patternfly-background-image-filter-overlay${filterNum}`;
|
|
6488
6443
|
const style = {
|
|
6489
|
-
[
|
|
6490
|
-
[
|
|
6491
|
-
[
|
|
6492
|
-
[
|
|
6493
|
-
[
|
|
6494
|
-
[
|
|
6444
|
+
[c_background_image_BackgroundImage.name]: getUrlValue('xs'),
|
|
6445
|
+
[c_background_image_BackgroundImage_2x.name]: getUrlValue('xs2x'),
|
|
6446
|
+
[c_background_image_BackgroundImage_sm.name]: getUrlValue('sm'),
|
|
6447
|
+
[c_background_image_BackgroundImage_sm_2x.name]: getUrlValue('sm2x'),
|
|
6448
|
+
[c_background_image_BackgroundImage_lg.name]: getUrlValue('lg'),
|
|
6449
|
+
[c_background_image_Filter.name]: `url(#${filterId})`
|
|
6495
6450
|
};
|
|
6496
6451
|
return (React__namespace.createElement("div", Object.assign({ className: css(styles$11.backgroundImage, className), style: style }, props),
|
|
6497
6452
|
React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: "pf-c-background-image__filter", width: "0", height: "0" }, React__namespace.cloneElement(filter, { id: filterId }))));
|
|
@@ -6585,7 +6540,7 @@
|
|
|
6585
6540
|
const className = css(styles$_.breadcrumbLink, isActive && styles$_.modifiers.current);
|
|
6586
6541
|
return (React__namespace.createElement("li", Object.assign({}, props, { className: css(styles$_.breadcrumbItem, classNameProp) }),
|
|
6587
6542
|
showDivider && (React__namespace.createElement("span", { className: styles$_.breadcrumbItemDivider },
|
|
6588
|
-
React__namespace.createElement(AngleRightIcon
|
|
6543
|
+
React__namespace.createElement(AngleRightIcon, null))),
|
|
6589
6544
|
component === 'button' && (React__namespace.createElement("button", { className: className, "aria-current": ariaCurrent, type: "button" }, children)),
|
|
6590
6545
|
isDropdown && React__namespace.createElement("span", { className: css(styles$_.breadcrumbDropdown) }, children),
|
|
6591
6546
|
render && render({ className, ariaCurrent }),
|
|
@@ -6599,7 +6554,7 @@
|
|
|
6599
6554
|
const Component = component;
|
|
6600
6555
|
return (React__namespace.createElement("li", Object.assign({}, props, { className: css(styles$_.breadcrumbItem, className) }),
|
|
6601
6556
|
showDivider && (React__namespace.createElement("span", { className: styles$_.breadcrumbItemDivider },
|
|
6602
|
-
React__namespace.createElement(AngleRightIcon
|
|
6557
|
+
React__namespace.createElement(AngleRightIcon, null))),
|
|
6603
6558
|
React__namespace.createElement("h1", { className: styles$_.breadcrumbHeading },
|
|
6604
6559
|
!to && component === 'button' && (React__namespace.createElement("button", { className: css(styles$_.breadcrumbLink, styles$_.modifiers.current), "aria-current": true, type: "button" }, children)),
|
|
6605
6560
|
to && (React__namespace.createElement(Component, { href: to, target: target, className: css(styles$_.breadcrumbLink, styles$_.modifiers.current), "aria-current": "page" }, children)),
|
|
@@ -6784,8 +6739,6 @@
|
|
|
6784
6739
|
|
|
6785
6740
|
const TimesCircleIcon = createIcon(TimesCircleIconConfig);
|
|
6786
6741
|
|
|
6787
|
-
var TimesCircleIcon$1 = TimesCircleIcon;
|
|
6788
|
-
|
|
6789
6742
|
Promise.resolve().then(function () { return form; });
|
|
6790
6743
|
var styles$Y = {
|
|
6791
6744
|
"form": "pf-c-form",
|
|
@@ -6866,8 +6819,6 @@
|
|
|
6866
6819
|
|
|
6867
6820
|
const CheckIcon = createIcon(CheckIconConfig);
|
|
6868
6821
|
|
|
6869
|
-
var CheckIcon$1 = CheckIcon;
|
|
6870
|
-
|
|
6871
6822
|
const SelectContext = React__namespace.createContext(null);
|
|
6872
6823
|
const SelectProvider = SelectContext.Provider;
|
|
6873
6824
|
const SelectConsumer = SelectContext.Consumer;
|
|
@@ -6969,7 +6920,7 @@
|
|
|
6969
6920
|
this.onKeyDown(event, 1, () => onFavorite(generatedId.replace('favorite-', ''), isFavorite));
|
|
6970
6921
|
}, ref: this.favoriteRef },
|
|
6971
6922
|
React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemActionIcon) },
|
|
6972
|
-
React__namespace.createElement(StarIcon
|
|
6923
|
+
React__namespace.createElement(StarIcon, null))));
|
|
6973
6924
|
const itemDisplay = itemCount ? (React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemRow) },
|
|
6974
6925
|
React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemText) }, children || (value && value.toString && value.toString())),
|
|
6975
6926
|
React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemCount) }, itemCount))) : (children || value.toString());
|
|
@@ -7012,12 +6963,12 @@
|
|
|
7012
6963
|
React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemMain) },
|
|
7013
6964
|
itemDisplay,
|
|
7014
6965
|
isSelected && (React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemIcon) },
|
|
7015
|
-
React__namespace.createElement(CheckIcon
|
|
6966
|
+
React__namespace.createElement(CheckIcon, { "aria-hidden": true })))),
|
|
7016
6967
|
React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemDescription) }, description))),
|
|
7017
6968
|
!description && (React__namespace.createElement(React__namespace.Fragment, null,
|
|
7018
6969
|
itemDisplay,
|
|
7019
6970
|
isSelected && (React__namespace.createElement("span", { className: css(styles$Z.selectMenuItemIcon) },
|
|
7020
|
-
React__namespace.createElement(CheckIcon
|
|
6971
|
+
React__namespace.createElement(CheckIcon, { "aria-hidden": true })))))),
|
|
7021
6972
|
isFavorite !== null && id && favoriteButton(onFavorite)))));
|
|
7022
6973
|
}
|
|
7023
6974
|
else if (variant === exports.SelectVariant.checkbox && isLoad) {
|
|
@@ -7390,7 +7341,7 @@
|
|
|
7390
7341
|
}, onKeyDown: this.onKeyDown, disabled: isDisabled }),
|
|
7391
7342
|
children,
|
|
7392
7343
|
React__namespace.createElement("span", { className: css(styles$Z.selectToggleArrow) },
|
|
7393
|
-
React__namespace.createElement(CaretDownIcon
|
|
7344
|
+
React__namespace.createElement(CaretDownIcon, null)))),
|
|
7394
7345
|
isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(styles$Z.selectToggle, hasPlaceholderStyle && styles$Z.modifiers.placeholder, isDisabled && styles$Z.modifiers.disabled, isPlain && styles$Z.modifiers.plain, isTypeahead && styles$Z.modifiers.typeahead, className), onBlur: onBlur,
|
|
7395
7346
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7396
7347
|
onClick: event => {
|
|
@@ -7411,7 +7362,7 @@
|
|
|
7411
7362
|
} }, ((variant === exports.SelectVariant.typeahead || variant === exports.SelectVariant.typeaheadMulti) && {
|
|
7412
7363
|
tabIndex: -1
|
|
7413
7364
|
}), { disabled: isDisabled }),
|
|
7414
|
-
React__namespace.createElement(CaretDownIcon
|
|
7365
|
+
React__namespace.createElement(CaretDownIcon, { className: css(styles$Z.selectToggleArrow) }))))));
|
|
7415
7366
|
}
|
|
7416
7367
|
}
|
|
7417
7368
|
SelectToggle.displayName = 'SelectToggle';
|
|
@@ -7499,7 +7450,7 @@
|
|
|
7499
7450
|
}), { className: css(styles$V.chip, className) }, (this.state.isTooltipVisible && { tabIndex: 0 }), getOUIAProps(Chip.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
|
|
7500
7451
|
React__namespace.createElement("span", { ref: this.span, className: css(styles$V.chipText), id: id }, children),
|
|
7501
7452
|
!isReadOnly && (React__namespace.createElement(Button, { onClick: onClick, variant: "plain", "aria-label": closeBtnAriaLabel, id: `remove_${id}`, "aria-labelledby": `remove_${id} ${id}`, ouiaId: ouiaId || closeBtnAriaLabel },
|
|
7502
|
-
React__namespace.createElement(TimesIcon
|
|
7453
|
+
React__namespace.createElement(TimesIcon, { "aria-hidden": "true" })))));
|
|
7503
7454
|
}
|
|
7504
7455
|
render() {
|
|
7505
7456
|
const { isOverflowChip } = this.props;
|
|
@@ -7572,7 +7523,7 @@
|
|
|
7572
7523
|
}, component: "button" }, isOpen ? expandedText : collapsedTextResult))))),
|
|
7573
7524
|
isClosable && (React__namespace.createElement("div", { className: css(styles$W.chipGroupClose) },
|
|
7574
7525
|
React__namespace.createElement(Button, { variant: "plain", "aria-label": closeBtnAriaLabel, onClick: onClick, id: `remove_group_${id}`, "aria-labelledby": `remove_group_${id} ${id}`, ouiaId: ouiaId || closeBtnAriaLabel },
|
|
7575
|
-
React__namespace.createElement(TimesCircleIcon
|
|
7526
|
+
React__namespace.createElement(TimesCircleIcon, { "aria-hidden": "true" }))))));
|
|
7576
7527
|
};
|
|
7577
7528
|
return numChildren === 0 ? null : React__namespace.createElement(GenerateId, null, randomId => renderChipGroup(this.props.id || randomId));
|
|
7578
7529
|
}
|
|
@@ -8272,7 +8223,7 @@
|
|
|
8272
8223
|
this.clearRef.current.click();
|
|
8273
8224
|
}
|
|
8274
8225
|
} },
|
|
8275
|
-
React__namespace.createElement(TimesCircleIcon
|
|
8226
|
+
React__namespace.createElement(TimesCircleIcon, { "aria-hidden": true })));
|
|
8276
8227
|
let selectedChips = null;
|
|
8277
8228
|
if (variant === exports.SelectVariant.typeaheadMulti) {
|
|
8278
8229
|
selectedChips = chipGroupComponent ? (chipGroupComponent) : (React__namespace.createElement(ChipGroup, Object.assign({}, chipGroupProps), selections &&
|
|
@@ -8422,11 +8373,11 @@
|
|
|
8422
8373
|
React__namespace.createElement("input", Object.assign({ className: css(formStyles.formControl, styles$Z.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === exports.ValidatedOptions.error }, (typeAheadAriaDescribedby && { 'aria-describedby': typeAheadAriaDescribedby }), { placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: inputAutoComplete, disabled: isDisabled, ref: this.inputRef }))),
|
|
8423
8374
|
hasOnClear && ((selections && selections.length > 0) || typeaheadInputValue) && clearBtn)),
|
|
8424
8375
|
validated === exports.ValidatedOptions.success && (React__namespace.createElement("span", { className: css(styles$Z.selectToggleStatusIcon) },
|
|
8425
|
-
React__namespace.createElement(CheckCircleIcon
|
|
8376
|
+
React__namespace.createElement(CheckCircleIcon, { "aria-hidden": "true" }))),
|
|
8426
8377
|
validated === exports.ValidatedOptions.error && (React__namespace.createElement("span", { className: css(styles$Z.selectToggleStatusIcon) },
|
|
8427
|
-
React__namespace.createElement(ExclamationCircleIcon
|
|
8378
|
+
React__namespace.createElement(ExclamationCircleIcon, { "aria-hidden": "true" }))),
|
|
8428
8379
|
validated === exports.ValidatedOptions.warning && (React__namespace.createElement("span", { className: css(styles$Z.selectToggleStatusIcon) },
|
|
8429
|
-
React__namespace.createElement(ExclamationTriangleIcon
|
|
8380
|
+
React__namespace.createElement(ExclamationTriangleIcon, { "aria-hidden": "true" })))),
|
|
8430
8381
|
isOpen && menuAppendTo === 'inline' && menuContainer));
|
|
8431
8382
|
const getParentElement = () => {
|
|
8432
8383
|
if (this.parentRef && this.parentRef.current) {
|
|
@@ -8562,7 +8513,6 @@
|
|
|
8562
8513
|
"value": "auto",
|
|
8563
8514
|
"var": "var(--pf-c-form-control--textarea--Height)"
|
|
8564
8515
|
};
|
|
8565
|
-
var heightToken = c_form_control_textarea_Height;
|
|
8566
8516
|
|
|
8567
8517
|
exports.TextAreResizeOrientation = void 0;
|
|
8568
8518
|
(function (TextAreResizeOrientation) {
|
|
@@ -8577,7 +8527,7 @@
|
|
|
8577
8527
|
// https://gomakethings.com/automatically-expand-a-textarea-as-the-user-types-using-vanilla-javascript/
|
|
8578
8528
|
const field = event.currentTarget;
|
|
8579
8529
|
if (this.props.autoResize && canUseDOM) {
|
|
8580
|
-
field.style.setProperty(
|
|
8530
|
+
field.style.setProperty(c_form_control_textarea_Height.name, 'inherit');
|
|
8581
8531
|
const computed = window.getComputedStyle(field);
|
|
8582
8532
|
// Calculate the height
|
|
8583
8533
|
const height = parseInt(computed.getPropertyValue('border-top-width')) +
|
|
@@ -8585,7 +8535,7 @@
|
|
|
8585
8535
|
field.scrollHeight +
|
|
8586
8536
|
parseInt(computed.getPropertyValue('padding-bottom')) +
|
|
8587
8537
|
parseInt(computed.getPropertyValue('border-bottom-width'));
|
|
8588
|
-
field.style.setProperty(
|
|
8538
|
+
field.style.setProperty(c_form_control_textarea_Height.name, `${height}px`);
|
|
8589
8539
|
}
|
|
8590
8540
|
if (this.props.onChange) {
|
|
8591
8541
|
this.props.onChange(field.value, event);
|
|
@@ -8656,8 +8606,6 @@
|
|
|
8656
8606
|
|
|
8657
8607
|
const AngleLeftIcon = createIcon(AngleLeftIconConfig);
|
|
8658
8608
|
|
|
8659
|
-
var AngleLeftIcon$1 = AngleLeftIcon;
|
|
8660
|
-
|
|
8661
8609
|
Promise.resolve().then(function () { return calendarMonth; });
|
|
8662
8610
|
var styles$T = {
|
|
8663
8611
|
"calendarMonth": "pf-c-calendar-month",
|
|
@@ -8834,7 +8782,7 @@
|
|
|
8834
8782
|
React__default["default"].createElement("div", { className: styles$T.calendarMonthHeader },
|
|
8835
8783
|
React__default["default"].createElement("div", { className: css(styles$T.calendarMonthHeaderNavControl, styles$T.modifiers.prevMonth) },
|
|
8836
8784
|
React__default["default"].createElement(Button, { variant: "plain", "aria-label": prevMonthAriaLabel, onClick: (ev) => onMonthClick(prevMonth, ev) },
|
|
8837
|
-
React__default["default"].createElement(AngleLeftIcon
|
|
8785
|
+
React__default["default"].createElement(AngleLeftIcon, { "aria-hidden": true }))),
|
|
8838
8786
|
React__default["default"].createElement(InputGroup, null,
|
|
8839
8787
|
React__default["default"].createElement("div", { className: styles$T.calendarMonthHeaderMonth },
|
|
8840
8788
|
React__default["default"].createElement("span", { id: hiddenMonthId, hidden: true }, "Month"),
|
|
@@ -8870,7 +8818,7 @@
|
|
|
8870
8818
|
} }))),
|
|
8871
8819
|
React__default["default"].createElement("div", { className: css(styles$T.calendarMonthHeaderNavControl, styles$T.modifiers.nextMonth) },
|
|
8872
8820
|
React__default["default"].createElement(Button, { variant: "plain", "aria-label": nextMonthAriaLabel, onClick: (ev) => onMonthClick(nextMonth, ev) },
|
|
8873
|
-
React__default["default"].createElement(AngleRightIcon
|
|
8821
|
+
React__default["default"].createElement(AngleRightIcon, { "aria-hidden": true })))),
|
|
8874
8822
|
React__default["default"].createElement("table", { className: styles$T.calendarMonthCalendar },
|
|
8875
8823
|
React__default["default"].createElement("thead", { className: styles$T.calendarMonthDays },
|
|
8876
8824
|
React__default["default"].createElement("tr", null, calendar[0].map(({ date }, index) => (React__default["default"].createElement("th", { key: index, className: styles$T.calendarMonthDay, scope: "col" },
|
|
@@ -9043,7 +8991,7 @@
|
|
|
9043
8991
|
onExpand(evt, cardId);
|
|
9044
8992
|
} }, toggleButtonProps),
|
|
9045
8993
|
React__namespace.createElement("span", { className: css(styles$S.cardHeaderToggleIcon) },
|
|
9046
|
-
React__namespace.createElement(AngleRightIcon
|
|
8994
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": "true" })))));
|
|
9047
8995
|
return (React__namespace.createElement("div", Object.assign({ className: css(styles$S.cardHeader, isToggleRightAligned && styles$S.modifiers.toggleRight, className), id: id }, props),
|
|
9048
8996
|
onExpand && !isToggleRightAligned && cardHeaderToggle,
|
|
9049
8997
|
children,
|
|
@@ -9215,7 +9163,7 @@
|
|
|
9215
9163
|
}, [closeButtonElement]);
|
|
9216
9164
|
return (React__namespace.createElement(FindRefWrapper, { onFoundRef: (foundRef) => setCloseButtonElement(foundRef) },
|
|
9217
9165
|
React__namespace.createElement(Button, Object.assign({ variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' } }),
|
|
9218
|
-
React__namespace.createElement(TimesIcon
|
|
9166
|
+
React__namespace.createElement(TimesIcon, null))));
|
|
9219
9167
|
};
|
|
9220
9168
|
PopoverCloseButton.displayName = 'PopoverCloseButton';
|
|
9221
9169
|
|
|
@@ -9230,14 +9178,12 @@
|
|
|
9230
9178
|
"value": "none",
|
|
9231
9179
|
"var": "var(--pf-c-popover--MaxWidth)"
|
|
9232
9180
|
};
|
|
9233
|
-
var popoverMaxWidth = c_popover_MaxWidth;
|
|
9234
9181
|
|
|
9235
9182
|
const c_popover_MinWidth = {
|
|
9236
9183
|
"name": "--pf-c-popover--MinWidth",
|
|
9237
9184
|
"value": "auto",
|
|
9238
9185
|
"var": "var(--pf-c-popover--MinWidth)"
|
|
9239
9186
|
};
|
|
9240
|
-
var popoverMinWidth = c_popover_MinWidth;
|
|
9241
9187
|
|
|
9242
9188
|
exports.PopoverPosition = void 0;
|
|
9243
9189
|
(function (PopoverPosition) {
|
|
@@ -9263,7 +9209,7 @@
|
|
|
9263
9209
|
danger: styles$Q.modifiers.danger
|
|
9264
9210
|
};
|
|
9265
9211
|
const Popover = (_a) => {
|
|
9266
|
-
var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', headerIcon = null, alertSeverityVariant, alertSeverityScreenReaderText, footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, minWidth =
|
|
9212
|
+
var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', headerIcon = null, alertSeverityVariant, alertSeverityScreenReaderText, footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, minWidth = c_popover_MinWidth && c_popover_MinWidth.value, maxWidth = c_popover_MaxWidth && c_popover_MaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25,
|
|
9267
9213
|
// For every initial starting position, there are 3 escape positions
|
|
9268
9214
|
flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], animationDuration = 300, id, withFocusTrap: propWithFocusTrap, boundary, tippyProps, reference, hasNoPadding = false, hasAutoWidth = false } = _a, rest = __rest$1(_a, ["children", "position", "enableFlip", "className", "isVisible", "shouldClose", "shouldOpen", 'aria-label', "bodyContent", "headerContent", "headerComponent", "headerIcon", "alertSeverityVariant", "alertSeverityScreenReaderText", "footerContent", "appendTo", "hideOnOutsideClick", "onHide", "onHidden", "onShow", "onShown", "onMount", "zIndex", "minWidth", "maxWidth", "closeBtnAriaLabel", "showClose", "distance", "flipBehavior", "animationDuration", "id", "withFocusTrap", "boundary", "tippyProps", "reference", "hasNoPadding", "hasAutoWidth"]);
|
|
9269
9215
|
{
|
|
@@ -9337,8 +9283,8 @@
|
|
|
9337
9283
|
'right-start': styles$Q.modifiers.rightTop,
|
|
9338
9284
|
'right-end': styles$Q.modifiers.rightBottom
|
|
9339
9285
|
};
|
|
9340
|
-
const hasCustomMinWidth = minWidth !==
|
|
9341
|
-
const hasCustomMaxWidth = maxWidth !==
|
|
9286
|
+
const hasCustomMinWidth = minWidth !== c_popover_MinWidth.value;
|
|
9287
|
+
const hasCustomMaxWidth = maxWidth !== c_popover_MaxWidth.value;
|
|
9342
9288
|
const onDocumentKeyDown = (event) => {
|
|
9343
9289
|
if (event.key === KeyTypes.Escape && visible) {
|
|
9344
9290
|
if (triggerManually) {
|
|
@@ -9440,13 +9386,11 @@
|
|
|
9440
9386
|
|
|
9441
9387
|
const CopyIcon = createIcon(CopyIconConfig);
|
|
9442
9388
|
|
|
9443
|
-
var CopyIcon$1 = CopyIcon;
|
|
9444
|
-
|
|
9445
9389
|
const ClipboardCopyButton = (_a) => {
|
|
9446
9390
|
var { onClick, exitDelay = 0, entryDelay = 300, maxWidth = '100px', position = 'top', 'aria-label': ariaLabel = 'Copyable input', id, textId, children, variant = 'control' } = _a, props = __rest$1(_a, ["onClick", "exitDelay", "entryDelay", "maxWidth", "position", 'aria-label', "id", "textId", "children", "variant"]);
|
|
9447
9391
|
return (React__namespace.createElement(Tooltip, { trigger: "mouseenter focus click", exitDelay: exitDelay, entryDelay: entryDelay, maxWidth: maxWidth, position: position, "aria-live": "polite", aria: "none", content: React__namespace.createElement("div", null, children) },
|
|
9448
9392
|
React__namespace.createElement(Button, Object.assign({ type: "button", variant: variant, onClick: onClick, "aria-label": ariaLabel, id: id, "aria-labelledby": `${id} ${textId}` }, props),
|
|
9449
|
-
React__namespace.createElement(CopyIcon
|
|
9393
|
+
React__namespace.createElement(CopyIcon, null))));
|
|
9450
9394
|
};
|
|
9451
9395
|
ClipboardCopyButton.displayName = 'ClipboardCopyButton';
|
|
9452
9396
|
|
|
@@ -9461,11 +9405,9 @@
|
|
|
9461
9405
|
|
|
9462
9406
|
const AngleDownIcon = createIcon(AngleDownIconConfig);
|
|
9463
9407
|
|
|
9464
|
-
var AngleDownIcon$1 = AngleDownIcon;
|
|
9465
|
-
|
|
9466
9408
|
const ClipboardCopyToggle = (_a) => {
|
|
9467
9409
|
var { onClick, id, textId, contentId, isExpanded = false } = _a, props = __rest$1(_a, ["onClick", "id", "textId", "contentId", "isExpanded"]);
|
|
9468
|
-
return (React__namespace.createElement(Button, Object.assign({ type: "button", variant: "control", onClick: onClick, id: id, "aria-labelledby": `${id} ${textId}`, "aria-controls": `${id} ${contentId}`, "aria-expanded": isExpanded }, props), isExpanded ? React__namespace.createElement(AngleDownIcon
|
|
9410
|
+
return (React__namespace.createElement(Button, Object.assign({ type: "button", variant: "control", onClick: onClick, id: id, "aria-labelledby": `${id} ${textId}`, "aria-controls": `${id} ${contentId}`, "aria-expanded": isExpanded }, props), isExpanded ? React__namespace.createElement(AngleDownIcon, { "aria-hidden": "true" }) : React__namespace.createElement(AngleRightIcon, { "aria-hidden": "true" })));
|
|
9469
9411
|
};
|
|
9470
9412
|
ClipboardCopyToggle.displayName = 'ClipboardCopyToggle';
|
|
9471
9413
|
|
|
@@ -9677,8 +9619,6 @@
|
|
|
9677
9619
|
|
|
9678
9620
|
const SearchIcon = createIcon(SearchIconConfig);
|
|
9679
9621
|
|
|
9680
|
-
var SearchIcon$1 = SearchIcon;
|
|
9681
|
-
|
|
9682
9622
|
class ContextSelectorToggle extends React__namespace.Component {
|
|
9683
9623
|
constructor() {
|
|
9684
9624
|
super(...arguments);
|
|
@@ -9733,7 +9673,7 @@
|
|
|
9733
9673
|
return (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.toggle, className: css(styles$O.contextSelectorToggle, isActive && styles$O.modifiers.active, isPlain && styles$O.modifiers.plain, isText && styles$O.modifiers.text, className), type: "button", onClick: event => onToggle(event, !isOpen), "aria-expanded": isOpen, onKeyDown: this.onKeyDown }),
|
|
9734
9674
|
React__namespace.createElement("span", { className: css(styles$O.contextSelectorToggleText) }, toggleText),
|
|
9735
9675
|
React__namespace.createElement("span", { className: css(styles$O.contextSelectorToggleIcon) },
|
|
9736
|
-
React__namespace.createElement(CaretDownIcon
|
|
9676
|
+
React__namespace.createElement(CaretDownIcon, { "aria-hidden": true }))));
|
|
9737
9677
|
}
|
|
9738
9678
|
}
|
|
9739
9679
|
ContextSelectorToggle.displayName = 'ContextSelectorToggle';
|
|
@@ -9805,7 +9745,7 @@
|
|
|
9805
9745
|
React__namespace.createElement(InputGroup, null,
|
|
9806
9746
|
React__namespace.createElement(TextInput, { value: searchInputValue, type: "search", placeholder: searchInputPlaceholder, onChange: onSearchInputChange, onKeyPress: this.onEnterPressed, "aria-label": searchButtonAriaLabel }),
|
|
9807
9747
|
React__namespace.createElement(Button, { variant: exports.ButtonVariant.control, "aria-label": searchButtonAriaLabel, onClick: onSearchButtonClick },
|
|
9808
|
-
React__namespace.createElement(SearchIcon
|
|
9748
|
+
React__namespace.createElement(SearchIcon, { "aria-hidden": "true" })))),
|
|
9809
9749
|
React__namespace.createElement(ContextSelectorContext.Provider, { value: { onSelect } },
|
|
9810
9750
|
React__namespace.createElement(ContextSelectorMenuList, { isOpen: isOpen }, children)),
|
|
9811
9751
|
footer))));
|
|
@@ -10259,13 +10199,11 @@
|
|
|
10259
10199
|
|
|
10260
10200
|
const GripVerticalIcon = createIcon(GripVerticalIconConfig);
|
|
10261
10201
|
|
|
10262
|
-
var GripVerticalIcon$1 = GripVerticalIcon;
|
|
10263
|
-
|
|
10264
10202
|
const DataListDragButton = (_a) => {
|
|
10265
10203
|
var { className = '', isDisabled = false } = _a, props = __rest$1(_a, ["className", "isDisabled"]);
|
|
10266
10204
|
return (React__namespace.createElement(DataListContext.Consumer, null, ({ dragKeyHandler }) => (React__namespace.createElement("button", Object.assign({ className: css(styles$N.dataListItemDraggableButton, isDisabled && styles$N.modifiers.disabled, className), onKeyDown: dragKeyHandler, type: "button", disabled: isDisabled }, props),
|
|
10267
10205
|
React__namespace.createElement("span", { className: css(styles$N.dataListItemDraggableIcon) },
|
|
10268
|
-
React__namespace.createElement(GripVerticalIcon
|
|
10206
|
+
React__namespace.createElement(GripVerticalIcon, null))))));
|
|
10269
10207
|
};
|
|
10270
10208
|
DataListDragButton.displayName = 'DataListDragButton';
|
|
10271
10209
|
|
|
@@ -10365,7 +10303,7 @@
|
|
|
10365
10303
|
React__namespace.createElement("div", { className: css(styles$N.dataListToggle) },
|
|
10366
10304
|
React__namespace.createElement(Button, { id: id, variant: exports.ButtonVariant.plain, "aria-controls": ariaControls !== '' && ariaControls, "aria-label": ariaLabel, "aria-labelledby": ariaLabel !== 'Details' ? null : `${rowid} ${id}`, "aria-expanded": isExpanded },
|
|
10367
10305
|
React__namespace.createElement("div", { className: css(styles$N.dataListToggleIcon) },
|
|
10368
|
-
React__namespace.createElement(AngleRightIcon
|
|
10306
|
+
React__namespace.createElement(AngleRightIcon, null))))));
|
|
10369
10307
|
};
|
|
10370
10308
|
DataListToggle.displayName = 'DataListToggle';
|
|
10371
10309
|
|
|
@@ -10422,8 +10360,6 @@
|
|
|
10422
10360
|
|
|
10423
10361
|
const OutlinedCalendarAltIcon = createIcon(OutlinedCalendarAltIconConfig);
|
|
10424
10362
|
|
|
10425
|
-
var OutlinedCalendarAltIcon$1 = OutlinedCalendarAltIcon;
|
|
10426
|
-
|
|
10427
10363
|
const yyyyMMddFormat = (date) => `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, '0')}-${date
|
|
10428
10364
|
.getDate()
|
|
10429
10365
|
.toString()
|
|
@@ -10526,7 +10462,7 @@
|
|
|
10526
10462
|
React__namespace.createElement(InputGroup, null,
|
|
10527
10463
|
React__namespace.createElement(TextInput, Object.assign({ isDisabled: isDisabled, "aria-label": ariaLabel, placeholder: placeholder, validated: errorText ? 'error' : 'default', value: value, onChange: onTextInput, onBlur: onInputBlur, onKeyPress: onKeyPress }, inputProps)),
|
|
10528
10464
|
React__namespace.createElement("button", { ref: buttonRef, className: css(buttonStyles.button, buttonStyles.modifiers.control), "aria-label": buttonAriaLabel, type: "button", onClick: () => setPopoverOpen(!popoverOpen), disabled: isDisabled },
|
|
10529
|
-
React__namespace.createElement(OutlinedCalendarAltIcon
|
|
10465
|
+
React__namespace.createElement(OutlinedCalendarAltIcon, null))))),
|
|
10530
10466
|
helperText && React__namespace.createElement("div", { className: datePickerStyles.datePickerHelperText }, helperText),
|
|
10531
10467
|
errorText.trim() && React__namespace.createElement("div", { className: css(datePickerStyles.datePickerHelperText, datePickerStyles.modifiers.error) }, errorText)));
|
|
10532
10468
|
};
|
|
@@ -10737,7 +10673,7 @@
|
|
|
10737
10673
|
className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close drawer panel' } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label']);
|
|
10738
10674
|
return (React__namespace.createElement("div", Object.assign({ className: css(styles$L.drawerClose, className) }, props),
|
|
10739
10675
|
React__namespace.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel },
|
|
10740
|
-
React__namespace.createElement(TimesIcon
|
|
10676
|
+
React__namespace.createElement(TimesIcon, null))));
|
|
10741
10677
|
};
|
|
10742
10678
|
DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
10743
10679
|
|
|
@@ -11043,8 +10979,6 @@
|
|
|
11043
10979
|
|
|
11044
10980
|
const AngleDoubleLeftIcon = createIcon(AngleDoubleLeftIconConfig);
|
|
11045
10981
|
|
|
11046
|
-
var AngleDoubleLeftIcon$1 = AngleDoubleLeftIcon;
|
|
11047
|
-
|
|
11048
10982
|
const AngleDoubleRightIconConfig = {
|
|
11049
10983
|
name: 'AngleDoubleRightIcon',
|
|
11050
10984
|
height: 512,
|
|
@@ -11056,8 +10990,6 @@
|
|
|
11056
10990
|
|
|
11057
10991
|
const AngleDoubleRightIcon = createIcon(AngleDoubleRightIconConfig);
|
|
11058
10992
|
|
|
11059
|
-
var AngleDoubleRightIcon$1 = AngleDoubleRightIcon;
|
|
11060
|
-
|
|
11061
10993
|
function flattenTree(tree) {
|
|
11062
10994
|
let result = [];
|
|
11063
10995
|
tree.forEach(item => {
|
|
@@ -11161,7 +11093,7 @@
|
|
|
11161
11093
|
}
|
|
11162
11094
|
}, tabIndex: -1 },
|
|
11163
11095
|
React__namespace.createElement("span", { className: css(styles$K.dualListSelectorItemToggleIcon) },
|
|
11164
|
-
React__namespace.createElement(AngleRightIcon
|
|
11096
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true })))),
|
|
11165
11097
|
React__namespace.createElement("span", { className: css(styles$K.dualListSelectorItemCheck) },
|
|
11166
11098
|
React__namespace.createElement("input", Object.assign({ type: "checkbox", onChange: (evt) => {
|
|
11167
11099
|
onOptionCheck && onOptionCheck(evt, !isChecked, itemData);
|
|
@@ -11227,7 +11159,7 @@
|
|
|
11227
11159
|
React__namespace.createElement("div", { className: css(styles$K.dualListSelectorListItemRow, isSelected && styles$K.modifiers.selected) },
|
|
11228
11160
|
isDraggable && !isDisabled && (React__namespace.createElement("div", { className: css(styles$K.dualListSelectorDraggable) },
|
|
11229
11161
|
React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, component: "span" },
|
|
11230
|
-
React__namespace.createElement(GripVerticalIcon
|
|
11162
|
+
React__namespace.createElement(GripVerticalIcon, { style: { verticalAlign: '-0.3em' } })))),
|
|
11231
11163
|
React__namespace.createElement("span", { className: css(styles$K.dualListSelectorItem) },
|
|
11232
11164
|
React__namespace.createElement("span", { className: css(styles$K.dualListSelectorItemMain) },
|
|
11233
11165
|
React__namespace.createElement("span", { className: css(styles$K.dualListSelectorItemText) }, children))))));
|
|
@@ -11826,14 +11758,14 @@
|
|
|
11826
11758
|
React__namespace.createElement(DualListSelectorControlsWrapper, { "aria-label": controlsAriaLabel },
|
|
11827
11759
|
React__namespace.createElement(DualListSelectorControl, { isDisabled: (isTree ? availableTreeOptionsChecked.length === 0 : availableOptionsSelected.length === 0) ||
|
|
11828
11760
|
isDisabled, onClick: isTree ? this.addTreeSelected : this.addSelected, ref: this.addSelectedButtonRef, "aria-label": addSelectedAriaLabel, tooltipContent: addSelectedTooltip, tooltipProps: addSelectedTooltipProps },
|
|
11829
|
-
React__namespace.createElement(AngleRightIcon
|
|
11761
|
+
React__namespace.createElement(AngleRightIcon, null)),
|
|
11830
11762
|
React__namespace.createElement(DualListSelectorControl, { isDisabled: availableOptions.length === 0 || isDisabled, onClick: isTree ? this.addAllTreeVisible : this.addAllVisible, ref: this.addAllButtonRef, "aria-label": addAllAriaLabel, tooltipContent: addAllTooltip, tooltipProps: addAllTooltipProps },
|
|
11831
|
-
React__namespace.createElement(AngleDoubleRightIcon
|
|
11763
|
+
React__namespace.createElement(AngleDoubleRightIcon, null)),
|
|
11832
11764
|
React__namespace.createElement(DualListSelectorControl, { isDisabled: chosenOptions.length === 0 || isDisabled, onClick: isTree ? this.removeAllTreeVisible : this.removeAllVisible, "aria-label": removeAllAriaLabel, ref: this.removeAllButtonRef, tooltipContent: removeAllTooltip, tooltipProps: removeAllTooltipProps },
|
|
11833
|
-
React__namespace.createElement(AngleDoubleLeftIcon
|
|
11765
|
+
React__namespace.createElement(AngleDoubleLeftIcon, null)),
|
|
11834
11766
|
React__namespace.createElement(DualListSelectorControl, { onClick: isTree ? this.removeTreeSelected : this.removeSelected, isDisabled: (isTree ? chosenTreeOptionsChecked.length === 0 : chosenOptionsSelected.length === 0) ||
|
|
11835
11767
|
isDisabled, ref: this.removeSelectedButtonRef, "aria-label": removeSelectedAriaLabel, tooltipContent: removeSelectedTooltip, tooltipProps: removeSelectedTooltipProps },
|
|
11836
|
-
React__namespace.createElement(AngleLeftIcon
|
|
11768
|
+
React__namespace.createElement(AngleLeftIcon, null))),
|
|
11837
11769
|
React__namespace.createElement(DualListSelectorPane, { isChosen: true, isSearchable: isSearchable, onFilterUpdate: this.onFilterUpdate, searchInputAriaLabel: chosenOptionsSearchAriaLabel, filterOption: filterOption, onSearchInputChanged: onChosenOptionsSearchInputChanged, title: chosenOptionsTitle, status: chosenOptionsStatusToDisplay, options: chosen, selectedOptions: isTree ? chosenTreeOptionsChecked : chosenOptionsSelected, onOptionSelect: this.onOptionSelect, onOptionCheck: (e, isChecked, itemData) => this.onTreeOptionCheck(e, isChecked, itemData, true), actions: chosenOptionsActions, id: `${id || randomId}-chosen-pane`, isDisabled: isDisabled }))) : (children))))));
|
|
11838
11770
|
}
|
|
11839
11771
|
}
|
|
@@ -11970,7 +11902,7 @@
|
|
|
11970
11902
|
return (React__namespace.createElement("div", Object.assign({}, props, { className: css(styles$I.expandableSection, propOrStateIsExpanded && styles$I.modifiers.expanded, isActive && styles$I.modifiers.active, isDetached && styles$I.modifiers.detached, displaySize === 'large' && styles$I.modifiers.displayLg, isWidthLimited && styles$I.modifiers.limitWidth, isIndented && styles$I.modifiers.indented, className) }),
|
|
11971
11903
|
!isDetached && (React__namespace.createElement("button", { className: css(styles$I.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, onClick: () => onToggle(!propOrStateIsExpanded) },
|
|
11972
11904
|
React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleIcon) },
|
|
11973
|
-
React__namespace.createElement(AngleRightIcon
|
|
11905
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true })),
|
|
11974
11906
|
React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleText) }, toggleContent || computedToggleText))),
|
|
11975
11907
|
React__namespace.createElement("div", { className: css(styles$I.expandableSectionContent), hidden: !propOrStateIsExpanded, id: contentId }, children)));
|
|
11976
11908
|
}
|
|
@@ -11996,7 +11928,7 @@
|
|
|
11996
11928
|
return (React__namespace.createElement("div", Object.assign({}, props, { className: css(styles$I.expandableSection, isExpanded && styles$I.modifiers.expanded, styles$I.modifiers.detached, className) }),
|
|
11997
11929
|
React__namespace.createElement("button", { className: css(styles$I.expandableSectionToggle), type: "button", "aria-expanded": isExpanded, "aria-controls": contentId, onClick: () => onToggle(!isExpanded) },
|
|
11998
11930
|
React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleIcon, isExpanded && direction === 'up' && styles$I.modifiers.expandTop) },
|
|
11999
|
-
React__namespace.createElement(AngleRightIcon
|
|
11931
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true })),
|
|
12000
11932
|
React__namespace.createElement("span", { className: css(styles$I.expandableSectionToggleText) }, children))));
|
|
12001
11933
|
};
|
|
12002
11934
|
ExpandableSectionToggle.displayName = 'ExpandableSectionToggle';
|
|
@@ -12382,233 +12314,236 @@
|
|
|
12382
12314
|
|
|
12383
12315
|
|
|
12384
12316
|
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12403
|
-
|
|
12404
|
-
|
|
12405
|
-
|
|
12406
|
-
|
|
12407
|
-
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
/**
|
|
12419
|
-
* Forked from fbjs/warning:
|
|
12420
|
-
* https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
|
|
12421
|
-
*
|
|
12422
|
-
* Only change is we use console.warn instead of console.error,
|
|
12423
|
-
* and do nothing when 'console' is not supported.
|
|
12424
|
-
* This really simplifies the code.
|
|
12425
|
-
* ---
|
|
12426
|
-
* Similar to invariant but only logs a warning if the condition is not met.
|
|
12427
|
-
* This can be used to log issues in development environments in critical
|
|
12428
|
-
* paths. Removing the logging code for production environments will keep the
|
|
12429
|
-
* same logic and follow the same code paths.
|
|
12430
|
-
*/
|
|
12431
|
-
var lowPriorityWarningWithoutStack = function () {};
|
|
12432
|
-
|
|
12433
|
-
{
|
|
12434
|
-
var printWarning = function (format) {
|
|
12435
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
12436
|
-
args[_key - 1] = arguments[_key];
|
|
12437
|
-
}
|
|
12438
|
-
|
|
12439
|
-
var argIndex = 0;
|
|
12440
|
-
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
12441
|
-
return args[argIndex++];
|
|
12442
|
-
});
|
|
12443
|
-
|
|
12444
|
-
if (typeof console !== 'undefined') {
|
|
12445
|
-
console.warn(message);
|
|
12446
|
-
}
|
|
12447
|
-
|
|
12448
|
-
try {
|
|
12449
|
-
// --- Welcome to debugging React ---
|
|
12450
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
12451
|
-
// to find the callsite that caused this warning to fire.
|
|
12452
|
-
throw new Error(message);
|
|
12453
|
-
} catch (x) {}
|
|
12454
|
-
};
|
|
12455
|
-
|
|
12456
|
-
lowPriorityWarningWithoutStack = function (condition, format) {
|
|
12457
|
-
if (format === undefined) {
|
|
12458
|
-
throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
|
|
12459
|
-
}
|
|
12460
|
-
|
|
12461
|
-
if (!condition) {
|
|
12462
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
|
12463
|
-
args[_key2 - 2] = arguments[_key2];
|
|
12464
|
-
}
|
|
12465
|
-
|
|
12466
|
-
printWarning.apply(void 0, [format].concat(args));
|
|
12467
|
-
}
|
|
12468
|
-
};
|
|
12469
|
-
}
|
|
12470
|
-
|
|
12471
|
-
var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;
|
|
12472
|
-
|
|
12473
|
-
function typeOf(object) {
|
|
12474
|
-
if (typeof object === 'object' && object !== null) {
|
|
12475
|
-
var $$typeof = object.$$typeof;
|
|
12476
|
-
|
|
12477
|
-
switch ($$typeof) {
|
|
12478
|
-
case REACT_ELEMENT_TYPE:
|
|
12479
|
-
var type = object.type;
|
|
12480
|
-
|
|
12481
|
-
switch (type) {
|
|
12482
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
12483
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
12484
|
-
case REACT_FRAGMENT_TYPE:
|
|
12485
|
-
case REACT_PROFILER_TYPE:
|
|
12486
|
-
case REACT_STRICT_MODE_TYPE:
|
|
12487
|
-
case REACT_SUSPENSE_TYPE:
|
|
12488
|
-
return type;
|
|
12489
|
-
|
|
12490
|
-
default:
|
|
12491
|
-
var $$typeofType = type && type.$$typeof;
|
|
12492
|
-
|
|
12493
|
-
switch ($$typeofType) {
|
|
12494
|
-
case REACT_CONTEXT_TYPE:
|
|
12495
|
-
case REACT_FORWARD_REF_TYPE:
|
|
12496
|
-
case REACT_PROVIDER_TYPE:
|
|
12497
|
-
return $$typeofType;
|
|
12498
|
-
|
|
12499
|
-
default:
|
|
12500
|
-
return $$typeof;
|
|
12501
|
-
}
|
|
12502
|
-
|
|
12503
|
-
}
|
|
12317
|
+
{
|
|
12318
|
+
(function() {
|
|
12319
|
+
|
|
12320
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12321
|
+
|
|
12322
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
12323
|
+
// nor polyfill, then a plain number is used for performance.
|
|
12324
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
12325
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
12326
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
12327
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
12328
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
12329
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
12330
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
12331
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
12332
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
12333
|
+
|
|
12334
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
12335
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
12336
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
12337
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
12338
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
12339
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
12340
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
12341
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
12342
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
12343
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
12344
|
+
|
|
12345
|
+
function isValidElementType(type) {
|
|
12346
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
12347
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE);
|
|
12348
|
+
}
|
|
12504
12349
|
|
|
12505
|
-
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
|
|
12350
|
+
/**
|
|
12351
|
+
* Forked from fbjs/warning:
|
|
12352
|
+
* https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
|
|
12353
|
+
*
|
|
12354
|
+
* Only change is we use console.warn instead of console.error,
|
|
12355
|
+
* and do nothing when 'console' is not supported.
|
|
12356
|
+
* This really simplifies the code.
|
|
12357
|
+
* ---
|
|
12358
|
+
* Similar to invariant but only logs a warning if the condition is not met.
|
|
12359
|
+
* This can be used to log issues in development environments in critical
|
|
12360
|
+
* paths. Removing the logging code for production environments will keep the
|
|
12361
|
+
* same logic and follow the same code paths.
|
|
12362
|
+
*/
|
|
12363
|
+
var lowPriorityWarningWithoutStack = function () {};
|
|
12364
|
+
|
|
12365
|
+
{
|
|
12366
|
+
var printWarning = function (format) {
|
|
12367
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
12368
|
+
args[_key - 1] = arguments[_key];
|
|
12369
|
+
}
|
|
12370
|
+
|
|
12371
|
+
var argIndex = 0;
|
|
12372
|
+
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
12373
|
+
return args[argIndex++];
|
|
12374
|
+
});
|
|
12375
|
+
|
|
12376
|
+
if (typeof console !== 'undefined') {
|
|
12377
|
+
console.warn(message);
|
|
12378
|
+
}
|
|
12379
|
+
|
|
12380
|
+
try {
|
|
12381
|
+
// --- Welcome to debugging React ---
|
|
12382
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
12383
|
+
// to find the callsite that caused this warning to fire.
|
|
12384
|
+
throw new Error(message);
|
|
12385
|
+
} catch (x) {}
|
|
12386
|
+
};
|
|
12387
|
+
|
|
12388
|
+
lowPriorityWarningWithoutStack = function (condition, format) {
|
|
12389
|
+
if (format === undefined) {
|
|
12390
|
+
throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
|
|
12391
|
+
}
|
|
12392
|
+
|
|
12393
|
+
if (!condition) {
|
|
12394
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
|
12395
|
+
args[_key2 - 2] = arguments[_key2];
|
|
12396
|
+
}
|
|
12397
|
+
|
|
12398
|
+
printWarning.apply(void 0, [format].concat(args));
|
|
12399
|
+
}
|
|
12400
|
+
};
|
|
12401
|
+
}
|
|
12511
12402
|
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12536
|
-
|
|
12403
|
+
var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;
|
|
12404
|
+
|
|
12405
|
+
function typeOf(object) {
|
|
12406
|
+
if (typeof object === 'object' && object !== null) {
|
|
12407
|
+
var $$typeof = object.$$typeof;
|
|
12408
|
+
|
|
12409
|
+
switch ($$typeof) {
|
|
12410
|
+
case REACT_ELEMENT_TYPE:
|
|
12411
|
+
var type = object.type;
|
|
12412
|
+
|
|
12413
|
+
switch (type) {
|
|
12414
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
12415
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
12416
|
+
case REACT_FRAGMENT_TYPE:
|
|
12417
|
+
case REACT_PROFILER_TYPE:
|
|
12418
|
+
case REACT_STRICT_MODE_TYPE:
|
|
12419
|
+
case REACT_SUSPENSE_TYPE:
|
|
12420
|
+
return type;
|
|
12421
|
+
|
|
12422
|
+
default:
|
|
12423
|
+
var $$typeofType = type && type.$$typeof;
|
|
12424
|
+
|
|
12425
|
+
switch ($$typeofType) {
|
|
12426
|
+
case REACT_CONTEXT_TYPE:
|
|
12427
|
+
case REACT_FORWARD_REF_TYPE:
|
|
12428
|
+
case REACT_PROVIDER_TYPE:
|
|
12429
|
+
return $$typeofType;
|
|
12430
|
+
|
|
12431
|
+
default:
|
|
12432
|
+
return $$typeof;
|
|
12433
|
+
}
|
|
12434
|
+
|
|
12435
|
+
}
|
|
12436
|
+
|
|
12437
|
+
case REACT_LAZY_TYPE:
|
|
12438
|
+
case REACT_MEMO_TYPE:
|
|
12439
|
+
case REACT_PORTAL_TYPE:
|
|
12440
|
+
return $$typeof;
|
|
12441
|
+
}
|
|
12442
|
+
}
|
|
12443
|
+
|
|
12444
|
+
return undefined;
|
|
12445
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
12446
|
+
|
|
12447
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
12448
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
12449
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
12450
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
12451
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
12452
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
12453
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
12454
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
12455
|
+
var Memo = REACT_MEMO_TYPE;
|
|
12456
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
12457
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
12458
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
12459
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
12460
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
12461
|
+
|
|
12462
|
+
function isAsyncMode(object) {
|
|
12463
|
+
{
|
|
12464
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
12465
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
12466
|
+
lowPriorityWarningWithoutStack$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
12467
|
+
}
|
|
12468
|
+
}
|
|
12469
|
+
|
|
12470
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
12471
|
+
}
|
|
12472
|
+
function isConcurrentMode(object) {
|
|
12473
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
12474
|
+
}
|
|
12475
|
+
function isContextConsumer(object) {
|
|
12476
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
12477
|
+
}
|
|
12478
|
+
function isContextProvider(object) {
|
|
12479
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
12480
|
+
}
|
|
12481
|
+
function isElement(object) {
|
|
12482
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
12483
|
+
}
|
|
12484
|
+
function isForwardRef(object) {
|
|
12485
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
12486
|
+
}
|
|
12487
|
+
function isFragment(object) {
|
|
12488
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
12489
|
+
}
|
|
12490
|
+
function isLazy(object) {
|
|
12491
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
12492
|
+
}
|
|
12493
|
+
function isMemo(object) {
|
|
12494
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
12495
|
+
}
|
|
12496
|
+
function isPortal(object) {
|
|
12497
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
12498
|
+
}
|
|
12499
|
+
function isProfiler(object) {
|
|
12500
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
12501
|
+
}
|
|
12502
|
+
function isStrictMode(object) {
|
|
12503
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
12504
|
+
}
|
|
12505
|
+
function isSuspense(object) {
|
|
12506
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
12507
|
+
}
|
|
12537
12508
|
|
|
12538
|
-
|
|
12539
|
-
|
|
12540
|
-
|
|
12541
|
-
|
|
12542
|
-
|
|
12543
|
-
|
|
12544
|
-
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
|
-
|
|
12557
|
-
|
|
12558
|
-
|
|
12559
|
-
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12568
|
-
|
|
12569
|
-
}
|
|
12570
|
-
function isStrictMode(object) {
|
|
12571
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
12572
|
-
}
|
|
12573
|
-
function isSuspense(object) {
|
|
12574
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
12575
|
-
}
|
|
12509
|
+
exports.typeOf = typeOf;
|
|
12510
|
+
exports.AsyncMode = AsyncMode;
|
|
12511
|
+
exports.ConcurrentMode = ConcurrentMode;
|
|
12512
|
+
exports.ContextConsumer = ContextConsumer;
|
|
12513
|
+
exports.ContextProvider = ContextProvider;
|
|
12514
|
+
exports.Element = Element;
|
|
12515
|
+
exports.ForwardRef = ForwardRef;
|
|
12516
|
+
exports.Fragment = Fragment;
|
|
12517
|
+
exports.Lazy = Lazy;
|
|
12518
|
+
exports.Memo = Memo;
|
|
12519
|
+
exports.Portal = Portal;
|
|
12520
|
+
exports.Profiler = Profiler;
|
|
12521
|
+
exports.StrictMode = StrictMode;
|
|
12522
|
+
exports.Suspense = Suspense;
|
|
12523
|
+
exports.isValidElementType = isValidElementType;
|
|
12524
|
+
exports.isAsyncMode = isAsyncMode;
|
|
12525
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
12526
|
+
exports.isContextConsumer = isContextConsumer;
|
|
12527
|
+
exports.isContextProvider = isContextProvider;
|
|
12528
|
+
exports.isElement = isElement;
|
|
12529
|
+
exports.isForwardRef = isForwardRef;
|
|
12530
|
+
exports.isFragment = isFragment;
|
|
12531
|
+
exports.isLazy = isLazy;
|
|
12532
|
+
exports.isMemo = isMemo;
|
|
12533
|
+
exports.isPortal = isPortal;
|
|
12534
|
+
exports.isProfiler = isProfiler;
|
|
12535
|
+
exports.isStrictMode = isStrictMode;
|
|
12536
|
+
exports.isSuspense = isSuspense;
|
|
12537
|
+
})();
|
|
12538
|
+
}
|
|
12539
|
+
} (reactIs_development));
|
|
12576
12540
|
|
|
12577
|
-
|
|
12578
|
-
exports.AsyncMode = AsyncMode;
|
|
12579
|
-
exports.ConcurrentMode = ConcurrentMode;
|
|
12580
|
-
exports.ContextConsumer = ContextConsumer;
|
|
12581
|
-
exports.ContextProvider = ContextProvider;
|
|
12582
|
-
exports.Element = Element;
|
|
12583
|
-
exports.ForwardRef = ForwardRef;
|
|
12584
|
-
exports.Fragment = Fragment;
|
|
12585
|
-
exports.Lazy = Lazy;
|
|
12586
|
-
exports.Memo = Memo;
|
|
12587
|
-
exports.Portal = Portal;
|
|
12588
|
-
exports.Profiler = Profiler;
|
|
12589
|
-
exports.StrictMode = StrictMode;
|
|
12590
|
-
exports.Suspense = Suspense;
|
|
12591
|
-
exports.isValidElementType = isValidElementType;
|
|
12592
|
-
exports.isAsyncMode = isAsyncMode;
|
|
12593
|
-
exports.isConcurrentMode = isConcurrentMode;
|
|
12594
|
-
exports.isContextConsumer = isContextConsumer;
|
|
12595
|
-
exports.isContextProvider = isContextProvider;
|
|
12596
|
-
exports.isElement = isElement;
|
|
12597
|
-
exports.isForwardRef = isForwardRef;
|
|
12598
|
-
exports.isFragment = isFragment;
|
|
12599
|
-
exports.isLazy = isLazy;
|
|
12600
|
-
exports.isMemo = isMemo;
|
|
12601
|
-
exports.isPortal = isPortal;
|
|
12602
|
-
exports.isProfiler = isProfiler;
|
|
12603
|
-
exports.isStrictMode = isStrictMode;
|
|
12604
|
-
exports.isSuspense = isSuspense;
|
|
12605
|
-
})();
|
|
12606
|
-
}
|
|
12607
|
-
}(reactIs_development));
|
|
12541
|
+
(function (module) {
|
|
12608
12542
|
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
|
|
12543
|
+
{
|
|
12544
|
+
module.exports = reactIs_development;
|
|
12545
|
+
}
|
|
12546
|
+
} (reactIs));
|
|
12612
12547
|
|
|
12613
12548
|
/*
|
|
12614
12549
|
object-assign
|
|
@@ -13417,8 +13352,6 @@
|
|
|
13417
13352
|
propTypes.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
|
|
13418
13353
|
}
|
|
13419
13354
|
|
|
13420
|
-
var PropTypes = propTypes.exports;
|
|
13421
|
-
|
|
13422
13355
|
var dist=function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e});},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=13)}([function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r);},function(t,n){t.exports=function(t){return "object"==typeof t?null!==t:"function"==typeof t};},function(t,n){var r=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=r);},function(t,n,r){t.exports=!r(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a});},function(t,n){t.exports=function(t){try{return !!t()}catch(t){return !0}};},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)};},function(t,n,r){var e=r(32)("wks"),o=r(9),i=r(0).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e;},function(t,n,r){var e=r(0),o=r(2),i=r(8),u=r(22),c=r(10),f=function(t,n,r){var a,s,p,l,v=t&f.F,y=t&f.G,h=t&f.S,d=t&f.P,x=t&f.B,g=y?e:h?e[n]||(e[n]={}):(e[n]||{}).prototype,m=y?o:o[n]||(o[n]={}),b=m.prototype||(m.prototype={});y&&(r=n);for(a in r)s=!v&&g&&void 0!==g[a],p=(s?g:r)[a],l=x&&s?c(p,e):d&&"function"==typeof p?c(Function.call,p):p,g&&u(g,a,p,t&f.U),m[a]!=p&&i(m,a,l),d&&b[a]!=p&&(b[a]=p);};e.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f;},function(t,n,r){var e=r(16),o=r(21);t.exports=r(3)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t};},function(t,n){var r=0,e=Math.random();t.exports=function(t){return "Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))};},function(t,n,r){var e=r(24);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}};},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t};},function(t,n,r){var e=r(28),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0};},function(t,n,r){n.__esModule=!0,n.default=function(t,n){if(t&&n){var r=Array.isArray(n)?n:n.split(","),e=t.name||"",o=t.type||"",i=o.replace(/\/.*$/,"");return r.some(function(t){var n=t.trim();return "."===n.charAt(0)?e.toLowerCase().endsWith(n.toLowerCase()):n.endsWith("/*")?i===n.replace(/\/.*$/,""):o===n})}return !0},r(14),r(34);},function(t,n,r){r(15),t.exports=r(2).Array.some;},function(t,n,r){var e=r(7),o=r(25)(3);e(e.P+e.F*!r(33)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}});},function(t,n,r){var e=r(17),o=r(18),i=r(20),u=Object.defineProperty;n.f=r(3)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return "value"in r&&(t[n]=r.value),t};},function(t,n,r){var e=r(1);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t};},function(t,n,r){t.exports=!r(3)&&!r(4)(function(){return 7!=Object.defineProperty(r(19)("div"),"a",{get:function(){return 7}}).a});},function(t,n,r){var e=r(1),o=r(0).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}};},function(t,n,r){var e=r(1);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")};},function(t,n){t.exports=function(t,n){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}};},function(t,n,r){var e=r(0),o=r(8),i=r(23),u=r(9)("src"),c=Function.toString,f=(""+c).split("toString");r(2).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var a="function"==typeof r;a&&(i(r,"name")||o(r,"name",n)),t[n]!==r&&(a&&(i(r,u)||o(r,u,t[n]?""+t[n]:f.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:o(t,n,r):(delete t[n],o(t,n,r)));})(Function.prototype,"toString",function(){return "function"==typeof this&&this[u]||c.call(this)});},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)};},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t};},function(t,n,r){var e=r(10),o=r(26),i=r(27),u=r(12),c=r(29);t.exports=function(t,n){var r=1==t,f=2==t,a=3==t,s=4==t,p=6==t,l=5==t||p,v=n||c;return function(n,c,y){for(var h,d,x=i(n),g=o(x),m=e(c,y,3),b=u(g.length),_=0,w=r?v(n,b):f?v(n,0):void 0;b>_;_++)if((l||_ in g)&&(h=g[_],d=m(h,_,x),t))if(r)w[_]=d;else if(d)switch(t){case 3:return !0;case 5:return h;case 6:return _;case 2:w.push(h);}else if(s)return !1;return p?-1:a||s?s:w}};},function(t,n,r){var e=r(5);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return "String"==e(t)?t.split(""):Object(t)};},function(t,n,r){var e=r(11);t.exports=function(t){return Object(e(t))};},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)};},function(t,n,r){var e=r(30);t.exports=function(t,n){return new(e(t))(n)};},function(t,n,r){var e=r(1),o=r(31),i=r(6)("species");t.exports=function(t){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n};},function(t,n,r){var e=r(5);t.exports=Array.isArray||function(t){return "Array"==e(t)};},function(t,n,r){var e=r(0),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})};},function(t,n,r){var e=r(4);t.exports=function(t,n){return !!t&&e(function(){n?t.call(null,function(){},1):t.call(null);})};},function(t,n,r){r(35),t.exports=r(2).String.endsWith;},function(t,n,r){var e=r(7),o=r(12),i=r(36),u="".endsWith;e(e.P+e.F*r(38)("endsWith"),"String",{endsWith:function(t){var n=i(this,t,"endsWith"),r=arguments.length>1?arguments[1]:void 0,e=o(n.length),c=void 0===r?e:Math.min(o(r),e),f=String(t);return u?u.call(n,f,c):n.slice(c-f.length,c)===f}});},function(t,n,r){var e=r(37),o=r(11);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))};},function(t,n,r){var e=r(1),o=r(5),i=r(6)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))};},function(t,n,r){var e=r(6)("match");t.exports=function(t){var n=/./;try{"/./"[t](n);}catch(r){try{return n[e]=!1,!"/./"[t](n)}catch(t){}}return !0};}]);
|
|
13423
13356
|
|
|
13424
13357
|
var supportMultiple = typeof document !== 'undefined' && document && document.createElement ? 'multiple' in document.createElement('input') : true;
|
|
@@ -13929,7 +13862,7 @@
|
|
|
13929
13862
|
* Windows. In some cases there might not be a mime type set at all.
|
|
13930
13863
|
* See: https://github.com/react-dropzone/react-dropzone/issues/276
|
|
13931
13864
|
*/
|
|
13932
|
-
accept:
|
|
13865
|
+
accept: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.arrayOf(propTypes.exports.string)]),
|
|
13933
13866
|
|
|
13934
13867
|
/**
|
|
13935
13868
|
* Render function that renders the actual component
|
|
@@ -13946,65 +13879,65 @@
|
|
|
13946
13879
|
* @param {Array} props.acceptedFiles Accepted files
|
|
13947
13880
|
* @param {Array} props.rejectedFiles Rejected files
|
|
13948
13881
|
*/
|
|
13949
|
-
children:
|
|
13882
|
+
children: propTypes.exports.func,
|
|
13950
13883
|
|
|
13951
13884
|
/**
|
|
13952
13885
|
* Enable/disable the dropzone entirely
|
|
13953
13886
|
*/
|
|
13954
|
-
disabled:
|
|
13887
|
+
disabled: propTypes.exports.bool,
|
|
13955
13888
|
|
|
13956
13889
|
/**
|
|
13957
13890
|
* If false, allow dropped items to take over the current browser window
|
|
13958
13891
|
*/
|
|
13959
|
-
preventDropOnDocument:
|
|
13892
|
+
preventDropOnDocument: propTypes.exports.bool,
|
|
13960
13893
|
|
|
13961
13894
|
/**
|
|
13962
13895
|
* Allow dropping multiple files
|
|
13963
13896
|
*/
|
|
13964
|
-
multiple:
|
|
13897
|
+
multiple: propTypes.exports.bool,
|
|
13965
13898
|
|
|
13966
13899
|
/**
|
|
13967
13900
|
* `name` attribute for the input tag
|
|
13968
13901
|
*/
|
|
13969
|
-
name:
|
|
13902
|
+
name: propTypes.exports.string,
|
|
13970
13903
|
|
|
13971
13904
|
/**
|
|
13972
13905
|
* Maximum file size (in bytes)
|
|
13973
13906
|
*/
|
|
13974
|
-
maxSize:
|
|
13907
|
+
maxSize: propTypes.exports.number,
|
|
13975
13908
|
|
|
13976
13909
|
/**
|
|
13977
13910
|
* Minimum file size (in bytes)
|
|
13978
13911
|
*/
|
|
13979
|
-
minSize:
|
|
13912
|
+
minSize: propTypes.exports.number,
|
|
13980
13913
|
|
|
13981
13914
|
/**
|
|
13982
13915
|
* getDataTransferItems handler
|
|
13983
13916
|
* @param {Event} event
|
|
13984
13917
|
* @returns {Array} array of File objects
|
|
13985
13918
|
*/
|
|
13986
|
-
getDataTransferItems:
|
|
13919
|
+
getDataTransferItems: propTypes.exports.func,
|
|
13987
13920
|
|
|
13988
13921
|
/**
|
|
13989
13922
|
* onClick callback
|
|
13990
13923
|
* @param {Event} event
|
|
13991
13924
|
*/
|
|
13992
|
-
onClick:
|
|
13925
|
+
onClick: propTypes.exports.func,
|
|
13993
13926
|
|
|
13994
13927
|
/**
|
|
13995
13928
|
* onFocus callback
|
|
13996
13929
|
*/
|
|
13997
|
-
onFocus:
|
|
13930
|
+
onFocus: propTypes.exports.func,
|
|
13998
13931
|
|
|
13999
13932
|
/**
|
|
14000
13933
|
* onBlur callback
|
|
14001
13934
|
*/
|
|
14002
|
-
onBlur:
|
|
13935
|
+
onBlur: propTypes.exports.func,
|
|
14003
13936
|
|
|
14004
13937
|
/**
|
|
14005
13938
|
* onKeyDown callback
|
|
14006
13939
|
*/
|
|
14007
|
-
onKeyDown:
|
|
13940
|
+
onKeyDown: propTypes.exports.func,
|
|
14008
13941
|
|
|
14009
13942
|
/**
|
|
14010
13943
|
* The `onDrop` method that accepts two arguments.
|
|
@@ -14035,42 +13968,42 @@
|
|
|
14035
13968
|
* }
|
|
14036
13969
|
* ```
|
|
14037
13970
|
*/
|
|
14038
|
-
onDrop:
|
|
13971
|
+
onDrop: propTypes.exports.func,
|
|
14039
13972
|
|
|
14040
13973
|
/**
|
|
14041
13974
|
* onDropAccepted callback
|
|
14042
13975
|
*/
|
|
14043
|
-
onDropAccepted:
|
|
13976
|
+
onDropAccepted: propTypes.exports.func,
|
|
14044
13977
|
|
|
14045
13978
|
/**
|
|
14046
13979
|
* onDropRejected callback
|
|
14047
13980
|
*/
|
|
14048
|
-
onDropRejected:
|
|
13981
|
+
onDropRejected: propTypes.exports.func,
|
|
14049
13982
|
|
|
14050
13983
|
/**
|
|
14051
13984
|
* onDragStart callback
|
|
14052
13985
|
*/
|
|
14053
|
-
onDragStart:
|
|
13986
|
+
onDragStart: propTypes.exports.func,
|
|
14054
13987
|
|
|
14055
13988
|
/**
|
|
14056
13989
|
* onDragEnter callback
|
|
14057
13990
|
*/
|
|
14058
|
-
onDragEnter:
|
|
13991
|
+
onDragEnter: propTypes.exports.func,
|
|
14059
13992
|
|
|
14060
13993
|
/**
|
|
14061
13994
|
* onDragOver callback
|
|
14062
13995
|
*/
|
|
14063
|
-
onDragOver:
|
|
13996
|
+
onDragOver: propTypes.exports.func,
|
|
14064
13997
|
|
|
14065
13998
|
/**
|
|
14066
13999
|
* onDragLeave callback
|
|
14067
14000
|
*/
|
|
14068
|
-
onDragLeave:
|
|
14001
|
+
onDragLeave: propTypes.exports.func,
|
|
14069
14002
|
|
|
14070
14003
|
/**
|
|
14071
14004
|
* Provide a callback on clicking the cancel button of the file dialog
|
|
14072
14005
|
*/
|
|
14073
|
-
onFileDialogCancel:
|
|
14006
|
+
onFileDialogCancel: propTypes.exports.func
|
|
14074
14007
|
};
|
|
14075
14008
|
|
|
14076
14009
|
Dropzone.defaultProps = {
|
|
@@ -14179,7 +14112,7 @@
|
|
|
14179
14112
|
React__namespace.createElement("div", { className: css(styles$Y.formFieldGroupToggleButton) },
|
|
14180
14113
|
React__namespace.createElement(Button, { variant: "plain", "aria-label": ariaLabel, onClick: onToggle, "aria-expanded": isExpanded, "aria-labelledby": ariaLabelledby, id: toggleId },
|
|
14181
14114
|
React__namespace.createElement("span", { className: css(styles$Y.formFieldGroupToggleIcon) },
|
|
14182
|
-
React__namespace.createElement(AngleRightIcon
|
|
14115
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": "true" }))))));
|
|
14183
14116
|
};
|
|
14184
14117
|
FormFieldGroupToggle.displayName = 'FormFieldGroupToggle';
|
|
14185
14118
|
|
|
@@ -14305,8 +14238,6 @@
|
|
|
14305
14238
|
|
|
14306
14239
|
const MinusIcon = createIcon(MinusIconConfig);
|
|
14307
14240
|
|
|
14308
|
-
var MinusIcon$1 = MinusIcon;
|
|
14309
|
-
|
|
14310
14241
|
const variantStyle$4 = {
|
|
14311
14242
|
default: '',
|
|
14312
14243
|
indeterminate: styles$G.modifiers.indeterminate,
|
|
@@ -14320,10 +14251,10 @@
|
|
|
14320
14251
|
return (React__namespace.createElement(Component, Object.assign({ className: css(styles$G.helperTextItem, variantStyle$4[variant], isDynamic && styles$G.modifiers.dynamic, className), id: id }, props),
|
|
14321
14252
|
icon && (React__namespace.createElement("span", { className: css(styles$G.helperTextItemIcon), "aria-hidden": true }, icon)),
|
|
14322
14253
|
hasIcon && !icon && (React__namespace.createElement("span", { className: css(styles$G.helperTextItemIcon), "aria-hidden": true },
|
|
14323
|
-
(variant === 'default' || variant === 'indeterminate') && React__namespace.createElement(MinusIcon
|
|
14324
|
-
variant === 'warning' && React__namespace.createElement(ExclamationTriangleIcon
|
|
14325
|
-
variant === 'success' && React__namespace.createElement(CheckCircleIcon
|
|
14326
|
-
variant === 'error' && React__namespace.createElement(ExclamationCircleIcon
|
|
14254
|
+
(variant === 'default' || variant === 'indeterminate') && React__namespace.createElement(MinusIcon, null),
|
|
14255
|
+
variant === 'warning' && React__namespace.createElement(ExclamationTriangleIcon, null),
|
|
14256
|
+
variant === 'success' && React__namespace.createElement(CheckCircleIcon, null),
|
|
14257
|
+
variant === 'error' && React__namespace.createElement(ExclamationCircleIcon, null))),
|
|
14327
14258
|
React__namespace.createElement("span", { className: css(styles$G.helperTextItemText) },
|
|
14328
14259
|
children,
|
|
14329
14260
|
isDynamic && React__namespace.createElement("span", { className: "pf-u-screen-reader" },
|
|
@@ -14494,7 +14425,6 @@
|
|
|
14494
14425
|
"value": "none",
|
|
14495
14426
|
"var": "var(--pf-c-jump-links__toggle--Display)"
|
|
14496
14427
|
};
|
|
14497
|
-
var cssToggleDisplayVar = c_jump_links__toggle_Display;
|
|
14498
14428
|
|
|
14499
14429
|
// Recursively find JumpLinkItems and return an array of all their scrollNodes
|
|
14500
14430
|
const getScrollItems = (children, res) => {
|
|
@@ -14525,7 +14455,7 @@
|
|
|
14525
14455
|
// https://github.com/patternfly/patternfly/blob/main/src/patternfly/components/JumpLinks/jump-links.scss#L103
|
|
14526
14456
|
return (jumpLinks &&
|
|
14527
14457
|
getComputedStyle(jumpLinks)
|
|
14528
|
-
.getPropertyValue(
|
|
14458
|
+
.getPropertyValue(c_jump_links__toggle_Display.name)
|
|
14529
14459
|
.includes('block'));
|
|
14530
14460
|
}
|
|
14531
14461
|
const JumpLinks = (_a) => {
|
|
@@ -14645,7 +14575,7 @@
|
|
|
14645
14575
|
expandable && (React__namespace.createElement("div", { className: styles$E.jumpLinksToggle },
|
|
14646
14576
|
React__namespace.createElement(Button, { variant: "plain", onClick: () => setIsExpanded(!isExpanded), "aria-label": toggleAriaLabel, "aria-expanded": isExpanded },
|
|
14647
14577
|
React__namespace.createElement("span", { className: styles$E.jumpLinksToggleIcon },
|
|
14648
|
-
React__namespace.createElement(AngleRightIcon
|
|
14578
|
+
React__namespace.createElement(AngleRightIcon, null)),
|
|
14649
14579
|
label && React__namespace.createElement("span", { className: css(styles$E.jumpLinksToggleText) },
|
|
14650
14580
|
" ",
|
|
14651
14581
|
label,
|
|
@@ -14777,7 +14707,7 @@
|
|
|
14777
14707
|
};
|
|
14778
14708
|
const LabelComponent = (isOverflowLabel ? 'button' : 'span');
|
|
14779
14709
|
const button = closeBtn ? (closeBtn) : (React__namespace.createElement(Button, Object.assign({ type: "button", variant: "plain", onClick: onClose, "aria-label": closeBtnAriaLabel || `Close ${children}` }, closeBtnProps),
|
|
14780
|
-
React__namespace.createElement(TimesIcon
|
|
14710
|
+
React__namespace.createElement(TimesIcon, null)));
|
|
14781
14711
|
const textRef = React__namespace.createRef();
|
|
14782
14712
|
// ref to apply tooltip when rendered is used
|
|
14783
14713
|
const componentRef = React__namespace.useRef();
|
|
@@ -14882,7 +14812,7 @@
|
|
|
14882
14812
|
React__namespace.createElement("textarea", Object.assign({ className: css(styles$C.labelGroupTextarea), rows: 1, tabIndex: 0 }, editableTextAreaProps)))))));
|
|
14883
14813
|
const close = (React__namespace.createElement("div", { className: css(styles$C.labelGroupClose) },
|
|
14884
14814
|
React__namespace.createElement(Button, { variant: "plain", "aria-label": closeBtnAriaLabel, onClick: onClick, id: `remove_group_${id}`, "aria-labelledby": `remove_group_${id} ${id}` },
|
|
14885
|
-
React__namespace.createElement(TimesCircleIcon
|
|
14815
|
+
React__namespace.createElement(TimesCircleIcon, { "aria-hidden": "true" }))));
|
|
14886
14816
|
return (React__namespace.createElement("div", { className: css(styles$C.labelGroup, className, categoryName && styles$C.modifiers.category, isVertical && styles$C.modifiers.vertical, isEditable && styles$C.modifiers.editable) },
|
|
14887
14817
|
React__namespace.createElement("div", { className: css(styles$C.labelGroupMain) }, content),
|
|
14888
14818
|
isClosable && close));
|
|
@@ -15056,8 +14986,6 @@
|
|
|
15056
14986
|
|
|
15057
14987
|
const EyeSlashIcon = createIcon(EyeSlashIconConfig);
|
|
15058
14988
|
|
|
15059
|
-
var EyeSlashIcon$1 = EyeSlashIcon;
|
|
15060
|
-
|
|
15061
14989
|
const EyeIconConfig = {
|
|
15062
14990
|
name: 'EyeIcon',
|
|
15063
14991
|
height: 512,
|
|
@@ -15069,8 +14997,6 @@
|
|
|
15069
14997
|
|
|
15070
14998
|
const EyeIcon = createIcon(EyeIconConfig);
|
|
15071
14999
|
|
|
15072
|
-
var EyeIcon$1 = EyeIcon;
|
|
15073
|
-
|
|
15074
15000
|
const LoginForm = (_a) => {
|
|
15075
15001
|
var { noAutoFocus = false, className = '', showHelperText = false, helperText = null, helperTextIcon = null, usernameLabel = 'Username', usernameValue = '', onChangeUsername = () => undefined, isValidUsername = true, passwordLabel = 'Password', passwordValue = '', onChangePassword = () => undefined, isShowPasswordEnabled = false, hidePasswordAriaLabel = 'Hide password', showPasswordAriaLabel = 'Show password', isValidPassword = true, loginButtonLabel = 'Log In', isLoginButtonDisabled = false, onLoginButtonClick = () => undefined, rememberMeLabel = '', isRememberMeChecked = false, onChangeRememberMe = () => undefined } = _a, props = __rest$1(_a, ["noAutoFocus", "className", "showHelperText", "helperText", "helperTextIcon", "usernameLabel", "usernameValue", "onChangeUsername", "isValidUsername", "passwordLabel", "passwordValue", "onChangePassword", "isShowPasswordEnabled", "hidePasswordAriaLabel", "showPasswordAriaLabel", "isValidPassword", "loginButtonLabel", "isLoginButtonDisabled", "onLoginButtonClick", "rememberMeLabel", "isRememberMeChecked", "onChangeRememberMe"]);
|
|
15076
15002
|
const [passwordHidden, setPasswordHidden] = React__namespace.useState(true);
|
|
@@ -15082,7 +15008,7 @@
|
|
|
15082
15008
|
React__namespace.createElement(FormGroup, { label: passwordLabel, isRequired: true, validated: isValidPassword ? exports.ValidatedOptions.default : exports.ValidatedOptions.error, fieldId: "pf-login-password-id" },
|
|
15083
15009
|
isShowPasswordEnabled && (React__namespace.createElement(InputGroup, null,
|
|
15084
15010
|
passwordInput,
|
|
15085
|
-
React__namespace.createElement(Button, { variant: "control", onClick: () => setPasswordHidden(!passwordHidden), "aria-label": passwordHidden ? showPasswordAriaLabel : hidePasswordAriaLabel }, passwordHidden ? React__namespace.createElement(EyeIcon
|
|
15011
|
+
React__namespace.createElement(Button, { variant: "control", onClick: () => setPasswordHidden(!passwordHidden), "aria-label": passwordHidden ? showPasswordAriaLabel : hidePasswordAriaLabel }, passwordHidden ? React__namespace.createElement(EyeIcon, null) : React__namespace.createElement(EyeSlashIcon, null)))),
|
|
15086
15012
|
!isShowPasswordEnabled && passwordInput),
|
|
15087
15013
|
rememberMeLabel.length > 0 && (React__namespace.createElement(FormGroup, { fieldId: "pf-login-remember-me-id" },
|
|
15088
15014
|
React__namespace.createElement(Checkbox, { id: "pf-login-remember-me-id", label: rememberMeLabel, isChecked: isRememberMeChecked, onChange: onChangeRememberMe }))),
|
|
@@ -15313,7 +15239,7 @@
|
|
|
15313
15239
|
};
|
|
15314
15240
|
this.isMobile = () =>
|
|
15315
15241
|
// eslint-disable-next-line radix
|
|
15316
|
-
this.getWindowWidth() < Number.parseInt(
|
|
15242
|
+
this.getWindowWidth() < Number.parseInt(global_breakpoint_xl.value, 10);
|
|
15317
15243
|
this.resize = () => {
|
|
15318
15244
|
const { onPageResize } = this.props;
|
|
15319
15245
|
const mobileView = this.isMobile();
|
|
@@ -15753,21 +15679,18 @@
|
|
|
15753
15679
|
"value": "0px",
|
|
15754
15680
|
"var": "var(--pf-c-menu--m-flyout__menu--top-offset)"
|
|
15755
15681
|
};
|
|
15756
|
-
var topOffset = c_menu_m_flyout__menu_top_offset;
|
|
15757
15682
|
|
|
15758
15683
|
const c_menu_m_flyout__menu_m_left_right_offset = {
|
|
15759
15684
|
"name": "--pf-c-menu--m-flyout__menu--m-left--right-offset",
|
|
15760
15685
|
"value": "0px",
|
|
15761
15686
|
"var": "var(--pf-c-menu--m-flyout__menu--m-left--right-offset)"
|
|
15762
15687
|
};
|
|
15763
|
-
var rightOffset = c_menu_m_flyout__menu_m_left_right_offset;
|
|
15764
15688
|
|
|
15765
15689
|
const c_menu_m_flyout__menu_left_offset = {
|
|
15766
15690
|
"name": "--pf-c-menu--m-flyout__menu--left-offset",
|
|
15767
15691
|
"value": "0px",
|
|
15768
15692
|
"var": "var(--pf-c-menu--m-flyout__menu--left-offset)"
|
|
15769
15693
|
};
|
|
15770
|
-
var leftOffset = c_menu_m_flyout__menu_left_offset;
|
|
15771
15694
|
|
|
15772
15695
|
const MenuItemActionBase = (_a) => {
|
|
15773
15696
|
var { className = '', icon, onClick, 'aria-label': ariaLabel, isFavorited = null, isDisabled, actionId, innerRef } = _a, props = __rest$1(_a, ["className", "icon", "onClick", 'aria-label', "isFavorited", "isDisabled", "actionId", "innerRef"]);
|
|
@@ -15779,7 +15702,7 @@
|
|
|
15779
15702
|
onActionClick && onActionClick(event, itemId, actionId);
|
|
15780
15703
|
};
|
|
15781
15704
|
return (React__namespace.createElement("button", Object.assign({ className: css(menuStyles.menuItemAction, isFavorited !== null && menuStyles.modifiers.favorite, isFavorited && menuStyles.modifiers.favorited, className), "aria-label": ariaLabel, onClick: onClickButton }, ((isDisabled === true || isDisabledContext === true) && { disabled: true }), { ref: innerRef, tabIndex: -1 }, props),
|
|
15782
|
-
React__namespace.createElement("span", { className: css(menuStyles.menuItemActionIcon) }, icon === 'favorites' || isFavorited !== null ? React__namespace.createElement(StarIcon
|
|
15705
|
+
React__namespace.createElement("span", { className: css(menuStyles.menuItemActionIcon) }, icon === 'favorites' || isFavorited !== null ? React__namespace.createElement(StarIcon, { "aria-hidden": true }) : icon)));
|
|
15783
15706
|
}))));
|
|
15784
15707
|
};
|
|
15785
15708
|
const MenuItemAction = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(MenuItemActionBase, Object.assign({}, props, { innerRef: ref }))));
|
|
@@ -15834,16 +15757,16 @@
|
|
|
15834
15757
|
}
|
|
15835
15758
|
if (xDir === 'left') {
|
|
15836
15759
|
flyoutMenu.classList.add(menuStyles.modifiers.left);
|
|
15837
|
-
flyoutMenu.style.setProperty(
|
|
15760
|
+
flyoutMenu.style.setProperty(c_menu_m_flyout__menu_m_left_right_offset.name, `-${xOffset}px`);
|
|
15838
15761
|
}
|
|
15839
15762
|
else {
|
|
15840
|
-
flyoutMenu.style.setProperty(
|
|
15763
|
+
flyoutMenu.style.setProperty(c_menu_m_flyout__menu_left_offset.name, `-${xOffset}px`);
|
|
15841
15764
|
}
|
|
15842
15765
|
const spaceLeftBot = window.innerHeight - origin.y - rect.height;
|
|
15843
15766
|
const spaceLeftTop = window.innerHeight - rect.height;
|
|
15844
15767
|
if (spaceLeftTop < 0 && spaceLeftBot < 0) ;
|
|
15845
15768
|
else if (spaceLeftBot < 0) {
|
|
15846
|
-
flyoutMenu.style.setProperty(
|
|
15769
|
+
flyoutMenu.style.setProperty(c_menu_m_flyout__menu_top_offset.name, `${spaceLeftBot}px`);
|
|
15847
15770
|
}
|
|
15848
15771
|
}
|
|
15849
15772
|
}
|
|
@@ -15966,17 +15889,17 @@
|
|
|
15966
15889
|
}), (hasCheck && { htmlFor: randomId }), additionalProps),
|
|
15967
15890
|
React__namespace.createElement("span", { className: css(menuStyles.menuItemMain) },
|
|
15968
15891
|
direction === 'up' && (React__namespace.createElement("span", { className: css(menuStyles.menuItemToggleIcon) },
|
|
15969
|
-
React__namespace.createElement(AngleLeftIcon
|
|
15892
|
+
React__namespace.createElement(AngleLeftIcon, { "aria-hidden": true }))),
|
|
15970
15893
|
icon && React__namespace.createElement("span", { className: css(menuStyles.menuItemIcon) }, icon),
|
|
15971
15894
|
hasCheck && (React__namespace.createElement("span", { className: css('pf-c-menu__item-check') },
|
|
15972
15895
|
React__namespace.createElement(Checkbox, { id: randomId, component: "span", isChecked: isSelected || false, onChange: event => onItemSelect(event, onSelect), isDisabled: isDisabled }))),
|
|
15973
15896
|
React__namespace.createElement("span", { className: css(menuStyles.menuItemText) }, children),
|
|
15974
15897
|
isExternalLink && (React__namespace.createElement("span", { className: css(menuStyles.menuItemExternalIcon) },
|
|
15975
|
-
React__namespace.createElement(ExternalLinkAltIcon
|
|
15898
|
+
React__namespace.createElement(ExternalLinkAltIcon, { "aria-hidden": true }))),
|
|
15976
15899
|
(flyoutMenu || direction === 'down') && (React__namespace.createElement("span", { className: css(menuStyles.menuItemToggleIcon) },
|
|
15977
|
-
React__namespace.createElement(AngleRightIcon
|
|
15900
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true }))),
|
|
15978
15901
|
getIsSelected() && (React__namespace.createElement("span", { className: css(menuStyles.menuItemSelectIcon) },
|
|
15979
|
-
React__namespace.createElement(CheckIcon
|
|
15902
|
+
React__namespace.createElement(CheckIcon, { "aria-hidden": true })))),
|
|
15980
15903
|
description && direction !== 'up' && (React__namespace.createElement("span", { className: css(menuStyles.menuItemDescription) },
|
|
15981
15904
|
React__namespace.createElement("span", null, description)))))),
|
|
15982
15905
|
flyoutVisible && (React__namespace.createElement(MenuContext.Provider, { value: { disableHover } },
|
|
@@ -16056,7 +15979,7 @@
|
|
|
16056
15979
|
const isTypeahead = variant === 'typeahead';
|
|
16057
15980
|
const toggleControls = (React__namespace.createElement("span", { className: css(styles$x.menuToggleControls) },
|
|
16058
15981
|
React__namespace.createElement("span", { className: css(styles$x.menuToggleToggleIcon) },
|
|
16059
|
-
React__namespace.createElement(CaretDownIcon
|
|
15982
|
+
React__namespace.createElement(CaretDownIcon, { "aria-hidden": true }))));
|
|
16060
15983
|
const content = (React__namespace.createElement(React__namespace.Fragment, null,
|
|
16061
15984
|
icon && React__namespace.createElement("span", { className: css(styles$x.menuToggleIcon) }, icon),
|
|
16062
15985
|
isTypeahead ? children : React__namespace.createElement("span", { className: css(styles$x.menuToggleText) }, children),
|
|
@@ -16173,7 +16096,7 @@
|
|
|
16173
16096
|
const ModalBoxCloseButton = (_a) => {
|
|
16174
16097
|
var { className = '', onClose = () => undefined, ouiaId } = _a, props = __rest$1(_a, ["className", "onClose", "ouiaId"]);
|
|
16175
16098
|
return (React__namespace.createElement(Button, Object.assign({ className: className, variant: "plain", onClick: onClose, "aria-label": "Close" }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props),
|
|
16176
|
-
React__namespace.createElement(TimesIcon
|
|
16099
|
+
React__namespace.createElement(TimesIcon, null)));
|
|
16177
16100
|
};
|
|
16178
16101
|
ModalBoxCloseButton.displayName = 'ModalBoxCloseButton';
|
|
16179
16102
|
|
|
@@ -16182,13 +16105,12 @@
|
|
|
16182
16105
|
"value": "0.5rem",
|
|
16183
16106
|
"var": "var(--pf-c-modal-box--m-align-top--spacer)"
|
|
16184
16107
|
};
|
|
16185
|
-
var topSpacer = c_modal_box_m_align_top_spacer;
|
|
16186
16108
|
|
|
16187
16109
|
const ModalBox = (_a) => {
|
|
16188
16110
|
var { children, className = '', variant = 'default', position, positionOffset, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel = '', 'aria-describedby': ariaDescribedby, style } = _a, props = __rest$1(_a, ["children", "className", "variant", "position", "positionOffset", 'aria-labelledby', 'aria-label', 'aria-describedby', "style"]);
|
|
16189
16111
|
if (positionOffset) {
|
|
16190
16112
|
style = style || {};
|
|
16191
|
-
style[
|
|
16113
|
+
style[c_modal_box_m_align_top_spacer.name] = positionOffset;
|
|
16192
16114
|
}
|
|
16193
16115
|
return (React__namespace.createElement("div", Object.assign({}, props, { role: "dialog", "aria-label": ariaLabel || null, "aria-labelledby": ariaLabelledby || null, "aria-describedby": ariaDescribedby, "aria-modal": "true", className: css(modalStyles.modalBox, className, position === 'top' && modalStyles.modifiers.alignTop, variant === 'large' && modalStyles.modifiers.lg, variant === 'small' && modalStyles.modifiers.sm, variant === 'medium' && modalStyles.modifiers.md), style: style }), children));
|
|
16194
16116
|
};
|
|
@@ -16223,11 +16145,11 @@
|
|
|
16223
16145
|
const h1 = React__namespace.useRef();
|
|
16224
16146
|
const label = titleLabel || (isVariantIcon(titleIconVariant) ? `${capitalize(titleIconVariant)} alert:` : titleLabel);
|
|
16225
16147
|
const variantIcons = {
|
|
16226
|
-
success: React__namespace.createElement(CheckCircleIcon
|
|
16227
|
-
danger: React__namespace.createElement(ExclamationCircleIcon
|
|
16228
|
-
warning: React__namespace.createElement(ExclamationTriangleIcon
|
|
16229
|
-
info: React__namespace.createElement(InfoCircleIcon
|
|
16230
|
-
default: React__namespace.createElement(BellIcon
|
|
16148
|
+
success: React__namespace.createElement(CheckCircleIcon, null),
|
|
16149
|
+
danger: React__namespace.createElement(ExclamationCircleIcon, null),
|
|
16150
|
+
warning: React__namespace.createElement(ExclamationTriangleIcon, null),
|
|
16151
|
+
info: React__namespace.createElement(InfoCircleIcon, null),
|
|
16152
|
+
default: React__namespace.createElement(BellIcon, null)
|
|
16231
16153
|
};
|
|
16232
16154
|
const CustomIcon = !isVariantIcon(titleIconVariant) && titleIconVariant;
|
|
16233
16155
|
useIsomorphicLayoutEffect(() => {
|
|
@@ -16518,8 +16440,6 @@
|
|
|
16518
16440
|
|
|
16519
16441
|
const InProgressIcon = createIcon(InProgressIconConfig);
|
|
16520
16442
|
|
|
16521
|
-
var InProgressIcon$1 = InProgressIcon;
|
|
16522
|
-
|
|
16523
16443
|
const MultipleFileUploadStatus = (_a) => {
|
|
16524
16444
|
var { children, className, statusToggleText, statusToggleIcon } = _a, props = __rest$1(_a, ["children", "className", "statusToggleText", "statusToggleIcon"]);
|
|
16525
16445
|
const [icon, setIcon] = React__namespace.useState();
|
|
@@ -16527,13 +16447,13 @@
|
|
|
16527
16447
|
React__namespace.useEffect(() => {
|
|
16528
16448
|
switch (statusToggleIcon) {
|
|
16529
16449
|
case 'danger':
|
|
16530
|
-
setIcon(React__namespace.createElement(TimesCircleIcon
|
|
16450
|
+
setIcon(React__namespace.createElement(TimesCircleIcon, null));
|
|
16531
16451
|
break;
|
|
16532
16452
|
case 'success':
|
|
16533
|
-
setIcon(React__namespace.createElement(CheckCircleIcon
|
|
16453
|
+
setIcon(React__namespace.createElement(CheckCircleIcon, null));
|
|
16534
16454
|
break;
|
|
16535
16455
|
case 'inProgress':
|
|
16536
|
-
setIcon(React__namespace.createElement(InProgressIcon
|
|
16456
|
+
setIcon(React__namespace.createElement(InProgressIcon, null));
|
|
16537
16457
|
break;
|
|
16538
16458
|
default:
|
|
16539
16459
|
setIcon(statusToggleIcon);
|
|
@@ -16597,9 +16517,9 @@
|
|
|
16597
16517
|
ProgressVariant["warning"] = "warning";
|
|
16598
16518
|
})(exports.ProgressVariant || (exports.ProgressVariant = {}));
|
|
16599
16519
|
const variantToIcon = {
|
|
16600
|
-
danger: TimesCircleIcon
|
|
16601
|
-
success: CheckCircleIcon
|
|
16602
|
-
warning: ExclamationTriangleIcon
|
|
16520
|
+
danger: TimesCircleIcon,
|
|
16521
|
+
success: CheckCircleIcon,
|
|
16522
|
+
warning: ExclamationTriangleIcon
|
|
16603
16523
|
};
|
|
16604
16524
|
const ProgressContainer = ({ progressBarAriaProps, value, title = '', parentId, label = null, variant = null, measureLocation = exports.ProgressMeasureLocation.top, isTitleTruncated = false, tooltipPosition }) => {
|
|
16605
16525
|
const StatusIcon = variantToIcon.hasOwnProperty(variant) && variantToIcon[variant];
|
|
@@ -16693,8 +16613,6 @@
|
|
|
16693
16613
|
|
|
16694
16614
|
const FileIcon = createIcon(FileIconConfig);
|
|
16695
16615
|
|
|
16696
|
-
var FileIcon$1 = FileIcon;
|
|
16697
|
-
|
|
16698
16616
|
const MultipleFileUploadStatusItem = (_a) => {
|
|
16699
16617
|
var { className, file, fileIcon, onReadStarted = () => { }, onReadFinished = () => { }, onReadSuccess = () => { }, onReadFail = () => { }, onClearClick = () => { }, customFileHandler, fileName, fileSize, progressValue, progressVariant, progressAriaLabel, progressAriaLabelledBy, progressId, buttonAriaLabel = 'Remove from list' } = _a, props = __rest$1(_a, ["className", "file", "fileIcon", "onReadStarted", "onReadFinished", "onReadSuccess", "onReadFail", "onClearClick", "customFileHandler", "fileName", "fileSize", "progressValue", "progressVariant", "progressAriaLabel", "progressAriaLabelledBy", "progressId", "buttonAriaLabel"]);
|
|
16700
16618
|
const [loadPercentage, setLoadPercentage] = React__namespace.useState(0);
|
|
@@ -16748,12 +16666,12 @@
|
|
|
16748
16666
|
React__namespace.createElement("span", { className: styles$w.multipleFileUploadStatusItemProgressText }, fileName || (file === null || file === void 0 ? void 0 : file.name) || ''),
|
|
16749
16667
|
React__namespace.createElement("span", { className: styles$w.multipleFileUploadStatusItemProgressSize }, fileSize || getHumanReadableFileSize((file === null || file === void 0 ? void 0 : file.size) || 0))));
|
|
16750
16668
|
return (React__namespace.createElement("li", Object.assign({ className: css(styles$w.multipleFileUploadStatusItem, className) }, props),
|
|
16751
|
-
React__namespace.createElement("div", { className: styles$w.multipleFileUploadStatusItemIcon }, fileIcon || React__namespace.createElement(FileIcon
|
|
16669
|
+
React__namespace.createElement("div", { className: styles$w.multipleFileUploadStatusItemIcon }, fileIcon || React__namespace.createElement(FileIcon, null)),
|
|
16752
16670
|
React__namespace.createElement("div", { className: styles$w.multipleFileUploadStatusItemMain },
|
|
16753
16671
|
React__namespace.createElement(Progress, { title: title, value: progressValue || loadPercentage, variant: progressVariant || loadResult, "aria-label": progressAriaLabel, "aria-labelledby": progressAriaLabelledBy, id: progressId })),
|
|
16754
16672
|
React__namespace.createElement("div", { className: styles$w.multipleFileUploadStatusItemClose },
|
|
16755
16673
|
React__namespace.createElement(Button, { variant: "plain", "aria-label": buttonAriaLabel, onClick: onClearClick },
|
|
16756
|
-
React__namespace.createElement(TimesCircleIcon
|
|
16674
|
+
React__namespace.createElement(TimesCircleIcon, null)))));
|
|
16757
16675
|
};
|
|
16758
16676
|
MultipleFileUploadStatusItem.displayName = 'MultipleFileUploadStatusItem';
|
|
16759
16677
|
|
|
@@ -16940,10 +16858,10 @@
|
|
|
16940
16858
|
const { scrollViewAtStart, scrollViewAtEnd } = this.state;
|
|
16941
16859
|
return (React__namespace.createElement(NavContext.Consumer, null, ({ isHorizontal }) => (React__namespace.createElement(PageSidebarContext.Consumer, null, ({ isNavOpen }) => (React__namespace.createElement(React__namespace.Fragment, null,
|
|
16942
16860
|
isHorizontal && (React__namespace.createElement("button", { className: css(styles$u.navScrollButton), "aria-label": ariaLeftScroll, onClick: this.scrollLeft, disabled: scrollViewAtStart, tabIndex: isNavOpen ? null : -1 },
|
|
16943
|
-
React__namespace.createElement(AngleLeftIcon
|
|
16861
|
+
React__namespace.createElement(AngleLeftIcon, null))),
|
|
16944
16862
|
React__namespace.createElement("ul", Object.assign({ ref: this.navList, className: css(styles$u.navList, className), onScroll: this.handleScrollButtons }, props), children),
|
|
16945
16863
|
isHorizontal && (React__namespace.createElement("button", { className: css(styles$u.navScrollButton), "aria-label": ariaRightScroll, onClick: this.scrollRight, disabled: scrollViewAtEnd, tabIndex: isNavOpen ? null : -1 },
|
|
16946
|
-
React__namespace.createElement(AngleRightIcon
|
|
16864
|
+
React__namespace.createElement(AngleRightIcon, null)))))))));
|
|
16947
16865
|
}
|
|
16948
16866
|
}
|
|
16949
16867
|
NavList.displayName = 'NavList';
|
|
@@ -17053,7 +16971,7 @@
|
|
|
17053
16971
|
}, [flyoutVisible, flyoutTarget]);
|
|
17054
16972
|
const flyoutButton = (React__namespace.createElement("span", { className: css(styles$u.navToggle) },
|
|
17055
16973
|
React__namespace.createElement("span", { className: css(styles$u.navToggleIcon) },
|
|
17056
|
-
React__namespace.createElement(AngleRightIcon
|
|
16974
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true }))));
|
|
17057
16975
|
const ariaFlyoutProps = {
|
|
17058
16976
|
'aria-haspopup': 'menu',
|
|
17059
16977
|
'aria-expanded': flyoutVisible
|
|
@@ -17137,7 +17055,7 @@
|
|
|
17137
17055
|
title,
|
|
17138
17056
|
React__namespace.createElement("span", { className: css(styles$u.navToggle) },
|
|
17139
17057
|
React__namespace.createElement("span", { className: css(styles$u.navToggleIcon) },
|
|
17140
|
-
React__namespace.createElement(AngleRightIcon
|
|
17058
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": "true" })))))),
|
|
17141
17059
|
React__namespace.createElement("section", { className: css(styles$u.navSubnav), "aria-labelledby": this.id, hidden: expandedState ? null : true },
|
|
17142
17060
|
srText && (React__namespace.createElement("h2", { className: css(a11yStyles.screenReader), id: this.id }, srText)),
|
|
17143
17061
|
React__namespace.createElement("ul", { className: css(styles$u.navList) }, children))))));
|
|
@@ -17179,8 +17097,6 @@
|
|
|
17179
17097
|
|
|
17180
17098
|
const AttentionBellIcon = createIcon(AttentionBellIconConfig);
|
|
17181
17099
|
|
|
17182
|
-
var AttentionBellIcon$1 = AttentionBellIcon;
|
|
17183
|
-
|
|
17184
17100
|
exports.NotificationBadgeVariant = void 0;
|
|
17185
17101
|
(function (NotificationBadgeVariant) {
|
|
17186
17102
|
NotificationBadgeVariant["read"] = "read";
|
|
@@ -17188,7 +17104,7 @@
|
|
|
17188
17104
|
NotificationBadgeVariant["attention"] = "attention";
|
|
17189
17105
|
})(exports.NotificationBadgeVariant || (exports.NotificationBadgeVariant = {}));
|
|
17190
17106
|
const NotificationBadge = (_a) => {
|
|
17191
|
-
var { isRead, children, variant = isRead ? 'read' : 'unread', count = 0, attentionIcon = React__namespace.createElement(AttentionBellIcon
|
|
17107
|
+
var { isRead, children, variant = isRead ? 'read' : 'unread', count = 0, attentionIcon = React__namespace.createElement(AttentionBellIcon, null), icon = React__namespace.createElement(BellIcon, null), className } = _a, props = __rest$1(_a, ["isRead", "children", "variant", "count", "attentionIcon", "icon", "className"]);
|
|
17192
17108
|
let notificationChild = icon;
|
|
17193
17109
|
if (children !== undefined) {
|
|
17194
17110
|
notificationChild = children;
|
|
@@ -17256,7 +17172,6 @@
|
|
|
17256
17172
|
"value": "1",
|
|
17257
17173
|
"var": "var(--pf-c-notification-drawer__group-toggle-title--max-lines)"
|
|
17258
17174
|
};
|
|
17259
|
-
var maxLines$1 = c_notification_drawer__group_toggle_title_max_lines;
|
|
17260
17175
|
|
|
17261
17176
|
const NotificationDrawerGroup = (_a) => {
|
|
17262
17177
|
var { children, className = '', count, isExpanded, isRead = false,
|
|
@@ -17273,7 +17188,7 @@
|
|
|
17273
17188
|
if (!titleRef.current || !truncateTitle) {
|
|
17274
17189
|
return;
|
|
17275
17190
|
}
|
|
17276
|
-
titleRef.current.style.setProperty(
|
|
17191
|
+
titleRef.current.style.setProperty(c_notification_drawer__group_toggle_title_max_lines.name, truncateTitle.toString());
|
|
17277
17192
|
}, [titleRef, truncateTitle, isTooltipVisible]);
|
|
17278
17193
|
const Title = (React__namespace.createElement("div", Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(styles$s.notificationDrawerGroupToggleTitle) }), title));
|
|
17279
17194
|
return (React__namespace.createElement("section", Object.assign({}, props, { className: css(styles$s.notificationDrawerGroup, isExpanded && styles$s.modifiers.expanded, className) }),
|
|
@@ -17288,7 +17203,7 @@
|
|
|
17288
17203
|
React__namespace.createElement("div", { className: css(styles$s.notificationDrawerGroupToggleCount) },
|
|
17289
17204
|
React__namespace.createElement(Badge, { isRead: isRead }, count)),
|
|
17290
17205
|
React__namespace.createElement("span", { className: "pf-c-notification-drawer__group-toggle-icon" },
|
|
17291
|
-
React__namespace.createElement(AngleRightIcon
|
|
17206
|
+
React__namespace.createElement(AngleRightIcon, null)))),
|
|
17292
17207
|
children));
|
|
17293
17208
|
};
|
|
17294
17209
|
NotificationDrawerGroup.displayName = 'NotificationDrawerGroup';
|
|
@@ -17362,7 +17277,7 @@
|
|
|
17362
17277
|
children,
|
|
17363
17278
|
onClose && (React__namespace.createElement("div", null,
|
|
17364
17279
|
React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": closeButtonAriaLabel, onClick: onClose },
|
|
17365
|
-
React__namespace.createElement(TimesIcon
|
|
17280
|
+
React__namespace.createElement(TimesIcon, { "aria-hidden": "true" }))))))));
|
|
17366
17281
|
};
|
|
17367
17282
|
NotificationDrawerHeader.displayName = 'NotificationDrawerHeader';
|
|
17368
17283
|
|
|
@@ -17399,14 +17314,13 @@
|
|
|
17399
17314
|
"value": "1",
|
|
17400
17315
|
"var": "var(--pf-c-notification-drawer__list-item-header-title--max-lines)"
|
|
17401
17316
|
};
|
|
17402
|
-
var maxLines = c_notification_drawer__list_item_header_title_max_lines;
|
|
17403
17317
|
|
|
17404
17318
|
const variantIcons$1 = {
|
|
17405
|
-
success: CheckCircleIcon
|
|
17406
|
-
danger: ExclamationCircleIcon
|
|
17407
|
-
warning: ExclamationTriangleIcon
|
|
17408
|
-
info: InfoCircleIcon
|
|
17409
|
-
default: BellIcon
|
|
17319
|
+
success: CheckCircleIcon,
|
|
17320
|
+
danger: ExclamationCircleIcon,
|
|
17321
|
+
warning: ExclamationTriangleIcon,
|
|
17322
|
+
info: InfoCircleIcon,
|
|
17323
|
+
default: BellIcon
|
|
17410
17324
|
};
|
|
17411
17325
|
const NotificationDrawerListItemHeader = (_a) => {
|
|
17412
17326
|
var { children, className = '', icon = null, srTitle, title, variant = 'default', truncateTitle = 0, tooltipPosition, headingLevel: HeadingLevel = 'h2' } = _a, props = __rest$1(_a, ["children", "className", "icon", "srTitle", "title", "variant", "truncateTitle", "tooltipPosition", "headingLevel"]);
|
|
@@ -17416,7 +17330,7 @@
|
|
|
17416
17330
|
if (!titleRef.current || !truncateTitle) {
|
|
17417
17331
|
return;
|
|
17418
17332
|
}
|
|
17419
|
-
titleRef.current.style.setProperty(
|
|
17333
|
+
titleRef.current.style.setProperty(c_notification_drawer__list_item_header_title_max_lines.name, truncateTitle.toString());
|
|
17420
17334
|
const showTooltip = titleRef.current && titleRef.current.offsetHeight < titleRef.current.scrollHeight;
|
|
17421
17335
|
if (isTooltipVisible !== showTooltip) {
|
|
17422
17336
|
setIsTooltipVisible(showTooltip);
|
|
@@ -17521,7 +17435,7 @@
|
|
|
17521
17435
|
return (React__namespace.createElement(DropdownItem, Object.assign({ id: id, component: "button", isDisabled: isDisabled, onClick: (event) => onSelect(event) }, (isDisabled && { 'aria-disabled': true }), props),
|
|
17522
17436
|
children,
|
|
17523
17437
|
isSelected && (React__namespace.createElement("span", { className: css(styles$r.optionsMenuMenuItemIcon) },
|
|
17524
|
-
React__namespace.createElement(CheckIcon
|
|
17438
|
+
React__namespace.createElement(CheckIcon, { "aria-hidden": isSelected })))));
|
|
17525
17439
|
};
|
|
17526
17440
|
OptionsMenuItem.displayName = 'OptionsMenuItem';
|
|
17527
17441
|
|
|
@@ -17609,10 +17523,10 @@
|
|
|
17609
17523
|
});
|
|
17610
17524
|
|
|
17611
17525
|
const breakpoints = {
|
|
17612
|
-
md:
|
|
17613
|
-
lg:
|
|
17614
|
-
xl:
|
|
17615
|
-
'2xl':
|
|
17526
|
+
md: global_breakpoint_md,
|
|
17527
|
+
lg: global_breakpoint_lg,
|
|
17528
|
+
xl: global_breakpoint_xl,
|
|
17529
|
+
'2xl': global_breakpoint_2xl
|
|
17616
17530
|
};
|
|
17617
17531
|
class OverflowMenu extends React__namespace.Component {
|
|
17618
17532
|
constructor(props) {
|
|
@@ -17722,8 +17636,6 @@
|
|
|
17722
17636
|
|
|
17723
17637
|
const BarsIcon = createIcon(BarsIconConfig);
|
|
17724
17638
|
|
|
17725
|
-
var BarsIcon$1 = BarsIcon;
|
|
17726
|
-
|
|
17727
17639
|
const PageHeader = (_a) => {
|
|
17728
17640
|
var { className = '', logo = null, logoProps = null, logoComponent = 'a', headerTools = null, topNav = null, isNavOpen = true, isManagedSidebar: deprecatedIsManagedSidebar = undefined, role = undefined, showNavToggle = false, navToggleId = 'nav-toggle', onNavToggle = () => undefined, 'aria-label': ariaLabel = 'Global navigation', 'aria-controls': ariaControls = null } = _a, props = __rest$1(_a, ["className", "logo", "logoProps", "logoComponent", "headerTools", "topNav", "isNavOpen", "isManagedSidebar", "role", "showNavToggle", "navToggleId", "onNavToggle", 'aria-label', 'aria-controls']);
|
|
17729
17641
|
const LogoComponent = logoComponent;
|
|
@@ -17737,7 +17649,7 @@
|
|
|
17737
17649
|
(showNavToggle || logo) && (React__namespace.createElement("div", { className: css(styles$y.pageHeaderBrand) },
|
|
17738
17650
|
showNavToggle && (React__namespace.createElement("div", { className: css(styles$y.pageHeaderBrandToggle) },
|
|
17739
17651
|
React__namespace.createElement(Button, { id: navToggleId, onClick: navToggle, "aria-label": ariaLabel, "aria-controls": ariaControls, "aria-expanded": navOpen ? 'true' : 'false', variant: exports.ButtonVariant.plain },
|
|
17740
|
-
React__namespace.createElement(BarsIcon
|
|
17652
|
+
React__namespace.createElement(BarsIcon, null)))),
|
|
17741
17653
|
logo && (React__namespace.createElement(LogoComponent, Object.assign({ className: css(styles$y.pageHeaderBrandLink) }, logoProps), logo)))),
|
|
17742
17654
|
topNav && React__namespace.createElement("div", { className: css(styles$y.pageHeaderNav) }, topNav),
|
|
17743
17655
|
headerTools));
|
|
@@ -17934,7 +17846,7 @@
|
|
|
17934
17846
|
this.handleNewPage(event, 1);
|
|
17935
17847
|
this.setState({ userInputPage: 1 });
|
|
17936
17848
|
} },
|
|
17937
|
-
React__namespace.createElement(AngleDoubleLeftIcon
|
|
17849
|
+
React__namespace.createElement(AngleDoubleLeftIcon, null)))),
|
|
17938
17850
|
React__namespace.createElement("div", { className: styles$p.paginationNavControl },
|
|
17939
17851
|
React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, isDisabled: isDisabled || page === firstPage || page === 0, "data-action": "previous", onClick: event => {
|
|
17940
17852
|
const newPage = page - 1 >= 1 ? page - 1 : 1;
|
|
@@ -17942,7 +17854,7 @@
|
|
|
17942
17854
|
this.handleNewPage(event, newPage);
|
|
17943
17855
|
this.setState({ userInputPage: newPage });
|
|
17944
17856
|
}, "aria-label": toPreviousPage },
|
|
17945
|
-
React__namespace.createElement(AngleLeftIcon
|
|
17857
|
+
React__namespace.createElement(AngleLeftIcon, null))),
|
|
17946
17858
|
!isCompact && (React__namespace.createElement("div", { className: styles$p.paginationNavPageSelect },
|
|
17947
17859
|
React__namespace.createElement("input", { className: css(styles$p.formControl), "aria-label": currPage, type: "number", disabled: isDisabled || (itemCount && page === firstPage && page === lastPage && itemCount >= 0) || page === 0, min: lastPage <= 0 && firstPage <= 0 ? 0 : 1, max: lastPage, value: userInputPage, onKeyDown: event => this.onKeyDown(event, page, lastPage, onPageInput), onChange: event => this.onChange(event, lastPage) }),
|
|
17948
17860
|
(itemCount || itemCount === 0) && (React__namespace.createElement("span", { "aria-hidden": "true" },
|
|
@@ -17956,14 +17868,14 @@
|
|
|
17956
17868
|
this.handleNewPage(event, newPage);
|
|
17957
17869
|
this.setState({ userInputPage: newPage });
|
|
17958
17870
|
} },
|
|
17959
|
-
React__namespace.createElement(AngleRightIcon
|
|
17871
|
+
React__namespace.createElement(AngleRightIcon, null))),
|
|
17960
17872
|
!isCompact && (React__namespace.createElement("div", { className: css(styles$p.paginationNavControl, styles$p.modifiers.last) },
|
|
17961
17873
|
React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, isDisabled: isDisabled || page === lastPage, "aria-label": toLastPage, "data-action": "last", onClick: event => {
|
|
17962
17874
|
onLastClick(event, lastPage);
|
|
17963
17875
|
this.handleNewPage(event, lastPage);
|
|
17964
17876
|
this.setState({ userInputPage: lastPage });
|
|
17965
17877
|
} },
|
|
17966
|
-
React__namespace.createElement(AngleDoubleRightIcon
|
|
17878
|
+
React__namespace.createElement(AngleDoubleRightIcon, null))))));
|
|
17967
17879
|
}
|
|
17968
17880
|
}
|
|
17969
17881
|
Navigation.displayName = 'Navigation';
|
|
@@ -18038,7 +17950,7 @@
|
|
|
18038
17950
|
title,
|
|
18039
17951
|
` ${perPageSuffix}`,
|
|
18040
17952
|
perPage === value && (React__namespace.createElement("div", { className: css(styles$r.optionsMenuMenuItemIcon) },
|
|
18041
|
-
React__namespace.createElement(CheckIcon
|
|
17953
|
+
React__namespace.createElement(CheckIcon, null))))));
|
|
18042
17954
|
};
|
|
18043
17955
|
this.state = {
|
|
18044
17956
|
isOpen: false
|
|
@@ -18090,7 +18002,6 @@
|
|
|
18090
18002
|
"value": "2",
|
|
18091
18003
|
"var": "var(--pf-c-pagination__nav-page-select--c-form-control--width-chars)"
|
|
18092
18004
|
};
|
|
18093
|
-
var widthChars = c_pagination__nav_page_select_c_form_control_width_chars;
|
|
18094
18005
|
|
|
18095
18006
|
exports.PaginationVariant = void 0;
|
|
18096
18007
|
(function (PaginationVariant) {
|
|
@@ -18121,10 +18032,10 @@
|
|
|
18121
18032
|
}
|
|
18122
18033
|
const len = String(lastPage).length;
|
|
18123
18034
|
if (len >= 3) {
|
|
18124
|
-
node.style.setProperty(
|
|
18035
|
+
node.style.setProperty(c_pagination__nav_page_select_c_form_control_width_chars.name, `${len}`);
|
|
18125
18036
|
}
|
|
18126
18037
|
else {
|
|
18127
|
-
node.style.setProperty(
|
|
18038
|
+
node.style.setProperty(c_pagination__nav_page_select_c_form_control_width_chars.name, '2');
|
|
18128
18039
|
}
|
|
18129
18040
|
};
|
|
18130
18041
|
let paginationId = 0;
|
|
@@ -18285,15 +18196,13 @@
|
|
|
18285
18196
|
|
|
18286
18197
|
const ResourcesFullIcon = createIcon(ResourcesFullIconConfig);
|
|
18287
18198
|
|
|
18288
|
-
var ResourcesFullIcon$1 = ResourcesFullIcon;
|
|
18289
|
-
|
|
18290
18199
|
const variantIcons = {
|
|
18291
18200
|
default: undefined,
|
|
18292
18201
|
pending: undefined,
|
|
18293
|
-
success: React__namespace.createElement(CheckCircleIcon
|
|
18294
|
-
info: React__namespace.createElement(ResourcesFullIcon
|
|
18295
|
-
warning: React__namespace.createElement(ExclamationTriangleIcon
|
|
18296
|
-
danger: React__namespace.createElement(ExclamationCircleIcon
|
|
18202
|
+
success: React__namespace.createElement(CheckCircleIcon, null),
|
|
18203
|
+
info: React__namespace.createElement(ResourcesFullIcon, null),
|
|
18204
|
+
warning: React__namespace.createElement(ExclamationTriangleIcon, null),
|
|
18205
|
+
danger: React__namespace.createElement(ExclamationCircleIcon, null)
|
|
18297
18206
|
};
|
|
18298
18207
|
const variantStyle$2 = {
|
|
18299
18208
|
default: '',
|
|
@@ -18399,8 +18308,6 @@
|
|
|
18399
18308
|
|
|
18400
18309
|
const ArrowRightIcon = createIcon(ArrowRightIconConfig);
|
|
18401
18310
|
|
|
18402
|
-
var ArrowRightIcon$1 = ArrowRightIcon;
|
|
18403
|
-
|
|
18404
18311
|
Promise.resolve().then(function () { return panel; });
|
|
18405
18312
|
var styles$m = {
|
|
18406
18313
|
"modifiers": {
|
|
@@ -18677,25 +18584,25 @@
|
|
|
18677
18584
|
const buildSearchTextInputGroup = (_a = {}) => {
|
|
18678
18585
|
var searchInputProps = __rest$1(_a, []);
|
|
18679
18586
|
return (React__namespace.createElement(TextInputGroup, Object.assign({ isDisabled: isDisabled }, searchInputProps),
|
|
18680
|
-
React__namespace.createElement(TextInputGroupMain, { hint: hint, icon: React__namespace.createElement(SearchIcon
|
|
18587
|
+
React__namespace.createElement(TextInputGroupMain, { hint: hint, icon: React__namespace.createElement(SearchIcon, null), innerRef: searchInputInputRef, value: searchValue, placeholder: placeholder, "aria-label": ariaLabel, onKeyDown: onEnter, onChange: onChangeHandler }),
|
|
18681
18588
|
value && (React__namespace.createElement(TextInputGroupUtilities, null,
|
|
18682
18589
|
resultsCount && React__namespace.createElement(Badge, { isRead: true }, resultsCount),
|
|
18683
18590
|
!!onNextClick && !!onPreviousClick && (React__namespace.createElement("div", { className: "pf-c-text-input-group__group" },
|
|
18684
18591
|
React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick },
|
|
18685
|
-
React__namespace.createElement(AngleUpIcon
|
|
18592
|
+
React__namespace.createElement(AngleUpIcon, null)),
|
|
18686
18593
|
React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick },
|
|
18687
|
-
React__namespace.createElement(AngleDownIcon
|
|
18594
|
+
React__namespace.createElement(AngleDownIcon, null)))),
|
|
18688
18595
|
!!onClear && (React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput },
|
|
18689
|
-
React__namespace.createElement(TimesIcon
|
|
18596
|
+
React__namespace.createElement(TimesIcon, null)))))));
|
|
18690
18597
|
};
|
|
18691
18598
|
const buildSearchTextInputGroupWithExtraButtons = (_a = {}) => {
|
|
18692
18599
|
var searchInputProps = __rest$1(_a, []);
|
|
18693
18600
|
return (React__namespace.createElement(InputGroup, Object.assign({}, searchInputProps),
|
|
18694
18601
|
buildSearchTextInputGroup(),
|
|
18695
18602
|
(attributes.length > 0 || onToggleAdvancedSearch) && (React__namespace.createElement(Button, { className: isSearchMenuOpen && 'pf-m-expanded', variant: exports.ButtonVariant.control, "aria-label": openMenuButtonAriaLabel, onClick: onToggle, isDisabled: isDisabled, "aria-expanded": isSearchMenuOpen },
|
|
18696
|
-
React__namespace.createElement(CaretDownIcon
|
|
18603
|
+
React__namespace.createElement(CaretDownIcon, null))),
|
|
18697
18604
|
!!onSearch && (React__namespace.createElement(Button, { type: "submit", variant: exports.ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled || !searchValue },
|
|
18698
|
-
React__namespace.createElement(ArrowRightIcon
|
|
18605
|
+
React__namespace.createElement(ArrowRightIcon, null)))));
|
|
18699
18606
|
};
|
|
18700
18607
|
const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css(className), innerRef: searchInputRef });
|
|
18701
18608
|
if (!!onSearch || attributes.length > 0 || !!onToggleAdvancedSearch) {
|
|
@@ -19202,11 +19109,11 @@
|
|
|
19202
19109
|
React__namespace.createElement("input", Object.assign({ id: this.id, className: css(styles$g.switchInput), type: "checkbox", onChange: event => onChange(event.target.checked, event) }, (defaultChecked !== undefined ? { defaultChecked } : { checked: isChecked }), { disabled: isDisabled, "aria-labelledby": !isAriaLabelledBy ? null : `${this.id}-${isChecked !== true ? 'off' : 'on'}` }, props)),
|
|
19203
19110
|
label !== undefined ? (React__namespace.createElement(React__namespace.Fragment, null,
|
|
19204
19111
|
React__namespace.createElement("span", { className: css(styles$g.switchToggle) }, hasCheckIcon && (React__namespace.createElement("span", { className: css(styles$g.switchToggleIcon), "aria-hidden": "true" },
|
|
19205
|
-
React__namespace.createElement(CheckIcon
|
|
19112
|
+
React__namespace.createElement(CheckIcon, { noVerticalAlign: true })))),
|
|
19206
19113
|
React__namespace.createElement("span", { className: css(styles$g.switchLabel, styles$g.modifiers.on), id: isAriaLabelledBy ? `${this.id}-on` : null, "aria-hidden": "true" }, label),
|
|
19207
19114
|
React__namespace.createElement("span", { className: css(styles$g.switchLabel, styles$g.modifiers.off), id: isAriaLabelledBy ? `${this.id}-off` : null, "aria-hidden": "true" }, labelOff !== undefined ? labelOff : label))) : (React__namespace.createElement("span", { className: css(styles$g.switchToggle) },
|
|
19208
19115
|
React__namespace.createElement("div", { className: css(styles$g.switchToggleIcon), "aria-hidden": "true" },
|
|
19209
|
-
React__namespace.createElement(CheckIcon
|
|
19116
|
+
React__namespace.createElement(CheckIcon, { noVerticalAlign: true }))))));
|
|
19210
19117
|
}
|
|
19211
19118
|
}
|
|
19212
19119
|
Switch.displayName = 'Switch';
|
|
@@ -19351,7 +19258,7 @@
|
|
|
19351
19258
|
handleTabClose !== undefined && (React__namespace.createElement("span", { className: css(styles$f.tabsItemClose) },
|
|
19352
19259
|
React__namespace.createElement(Button, { variant: "plain", "aria-label": closeButtonAriaLabel || 'Close tab', onClick: (event) => handleTabClose(event, eventKey, tabContentRef), isDisabled: isCloseDisabled },
|
|
19353
19260
|
React__namespace.createElement("span", { className: css(styles$f.tabsItemCloseIcon) },
|
|
19354
|
-
React__namespace.createElement(TimesIcon
|
|
19261
|
+
React__namespace.createElement(TimesIcon, null)))))));
|
|
19355
19262
|
};
|
|
19356
19263
|
const Tab = React__namespace.forwardRef((props, ref) => React__namespace.createElement(TabBase, Object.assign({ innerRef: ref }, props)));
|
|
19357
19264
|
Tab.displayName = 'Tab';
|
|
@@ -19367,8 +19274,6 @@
|
|
|
19367
19274
|
|
|
19368
19275
|
const PlusIcon = createIcon(PlusIconConfig);
|
|
19369
19276
|
|
|
19370
|
-
var PlusIcon$1 = PlusIcon;
|
|
19371
|
-
|
|
19372
19277
|
Promise.resolve().then(function () { return tabContent; });
|
|
19373
19278
|
var styles$e = {
|
|
19374
19279
|
"modifiers": {
|
|
@@ -19460,7 +19365,7 @@
|
|
|
19460
19365
|
tabTitle,
|
|
19461
19366
|
showTabCount && tabTitle === defaultTitleText && ` (${overflowingTabs.length})`),
|
|
19462
19367
|
React__default["default"].createElement("span", { className: styles$f.tabsLinkToggleIcon },
|
|
19463
|
-
React__default["default"].createElement(AngleRightIcon
|
|
19368
|
+
React__default["default"].createElement(AngleRightIcon, null)))));
|
|
19464
19369
|
const tabs = overflowingTabs.map(tab => (React__default["default"].createElement(MenuItem, { key: tab.eventKey, itemId: tab.eventKey, isSelected: localActiveKey === tab.eventKey }, tab.title)));
|
|
19465
19370
|
const onTabSelect = (event, key) => {
|
|
19466
19371
|
closeMenu();
|
|
@@ -19678,18 +19583,18 @@
|
|
|
19678
19583
|
React__namespace.createElement("div", { className: css(styles$f.tabsToggleButton) },
|
|
19679
19584
|
React__namespace.createElement(Button, { onClick: () => toggleTabs(!isExpandedLocal), variant: "plain", "aria-label": toggleAriaLabel, "aria-expanded": isExpandedLocal, id: `${randomId}-button`, "aria-labelledby": `${randomId}-text ${randomId}-button` },
|
|
19680
19585
|
React__namespace.createElement("span", { className: css(styles$f.tabsToggleIcon) },
|
|
19681
|
-
React__namespace.createElement(AngleRightIcon
|
|
19586
|
+
React__namespace.createElement(AngleRightIcon, { "arian-hidden": "true" })),
|
|
19682
19587
|
toggleText && (React__namespace.createElement("span", { className: css('pf-c-tabs__toggle-text'), id: `${randomId}-text` }, toggleText)))))))),
|
|
19683
19588
|
!isOverflowHorizontal && (React__namespace.createElement("button", { className: css(styles$f.tabsScrollButton, isSecondary && buttonStyles.modifiers.secondary), "aria-label": leftScrollAriaLabel, onClick: this.scrollLeft, disabled: disableLeftScrollButton, "aria-hidden": disableLeftScrollButton },
|
|
19684
|
-
React__namespace.createElement(AngleLeftIcon
|
|
19589
|
+
React__namespace.createElement(AngleLeftIcon, null))),
|
|
19685
19590
|
React__namespace.createElement("ul", { className: css(styles$f.tabsList), ref: this.tabList, onScroll: this.handleScrollButtons, role: "tablist" },
|
|
19686
19591
|
isOverflowHorizontal ? filteredChildrenWithoutOverflow : filteredChildren,
|
|
19687
19592
|
hasOverflowTab && React__namespace.createElement(OverflowTab, Object.assign({ overflowingTabs: overflowingTabProps }, overflowObjectProps))),
|
|
19688
19593
|
!isOverflowHorizontal && (React__namespace.createElement("button", { className: css(styles$f.tabsScrollButton, isSecondary && buttonStyles.modifiers.secondary), "aria-label": rightScrollAriaLabel, onClick: this.scrollRight, disabled: disableRightScrollButton, "aria-hidden": disableRightScrollButton },
|
|
19689
|
-
React__namespace.createElement(AngleRightIcon
|
|
19594
|
+
React__namespace.createElement(AngleRightIcon, null))),
|
|
19690
19595
|
onAdd !== undefined && (React__namespace.createElement("span", { className: css(styles$f.tabsAdd) },
|
|
19691
19596
|
React__namespace.createElement(Button, { variant: "plain", "aria-label": addButtonAriaLabel || 'Add tab', onClick: onAdd },
|
|
19692
|
-
React__namespace.createElement(PlusIcon
|
|
19597
|
+
React__namespace.createElement(PlusIcon, null))))),
|
|
19693
19598
|
filteredChildren
|
|
19694
19599
|
.filter(child => child.props.children &&
|
|
19695
19600
|
!(unmountOnExit && child.props.eventKey !== localActiveKey) &&
|
|
@@ -20467,10 +20372,10 @@
|
|
|
20467
20372
|
chipContainerRef: null
|
|
20468
20373
|
});
|
|
20469
20374
|
const globalBreakpoints = {
|
|
20470
|
-
md: parseInt(
|
|
20471
|
-
lg: parseInt(
|
|
20472
|
-
xl: parseInt(
|
|
20473
|
-
'2xl': parseInt(
|
|
20375
|
+
md: parseInt(global_breakpoint_md.value),
|
|
20376
|
+
lg: parseInt(global_breakpoint_lg.value),
|
|
20377
|
+
xl: parseInt(global_breakpoint_xl.value),
|
|
20378
|
+
'2xl': parseInt(global_breakpoint_2xl.value)
|
|
20474
20379
|
};
|
|
20475
20380
|
|
|
20476
20381
|
exports.ToolbarItemVariant = void 0;
|
|
@@ -20741,7 +20646,7 @@
|
|
|
20741
20646
|
super(...arguments);
|
|
20742
20647
|
this.isContentPopup = () => {
|
|
20743
20648
|
const viewportSize = canUseDOM ? window.innerWidth : 1200;
|
|
20744
|
-
const lgBreakpointValue = parseInt(
|
|
20649
|
+
const lgBreakpointValue = parseInt(global_breakpoint_lg.value);
|
|
20745
20650
|
return viewportSize < lgBreakpointValue;
|
|
20746
20651
|
};
|
|
20747
20652
|
}
|
|
@@ -20821,11 +20726,11 @@
|
|
|
20821
20726
|
React__namespace.createElement(InputGroup, null,
|
|
20822
20727
|
React__namespace.createElement(Button, Object.assign({ variant: "control", "aria-label": minusBtnAriaLabel, isDisabled: isDisabled || value <= min, onClick: evt => onMinus(evt, inputName) }, minusBtnProps),
|
|
20823
20728
|
React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
|
|
20824
|
-
React__namespace.createElement(MinusIcon
|
|
20729
|
+
React__namespace.createElement(MinusIcon, { "aria-hidden": "true" }))),
|
|
20825
20730
|
React__namespace.createElement("input", Object.assign({ className: css(styles$a.formControl), type: "number", value: value, name: inputName, "aria-label": inputAriaLabel }, (isDisabled && { disabled: isDisabled }), (onChange && { onChange }), { onBlur: handleBlur }, (!onChange && { readOnly: true }), inputProps, { onKeyDown: keyDownHandler })),
|
|
20826
20731
|
React__namespace.createElement(Button, Object.assign({ variant: "control", "aria-label": plusBtnAriaLabel, isDisabled: isDisabled || value >= max, onClick: evt => onPlus(evt, inputName) }, plusBtnProps),
|
|
20827
20732
|
React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
|
|
20828
|
-
React__namespace.createElement(PlusIcon
|
|
20733
|
+
React__namespace.createElement(PlusIcon, { "aria-hidden": "true" })))),
|
|
20829
20734
|
unit && unitPosition === 'after' && numberInputUnit));
|
|
20830
20735
|
};
|
|
20831
20736
|
NumberInput.displayName = 'NumberInput';
|
|
@@ -20902,7 +20807,7 @@
|
|
|
20902
20807
|
}
|
|
20903
20808
|
} }, ((hasCheck || isSelectable) && { 'aria-labelledby': `label-${randomId}` }), { tabIndex: -1 }),
|
|
20904
20809
|
React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeToggleIcon) },
|
|
20905
|
-
React__default["default"].createElement(AngleRightIcon
|
|
20810
|
+
React__default["default"].createElement(AngleRightIcon, { "aria-hidden": "true" }))));
|
|
20906
20811
|
const renderCheck = (randomId) => (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeCheck) },
|
|
20907
20812
|
React__default["default"].createElement("input", Object.assign({ type: "checkbox", onChange: evt => onCheck && onCheck(evt, itemData, parentItem), onClick: evt => evt.stopPropagation(), ref: elem => elem && (elem.indeterminate = checkProps.checked === null) }, checkProps, { checked: checkProps.checked === null ? false : checkProps.checked, id: randomId, tabIndex: -1 }))));
|
|
20908
20813
|
const iconRendered = (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeIcon) },
|
|
@@ -21216,10 +21121,10 @@
|
|
|
21216
21121
|
React__namespace.createElement("span", { className: css(styles$8.wizardToggleNum) }, activeStepIndex),
|
|
21217
21122
|
" ",
|
|
21218
21123
|
activeStepName,
|
|
21219
|
-
activeStepSubName && React__namespace.createElement(AngleRightIcon
|
|
21124
|
+
activeStepSubName && React__namespace.createElement(AngleRightIcon, { className: css(styles$8.wizardToggleSeparator), "aria-hidden": "true" })),
|
|
21220
21125
|
activeStepSubName && React__namespace.createElement("span", { className: css(styles$8.wizardToggleListItem) }, activeStepSubName)),
|
|
21221
21126
|
React__namespace.createElement("span", { className: css(styles$8.wizardToggleIcon) },
|
|
21222
|
-
React__namespace.createElement(CaretDownIcon
|
|
21127
|
+
React__namespace.createElement(CaretDownIcon, { "aria-hidden": "true" }))),
|
|
21223
21128
|
React__namespace.createElement("div", { className: css(styles$8.wizardOuterWrap) },
|
|
21224
21129
|
React__namespace.createElement("div", { className: css(styles$8.wizardInnerWrap) },
|
|
21225
21130
|
nav(isNavOpen),
|
|
@@ -21263,7 +21168,7 @@
|
|
|
21263
21168
|
React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkText) }, content),
|
|
21264
21169
|
React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkToggle) },
|
|
21265
21170
|
React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkToggleIcon) },
|
|
21266
|
-
React__namespace.createElement(AngleRightIcon
|
|
21171
|
+
React__namespace.createElement(AngleRightIcon, null))))) : (content)),
|
|
21267
21172
|
children));
|
|
21268
21173
|
};
|
|
21269
21174
|
WizardNavItem.displayName = 'WizardNavItem';
|
|
@@ -21281,7 +21186,7 @@
|
|
|
21281
21186
|
|
|
21282
21187
|
const WizardHeader = ({ onClose = () => undefined, title, description, hideClose, closeButtonAriaLabel, titleId, descriptionComponent: Component = 'p', descriptionId }) => (React__namespace.createElement("div", { className: css(styles$8.wizardHeader) },
|
|
21283
21188
|
!hideClose && (React__namespace.createElement(Button, { variant: "plain", className: css(styles$8.wizardClose), "aria-label": closeButtonAriaLabel, onClick: onClose },
|
|
21284
|
-
React__namespace.createElement(TimesIcon
|
|
21189
|
+
React__namespace.createElement(TimesIcon, { "aria-hidden": "true" }))),
|
|
21285
21190
|
React__namespace.createElement(Title, { headingLevel: "h2", size: "3xl", className: css(styles$8.wizardTitle), "aria-label": title, id: titleId }, title || React__namespace.createElement(React__namespace.Fragment, null, "\u00A0")),
|
|
21286
21191
|
description && (React__namespace.createElement(Component, { className: css(styles$8.wizardDescription), id: descriptionId }, description))));
|
|
21287
21192
|
WizardHeader.displayName = 'WizardHeader';
|