@spscommerce/ds-react 5.17.0 → 5.18.0
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/lib/index.cjs.js +426 -374
- package/lib/index.es.js +766 -668
- package/lib/list-toolbar/SpsListToolbarSortBy.d.ts +20 -0
- package/lib/list-toolbar/index.d.ts +1 -0
- package/lib/stepped-progress-bar/SpsSteppedProgressBar.d.ts +4 -7
- package/lib/stepped-progress-bar/SpsSteppedProgressBar.examples.d.ts +4 -0
- package/package.json +11 -11
package/lib/index.es.js
CHANGED
|
@@ -82,7 +82,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
|
82
82
|
function commonjsRequire(path) {
|
|
83
83
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
84
84
|
}
|
|
85
|
-
var propTypes$
|
|
85
|
+
var propTypes$1O = { exports: {} };
|
|
86
86
|
var ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
87
87
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
|
88
88
|
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
@@ -130,32 +130,32 @@ var factoryWithThrowingShims = function() {
|
|
|
130
130
|
return ReactPropTypes;
|
|
131
131
|
};
|
|
132
132
|
{
|
|
133
|
-
propTypes$
|
|
133
|
+
propTypes$1O.exports = factoryWithThrowingShims();
|
|
134
134
|
}
|
|
135
135
|
function deprecated(type) {
|
|
136
136
|
return type;
|
|
137
137
|
}
|
|
138
138
|
function enumValue(e2) {
|
|
139
|
-
return propTypes$
|
|
139
|
+
return propTypes$1O.exports.oneOf(values$3(e2));
|
|
140
140
|
}
|
|
141
141
|
function fun() {
|
|
142
|
-
return propTypes$
|
|
142
|
+
return propTypes$1O.exports.func;
|
|
143
143
|
}
|
|
144
144
|
function impl() {
|
|
145
|
-
return propTypes$
|
|
145
|
+
return propTypes$1O.exports.object;
|
|
146
146
|
}
|
|
147
147
|
function ref() {
|
|
148
|
-
return propTypes$
|
|
148
|
+
return propTypes$1O.exports.object;
|
|
149
149
|
}
|
|
150
|
-
const nodeOrRenderFn = propTypes$
|
|
150
|
+
const nodeOrRenderFn = propTypes$1O.exports.oneOfType([propTypes$1O.exports.node, propTypes$1O.exports.func]);
|
|
151
151
|
const spsGlobalPropTypes = {
|
|
152
|
-
children: propTypes$
|
|
153
|
-
className: propTypes$
|
|
154
|
-
"data-testid": propTypes$
|
|
155
|
-
unsafelyReplaceClassName: propTypes$
|
|
152
|
+
children: propTypes$1O.exports.oneOfType([propTypes$1O.exports.arrayOf(propTypes$1O.exports.node), propTypes$1O.exports.node]),
|
|
153
|
+
className: propTypes$1O.exports.string,
|
|
154
|
+
"data-testid": propTypes$1O.exports.string,
|
|
155
|
+
unsafelyReplaceClassName: propTypes$1O.exports.string
|
|
156
156
|
};
|
|
157
157
|
const I18nContext = React.createContext(noI18nI18n);
|
|
158
|
-
const propsDoc$
|
|
158
|
+
const propsDoc$1J = {
|
|
159
159
|
disabled: "boolean",
|
|
160
160
|
href: "string",
|
|
161
161
|
icon: "SpsIcon",
|
|
@@ -164,13 +164,13 @@ const propsDoc$1I = {
|
|
|
164
164
|
spinningTitle: "string",
|
|
165
165
|
type: "ButtonType"
|
|
166
166
|
};
|
|
167
|
-
const propTypes$
|
|
168
|
-
disabled: propTypes$
|
|
169
|
-
href: propTypes$
|
|
167
|
+
const propTypes$1N = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
168
|
+
disabled: propTypes$1O.exports.bool,
|
|
169
|
+
href: propTypes$1O.exports.string,
|
|
170
170
|
icon: enumValue(SpsIcon),
|
|
171
171
|
kind: enumValue(ButtonKind),
|
|
172
|
-
spinning: propTypes$
|
|
173
|
-
spinningTitle: propTypes$
|
|
172
|
+
spinning: propTypes$1O.exports.bool,
|
|
173
|
+
spinningTitle: propTypes$1O.exports.string,
|
|
174
174
|
type: enumValue(ButtonType)
|
|
175
175
|
});
|
|
176
176
|
function SpsButton(props2) {
|
|
@@ -220,8 +220,8 @@ function SpsButton(props2) {
|
|
|
220
220
|
}), iconElement, children, spinner));
|
|
221
221
|
}
|
|
222
222
|
Object.assign(SpsButton, {
|
|
223
|
-
props: propsDoc$
|
|
224
|
-
propTypes: propTypes$
|
|
223
|
+
props: propsDoc$1J,
|
|
224
|
+
propTypes: propTypes$1N,
|
|
225
225
|
displayName: "SpsButton"
|
|
226
226
|
});
|
|
227
227
|
const spsFormProps = {
|
|
@@ -274,7 +274,7 @@ Object.assign(SpsForm, {
|
|
|
274
274
|
function contentOf(nodeOrRenderFn2) {
|
|
275
275
|
return typeof nodeOrRenderFn2 === "function" ? nodeOrRenderFn2() : nodeOrRenderFn2;
|
|
276
276
|
}
|
|
277
|
-
const propsDoc$
|
|
277
|
+
const propsDoc$1I = __spreadProps(__spreadValues({}, spsFormProps), {
|
|
278
278
|
controlsDisabled: "boolean",
|
|
279
279
|
footerLinks: "ReactNodeOrRenderFn",
|
|
280
280
|
formMeta: "SpsFormArrayMeta<any> | SpsFormGroupMeta<any>",
|
|
@@ -282,16 +282,16 @@ const propsDoc$1H = __spreadProps(__spreadValues({}, spsFormProps), {
|
|
|
282
282
|
onClear: "() => void",
|
|
283
283
|
onSubmit: "React.FormEventHandler"
|
|
284
284
|
});
|
|
285
|
-
const propTypes$
|
|
286
|
-
controlsDisabled: propTypes$
|
|
285
|
+
const propTypes$1M = __spreadProps(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsFormPropTypes), {
|
|
286
|
+
controlsDisabled: propTypes$1O.exports.bool,
|
|
287
287
|
footerLinks: nodeOrRenderFn,
|
|
288
288
|
formArray: impl(),
|
|
289
289
|
formGroup: impl(),
|
|
290
|
-
formMeta: propTypes$
|
|
290
|
+
formMeta: propTypes$1O.exports.oneOfType([
|
|
291
291
|
impl(),
|
|
292
292
|
impl()
|
|
293
293
|
]),
|
|
294
|
-
isOpen: propTypes$
|
|
294
|
+
isOpen: propTypes$1O.exports.bool,
|
|
295
295
|
onClear: fun(),
|
|
296
296
|
onSubmit: fun()
|
|
297
297
|
});
|
|
@@ -356,8 +356,8 @@ function SpsAdvancedSearch(props2) {
|
|
|
356
356
|
}, t2("design-system:advancedSearch.search"))))));
|
|
357
357
|
}
|
|
358
358
|
Object.assign(SpsAdvancedSearch, {
|
|
359
|
-
props: propsDoc$
|
|
360
|
-
propTypes: propTypes$
|
|
359
|
+
props: propsDoc$1I,
|
|
360
|
+
propTypes: propTypes$1M,
|
|
361
361
|
displayName: "SpsAdvancedSearch"
|
|
362
362
|
});
|
|
363
363
|
const SpsAdvancedSearchExamples = {
|
|
@@ -1323,7 +1323,7 @@ function useSpsForm(value, validatorMap) {
|
|
|
1323
1323
|
return state;
|
|
1324
1324
|
}
|
|
1325
1325
|
const spsFormComponentWrapperPropTypes = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
1326
|
-
focusInputOnClick: propTypes$
|
|
1326
|
+
focusInputOnClick: propTypes$1O.exports.bool,
|
|
1327
1327
|
formMeta: impl(),
|
|
1328
1328
|
formControl: impl(),
|
|
1329
1329
|
inputRef: ref()
|
|
@@ -1499,15 +1499,15 @@ var scrollIntoViewImport = /* @__PURE__ */ Object.freeze({
|
|
|
1499
1499
|
[Symbol.toStringTag]: "Module",
|
|
1500
1500
|
"default": scrollIntoView$1
|
|
1501
1501
|
});
|
|
1502
|
-
const propsDoc$
|
|
1502
|
+
const propsDoc$1H = {
|
|
1503
1503
|
alt: "string",
|
|
1504
1504
|
size: "SpinnerSize",
|
|
1505
1505
|
title: "string"
|
|
1506
1506
|
};
|
|
1507
|
-
const propTypes$
|
|
1508
|
-
alt: propTypes$
|
|
1507
|
+
const propTypes$1L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
1508
|
+
alt: propTypes$1O.exports.string,
|
|
1509
1509
|
size: enumValue(SpinnerSize),
|
|
1510
|
-
title: propTypes$
|
|
1510
|
+
title: propTypes$1O.exports.string
|
|
1511
1511
|
});
|
|
1512
1512
|
function SpsSpinner(props2) {
|
|
1513
1513
|
const _a = props2, {
|
|
@@ -1535,8 +1535,8 @@ function SpsSpinner(props2) {
|
|
|
1535
1535
|
}, rest));
|
|
1536
1536
|
}
|
|
1537
1537
|
Object.assign(SpsSpinner, {
|
|
1538
|
-
props: propsDoc$
|
|
1539
|
-
propTypes: propTypes$
|
|
1538
|
+
props: propsDoc$1H,
|
|
1539
|
+
propTypes: propTypes$1L,
|
|
1540
1540
|
displayName: "SpsSpinner"
|
|
1541
1541
|
});
|
|
1542
1542
|
const NAVBAR_HEIGHT = 60;
|
|
@@ -1725,50 +1725,50 @@ const spsOptionListPassthroughProps = {
|
|
|
1725
1725
|
maxHeightRem: "number"
|
|
1726
1726
|
},
|
|
1727
1727
|
propTypes: {
|
|
1728
|
-
captionKey: propTypes$
|
|
1729
|
-
comparisonKey: propTypes$
|
|
1730
|
-
disabledOptions: propTypes$
|
|
1731
|
-
options: propTypes$
|
|
1732
|
-
propTypes$
|
|
1733
|
-
propTypes$
|
|
1728
|
+
captionKey: propTypes$1O.exports.string,
|
|
1729
|
+
comparisonKey: propTypes$1O.exports.string,
|
|
1730
|
+
disabledOptions: propTypes$1O.exports.arrayOf(propTypes$1O.exports.any),
|
|
1731
|
+
options: propTypes$1O.exports.oneOfType([
|
|
1732
|
+
propTypes$1O.exports.array,
|
|
1733
|
+
propTypes$1O.exports.instanceOf(Promise),
|
|
1734
1734
|
fun()
|
|
1735
1735
|
]).isRequired,
|
|
1736
|
-
tall: propTypes$
|
|
1737
|
-
textKey: propTypes$
|
|
1738
|
-
valueKey: propTypes$
|
|
1739
|
-
zeroState: propTypes$
|
|
1740
|
-
maxHeightPx: propTypes$
|
|
1741
|
-
maxHeightRem: propTypes$
|
|
1736
|
+
tall: propTypes$1O.exports.bool,
|
|
1737
|
+
textKey: propTypes$1O.exports.string,
|
|
1738
|
+
valueKey: propTypes$1O.exports.string,
|
|
1739
|
+
zeroState: propTypes$1O.exports.string,
|
|
1740
|
+
maxHeightPx: propTypes$1O.exports.number,
|
|
1741
|
+
maxHeightRem: propTypes$1O.exports.number
|
|
1742
1742
|
}
|
|
1743
1743
|
};
|
|
1744
1744
|
const searchableOptionListProps = {
|
|
1745
|
-
hideInlineSearch: propTypes$
|
|
1745
|
+
hideInlineSearch: propTypes$1O.exports.bool,
|
|
1746
1746
|
onSearchChange: fun(),
|
|
1747
|
-
search: propTypes$
|
|
1748
|
-
searchDebounce: propTypes$
|
|
1749
|
-
searchPlaceholder: propTypes$
|
|
1747
|
+
search: propTypes$1O.exports.string,
|
|
1748
|
+
searchDebounce: propTypes$1O.exports.number,
|
|
1749
|
+
searchPlaceholder: propTypes$1O.exports.string,
|
|
1750
1750
|
searchInputRef: ref()
|
|
1751
1751
|
};
|
|
1752
|
-
const propTypes$
|
|
1752
|
+
const propTypes$1K = __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), {
|
|
1753
1753
|
attachTo: ref().isRequired,
|
|
1754
|
-
conformWidth: propTypes$
|
|
1755
|
-
id: propTypes$
|
|
1756
|
-
isOpen: propTypes$
|
|
1757
|
-
keepOpen: propTypes$
|
|
1754
|
+
conformWidth: propTypes$1O.exports.bool,
|
|
1755
|
+
id: propTypes$1O.exports.string.isRequired,
|
|
1756
|
+
isOpen: propTypes$1O.exports.bool,
|
|
1757
|
+
keepOpen: propTypes$1O.exports.bool,
|
|
1758
1758
|
keyDown: impl(),
|
|
1759
|
-
nullOption: propTypes$
|
|
1760
|
-
offsets: propTypes$
|
|
1759
|
+
nullOption: propTypes$1O.exports.string,
|
|
1760
|
+
offsets: propTypes$1O.exports.arrayOf(propTypes$1O.exports.number),
|
|
1761
1761
|
onOptionListChanged: fun(),
|
|
1762
1762
|
onOptionSelected: fun(),
|
|
1763
1763
|
onPositionFlip: fun(),
|
|
1764
1764
|
onSelfToggle: fun(),
|
|
1765
|
-
optionRole: propTypes$
|
|
1766
|
-
positionOverride: propTypes$
|
|
1767
|
-
selectedOption: propTypes$
|
|
1765
|
+
optionRole: propTypes$1O.exports.string,
|
|
1766
|
+
positionOverride: propTypes$1O.exports.arrayOf(enumValue(Position)),
|
|
1767
|
+
selectedOption: propTypes$1O.exports.any,
|
|
1768
1768
|
specialAction: fun(),
|
|
1769
|
-
ignoreWidthStyles: propTypes$
|
|
1770
|
-
loading: propTypes$
|
|
1771
|
-
filterByTextAndCaptionKey: propTypes$
|
|
1769
|
+
ignoreWidthStyles: propTypes$1O.exports.bool,
|
|
1770
|
+
loading: propTypes$1O.exports.bool,
|
|
1771
|
+
filterByTextAndCaptionKey: propTypes$1O.exports.bool
|
|
1772
1772
|
});
|
|
1773
1773
|
async function updateOptions(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef) {
|
|
1774
1774
|
const options = typeof props2.options === "function" ? props2.options(searchState.value) : props2.options || [];
|
|
@@ -2399,7 +2399,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
2399
2399
|
}), /* @__PURE__ */ React.createElement("span", null, specialAction.label))));
|
|
2400
2400
|
});
|
|
2401
2401
|
Object.assign(SpsOptionList, {
|
|
2402
|
-
propTypes: propTypes$
|
|
2402
|
+
propTypes: propTypes$1K,
|
|
2403
2403
|
displayName: "SpsOptionList"
|
|
2404
2404
|
});
|
|
2405
2405
|
function selectChildren(children = [], groups = []) {
|
|
@@ -2488,7 +2488,7 @@ function useInputPopup(rootRef, popupRef) {
|
|
|
2488
2488
|
doHidePopup
|
|
2489
2489
|
};
|
|
2490
2490
|
}
|
|
2491
|
-
const propsDoc$
|
|
2491
|
+
const propsDoc$1G = {
|
|
2492
2492
|
debounce: "number",
|
|
2493
2493
|
disabled: "boolean",
|
|
2494
2494
|
formMeta: "SpsFormFieldMeta<string>",
|
|
@@ -2509,25 +2509,25 @@ const propsDoc$1F = {
|
|
|
2509
2509
|
maxHeightOptionListPx: "number",
|
|
2510
2510
|
maxHeightOptionListRem: "number"
|
|
2511
2511
|
};
|
|
2512
|
-
const propTypes$
|
|
2513
|
-
debounce: propTypes$
|
|
2514
|
-
disabled: propTypes$
|
|
2512
|
+
const propTypes$1J = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2513
|
+
debounce: propTypes$1O.exports.number,
|
|
2514
|
+
disabled: propTypes$1O.exports.bool,
|
|
2515
2515
|
formControl: impl(),
|
|
2516
2516
|
formMeta: impl(),
|
|
2517
2517
|
icon: enumValue(SpsIcon),
|
|
2518
2518
|
onChange: fun(),
|
|
2519
|
-
placeholder: propTypes$
|
|
2520
|
-
suggestions: propTypes$
|
|
2521
|
-
propTypes$
|
|
2522
|
-
propTypes$
|
|
2519
|
+
placeholder: propTypes$1O.exports.string,
|
|
2520
|
+
suggestions: propTypes$1O.exports.oneOfType([
|
|
2521
|
+
propTypes$1O.exports.arrayOf(propTypes$1O.exports.string),
|
|
2522
|
+
propTypes$1O.exports.instanceOf(Promise),
|
|
2523
2523
|
fun()
|
|
2524
2524
|
]).isRequired,
|
|
2525
|
-
tallOptionList: propTypes$
|
|
2526
|
-
value: propTypes$
|
|
2527
|
-
zeroState: propTypes$
|
|
2528
|
-
loading: propTypes$
|
|
2529
|
-
maxHeightOptionListPx: propTypes$
|
|
2530
|
-
maxHeightOptionListRem: propTypes$
|
|
2525
|
+
tallOptionList: propTypes$1O.exports.bool,
|
|
2526
|
+
value: propTypes$1O.exports.string,
|
|
2527
|
+
zeroState: propTypes$1O.exports.string,
|
|
2528
|
+
loading: propTypes$1O.exports.bool,
|
|
2529
|
+
maxHeightOptionListPx: propTypes$1O.exports.number,
|
|
2530
|
+
maxHeightOptionListRem: propTypes$1O.exports.number
|
|
2531
2531
|
});
|
|
2532
2532
|
function SpsAutocomplete(_a) {
|
|
2533
2533
|
var _b = _a, {
|
|
@@ -2685,8 +2685,8 @@ function SpsAutocomplete(_a) {
|
|
|
2685
2685
|
}));
|
|
2686
2686
|
}
|
|
2687
2687
|
Object.assign(SpsAutocomplete, {
|
|
2688
|
-
props: propsDoc$
|
|
2689
|
-
propTypes: propTypes$
|
|
2688
|
+
props: propsDoc$1G,
|
|
2689
|
+
propTypes: propTypes$1J,
|
|
2690
2690
|
displayName: "SpsAutocomplete"
|
|
2691
2691
|
});
|
|
2692
2692
|
const SpsAutocompleteExamples = {
|
|
@@ -2809,7 +2809,7 @@ const SpsAutocompleteExamples = {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
}
|
|
2811
2811
|
};
|
|
2812
|
-
const propsDoc$
|
|
2812
|
+
const propsDoc$1F = {
|
|
2813
2813
|
alignLeft: "boolean",
|
|
2814
2814
|
disabled: "boolean",
|
|
2815
2815
|
icon: "SpsIcon",
|
|
@@ -2825,21 +2825,21 @@ const propsDoc$1E = {
|
|
|
2825
2825
|
maxHeightOptionListPx: "number",
|
|
2826
2826
|
maxHeightOptionListRem: "number"
|
|
2827
2827
|
};
|
|
2828
|
-
const propTypes$
|
|
2829
|
-
alignLeft: propTypes$
|
|
2830
|
-
disabled: propTypes$
|
|
2828
|
+
const propTypes$1I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2829
|
+
alignLeft: propTypes$1O.exports.bool,
|
|
2830
|
+
disabled: propTypes$1O.exports.bool,
|
|
2831
2831
|
icon: enumValue(SpsIcon),
|
|
2832
2832
|
kind: enumValue(DropdownKind),
|
|
2833
|
-
label: propTypes$
|
|
2834
|
-
options: propTypes$
|
|
2835
|
-
spinning: propTypes$
|
|
2836
|
-
spinningTitle: propTypes$
|
|
2837
|
-
tallOptionList: propTypes$
|
|
2833
|
+
label: propTypes$1O.exports.string,
|
|
2834
|
+
options: propTypes$1O.exports.arrayOf(propTypes$1O.exports.oneOfType([propTypes$1O.exports.func, propTypes$1O.exports.any])).isRequired,
|
|
2835
|
+
spinning: propTypes$1O.exports.bool,
|
|
2836
|
+
spinningTitle: propTypes$1O.exports.string,
|
|
2837
|
+
tallOptionList: propTypes$1O.exports.bool,
|
|
2838
2838
|
onOpen: fun(),
|
|
2839
2839
|
onClose: fun(),
|
|
2840
|
-
loading: propTypes$
|
|
2841
|
-
maxHeightOptionListPx: propTypes$
|
|
2842
|
-
maxHeightOptionListRem: propTypes$
|
|
2840
|
+
loading: propTypes$1O.exports.bool,
|
|
2841
|
+
maxHeightOptionListPx: propTypes$1O.exports.number,
|
|
2842
|
+
maxHeightOptionListRem: propTypes$1O.exports.number
|
|
2843
2843
|
});
|
|
2844
2844
|
function SpsDropdown(props2) {
|
|
2845
2845
|
const _a = props2, {
|
|
@@ -3002,12 +3002,12 @@ function SpsDropdown(props2) {
|
|
|
3002
3002
|
}, spinningTitle || t2("design-system:button.spinningTitle")))));
|
|
3003
3003
|
}
|
|
3004
3004
|
Object.assign(SpsDropdown, {
|
|
3005
|
-
props: propsDoc$
|
|
3006
|
-
propTypes: propTypes$
|
|
3005
|
+
props: propsDoc$1F,
|
|
3006
|
+
propTypes: propTypes$1I,
|
|
3007
3007
|
displayName: "SpsDropdown"
|
|
3008
3008
|
});
|
|
3009
|
-
const propsDoc$
|
|
3010
|
-
const propTypes$
|
|
3009
|
+
const propsDoc$1E = {};
|
|
3010
|
+
const propTypes$1H = __spreadValues({}, spsGlobalPropTypes);
|
|
3011
3011
|
function SpsButtonGroup(props2) {
|
|
3012
3012
|
const _a = props2, {
|
|
3013
3013
|
children,
|
|
@@ -3038,8 +3038,8 @@ function SpsButtonGroup(props2) {
|
|
|
3038
3038
|
}), others.length > 0 && others);
|
|
3039
3039
|
}
|
|
3040
3040
|
Object.assign(SpsButtonGroup, {
|
|
3041
|
-
props: propsDoc$
|
|
3042
|
-
propTypes: propTypes$
|
|
3041
|
+
props: propsDoc$1E,
|
|
3042
|
+
propTypes: propTypes$1H,
|
|
3043
3043
|
displayName: "SpsButtonGroup"
|
|
3044
3044
|
});
|
|
3045
3045
|
const SpsButtonExamples = {
|
|
@@ -5771,8 +5771,8 @@ function SpsTabPanel(_c) {
|
|
|
5771
5771
|
className: "sps-card__body"
|
|
5772
5772
|
}), state.selectedItem ? state.selectedItem.props.children : null);
|
|
5773
5773
|
}
|
|
5774
|
-
const propsDoc$
|
|
5775
|
-
const propTypes$
|
|
5774
|
+
const propsDoc$1D = {};
|
|
5775
|
+
const propTypes$1G = {};
|
|
5776
5776
|
function SpsTabsV2(props2) {
|
|
5777
5777
|
const state = useTabListState(props2);
|
|
5778
5778
|
const ref2 = React.useRef();
|
|
@@ -5790,12 +5790,12 @@ function SpsTabsV2(props2) {
|
|
|
5790
5790
|
}));
|
|
5791
5791
|
}
|
|
5792
5792
|
Object.assign(SpsTabsV2, {
|
|
5793
|
-
props: propsDoc$
|
|
5794
|
-
propTypes: propTypes$
|
|
5793
|
+
props: propsDoc$1D,
|
|
5794
|
+
propTypes: propTypes$1G,
|
|
5795
5795
|
displayName: "SpsTabsV2"
|
|
5796
5796
|
});
|
|
5797
|
-
const propsDoc$
|
|
5798
|
-
const propTypes$
|
|
5797
|
+
const propsDoc$1C = {};
|
|
5798
|
+
const propTypes$1F = {};
|
|
5799
5799
|
function SpsCardV2Footer(_e) {
|
|
5800
5800
|
var _f = _e, {
|
|
5801
5801
|
children,
|
|
@@ -5809,12 +5809,12 @@ function SpsCardV2Footer(_e) {
|
|
|
5809
5809
|
}, rest), children);
|
|
5810
5810
|
}
|
|
5811
5811
|
Object.assign(SpsCardV2Footer, {
|
|
5812
|
-
props: propsDoc$
|
|
5813
|
-
propTypes: propTypes$
|
|
5812
|
+
props: propsDoc$1C,
|
|
5813
|
+
propTypes: propTypes$1F,
|
|
5814
5814
|
displayName: "SpsCardV2Footer"
|
|
5815
5815
|
});
|
|
5816
|
-
const propsDoc$
|
|
5817
|
-
const propTypes$
|
|
5816
|
+
const propsDoc$1B = {};
|
|
5817
|
+
const propTypes$1E = {};
|
|
5818
5818
|
function SpsCardV2Header(_g) {
|
|
5819
5819
|
var _h = _g, {
|
|
5820
5820
|
children,
|
|
@@ -5828,12 +5828,12 @@ function SpsCardV2Header(_g) {
|
|
|
5828
5828
|
}, rest), children);
|
|
5829
5829
|
}
|
|
5830
5830
|
Object.assign(SpsCardV2Header, {
|
|
5831
|
-
props: propsDoc$
|
|
5832
|
-
propTypes: propTypes$
|
|
5831
|
+
props: propsDoc$1B,
|
|
5832
|
+
propTypes: propTypes$1E,
|
|
5833
5833
|
displayName: "SpsCardV2Header"
|
|
5834
5834
|
});
|
|
5835
|
-
const propsDoc$
|
|
5836
|
-
const propTypes$
|
|
5835
|
+
const propsDoc$1A = {};
|
|
5836
|
+
const propTypes$1D = {};
|
|
5837
5837
|
function SpsCardV2(_i) {
|
|
5838
5838
|
var _j = _i, {
|
|
5839
5839
|
children,
|
|
@@ -5859,12 +5859,12 @@ function SpsCardV2(_i) {
|
|
|
5859
5859
|
}, bodyContent), footer);
|
|
5860
5860
|
}
|
|
5861
5861
|
Object.assign(SpsCardV2, {
|
|
5862
|
-
props: propsDoc$
|
|
5863
|
-
propTypes: propTypes$
|
|
5862
|
+
props: propsDoc$1A,
|
|
5863
|
+
propTypes: propTypes$1D,
|
|
5864
5864
|
displayName: "SpsCardV2"
|
|
5865
5865
|
});
|
|
5866
|
-
const propsDoc$
|
|
5867
|
-
const propTypes$
|
|
5866
|
+
const propsDoc$1z = {};
|
|
5867
|
+
const propTypes$1C = {};
|
|
5868
5868
|
function SpsCardV2Title(_k) {
|
|
5869
5869
|
var _l = _k, {
|
|
5870
5870
|
children,
|
|
@@ -5878,8 +5878,8 @@ function SpsCardV2Title(_k) {
|
|
|
5878
5878
|
}, rest), children);
|
|
5879
5879
|
}
|
|
5880
5880
|
Object.assign(SpsCardV2Title, {
|
|
5881
|
-
props: propsDoc$
|
|
5882
|
-
propTypes: propTypes$
|
|
5881
|
+
props: propsDoc$1z,
|
|
5882
|
+
propTypes: propTypes$1C,
|
|
5883
5883
|
displayName: "SpsCardV2Title"
|
|
5884
5884
|
});
|
|
5885
5885
|
const SpsCardExamples = {
|
|
@@ -6187,7 +6187,7 @@ const SpsCardExamples = {
|
|
|
6187
6187
|
}
|
|
6188
6188
|
}
|
|
6189
6189
|
};
|
|
6190
|
-
const propsDoc$
|
|
6190
|
+
const propsDoc$1y = {
|
|
6191
6191
|
checked: "boolean",
|
|
6192
6192
|
disabled: "boolean",
|
|
6193
6193
|
formMeta: "SpsFormFieldMeta<boolean>",
|
|
@@ -6196,14 +6196,14 @@ const propsDoc$1x = {
|
|
|
6196
6196
|
label: "string",
|
|
6197
6197
|
onChange: "ChangeEventHandler"
|
|
6198
6198
|
};
|
|
6199
|
-
const propTypes$
|
|
6200
|
-
checked: propTypes$
|
|
6201
|
-
disabled: propTypes$
|
|
6199
|
+
const propTypes$1B = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
6200
|
+
checked: propTypes$1O.exports.bool,
|
|
6201
|
+
disabled: propTypes$1O.exports.bool,
|
|
6202
6202
|
formControl: impl(),
|
|
6203
6203
|
formMeta: impl(),
|
|
6204
|
-
indeterminate: propTypes$
|
|
6205
|
-
inline: propTypes$
|
|
6206
|
-
label: propTypes$
|
|
6204
|
+
indeterminate: propTypes$1O.exports.bool,
|
|
6205
|
+
inline: propTypes$1O.exports.bool,
|
|
6206
|
+
label: propTypes$1O.exports.string,
|
|
6207
6207
|
onChange: fun()
|
|
6208
6208
|
});
|
|
6209
6209
|
function SpsCheckbox(_m) {
|
|
@@ -6279,8 +6279,8 @@ function SpsCheckbox(_m) {
|
|
|
6279
6279
|
}, label || ""));
|
|
6280
6280
|
}
|
|
6281
6281
|
Object.assign(SpsCheckbox, {
|
|
6282
|
-
props: propsDoc$
|
|
6283
|
-
propTypes: propTypes$
|
|
6282
|
+
props: propsDoc$1y,
|
|
6283
|
+
propTypes: propTypes$1B,
|
|
6284
6284
|
displayName: "SpsCheckbox"
|
|
6285
6285
|
});
|
|
6286
6286
|
const SpsCheckboxExamples = {
|
|
@@ -6408,16 +6408,16 @@ const SpsCheckboxExamples = {
|
|
|
6408
6408
|
}
|
|
6409
6409
|
}
|
|
6410
6410
|
};
|
|
6411
|
-
const propsDoc$
|
|
6411
|
+
const propsDoc$1x = {
|
|
6412
6412
|
disabled: "boolean",
|
|
6413
6413
|
href: "string",
|
|
6414
6414
|
kind: "ClickableTagKind",
|
|
6415
6415
|
onAdd: "() => void",
|
|
6416
6416
|
onRemove: "() => void"
|
|
6417
6417
|
};
|
|
6418
|
-
const propTypes$
|
|
6419
|
-
disabled: propTypes$
|
|
6420
|
-
href: propTypes$
|
|
6418
|
+
const propTypes$1A = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
6419
|
+
disabled: propTypes$1O.exports.bool,
|
|
6420
|
+
href: propTypes$1O.exports.string,
|
|
6421
6421
|
kind: enumValue(ClickableTagKind),
|
|
6422
6422
|
onAdd: fun(),
|
|
6423
6423
|
onRemove: fun()
|
|
@@ -6488,8 +6488,8 @@ function SpsClickableTag(props2) {
|
|
|
6488
6488
|
})));
|
|
6489
6489
|
}
|
|
6490
6490
|
Object.assign(SpsClickableTag, {
|
|
6491
|
-
props: propsDoc$
|
|
6492
|
-
propTypes: propTypes$
|
|
6491
|
+
props: propsDoc$1x,
|
|
6492
|
+
propTypes: propTypes$1A,
|
|
6493
6493
|
displayName: "SpsClickableTag"
|
|
6494
6494
|
});
|
|
6495
6495
|
const SpsClickableTagExamples = {
|
|
@@ -14717,15 +14717,15 @@ var ConnectedDraggable = connect(makeMapStateToProps$1, mapDispatchToProps$1, nu
|
|
|
14717
14717
|
areStatePropsEqual: isStrictEqual
|
|
14718
14718
|
})(Draggable);
|
|
14719
14719
|
ConnectedDraggable.defaultProps = defaultProps$1;
|
|
14720
|
-
const propsDoc$
|
|
14720
|
+
const propsDoc$1w = {
|
|
14721
14721
|
content: "ReactNodeLike",
|
|
14722
14722
|
icon: "SpsIcon",
|
|
14723
14723
|
title: "string"
|
|
14724
14724
|
};
|
|
14725
|
-
const propTypes$
|
|
14726
|
-
content: propTypes$
|
|
14725
|
+
const propTypes$1z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14726
|
+
content: propTypes$1O.exports.node,
|
|
14727
14727
|
icon: enumValue(SpsIcon),
|
|
14728
|
-
title: propTypes$
|
|
14728
|
+
title: propTypes$1O.exports.string
|
|
14729
14729
|
});
|
|
14730
14730
|
function SpsCardHeader(props2) {
|
|
14731
14731
|
const _a = props2, {
|
|
@@ -14757,15 +14757,15 @@ function SpsCardHeader(props2) {
|
|
|
14757
14757
|
}, content));
|
|
14758
14758
|
}
|
|
14759
14759
|
Object.assign(SpsCardHeader, {
|
|
14760
|
-
props: propsDoc$
|
|
14761
|
-
propTypes: propTypes$
|
|
14760
|
+
props: propsDoc$1w,
|
|
14761
|
+
propTypes: propTypes$1z,
|
|
14762
14762
|
displayName: "SpsCardHeader"
|
|
14763
14763
|
});
|
|
14764
|
-
const propsDoc$
|
|
14764
|
+
const propsDoc$1v = {
|
|
14765
14765
|
icon: "SpsIcon",
|
|
14766
14766
|
kind: "TagKind"
|
|
14767
14767
|
};
|
|
14768
|
-
const propTypes$
|
|
14768
|
+
const propTypes$1y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14769
14769
|
icon: enumValue(SpsIcon),
|
|
14770
14770
|
kind: enumValue(TagKind)
|
|
14771
14771
|
});
|
|
@@ -14798,11 +14798,11 @@ function SpsTag(props2) {
|
|
|
14798
14798
|
}), children);
|
|
14799
14799
|
}
|
|
14800
14800
|
Object.assign(SpsTag, {
|
|
14801
|
-
props: propsDoc$
|
|
14802
|
-
propTypes: propTypes$
|
|
14801
|
+
props: propsDoc$1v,
|
|
14802
|
+
propTypes: propTypes$1y,
|
|
14803
14803
|
displayName: "SpsTag"
|
|
14804
14804
|
});
|
|
14805
|
-
const propsDoc$
|
|
14805
|
+
const propsDoc$1u = {
|
|
14806
14806
|
activateTab: "Function",
|
|
14807
14807
|
active: "boolean",
|
|
14808
14808
|
icon: "SpsIcon",
|
|
@@ -14812,13 +14812,13 @@ const propsDoc$1t = {
|
|
|
14812
14812
|
tagKind: "TagKind",
|
|
14813
14813
|
tagIcon: "SpsIcon"
|
|
14814
14814
|
};
|
|
14815
|
-
const propTypes$
|
|
14816
|
-
activateTab: propTypes$
|
|
14817
|
-
active: propTypes$
|
|
14815
|
+
const propTypes$1x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14816
|
+
activateTab: propTypes$1O.exports.func,
|
|
14817
|
+
active: propTypes$1O.exports.bool,
|
|
14818
14818
|
icon: enumValue(SpsIcon),
|
|
14819
|
-
label: propTypes$
|
|
14820
|
-
index: propTypes$
|
|
14821
|
-
tag: propTypes$
|
|
14819
|
+
label: propTypes$1O.exports.string,
|
|
14820
|
+
index: propTypes$1O.exports.number,
|
|
14821
|
+
tag: propTypes$1O.exports.string,
|
|
14822
14822
|
tagKind: enumValue(TagKind),
|
|
14823
14823
|
tagIcon: enumValue(SpsIcon)
|
|
14824
14824
|
});
|
|
@@ -14881,8 +14881,8 @@ function SpsCardTabbedPane(props2) {
|
|
|
14881
14881
|
}, tag));
|
|
14882
14882
|
}
|
|
14883
14883
|
Object.assign(SpsCardTabbedPane, {
|
|
14884
|
-
props: propsDoc$
|
|
14885
|
-
propTypes: propTypes$
|
|
14884
|
+
props: propsDoc$1u,
|
|
14885
|
+
propTypes: propTypes$1x,
|
|
14886
14886
|
displayName: "SpsCardTabbedPane"
|
|
14887
14887
|
});
|
|
14888
14888
|
function useTab(children, activeTab, isTabbedCard) {
|
|
@@ -14924,19 +14924,19 @@ function useTab(children, activeTab, isTabbedCard) {
|
|
|
14924
14924
|
}, [activeTab, children]);
|
|
14925
14925
|
return [currentlyActiveTab, activateTab];
|
|
14926
14926
|
}
|
|
14927
|
-
const propsDoc$
|
|
14927
|
+
const propsDoc$1t = {
|
|
14928
14928
|
activeTab: "string",
|
|
14929
14929
|
footer: "ReactNodeOrRenderFn",
|
|
14930
14930
|
headerContent: "ReactNodeOrRenderFn",
|
|
14931
14931
|
headerIcon: "SpsIcon",
|
|
14932
14932
|
headerTitle: "string"
|
|
14933
14933
|
};
|
|
14934
|
-
const propTypes$
|
|
14935
|
-
activeTab: propTypes$
|
|
14934
|
+
const propTypes$1w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14935
|
+
activeTab: propTypes$1O.exports.string,
|
|
14936
14936
|
footer: nodeOrRenderFn,
|
|
14937
14937
|
headerContent: nodeOrRenderFn,
|
|
14938
14938
|
headerIcon: enumValue(SpsIcon),
|
|
14939
|
-
headerTitle: propTypes$
|
|
14939
|
+
headerTitle: propTypes$1O.exports.string
|
|
14940
14940
|
});
|
|
14941
14941
|
function SpsCard(props2) {
|
|
14942
14942
|
React.useEffect(() => {
|
|
@@ -15003,11 +15003,11 @@ function SpsCard(props2) {
|
|
|
15003
15003
|
}, contentOf(footer)));
|
|
15004
15004
|
}
|
|
15005
15005
|
Object.assign(SpsCard, {
|
|
15006
|
-
props: propsDoc$
|
|
15007
|
-
propTypes: propTypes$
|
|
15006
|
+
props: propsDoc$1t,
|
|
15007
|
+
propTypes: propTypes$1w,
|
|
15008
15008
|
displayName: "SpsCard"
|
|
15009
15009
|
});
|
|
15010
|
-
const propsDoc$
|
|
15010
|
+
const propsDoc$1s = {
|
|
15011
15011
|
index: "number",
|
|
15012
15012
|
key: "string",
|
|
15013
15013
|
columnId: "string",
|
|
@@ -15016,14 +15016,14 @@ const propsDoc$1r = {
|
|
|
15016
15016
|
onDelete: "(columnValue: string) => void",
|
|
15017
15017
|
mandatory: "boolean"
|
|
15018
15018
|
};
|
|
15019
|
-
const propTypes$
|
|
15020
|
-
index: propTypes$
|
|
15021
|
-
key: propTypes$
|
|
15022
|
-
columnId: propTypes$
|
|
15023
|
-
name: propTypes$
|
|
15024
|
-
value: propTypes$
|
|
15019
|
+
const propTypes$1v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15020
|
+
index: propTypes$1O.exports.number,
|
|
15021
|
+
key: propTypes$1O.exports.string,
|
|
15022
|
+
columnId: propTypes$1O.exports.string,
|
|
15023
|
+
name: propTypes$1O.exports.string,
|
|
15024
|
+
value: propTypes$1O.exports.string,
|
|
15025
15025
|
onDelete: fun(),
|
|
15026
|
-
mandatory: propTypes$
|
|
15026
|
+
mandatory: propTypes$1O.exports.bool
|
|
15027
15027
|
});
|
|
15028
15028
|
function SpsColumnChooserColumn(props2) {
|
|
15029
15029
|
const _a = props2, {
|
|
@@ -15079,20 +15079,20 @@ function SpsColumnChooserColumn(props2) {
|
|
|
15079
15079
|
})))));
|
|
15080
15080
|
}
|
|
15081
15081
|
Object.assign(SpsColumnChooserColumn, {
|
|
15082
|
-
props: propsDoc$
|
|
15083
|
-
propTypes: propTypes$
|
|
15082
|
+
props: propsDoc$1s,
|
|
15083
|
+
propTypes: propTypes$1v,
|
|
15084
15084
|
displayName: "SpsColumnChooserColumn"
|
|
15085
15085
|
});
|
|
15086
|
-
const propsDoc$
|
|
15086
|
+
const propsDoc$1r = {
|
|
15087
15087
|
maxSelectedColumns: "number",
|
|
15088
15088
|
unselectedColumns: "ColumnProps[]",
|
|
15089
15089
|
selectedColumns: "ColumnProps[]",
|
|
15090
15090
|
onApplyChanges: "(selectedColumns: ColumnProps[]) => void"
|
|
15091
15091
|
};
|
|
15092
|
-
const propTypes$
|
|
15093
|
-
maxSelectedColumns: propTypes$
|
|
15094
|
-
unselectedColumns: propTypes$
|
|
15095
|
-
selectedColumns: propTypes$
|
|
15092
|
+
const propTypes$1u = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15093
|
+
maxSelectedColumns: propTypes$1O.exports.number,
|
|
15094
|
+
unselectedColumns: propTypes$1O.exports.array,
|
|
15095
|
+
selectedColumns: propTypes$1O.exports.array,
|
|
15096
15096
|
onApplyChanges: fun()
|
|
15097
15097
|
});
|
|
15098
15098
|
function SpsColumnChooser(props2) {
|
|
@@ -15232,8 +15232,8 @@ function SpsColumnChooser(props2) {
|
|
|
15232
15232
|
})), provided.placeholder)))));
|
|
15233
15233
|
}
|
|
15234
15234
|
Object.assign(SpsColumnChooser, {
|
|
15235
|
-
props: propsDoc$
|
|
15236
|
-
propTypes: propTypes$
|
|
15235
|
+
props: propsDoc$1r,
|
|
15236
|
+
propTypes: propTypes$1u,
|
|
15237
15237
|
displayName: "SpsColumnChooser"
|
|
15238
15238
|
});
|
|
15239
15239
|
const SpsColumnChooserExamples = {
|
|
@@ -15265,11 +15265,11 @@ const SpsColumnChooserExamples = {
|
|
|
15265
15265
|
}
|
|
15266
15266
|
}
|
|
15267
15267
|
};
|
|
15268
|
-
const propsDoc$
|
|
15268
|
+
const propsDoc$1q = {
|
|
15269
15269
|
icon: { type: "SpsIcon", required: true },
|
|
15270
15270
|
size: "SpsIconSize"
|
|
15271
15271
|
};
|
|
15272
|
-
const propTypes$
|
|
15272
|
+
const propTypes$1t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15273
15273
|
icon: enumValue(SpsIcon).isRequired,
|
|
15274
15274
|
size: enumValue(SpsIconSize)
|
|
15275
15275
|
});
|
|
@@ -15295,28 +15295,28 @@ function SpsI(props2) {
|
|
|
15295
15295
|
}, rest));
|
|
15296
15296
|
}
|
|
15297
15297
|
Object.assign(SpsI, {
|
|
15298
|
-
props: propsDoc$
|
|
15299
|
-
propTypes: propTypes$
|
|
15298
|
+
props: propsDoc$1q,
|
|
15299
|
+
propTypes: propTypes$1t,
|
|
15300
15300
|
displayName: "SpsI"
|
|
15301
15301
|
});
|
|
15302
15302
|
Object.assign(SpsI, {
|
|
15303
|
-
props: propsDoc$
|
|
15304
|
-
propTypes: propTypes$
|
|
15303
|
+
props: propsDoc$1q,
|
|
15304
|
+
propTypes: propTypes$1t,
|
|
15305
15305
|
displayName: "SpsI"
|
|
15306
15306
|
});
|
|
15307
|
-
const propsDoc$
|
|
15307
|
+
const propsDoc$1p = {
|
|
15308
15308
|
borderless: "boolean",
|
|
15309
15309
|
lean: "boolean",
|
|
15310
15310
|
leaner: { type: "boolean", deprecated: true },
|
|
15311
15311
|
widthPx: "number",
|
|
15312
15312
|
widthRem: "number"
|
|
15313
15313
|
};
|
|
15314
|
-
const propTypes$
|
|
15315
|
-
borderless: propTypes$
|
|
15316
|
-
lean: propTypes$
|
|
15317
|
-
leaner: propTypes$
|
|
15318
|
-
widthPx: propTypes$
|
|
15319
|
-
widthRem: propTypes$
|
|
15314
|
+
const propTypes$1s = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15315
|
+
borderless: propTypes$1O.exports.bool,
|
|
15316
|
+
lean: propTypes$1O.exports.bool,
|
|
15317
|
+
leaner: propTypes$1O.exports.bool,
|
|
15318
|
+
widthPx: propTypes$1O.exports.number,
|
|
15319
|
+
widthRem: propTypes$1O.exports.number
|
|
15320
15320
|
});
|
|
15321
15321
|
function SpsContentRowCol(props2) {
|
|
15322
15322
|
const _a = props2, {
|
|
@@ -15361,12 +15361,12 @@ function SpsContentRowCol(props2) {
|
|
|
15361
15361
|
}), children);
|
|
15362
15362
|
}
|
|
15363
15363
|
Object.assign(SpsContentRowCol, {
|
|
15364
|
-
props: propsDoc$
|
|
15365
|
-
propTypes: propTypes$
|
|
15364
|
+
props: propsDoc$1p,
|
|
15365
|
+
propTypes: propTypes$1s,
|
|
15366
15366
|
displayName: "SpsContentRowCol"
|
|
15367
15367
|
});
|
|
15368
|
-
const propsDoc$
|
|
15369
|
-
const propTypes$
|
|
15368
|
+
const propsDoc$1o = {};
|
|
15369
|
+
const propTypes$1r = __spreadValues({}, spsGlobalPropTypes);
|
|
15370
15370
|
function SpsContentRowExpansion(props2) {
|
|
15371
15371
|
const _a = props2, {
|
|
15372
15372
|
children,
|
|
@@ -15387,11 +15387,11 @@ function SpsContentRowExpansion(props2) {
|
|
|
15387
15387
|
}), children);
|
|
15388
15388
|
}
|
|
15389
15389
|
Object.assign(SpsContentRowExpansion, {
|
|
15390
|
-
props: propsDoc$
|
|
15391
|
-
propTypes: propTypes$
|
|
15390
|
+
props: propsDoc$1o,
|
|
15391
|
+
propTypes: propTypes$1r,
|
|
15392
15392
|
displayName: "SpsContentRowExpansion"
|
|
15393
15393
|
});
|
|
15394
|
-
const propsDoc$
|
|
15394
|
+
const propsDoc$1n = {
|
|
15395
15395
|
alternateLayout: "boolean",
|
|
15396
15396
|
initiallyExpanded: "boolean",
|
|
15397
15397
|
cardSpacing: "boolean",
|
|
@@ -15404,18 +15404,18 @@ const propsDoc$1m = {
|
|
|
15404
15404
|
selectable: "boolean",
|
|
15405
15405
|
selected: "boolean"
|
|
15406
15406
|
};
|
|
15407
|
-
const propTypes$
|
|
15408
|
-
alternateLayout: propTypes$
|
|
15409
|
-
cardSpacing: propTypes$
|
|
15410
|
-
expanded: propTypes$
|
|
15411
|
-
initiallyExpanded: propTypes$
|
|
15407
|
+
const propTypes$1q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15408
|
+
alternateLayout: propTypes$1O.exports.bool,
|
|
15409
|
+
cardSpacing: propTypes$1O.exports.bool,
|
|
15410
|
+
expanded: propTypes$1O.exports.bool,
|
|
15411
|
+
initiallyExpanded: propTypes$1O.exports.bool,
|
|
15412
15412
|
onBeforeCollapsed: fun(),
|
|
15413
15413
|
onBeforeExpanded: fun(),
|
|
15414
15414
|
onSelectionChange: fun(),
|
|
15415
15415
|
onCollapsed: fun(),
|
|
15416
15416
|
onExpanded: fun(),
|
|
15417
|
-
selectable: propTypes$
|
|
15418
|
-
selected: propTypes$
|
|
15417
|
+
selectable: propTypes$1O.exports.bool,
|
|
15418
|
+
selected: propTypes$1O.exports.bool
|
|
15419
15419
|
});
|
|
15420
15420
|
function SpsContentRow(props2) {
|
|
15421
15421
|
const _a = props2, {
|
|
@@ -15496,8 +15496,8 @@ function SpsContentRow(props2) {
|
|
|
15496
15496
|
}, /* @__PURE__ */ React.createElement("section", null, ContentRowCheckBox()), /* @__PURE__ */ React.createElement("section", null, ExpandoThingy())), columns), expansion);
|
|
15497
15497
|
}
|
|
15498
15498
|
Object.assign(SpsContentRow, {
|
|
15499
|
-
props: propsDoc$
|
|
15500
|
-
propTypes: propTypes$
|
|
15499
|
+
props: propsDoc$1n,
|
|
15500
|
+
propTypes: propTypes$1q,
|
|
15501
15501
|
displayName: "SpsContentRow"
|
|
15502
15502
|
});
|
|
15503
15503
|
const SpsContentRowExamples = {
|
|
@@ -15966,7 +15966,7 @@ function parse2(value) {
|
|
|
15966
15966
|
function weekOfMonth$1(date2) {
|
|
15967
15967
|
return Math.floor((date2.clone().date(1).day() + date2.date() - 1) / 7);
|
|
15968
15968
|
}
|
|
15969
|
-
const propsDoc$
|
|
15969
|
+
const propsDoc$1m = {
|
|
15970
15970
|
disabled: "boolean",
|
|
15971
15971
|
format: "string",
|
|
15972
15972
|
maxDate: "string",
|
|
@@ -15976,15 +15976,15 @@ const propsDoc$1l = {
|
|
|
15976
15976
|
placeholder: "string",
|
|
15977
15977
|
value: "string"
|
|
15978
15978
|
};
|
|
15979
|
-
const propTypes$
|
|
15980
|
-
disabled: propTypes$
|
|
15981
|
-
format: propTypes$
|
|
15982
|
-
maxDate: propTypes$
|
|
15983
|
-
minDate: propTypes$
|
|
15979
|
+
const propTypes$1p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15980
|
+
disabled: propTypes$1O.exports.bool,
|
|
15981
|
+
format: propTypes$1O.exports.string,
|
|
15982
|
+
maxDate: propTypes$1O.exports.string,
|
|
15983
|
+
minDate: propTypes$1O.exports.string,
|
|
15984
15984
|
onChange: fun(),
|
|
15985
15985
|
onClickOutside: fun(),
|
|
15986
|
-
placeholder: propTypes$
|
|
15987
|
-
value: propTypes$
|
|
15986
|
+
placeholder: propTypes$1O.exports.string,
|
|
15987
|
+
value: propTypes$1O.exports.string
|
|
15988
15988
|
});
|
|
15989
15989
|
function SpsDatepicker(props2) {
|
|
15990
15990
|
const _a = props2, {
|
|
@@ -16347,8 +16347,8 @@ function SpsDatepicker(props2) {
|
|
|
16347
16347
|
}))));
|
|
16348
16348
|
}
|
|
16349
16349
|
Object.assign(SpsDatepicker, {
|
|
16350
|
-
props: propsDoc$
|
|
16351
|
-
propTypes: propTypes$
|
|
16350
|
+
props: propsDoc$1m,
|
|
16351
|
+
propTypes: propTypes$1p,
|
|
16352
16352
|
displayName: "SpsDatepicker"
|
|
16353
16353
|
});
|
|
16354
16354
|
const SpsDatepickerExamples = {
|
|
@@ -16443,7 +16443,7 @@ const SpsDatepickerExamples = {
|
|
|
16443
16443
|
}
|
|
16444
16444
|
}
|
|
16445
16445
|
};
|
|
16446
|
-
const propsDoc$
|
|
16446
|
+
const propsDoc$1l = {
|
|
16447
16447
|
placeholder: "string",
|
|
16448
16448
|
disabled: "boolean",
|
|
16449
16449
|
format: "string",
|
|
@@ -16454,13 +16454,13 @@ const propsDoc$1k = {
|
|
|
16454
16454
|
value: "MomentRange",
|
|
16455
16455
|
preset: "Duration"
|
|
16456
16456
|
};
|
|
16457
|
-
const propTypes$
|
|
16458
|
-
placeholder: propTypes$
|
|
16459
|
-
disabled: propTypes$
|
|
16460
|
-
format: propTypes$
|
|
16461
|
-
minDate: propTypes$
|
|
16462
|
-
maxDate: propTypes$
|
|
16463
|
-
availablePresets: propTypes$
|
|
16457
|
+
const propTypes$1o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
16458
|
+
placeholder: propTypes$1O.exports.string,
|
|
16459
|
+
disabled: propTypes$1O.exports.bool,
|
|
16460
|
+
format: propTypes$1O.exports.string,
|
|
16461
|
+
minDate: propTypes$1O.exports.string,
|
|
16462
|
+
maxDate: propTypes$1O.exports.string,
|
|
16463
|
+
availablePresets: propTypes$1O.exports.array,
|
|
16464
16464
|
onChange: fun(),
|
|
16465
16465
|
value: impl(),
|
|
16466
16466
|
preset: impl()
|
|
@@ -17108,8 +17108,8 @@ function SpsDateRangePicker(props2) {
|
|
|
17108
17108
|
}) : "")));
|
|
17109
17109
|
}
|
|
17110
17110
|
Object.assign(SpsDateRangePicker, {
|
|
17111
|
-
props: propsDoc$
|
|
17112
|
-
propTypes: propTypes$
|
|
17111
|
+
props: propsDoc$1l,
|
|
17112
|
+
propTypes: propTypes$1o,
|
|
17113
17113
|
displayName: "SpsDateRangePicker"
|
|
17114
17114
|
});
|
|
17115
17115
|
const SpsDateRangePickerExamples = {
|
|
@@ -21712,7 +21712,7 @@ const formatMaps = {
|
|
|
21712
21712
|
LONG_FULLDATETIME: "LLLL",
|
|
21713
21713
|
LONG_FULLDATETIME_ZONE: "LLLL z"
|
|
21714
21714
|
};
|
|
21715
|
-
const propsDoc$
|
|
21715
|
+
const propsDoc$1k = {
|
|
21716
21716
|
currentUser: "any",
|
|
21717
21717
|
dateToFormat: "string | Date",
|
|
21718
21718
|
format: "string",
|
|
@@ -21721,17 +21721,17 @@ const propsDoc$1j = {
|
|
|
21721
21721
|
relativeHrs: "number",
|
|
21722
21722
|
tz: "string"
|
|
21723
21723
|
};
|
|
21724
|
-
const propTypes$
|
|
21725
|
-
currentUser: propTypes$
|
|
21726
|
-
dateToFormat: propTypes$
|
|
21727
|
-
propTypes$
|
|
21728
|
-
propTypes$
|
|
21724
|
+
const propTypes$1n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21725
|
+
currentUser: propTypes$1O.exports.any,
|
|
21726
|
+
dateToFormat: propTypes$1O.exports.oneOfType([
|
|
21727
|
+
propTypes$1O.exports.string,
|
|
21728
|
+
propTypes$1O.exports.instanceOf(Date)
|
|
21729
21729
|
]),
|
|
21730
|
-
format: propTypes$
|
|
21731
|
-
locale: propTypes$
|
|
21732
|
-
relative: propTypes$
|
|
21733
|
-
relativeHrs: propTypes$
|
|
21734
|
-
tz: propTypes$
|
|
21730
|
+
format: propTypes$1O.exports.string,
|
|
21731
|
+
locale: propTypes$1O.exports.string,
|
|
21732
|
+
relative: propTypes$1O.exports.bool,
|
|
21733
|
+
relativeHrs: propTypes$1O.exports.number,
|
|
21734
|
+
tz: propTypes$1O.exports.string
|
|
21735
21735
|
});
|
|
21736
21736
|
function showRelative(dateToCheck, relative, relativeHrs) {
|
|
21737
21737
|
if (!relativeHrs && !relative) {
|
|
@@ -21807,8 +21807,8 @@ function SpsDateTime(props2) {
|
|
|
21807
21807
|
}));
|
|
21808
21808
|
}
|
|
21809
21809
|
Object.assign(SpsDateTime, {
|
|
21810
|
-
props: propsDoc$
|
|
21811
|
-
propTypes: propTypes$
|
|
21810
|
+
props: propsDoc$1k,
|
|
21811
|
+
propTypes: propTypes$1n,
|
|
21812
21812
|
displayName: "SpsDateTime"
|
|
21813
21813
|
});
|
|
21814
21814
|
const SpsDatetimeExamples = {
|
|
@@ -21829,15 +21829,15 @@ const SpsDatetimeExamples = {
|
|
|
21829
21829
|
}
|
|
21830
21830
|
}
|
|
21831
21831
|
};
|
|
21832
|
-
const propsDoc$
|
|
21832
|
+
const propsDoc$1j = {
|
|
21833
21833
|
compact: "boolean",
|
|
21834
21834
|
wideTerms: "boolean",
|
|
21835
21835
|
widerTerms: "boolean"
|
|
21836
21836
|
};
|
|
21837
|
-
const propTypes$
|
|
21838
|
-
compact: propTypes$
|
|
21839
|
-
wideTerms: propTypes$
|
|
21840
|
-
widerTerms: propTypes$
|
|
21837
|
+
const propTypes$1m = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21838
|
+
compact: propTypes$1O.exports.bool,
|
|
21839
|
+
wideTerms: propTypes$1O.exports.bool,
|
|
21840
|
+
widerTerms: propTypes$1O.exports.bool
|
|
21841
21841
|
});
|
|
21842
21842
|
function SpsDescriptionList(props2) {
|
|
21843
21843
|
const _a = props2, {
|
|
@@ -21877,20 +21877,20 @@ function SpsDescriptionList(props2) {
|
|
|
21877
21877
|
}, rest), childrenWithProps);
|
|
21878
21878
|
}
|
|
21879
21879
|
Object.assign(SpsDescriptionList, {
|
|
21880
|
-
props: propsDoc$
|
|
21881
|
-
propTypes: propTypes$
|
|
21880
|
+
props: propsDoc$1j,
|
|
21881
|
+
propTypes: propTypes$1m,
|
|
21882
21882
|
displayName: "SpsDescriptionList / SpsDl"
|
|
21883
21883
|
});
|
|
21884
21884
|
function SpsDl(p2) {
|
|
21885
21885
|
return SpsDescriptionList(p2);
|
|
21886
21886
|
}
|
|
21887
21887
|
Object.assign(SpsDl, {
|
|
21888
|
-
props: propsDoc$
|
|
21889
|
-
propTypes: propTypes$
|
|
21888
|
+
props: propsDoc$1j,
|
|
21889
|
+
propTypes: propTypes$1m,
|
|
21890
21890
|
displayName: "SpsDescriptionList / SpsDl"
|
|
21891
21891
|
});
|
|
21892
|
-
const propsDoc$
|
|
21893
|
-
const propTypes$
|
|
21892
|
+
const propsDoc$1i = {};
|
|
21893
|
+
const propTypes$1l = __spreadValues({}, spsGlobalPropTypes);
|
|
21894
21894
|
function SpsDescriptionListDefinition(props2) {
|
|
21895
21895
|
const _a = props2, {
|
|
21896
21896
|
children,
|
|
@@ -21910,16 +21910,16 @@ function SpsDescriptionListDefinition(props2) {
|
|
|
21910
21910
|
}, rest), children);
|
|
21911
21911
|
}
|
|
21912
21912
|
Object.assign(SpsDescriptionListDefinition, {
|
|
21913
|
-
props: propsDoc$
|
|
21914
|
-
propTypes: propTypes$
|
|
21913
|
+
props: propsDoc$1i,
|
|
21914
|
+
propTypes: propTypes$1l,
|
|
21915
21915
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
21916
21916
|
});
|
|
21917
21917
|
function SpsDd(p2) {
|
|
21918
21918
|
return SpsDescriptionListDefinition(p2);
|
|
21919
21919
|
}
|
|
21920
21920
|
Object.assign(SpsDd, {
|
|
21921
|
-
props: propsDoc$
|
|
21922
|
-
propTypes: propTypes$
|
|
21921
|
+
props: propsDoc$1i,
|
|
21922
|
+
propTypes: propTypes$1l,
|
|
21923
21923
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
21924
21924
|
});
|
|
21925
21925
|
var TooltipVisibility;
|
|
@@ -21934,7 +21934,7 @@ function toggleTooltipState(state) {
|
|
|
21934
21934
|
}
|
|
21935
21935
|
const CARET_SPACING_PX = 13;
|
|
21936
21936
|
const openTips = new Map();
|
|
21937
|
-
const propsDoc$
|
|
21937
|
+
const propsDoc$1h = {
|
|
21938
21938
|
for: { type: "React.MutableRefObject<any> | string", required: true },
|
|
21939
21939
|
hideDelay: "number",
|
|
21940
21940
|
isShown: "TooltipVisibility",
|
|
@@ -21946,17 +21946,17 @@ const propsDoc$1g = {
|
|
|
21946
21946
|
showOn: "TooltipShowTrigger",
|
|
21947
21947
|
title: "string | ReactNode"
|
|
21948
21948
|
};
|
|
21949
|
-
const propTypes$
|
|
21950
|
-
for: propTypes$
|
|
21951
|
-
hideDelay: propTypes$
|
|
21949
|
+
const propTypes$1k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21950
|
+
for: propTypes$1O.exports.oneOfType([ref(), propTypes$1O.exports.string]).isRequired,
|
|
21951
|
+
hideDelay: propTypes$1O.exports.number,
|
|
21952
21952
|
isShown: enumValue(TooltipVisibility),
|
|
21953
21953
|
kind: enumValue(TooltipKind),
|
|
21954
|
-
offsets: propTypes$
|
|
21954
|
+
offsets: propTypes$1O.exports.arrayOf(propTypes$1O.exports.number),
|
|
21955
21955
|
onDeferred: fun(),
|
|
21956
21956
|
position: enumValue(Position),
|
|
21957
21957
|
altPosition: enumValue(Position),
|
|
21958
21958
|
showOn: enumValue(TooltipShowTrigger),
|
|
21959
|
-
title: propTypes$
|
|
21959
|
+
title: propTypes$1O.exports.string || propTypes$1O.exports.node
|
|
21960
21960
|
});
|
|
21961
21961
|
function SpsTooltip({
|
|
21962
21962
|
children,
|
|
@@ -22160,26 +22160,26 @@ function SpsTooltip({
|
|
|
22160
22160
|
})));
|
|
22161
22161
|
}
|
|
22162
22162
|
Object.assign(SpsTooltip, {
|
|
22163
|
-
props: propsDoc$
|
|
22164
|
-
propTypes: propTypes$
|
|
22163
|
+
props: propsDoc$1h,
|
|
22164
|
+
propTypes: propTypes$1k,
|
|
22165
22165
|
displayName: "SpsTooltip"
|
|
22166
22166
|
});
|
|
22167
|
-
const propsDoc$
|
|
22167
|
+
const propsDoc$1g = {
|
|
22168
22168
|
error: "boolean",
|
|
22169
22169
|
errors: "ReactNodeOrRenderFn",
|
|
22170
22170
|
help: "ReactNodeOrRenderFn",
|
|
22171
22171
|
labelFor: "SpsFormFieldMeta<any>",
|
|
22172
22172
|
required: "boolean"
|
|
22173
22173
|
};
|
|
22174
|
-
const propTypes$
|
|
22175
|
-
error: propTypes$
|
|
22174
|
+
const propTypes$1j = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22175
|
+
error: propTypes$1O.exports.bool,
|
|
22176
22176
|
errors: nodeOrRenderFn,
|
|
22177
22177
|
help: nodeOrRenderFn,
|
|
22178
|
-
labelFor: propTypes$
|
|
22178
|
+
labelFor: propTypes$1O.exports.oneOfType([
|
|
22179
22179
|
impl(),
|
|
22180
22180
|
impl()
|
|
22181
22181
|
]),
|
|
22182
|
-
required: propTypes$
|
|
22182
|
+
required: propTypes$1O.exports.bool
|
|
22183
22183
|
});
|
|
22184
22184
|
function SpsDescriptionListTerm(props2) {
|
|
22185
22185
|
const _a = props2, {
|
|
@@ -22235,16 +22235,16 @@ function SpsDescriptionListTerm(props2) {
|
|
|
22235
22235
|
}, contentOf(tipKind === TooltipKind.ERROR ? errors : help)));
|
|
22236
22236
|
}
|
|
22237
22237
|
Object.assign(SpsDescriptionListTerm, {
|
|
22238
|
-
props: propsDoc$
|
|
22239
|
-
propTypes: propTypes$
|
|
22238
|
+
props: propsDoc$1g,
|
|
22239
|
+
propTypes: propTypes$1j,
|
|
22240
22240
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
22241
22241
|
});
|
|
22242
22242
|
function SpsDt(p2) {
|
|
22243
22243
|
return SpsDescriptionListTerm(p2);
|
|
22244
22244
|
}
|
|
22245
22245
|
Object.assign(SpsDt, {
|
|
22246
|
-
props: propsDoc$
|
|
22247
|
-
propTypes: propTypes$
|
|
22246
|
+
props: propsDoc$1g,
|
|
22247
|
+
propTypes: propTypes$1j,
|
|
22248
22248
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
22249
22249
|
});
|
|
22250
22250
|
const SpsDescriptionListExamples = {
|
|
@@ -22722,19 +22722,19 @@ const SpsDropdownExamples = {
|
|
|
22722
22722
|
}
|
|
22723
22723
|
}
|
|
22724
22724
|
};
|
|
22725
|
-
const propsDoc$
|
|
22725
|
+
const propsDoc$1f = {
|
|
22726
22726
|
checked: "boolean",
|
|
22727
22727
|
onChange: "ChangeEventHandler",
|
|
22728
22728
|
indeterminate: "boolean",
|
|
22729
22729
|
disabled: "boolean",
|
|
22730
22730
|
options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
|
|
22731
22731
|
};
|
|
22732
|
-
const propTypes$
|
|
22733
|
-
checked: propTypes$
|
|
22732
|
+
const propTypes$1i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22733
|
+
checked: propTypes$1O.exports.bool,
|
|
22734
22734
|
onChange: fun(),
|
|
22735
|
-
indeterminate: propTypes$
|
|
22736
|
-
options: propTypes$
|
|
22737
|
-
disabled: propTypes$
|
|
22735
|
+
indeterminate: propTypes$1O.exports.bool,
|
|
22736
|
+
options: propTypes$1O.exports.arrayOf(propTypes$1O.exports.oneOfType([propTypes$1O.exports.func, propTypes$1O.exports.any])).isRequired,
|
|
22737
|
+
disabled: propTypes$1O.exports.bool
|
|
22738
22738
|
});
|
|
22739
22739
|
function SpsCheckboxDropdown(props2) {
|
|
22740
22740
|
const _a = props2, {
|
|
@@ -22768,14 +22768,14 @@ function SpsCheckboxDropdown(props2) {
|
|
|
22768
22768
|
}));
|
|
22769
22769
|
}
|
|
22770
22770
|
Object.assign(SpsCheckboxDropdown, {
|
|
22771
|
-
props: propsDoc$
|
|
22772
|
-
propTypes: propTypes$
|
|
22771
|
+
props: propsDoc$1f,
|
|
22772
|
+
propTypes: propTypes$1i,
|
|
22773
22773
|
displayName: "SpsCheckboxDropdown"
|
|
22774
22774
|
});
|
|
22775
|
-
const propsDoc$
|
|
22775
|
+
const propsDoc$1e = {
|
|
22776
22776
|
kind: "FeedbackBlockKind"
|
|
22777
22777
|
};
|
|
22778
|
-
const propTypes$
|
|
22778
|
+
const propTypes$1h = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22779
22779
|
kind: enumValue(FeedbackBlockKind)
|
|
22780
22780
|
});
|
|
22781
22781
|
function SpsFeedbackBlock(props2) {
|
|
@@ -22806,8 +22806,8 @@ function SpsFeedbackBlock(props2) {
|
|
|
22806
22806
|
}, children));
|
|
22807
22807
|
}
|
|
22808
22808
|
Object.assign(SpsFeedbackBlock, {
|
|
22809
|
-
props: propsDoc$
|
|
22810
|
-
propTypes: propTypes$
|
|
22809
|
+
props: propsDoc$1e,
|
|
22810
|
+
propTypes: propTypes$1h,
|
|
22811
22811
|
displayName: "SpsFeedbackBlock"
|
|
22812
22812
|
});
|
|
22813
22813
|
const SpsFeedbackBlockExamples = {
|
|
@@ -22909,7 +22909,7 @@ const SpsFeedbackBlockExamples = {
|
|
|
22909
22909
|
}
|
|
22910
22910
|
}
|
|
22911
22911
|
};
|
|
22912
|
-
const propsDoc$
|
|
22912
|
+
const propsDoc$1d = {
|
|
22913
22913
|
errors: "ReactNodeOrRenderFn",
|
|
22914
22914
|
formMeta: "SpsFormSetMeta<any>",
|
|
22915
22915
|
legend: "string",
|
|
@@ -22918,16 +22918,16 @@ const propsDoc$1c = {
|
|
|
22918
22918
|
onToggled: "(isEnabled: boolean) => void",
|
|
22919
22919
|
tooltip: "string"
|
|
22920
22920
|
};
|
|
22921
|
-
const propTypes$
|
|
22921
|
+
const propTypes$1g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22922
22922
|
errors: nodeOrRenderFn,
|
|
22923
22923
|
formArray: impl(),
|
|
22924
22924
|
formGroup: impl(),
|
|
22925
22925
|
formMeta: impl(),
|
|
22926
|
-
legend: propTypes$
|
|
22927
|
-
optional: propTypes$
|
|
22928
|
-
enabled: propTypes$
|
|
22926
|
+
legend: propTypes$1O.exports.string,
|
|
22927
|
+
optional: propTypes$1O.exports.bool,
|
|
22928
|
+
enabled: propTypes$1O.exports.bool,
|
|
22929
22929
|
onToggled: fun(),
|
|
22930
|
-
tooltip: propTypes$
|
|
22930
|
+
tooltip: propTypes$1O.exports.string
|
|
22931
22931
|
});
|
|
22932
22932
|
function SpsFieldset({
|
|
22933
22933
|
children,
|
|
@@ -23007,8 +23007,8 @@ function SpsFieldset({
|
|
|
23007
23007
|
}, contentOf(errors)), children));
|
|
23008
23008
|
}
|
|
23009
23009
|
Object.assign(SpsFieldset, {
|
|
23010
|
-
props: propsDoc$
|
|
23011
|
-
propTypes: propTypes$
|
|
23010
|
+
props: propsDoc$1d,
|
|
23011
|
+
propTypes: propTypes$1g,
|
|
23012
23012
|
displayName: "SpsFieldset"
|
|
23013
23013
|
});
|
|
23014
23014
|
const SpsFieldsetExamples = {
|
|
@@ -23294,8 +23294,8 @@ const SpsFieldsetExamples = {
|
|
|
23294
23294
|
}
|
|
23295
23295
|
}
|
|
23296
23296
|
};
|
|
23297
|
-
const propsDoc$
|
|
23298
|
-
const propTypes$
|
|
23297
|
+
const propsDoc$1c = {};
|
|
23298
|
+
const propTypes$1f = __spreadValues({}, spsGlobalPropTypes);
|
|
23299
23299
|
function SpsFocusedTaskActions(props2) {
|
|
23300
23300
|
const _a = props2, {
|
|
23301
23301
|
children,
|
|
@@ -23316,18 +23316,18 @@ function SpsFocusedTaskActions(props2) {
|
|
|
23316
23316
|
}, children)));
|
|
23317
23317
|
}
|
|
23318
23318
|
Object.assign(SpsFocusedTaskActions, {
|
|
23319
|
-
props: propsDoc$
|
|
23320
|
-
propTypes: propTypes$
|
|
23319
|
+
props: propsDoc$1c,
|
|
23320
|
+
propTypes: propTypes$1f,
|
|
23321
23321
|
displayName: "SpsFocusedTaskActions"
|
|
23322
23322
|
});
|
|
23323
|
-
const propsDoc$
|
|
23323
|
+
const propsDoc$1b = {
|
|
23324
23324
|
fullWidth: "boolean",
|
|
23325
23325
|
isOpen: "boolean",
|
|
23326
23326
|
onClose: "() => void"
|
|
23327
23327
|
};
|
|
23328
|
-
const propTypes$
|
|
23329
|
-
fullWidth: propTypes$
|
|
23330
|
-
isOpen: propTypes$
|
|
23328
|
+
const propTypes$1e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23329
|
+
fullWidth: propTypes$1O.exports.bool,
|
|
23330
|
+
isOpen: propTypes$1O.exports.bool,
|
|
23331
23331
|
onClose: fun()
|
|
23332
23332
|
});
|
|
23333
23333
|
function SpsFocusedTask(props2) {
|
|
@@ -23384,8 +23384,8 @@ function SpsFocusedTask(props2) {
|
|
|
23384
23384
|
}, isOpen && content)), actions);
|
|
23385
23385
|
}
|
|
23386
23386
|
Object.assign(SpsFocusedTask, {
|
|
23387
|
-
props: propsDoc$
|
|
23388
|
-
propTypes: propTypes$
|
|
23387
|
+
props: propsDoc$1b,
|
|
23388
|
+
propTypes: propTypes$1e,
|
|
23389
23389
|
displayName: "SpsFocusedTask"
|
|
23390
23390
|
});
|
|
23391
23391
|
const SpsFocusedTaskExamples = {
|
|
@@ -24448,19 +24448,19 @@ const SpsAddRemoveFormRowExamples = {
|
|
|
24448
24448
|
}
|
|
24449
24449
|
}
|
|
24450
24450
|
};
|
|
24451
|
-
const propsDoc$
|
|
24451
|
+
const propsDoc$1a = {
|
|
24452
24452
|
imgSrc: "string",
|
|
24453
24453
|
kind: "GrowlerKind",
|
|
24454
24454
|
onClose: "() => void",
|
|
24455
24455
|
persist: "boolean",
|
|
24456
24456
|
title: "string"
|
|
24457
24457
|
};
|
|
24458
|
-
const propTypes$
|
|
24459
|
-
imgSrc: propTypes$
|
|
24458
|
+
const propTypes$1d = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
24459
|
+
imgSrc: propTypes$1O.exports.string,
|
|
24460
24460
|
kind: enumValue(GrowlerKind),
|
|
24461
24461
|
onClose: fun(),
|
|
24462
|
-
persist: propTypes$
|
|
24463
|
-
title: propTypes$
|
|
24462
|
+
persist: propTypes$1O.exports.bool,
|
|
24463
|
+
title: propTypes$1O.exports.string
|
|
24464
24464
|
});
|
|
24465
24465
|
function SpsGrowler(props2) {
|
|
24466
24466
|
const _a = props2, {
|
|
@@ -24566,8 +24566,8 @@ function SpsGrowler(props2) {
|
|
|
24566
24566
|
})))));
|
|
24567
24567
|
}
|
|
24568
24568
|
Object.assign(SpsGrowler, {
|
|
24569
|
-
props: propsDoc$
|
|
24570
|
-
propTypes: propTypes$
|
|
24569
|
+
props: propsDoc$1a,
|
|
24570
|
+
propTypes: propTypes$1d,
|
|
24571
24571
|
displayName: "SpsGrowler"
|
|
24572
24572
|
});
|
|
24573
24573
|
const SpsGrowlerExamples = {
|
|
@@ -24942,18 +24942,18 @@ const SpsGrowlerExamples = {
|
|
|
24942
24942
|
}
|
|
24943
24943
|
}
|
|
24944
24944
|
};
|
|
24945
|
-
const propsDoc$
|
|
24945
|
+
const propsDoc$19 = {
|
|
24946
24946
|
disabled: "boolean",
|
|
24947
24947
|
min: "number",
|
|
24948
24948
|
max: "number",
|
|
24949
24949
|
step: "number",
|
|
24950
24950
|
onValueChange: "(newValue: number) => void"
|
|
24951
24951
|
};
|
|
24952
|
-
const propTypes$
|
|
24953
|
-
disabled: propTypes$
|
|
24954
|
-
min: propTypes$
|
|
24955
|
-
max: propTypes$
|
|
24956
|
-
step: propTypes$
|
|
24952
|
+
const propTypes$1c = __spreadValues({
|
|
24953
|
+
disabled: propTypes$1O.exports.bool,
|
|
24954
|
+
min: propTypes$1O.exports.number,
|
|
24955
|
+
max: propTypes$1O.exports.number,
|
|
24956
|
+
step: propTypes$1O.exports.number,
|
|
24957
24957
|
onValueChange: fun()
|
|
24958
24958
|
}, spsGlobalPropTypes);
|
|
24959
24959
|
function SpsIncrementor(props2) {
|
|
@@ -25056,8 +25056,8 @@ function SpsIncrementor(props2) {
|
|
|
25056
25056
|
}))));
|
|
25057
25057
|
}
|
|
25058
25058
|
Object.assign(SpsIncrementor, {
|
|
25059
|
-
props: propsDoc$
|
|
25060
|
-
propTypes: propTypes$
|
|
25059
|
+
props: propsDoc$19,
|
|
25060
|
+
propTypes: propTypes$1c,
|
|
25061
25061
|
displayName: "SpsIncrementor"
|
|
25062
25062
|
});
|
|
25063
25063
|
const SpsIncrementorExamples = {
|
|
@@ -25096,7 +25096,7 @@ function SpsInsights(props2) {
|
|
|
25096
25096
|
className: "insight-tile-wrapper"
|
|
25097
25097
|
}, children);
|
|
25098
25098
|
}
|
|
25099
|
-
const propsDoc$
|
|
25099
|
+
const propsDoc$18 = {
|
|
25100
25100
|
horizontal: "boolean",
|
|
25101
25101
|
icon: "SpsIcon",
|
|
25102
25102
|
kind: "SpsInsightTileKind",
|
|
@@ -25105,14 +25105,14 @@ const propsDoc$17 = {
|
|
|
25105
25105
|
partnerCount: "number",
|
|
25106
25106
|
totalPartners: "number"
|
|
25107
25107
|
};
|
|
25108
|
-
const propTypes$
|
|
25109
|
-
horizontal: propTypes$
|
|
25108
|
+
const propTypes$1b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25109
|
+
horizontal: propTypes$1O.exports.bool,
|
|
25110
25110
|
icon: enumValue(SpsIcon),
|
|
25111
25111
|
kind: enumValue(SpsInsightTileKind),
|
|
25112
|
-
title: propTypes$
|
|
25113
|
-
metric: propTypes$
|
|
25114
|
-
partnerCount: propTypes$
|
|
25115
|
-
totalPartners: propTypes$
|
|
25112
|
+
title: propTypes$1O.exports.string,
|
|
25113
|
+
metric: propTypes$1O.exports.number || propTypes$1O.exports.string,
|
|
25114
|
+
partnerCount: propTypes$1O.exports.number,
|
|
25115
|
+
totalPartners: propTypes$1O.exports.number
|
|
25116
25116
|
});
|
|
25117
25117
|
function SpsInsightTile(props2) {
|
|
25118
25118
|
const _a = props2, {
|
|
@@ -25172,8 +25172,8 @@ function SpsInsightTile(props2) {
|
|
|
25172
25172
|
}, t2("design-system:insightTile.partners")))));
|
|
25173
25173
|
}
|
|
25174
25174
|
Object.assign(SpsInsightTile, {
|
|
25175
|
-
props: propsDoc$
|
|
25176
|
-
propTypes: propTypes$
|
|
25175
|
+
props: propsDoc$18,
|
|
25176
|
+
propTypes: propTypes$1b,
|
|
25177
25177
|
displayName: "SpsInsightTile"
|
|
25178
25178
|
});
|
|
25179
25179
|
const SpsInsightTileExamples = {
|
|
@@ -25447,11 +25447,11 @@ const SpsInsightTileExamples = {
|
|
|
25447
25447
|
}
|
|
25448
25448
|
}
|
|
25449
25449
|
};
|
|
25450
|
-
const propsDoc$
|
|
25450
|
+
const propsDoc$17 = {
|
|
25451
25451
|
inline: "boolean"
|
|
25452
25452
|
};
|
|
25453
|
-
const propTypes$
|
|
25454
|
-
inline: propTypes$
|
|
25453
|
+
const propTypes$1a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25454
|
+
inline: propTypes$1O.exports.bool
|
|
25455
25455
|
});
|
|
25456
25456
|
function SpsKeyValueList(props2) {
|
|
25457
25457
|
const _a = props2, {
|
|
@@ -25474,16 +25474,16 @@ function SpsKeyValueList(props2) {
|
|
|
25474
25474
|
}, rest), children);
|
|
25475
25475
|
}
|
|
25476
25476
|
Object.assign(SpsKeyValueList, {
|
|
25477
|
-
props: propsDoc$
|
|
25478
|
-
propTypes: propTypes$
|
|
25477
|
+
props: propsDoc$17,
|
|
25478
|
+
propTypes: propTypes$1a,
|
|
25479
25479
|
displayName: "SpsKeyValueList"
|
|
25480
25480
|
});
|
|
25481
|
-
const propsDoc$
|
|
25481
|
+
const propsDoc$16 = {
|
|
25482
25482
|
itemKey: { type: "string | nodeOrRenderFn", required: true },
|
|
25483
25483
|
titleColor: "KeyValueListTitleColor"
|
|
25484
25484
|
};
|
|
25485
|
-
const propTypes$
|
|
25486
|
-
itemKey: propTypes$
|
|
25485
|
+
const propTypes$19 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25486
|
+
itemKey: propTypes$1O.exports.string.isRequired || nodeOrRenderFn.isRequired,
|
|
25487
25487
|
titleColor: enumValue(KeyValueListTitleColor)
|
|
25488
25488
|
});
|
|
25489
25489
|
function SpsKeyValueListItem(props2) {
|
|
@@ -25515,8 +25515,8 @@ function SpsKeyValueListItem(props2) {
|
|
|
25515
25515
|
}, children));
|
|
25516
25516
|
}
|
|
25517
25517
|
Object.assign(SpsKeyValueListItem, {
|
|
25518
|
-
props: propsDoc$
|
|
25519
|
-
propTypes: propTypes$
|
|
25518
|
+
props: propsDoc$16,
|
|
25519
|
+
propTypes: propTypes$19,
|
|
25520
25520
|
displayName: "SpsKeyValueListItem"
|
|
25521
25521
|
});
|
|
25522
25522
|
const SpsKeyValueListExamples = {
|
|
@@ -25559,7 +25559,7 @@ const SpsKeyValueListExamples = {
|
|
|
25559
25559
|
}
|
|
25560
25560
|
}
|
|
25561
25561
|
};
|
|
25562
|
-
const propsDoc$
|
|
25562
|
+
const propsDoc$15 = {
|
|
25563
25563
|
for: { type: "SpsFormMetaBase<any>", required: true },
|
|
25564
25564
|
description: "string",
|
|
25565
25565
|
stronglySuggested: "boolean",
|
|
@@ -25568,16 +25568,16 @@ const propsDoc$14 = {
|
|
|
25568
25568
|
helpIconColor: "string",
|
|
25569
25569
|
errors: "ReactNodeOrRenderFn"
|
|
25570
25570
|
};
|
|
25571
|
-
const propTypes$
|
|
25572
|
-
description: propTypes$
|
|
25573
|
-
for: propTypes$
|
|
25571
|
+
const propTypes$18 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25572
|
+
description: propTypes$1O.exports.string,
|
|
25573
|
+
for: propTypes$1O.exports.oneOfType([
|
|
25574
25574
|
impl(),
|
|
25575
25575
|
impl()
|
|
25576
25576
|
]).isRequired,
|
|
25577
|
-
stronglySuggested: propTypes$
|
|
25577
|
+
stronglySuggested: propTypes$1O.exports.bool,
|
|
25578
25578
|
help: nodeOrRenderFn,
|
|
25579
25579
|
helpIcon: enumValue(SpsIcon),
|
|
25580
|
-
helpIconColor: propTypes$
|
|
25580
|
+
helpIconColor: propTypes$1O.exports.string,
|
|
25581
25581
|
errors: nodeOrRenderFn
|
|
25582
25582
|
});
|
|
25583
25583
|
function SpsLabel(_o) {
|
|
@@ -25773,8 +25773,8 @@ function SpsLabel(_o) {
|
|
|
25773
25773
|
}, description));
|
|
25774
25774
|
}
|
|
25775
25775
|
Object.assign(SpsLabel, {
|
|
25776
|
-
props: propsDoc$
|
|
25777
|
-
propTypes: propTypes$
|
|
25776
|
+
props: propsDoc$15,
|
|
25777
|
+
propTypes: propTypes$18,
|
|
25778
25778
|
displayName: "SpsLabel"
|
|
25779
25779
|
});
|
|
25780
25780
|
const SpsLabelExamples = {
|
|
@@ -25992,13 +25992,13 @@ const SpsLabelExamples = {
|
|
|
25992
25992
|
}
|
|
25993
25993
|
}
|
|
25994
25994
|
};
|
|
25995
|
-
const propsDoc$
|
|
25995
|
+
const propsDoc$14 = {
|
|
25996
25996
|
clearSelected: { type: "() => void", required: true },
|
|
25997
25997
|
itemsSelected: { type: "string | number", required: true }
|
|
25998
25998
|
};
|
|
25999
|
-
const propTypes$
|
|
25999
|
+
const propTypes$17 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26000
26000
|
clearSelected: fun().isRequired,
|
|
26001
|
-
itemsSelected: propTypes$
|
|
26001
|
+
itemsSelected: propTypes$1O.exports.oneOfType([propTypes$1O.exports.string, propTypes$1O.exports.number])
|
|
26002
26002
|
});
|
|
26003
26003
|
function SpsListActionBar(props2) {
|
|
26004
26004
|
const _a = props2, {
|
|
@@ -26048,8 +26048,8 @@ function SpsListActionBar(props2) {
|
|
|
26048
26048
|
}, t2("design-system:listActionBar.clearSelected")))));
|
|
26049
26049
|
}
|
|
26050
26050
|
Object.assign(SpsListActionBar, {
|
|
26051
|
-
props: propsDoc$
|
|
26052
|
-
propTypes: propTypes$
|
|
26051
|
+
props: propsDoc$14,
|
|
26052
|
+
propTypes: propTypes$17,
|
|
26053
26053
|
displayName: "SpsListActionBar"
|
|
26054
26054
|
});
|
|
26055
26055
|
const getScrollParent = (node) => {
|
|
@@ -26245,18 +26245,18 @@ const usePinnedTableHeadStyle = (containerRef) => {
|
|
|
26245
26245
|
};
|
|
26246
26246
|
});
|
|
26247
26247
|
};
|
|
26248
|
-
const propsDoc$
|
|
26248
|
+
const propsDoc$13 = {
|
|
26249
26249
|
controlCell: "boolean",
|
|
26250
26250
|
currentSort: "Array<SortedColumn>",
|
|
26251
26251
|
onSortChange: "SortChangeHandler",
|
|
26252
26252
|
sortKey: "string"
|
|
26253
26253
|
};
|
|
26254
|
-
const propTypes$
|
|
26255
|
-
controlCell: propTypes$
|
|
26256
|
-
currentSort: propTypes$
|
|
26254
|
+
const propTypes$16 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26255
|
+
controlCell: propTypes$1O.exports.bool,
|
|
26256
|
+
currentSort: propTypes$1O.exports.arrayOf(impl()),
|
|
26257
26257
|
onSortChange: fun(),
|
|
26258
|
-
sortKey: propTypes$
|
|
26259
|
-
pinned: propTypes$
|
|
26258
|
+
sortKey: propTypes$1O.exports.string,
|
|
26259
|
+
pinned: propTypes$1O.exports.bool
|
|
26260
26260
|
});
|
|
26261
26261
|
function SpsTableHeader(props2) {
|
|
26262
26262
|
const _a = props2, {
|
|
@@ -26315,24 +26315,24 @@ function SpsTableHeader(props2) {
|
|
|
26315
26315
|
}, children));
|
|
26316
26316
|
}
|
|
26317
26317
|
Object.assign(SpsTableHeader, {
|
|
26318
|
-
props: propsDoc$
|
|
26319
|
-
propTypes: propTypes$
|
|
26318
|
+
props: propsDoc$13,
|
|
26319
|
+
propTypes: propTypes$16,
|
|
26320
26320
|
displayName: "SpsTableHeader"
|
|
26321
26321
|
});
|
|
26322
26322
|
function SpsTh(props2) {
|
|
26323
26323
|
return /* @__PURE__ */ React.createElement(SpsTableHeader, __spreadValues({}, props2));
|
|
26324
26324
|
}
|
|
26325
26325
|
Object.assign(SpsTh, {
|
|
26326
|
-
props: propsDoc$
|
|
26327
|
-
propTypes: propTypes$
|
|
26326
|
+
props: propsDoc$13,
|
|
26327
|
+
propTypes: propTypes$16,
|
|
26328
26328
|
displayName: "SpsTh"
|
|
26329
26329
|
});
|
|
26330
|
-
const propsDoc$
|
|
26330
|
+
const propsDoc$12 = {
|
|
26331
26331
|
currentSort: "Array<SortedColumn>",
|
|
26332
26332
|
onSortChange: "SortChangeHandler"
|
|
26333
26333
|
};
|
|
26334
|
-
const propTypes$
|
|
26335
|
-
currentSort: propTypes$
|
|
26334
|
+
const propTypes$15 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26335
|
+
currentSort: propTypes$1O.exports.arrayOf(impl()),
|
|
26336
26336
|
onSortChange: fun()
|
|
26337
26337
|
});
|
|
26338
26338
|
function SpsTableRow(props2) {
|
|
@@ -26368,26 +26368,26 @@ function SpsTableRow(props2) {
|
|
|
26368
26368
|
}));
|
|
26369
26369
|
}
|
|
26370
26370
|
Object.assign(SpsTableRow, {
|
|
26371
|
-
props: propsDoc$
|
|
26372
|
-
propTypes: propTypes$
|
|
26371
|
+
props: propsDoc$12,
|
|
26372
|
+
propTypes: propTypes$15,
|
|
26373
26373
|
displayName: "SpsTableRow"
|
|
26374
26374
|
});
|
|
26375
26375
|
function SpsTr(props2) {
|
|
26376
26376
|
return /* @__PURE__ */ React.createElement(SpsTableRow, __spreadValues({}, props2));
|
|
26377
26377
|
}
|
|
26378
26378
|
Object.assign(SpsTr, {
|
|
26379
|
-
props: propsDoc$
|
|
26380
|
-
propTypes: propTypes$
|
|
26379
|
+
props: propsDoc$12,
|
|
26380
|
+
propTypes: propTypes$15,
|
|
26381
26381
|
displayName: "SpsTr"
|
|
26382
26382
|
});
|
|
26383
|
-
const propsDoc$
|
|
26383
|
+
const propsDoc$11 = {
|
|
26384
26384
|
currentSort: "Array<SortedColumn>",
|
|
26385
26385
|
onSortChange: "SortChangeHandler"
|
|
26386
26386
|
};
|
|
26387
|
-
const propTypes$
|
|
26387
|
+
const propTypes$14 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26388
26388
|
onSortChange: fun(),
|
|
26389
|
-
currentSort: propTypes$
|
|
26390
|
-
pinned: propTypes$
|
|
26389
|
+
currentSort: propTypes$1O.exports.arrayOf(impl()),
|
|
26390
|
+
pinned: propTypes$1O.exports.bool
|
|
26391
26391
|
});
|
|
26392
26392
|
function SpsTableHead(props2) {
|
|
26393
26393
|
const _a = props2, {
|
|
@@ -26423,27 +26423,27 @@ function SpsTableHead(props2) {
|
|
|
26423
26423
|
}));
|
|
26424
26424
|
}
|
|
26425
26425
|
Object.assign(SpsTableHead, {
|
|
26426
|
-
props: propsDoc$
|
|
26427
|
-
propTypes: propTypes$
|
|
26426
|
+
props: propsDoc$11,
|
|
26427
|
+
propTypes: propTypes$14,
|
|
26428
26428
|
displayName: "SpsTableHead"
|
|
26429
26429
|
});
|
|
26430
26430
|
function SpsThead(props2) {
|
|
26431
26431
|
return /* @__PURE__ */ React.createElement(SpsTableHead, __spreadValues({}, props2));
|
|
26432
26432
|
}
|
|
26433
26433
|
Object.assign(SpsThead, {
|
|
26434
|
-
props: propsDoc$
|
|
26435
|
-
propTypes: propTypes$
|
|
26434
|
+
props: propsDoc$11,
|
|
26435
|
+
propTypes: propTypes$14,
|
|
26436
26436
|
displayName: "SpsThead"
|
|
26437
26437
|
});
|
|
26438
|
-
const propsDoc
|
|
26438
|
+
const propsDoc$10 = {
|
|
26439
26439
|
sort: "SortedColumn",
|
|
26440
26440
|
onSortChange: "SortChangeHandler",
|
|
26441
26441
|
selectable: "boolean"
|
|
26442
26442
|
};
|
|
26443
|
-
const propTypes$
|
|
26443
|
+
const propTypes$13 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26444
26444
|
onSortChange: fun(),
|
|
26445
|
-
sort: propTypes$
|
|
26446
|
-
selectable: propTypes$
|
|
26445
|
+
sort: propTypes$1O.exports.arrayOf(impl()),
|
|
26446
|
+
selectable: propTypes$1O.exports.bool
|
|
26447
26447
|
});
|
|
26448
26448
|
function SpsTable(props2) {
|
|
26449
26449
|
const _a = props2, {
|
|
@@ -26499,12 +26499,12 @@ function SpsTable(props2) {
|
|
|
26499
26499
|
})));
|
|
26500
26500
|
}
|
|
26501
26501
|
Object.assign(SpsTable, {
|
|
26502
|
-
props: propsDoc
|
|
26503
|
-
propTypes: propTypes$
|
|
26502
|
+
props: propsDoc$10,
|
|
26503
|
+
propTypes: propTypes$13,
|
|
26504
26504
|
displayName: "SpsTable"
|
|
26505
26505
|
});
|
|
26506
|
-
const propsDoc
|
|
26507
|
-
const propTypes$
|
|
26506
|
+
const propsDoc$$ = {};
|
|
26507
|
+
const propTypes$12 = __spreadValues({}, spsGlobalPropTypes);
|
|
26508
26508
|
function SpsTableBody(props2) {
|
|
26509
26509
|
const _a = props2, {
|
|
26510
26510
|
children,
|
|
@@ -26524,34 +26524,34 @@ function SpsTableBody(props2) {
|
|
|
26524
26524
|
}, rest), children);
|
|
26525
26525
|
}
|
|
26526
26526
|
Object.assign(SpsTableBody, {
|
|
26527
|
-
props: propsDoc
|
|
26528
|
-
propTypes: propTypes$
|
|
26527
|
+
props: propsDoc$$,
|
|
26528
|
+
propTypes: propTypes$12,
|
|
26529
26529
|
displayName: "SpsTableBody"
|
|
26530
26530
|
});
|
|
26531
26531
|
function SpsTbody(props2) {
|
|
26532
26532
|
return /* @__PURE__ */ React.createElement(SpsTableBody, __spreadValues({}, props2));
|
|
26533
26533
|
}
|
|
26534
26534
|
Object.assign(SpsTbody, {
|
|
26535
|
-
props: propsDoc
|
|
26536
|
-
propTypes: propTypes$
|
|
26535
|
+
props: propsDoc$$,
|
|
26536
|
+
propTypes: propTypes$12,
|
|
26537
26537
|
displayName: "SpsTbody"
|
|
26538
26538
|
});
|
|
26539
|
-
const propsDoc$
|
|
26539
|
+
const propsDoc$_ = {
|
|
26540
26540
|
buttonCell: "boolean",
|
|
26541
26541
|
controlCell: "boolean",
|
|
26542
26542
|
wrap: "SpsTableCellWrapWidth"
|
|
26543
26543
|
};
|
|
26544
|
-
const propTypes$
|
|
26545
|
-
buttonCell: propTypes$
|
|
26546
|
-
controlCell: propTypes$
|
|
26547
|
-
wrap: propTypes$
|
|
26544
|
+
const propTypes$11 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26545
|
+
buttonCell: propTypes$1O.exports.bool,
|
|
26546
|
+
controlCell: propTypes$1O.exports.bool,
|
|
26547
|
+
wrap: propTypes$1O.exports.oneOf([
|
|
26548
26548
|
200,
|
|
26549
26549
|
300,
|
|
26550
26550
|
400,
|
|
26551
26551
|
500,
|
|
26552
26552
|
600
|
|
26553
26553
|
]),
|
|
26554
|
-
pinned: propTypes$
|
|
26554
|
+
pinned: propTypes$1O.exports.bool
|
|
26555
26555
|
});
|
|
26556
26556
|
function SpsTableCell(props2) {
|
|
26557
26557
|
const _a = props2, {
|
|
@@ -26584,20 +26584,20 @@ function SpsTableCell(props2) {
|
|
|
26584
26584
|
}, rest), children);
|
|
26585
26585
|
}
|
|
26586
26586
|
Object.assign(SpsTableCell, {
|
|
26587
|
-
props: propsDoc$
|
|
26588
|
-
propTypes: propTypes$
|
|
26587
|
+
props: propsDoc$_,
|
|
26588
|
+
propTypes: propTypes$11,
|
|
26589
26589
|
displayName: "SpsTableCell"
|
|
26590
26590
|
});
|
|
26591
26591
|
function SpsTd(props2) {
|
|
26592
26592
|
return /* @__PURE__ */ React.createElement(SpsTableCell, __spreadValues({}, props2));
|
|
26593
26593
|
}
|
|
26594
26594
|
Object.assign(SpsTd, {
|
|
26595
|
-
props: propsDoc$
|
|
26596
|
-
propTypes: propTypes$
|
|
26595
|
+
props: propsDoc$_,
|
|
26596
|
+
propTypes: propTypes$11,
|
|
26597
26597
|
displayName: "SpsTd"
|
|
26598
26598
|
});
|
|
26599
|
-
const propsDoc$
|
|
26600
|
-
const propTypes
|
|
26599
|
+
const propsDoc$Z = {};
|
|
26600
|
+
const propTypes$10 = __spreadValues({}, spsGlobalPropTypes);
|
|
26601
26601
|
const CSS_BLOCK$3 = "sps-icon-button-panel";
|
|
26602
26602
|
function SpsIconButtonPanel(_q) {
|
|
26603
26603
|
var _r = _q, {
|
|
@@ -26616,8 +26616,8 @@ function SpsIconButtonPanel(_q) {
|
|
|
26616
26616
|
}, rest), iconButtons);
|
|
26617
26617
|
}
|
|
26618
26618
|
Object.assign(SpsIconButtonPanel, {
|
|
26619
|
-
props: propsDoc$
|
|
26620
|
-
propTypes: propTypes
|
|
26619
|
+
props: propsDoc$Z,
|
|
26620
|
+
propTypes: propTypes$10,
|
|
26621
26621
|
displayName: "SpsIconButtonPanel"
|
|
26622
26622
|
});
|
|
26623
26623
|
const SpsTableExamples = {
|
|
@@ -27801,8 +27801,8 @@ const SpsListActionBarExamples = {
|
|
|
27801
27801
|
}
|
|
27802
27802
|
}
|
|
27803
27803
|
};
|
|
27804
|
-
const propTypes
|
|
27805
|
-
tabs: propTypes$
|
|
27804
|
+
const propTypes$$ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27805
|
+
tabs: propTypes$1O.exports.arrayOf(impl()).isRequired,
|
|
27806
27806
|
activeTab: impl(),
|
|
27807
27807
|
onTabChange: fun()
|
|
27808
27808
|
});
|
|
@@ -27866,17 +27866,17 @@ function SpsTabs(props2) {
|
|
|
27866
27866
|
}, tab2.tag)))));
|
|
27867
27867
|
}
|
|
27868
27868
|
Object.assign(SpsTabs, {
|
|
27869
|
-
propTypes: propTypes
|
|
27869
|
+
propTypes: propTypes$$,
|
|
27870
27870
|
displayName: "SpsTabs"
|
|
27871
27871
|
});
|
|
27872
|
-
const propsDoc$
|
|
27872
|
+
const propsDoc$Y = {
|
|
27873
27873
|
resultsCount: "number",
|
|
27874
27874
|
totalResults: "number",
|
|
27875
27875
|
onClear: "() => void"
|
|
27876
27876
|
};
|
|
27877
|
-
const propTypes$
|
|
27878
|
-
resultsCount: propTypes$
|
|
27879
|
-
totalResults: propTypes$
|
|
27877
|
+
const propTypes$_ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27878
|
+
resultsCount: propTypes$1O.exports.number,
|
|
27879
|
+
totalResults: propTypes$1O.exports.number,
|
|
27880
27880
|
onClear: fun()
|
|
27881
27881
|
});
|
|
27882
27882
|
function SpsSearchResultsBar(props2) {
|
|
@@ -27927,20 +27927,20 @@ function SpsSearchResultsBar(props2) {
|
|
|
27927
27927
|
}, t2("design-system:searchResultsBar.clear"))));
|
|
27928
27928
|
}
|
|
27929
27929
|
Object.assign(SpsSearchResultsBar, {
|
|
27930
|
-
props: propsDoc$
|
|
27931
|
-
propTypes: propTypes$
|
|
27930
|
+
props: propsDoc$Y,
|
|
27931
|
+
propTypes: propTypes$_,
|
|
27932
27932
|
displayName: "SpsSearchResultsBar"
|
|
27933
27933
|
});
|
|
27934
|
-
const propsDoc$
|
|
27934
|
+
const propsDoc$X = {
|
|
27935
27935
|
results: "number",
|
|
27936
27936
|
selections: "{ [key: string]: string[] }",
|
|
27937
27937
|
zeroStateText: "string",
|
|
27938
27938
|
onClear: "() => void"
|
|
27939
27939
|
};
|
|
27940
|
-
const propTypes$
|
|
27941
|
-
results: propTypes$
|
|
27940
|
+
const propTypes$Z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27941
|
+
results: propTypes$1O.exports.number,
|
|
27942
27942
|
selections: impl(),
|
|
27943
|
-
zeroStateText: propTypes$
|
|
27943
|
+
zeroStateText: propTypes$1O.exports.string,
|
|
27944
27944
|
onClear: fun()
|
|
27945
27945
|
});
|
|
27946
27946
|
function SpsSearchResultsBarV2(props2) {
|
|
@@ -27997,8 +27997,8 @@ function SpsSearchResultsBarV2(props2) {
|
|
|
27997
27997
|
}, t2("design-system:searchResultsBar.clearResults"))));
|
|
27998
27998
|
}
|
|
27999
27999
|
Object.assign(SpsSearchResultsBarV2, {
|
|
28000
|
-
props: propsDoc$
|
|
28001
|
-
propTypes: propTypes$
|
|
28000
|
+
props: propsDoc$X,
|
|
28001
|
+
propTypes: propTypes$Z,
|
|
28002
28002
|
displayName: "SpsSearchResultsBarV2"
|
|
28003
28003
|
});
|
|
28004
28004
|
const SpsSearchResultsBarExamples = {
|
|
@@ -28151,15 +28151,15 @@ const SpsSearchResultsBarExamples = {
|
|
|
28151
28151
|
}
|
|
28152
28152
|
}
|
|
28153
28153
|
};
|
|
28154
|
-
const propsDoc$
|
|
28154
|
+
const propsDoc$W = {
|
|
28155
28155
|
formMeta: "SpsFormSetMeta<any>",
|
|
28156
28156
|
stacked: "boolean"
|
|
28157
28157
|
};
|
|
28158
|
-
const propTypes$
|
|
28158
|
+
const propTypes$Y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28159
28159
|
formArray: impl(),
|
|
28160
28160
|
formGroup: impl(),
|
|
28161
28161
|
formMeta: impl(),
|
|
28162
|
-
stacked: propTypes$
|
|
28162
|
+
stacked: propTypes$1O.exports.bool
|
|
28163
28163
|
});
|
|
28164
28164
|
function SpsInputGroup(_s) {
|
|
28165
28165
|
var _t = _s, {
|
|
@@ -28204,14 +28204,14 @@ function SpsInputGroup(_s) {
|
|
|
28204
28204
|
}, children));
|
|
28205
28205
|
}
|
|
28206
28206
|
Object.assign(SpsInputGroup, {
|
|
28207
|
-
props: propsDoc$
|
|
28208
|
-
propTypes: propTypes$
|
|
28207
|
+
props: propsDoc$W,
|
|
28208
|
+
propTypes: propTypes$Y,
|
|
28209
28209
|
displayName: "SpsInputGroup"
|
|
28210
28210
|
});
|
|
28211
|
-
const propsDoc$
|
|
28211
|
+
const propsDoc$V = {
|
|
28212
28212
|
onSubmit: "FormEventHandler"
|
|
28213
28213
|
};
|
|
28214
|
-
const propTypes$
|
|
28214
|
+
const propTypes$X = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28215
28215
|
onSubmit: fun()
|
|
28216
28216
|
});
|
|
28217
28217
|
function SpsListToolbarSearch(props2) {
|
|
@@ -28234,12 +28234,12 @@ function SpsListToolbarSearch(props2) {
|
|
|
28234
28234
|
}, children));
|
|
28235
28235
|
}
|
|
28236
28236
|
Object.assign(SpsListToolbarSearch, {
|
|
28237
|
-
props: propsDoc$
|
|
28238
|
-
propTypes: propTypes$
|
|
28237
|
+
props: propsDoc$V,
|
|
28238
|
+
propTypes: propTypes$X,
|
|
28239
28239
|
displayName: "SpsListToolbarSearch"
|
|
28240
28240
|
});
|
|
28241
|
-
const propsDoc$
|
|
28242
|
-
const propTypes$
|
|
28241
|
+
const propsDoc$U = {};
|
|
28242
|
+
const propTypes$W = __spreadValues({}, spsGlobalPropTypes);
|
|
28243
28243
|
function SpsListToolbarSearchInfo(props2) {
|
|
28244
28244
|
const {
|
|
28245
28245
|
children
|
|
@@ -28247,11 +28247,11 @@ function SpsListToolbarSearchInfo(props2) {
|
|
|
28247
28247
|
return /* @__PURE__ */ React.createElement("div", null, children);
|
|
28248
28248
|
}
|
|
28249
28249
|
Object.assign(SpsListToolbarSearchInfo, {
|
|
28250
|
-
props: propsDoc$
|
|
28251
|
-
propTypes: propTypes$
|
|
28250
|
+
props: propsDoc$U,
|
|
28251
|
+
propTypes: propTypes$W,
|
|
28252
28252
|
displayName: "SpsListToolbarSearchInfo"
|
|
28253
28253
|
});
|
|
28254
|
-
const propsDoc$
|
|
28254
|
+
const propsDoc$T = {
|
|
28255
28255
|
activeTab: "SpsTab",
|
|
28256
28256
|
advancedSearch: "{ isOpen: boolean, enteredFields: number }",
|
|
28257
28257
|
onToggleAdvancedSearch: "(boolean) => void",
|
|
@@ -28266,23 +28266,23 @@ const propsDoc$S = {
|
|
|
28266
28266
|
pinResultsBar: "boolean",
|
|
28267
28267
|
pinToolbar: "boolean"
|
|
28268
28268
|
};
|
|
28269
|
-
const propTypes$
|
|
28269
|
+
const propTypes$V = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28270
28270
|
activeTab: impl(),
|
|
28271
|
-
advancedSearch: propTypes$
|
|
28272
|
-
isOpen: propTypes$
|
|
28273
|
-
enteredFields: propTypes$
|
|
28271
|
+
advancedSearch: propTypes$1O.exports.shape({
|
|
28272
|
+
isOpen: propTypes$1O.exports.bool,
|
|
28273
|
+
enteredFields: propTypes$1O.exports.number
|
|
28274
28274
|
}),
|
|
28275
28275
|
onToggleAdvancedSearch: fun(),
|
|
28276
28276
|
onTabChange: fun(),
|
|
28277
|
-
title: propTypes$
|
|
28278
|
-
tabs: propTypes$
|
|
28277
|
+
title: propTypes$1O.exports.string,
|
|
28278
|
+
tabs: propTypes$1O.exports.arrayOf(impl()),
|
|
28279
28279
|
onToolbarPinned: fun(),
|
|
28280
|
-
selectable: propTypes$
|
|
28281
|
-
isSelected: propTypes$
|
|
28282
|
-
isIndeterminate: propTypes$
|
|
28280
|
+
selectable: propTypes$1O.exports.bool,
|
|
28281
|
+
isSelected: propTypes$1O.exports.bool,
|
|
28282
|
+
isIndeterminate: propTypes$1O.exports.bool,
|
|
28283
28283
|
onSelectionChange: fun(),
|
|
28284
|
-
pinResultsBar: propTypes$
|
|
28285
|
-
pinToolbar: propTypes$
|
|
28284
|
+
pinResultsBar: propTypes$1O.exports.bool,
|
|
28285
|
+
pinToolbar: propTypes$1O.exports.bool
|
|
28286
28286
|
});
|
|
28287
28287
|
function SpsListToolbar(props2) {
|
|
28288
28288
|
const _a = props2, {
|
|
@@ -28445,9 +28445,50 @@ function SpsListToolbar(props2) {
|
|
|
28445
28445
|
}, otherChildren)), /* @__PURE__ */ React.createElement("div", null, (!isPinned || isPinned && pinResultsBar) && searchResultsBar)));
|
|
28446
28446
|
}
|
|
28447
28447
|
Object.assign(SpsListToolbar, {
|
|
28448
|
+
props: propsDoc$T,
|
|
28449
|
+
propTypes: propTypes$V,
|
|
28450
|
+
displayName: "SpsListToolbar"
|
|
28451
|
+
});
|
|
28452
|
+
const propsDoc$S = {
|
|
28453
|
+
options: "SortOption[]",
|
|
28454
|
+
onSortChange: "(key: string, direction: SortDirection) => void",
|
|
28455
|
+
defaultOption: "SortOption"
|
|
28456
|
+
};
|
|
28457
|
+
const propTypes$U = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28458
|
+
options: propTypes$1O.exports.arrayOf(impl()),
|
|
28459
|
+
onSortChange: fun(),
|
|
28460
|
+
defaultOption: impl()
|
|
28461
|
+
});
|
|
28462
|
+
function SpsListToolbarSortBy(props2) {
|
|
28463
|
+
const {
|
|
28464
|
+
options,
|
|
28465
|
+
onSortChange,
|
|
28466
|
+
defaultOption,
|
|
28467
|
+
className,
|
|
28468
|
+
unsafelyReplaceClassName
|
|
28469
|
+
} = props2;
|
|
28470
|
+
const [label, setLabel] = React.useState(defaultOption.label || "");
|
|
28471
|
+
const [directionIcon, setDirectionIcon] = React.useState(defaultOption.icon);
|
|
28472
|
+
const sortOptions = options.map((option) => [
|
|
28473
|
+
{ label: option.label, icon: option.icon },
|
|
28474
|
+
() => {
|
|
28475
|
+
setLabel(option.label);
|
|
28476
|
+
setDirectionIcon(option.icon);
|
|
28477
|
+
onSortChange(option.key, option.direction);
|
|
28478
|
+
}
|
|
28479
|
+
]);
|
|
28480
|
+
const classes = clsx(unsafelyReplaceClassName || "sps-list-toolbar-sort-by", className);
|
|
28481
|
+
return /* @__PURE__ */ React.createElement(SpsDropdown, {
|
|
28482
|
+
className: classes,
|
|
28483
|
+
icon: directionIcon,
|
|
28484
|
+
label,
|
|
28485
|
+
options: sortOptions
|
|
28486
|
+
});
|
|
28487
|
+
}
|
|
28488
|
+
Object.assign(SpsListToolbarSortBy, {
|
|
28448
28489
|
props: propsDoc$S,
|
|
28449
28490
|
propTypes: propTypes$U,
|
|
28450
|
-
displayName: "
|
|
28491
|
+
displayName: "SpsListToolbarSortBy"
|
|
28451
28492
|
});
|
|
28452
28493
|
function ContentOrderExample() {
|
|
28453
28494
|
const [showFocusedTask, setShowFocusedTask] = React.useState(false);
|
|
@@ -29128,6 +29169,67 @@ const SpsListToolbarExamples = {
|
|
|
29128
29169
|
`
|
|
29129
29170
|
}
|
|
29130
29171
|
}
|
|
29172
|
+
},
|
|
29173
|
+
sortBy: {
|
|
29174
|
+
label: "Sort By",
|
|
29175
|
+
description: () => /* @__PURE__ */ React.createElement("p", null, "Use Sort By component to sort list of rows. It looks like SpsDropdown but with sorting interface."),
|
|
29176
|
+
examples: {
|
|
29177
|
+
title: {
|
|
29178
|
+
react: code`
|
|
29179
|
+
function Component() {
|
|
29180
|
+
return (
|
|
29181
|
+
<SpsListToolbar title="List of sortable rows">
|
|
29182
|
+
<SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} />
|
|
29183
|
+
<SpsVerticalRule />
|
|
29184
|
+
<SpsListToolbarSortBy
|
|
29185
|
+
options={[
|
|
29186
|
+
{
|
|
29187
|
+
label: "Default",
|
|
29188
|
+
key: "default",
|
|
29189
|
+
direction: SortDirection.ASCENDING,
|
|
29190
|
+
icon: SpsIcon.SORT_ALPHA_ASC,
|
|
29191
|
+
},
|
|
29192
|
+
{
|
|
29193
|
+
label: "Company Name: A-Z",
|
|
29194
|
+
key: "name",
|
|
29195
|
+
direction: SortDirection.ASCENDING,
|
|
29196
|
+
icon: SpsIcon.SORT_ALPHA_ASC,
|
|
29197
|
+
},
|
|
29198
|
+
{
|
|
29199
|
+
label: "Company Name: Z-A",
|
|
29200
|
+
key: "name",
|
|
29201
|
+
direction: SortDirection.DESCENDING,
|
|
29202
|
+
icon: SpsIcon.SORT_ALPHA_DESC,
|
|
29203
|
+
},
|
|
29204
|
+
{
|
|
29205
|
+
label: 'Created Date: Oldest to Newest',
|
|
29206
|
+
key: 'created',
|
|
29207
|
+
direction: SortDirection.ASCENDING,
|
|
29208
|
+
icon: SpsIcon.SORT_NUM_ASC,
|
|
29209
|
+
},
|
|
29210
|
+
{
|
|
29211
|
+
label: 'Created Date: Newest to Oldest',
|
|
29212
|
+
key: 'created',
|
|
29213
|
+
direction: SortDirection.DESCENDING,
|
|
29214
|
+
icon: SpsIcon.SORT_NUM_DESC,
|
|
29215
|
+
}
|
|
29216
|
+
]}
|
|
29217
|
+
defaultOption={{
|
|
29218
|
+
label: "Default",
|
|
29219
|
+
key: "default",
|
|
29220
|
+
direction: SortDirection.ASCENDING,
|
|
29221
|
+
icon: SpsIcon.SORT_ALPHA_ASC,
|
|
29222
|
+
}}
|
|
29223
|
+
onSortChange={(key, direction) => console.log(key, direction)}
|
|
29224
|
+
/>
|
|
29225
|
+
<SpsVerticalRule />
|
|
29226
|
+
<SpsButton kind={ButtonKind.CONFIRM}>Create New</SpsButton>
|
|
29227
|
+
</SpsListToolbar>
|
|
29228
|
+
)
|
|
29229
|
+
}
|
|
29230
|
+
`
|
|
29231
|
+
}
|
|
29232
|
+
}
|
|
29131
29233
|
}
|
|
29132
29234
|
};
|
|
29133
29235
|
const propsDoc$R = {
|
|
@@ -29136,7 +29238,7 @@ const propsDoc$R = {
|
|
|
29136
29238
|
};
|
|
29137
29239
|
const propTypes$T = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29138
29240
|
kind: enumValue(FeedbackBlockKind),
|
|
29139
|
-
message: propTypes$
|
|
29241
|
+
message: propTypes$1O.exports.node.isRequired
|
|
29140
29242
|
});
|
|
29141
29243
|
function SpsMicroBlock(props2) {
|
|
29142
29244
|
const _a = props2, {
|
|
@@ -29229,7 +29331,7 @@ const propsDoc$Q = {
|
|
|
29229
29331
|
const propTypes$S = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29230
29332
|
kind: enumValue(ModalKind),
|
|
29231
29333
|
size: enumValue(ModalSize),
|
|
29232
|
-
title: propTypes$
|
|
29334
|
+
title: propTypes$1O.exports.string,
|
|
29233
29335
|
onClose: fun(),
|
|
29234
29336
|
focusElementOnOpen: ref()
|
|
29235
29337
|
});
|
|
@@ -29825,29 +29927,29 @@ const propsDoc$P = {
|
|
|
29825
29927
|
};
|
|
29826
29928
|
const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29827
29929
|
action: fun(),
|
|
29828
|
-
captionKey: propTypes$
|
|
29829
|
-
debounce: propTypes$
|
|
29830
|
-
disabled: propTypes$
|
|
29831
|
-
disableSelected: propTypes$
|
|
29832
|
-
comparisonKey: propTypes$
|
|
29930
|
+
captionKey: propTypes$1O.exports.string,
|
|
29931
|
+
debounce: propTypes$1O.exports.number,
|
|
29932
|
+
disabled: propTypes$1O.exports.bool,
|
|
29933
|
+
disableSelected: propTypes$1O.exports.bool,
|
|
29934
|
+
comparisonKey: propTypes$1O.exports.string,
|
|
29833
29935
|
formControl: impl(),
|
|
29834
29936
|
formMeta: impl(),
|
|
29835
|
-
hideSelected: propTypes$
|
|
29937
|
+
hideSelected: propTypes$1O.exports.bool,
|
|
29836
29938
|
icon: enumValue(SpsIcon),
|
|
29837
29939
|
onChange: fun(),
|
|
29838
|
-
options: propTypes$
|
|
29839
|
-
propTypes$
|
|
29840
|
-
propTypes$
|
|
29940
|
+
options: propTypes$1O.exports.oneOfType([
|
|
29941
|
+
propTypes$1O.exports.array,
|
|
29942
|
+
propTypes$1O.exports.instanceOf(Promise),
|
|
29841
29943
|
fun()
|
|
29842
29944
|
]).isRequired,
|
|
29843
|
-
placeholder: propTypes$
|
|
29844
|
-
tallOptionList: propTypes$
|
|
29845
|
-
textKey: propTypes$
|
|
29846
|
-
value: propTypes$
|
|
29847
|
-
zeroState: propTypes$
|
|
29848
|
-
loading: propTypes$
|
|
29849
|
-
maxHeightOptionListPx: propTypes$
|
|
29850
|
-
maxHeightOptionListRem: propTypes$
|
|
29945
|
+
placeholder: propTypes$1O.exports.string,
|
|
29946
|
+
tallOptionList: propTypes$1O.exports.bool,
|
|
29947
|
+
textKey: propTypes$1O.exports.string,
|
|
29948
|
+
value: propTypes$1O.exports.any,
|
|
29949
|
+
zeroState: propTypes$1O.exports.string,
|
|
29950
|
+
loading: propTypes$1O.exports.bool,
|
|
29951
|
+
maxHeightOptionListPx: propTypes$1O.exports.number,
|
|
29952
|
+
maxHeightOptionListRem: propTypes$1O.exports.number
|
|
29851
29953
|
});
|
|
29852
29954
|
function SpsMultiSelect(_w) {
|
|
29853
29955
|
var _x = _w, {
|
|
@@ -30415,31 +30517,31 @@ const propsDoc$M = {
|
|
|
30415
30517
|
};
|
|
30416
30518
|
const propTypes$O = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
30417
30519
|
action: fun(),
|
|
30418
|
-
captionKey: propTypes$
|
|
30419
|
-
comparisonKey: propTypes$
|
|
30420
|
-
disabled: propTypes$
|
|
30520
|
+
captionKey: propTypes$1O.exports.string,
|
|
30521
|
+
comparisonKey: propTypes$1O.exports.string,
|
|
30522
|
+
disabled: propTypes$1O.exports.bool,
|
|
30421
30523
|
formControl: impl(),
|
|
30422
30524
|
formMeta: impl(),
|
|
30423
|
-
notClearable: propTypes$
|
|
30424
|
-
options: propTypes$
|
|
30425
|
-
propTypes$
|
|
30426
|
-
propTypes$
|
|
30525
|
+
notClearable: propTypes$1O.exports.bool,
|
|
30526
|
+
options: propTypes$1O.exports.oneOfType([
|
|
30527
|
+
propTypes$1O.exports.array,
|
|
30528
|
+
propTypes$1O.exports.instanceOf(Promise),
|
|
30427
30529
|
fun()
|
|
30428
30530
|
]).isRequired,
|
|
30429
30531
|
onChange: fun(),
|
|
30430
|
-
placeholder: propTypes$
|
|
30431
|
-
searchDebounce: propTypes$
|
|
30432
|
-
searchPlaceholder: propTypes$
|
|
30433
|
-
tallOptionList: propTypes$
|
|
30434
|
-
textKey: propTypes$
|
|
30435
|
-
valueKey: propTypes$
|
|
30436
|
-
value: propTypes$
|
|
30437
|
-
zeroState: propTypes$
|
|
30438
|
-
autoFixWidth: propTypes$
|
|
30439
|
-
loading: propTypes$
|
|
30440
|
-
filterByTextAndCaptionKey: propTypes$
|
|
30441
|
-
maxHeightOptionListPx: propTypes$
|
|
30442
|
-
maxHeightOptionListRem: propTypes$
|
|
30532
|
+
placeholder: propTypes$1O.exports.string,
|
|
30533
|
+
searchDebounce: propTypes$1O.exports.number,
|
|
30534
|
+
searchPlaceholder: propTypes$1O.exports.string,
|
|
30535
|
+
tallOptionList: propTypes$1O.exports.bool,
|
|
30536
|
+
textKey: propTypes$1O.exports.string,
|
|
30537
|
+
valueKey: propTypes$1O.exports.string,
|
|
30538
|
+
value: propTypes$1O.exports.any,
|
|
30539
|
+
zeroState: propTypes$1O.exports.string,
|
|
30540
|
+
autoFixWidth: propTypes$1O.exports.bool,
|
|
30541
|
+
loading: propTypes$1O.exports.bool,
|
|
30542
|
+
filterByTextAndCaptionKey: propTypes$1O.exports.bool,
|
|
30543
|
+
maxHeightOptionListPx: propTypes$1O.exports.number,
|
|
30544
|
+
maxHeightOptionListRem: propTypes$1O.exports.number
|
|
30443
30545
|
});
|
|
30444
30546
|
const SpsSelect = React.forwardRef((props2, ref2) => {
|
|
30445
30547
|
const _a = props2, {
|
|
@@ -30684,10 +30786,10 @@ const propsDoc$L = {
|
|
|
30684
30786
|
disabled: "boolean"
|
|
30685
30787
|
};
|
|
30686
30788
|
const propTypes$N = __spreadValues({
|
|
30687
|
-
numPages: propTypes$
|
|
30789
|
+
numPages: propTypes$1O.exports.number,
|
|
30688
30790
|
onPageChange: fun(),
|
|
30689
|
-
page: propTypes$
|
|
30690
|
-
disabled: propTypes$
|
|
30791
|
+
page: propTypes$1O.exports.number,
|
|
30792
|
+
disabled: propTypes$1O.exports.bool
|
|
30691
30793
|
}, spsGlobalPropTypes);
|
|
30692
30794
|
function SpsPageSelector(props2) {
|
|
30693
30795
|
const _a = props2, {
|
|
@@ -30794,11 +30896,11 @@ const propsDoc$K = {
|
|
|
30794
30896
|
};
|
|
30795
30897
|
const propTypes$M = __spreadValues({
|
|
30796
30898
|
onPageChange: fun().isRequired,
|
|
30797
|
-
page: propTypes$
|
|
30798
|
-
pageSize: propTypes$
|
|
30799
|
-
pageSizeOptions: propTypes$
|
|
30800
|
-
totalResults: propTypes$
|
|
30801
|
-
disabled: propTypes$
|
|
30899
|
+
page: propTypes$1O.exports.number,
|
|
30900
|
+
pageSize: propTypes$1O.exports.number,
|
|
30901
|
+
pageSizeOptions: propTypes$1O.exports.arrayOf(propTypes$1O.exports.number),
|
|
30902
|
+
totalResults: propTypes$1O.exports.number,
|
|
30903
|
+
disabled: propTypes$1O.exports.bool
|
|
30802
30904
|
}, spsGlobalPropTypes);
|
|
30803
30905
|
function SpsPagination(props2) {
|
|
30804
30906
|
const _a = props2, {
|
|
@@ -31043,14 +31145,14 @@ const propsDoc$I = {
|
|
|
31043
31145
|
tabs: "Array<string>"
|
|
31044
31146
|
};
|
|
31045
31147
|
const propTypes$L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
31046
|
-
activeTab: propTypes$
|
|
31047
|
-
fullWidth: propTypes$
|
|
31148
|
+
activeTab: propTypes$1O.exports.string,
|
|
31149
|
+
fullWidth: propTypes$1O.exports.bool,
|
|
31048
31150
|
onTabChange: fun(),
|
|
31049
31151
|
onProductNameClick: fun(),
|
|
31050
|
-
productLogoSrc: propTypes$
|
|
31051
|
-
productName: propTypes$
|
|
31052
|
-
productNameHref: propTypes$
|
|
31053
|
-
tabs: propTypes$
|
|
31152
|
+
productLogoSrc: propTypes$1O.exports.string,
|
|
31153
|
+
productName: propTypes$1O.exports.string.isRequired,
|
|
31154
|
+
productNameHref: propTypes$1O.exports.string,
|
|
31155
|
+
tabs: propTypes$1O.exports.arrayOf(propTypes$1O.exports.string)
|
|
31054
31156
|
});
|
|
31055
31157
|
function SpsProductBar(props2) {
|
|
31056
31158
|
const _a = props2, {
|
|
@@ -31273,10 +31375,10 @@ const propsDoc$H = {
|
|
|
31273
31375
|
onClose: "() => void"
|
|
31274
31376
|
};
|
|
31275
31377
|
const propTypes$K = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
31276
|
-
percentComplete: propTypes$
|
|
31277
|
-
title: propTypes$
|
|
31278
|
-
detail: propTypes$
|
|
31279
|
-
disabled: propTypes$
|
|
31378
|
+
percentComplete: propTypes$1O.exports.number,
|
|
31379
|
+
title: propTypes$1O.exports.string,
|
|
31380
|
+
detail: propTypes$1O.exports.string,
|
|
31381
|
+
disabled: propTypes$1O.exports.bool,
|
|
31280
31382
|
onClose: fun()
|
|
31281
31383
|
});
|
|
31282
31384
|
function SpsProgressBar(props2) {
|
|
@@ -31367,16 +31469,12 @@ const SpsSteppedProgressBarExamples = {
|
|
|
31367
31469
|
description: () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h4", null, "Building Stepped Progress Bars"), /* @__PURE__ */ React.createElement("p", null, "The Stepped Progress Bar is designed to expand to fit the entire width of its container. View the diagram above for rules regarding including or excluding certain elements.")),
|
|
31368
31470
|
react: code`
|
|
31369
31471
|
function Component() {
|
|
31370
|
-
const
|
|
31371
|
-
{index: 4, icon: SpsIcon.CALENDAR},
|
|
31372
|
-
{index: 8, icon: SpsIcon.CALENDAR},
|
|
31373
|
-
];
|
|
31374
|
-
const tooltipsData = [
|
|
31472
|
+
const data = [
|
|
31375
31473
|
{index: 0, title: 'Title 1', description: 'Description'},
|
|
31376
|
-
{index: 4, title: 'Title 5', description: 'Description'},
|
|
31377
|
-
{index: 8, title: 'Title 9', description: 'Description'},
|
|
31474
|
+
{index: 4, title: 'Title 5', description: 'Description', icon: SpsIcon.CALENDAR},
|
|
31475
|
+
{index: 8, title: 'Title 9', description: 'Description', icon: SpsIcon.CALENDAR},
|
|
31378
31476
|
{index: 11, title: 'Title 12', description: 'Description'},
|
|
31379
|
-
]
|
|
31477
|
+
];
|
|
31380
31478
|
|
|
31381
31479
|
return (
|
|
31382
31480
|
<SpsCard>
|
|
@@ -31385,8 +31483,7 @@ const SpsSteppedProgressBarExamples = {
|
|
|
31385
31483
|
showStepsCounter={true}
|
|
31386
31484
|
stepsCount={12}
|
|
31387
31485
|
completedStepsCount={4}
|
|
31388
|
-
|
|
31389
|
-
tooltipsData={tooltipsData}
|
|
31486
|
+
data={data}
|
|
31390
31487
|
/>
|
|
31391
31488
|
</SpsCard>
|
|
31392
31489
|
)
|
|
@@ -31397,16 +31494,11 @@ const SpsSteppedProgressBarExamples = {
|
|
|
31397
31494
|
description: () => /* @__PURE__ */ React.createElement("h4", null, "Alternate Color"),
|
|
31398
31495
|
react: code`
|
|
31399
31496
|
function Component() {
|
|
31400
|
-
const
|
|
31401
|
-
{index: 4, icon: SpsIcon.CALENDAR},
|
|
31402
|
-
{index: 8, icon: SpsIcon.CALENDAR},
|
|
31403
|
-
];
|
|
31404
|
-
const tooltipsData = [
|
|
31405
|
-
{index: 0, title: 'Title 1', description: 'Description'},
|
|
31406
|
-
{index: 4, title: 'Title 5', description: 'Description'},
|
|
31407
|
-
{index: 8, title: 'Title 9', description: 'Description'},
|
|
31497
|
+
const data = [
|
|
31498
|
+
{index: 4, title: 'Title 5', description: 'Description', icon: SpsIcon.CALENDAR},
|
|
31499
|
+
{index: 8, title: 'Title 9', description: 'Description', icon: SpsIcon.CALENDAR},
|
|
31408
31500
|
{index: 11, title: 'Title 12', description: 'Description'},
|
|
31409
|
-
]
|
|
31501
|
+
];
|
|
31410
31502
|
|
|
31411
31503
|
return (
|
|
31412
31504
|
<SpsCard>
|
|
@@ -31415,22 +31507,42 @@ const SpsSteppedProgressBarExamples = {
|
|
|
31415
31507
|
showStepsCounter={true}
|
|
31416
31508
|
stepsCount={12}
|
|
31417
31509
|
completedStepsCount={4}
|
|
31418
|
-
icons={iconsData}
|
|
31419
|
-
tooltipsData={tooltipsData}
|
|
31420
31510
|
color={SteppedProgressBarColor.GRAY}
|
|
31511
|
+
data={data}
|
|
31421
31512
|
/>
|
|
31422
31513
|
</SpsCard>
|
|
31423
31514
|
)
|
|
31424
31515
|
}
|
|
31425
31516
|
`
|
|
31426
31517
|
},
|
|
31518
|
+
skippedSteps: {
|
|
31519
|
+
description: () => /* @__PURE__ */ React.createElement("h4", null, "Skip steps"),
|
|
31520
|
+
react: code`
|
|
31521
|
+
function Component() {
|
|
31522
|
+
const data = [{index: 0, skipped: true}];
|
|
31523
|
+
|
|
31524
|
+
return (
|
|
31525
|
+
<SpsCard>
|
|
31526
|
+
<SpsSteppedProgressBar
|
|
31527
|
+
title="Process Name"
|
|
31528
|
+
showStepsCounter={true}
|
|
31529
|
+
stepsCount={12}
|
|
31530
|
+
completedStepsCount={7}
|
|
31531
|
+
data={data}
|
|
31532
|
+
/>
|
|
31533
|
+
</SpsCard>
|
|
31534
|
+
)
|
|
31535
|
+
}
|
|
31536
|
+
`
|
|
31537
|
+
},
|
|
31427
31538
|
completed: {
|
|
31428
31539
|
description: () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h4", null, "Completed State"), /* @__PURE__ */ React.createElement("p", null, "Once complete, the progress bar appears in green.")),
|
|
31429
31540
|
react: code`
|
|
31430
31541
|
function Component() {
|
|
31431
|
-
const
|
|
31432
|
-
{index: 4, icon: SpsIcon.CALENDAR},
|
|
31433
|
-
{index: 8, icon: SpsIcon.CALENDAR},
|
|
31542
|
+
const data = [
|
|
31543
|
+
{index: 4, title: 'Title 5', description: 'Description', icon: SpsIcon.CALENDAR},
|
|
31544
|
+
{index: 8, title: 'Title 9', description: 'Description', icon: SpsIcon.CALENDAR},
|
|
31545
|
+
{index: 11, title: 'Title 12', description: 'Description'},
|
|
31434
31546
|
];
|
|
31435
31547
|
|
|
31436
31548
|
return (
|
|
@@ -31440,7 +31552,7 @@ const SpsSteppedProgressBarExamples = {
|
|
|
31440
31552
|
showStepsCounter={true}
|
|
31441
31553
|
stepsCount={10}
|
|
31442
31554
|
completedStepsCount={10}
|
|
31443
|
-
|
|
31555
|
+
data={data}
|
|
31444
31556
|
/>
|
|
31445
31557
|
</SpsCard>
|
|
31446
31558
|
)
|
|
@@ -31451,18 +31563,12 @@ const SpsSteppedProgressBarExamples = {
|
|
|
31451
31563
|
description: () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h4", null, "Disabled State"), /* @__PURE__ */ React.createElement("p", null, "A disabled state is available for cases when progress is intentionally paused or user interaction needs to be restricted.")),
|
|
31452
31564
|
react: code`
|
|
31453
31565
|
function Component() {
|
|
31454
|
-
const iconsData = [
|
|
31455
|
-
{index: 4, icon: SpsIcon.CALENDAR},
|
|
31456
|
-
{index: 8, icon: SpsIcon.CALENDAR},
|
|
31457
|
-
];
|
|
31458
|
-
|
|
31459
31566
|
return (
|
|
31460
31567
|
<SpsCard>
|
|
31461
31568
|
<SpsSteppedProgressBar
|
|
31462
31569
|
title="Process Name"
|
|
31463
31570
|
stepsCount={10}
|
|
31464
31571
|
completedStepsCount={7}
|
|
31465
|
-
icons={iconsData}
|
|
31466
31572
|
disabled
|
|
31467
31573
|
/>
|
|
31468
31574
|
</SpsCard>
|
|
@@ -32012,19 +32118,17 @@ const propsDoc$F = {
|
|
|
32012
32118
|
completedStepsCount: "number",
|
|
32013
32119
|
disabled: "boolean",
|
|
32014
32120
|
showStepsCounter: "boolean",
|
|
32015
|
-
|
|
32016
|
-
|
|
32017
|
-
color: "SteppedProgressBarColor"
|
|
32121
|
+
color: "SteppedProgressBarColor",
|
|
32122
|
+
data: "SteppedProgressBarData[]"
|
|
32018
32123
|
};
|
|
32019
32124
|
const propTypes$I = {
|
|
32020
|
-
title: propTypes$
|
|
32021
|
-
stepsCount: propTypes$
|
|
32022
|
-
completedStepsCount: propTypes$
|
|
32023
|
-
disabled: propTypes$
|
|
32024
|
-
showStepsCounter: propTypes$
|
|
32025
|
-
|
|
32026
|
-
|
|
32027
|
-
color: enumValue(SteppedProgressBarColor)
|
|
32125
|
+
title: propTypes$1O.exports.string,
|
|
32126
|
+
stepsCount: propTypes$1O.exports.number,
|
|
32127
|
+
completedStepsCount: propTypes$1O.exports.number,
|
|
32128
|
+
disabled: propTypes$1O.exports.bool,
|
|
32129
|
+
showStepsCounter: propTypes$1O.exports.bool,
|
|
32130
|
+
color: enumValue(SteppedProgressBarColor),
|
|
32131
|
+
data: propTypes$1O.exports.arrayOf(impl())
|
|
32028
32132
|
};
|
|
32029
32133
|
function SpsSteppedProgressBar(props2) {
|
|
32030
32134
|
const {
|
|
@@ -32033,18 +32137,11 @@ function SpsSteppedProgressBar(props2) {
|
|
|
32033
32137
|
completedStepsCount = 0,
|
|
32034
32138
|
disabled,
|
|
32035
32139
|
showStepsCounter,
|
|
32036
|
-
icons,
|
|
32037
|
-
tooltipsData,
|
|
32038
32140
|
className,
|
|
32141
|
+
data,
|
|
32039
32142
|
color = SteppedProgressBarColor.PURPLE
|
|
32040
32143
|
} = props2;
|
|
32041
|
-
|
|
32042
|
-
return icons && icons.find((i2) => i2.index === idx);
|
|
32043
|
-
}
|
|
32044
|
-
function findTooltipData(idx) {
|
|
32045
|
-
return tooltipsData && tooltipsData.find((i2) => i2.index === idx);
|
|
32046
|
-
}
|
|
32047
|
-
const data = Array.from(Array(stepsCount)).map(() => useElementId(null).current);
|
|
32144
|
+
const dataSet = Array.from(Array(stepsCount)).map((_, index) => __spreadValues({ id: useElementId(null).current }, data == null ? void 0 : data.find((item) => item.index === index)));
|
|
32048
32145
|
const classes = clsx("sps-stepped-progress-bar", `sps-stepped-progress-bar--${color}`, completedStepsCount === stepsCount && "sps-stepped-progress-bar--complete", disabled && "sps-stepped-progress-bar--disabled", className);
|
|
32049
32146
|
return /* @__PURE__ */ React.createElement("div", {
|
|
32050
32147
|
className: classes
|
|
@@ -32058,18 +32155,18 @@ function SpsSteppedProgressBar(props2) {
|
|
|
32058
32155
|
className: "sps-stepped-progress-bar__percentage"
|
|
32059
32156
|
}, `${completedStepsCount} of ${stepsCount} Complete`)), /* @__PURE__ */ React.createElement("ul", {
|
|
32060
32157
|
className: "sps-stepped-progress-bar__bar-background d-flex align-items-center list-unstyled mb-0"
|
|
32061
|
-
},
|
|
32062
|
-
id:
|
|
32063
|
-
key:
|
|
32064
|
-
className: clsx("sps-stepped-progress-bar__step", completedStepsCount > index && "sps-stepped-progress-bar__step-complete")
|
|
32065
|
-
},
|
|
32066
|
-
icon:
|
|
32158
|
+
}, dataSet.map((item, index) => /* @__PURE__ */ React.createElement("li", {
|
|
32159
|
+
id: item.id,
|
|
32160
|
+
key: item.id,
|
|
32161
|
+
className: clsx("sps-stepped-progress-bar__step", completedStepsCount > index && !item.skipped && "sps-stepped-progress-bar__step-complete")
|
|
32162
|
+
}, item.icon && /* @__PURE__ */ React.createElement(SpsI, {
|
|
32163
|
+
icon: item.icon,
|
|
32067
32164
|
size: SpsIconSize.SMALL,
|
|
32068
|
-
className: clsx("d-block",
|
|
32069
|
-
}),
|
|
32070
|
-
for:
|
|
32071
|
-
title:
|
|
32072
|
-
},
|
|
32165
|
+
className: clsx("d-block", item.index > completedStepsCount - 1 ? "gray400" : "white")
|
|
32166
|
+
}), item.title && /* @__PURE__ */ React.createElement(SpsTooltip, {
|
|
32167
|
+
for: item.id,
|
|
32168
|
+
title: item.title
|
|
32169
|
+
}, item.description))))));
|
|
32073
32170
|
}
|
|
32074
32171
|
Object.assign(SpsSteppedProgressBar, {
|
|
32075
32172
|
props: propsDoc$F,
|
|
@@ -32182,16 +32279,16 @@ const propsDoc$E = {
|
|
|
32182
32279
|
value: "any"
|
|
32183
32280
|
};
|
|
32184
32281
|
const propTypes$H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32185
|
-
checked: propTypes$
|
|
32186
|
-
disabled: propTypes$
|
|
32282
|
+
checked: propTypes$1O.exports.bool,
|
|
32283
|
+
disabled: propTypes$1O.exports.bool,
|
|
32187
32284
|
formControl: impl(),
|
|
32188
32285
|
formMeta: impl(),
|
|
32189
|
-
inline: propTypes$
|
|
32190
|
-
label: propTypes$
|
|
32191
|
-
name: propTypes$
|
|
32286
|
+
inline: propTypes$1O.exports.bool,
|
|
32287
|
+
label: propTypes$1O.exports.string,
|
|
32288
|
+
name: propTypes$1O.exports.string.isRequired,
|
|
32192
32289
|
onChange: fun(),
|
|
32193
32290
|
ref: ref(),
|
|
32194
|
-
value: propTypes$
|
|
32291
|
+
value: propTypes$1O.exports.any
|
|
32195
32292
|
});
|
|
32196
32293
|
function SpsRadioButton(_y) {
|
|
32197
32294
|
var _z = _y, {
|
|
@@ -32357,7 +32454,7 @@ const propsDoc$D = {
|
|
|
32357
32454
|
maxHeight: "string"
|
|
32358
32455
|
};
|
|
32359
32456
|
const propTypes$G = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32360
|
-
maxHeight: propTypes$
|
|
32457
|
+
maxHeight: propTypes$1O.exports.string
|
|
32361
32458
|
});
|
|
32362
32459
|
function SpsScrollableContainer(props2) {
|
|
32363
32460
|
const {
|
|
@@ -33208,12 +33305,12 @@ const propsDoc$C = {
|
|
|
33208
33305
|
widthRem: "number"
|
|
33209
33306
|
};
|
|
33210
33307
|
const propTypes$F = __spreadValues({
|
|
33211
|
-
sortKey: propTypes$
|
|
33212
|
-
sortDisabled: propTypes$
|
|
33213
|
-
sort: propTypes$
|
|
33308
|
+
sortKey: propTypes$1O.exports.string,
|
|
33309
|
+
sortDisabled: propTypes$1O.exports.bool,
|
|
33310
|
+
sort: propTypes$1O.exports.arrayOf(impl()),
|
|
33214
33311
|
onSortChange: fun(),
|
|
33215
|
-
widthPx: propTypes$
|
|
33216
|
-
widthRem: propTypes$
|
|
33312
|
+
widthPx: propTypes$1O.exports.number,
|
|
33313
|
+
widthRem: propTypes$1O.exports.number
|
|
33217
33314
|
}, spsGlobalPropTypes);
|
|
33218
33315
|
function SpsSortingHeaderCell(_A) {
|
|
33219
33316
|
var _B = _A, {
|
|
@@ -33283,7 +33380,7 @@ const propsDoc$B = {
|
|
|
33283
33380
|
onSortChange: "SortChangeHandler"
|
|
33284
33381
|
};
|
|
33285
33382
|
const propTypes$E = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33286
|
-
sort: propTypes$
|
|
33383
|
+
sort: propTypes$1O.exports.arrayOf(impl()),
|
|
33287
33384
|
onSortChange: fun()
|
|
33288
33385
|
});
|
|
33289
33386
|
function SpsSortingHeader(_C) {
|
|
@@ -33361,12 +33458,12 @@ const propsDoc$A = {
|
|
|
33361
33458
|
options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
|
|
33362
33459
|
};
|
|
33363
33460
|
const propTypes$D = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33364
|
-
disabled: propTypes$
|
|
33365
|
-
href: propTypes$
|
|
33366
|
-
label: propTypes$
|
|
33461
|
+
disabled: propTypes$1O.exports.bool,
|
|
33462
|
+
href: propTypes$1O.exports.string,
|
|
33463
|
+
label: propTypes$1O.exports.string,
|
|
33367
33464
|
icon: enumValue(SpsIcon),
|
|
33368
33465
|
kind: enumValue(StdButtonKind),
|
|
33369
|
-
options: propTypes$
|
|
33466
|
+
options: propTypes$1O.exports.arrayOf(propTypes$1O.exports.oneOfType([propTypes$1O.exports.func, propTypes$1O.exports.any]))
|
|
33370
33467
|
});
|
|
33371
33468
|
function SpsSplitButton(props2) {
|
|
33372
33469
|
const _a = props2, {
|
|
@@ -33523,7 +33620,7 @@ const propsDoc$z = {
|
|
|
33523
33620
|
channelId: { type: "string", required: true }
|
|
33524
33621
|
};
|
|
33525
33622
|
const propTypes$C = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33526
|
-
channelId: propTypes$
|
|
33623
|
+
channelId: propTypes$1O.exports.string.isRequired
|
|
33527
33624
|
});
|
|
33528
33625
|
function SpsSlackLink(props2) {
|
|
33529
33626
|
const _a = props2, {
|
|
@@ -33605,8 +33702,8 @@ const propsDoc$x = {
|
|
|
33605
33702
|
onToggle: "(isExpanded: boolean) => void"
|
|
33606
33703
|
};
|
|
33607
33704
|
const propTypes$A = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33608
|
-
expanded: propTypes$
|
|
33609
|
-
selected: propTypes$
|
|
33705
|
+
expanded: propTypes$1O.exports.bool,
|
|
33706
|
+
selected: propTypes$1O.exports.bool,
|
|
33610
33707
|
onToggle: fun()
|
|
33611
33708
|
});
|
|
33612
33709
|
function SpsSummaryListRow(props2) {
|
|
@@ -33688,10 +33785,10 @@ const propsDoc$w = {
|
|
|
33688
33785
|
width: "string"
|
|
33689
33786
|
};
|
|
33690
33787
|
const propTypes$z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33691
|
-
borderless: propTypes$
|
|
33692
|
-
lean: propTypes$
|
|
33693
|
-
leaner: propTypes$
|
|
33694
|
-
width: propTypes$
|
|
33788
|
+
borderless: propTypes$1O.exports.bool,
|
|
33789
|
+
lean: propTypes$1O.exports.bool,
|
|
33790
|
+
leaner: propTypes$1O.exports.bool,
|
|
33791
|
+
width: propTypes$1O.exports.string
|
|
33695
33792
|
});
|
|
33696
33793
|
function SpsSummaryListColumn(props2) {
|
|
33697
33794
|
const _a = props2, {
|
|
@@ -34024,17 +34121,17 @@ const props = {
|
|
|
34024
34121
|
suppressTooltips: "boolean"
|
|
34025
34122
|
};
|
|
34026
34123
|
const propTypes$y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34027
|
-
tasks: propTypes$
|
|
34124
|
+
tasks: propTypes$1O.exports.arrayOf(propTypes$1O.exports.any),
|
|
34028
34125
|
taskQueuePosition: enumValue(Position),
|
|
34029
|
-
notificationText: propTypes$
|
|
34030
|
-
tooltipConfig: propTypes$
|
|
34126
|
+
notificationText: propTypes$1O.exports.string,
|
|
34127
|
+
tooltipConfig: propTypes$1O.exports.shape({
|
|
34031
34128
|
position: enumValue(Position),
|
|
34032
34129
|
kind: enumValue(TooltipKind)
|
|
34033
34130
|
}),
|
|
34034
34131
|
onClose: fun(),
|
|
34035
34132
|
onOpen: fun(),
|
|
34036
34133
|
onClearCompleted: fun(),
|
|
34037
|
-
suppressTooltips: propTypes$
|
|
34134
|
+
suppressTooltips: propTypes$1O.exports.bool
|
|
34038
34135
|
});
|
|
34039
34136
|
function SpsTaskQueue(_E) {
|
|
34040
34137
|
var _F = _E, {
|
|
@@ -34570,14 +34667,14 @@ const propsDoc$v = {
|
|
|
34570
34667
|
value: "string"
|
|
34571
34668
|
};
|
|
34572
34669
|
const propTypes$x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34573
|
-
disabled: propTypes$
|
|
34670
|
+
disabled: propTypes$1O.exports.bool,
|
|
34574
34671
|
formControl: impl(),
|
|
34575
34672
|
formMeta: impl(),
|
|
34576
34673
|
icon: enumValue(SpsIcon),
|
|
34577
|
-
name: propTypes$
|
|
34674
|
+
name: propTypes$1O.exports.string,
|
|
34578
34675
|
onChange: fun(),
|
|
34579
|
-
placeholder: propTypes$
|
|
34580
|
-
value: propTypes$
|
|
34676
|
+
placeholder: propTypes$1O.exports.string,
|
|
34677
|
+
value: propTypes$1O.exports.string
|
|
34581
34678
|
});
|
|
34582
34679
|
const SpsTextInput = React.forwardRef((_G, ref2) => {
|
|
34583
34680
|
var _H = _G, {
|
|
@@ -34767,15 +34864,15 @@ const propsDoc$u = {
|
|
|
34767
34864
|
value: "string"
|
|
34768
34865
|
};
|
|
34769
34866
|
const propTypes$w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34770
|
-
disabled: propTypes$
|
|
34867
|
+
disabled: propTypes$1O.exports.bool,
|
|
34771
34868
|
formControl: impl(),
|
|
34772
34869
|
formMeta: impl(),
|
|
34773
|
-
name: propTypes$
|
|
34870
|
+
name: propTypes$1O.exports.string,
|
|
34774
34871
|
onChange: fun(),
|
|
34775
|
-
placeholder: propTypes$
|
|
34872
|
+
placeholder: propTypes$1O.exports.string,
|
|
34776
34873
|
ref: ref(),
|
|
34777
|
-
rows: propTypes$
|
|
34778
|
-
value: propTypes$
|
|
34874
|
+
rows: propTypes$1O.exports.number,
|
|
34875
|
+
value: propTypes$1O.exports.string
|
|
34779
34876
|
});
|
|
34780
34877
|
function SpsTextarea(_I) {
|
|
34781
34878
|
var _J = _I, {
|
|
@@ -34970,12 +35067,12 @@ const propsDoc$t = {
|
|
|
34970
35067
|
warning: "boolean"
|
|
34971
35068
|
};
|
|
34972
35069
|
const propTypes$v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34973
|
-
href: propTypes$
|
|
34974
|
-
target: propTypes$
|
|
35070
|
+
href: propTypes$1O.exports.string,
|
|
35071
|
+
target: propTypes$1O.exports.string,
|
|
34975
35072
|
icon: nodeOrRenderFn.isRequired,
|
|
34976
|
-
error: propTypes$
|
|
34977
|
-
title: propTypes$
|
|
34978
|
-
warning: propTypes$
|
|
35073
|
+
error: propTypes$1O.exports.bool,
|
|
35074
|
+
title: propTypes$1O.exports.string.isRequired,
|
|
35075
|
+
warning: propTypes$1O.exports.bool
|
|
34979
35076
|
});
|
|
34980
35077
|
function SpsTile(props2) {
|
|
34981
35078
|
const _a = props2, {
|
|
@@ -35294,10 +35391,10 @@ const propsDoc$r = {
|
|
|
35294
35391
|
active: "boolean"
|
|
35295
35392
|
};
|
|
35296
35393
|
const propTypes$t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35297
|
-
value: propTypes$
|
|
35298
|
-
title: propTypes$
|
|
35394
|
+
value: propTypes$1O.exports.number.isRequired,
|
|
35395
|
+
title: propTypes$1O.exports.string.isRequired,
|
|
35299
35396
|
kind: enumValue(SpsFilterTileKind),
|
|
35300
|
-
active: propTypes$
|
|
35397
|
+
active: propTypes$1O.exports.bool
|
|
35301
35398
|
});
|
|
35302
35399
|
function SpsFilterTile(props2) {
|
|
35303
35400
|
const _a = props2, {
|
|
@@ -35435,18 +35532,18 @@ const propsDoc$p = {
|
|
|
35435
35532
|
onChange: "(isActive: boolean) => void"
|
|
35436
35533
|
};
|
|
35437
35534
|
const propTypes$r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35438
|
-
active: propTypes$
|
|
35439
|
-
activeDescription: deprecated(propTypes$
|
|
35440
|
-
activeLabel: deprecated(propTypes$
|
|
35441
|
-
description: propTypes$
|
|
35442
|
-
disabled: propTypes$
|
|
35535
|
+
active: propTypes$1O.exports.bool,
|
|
35536
|
+
activeDescription: deprecated(propTypes$1O.exports.string),
|
|
35537
|
+
activeLabel: deprecated(propTypes$1O.exports.string),
|
|
35538
|
+
description: propTypes$1O.exports.string,
|
|
35539
|
+
disabled: propTypes$1O.exports.bool,
|
|
35443
35540
|
formControl: impl(),
|
|
35444
35541
|
formMeta: impl(),
|
|
35445
|
-
id: propTypes$
|
|
35446
|
-
inactiveDescription: deprecated(propTypes$
|
|
35447
|
-
inactiveLabel: deprecated(propTypes$
|
|
35448
|
-
label: propTypes$
|
|
35449
|
-
large: propTypes$
|
|
35542
|
+
id: propTypes$1O.exports.string,
|
|
35543
|
+
inactiveDescription: deprecated(propTypes$1O.exports.string),
|
|
35544
|
+
inactiveLabel: deprecated(propTypes$1O.exports.string),
|
|
35545
|
+
label: propTypes$1O.exports.string,
|
|
35546
|
+
large: propTypes$1O.exports.bool,
|
|
35450
35547
|
onChange: fun(),
|
|
35451
35548
|
ref: ref()
|
|
35452
35549
|
});
|
|
@@ -35632,7 +35729,7 @@ const propsDoc$o = {
|
|
|
35632
35729
|
icon: "SpsIcon"
|
|
35633
35730
|
};
|
|
35634
35731
|
const propTypes$q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35635
|
-
heading: propTypes$
|
|
35732
|
+
heading: propTypes$1O.exports.string,
|
|
35636
35733
|
icon: enumValue(SpsIcon)
|
|
35637
35734
|
});
|
|
35638
35735
|
function SpsWorkflow(props2) {
|
|
@@ -35684,7 +35781,7 @@ const propsDoc$n = {
|
|
|
35684
35781
|
progress: "number"
|
|
35685
35782
|
};
|
|
35686
35783
|
const propTypes$p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35687
|
-
progress: propTypes$
|
|
35784
|
+
progress: propTypes$1O.exports.number,
|
|
35688
35785
|
size: enumValue(RingSize)
|
|
35689
35786
|
});
|
|
35690
35787
|
function SpsProgressRing({
|
|
@@ -35729,7 +35826,7 @@ const propsDoc$m = {
|
|
|
35729
35826
|
phases: "WizardPhase[]"
|
|
35730
35827
|
};
|
|
35731
35828
|
const propTypes$o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35732
|
-
phases: propTypes$
|
|
35829
|
+
phases: propTypes$1O.exports.arrayOf(impl())
|
|
35733
35830
|
});
|
|
35734
35831
|
const CSS_BLOCK$2 = "sps-wizard-sidebar";
|
|
35735
35832
|
function SpsWizardSidebar({
|
|
@@ -35780,10 +35877,10 @@ const propsDoc$l = {
|
|
|
35780
35877
|
};
|
|
35781
35878
|
const propTypes$n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35782
35879
|
condition: enumValue(WizardSubstepConditions).isRequired,
|
|
35783
|
-
display: propTypes$
|
|
35784
|
-
orderPosition: propTypes$
|
|
35785
|
-
propTypes$
|
|
35786
|
-
propTypes$
|
|
35880
|
+
display: propTypes$1O.exports.string.isRequired,
|
|
35881
|
+
orderPosition: propTypes$1O.exports.oneOfType([
|
|
35882
|
+
propTypes$1O.exports.string,
|
|
35883
|
+
propTypes$1O.exports.number
|
|
35787
35884
|
]).isRequired
|
|
35788
35885
|
});
|
|
35789
35886
|
function SpsWizardSubstep(props2) {
|
|
@@ -35984,7 +36081,7 @@ const propsDoc$i = {
|
|
|
35984
36081
|
};
|
|
35985
36082
|
const propTypes$k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35986
36083
|
icon: enumValue(SpsIcon).isRequired,
|
|
35987
|
-
title: propTypes$
|
|
36084
|
+
title: propTypes$1O.exports.string.isRequired
|
|
35988
36085
|
});
|
|
35989
36086
|
function SpsWorkflowStep(props2) {
|
|
35990
36087
|
const _a = props2, {
|
|
@@ -36096,10 +36193,10 @@ const propsDoc$h = {
|
|
|
36096
36193
|
subHeading: "string"
|
|
36097
36194
|
};
|
|
36098
36195
|
const propTypes$j = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36099
|
-
illustration: propTypes$
|
|
36100
|
-
artwork: propTypes$
|
|
36101
|
-
heading: propTypes$
|
|
36102
|
-
subHeading: propTypes$
|
|
36196
|
+
illustration: propTypes$1O.exports.string,
|
|
36197
|
+
artwork: propTypes$1O.exports.string,
|
|
36198
|
+
heading: propTypes$1O.exports.string.isRequired,
|
|
36199
|
+
subHeading: propTypes$1O.exports.string
|
|
36103
36200
|
});
|
|
36104
36201
|
function SpsZeroState(props2) {
|
|
36105
36202
|
const _a = props2, {
|
|
@@ -36157,7 +36254,7 @@ const propsDoc$g = {
|
|
|
36157
36254
|
subHeading: "ReactNodeOrRenderFn"
|
|
36158
36255
|
};
|
|
36159
36256
|
const propTypes$i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36160
|
-
illustration: propTypes$
|
|
36257
|
+
illustration: propTypes$1O.exports.string,
|
|
36161
36258
|
icon: enumValue(SpsIcon),
|
|
36162
36259
|
heading: nodeOrRenderFn,
|
|
36163
36260
|
subHeading: nodeOrRenderFn
|
|
@@ -36397,10 +36494,10 @@ const propsDoc$e = {
|
|
|
36397
36494
|
onCollapse: "() => void"
|
|
36398
36495
|
};
|
|
36399
36496
|
const propTypes$g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36400
|
-
title: propTypes$
|
|
36401
|
-
expanded: propTypes$
|
|
36402
|
-
heightPx: propTypes$
|
|
36403
|
-
heightRem: propTypes$
|
|
36497
|
+
title: propTypes$1O.exports.string,
|
|
36498
|
+
expanded: propTypes$1O.exports.bool,
|
|
36499
|
+
heightPx: propTypes$1O.exports.number,
|
|
36500
|
+
heightRem: propTypes$1O.exports.number,
|
|
36404
36501
|
onExpand: fun(),
|
|
36405
36502
|
onCollapse: fun()
|
|
36406
36503
|
});
|
|
@@ -36826,9 +36923,9 @@ const propsDoc$c = {
|
|
|
36826
36923
|
onFilterChange: "ChangeEventHandler<HTMLInputElement>"
|
|
36827
36924
|
};
|
|
36828
36925
|
const propTypes$e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36829
|
-
value: propTypes$
|
|
36830
|
-
placeholder: propTypes$
|
|
36831
|
-
formMeta: propTypes$
|
|
36926
|
+
value: propTypes$1O.exports.string,
|
|
36927
|
+
placeholder: propTypes$1O.exports.string,
|
|
36928
|
+
formMeta: propTypes$1O.exports.oneOfType([
|
|
36832
36929
|
impl(),
|
|
36833
36930
|
impl()
|
|
36834
36931
|
]),
|
|
@@ -36868,7 +36965,7 @@ const propsDoc$b = {
|
|
|
36868
36965
|
showCondition: "boolean"
|
|
36869
36966
|
};
|
|
36870
36967
|
const propTypes$d = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36871
|
-
showCondition: propTypes$
|
|
36968
|
+
showCondition: propTypes$1O.exports.bool
|
|
36872
36969
|
});
|
|
36873
36970
|
function SpsConditionalField(_S) {
|
|
36874
36971
|
var _T = _S, {
|
|
@@ -37209,7 +37306,8 @@ const MANIFEST = {
|
|
|
37209
37306
|
components: [
|
|
37210
37307
|
SpsListToolbar,
|
|
37211
37308
|
SpsListToolbarSearch,
|
|
37212
|
-
SpsListToolbarSearchInfo
|
|
37309
|
+
SpsListToolbarSearchInfo,
|
|
37310
|
+
SpsListToolbarSortBy
|
|
37213
37311
|
],
|
|
37214
37312
|
examples: SpsListToolbarExamples
|
|
37215
37313
|
},
|
|
@@ -37401,7 +37499,7 @@ const propTypes$c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
|
37401
37499
|
minDate: impl(),
|
|
37402
37500
|
onNewSelection: fun().isRequired,
|
|
37403
37501
|
selectedDate: impl(),
|
|
37404
|
-
selectedRange: propTypes$
|
|
37502
|
+
selectedRange: propTypes$1O.exports.arrayOf(impl())
|
|
37405
37503
|
});
|
|
37406
37504
|
const CSS_ELEMENT$1 = "sps-datepicker__calendar";
|
|
37407
37505
|
function determineViewMonth({
|
|
@@ -37527,7 +37625,7 @@ Object.assign(SpsDatepickerCalendar, {
|
|
|
37527
37625
|
const CSS_ELEMENT = "sps-datepicker__popup";
|
|
37528
37626
|
const propTypes$b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37529
37627
|
attachTo: ref().isRequired,
|
|
37530
|
-
isOpen: propTypes$
|
|
37628
|
+
isOpen: propTypes$1O.exports.bool.isRequired
|
|
37531
37629
|
});
|
|
37532
37630
|
const SpsDatepickerPopup = React.forwardRef((_U, ref2) => {
|
|
37533
37631
|
var _V = _U, {
|
|
@@ -37565,7 +37663,7 @@ const propsDoc$a = {
|
|
|
37565
37663
|
value: "SimpleDate"
|
|
37566
37664
|
};
|
|
37567
37665
|
const propTypes$a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37568
|
-
disabled: propTypes$
|
|
37666
|
+
disabled: propTypes$1O.exports.bool,
|
|
37569
37667
|
formMeta: impl(),
|
|
37570
37668
|
maxDate: impl(),
|
|
37571
37669
|
minDate: impl(),
|
|
@@ -37690,12 +37788,12 @@ const propsDoc$9 = {
|
|
|
37690
37788
|
value: "SimpleDateRange | DatePreset"
|
|
37691
37789
|
};
|
|
37692
37790
|
const propTypes$9 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37693
|
-
disabled: propTypes$
|
|
37791
|
+
disabled: propTypes$1O.exports.bool,
|
|
37694
37792
|
formMeta: impl(),
|
|
37695
37793
|
maxDate: impl(),
|
|
37696
37794
|
minDate: impl(),
|
|
37697
37795
|
onChange: fun(),
|
|
37698
|
-
presets: propTypes$
|
|
37796
|
+
presets: propTypes$1O.exports.arrayOf(impl())
|
|
37699
37797
|
});
|
|
37700
37798
|
const CSS_BLOCK = "sps-datepicker";
|
|
37701
37799
|
const DEFAULT_PRESETS = [
|
|
@@ -37921,12 +38019,12 @@ const propsDoc$8 = {
|
|
|
37921
38019
|
value: "number"
|
|
37922
38020
|
};
|
|
37923
38021
|
const propTypes$8 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37924
|
-
disabled: propTypes$
|
|
38022
|
+
disabled: propTypes$1O.exports.bool,
|
|
37925
38023
|
formMeta: impl(),
|
|
37926
|
-
name: propTypes$
|
|
38024
|
+
name: propTypes$1O.exports.string,
|
|
37927
38025
|
onChange: fun(),
|
|
37928
38026
|
ref: ref(),
|
|
37929
|
-
value: propTypes$
|
|
38027
|
+
value: propTypes$1O.exports.number
|
|
37930
38028
|
});
|
|
37931
38029
|
function strToDollars(str) {
|
|
37932
38030
|
return str ? Number.parseInt(str.replace(/[^\d]/g, ""), 10) / 100 : null;
|
|
@@ -38101,10 +38199,10 @@ const propsDoc$7 = {
|
|
|
38101
38199
|
};
|
|
38102
38200
|
const propTypes$7 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38103
38201
|
color: enumValue(TagKind),
|
|
38104
|
-
href: propTypes$
|
|
38202
|
+
href: propTypes$1O.exports.string,
|
|
38105
38203
|
icon: enumValue(SpsIcon),
|
|
38106
|
-
tagKey: propTypes$
|
|
38107
|
-
value: propTypes$
|
|
38204
|
+
tagKey: propTypes$1O.exports.string.isRequired,
|
|
38205
|
+
value: propTypes$1O.exports.string.isRequired
|
|
38108
38206
|
});
|
|
38109
38207
|
function SpsKeyValueTag(props2) {
|
|
38110
38208
|
const _a = props2, {
|
|
@@ -38197,8 +38295,8 @@ const propsDoc$6 = {
|
|
|
38197
38295
|
header: "string | () => string"
|
|
38198
38296
|
};
|
|
38199
38297
|
const propTypes$6 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38200
|
-
header: propTypes$
|
|
38201
|
-
propTypes$
|
|
38298
|
+
header: propTypes$1O.exports.oneOfType([
|
|
38299
|
+
propTypes$1O.exports.string,
|
|
38202
38300
|
fun()
|
|
38203
38301
|
])
|
|
38204
38302
|
});
|
|
@@ -38230,8 +38328,8 @@ const propsDoc$5 = {
|
|
|
38230
38328
|
backdrop: "string"
|
|
38231
38329
|
};
|
|
38232
38330
|
const propTypes$5 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38233
|
-
onOverlayClick: propTypes$
|
|
38234
|
-
backdrop: propTypes$
|
|
38331
|
+
onOverlayClick: propTypes$1O.exports.func,
|
|
38332
|
+
backdrop: propTypes$1O.exports.string
|
|
38235
38333
|
});
|
|
38236
38334
|
function SpsModalOverlay(props2) {
|
|
38237
38335
|
const _a = props2, {
|
|
@@ -38301,12 +38399,12 @@ const propsDoc$3 = {
|
|
|
38301
38399
|
closeModal: "() => void"
|
|
38302
38400
|
};
|
|
38303
38401
|
const propTypes$3 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38304
|
-
handleAsync: propTypes$
|
|
38305
|
-
turnAsyncOn: propTypes$
|
|
38306
|
-
turnAsyncOff: propTypes$
|
|
38307
|
-
isAsyncOn: propTypes$
|
|
38402
|
+
handleAsync: propTypes$1O.exports.shape({
|
|
38403
|
+
turnAsyncOn: propTypes$1O.exports.func,
|
|
38404
|
+
turnAsyncOff: propTypes$1O.exports.func,
|
|
38405
|
+
isAsyncOn: propTypes$1O.exports.bool
|
|
38308
38406
|
}),
|
|
38309
|
-
closeModal: propTypes$
|
|
38407
|
+
closeModal: propTypes$1O.exports.func
|
|
38310
38408
|
});
|
|
38311
38409
|
function SpsModalFooter(props2) {
|
|
38312
38410
|
const {
|
|
@@ -38348,10 +38446,10 @@ const propsDoc$2 = {
|
|
|
38348
38446
|
const propTypes$2 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38349
38447
|
kind: enumValue(ButtonKind),
|
|
38350
38448
|
closeModal: fun(),
|
|
38351
|
-
handleAsync: propTypes$
|
|
38352
|
-
turnAsyncOn: propTypes$
|
|
38353
|
-
turnAsyncOff: propTypes$
|
|
38354
|
-
isAsyncOn: propTypes$
|
|
38449
|
+
handleAsync: propTypes$1O.exports.shape({
|
|
38450
|
+
turnAsyncOn: propTypes$1O.exports.func,
|
|
38451
|
+
turnAsyncOff: propTypes$1O.exports.func,
|
|
38452
|
+
isAsyncOn: propTypes$1O.exports.bool
|
|
38355
38453
|
})
|
|
38356
38454
|
});
|
|
38357
38455
|
function SpsModalAction(props2) {
|
|
@@ -38406,18 +38504,18 @@ const propsDoc$1 = {
|
|
|
38406
38504
|
onClose: "Function"
|
|
38407
38505
|
};
|
|
38408
38506
|
const propTypes$1 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38409
|
-
kind: propTypes$
|
|
38410
|
-
id: propTypes$
|
|
38411
|
-
isOpen: propTypes$
|
|
38412
|
-
header: propTypes$
|
|
38413
|
-
propTypes$
|
|
38507
|
+
kind: propTypes$1O.exports.string,
|
|
38508
|
+
id: propTypes$1O.exports.string,
|
|
38509
|
+
isOpen: propTypes$1O.exports.bool,
|
|
38510
|
+
header: propTypes$1O.exports.oneOfType([
|
|
38511
|
+
propTypes$1O.exports.string,
|
|
38414
38512
|
fun()
|
|
38415
38513
|
]),
|
|
38416
|
-
onClose: propTypes$
|
|
38417
|
-
onOpen: propTypes$
|
|
38418
|
-
size: propTypes$
|
|
38419
|
-
backdrop: propTypes$
|
|
38420
|
-
actionRequired: propTypes$
|
|
38514
|
+
onClose: propTypes$1O.exports.func,
|
|
38515
|
+
onOpen: propTypes$1O.exports.func,
|
|
38516
|
+
size: propTypes$1O.exports.string,
|
|
38517
|
+
backdrop: propTypes$1O.exports.string,
|
|
38518
|
+
actionRequired: propTypes$1O.exports.bool
|
|
38421
38519
|
});
|
|
38422
38520
|
function SpsModal(modalProps) {
|
|
38423
38521
|
let lastFocusable;
|
|
@@ -38671,4 +38769,4 @@ Object.assign(SpsVr, {
|
|
|
38671
38769
|
propTypes,
|
|
38672
38770
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
38673
38771
|
});
|
|
38674
|
-
export { AsTypingErrorKeys, ContentOrderExample, DEFAULT_PRESETS, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, OnSubmitErrorKeys, PortalContext, PreventativeErrorKeys, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsAutocomplete, SpsAutocompleteExamples, SpsButton, SpsButtonExamples, SpsButtonGroup, SpsCard, SpsCardExamples, SpsCardTabbedPane, SpsCardV2, SpsCardV2Footer, SpsCardV2Header, SpsCardV2Title, SpsCheckbox, SpsCheckboxDropdown, SpsCheckboxExamples, SpsClickableTag, SpsClickableTagExamples, SpsColumnChooser, SpsColumnChooserColumn, SpsColumnChooserExamples, SpsConditionalField, SpsConditionalFieldExamples, SpsContentRow, SpsContentRowCol, SpsContentRowExamples, SpsContentRowExpansion, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateRangePickerV2, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, SpsDatepickerV2, SpsDatetimeExamples, SpsDd, SpsDescriptionList, SpsDescriptionListDefinition, SpsDescriptionListExamples, SpsDescriptionListTerm, SpsDl, SpsDropdown, SpsDropdownExamples, SpsDt, SpsFeedbackBlock, SpsFeedbackBlockExamples, SpsFieldset, SpsFieldsetExamples, SpsFilterPanel, SpsFilterPanelCap, SpsFilterPanelExamples, SpsFilterPanelFilterBox, SpsFilterPanelSection, SpsFilterTile, SpsFilterTileList, SpsFilterTileListExamples, SpsFocusedTask, SpsFocusedTaskActions, SpsFocusedTaskExamples, SpsForm, SpsFormArrayMeta, SpsFormComponentWrapper, SpsFormExamples, SpsFormFieldMeta, SpsFormGroupMeta, SpsFormMetaBase, SpsFormSetMeta, SpsGrowler, SpsGrowlerExamples, SpsI, SpsIconButtonPanel, SpsIncrementor, SpsIncrementorExamples, SpsInputGroup, SpsInsightTile, SpsInsights, SpsKeyValueList, SpsKeyValueListExamples, SpsKeyValueListItem, SpsKeyValueTag, SpsKeyValueTagExamples, SpsLabel, SpsLabelExamples, SpsListActionBar, SpsListActionBarExamples, SpsListToolbar, SpsListToolbarExamples, SpsListToolbarSearch, SpsListToolbarSearchInfo, SpsMicroBlock, SpsMicroBlockExamples, SpsMicroZeroState, SpsModal, SpsModalAction, SpsModalBody, SpsModalExamples, SpsModalFooter, SpsModalHeader, SpsModalOverlay, SpsModalV2, SpsModalV2Footer, SpsMultiSelect, SpsMultiSelectExamples, SpsPageSelector, SpsPageSubtitle, SpsPageTitle, SpsPageTitleExamples, SpsPagination, SpsPaginationExamples, SpsProductBar, SpsProductBarExamples, SpsProductBarTab, SpsProgressBar, SpsProgressBarExamples, SpsProgressRing, SpsRadioButton, SpsRadioButtonExamples, SpsScrollableContainer, SpsScrollableContainerExamples, SpsSearchResultsBar, SpsSearchResultsBarExamples, SpsSearchResultsBarV2, SpsSelect, SpsSelectExamples, SpsSideNav, SpsSideNavExamples, SpsSlackLink, SpsSlackLinkExamples, SpsSortingHeader, SpsSortingHeaderCell, SpsSortingHeaderExamples, SpsSpinner, SpsSpinnerExamples, SpsSplitButton, SpsSplitButtonExamples, SpsSteppedProgressBar, SpsSteppedProgressBarExamples, SpsSummaryListColumn, SpsSummaryListExamples, SpsSummaryListExpansion, SpsSummaryListRow, SpsTab, SpsTabPanel, SpsTable, SpsTableBody, SpsTableCell, SpsTableExamples, SpsTableHead, SpsTableHeader, SpsTableRow, SpsTabsV2, SpsTag, SpsTagExamples, SpsTaskQueue, SpsTaskQueueExamples, SpsTbody, SpsTd, SpsTextInput, SpsTextInputExamples, SpsTextarea, SpsTextareaExamples, SpsTh, SpsThead, SpsTile, SpsTileList, SpsTileListExamples, SpsToggle, SpsToggleExamples, SpsTooltip, SpsTooltipExamples, SpsTooltipTitle, SpsTr, SpsValidators, SpsVerticalRule, SpsVr, SpsWf, SpsWfDoc, SpsWfDs, SpsWfStep, SpsWizardExamples, SpsWizardSidebar, SpsWizardSubstep, SpsWorkflow, SpsWorkflowDocument, SpsWorkflowDocumentStatus, SpsWorkflowExamples, SpsWorkflowStep, SpsZeroState, SpsZeroStateExamples, TooltipVisibility, ValidationMode, addOnChangeErrorKey, addOnSubmitErrorKey, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useCustomValidator, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };
|
|
38772
|
+
export { AsTypingErrorKeys, ContentOrderExample, DEFAULT_PRESETS, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, OnSubmitErrorKeys, PortalContext, PreventativeErrorKeys, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsAutocomplete, SpsAutocompleteExamples, SpsButton, SpsButtonExamples, SpsButtonGroup, SpsCard, SpsCardExamples, SpsCardTabbedPane, SpsCardV2, SpsCardV2Footer, SpsCardV2Header, SpsCardV2Title, SpsCheckbox, SpsCheckboxDropdown, SpsCheckboxExamples, SpsClickableTag, SpsClickableTagExamples, SpsColumnChooser, SpsColumnChooserColumn, SpsColumnChooserExamples, SpsConditionalField, SpsConditionalFieldExamples, SpsContentRow, SpsContentRowCol, SpsContentRowExamples, SpsContentRowExpansion, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateRangePickerV2, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, SpsDatepickerV2, SpsDatetimeExamples, SpsDd, SpsDescriptionList, SpsDescriptionListDefinition, SpsDescriptionListExamples, SpsDescriptionListTerm, SpsDl, SpsDropdown, SpsDropdownExamples, SpsDt, SpsFeedbackBlock, SpsFeedbackBlockExamples, SpsFieldset, SpsFieldsetExamples, SpsFilterPanel, SpsFilterPanelCap, SpsFilterPanelExamples, SpsFilterPanelFilterBox, SpsFilterPanelSection, SpsFilterTile, SpsFilterTileList, SpsFilterTileListExamples, SpsFocusedTask, SpsFocusedTaskActions, SpsFocusedTaskExamples, SpsForm, SpsFormArrayMeta, SpsFormComponentWrapper, SpsFormExamples, SpsFormFieldMeta, SpsFormGroupMeta, SpsFormMetaBase, SpsFormSetMeta, SpsGrowler, SpsGrowlerExamples, SpsI, SpsIconButtonPanel, SpsIncrementor, SpsIncrementorExamples, SpsInputGroup, SpsInsightTile, SpsInsights, SpsKeyValueList, SpsKeyValueListExamples, SpsKeyValueListItem, SpsKeyValueTag, SpsKeyValueTagExamples, SpsLabel, SpsLabelExamples, SpsListActionBar, SpsListActionBarExamples, SpsListToolbar, SpsListToolbarExamples, SpsListToolbarSearch, SpsListToolbarSearchInfo, SpsListToolbarSortBy, SpsMicroBlock, SpsMicroBlockExamples, SpsMicroZeroState, SpsModal, SpsModalAction, SpsModalBody, SpsModalExamples, SpsModalFooter, SpsModalHeader, SpsModalOverlay, SpsModalV2, SpsModalV2Footer, SpsMultiSelect, SpsMultiSelectExamples, SpsPageSelector, SpsPageSubtitle, SpsPageTitle, SpsPageTitleExamples, SpsPagination, SpsPaginationExamples, SpsProductBar, SpsProductBarExamples, SpsProductBarTab, SpsProgressBar, SpsProgressBarExamples, SpsProgressRing, SpsRadioButton, SpsRadioButtonExamples, SpsScrollableContainer, SpsScrollableContainerExamples, SpsSearchResultsBar, SpsSearchResultsBarExamples, SpsSearchResultsBarV2, SpsSelect, SpsSelectExamples, SpsSideNav, SpsSideNavExamples, SpsSlackLink, SpsSlackLinkExamples, SpsSortingHeader, SpsSortingHeaderCell, SpsSortingHeaderExamples, SpsSpinner, SpsSpinnerExamples, SpsSplitButton, SpsSplitButtonExamples, SpsSteppedProgressBar, SpsSteppedProgressBarExamples, SpsSummaryListColumn, SpsSummaryListExamples, SpsSummaryListExpansion, SpsSummaryListRow, SpsTab, SpsTabPanel, SpsTable, SpsTableBody, SpsTableCell, SpsTableExamples, SpsTableHead, SpsTableHeader, SpsTableRow, SpsTabsV2, SpsTag, SpsTagExamples, SpsTaskQueue, SpsTaskQueueExamples, SpsTbody, SpsTd, SpsTextInput, SpsTextInputExamples, SpsTextarea, SpsTextareaExamples, SpsTh, SpsThead, SpsTile, SpsTileList, SpsTileListExamples, SpsToggle, SpsToggleExamples, SpsTooltip, SpsTooltipExamples, SpsTooltipTitle, SpsTr, SpsValidators, SpsVerticalRule, SpsVr, SpsWf, SpsWfDoc, SpsWfDs, SpsWfStep, SpsWizardExamples, SpsWizardSidebar, SpsWizardSubstep, SpsWorkflow, SpsWorkflowDocument, SpsWorkflowDocumentStatus, SpsWorkflowExamples, SpsWorkflowStep, SpsZeroState, SpsZeroStateExamples, TooltipVisibility, ValidationMode, addOnChangeErrorKey, addOnSubmitErrorKey, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useCustomValidator, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };
|