@spscommerce/ds-react 6.26.1 → 6.28.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.es.js
CHANGED
|
@@ -80,7 +80,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
|
80
80
|
function commonjsRequire(path) {
|
|
81
81
|
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.');
|
|
82
82
|
}
|
|
83
|
-
var propTypes$
|
|
83
|
+
var propTypes$1I = { exports: {} };
|
|
84
84
|
var ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
85
85
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
|
86
86
|
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
@@ -128,29 +128,29 @@ var factoryWithThrowingShims = function() {
|
|
|
128
128
|
return ReactPropTypes;
|
|
129
129
|
};
|
|
130
130
|
{
|
|
131
|
-
propTypes$
|
|
131
|
+
propTypes$1I.exports = factoryWithThrowingShims();
|
|
132
132
|
}
|
|
133
133
|
function enumValue(e2) {
|
|
134
|
-
return propTypes$
|
|
134
|
+
return propTypes$1I.exports.oneOf(values$1(e2));
|
|
135
135
|
}
|
|
136
136
|
function fun() {
|
|
137
|
-
return propTypes$
|
|
137
|
+
return propTypes$1I.exports.func;
|
|
138
138
|
}
|
|
139
139
|
function impl() {
|
|
140
|
-
return propTypes$
|
|
140
|
+
return propTypes$1I.exports.object;
|
|
141
141
|
}
|
|
142
142
|
function ref() {
|
|
143
|
-
return propTypes$
|
|
143
|
+
return propTypes$1I.exports.object;
|
|
144
144
|
}
|
|
145
|
-
const nodeOrRenderFn = propTypes$
|
|
145
|
+
const nodeOrRenderFn = propTypes$1I.exports.oneOfType([propTypes$1I.exports.node, propTypes$1I.exports.func]);
|
|
146
146
|
const spsGlobalPropTypes = {
|
|
147
|
-
children: propTypes$
|
|
148
|
-
className: propTypes$
|
|
149
|
-
"data-testid": propTypes$
|
|
150
|
-
unsafelyReplaceClassName: propTypes$
|
|
147
|
+
children: propTypes$1I.exports.oneOfType([propTypes$1I.exports.arrayOf(propTypes$1I.exports.node), propTypes$1I.exports.node]),
|
|
148
|
+
className: propTypes$1I.exports.string,
|
|
149
|
+
"data-testid": propTypes$1I.exports.string,
|
|
150
|
+
unsafelyReplaceClassName: propTypes$1I.exports.string
|
|
151
151
|
};
|
|
152
152
|
const I18nContext = React.createContext(noI18nI18n);
|
|
153
|
-
const propsDoc$
|
|
153
|
+
const propsDoc$1D = {
|
|
154
154
|
disabled: "boolean",
|
|
155
155
|
href: "string",
|
|
156
156
|
icon: "SpsIcon",
|
|
@@ -159,13 +159,13 @@ const propsDoc$1C = {
|
|
|
159
159
|
spinningTitle: "string",
|
|
160
160
|
type: "ButtonType"
|
|
161
161
|
};
|
|
162
|
-
const propTypes$
|
|
163
|
-
disabled: propTypes$
|
|
164
|
-
href: propTypes$
|
|
162
|
+
const propTypes$1H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
163
|
+
disabled: propTypes$1I.exports.bool,
|
|
164
|
+
href: propTypes$1I.exports.string,
|
|
165
165
|
icon: enumValue(SpsIcon),
|
|
166
166
|
kind: enumValue(ButtonKind),
|
|
167
|
-
spinning: propTypes$
|
|
168
|
-
spinningTitle: propTypes$
|
|
167
|
+
spinning: propTypes$1I.exports.bool,
|
|
168
|
+
spinningTitle: propTypes$1I.exports.string,
|
|
169
169
|
type: enumValue(ButtonType)
|
|
170
170
|
});
|
|
171
171
|
function SpsButton(props2) {
|
|
@@ -215,8 +215,8 @@ function SpsButton(props2) {
|
|
|
215
215
|
}), iconElement, children, spinner));
|
|
216
216
|
}
|
|
217
217
|
Object.assign(SpsButton, {
|
|
218
|
-
props: propsDoc$
|
|
219
|
-
propTypes: propTypes$
|
|
218
|
+
props: propsDoc$1D,
|
|
219
|
+
propTypes: propTypes$1H,
|
|
220
220
|
displayName: "SpsButton"
|
|
221
221
|
});
|
|
222
222
|
const spsFormProps = {
|
|
@@ -269,7 +269,7 @@ Object.assign(SpsForm, {
|
|
|
269
269
|
function contentOf(nodeOrRenderFn2) {
|
|
270
270
|
return typeof nodeOrRenderFn2 === "function" ? nodeOrRenderFn2() : nodeOrRenderFn2;
|
|
271
271
|
}
|
|
272
|
-
const propsDoc$
|
|
272
|
+
const propsDoc$1C = __spreadProps(__spreadValues({}, spsFormProps), {
|
|
273
273
|
controlsDisabled: "boolean",
|
|
274
274
|
footerLinks: "ReactNodeOrRenderFn",
|
|
275
275
|
formMeta: "SpsFormSetMeta<any>",
|
|
@@ -277,13 +277,13 @@ const propsDoc$1B = __spreadProps(__spreadValues({}, spsFormProps), {
|
|
|
277
277
|
onClear: "() => void",
|
|
278
278
|
onSubmit: "React.FormEventHandler"
|
|
279
279
|
});
|
|
280
|
-
const propTypes$
|
|
281
|
-
controlsDisabled: propTypes$
|
|
280
|
+
const propTypes$1G = __spreadProps(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsFormPropTypes), {
|
|
281
|
+
controlsDisabled: propTypes$1I.exports.bool,
|
|
282
282
|
footerLinks: nodeOrRenderFn,
|
|
283
283
|
formArray: impl(),
|
|
284
284
|
formGroup: impl(),
|
|
285
285
|
formMeta: impl(),
|
|
286
|
-
isOpen: propTypes$
|
|
286
|
+
isOpen: propTypes$1I.exports.bool,
|
|
287
287
|
onClear: fun(),
|
|
288
288
|
onSubmit: fun()
|
|
289
289
|
});
|
|
@@ -348,8 +348,8 @@ function SpsAdvancedSearch(props2) {
|
|
|
348
348
|
}, t2("design-system:advancedSearch.search"))))));
|
|
349
349
|
}
|
|
350
350
|
Object.assign(SpsAdvancedSearch, {
|
|
351
|
-
props: propsDoc$
|
|
352
|
-
propTypes: propTypes$
|
|
351
|
+
props: propsDoc$1C,
|
|
352
|
+
propTypes: propTypes$1G,
|
|
353
353
|
displayName: "SpsAdvancedSearch"
|
|
354
354
|
});
|
|
355
355
|
const SpsAdvancedSearchExamples = {
|
|
@@ -1383,7 +1383,7 @@ function useSpsForm(value, validatorMap) {
|
|
|
1383
1383
|
return state;
|
|
1384
1384
|
}
|
|
1385
1385
|
const spsFormComponentWrapperPropTypes = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
1386
|
-
focusInputOnClick: propTypes$
|
|
1386
|
+
focusInputOnClick: propTypes$1I.exports.bool,
|
|
1387
1387
|
formMeta: impl(),
|
|
1388
1388
|
formControl: impl(),
|
|
1389
1389
|
inputRef: ref()
|
|
@@ -1570,15 +1570,15 @@ var scrollIntoViewImport = /* @__PURE__ */ Object.freeze({
|
|
|
1570
1570
|
[Symbol.toStringTag]: "Module",
|
|
1571
1571
|
"default": scrollIntoView$1
|
|
1572
1572
|
});
|
|
1573
|
-
const propsDoc$
|
|
1573
|
+
const propsDoc$1B = {
|
|
1574
1574
|
alt: "string",
|
|
1575
1575
|
size: "SpinnerSize",
|
|
1576
1576
|
title: "string"
|
|
1577
1577
|
};
|
|
1578
|
-
const propTypes$
|
|
1579
|
-
alt: propTypes$
|
|
1578
|
+
const propTypes$1F = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
1579
|
+
alt: propTypes$1I.exports.string,
|
|
1580
1580
|
size: enumValue(SpinnerSize),
|
|
1581
|
-
title: propTypes$
|
|
1581
|
+
title: propTypes$1I.exports.string
|
|
1582
1582
|
});
|
|
1583
1583
|
function SpsSpinner(props2) {
|
|
1584
1584
|
const _a = props2, {
|
|
@@ -1606,8 +1606,8 @@ function SpsSpinner(props2) {
|
|
|
1606
1606
|
}, rest));
|
|
1607
1607
|
}
|
|
1608
1608
|
Object.assign(SpsSpinner, {
|
|
1609
|
-
props: propsDoc$
|
|
1610
|
-
propTypes: propTypes$
|
|
1609
|
+
props: propsDoc$1B,
|
|
1610
|
+
propTypes: propTypes$1F,
|
|
1611
1611
|
displayName: "SpsSpinner"
|
|
1612
1612
|
});
|
|
1613
1613
|
const NAVBAR_HEIGHT = 60;
|
|
@@ -1798,52 +1798,52 @@ const spsOptionListPassthroughProps = {
|
|
|
1798
1798
|
onSpecialActionSelect: "() => void"
|
|
1799
1799
|
},
|
|
1800
1800
|
propTypes: {
|
|
1801
|
-
captionKey: propTypes$
|
|
1802
|
-
comparisonKey: propTypes$
|
|
1803
|
-
disabledOptions: propTypes$
|
|
1804
|
-
options: propTypes$
|
|
1805
|
-
propTypes$
|
|
1806
|
-
propTypes$
|
|
1801
|
+
captionKey: propTypes$1I.exports.string,
|
|
1802
|
+
comparisonKey: propTypes$1I.exports.string,
|
|
1803
|
+
disabledOptions: propTypes$1I.exports.arrayOf(propTypes$1I.exports.any),
|
|
1804
|
+
options: propTypes$1I.exports.oneOfType([
|
|
1805
|
+
propTypes$1I.exports.array,
|
|
1806
|
+
propTypes$1I.exports.instanceOf(Promise),
|
|
1807
1807
|
fun()
|
|
1808
1808
|
]).isRequired,
|
|
1809
|
-
tall: propTypes$
|
|
1810
|
-
textKey: propTypes$
|
|
1811
|
-
valueKey: propTypes$
|
|
1812
|
-
zeroState: propTypes$
|
|
1813
|
-
maxHeightPx: propTypes$
|
|
1814
|
-
maxHeightRem: propTypes$
|
|
1809
|
+
tall: propTypes$1I.exports.bool,
|
|
1810
|
+
textKey: propTypes$1I.exports.string,
|
|
1811
|
+
valueKey: propTypes$1I.exports.string,
|
|
1812
|
+
zeroState: propTypes$1I.exports.string,
|
|
1813
|
+
maxHeightPx: propTypes$1I.exports.number,
|
|
1814
|
+
maxHeightRem: propTypes$1I.exports.number
|
|
1815
1815
|
}
|
|
1816
1816
|
};
|
|
1817
1817
|
const searchableOptionListProps = {
|
|
1818
|
-
hideInlineSearch: propTypes$
|
|
1818
|
+
hideInlineSearch: propTypes$1I.exports.bool,
|
|
1819
1819
|
onSearchChange: fun(),
|
|
1820
|
-
search: propTypes$
|
|
1821
|
-
searchDebounce: propTypes$
|
|
1822
|
-
searchPlaceholder: propTypes$
|
|
1820
|
+
search: propTypes$1I.exports.string,
|
|
1821
|
+
searchDebounce: propTypes$1I.exports.number,
|
|
1822
|
+
searchPlaceholder: propTypes$1I.exports.string,
|
|
1823
1823
|
searchInputRef: ref(),
|
|
1824
1824
|
onSpecialActionSelect: fun()
|
|
1825
1825
|
};
|
|
1826
|
-
const propTypes$
|
|
1826
|
+
const propTypes$1E = __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), {
|
|
1827
1827
|
attachTo: ref().isRequired,
|
|
1828
|
-
conformWidth: propTypes$
|
|
1829
|
-
id: propTypes$
|
|
1830
|
-
isOpen: propTypes$
|
|
1831
|
-
keepOpen: propTypes$
|
|
1828
|
+
conformWidth: propTypes$1I.exports.bool,
|
|
1829
|
+
id: propTypes$1I.exports.string.isRequired,
|
|
1830
|
+
isOpen: propTypes$1I.exports.bool,
|
|
1831
|
+
keepOpen: propTypes$1I.exports.bool,
|
|
1832
1832
|
keyDown: impl(),
|
|
1833
|
-
nullOption: propTypes$
|
|
1834
|
-
offsets: propTypes$
|
|
1833
|
+
nullOption: propTypes$1I.exports.string,
|
|
1834
|
+
offsets: propTypes$1I.exports.arrayOf(propTypes$1I.exports.number),
|
|
1835
1835
|
onOptionListChanged: fun(),
|
|
1836
1836
|
onOptionSelected: fun(),
|
|
1837
1837
|
onPositionFlip: fun(),
|
|
1838
1838
|
onSelfToggle: fun(),
|
|
1839
|
-
optionRole: propTypes$
|
|
1840
|
-
positionOverride: propTypes$
|
|
1841
|
-
selectedOption: propTypes$
|
|
1839
|
+
optionRole: propTypes$1I.exports.string,
|
|
1840
|
+
positionOverride: propTypes$1I.exports.arrayOf(enumValue(Position)),
|
|
1841
|
+
selectedOption: propTypes$1I.exports.any,
|
|
1842
1842
|
specialAction: fun(),
|
|
1843
|
-
ignoreWidthStyles: propTypes$
|
|
1844
|
-
loading: propTypes$
|
|
1845
|
-
filterByTextAndCaptionKey: propTypes$
|
|
1846
|
-
disableOptionsMemoization: propTypes$
|
|
1843
|
+
ignoreWidthStyles: propTypes$1I.exports.bool,
|
|
1844
|
+
loading: propTypes$1I.exports.bool,
|
|
1845
|
+
filterByTextAndCaptionKey: propTypes$1I.exports.bool,
|
|
1846
|
+
disableOptionsMemoization: propTypes$1I.exports.bool
|
|
1847
1847
|
});
|
|
1848
1848
|
async function updateOptions(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef) {
|
|
1849
1849
|
const options = typeof props2.options === "function" ? props2.options(searchState.value) : props2.options || [];
|
|
@@ -2511,7 +2511,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
2511
2511
|
}), /* @__PURE__ */ React.createElement("span", null, specialAction.label))));
|
|
2512
2512
|
});
|
|
2513
2513
|
Object.assign(SpsOptionList, {
|
|
2514
|
-
propTypes: propTypes$
|
|
2514
|
+
propTypes: propTypes$1E,
|
|
2515
2515
|
displayName: "SpsOptionList"
|
|
2516
2516
|
});
|
|
2517
2517
|
function bindProps(E, boundProps, deps = []) {
|
|
@@ -2646,7 +2646,7 @@ function useInputPopup(rootRef, popupRef, onHide) {
|
|
|
2646
2646
|
doHidePopup
|
|
2647
2647
|
};
|
|
2648
2648
|
}
|
|
2649
|
-
const propsDoc$
|
|
2649
|
+
const propsDoc$1A = {
|
|
2650
2650
|
debounce: "number",
|
|
2651
2651
|
disabled: "boolean",
|
|
2652
2652
|
formMeta: "SpsFormFieldMeta<string>",
|
|
@@ -2668,26 +2668,26 @@ const propsDoc$1z = {
|
|
|
2668
2668
|
maxHeightOptionListRem: "number",
|
|
2669
2669
|
disableOptionsMemoization: "boolean"
|
|
2670
2670
|
};
|
|
2671
|
-
const propTypes$
|
|
2672
|
-
debounce: propTypes$
|
|
2673
|
-
disabled: propTypes$
|
|
2671
|
+
const propTypes$1D = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2672
|
+
debounce: propTypes$1I.exports.number,
|
|
2673
|
+
disabled: propTypes$1I.exports.bool,
|
|
2674
2674
|
formControl: impl(),
|
|
2675
2675
|
formMeta: impl(),
|
|
2676
2676
|
icon: enumValue(SpsIcon),
|
|
2677
2677
|
onChange: fun(),
|
|
2678
|
-
placeholder: propTypes$
|
|
2679
|
-
suggestions: propTypes$
|
|
2680
|
-
propTypes$
|
|
2681
|
-
propTypes$
|
|
2678
|
+
placeholder: propTypes$1I.exports.string,
|
|
2679
|
+
suggestions: propTypes$1I.exports.oneOfType([
|
|
2680
|
+
propTypes$1I.exports.arrayOf(propTypes$1I.exports.string),
|
|
2681
|
+
propTypes$1I.exports.instanceOf(Promise),
|
|
2682
2682
|
fun()
|
|
2683
2683
|
]).isRequired,
|
|
2684
|
-
tallOptionList: propTypes$
|
|
2685
|
-
value: propTypes$
|
|
2686
|
-
zeroState: propTypes$
|
|
2687
|
-
loading: propTypes$
|
|
2688
|
-
maxHeightOptionListPx: propTypes$
|
|
2689
|
-
maxHeightOptionListRem: propTypes$
|
|
2690
|
-
disableOptionsMemoization: propTypes$
|
|
2684
|
+
tallOptionList: propTypes$1I.exports.bool,
|
|
2685
|
+
value: propTypes$1I.exports.string,
|
|
2686
|
+
zeroState: propTypes$1I.exports.string,
|
|
2687
|
+
loading: propTypes$1I.exports.bool,
|
|
2688
|
+
maxHeightOptionListPx: propTypes$1I.exports.number,
|
|
2689
|
+
maxHeightOptionListRem: propTypes$1I.exports.number,
|
|
2690
|
+
disableOptionsMemoization: propTypes$1I.exports.bool
|
|
2691
2691
|
});
|
|
2692
2692
|
function SpsAutocomplete(_e) {
|
|
2693
2693
|
var _f = _e, {
|
|
@@ -2848,8 +2848,8 @@ function SpsAutocomplete(_e) {
|
|
|
2848
2848
|
}));
|
|
2849
2849
|
}
|
|
2850
2850
|
Object.assign(SpsAutocomplete, {
|
|
2851
|
-
props: propsDoc$
|
|
2852
|
-
propTypes: propTypes$
|
|
2851
|
+
props: propsDoc$1A,
|
|
2852
|
+
propTypes: propTypes$1D,
|
|
2853
2853
|
displayName: "SpsAutocomplete"
|
|
2854
2854
|
});
|
|
2855
2855
|
const SpsAutocompleteExamples = {
|
|
@@ -2972,7 +2972,7 @@ const SpsAutocompleteExamples = {
|
|
|
2972
2972
|
}
|
|
2973
2973
|
}
|
|
2974
2974
|
};
|
|
2975
|
-
const propsDoc$
|
|
2975
|
+
const propsDoc$1z = {
|
|
2976
2976
|
alignLeft: "boolean",
|
|
2977
2977
|
disabled: "boolean",
|
|
2978
2978
|
icon: "SpsIcon",
|
|
@@ -2989,22 +2989,22 @@ const propsDoc$1y = {
|
|
|
2989
2989
|
maxHeightOptionListRem: "number",
|
|
2990
2990
|
disableOptionsMemoization: "boolean"
|
|
2991
2991
|
};
|
|
2992
|
-
const propTypes$
|
|
2993
|
-
alignLeft: propTypes$
|
|
2994
|
-
disabled: propTypes$
|
|
2992
|
+
const propTypes$1C = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2993
|
+
alignLeft: propTypes$1I.exports.bool,
|
|
2994
|
+
disabled: propTypes$1I.exports.bool,
|
|
2995
2995
|
icon: enumValue(SpsIcon),
|
|
2996
2996
|
kind: enumValue(DropdownKind),
|
|
2997
|
-
label: propTypes$
|
|
2998
|
-
options: propTypes$
|
|
2999
|
-
spinning: propTypes$
|
|
3000
|
-
spinningTitle: propTypes$
|
|
3001
|
-
tallOptionList: propTypes$
|
|
2997
|
+
label: propTypes$1I.exports.string,
|
|
2998
|
+
options: propTypes$1I.exports.arrayOf(propTypes$1I.exports.oneOfType([propTypes$1I.exports.func, propTypes$1I.exports.any])).isRequired,
|
|
2999
|
+
spinning: propTypes$1I.exports.bool,
|
|
3000
|
+
spinningTitle: propTypes$1I.exports.string,
|
|
3001
|
+
tallOptionList: propTypes$1I.exports.bool,
|
|
3002
3002
|
onOpen: fun(),
|
|
3003
3003
|
onClose: fun(),
|
|
3004
|
-
loading: propTypes$
|
|
3005
|
-
maxHeightOptionListPx: propTypes$
|
|
3006
|
-
maxHeightOptionListRem: propTypes$
|
|
3007
|
-
disableOptionsMemoization: propTypes$
|
|
3004
|
+
loading: propTypes$1I.exports.bool,
|
|
3005
|
+
maxHeightOptionListPx: propTypes$1I.exports.number,
|
|
3006
|
+
maxHeightOptionListRem: propTypes$1I.exports.number,
|
|
3007
|
+
disableOptionsMemoization: propTypes$1I.exports.bool
|
|
3008
3008
|
});
|
|
3009
3009
|
function SpsDropdown(props2) {
|
|
3010
3010
|
const _a = props2, {
|
|
@@ -3170,12 +3170,12 @@ function SpsDropdown(props2) {
|
|
|
3170
3170
|
}, spinningTitle || t2("design-system:button.spinningTitle")))));
|
|
3171
3171
|
}
|
|
3172
3172
|
Object.assign(SpsDropdown, {
|
|
3173
|
-
props: propsDoc$
|
|
3174
|
-
propTypes: propTypes$
|
|
3173
|
+
props: propsDoc$1z,
|
|
3174
|
+
propTypes: propTypes$1C,
|
|
3175
3175
|
displayName: "SpsDropdown"
|
|
3176
3176
|
});
|
|
3177
|
-
const propsDoc$
|
|
3178
|
-
const propTypes$
|
|
3177
|
+
const propsDoc$1y = {};
|
|
3178
|
+
const propTypes$1B = __spreadValues({}, spsGlobalPropTypes);
|
|
3179
3179
|
function SpsButtonGroup(props2) {
|
|
3180
3180
|
const _a = props2, {
|
|
3181
3181
|
children,
|
|
@@ -3206,8 +3206,8 @@ function SpsButtonGroup(props2) {
|
|
|
3206
3206
|
}), others.length > 0 && others);
|
|
3207
3207
|
}
|
|
3208
3208
|
Object.assign(SpsButtonGroup, {
|
|
3209
|
-
props: propsDoc$
|
|
3210
|
-
propTypes: propTypes$
|
|
3209
|
+
props: propsDoc$1y,
|
|
3210
|
+
propTypes: propTypes$1B,
|
|
3211
3211
|
displayName: "SpsButtonGroup"
|
|
3212
3212
|
});
|
|
3213
3213
|
const SpsButtonExamples = {
|
|
@@ -5939,8 +5939,8 @@ function SpsTabPanel(_g) {
|
|
|
5939
5939
|
className: "sps-card__body"
|
|
5940
5940
|
}), state.selectedItem ? state.selectedItem.props.children : null);
|
|
5941
5941
|
}
|
|
5942
|
-
const propsDoc$
|
|
5943
|
-
const propTypes$
|
|
5942
|
+
const propsDoc$1x = {};
|
|
5943
|
+
const propTypes$1A = {};
|
|
5944
5944
|
function SpsTabsV2(props2) {
|
|
5945
5945
|
const state = useTabListState(props2);
|
|
5946
5946
|
const ref2 = React.useRef();
|
|
@@ -5958,12 +5958,12 @@ function SpsTabsV2(props2) {
|
|
|
5958
5958
|
}));
|
|
5959
5959
|
}
|
|
5960
5960
|
Object.assign(SpsTabsV2, {
|
|
5961
|
-
props: propsDoc$
|
|
5962
|
-
propTypes: propTypes$
|
|
5961
|
+
props: propsDoc$1x,
|
|
5962
|
+
propTypes: propTypes$1A,
|
|
5963
5963
|
displayName: "SpsTabsV2"
|
|
5964
5964
|
});
|
|
5965
|
-
const propsDoc$
|
|
5966
|
-
const propTypes$
|
|
5965
|
+
const propsDoc$1w = {};
|
|
5966
|
+
const propTypes$1z = {};
|
|
5967
5967
|
function SpsCardV2Footer(_i) {
|
|
5968
5968
|
var _j = _i, {
|
|
5969
5969
|
children,
|
|
@@ -5977,12 +5977,12 @@ function SpsCardV2Footer(_i) {
|
|
|
5977
5977
|
}, rest), children);
|
|
5978
5978
|
}
|
|
5979
5979
|
Object.assign(SpsCardV2Footer, {
|
|
5980
|
-
props: propsDoc$
|
|
5981
|
-
propTypes: propTypes$
|
|
5980
|
+
props: propsDoc$1w,
|
|
5981
|
+
propTypes: propTypes$1z,
|
|
5982
5982
|
displayName: "SpsCardV2Footer"
|
|
5983
5983
|
});
|
|
5984
|
-
const propsDoc$
|
|
5985
|
-
const propTypes$
|
|
5984
|
+
const propsDoc$1v = {};
|
|
5985
|
+
const propTypes$1y = {};
|
|
5986
5986
|
function SpsCardV2Header(_k) {
|
|
5987
5987
|
var _l = _k, {
|
|
5988
5988
|
children,
|
|
@@ -5996,12 +5996,12 @@ function SpsCardV2Header(_k) {
|
|
|
5996
5996
|
}, rest), children);
|
|
5997
5997
|
}
|
|
5998
5998
|
Object.assign(SpsCardV2Header, {
|
|
5999
|
-
props: propsDoc$
|
|
6000
|
-
propTypes: propTypes$
|
|
5999
|
+
props: propsDoc$1v,
|
|
6000
|
+
propTypes: propTypes$1y,
|
|
6001
6001
|
displayName: "SpsCardV2Header"
|
|
6002
6002
|
});
|
|
6003
|
-
const propsDoc$
|
|
6004
|
-
const propTypes$
|
|
6003
|
+
const propsDoc$1u = {};
|
|
6004
|
+
const propTypes$1x = {};
|
|
6005
6005
|
function SpsCardV2(_m) {
|
|
6006
6006
|
var _n = _m, {
|
|
6007
6007
|
children,
|
|
@@ -6027,12 +6027,12 @@ function SpsCardV2(_m) {
|
|
|
6027
6027
|
}, bodyContent), footer);
|
|
6028
6028
|
}
|
|
6029
6029
|
Object.assign(SpsCardV2, {
|
|
6030
|
-
props: propsDoc$
|
|
6031
|
-
propTypes: propTypes$
|
|
6030
|
+
props: propsDoc$1u,
|
|
6031
|
+
propTypes: propTypes$1x,
|
|
6032
6032
|
displayName: "SpsCardV2"
|
|
6033
6033
|
});
|
|
6034
|
-
const propsDoc$
|
|
6035
|
-
const propTypes$
|
|
6034
|
+
const propsDoc$1t = {};
|
|
6035
|
+
const propTypes$1w = {};
|
|
6036
6036
|
function SpsCardV2Title(_o) {
|
|
6037
6037
|
var _p = _o, {
|
|
6038
6038
|
children,
|
|
@@ -6046,8 +6046,8 @@ function SpsCardV2Title(_o) {
|
|
|
6046
6046
|
}, rest), children);
|
|
6047
6047
|
}
|
|
6048
6048
|
Object.assign(SpsCardV2Title, {
|
|
6049
|
-
props: propsDoc$
|
|
6050
|
-
propTypes: propTypes$
|
|
6049
|
+
props: propsDoc$1t,
|
|
6050
|
+
propTypes: propTypes$1w,
|
|
6051
6051
|
displayName: "SpsCardV2Title"
|
|
6052
6052
|
});
|
|
6053
6053
|
const SpsCardExamples = {
|
|
@@ -6355,7 +6355,7 @@ const SpsCardExamples = {
|
|
|
6355
6355
|
}
|
|
6356
6356
|
}
|
|
6357
6357
|
};
|
|
6358
|
-
const propsDoc$
|
|
6358
|
+
const propsDoc$1s = {
|
|
6359
6359
|
checked: "boolean",
|
|
6360
6360
|
disabled: "boolean",
|
|
6361
6361
|
formMeta: "SpsFormFieldMeta<boolean>",
|
|
@@ -6364,14 +6364,14 @@ const propsDoc$1r = {
|
|
|
6364
6364
|
label: "string",
|
|
6365
6365
|
onChange: "ChangeEventHandler"
|
|
6366
6366
|
};
|
|
6367
|
-
const propTypes$
|
|
6368
|
-
checked: propTypes$
|
|
6369
|
-
disabled: propTypes$
|
|
6367
|
+
const propTypes$1v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
6368
|
+
checked: propTypes$1I.exports.bool,
|
|
6369
|
+
disabled: propTypes$1I.exports.bool,
|
|
6370
6370
|
formControl: impl(),
|
|
6371
6371
|
formMeta: impl(),
|
|
6372
|
-
indeterminate: propTypes$
|
|
6373
|
-
inline: propTypes$
|
|
6374
|
-
label: propTypes$
|
|
6372
|
+
indeterminate: propTypes$1I.exports.bool,
|
|
6373
|
+
inline: propTypes$1I.exports.bool,
|
|
6374
|
+
label: propTypes$1I.exports.string,
|
|
6375
6375
|
onChange: fun()
|
|
6376
6376
|
});
|
|
6377
6377
|
function SpsCheckbox(_q) {
|
|
@@ -6447,8 +6447,8 @@ function SpsCheckbox(_q) {
|
|
|
6447
6447
|
}, label || ""));
|
|
6448
6448
|
}
|
|
6449
6449
|
Object.assign(SpsCheckbox, {
|
|
6450
|
-
props: propsDoc$
|
|
6451
|
-
propTypes: propTypes$
|
|
6450
|
+
props: propsDoc$1s,
|
|
6451
|
+
propTypes: propTypes$1v,
|
|
6452
6452
|
displayName: "SpsCheckbox"
|
|
6453
6453
|
});
|
|
6454
6454
|
const SpsCheckboxExamples = {
|
|
@@ -6576,16 +6576,16 @@ const SpsCheckboxExamples = {
|
|
|
6576
6576
|
}
|
|
6577
6577
|
}
|
|
6578
6578
|
};
|
|
6579
|
-
const propsDoc$
|
|
6579
|
+
const propsDoc$1r = {
|
|
6580
6580
|
disabled: "boolean",
|
|
6581
6581
|
href: "string",
|
|
6582
6582
|
kind: "ClickableTagKind",
|
|
6583
6583
|
onAdd: "() => void",
|
|
6584
6584
|
onRemove: "() => void"
|
|
6585
6585
|
};
|
|
6586
|
-
const propTypes$
|
|
6587
|
-
disabled: propTypes$
|
|
6588
|
-
href: propTypes$
|
|
6586
|
+
const propTypes$1u = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
6587
|
+
disabled: propTypes$1I.exports.bool,
|
|
6588
|
+
href: propTypes$1I.exports.string,
|
|
6589
6589
|
kind: enumValue(ClickableTagKind),
|
|
6590
6590
|
onAdd: fun(),
|
|
6591
6591
|
onRemove: fun()
|
|
@@ -6657,8 +6657,8 @@ function SpsClickableTag(props2) {
|
|
|
6657
6657
|
})));
|
|
6658
6658
|
}
|
|
6659
6659
|
Object.assign(SpsClickableTag, {
|
|
6660
|
-
props: propsDoc$
|
|
6661
|
-
propTypes: propTypes$
|
|
6660
|
+
props: propsDoc$1r,
|
|
6661
|
+
propTypes: propTypes$1u,
|
|
6662
6662
|
displayName: "SpsClickableTag"
|
|
6663
6663
|
});
|
|
6664
6664
|
const SpsClickableTagExamples = {
|
|
@@ -14727,15 +14727,15 @@ var ConnectedDroppable = connect(makeMapStateToProps$1, mapDispatchToProps$1, nu
|
|
|
14727
14727
|
areStatePropsEqual: isStrictEqual
|
|
14728
14728
|
})(Droppable);
|
|
14729
14729
|
ConnectedDroppable.defaultProps = defaultProps;
|
|
14730
|
-
const propsDoc$
|
|
14730
|
+
const propsDoc$1q = {
|
|
14731
14731
|
content: "ReactNodeLike",
|
|
14732
14732
|
icon: "SpsIcon",
|
|
14733
14733
|
title: "string"
|
|
14734
14734
|
};
|
|
14735
|
-
const propTypes$
|
|
14736
|
-
content: propTypes$
|
|
14735
|
+
const propTypes$1t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14736
|
+
content: propTypes$1I.exports.node,
|
|
14737
14737
|
icon: enumValue(SpsIcon),
|
|
14738
|
-
title: propTypes$
|
|
14738
|
+
title: propTypes$1I.exports.string
|
|
14739
14739
|
});
|
|
14740
14740
|
function SpsCardHeader(props2) {
|
|
14741
14741
|
const _a = props2, {
|
|
@@ -14767,15 +14767,15 @@ function SpsCardHeader(props2) {
|
|
|
14767
14767
|
}, content));
|
|
14768
14768
|
}
|
|
14769
14769
|
Object.assign(SpsCardHeader, {
|
|
14770
|
-
props: propsDoc$
|
|
14771
|
-
propTypes: propTypes$
|
|
14770
|
+
props: propsDoc$1q,
|
|
14771
|
+
propTypes: propTypes$1t,
|
|
14772
14772
|
displayName: "SpsCardHeader"
|
|
14773
14773
|
});
|
|
14774
|
-
const propsDoc$
|
|
14774
|
+
const propsDoc$1p = {
|
|
14775
14775
|
icon: "SpsIcon",
|
|
14776
14776
|
kind: "TagKind"
|
|
14777
14777
|
};
|
|
14778
|
-
const propTypes$
|
|
14778
|
+
const propTypes$1s = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14779
14779
|
icon: enumValue(SpsIcon),
|
|
14780
14780
|
kind: enumValue(TagKind)
|
|
14781
14781
|
});
|
|
@@ -14808,11 +14808,11 @@ function SpsTag(props2) {
|
|
|
14808
14808
|
}), children);
|
|
14809
14809
|
}
|
|
14810
14810
|
Object.assign(SpsTag, {
|
|
14811
|
-
props: propsDoc$
|
|
14812
|
-
propTypes: propTypes$
|
|
14811
|
+
props: propsDoc$1p,
|
|
14812
|
+
propTypes: propTypes$1s,
|
|
14813
14813
|
displayName: "SpsTag"
|
|
14814
14814
|
});
|
|
14815
|
-
const propsDoc$
|
|
14815
|
+
const propsDoc$1o = {
|
|
14816
14816
|
activateTab: "Function",
|
|
14817
14817
|
active: "boolean",
|
|
14818
14818
|
icon: "SpsIcon",
|
|
@@ -14822,13 +14822,13 @@ const propsDoc$1n = {
|
|
|
14822
14822
|
tagKind: "TagKind",
|
|
14823
14823
|
tagIcon: "SpsIcon"
|
|
14824
14824
|
};
|
|
14825
|
-
const propTypes$
|
|
14826
|
-
activateTab: propTypes$
|
|
14827
|
-
active: propTypes$
|
|
14825
|
+
const propTypes$1r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14826
|
+
activateTab: propTypes$1I.exports.func,
|
|
14827
|
+
active: propTypes$1I.exports.bool,
|
|
14828
14828
|
icon: enumValue(SpsIcon),
|
|
14829
|
-
label: propTypes$
|
|
14830
|
-
index: propTypes$
|
|
14831
|
-
tag: propTypes$
|
|
14829
|
+
label: propTypes$1I.exports.string,
|
|
14830
|
+
index: propTypes$1I.exports.number,
|
|
14831
|
+
tag: propTypes$1I.exports.string,
|
|
14832
14832
|
tagKind: enumValue(TagKind),
|
|
14833
14833
|
tagIcon: enumValue(SpsIcon)
|
|
14834
14834
|
});
|
|
@@ -14891,8 +14891,8 @@ function SpsCardTabbedPane(props2) {
|
|
|
14891
14891
|
}, tag));
|
|
14892
14892
|
}
|
|
14893
14893
|
Object.assign(SpsCardTabbedPane, {
|
|
14894
|
-
props: propsDoc$
|
|
14895
|
-
propTypes: propTypes$
|
|
14894
|
+
props: propsDoc$1o,
|
|
14895
|
+
propTypes: propTypes$1r,
|
|
14896
14896
|
displayName: "SpsCardTabbedPane"
|
|
14897
14897
|
});
|
|
14898
14898
|
function useTab(children, activeTab, isTabbedCard) {
|
|
@@ -14934,19 +14934,19 @@ function useTab(children, activeTab, isTabbedCard) {
|
|
|
14934
14934
|
}, [activeTab, children]);
|
|
14935
14935
|
return [currentlyActiveTab, activateTab];
|
|
14936
14936
|
}
|
|
14937
|
-
const propsDoc$
|
|
14937
|
+
const propsDoc$1n = {
|
|
14938
14938
|
activeTab: "string",
|
|
14939
14939
|
footer: "ReactNodeOrRenderFn",
|
|
14940
14940
|
headerContent: "ReactNodeOrRenderFn",
|
|
14941
14941
|
headerIcon: "SpsIcon",
|
|
14942
14942
|
headerTitle: "string"
|
|
14943
14943
|
};
|
|
14944
|
-
const propTypes$
|
|
14945
|
-
activeTab: propTypes$
|
|
14944
|
+
const propTypes$1q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14945
|
+
activeTab: propTypes$1I.exports.string,
|
|
14946
14946
|
footer: nodeOrRenderFn,
|
|
14947
14947
|
headerContent: nodeOrRenderFn,
|
|
14948
14948
|
headerIcon: enumValue(SpsIcon),
|
|
14949
|
-
headerTitle: propTypes$
|
|
14949
|
+
headerTitle: propTypes$1I.exports.string
|
|
14950
14950
|
});
|
|
14951
14951
|
function SpsCard(props2) {
|
|
14952
14952
|
React.useEffect(() => {
|
|
@@ -15013,11 +15013,11 @@ function SpsCard(props2) {
|
|
|
15013
15013
|
}, contentOf(footer)));
|
|
15014
15014
|
}
|
|
15015
15015
|
Object.assign(SpsCard, {
|
|
15016
|
-
props: propsDoc$
|
|
15017
|
-
propTypes: propTypes$
|
|
15016
|
+
props: propsDoc$1n,
|
|
15017
|
+
propTypes: propTypes$1q,
|
|
15018
15018
|
displayName: "SpsCard"
|
|
15019
15019
|
});
|
|
15020
|
-
const propsDoc$
|
|
15020
|
+
const propsDoc$1m = {
|
|
15021
15021
|
index: "number",
|
|
15022
15022
|
key: "string",
|
|
15023
15023
|
columnId: "string",
|
|
@@ -15026,14 +15026,14 @@ const propsDoc$1l = {
|
|
|
15026
15026
|
onDelete: "(columnValue: string) => void",
|
|
15027
15027
|
mandatory: "boolean"
|
|
15028
15028
|
};
|
|
15029
|
-
const propTypes$
|
|
15030
|
-
index: propTypes$
|
|
15031
|
-
key: propTypes$
|
|
15032
|
-
columnId: propTypes$
|
|
15033
|
-
name: propTypes$
|
|
15034
|
-
value: propTypes$
|
|
15029
|
+
const propTypes$1p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15030
|
+
index: propTypes$1I.exports.number,
|
|
15031
|
+
key: propTypes$1I.exports.string,
|
|
15032
|
+
columnId: propTypes$1I.exports.string,
|
|
15033
|
+
name: propTypes$1I.exports.string,
|
|
15034
|
+
value: propTypes$1I.exports.string,
|
|
15035
15035
|
onDelete: fun(),
|
|
15036
|
-
mandatory: propTypes$
|
|
15036
|
+
mandatory: propTypes$1I.exports.bool
|
|
15037
15037
|
});
|
|
15038
15038
|
function SpsColumnChooserColumn(props2) {
|
|
15039
15039
|
const _a = props2, {
|
|
@@ -15091,27 +15091,27 @@ function SpsColumnChooserColumn(props2) {
|
|
|
15091
15091
|
})))));
|
|
15092
15092
|
}
|
|
15093
15093
|
Object.assign(SpsColumnChooserColumn, {
|
|
15094
|
-
props: propsDoc$
|
|
15095
|
-
propTypes: propTypes$
|
|
15094
|
+
props: propsDoc$1m,
|
|
15095
|
+
propTypes: propTypes$1p,
|
|
15096
15096
|
displayName: "SpsColumnChooserColumn"
|
|
15097
15097
|
});
|
|
15098
|
-
const propsDoc$
|
|
15099
|
-
maxSelectedColumns: "number",
|
|
15098
|
+
const propsDoc$1l = {
|
|
15099
|
+
maxSelectedColumns: "number | null",
|
|
15100
15100
|
unselectedColumns: "ColumnProps[]",
|
|
15101
15101
|
selectedColumns: "ColumnProps[]",
|
|
15102
15102
|
onApplyChanges: "(selectedColumns: ColumnProps[]) => void"
|
|
15103
15103
|
};
|
|
15104
|
-
const propTypes$
|
|
15105
|
-
maxSelectedColumns: propTypes$
|
|
15106
|
-
unselectedColumns: propTypes$
|
|
15107
|
-
selectedColumns: propTypes$
|
|
15104
|
+
const propTypes$1o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15105
|
+
maxSelectedColumns: propTypes$1I.exports.number || null,
|
|
15106
|
+
unselectedColumns: propTypes$1I.exports.array,
|
|
15107
|
+
selectedColumns: propTypes$1I.exports.array,
|
|
15108
15108
|
onApplyChanges: fun()
|
|
15109
15109
|
});
|
|
15110
15110
|
function SpsColumnChooser(props2) {
|
|
15111
15111
|
const _a = props2, {
|
|
15112
15112
|
unselectedColumns,
|
|
15113
15113
|
selectedColumns,
|
|
15114
|
-
maxSelectedColumns,
|
|
15114
|
+
maxSelectedColumns = 8,
|
|
15115
15115
|
onApplyChanges,
|
|
15116
15116
|
className,
|
|
15117
15117
|
unsafelyReplaceClassName
|
|
@@ -15221,7 +15221,7 @@ function SpsColumnChooser(props2) {
|
|
|
15221
15221
|
className: "sps-column-chooser__search-container"
|
|
15222
15222
|
}, /* @__PURE__ */ React.createElement(SpsAutocomplete, {
|
|
15223
15223
|
suggestions: state.unselectedColumns.map((c2) => c2.name),
|
|
15224
|
-
disabled: maxSelectedColumns && state.selectedColumns.length >= maxSelectedColumns
|
|
15224
|
+
disabled: maxSelectedColumns && state.selectedColumns.length >= maxSelectedColumns,
|
|
15225
15225
|
value: state.searchSelectedColumn ? state.searchSelectedColumn.name : "",
|
|
15226
15226
|
onChange: onSelectBoxChange,
|
|
15227
15227
|
placeholder: "Find Columns to Add"
|
|
@@ -15244,8 +15244,8 @@ function SpsColumnChooser(props2) {
|
|
|
15244
15244
|
})), provided.placeholder)))));
|
|
15245
15245
|
}
|
|
15246
15246
|
Object.assign(SpsColumnChooser, {
|
|
15247
|
-
props: propsDoc$
|
|
15248
|
-
propTypes: propTypes$
|
|
15247
|
+
props: propsDoc$1l,
|
|
15248
|
+
propTypes: propTypes$1o,
|
|
15249
15249
|
displayName: "SpsColumnChooser"
|
|
15250
15250
|
});
|
|
15251
15251
|
const SpsColumnChooserExamples = {
|
|
@@ -15277,11 +15277,11 @@ const SpsColumnChooserExamples = {
|
|
|
15277
15277
|
}
|
|
15278
15278
|
}
|
|
15279
15279
|
};
|
|
15280
|
-
const propsDoc$
|
|
15280
|
+
const propsDoc$1k = {
|
|
15281
15281
|
icon: { type: "SpsIcon", required: true },
|
|
15282
15282
|
size: "SpsIconSize"
|
|
15283
15283
|
};
|
|
15284
|
-
const propTypes$
|
|
15284
|
+
const propTypes$1n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15285
15285
|
icon: enumValue(SpsIcon).isRequired,
|
|
15286
15286
|
size: enumValue(SpsIconSize)
|
|
15287
15287
|
});
|
|
@@ -15307,28 +15307,28 @@ function SpsI(props2) {
|
|
|
15307
15307
|
}, rest));
|
|
15308
15308
|
}
|
|
15309
15309
|
Object.assign(SpsI, {
|
|
15310
|
-
props: propsDoc$
|
|
15311
|
-
propTypes: propTypes$
|
|
15310
|
+
props: propsDoc$1k,
|
|
15311
|
+
propTypes: propTypes$1n,
|
|
15312
15312
|
displayName: "SpsI"
|
|
15313
15313
|
});
|
|
15314
15314
|
Object.assign(SpsI, {
|
|
15315
|
-
props: propsDoc$
|
|
15316
|
-
propTypes: propTypes$
|
|
15315
|
+
props: propsDoc$1k,
|
|
15316
|
+
propTypes: propTypes$1n,
|
|
15317
15317
|
displayName: "SpsI"
|
|
15318
15318
|
});
|
|
15319
|
-
const propsDoc$
|
|
15319
|
+
const propsDoc$1j = {
|
|
15320
15320
|
borderless: "boolean",
|
|
15321
15321
|
lean: "boolean",
|
|
15322
15322
|
leaner: { type: "boolean", deprecated: true },
|
|
15323
15323
|
widthPx: "number",
|
|
15324
15324
|
widthRem: "number"
|
|
15325
15325
|
};
|
|
15326
|
-
const propTypes$
|
|
15327
|
-
borderless: propTypes$
|
|
15328
|
-
lean: propTypes$
|
|
15329
|
-
leaner: propTypes$
|
|
15330
|
-
widthPx: propTypes$
|
|
15331
|
-
widthRem: propTypes$
|
|
15326
|
+
const propTypes$1m = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15327
|
+
borderless: propTypes$1I.exports.bool,
|
|
15328
|
+
lean: propTypes$1I.exports.bool,
|
|
15329
|
+
leaner: propTypes$1I.exports.bool,
|
|
15330
|
+
widthPx: propTypes$1I.exports.number,
|
|
15331
|
+
widthRem: propTypes$1I.exports.number
|
|
15332
15332
|
});
|
|
15333
15333
|
function SpsContentRowCol(props2) {
|
|
15334
15334
|
const _a = props2, {
|
|
@@ -15373,12 +15373,12 @@ function SpsContentRowCol(props2) {
|
|
|
15373
15373
|
}), children);
|
|
15374
15374
|
}
|
|
15375
15375
|
Object.assign(SpsContentRowCol, {
|
|
15376
|
-
props: propsDoc$
|
|
15377
|
-
propTypes: propTypes$
|
|
15376
|
+
props: propsDoc$1j,
|
|
15377
|
+
propTypes: propTypes$1m,
|
|
15378
15378
|
displayName: "SpsContentRowCol"
|
|
15379
15379
|
});
|
|
15380
|
-
const propsDoc$
|
|
15381
|
-
const propTypes$
|
|
15380
|
+
const propsDoc$1i = {};
|
|
15381
|
+
const propTypes$1l = __spreadValues({}, spsGlobalPropTypes);
|
|
15382
15382
|
function SpsContentRowExpansion(props2) {
|
|
15383
15383
|
const _a = props2, {
|
|
15384
15384
|
children,
|
|
@@ -15399,11 +15399,11 @@ function SpsContentRowExpansion(props2) {
|
|
|
15399
15399
|
}), children);
|
|
15400
15400
|
}
|
|
15401
15401
|
Object.assign(SpsContentRowExpansion, {
|
|
15402
|
-
props: propsDoc$
|
|
15403
|
-
propTypes: propTypes$
|
|
15402
|
+
props: propsDoc$1i,
|
|
15403
|
+
propTypes: propTypes$1l,
|
|
15404
15404
|
displayName: "SpsContentRowExpansion"
|
|
15405
15405
|
});
|
|
15406
|
-
const propsDoc$
|
|
15406
|
+
const propsDoc$1h = {
|
|
15407
15407
|
alternateLayout: "boolean",
|
|
15408
15408
|
initiallyExpanded: "boolean",
|
|
15409
15409
|
cardSpacing: "boolean",
|
|
@@ -15416,18 +15416,18 @@ const propsDoc$1g = {
|
|
|
15416
15416
|
selectable: "boolean",
|
|
15417
15417
|
selected: "boolean"
|
|
15418
15418
|
};
|
|
15419
|
-
const propTypes$
|
|
15420
|
-
alternateLayout: propTypes$
|
|
15421
|
-
cardSpacing: propTypes$
|
|
15422
|
-
expanded: propTypes$
|
|
15423
|
-
initiallyExpanded: propTypes$
|
|
15419
|
+
const propTypes$1k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15420
|
+
alternateLayout: propTypes$1I.exports.bool,
|
|
15421
|
+
cardSpacing: propTypes$1I.exports.bool,
|
|
15422
|
+
expanded: propTypes$1I.exports.bool,
|
|
15423
|
+
initiallyExpanded: propTypes$1I.exports.bool,
|
|
15424
15424
|
onBeforeCollapsed: fun(),
|
|
15425
15425
|
onBeforeExpanded: fun(),
|
|
15426
15426
|
onSelectionChange: fun(),
|
|
15427
15427
|
onCollapsed: fun(),
|
|
15428
15428
|
onExpanded: fun(),
|
|
15429
|
-
selectable: propTypes$
|
|
15430
|
-
selected: propTypes$
|
|
15429
|
+
selectable: propTypes$1I.exports.bool,
|
|
15430
|
+
selected: propTypes$1I.exports.bool
|
|
15431
15431
|
});
|
|
15432
15432
|
function SpsContentRow(props2) {
|
|
15433
15433
|
const _a = props2, {
|
|
@@ -15508,8 +15508,8 @@ function SpsContentRow(props2) {
|
|
|
15508
15508
|
}, /* @__PURE__ */ React.createElement("section", null, ContentRowCheckBox()), /* @__PURE__ */ React.createElement("section", null, ExpandoThingy())), columns), expansion);
|
|
15509
15509
|
}
|
|
15510
15510
|
Object.assign(SpsContentRow, {
|
|
15511
|
-
props: propsDoc$
|
|
15512
|
-
propTypes: propTypes$
|
|
15511
|
+
props: propsDoc$1h,
|
|
15512
|
+
propTypes: propTypes$1k,
|
|
15513
15513
|
displayName: "SpsContentRow"
|
|
15514
15514
|
});
|
|
15515
15515
|
const SpsContentRowExamples = {
|
|
@@ -15992,12 +15992,12 @@ function useMoment(date2) {
|
|
|
15992
15992
|
return momentValue;
|
|
15993
15993
|
}
|
|
15994
15994
|
const moment$1 = moment$4.default || moment$4;
|
|
15995
|
-
const propTypes$
|
|
15995
|
+
const propTypes$1j = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15996
15996
|
maxDate: impl(),
|
|
15997
15997
|
minDate: impl(),
|
|
15998
15998
|
onNewSelection: fun().isRequired,
|
|
15999
15999
|
selectedDate: impl(),
|
|
16000
|
-
selectedRange: propTypes$
|
|
16000
|
+
selectedRange: propTypes$1I.exports.arrayOf(impl())
|
|
16001
16001
|
});
|
|
16002
16002
|
const CSS_ELEMENT$1 = "sps-datepicker__calendar";
|
|
16003
16003
|
function determineViewMonth({
|
|
@@ -16117,13 +16117,13 @@ function SpsDatepickerCalendar(props2) {
|
|
|
16117
16117
|
}, date2 ? date2.date : "")))))) : /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
16118
16118
|
}
|
|
16119
16119
|
Object.assign(SpsDatepickerCalendar, {
|
|
16120
|
-
propTypes: propTypes$
|
|
16120
|
+
propTypes: propTypes$1j,
|
|
16121
16121
|
displayName: "SpsDatepickerCalendar"
|
|
16122
16122
|
});
|
|
16123
16123
|
const CSS_ELEMENT = "sps-datepicker__popup";
|
|
16124
|
-
const propTypes$
|
|
16124
|
+
const propTypes$1i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
16125
16125
|
attachTo: ref().isRequired,
|
|
16126
|
-
isOpen: propTypes$
|
|
16126
|
+
isOpen: propTypes$1I.exports.bool.isRequired
|
|
16127
16127
|
});
|
|
16128
16128
|
const SpsDatepickerPopup = React.forwardRef((_s, ref2) => {
|
|
16129
16129
|
var _t = _s, {
|
|
@@ -16149,10 +16149,10 @@ const SpsDatepickerPopup = React.forwardRef((_s, ref2) => {
|
|
|
16149
16149
|
}), children));
|
|
16150
16150
|
});
|
|
16151
16151
|
Object.assign(SpsDatepickerPopup, {
|
|
16152
|
-
propTypes: propTypes$
|
|
16152
|
+
propTypes: propTypes$1i,
|
|
16153
16153
|
displayName: "SpsDatepickerPopup"
|
|
16154
16154
|
});
|
|
16155
|
-
const propsDoc$
|
|
16155
|
+
const propsDoc$1g = {
|
|
16156
16156
|
disabled: "boolean",
|
|
16157
16157
|
formMeta: "SpsFormFieldMeta<SimpleDate>",
|
|
16158
16158
|
maxDate: "SimpleDate",
|
|
@@ -16160,8 +16160,8 @@ const propsDoc$1f = {
|
|
|
16160
16160
|
onChange: "(newDate: SimpleDate) => void",
|
|
16161
16161
|
value: "SimpleDate"
|
|
16162
16162
|
};
|
|
16163
|
-
const propTypes$
|
|
16164
|
-
disabled: propTypes$
|
|
16163
|
+
const propTypes$1h = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
16164
|
+
disabled: propTypes$1I.exports.bool,
|
|
16165
16165
|
formMeta: impl(),
|
|
16166
16166
|
maxDate: impl(),
|
|
16167
16167
|
minDate: impl(),
|
|
@@ -16272,8 +16272,8 @@ function SpsDatepicker(_u) {
|
|
|
16272
16272
|
})));
|
|
16273
16273
|
}
|
|
16274
16274
|
Object.assign(SpsDatepicker, {
|
|
16275
|
-
props: propsDoc$
|
|
16276
|
-
propTypes: propTypes$
|
|
16275
|
+
props: propsDoc$1g,
|
|
16276
|
+
propTypes: propTypes$1h,
|
|
16277
16277
|
displayName: "SpsDatepicker"
|
|
16278
16278
|
});
|
|
16279
16279
|
const SpsDatepickerExamples = {
|
|
@@ -16368,7 +16368,7 @@ const SpsDatepickerExamples = {
|
|
|
16368
16368
|
}
|
|
16369
16369
|
}
|
|
16370
16370
|
};
|
|
16371
|
-
const propsDoc$
|
|
16371
|
+
const propsDoc$1f = {
|
|
16372
16372
|
disabled: "boolean",
|
|
16373
16373
|
formMeta: "SpsFormFieldMeta<SimpleDateRange | DatePreset>",
|
|
16374
16374
|
maxDate: "SimpleDate",
|
|
@@ -16377,13 +16377,13 @@ const propsDoc$1e = {
|
|
|
16377
16377
|
presets: "Array<DatePreset>",
|
|
16378
16378
|
value: "SimpleDateRange | DatePreset"
|
|
16379
16379
|
};
|
|
16380
|
-
const propTypes$
|
|
16381
|
-
disabled: propTypes$
|
|
16380
|
+
const propTypes$1g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
16381
|
+
disabled: propTypes$1I.exports.bool,
|
|
16382
16382
|
formMeta: impl(),
|
|
16383
16383
|
maxDate: impl(),
|
|
16384
16384
|
minDate: impl(),
|
|
16385
16385
|
onChange: fun(),
|
|
16386
|
-
presets: propTypes$
|
|
16386
|
+
presets: propTypes$1I.exports.arrayOf(impl())
|
|
16387
16387
|
});
|
|
16388
16388
|
const CSS_BLOCK$2 = "sps-datepicker";
|
|
16389
16389
|
const DEFAULT_PRESETS = [
|
|
@@ -16597,8 +16597,8 @@ function SpsDateRangePicker(_w) {
|
|
|
16597
16597
|
})));
|
|
16598
16598
|
}
|
|
16599
16599
|
Object.assign(SpsDateRangePicker, {
|
|
16600
|
-
props: propsDoc$
|
|
16601
|
-
propTypes: propTypes$
|
|
16600
|
+
props: propsDoc$1f,
|
|
16601
|
+
propTypes: propTypes$1g,
|
|
16602
16602
|
displayName: "SpsDateRangePicker"
|
|
16603
16603
|
});
|
|
16604
16604
|
const SpsDateRangePickerExamples = {
|
|
@@ -21201,7 +21201,7 @@ const formatMaps = {
|
|
|
21201
21201
|
LONG_FULLDATETIME: "LLLL",
|
|
21202
21202
|
LONG_FULLDATETIME_ZONE: "LLLL z"
|
|
21203
21203
|
};
|
|
21204
|
-
const propsDoc$
|
|
21204
|
+
const propsDoc$1e = {
|
|
21205
21205
|
currentUser: "any",
|
|
21206
21206
|
dateToFormat: "string | Date",
|
|
21207
21207
|
format: "string",
|
|
@@ -21210,17 +21210,17 @@ const propsDoc$1d = {
|
|
|
21210
21210
|
relativeHrs: "number",
|
|
21211
21211
|
tz: "string"
|
|
21212
21212
|
};
|
|
21213
|
-
const propTypes$
|
|
21214
|
-
currentUser: propTypes$
|
|
21215
|
-
dateToFormat: propTypes$
|
|
21216
|
-
propTypes$
|
|
21217
|
-
propTypes$
|
|
21213
|
+
const propTypes$1f = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21214
|
+
currentUser: propTypes$1I.exports.any,
|
|
21215
|
+
dateToFormat: propTypes$1I.exports.oneOfType([
|
|
21216
|
+
propTypes$1I.exports.string,
|
|
21217
|
+
propTypes$1I.exports.instanceOf(Date)
|
|
21218
21218
|
]),
|
|
21219
|
-
format: propTypes$
|
|
21220
|
-
locale: propTypes$
|
|
21221
|
-
relative: propTypes$
|
|
21222
|
-
relativeHrs: propTypes$
|
|
21223
|
-
tz: propTypes$
|
|
21219
|
+
format: propTypes$1I.exports.string,
|
|
21220
|
+
locale: propTypes$1I.exports.string,
|
|
21221
|
+
relative: propTypes$1I.exports.bool,
|
|
21222
|
+
relativeHrs: propTypes$1I.exports.number,
|
|
21223
|
+
tz: propTypes$1I.exports.string
|
|
21224
21224
|
});
|
|
21225
21225
|
function showRelative(dateToCheck, relative, relativeHrs) {
|
|
21226
21226
|
if (!relativeHrs && !relative) {
|
|
@@ -21296,8 +21296,8 @@ function SpsDateTime(props2) {
|
|
|
21296
21296
|
}));
|
|
21297
21297
|
}
|
|
21298
21298
|
Object.assign(SpsDateTime, {
|
|
21299
|
-
props: propsDoc$
|
|
21300
|
-
propTypes: propTypes$
|
|
21299
|
+
props: propsDoc$1e,
|
|
21300
|
+
propTypes: propTypes$1f,
|
|
21301
21301
|
displayName: "SpsDateTime"
|
|
21302
21302
|
});
|
|
21303
21303
|
const SpsDatetimeExamples = {
|
|
@@ -21318,15 +21318,15 @@ const SpsDatetimeExamples = {
|
|
|
21318
21318
|
}
|
|
21319
21319
|
}
|
|
21320
21320
|
};
|
|
21321
|
-
const propsDoc$
|
|
21321
|
+
const propsDoc$1d = {
|
|
21322
21322
|
compact: "boolean",
|
|
21323
21323
|
wideTerms: "boolean",
|
|
21324
21324
|
widerTerms: "boolean"
|
|
21325
21325
|
};
|
|
21326
|
-
const propTypes$
|
|
21327
|
-
compact: propTypes$
|
|
21328
|
-
wideTerms: propTypes$
|
|
21329
|
-
widerTerms: propTypes$
|
|
21326
|
+
const propTypes$1e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21327
|
+
compact: propTypes$1I.exports.bool,
|
|
21328
|
+
wideTerms: propTypes$1I.exports.bool,
|
|
21329
|
+
widerTerms: propTypes$1I.exports.bool
|
|
21330
21330
|
});
|
|
21331
21331
|
function SpsDescriptionList(props2) {
|
|
21332
21332
|
const _a = props2, {
|
|
@@ -21366,20 +21366,20 @@ function SpsDescriptionList(props2) {
|
|
|
21366
21366
|
}, rest), childrenWithProps);
|
|
21367
21367
|
}
|
|
21368
21368
|
Object.assign(SpsDescriptionList, {
|
|
21369
|
-
props: propsDoc$
|
|
21370
|
-
propTypes: propTypes$
|
|
21369
|
+
props: propsDoc$1d,
|
|
21370
|
+
propTypes: propTypes$1e,
|
|
21371
21371
|
displayName: "SpsDescriptionList / SpsDl"
|
|
21372
21372
|
});
|
|
21373
21373
|
function SpsDl(p2) {
|
|
21374
21374
|
return SpsDescriptionList(p2);
|
|
21375
21375
|
}
|
|
21376
21376
|
Object.assign(SpsDl, {
|
|
21377
|
-
props: propsDoc$
|
|
21378
|
-
propTypes: propTypes$
|
|
21377
|
+
props: propsDoc$1d,
|
|
21378
|
+
propTypes: propTypes$1e,
|
|
21379
21379
|
displayName: "SpsDescriptionList / SpsDl"
|
|
21380
21380
|
});
|
|
21381
|
-
const propsDoc$
|
|
21382
|
-
const propTypes$
|
|
21381
|
+
const propsDoc$1c = {};
|
|
21382
|
+
const propTypes$1d = __spreadValues({}, spsGlobalPropTypes);
|
|
21383
21383
|
function SpsDescriptionListDefinition(props2) {
|
|
21384
21384
|
const _a = props2, {
|
|
21385
21385
|
children,
|
|
@@ -21399,16 +21399,16 @@ function SpsDescriptionListDefinition(props2) {
|
|
|
21399
21399
|
}, rest), children);
|
|
21400
21400
|
}
|
|
21401
21401
|
Object.assign(SpsDescriptionListDefinition, {
|
|
21402
|
-
props: propsDoc$
|
|
21403
|
-
propTypes: propTypes$
|
|
21402
|
+
props: propsDoc$1c,
|
|
21403
|
+
propTypes: propTypes$1d,
|
|
21404
21404
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
21405
21405
|
});
|
|
21406
21406
|
function SpsDd(p2) {
|
|
21407
21407
|
return SpsDescriptionListDefinition(p2);
|
|
21408
21408
|
}
|
|
21409
21409
|
Object.assign(SpsDd, {
|
|
21410
|
-
props: propsDoc$
|
|
21411
|
-
propTypes: propTypes$
|
|
21410
|
+
props: propsDoc$1c,
|
|
21411
|
+
propTypes: propTypes$1d,
|
|
21412
21412
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
21413
21413
|
});
|
|
21414
21414
|
var TooltipVisibility;
|
|
@@ -21423,7 +21423,7 @@ function toggleTooltipState(state) {
|
|
|
21423
21423
|
}
|
|
21424
21424
|
const CARET_SPACING_PX = 13;
|
|
21425
21425
|
const openTips = new Map();
|
|
21426
|
-
const propsDoc$
|
|
21426
|
+
const propsDoc$1b = {
|
|
21427
21427
|
for: { type: "React.MutableRefObject<any> | string", required: true },
|
|
21428
21428
|
hideDelay: "number",
|
|
21429
21429
|
isShown: "TooltipVisibility",
|
|
@@ -21435,17 +21435,17 @@ const propsDoc$1a = {
|
|
|
21435
21435
|
showOn: "TooltipShowTrigger",
|
|
21436
21436
|
title: "string | ReactNode"
|
|
21437
21437
|
};
|
|
21438
|
-
const propTypes$
|
|
21439
|
-
for: propTypes$
|
|
21440
|
-
hideDelay: propTypes$
|
|
21438
|
+
const propTypes$1c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21439
|
+
for: propTypes$1I.exports.oneOfType([ref(), propTypes$1I.exports.string]).isRequired,
|
|
21440
|
+
hideDelay: propTypes$1I.exports.number,
|
|
21441
21441
|
isShown: enumValue(TooltipVisibility),
|
|
21442
21442
|
kind: enumValue(TooltipKind),
|
|
21443
|
-
offsets: propTypes$
|
|
21443
|
+
offsets: propTypes$1I.exports.arrayOf(propTypes$1I.exports.number),
|
|
21444
21444
|
onDeferred: fun(),
|
|
21445
21445
|
position: enumValue(Position),
|
|
21446
21446
|
altPosition: enumValue(Position),
|
|
21447
21447
|
showOn: enumValue(TooltipShowTrigger),
|
|
21448
|
-
title: propTypes$
|
|
21448
|
+
title: propTypes$1I.exports.string || propTypes$1I.exports.node
|
|
21449
21449
|
});
|
|
21450
21450
|
function SpsTooltip({
|
|
21451
21451
|
children,
|
|
@@ -21664,26 +21664,26 @@ function SpsTooltip({
|
|
|
21664
21664
|
})));
|
|
21665
21665
|
}
|
|
21666
21666
|
Object.assign(SpsTooltip, {
|
|
21667
|
-
props: propsDoc$
|
|
21668
|
-
propTypes: propTypes$
|
|
21667
|
+
props: propsDoc$1b,
|
|
21668
|
+
propTypes: propTypes$1c,
|
|
21669
21669
|
displayName: "SpsTooltip"
|
|
21670
21670
|
});
|
|
21671
|
-
const propsDoc$
|
|
21671
|
+
const propsDoc$1a = {
|
|
21672
21672
|
error: "boolean",
|
|
21673
21673
|
errors: "ReactNodeOrRenderFn",
|
|
21674
21674
|
help: "ReactNodeOrRenderFn",
|
|
21675
21675
|
labelFor: "SpsFormFieldMeta<any>",
|
|
21676
21676
|
required: "boolean"
|
|
21677
21677
|
};
|
|
21678
|
-
const propTypes$
|
|
21679
|
-
error: propTypes$
|
|
21678
|
+
const propTypes$1b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21679
|
+
error: propTypes$1I.exports.bool,
|
|
21680
21680
|
errors: nodeOrRenderFn,
|
|
21681
21681
|
help: nodeOrRenderFn,
|
|
21682
|
-
labelFor: propTypes$
|
|
21682
|
+
labelFor: propTypes$1I.exports.oneOfType([
|
|
21683
21683
|
impl(),
|
|
21684
21684
|
impl()
|
|
21685
21685
|
]),
|
|
21686
|
-
required: propTypes$
|
|
21686
|
+
required: propTypes$1I.exports.bool
|
|
21687
21687
|
});
|
|
21688
21688
|
function SpsDescriptionListTerm(props2) {
|
|
21689
21689
|
const _a = props2, {
|
|
@@ -21739,16 +21739,16 @@ function SpsDescriptionListTerm(props2) {
|
|
|
21739
21739
|
}, contentOf(tipKind === TooltipKind.ERROR ? errors : help)));
|
|
21740
21740
|
}
|
|
21741
21741
|
Object.assign(SpsDescriptionListTerm, {
|
|
21742
|
-
props: propsDoc$
|
|
21743
|
-
propTypes: propTypes$
|
|
21742
|
+
props: propsDoc$1a,
|
|
21743
|
+
propTypes: propTypes$1b,
|
|
21744
21744
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
21745
21745
|
});
|
|
21746
21746
|
function SpsDt(p2) {
|
|
21747
21747
|
return SpsDescriptionListTerm(p2);
|
|
21748
21748
|
}
|
|
21749
21749
|
Object.assign(SpsDt, {
|
|
21750
|
-
props: propsDoc$
|
|
21751
|
-
propTypes: propTypes$
|
|
21750
|
+
props: propsDoc$1a,
|
|
21751
|
+
propTypes: propTypes$1b,
|
|
21752
21752
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
21753
21753
|
});
|
|
21754
21754
|
const SpsDescriptionListExamples = {
|
|
@@ -22492,19 +22492,19 @@ const SpsDropdownExamples = {
|
|
|
22492
22492
|
}
|
|
22493
22493
|
}
|
|
22494
22494
|
};
|
|
22495
|
-
const propsDoc$
|
|
22495
|
+
const propsDoc$19 = {
|
|
22496
22496
|
checked: "boolean",
|
|
22497
22497
|
onChange: "ChangeEventHandler",
|
|
22498
22498
|
indeterminate: "boolean",
|
|
22499
22499
|
disabled: "boolean",
|
|
22500
22500
|
options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
|
|
22501
22501
|
};
|
|
22502
|
-
const propTypes$
|
|
22503
|
-
checked: propTypes$
|
|
22502
|
+
const propTypes$1a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22503
|
+
checked: propTypes$1I.exports.bool,
|
|
22504
22504
|
onChange: fun(),
|
|
22505
|
-
indeterminate: propTypes$
|
|
22506
|
-
options: propTypes$
|
|
22507
|
-
disabled: propTypes$
|
|
22505
|
+
indeterminate: propTypes$1I.exports.bool,
|
|
22506
|
+
options: propTypes$1I.exports.arrayOf(propTypes$1I.exports.oneOfType([propTypes$1I.exports.func, propTypes$1I.exports.any])).isRequired,
|
|
22507
|
+
disabled: propTypes$1I.exports.bool
|
|
22508
22508
|
});
|
|
22509
22509
|
function SpsCheckboxDropdown(props2) {
|
|
22510
22510
|
const _a = props2, {
|
|
@@ -22538,14 +22538,14 @@ function SpsCheckboxDropdown(props2) {
|
|
|
22538
22538
|
}));
|
|
22539
22539
|
}
|
|
22540
22540
|
Object.assign(SpsCheckboxDropdown, {
|
|
22541
|
-
props: propsDoc$
|
|
22542
|
-
propTypes: propTypes$
|
|
22541
|
+
props: propsDoc$19,
|
|
22542
|
+
propTypes: propTypes$1a,
|
|
22543
22543
|
displayName: "SpsCheckboxDropdown"
|
|
22544
22544
|
});
|
|
22545
|
-
const propsDoc$
|
|
22545
|
+
const propsDoc$18 = {
|
|
22546
22546
|
kind: "FeedbackBlockKind"
|
|
22547
22547
|
};
|
|
22548
|
-
const propTypes$
|
|
22548
|
+
const propTypes$19 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22549
22549
|
kind: enumValue(FeedbackBlockKind)
|
|
22550
22550
|
});
|
|
22551
22551
|
function SpsFeedbackBlock(props2) {
|
|
@@ -22576,8 +22576,8 @@ function SpsFeedbackBlock(props2) {
|
|
|
22576
22576
|
}, children));
|
|
22577
22577
|
}
|
|
22578
22578
|
Object.assign(SpsFeedbackBlock, {
|
|
22579
|
-
props: propsDoc$
|
|
22580
|
-
propTypes: propTypes$
|
|
22579
|
+
props: propsDoc$18,
|
|
22580
|
+
propTypes: propTypes$19,
|
|
22581
22581
|
displayName: "SpsFeedbackBlock"
|
|
22582
22582
|
});
|
|
22583
22583
|
const SpsFeedbackBlockExamples = {
|
|
@@ -22679,7 +22679,7 @@ const SpsFeedbackBlockExamples = {
|
|
|
22679
22679
|
}
|
|
22680
22680
|
}
|
|
22681
22681
|
};
|
|
22682
|
-
const propsDoc$
|
|
22682
|
+
const propsDoc$17 = {
|
|
22683
22683
|
errors: "ReactNodeOrRenderFn",
|
|
22684
22684
|
formMeta: "SpsFormSetMeta<any>",
|
|
22685
22685
|
legend: "string",
|
|
@@ -22688,16 +22688,16 @@ const propsDoc$16 = {
|
|
|
22688
22688
|
onToggled: "(isEnabled: boolean) => void",
|
|
22689
22689
|
tooltip: "string"
|
|
22690
22690
|
};
|
|
22691
|
-
const propTypes$
|
|
22691
|
+
const propTypes$18 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22692
22692
|
errors: nodeOrRenderFn,
|
|
22693
22693
|
formArray: impl(),
|
|
22694
22694
|
formGroup: impl(),
|
|
22695
22695
|
formMeta: impl(),
|
|
22696
|
-
legend: propTypes$
|
|
22697
|
-
optional: propTypes$
|
|
22698
|
-
enabled: propTypes$
|
|
22696
|
+
legend: propTypes$1I.exports.string,
|
|
22697
|
+
optional: propTypes$1I.exports.bool,
|
|
22698
|
+
enabled: propTypes$1I.exports.bool,
|
|
22699
22699
|
onToggled: fun(),
|
|
22700
|
-
tooltip: propTypes$
|
|
22700
|
+
tooltip: propTypes$1I.exports.string
|
|
22701
22701
|
});
|
|
22702
22702
|
function SpsFieldset({
|
|
22703
22703
|
children,
|
|
@@ -22772,8 +22772,8 @@ function SpsFieldset({
|
|
|
22772
22772
|
}, contentOf(errors)), children));
|
|
22773
22773
|
}
|
|
22774
22774
|
Object.assign(SpsFieldset, {
|
|
22775
|
-
props: propsDoc$
|
|
22776
|
-
propTypes: propTypes$
|
|
22775
|
+
props: propsDoc$17,
|
|
22776
|
+
propTypes: propTypes$18,
|
|
22777
22777
|
displayName: "SpsFieldset"
|
|
22778
22778
|
});
|
|
22779
22779
|
const SpsFieldsetExamples = {
|
|
@@ -23059,8 +23059,8 @@ const SpsFieldsetExamples = {
|
|
|
23059
23059
|
}
|
|
23060
23060
|
}
|
|
23061
23061
|
};
|
|
23062
|
-
const propsDoc$
|
|
23063
|
-
const propTypes$
|
|
23062
|
+
const propsDoc$16 = {};
|
|
23063
|
+
const propTypes$17 = __spreadValues({}, spsGlobalPropTypes);
|
|
23064
23064
|
function SpsFocusedTaskActions(props2) {
|
|
23065
23065
|
const _a = props2, {
|
|
23066
23066
|
children,
|
|
@@ -23081,18 +23081,18 @@ function SpsFocusedTaskActions(props2) {
|
|
|
23081
23081
|
}, children)));
|
|
23082
23082
|
}
|
|
23083
23083
|
Object.assign(SpsFocusedTaskActions, {
|
|
23084
|
-
props: propsDoc$
|
|
23085
|
-
propTypes: propTypes$
|
|
23084
|
+
props: propsDoc$16,
|
|
23085
|
+
propTypes: propTypes$17,
|
|
23086
23086
|
displayName: "SpsFocusedTaskActions"
|
|
23087
23087
|
});
|
|
23088
|
-
const propsDoc$
|
|
23088
|
+
const propsDoc$15 = {
|
|
23089
23089
|
fullWidth: "boolean",
|
|
23090
23090
|
isOpen: "boolean",
|
|
23091
23091
|
onClose: "() => void"
|
|
23092
23092
|
};
|
|
23093
|
-
const propTypes$
|
|
23094
|
-
fullWidth: propTypes$
|
|
23095
|
-
isOpen: propTypes$
|
|
23093
|
+
const propTypes$16 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23094
|
+
fullWidth: propTypes$1I.exports.bool,
|
|
23095
|
+
isOpen: propTypes$1I.exports.bool,
|
|
23096
23096
|
onClose: fun()
|
|
23097
23097
|
});
|
|
23098
23098
|
function SpsFocusedTask(props2) {
|
|
@@ -23149,8 +23149,8 @@ function SpsFocusedTask(props2) {
|
|
|
23149
23149
|
}, isOpen && content)), actions);
|
|
23150
23150
|
}
|
|
23151
23151
|
Object.assign(SpsFocusedTask, {
|
|
23152
|
-
props: propsDoc$
|
|
23153
|
-
propTypes: propTypes$
|
|
23152
|
+
props: propsDoc$15,
|
|
23153
|
+
propTypes: propTypes$16,
|
|
23154
23154
|
displayName: "SpsFocusedTask"
|
|
23155
23155
|
});
|
|
23156
23156
|
const SpsFocusedTaskExamples = {
|
|
@@ -23759,19 +23759,19 @@ const SpsAddRemoveFormRowExamples = {
|
|
|
23759
23759
|
}
|
|
23760
23760
|
}
|
|
23761
23761
|
};
|
|
23762
|
-
const propsDoc$
|
|
23762
|
+
const propsDoc$14 = {
|
|
23763
23763
|
imgSrc: "string",
|
|
23764
23764
|
kind: "GrowlerKind",
|
|
23765
23765
|
onClose: "() => void",
|
|
23766
23766
|
persist: "boolean",
|
|
23767
23767
|
title: "string"
|
|
23768
23768
|
};
|
|
23769
|
-
const propTypes$
|
|
23770
|
-
imgSrc: propTypes$
|
|
23769
|
+
const propTypes$15 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23770
|
+
imgSrc: propTypes$1I.exports.string,
|
|
23771
23771
|
kind: enumValue(GrowlerKind),
|
|
23772
23772
|
onClose: fun(),
|
|
23773
|
-
persist: propTypes$
|
|
23774
|
-
title: propTypes$
|
|
23773
|
+
persist: propTypes$1I.exports.bool,
|
|
23774
|
+
title: propTypes$1I.exports.string
|
|
23775
23775
|
});
|
|
23776
23776
|
function SpsGrowler(props2) {
|
|
23777
23777
|
const _a = props2, {
|
|
@@ -23877,8 +23877,8 @@ function SpsGrowler(props2) {
|
|
|
23877
23877
|
})))));
|
|
23878
23878
|
}
|
|
23879
23879
|
Object.assign(SpsGrowler, {
|
|
23880
|
-
props: propsDoc$
|
|
23881
|
-
propTypes: propTypes$
|
|
23880
|
+
props: propsDoc$14,
|
|
23881
|
+
propTypes: propTypes$15,
|
|
23882
23882
|
displayName: "SpsGrowler"
|
|
23883
23883
|
});
|
|
23884
23884
|
const SpsGrowlerExamples = {
|
|
@@ -24253,18 +24253,18 @@ const SpsGrowlerExamples = {
|
|
|
24253
24253
|
}
|
|
24254
24254
|
}
|
|
24255
24255
|
};
|
|
24256
|
-
const propsDoc$
|
|
24256
|
+
const propsDoc$13 = {
|
|
24257
24257
|
disabled: "boolean",
|
|
24258
24258
|
min: "number",
|
|
24259
24259
|
max: "number",
|
|
24260
24260
|
step: "number",
|
|
24261
24261
|
onValueChange: "(newValue: number) => void"
|
|
24262
24262
|
};
|
|
24263
|
-
const propTypes$
|
|
24264
|
-
disabled: propTypes$
|
|
24265
|
-
min: propTypes$
|
|
24266
|
-
max: propTypes$
|
|
24267
|
-
step: propTypes$
|
|
24263
|
+
const propTypes$14 = __spreadValues({
|
|
24264
|
+
disabled: propTypes$1I.exports.bool,
|
|
24265
|
+
min: propTypes$1I.exports.number,
|
|
24266
|
+
max: propTypes$1I.exports.number,
|
|
24267
|
+
step: propTypes$1I.exports.number,
|
|
24268
24268
|
onValueChange: fun()
|
|
24269
24269
|
}, spsGlobalPropTypes);
|
|
24270
24270
|
function SpsIncrementor(props2) {
|
|
@@ -24367,8 +24367,8 @@ function SpsIncrementor(props2) {
|
|
|
24367
24367
|
}))));
|
|
24368
24368
|
}
|
|
24369
24369
|
Object.assign(SpsIncrementor, {
|
|
24370
|
-
props: propsDoc$
|
|
24371
|
-
propTypes: propTypes$
|
|
24370
|
+
props: propsDoc$13,
|
|
24371
|
+
propTypes: propTypes$14,
|
|
24372
24372
|
displayName: "SpsIncrementor"
|
|
24373
24373
|
});
|
|
24374
24374
|
const SpsIncrementorExamples = {
|
|
@@ -24407,7 +24407,7 @@ function SpsInsights(props2) {
|
|
|
24407
24407
|
className: "insight-tile-wrapper"
|
|
24408
24408
|
}, children);
|
|
24409
24409
|
}
|
|
24410
|
-
const propsDoc$
|
|
24410
|
+
const propsDoc$12 = {
|
|
24411
24411
|
horizontal: "boolean",
|
|
24412
24412
|
icon: "SpsIcon",
|
|
24413
24413
|
kind: "SpsInsightTileKind",
|
|
@@ -24416,14 +24416,14 @@ const propsDoc$11 = {
|
|
|
24416
24416
|
partnerCount: "number",
|
|
24417
24417
|
totalPartners: "number"
|
|
24418
24418
|
};
|
|
24419
|
-
const propTypes$
|
|
24420
|
-
horizontal: propTypes$
|
|
24419
|
+
const propTypes$13 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
24420
|
+
horizontal: propTypes$1I.exports.bool,
|
|
24421
24421
|
icon: enumValue(SpsIcon),
|
|
24422
24422
|
kind: enumValue(SpsInsightTileKind),
|
|
24423
|
-
title: propTypes$
|
|
24424
|
-
metric: propTypes$
|
|
24425
|
-
partnerCount: propTypes$
|
|
24426
|
-
totalPartners: propTypes$
|
|
24423
|
+
title: propTypes$1I.exports.string,
|
|
24424
|
+
metric: propTypes$1I.exports.number || propTypes$1I.exports.string,
|
|
24425
|
+
partnerCount: propTypes$1I.exports.number,
|
|
24426
|
+
totalPartners: propTypes$1I.exports.number
|
|
24427
24427
|
});
|
|
24428
24428
|
function SpsInsightTile(props2) {
|
|
24429
24429
|
const _a = props2, {
|
|
@@ -24483,8 +24483,8 @@ function SpsInsightTile(props2) {
|
|
|
24483
24483
|
}, t2("design-system:insightTile.partners")))));
|
|
24484
24484
|
}
|
|
24485
24485
|
Object.assign(SpsInsightTile, {
|
|
24486
|
-
props: propsDoc$
|
|
24487
|
-
propTypes: propTypes$
|
|
24486
|
+
props: propsDoc$12,
|
|
24487
|
+
propTypes: propTypes$13,
|
|
24488
24488
|
displayName: "SpsInsightTile"
|
|
24489
24489
|
});
|
|
24490
24490
|
const SpsInsightTileExamples = {
|
|
@@ -24758,11 +24758,11 @@ const SpsInsightTileExamples = {
|
|
|
24758
24758
|
}
|
|
24759
24759
|
}
|
|
24760
24760
|
};
|
|
24761
|
-
const propsDoc$
|
|
24761
|
+
const propsDoc$11 = {
|
|
24762
24762
|
inline: "boolean"
|
|
24763
24763
|
};
|
|
24764
|
-
const propTypes$
|
|
24765
|
-
inline: propTypes$
|
|
24764
|
+
const propTypes$12 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
24765
|
+
inline: propTypes$1I.exports.bool
|
|
24766
24766
|
});
|
|
24767
24767
|
function SpsKeyValueList(props2) {
|
|
24768
24768
|
const _a = props2, {
|
|
@@ -24785,16 +24785,16 @@ function SpsKeyValueList(props2) {
|
|
|
24785
24785
|
}, rest), children);
|
|
24786
24786
|
}
|
|
24787
24787
|
Object.assign(SpsKeyValueList, {
|
|
24788
|
-
props: propsDoc$
|
|
24789
|
-
propTypes: propTypes$
|
|
24788
|
+
props: propsDoc$11,
|
|
24789
|
+
propTypes: propTypes$12,
|
|
24790
24790
|
displayName: "SpsKeyValueList"
|
|
24791
24791
|
});
|
|
24792
|
-
const propsDoc
|
|
24792
|
+
const propsDoc$10 = {
|
|
24793
24793
|
itemKey: { type: "string | nodeOrRenderFn", required: true },
|
|
24794
24794
|
titleColor: "KeyValueListTitleColor"
|
|
24795
24795
|
};
|
|
24796
|
-
const propTypes$
|
|
24797
|
-
itemKey: propTypes$
|
|
24796
|
+
const propTypes$11 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
24797
|
+
itemKey: propTypes$1I.exports.string.isRequired || nodeOrRenderFn.isRequired,
|
|
24798
24798
|
titleColor: enumValue(KeyValueListTitleColor)
|
|
24799
24799
|
});
|
|
24800
24800
|
function SpsKeyValueListItem(props2) {
|
|
@@ -24826,8 +24826,8 @@ function SpsKeyValueListItem(props2) {
|
|
|
24826
24826
|
}, children));
|
|
24827
24827
|
}
|
|
24828
24828
|
Object.assign(SpsKeyValueListItem, {
|
|
24829
|
-
props: propsDoc
|
|
24830
|
-
propTypes: propTypes$
|
|
24829
|
+
props: propsDoc$10,
|
|
24830
|
+
propTypes: propTypes$11,
|
|
24831
24831
|
displayName: "SpsKeyValueListItem"
|
|
24832
24832
|
});
|
|
24833
24833
|
const SpsKeyValueListExamples = {
|
|
@@ -25015,7 +25015,7 @@ const SpsKeyValueListExamples = {
|
|
|
25015
25015
|
}
|
|
25016
25016
|
}
|
|
25017
25017
|
};
|
|
25018
|
-
const propsDoc
|
|
25018
|
+
const propsDoc$$ = {
|
|
25019
25019
|
for: { type: "SpsFormMetaBase<any>", required: true },
|
|
25020
25020
|
description: "string",
|
|
25021
25021
|
stronglySuggested: "boolean",
|
|
@@ -25024,16 +25024,16 @@ const propsDoc$_ = {
|
|
|
25024
25024
|
helpIconColor: "string",
|
|
25025
25025
|
errors: "ReactNodeOrRenderFn"
|
|
25026
25026
|
};
|
|
25027
|
-
const propTypes
|
|
25028
|
-
description: propTypes$
|
|
25029
|
-
for: propTypes$
|
|
25027
|
+
const propTypes$10 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25028
|
+
description: propTypes$1I.exports.string,
|
|
25029
|
+
for: propTypes$1I.exports.oneOfType([
|
|
25030
25030
|
impl(),
|
|
25031
25031
|
impl()
|
|
25032
25032
|
]).isRequired,
|
|
25033
|
-
stronglySuggested: propTypes$
|
|
25033
|
+
stronglySuggested: propTypes$1I.exports.bool,
|
|
25034
25034
|
help: nodeOrRenderFn,
|
|
25035
25035
|
helpIcon: enumValue(SpsIcon),
|
|
25036
|
-
helpIconColor: propTypes$
|
|
25036
|
+
helpIconColor: propTypes$1I.exports.string,
|
|
25037
25037
|
errors: nodeOrRenderFn
|
|
25038
25038
|
});
|
|
25039
25039
|
function SpsLabel(_y) {
|
|
@@ -25221,8 +25221,8 @@ function SpsLabel(_y) {
|
|
|
25221
25221
|
}, description));
|
|
25222
25222
|
}
|
|
25223
25223
|
Object.assign(SpsLabel, {
|
|
25224
|
-
props: propsDoc
|
|
25225
|
-
propTypes: propTypes
|
|
25224
|
+
props: propsDoc$$,
|
|
25225
|
+
propTypes: propTypes$10,
|
|
25226
25226
|
displayName: "SpsLabel"
|
|
25227
25227
|
});
|
|
25228
25228
|
const SpsLabelExamples = {
|
|
@@ -25400,13 +25400,13 @@ const SpsLabelExamples = {
|
|
|
25400
25400
|
}
|
|
25401
25401
|
}
|
|
25402
25402
|
};
|
|
25403
|
-
const propsDoc$
|
|
25403
|
+
const propsDoc$_ = {
|
|
25404
25404
|
clearSelected: { type: "() => void", required: true },
|
|
25405
25405
|
itemsSelected: { type: "string | number", required: true }
|
|
25406
25406
|
};
|
|
25407
|
-
const propTypes
|
|
25407
|
+
const propTypes$$ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25408
25408
|
clearSelected: fun().isRequired,
|
|
25409
|
-
itemsSelected: propTypes$
|
|
25409
|
+
itemsSelected: propTypes$1I.exports.oneOfType([propTypes$1I.exports.string, propTypes$1I.exports.number])
|
|
25410
25410
|
});
|
|
25411
25411
|
function SpsListActionBar(props2) {
|
|
25412
25412
|
const _a = props2, {
|
|
@@ -25456,8 +25456,8 @@ function SpsListActionBar(props2) {
|
|
|
25456
25456
|
}, t2("design-system:listActionBar.clearSelected")))));
|
|
25457
25457
|
}
|
|
25458
25458
|
Object.assign(SpsListActionBar, {
|
|
25459
|
-
props: propsDoc$
|
|
25460
|
-
propTypes: propTypes
|
|
25459
|
+
props: propsDoc$_,
|
|
25460
|
+
propTypes: propTypes$$,
|
|
25461
25461
|
displayName: "SpsListActionBar"
|
|
25462
25462
|
});
|
|
25463
25463
|
const SpsTableContext = React.createContext({
|
|
@@ -25784,7 +25784,7 @@ const useMaxHeightTableStyle = (containerRef, maxHeight) => {
|
|
|
25784
25784
|
}
|
|
25785
25785
|
});
|
|
25786
25786
|
};
|
|
25787
|
-
const propsDoc$
|
|
25787
|
+
const propsDoc$Z = {
|
|
25788
25788
|
sort: "SortedColumn",
|
|
25789
25789
|
onSortChange: "SortChangeHandler",
|
|
25790
25790
|
selectable: "boolean",
|
|
@@ -25794,13 +25794,13 @@ const propsDoc$Y = {
|
|
|
25794
25794
|
resizeState: "ResizeState",
|
|
25795
25795
|
onResizeStateChange: "ResizeStateChangeHandler"
|
|
25796
25796
|
};
|
|
25797
|
-
const propTypes$
|
|
25797
|
+
const propTypes$_ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25798
25798
|
onSortChange: fun(),
|
|
25799
|
-
sort: propTypes$
|
|
25800
|
-
selectable: propTypes$
|
|
25801
|
-
maxHeightPx: propTypes$
|
|
25802
|
-
maxHeightRem: propTypes$
|
|
25803
|
-
resizeable: propTypes$
|
|
25799
|
+
sort: propTypes$1I.exports.arrayOf(impl()),
|
|
25800
|
+
selectable: propTypes$1I.exports.bool,
|
|
25801
|
+
maxHeightPx: propTypes$1I.exports.number,
|
|
25802
|
+
maxHeightRem: propTypes$1I.exports.number,
|
|
25803
|
+
resizeable: propTypes$1I.exports.bool,
|
|
25804
25804
|
resizeState: impl(),
|
|
25805
25805
|
onResizeStateChange: fun()
|
|
25806
25806
|
});
|
|
@@ -25858,8 +25858,8 @@ function SpsTable(_A) {
|
|
|
25858
25858
|
}, rest), children)));
|
|
25859
25859
|
}
|
|
25860
25860
|
Object.assign(SpsTable, {
|
|
25861
|
-
props: propsDoc$
|
|
25862
|
-
propTypes: propTypes$
|
|
25861
|
+
props: propsDoc$Z,
|
|
25862
|
+
propTypes: propTypes$_,
|
|
25863
25863
|
displayName: "SpsTable"
|
|
25864
25864
|
});
|
|
25865
25865
|
function findTableElementParent(element) {
|
|
@@ -26029,17 +26029,17 @@ const useColumnResizer = ({
|
|
|
26029
26029
|
]);
|
|
26030
26030
|
return { isResizeable };
|
|
26031
26031
|
};
|
|
26032
|
-
const propsDoc$
|
|
26032
|
+
const propsDoc$Y = {
|
|
26033
26033
|
controlCell: "boolean",
|
|
26034
26034
|
sortKey: "string",
|
|
26035
26035
|
resizeKey: "string",
|
|
26036
26036
|
pinned: "boolean"
|
|
26037
26037
|
};
|
|
26038
|
-
const propTypes$
|
|
26039
|
-
controlCell: propTypes$
|
|
26040
|
-
sortKey: propTypes$
|
|
26041
|
-
resizeKey: propTypes$
|
|
26042
|
-
pinned: propTypes$
|
|
26038
|
+
const propTypes$Z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26039
|
+
controlCell: propTypes$1I.exports.bool,
|
|
26040
|
+
sortKey: propTypes$1I.exports.string,
|
|
26041
|
+
resizeKey: propTypes$1I.exports.string,
|
|
26042
|
+
pinned: propTypes$1I.exports.bool
|
|
26043
26043
|
});
|
|
26044
26044
|
function SpsTableHeader(_C) {
|
|
26045
26045
|
var _D = _C, {
|
|
@@ -26100,23 +26100,23 @@ function SpsTableHeader(_C) {
|
|
|
26100
26100
|
})));
|
|
26101
26101
|
}
|
|
26102
26102
|
Object.assign(SpsTableHeader, {
|
|
26103
|
-
props: propsDoc$
|
|
26104
|
-
propTypes: propTypes$
|
|
26103
|
+
props: propsDoc$Y,
|
|
26104
|
+
propTypes: propTypes$Z,
|
|
26105
26105
|
displayName: "SpsTableHeader"
|
|
26106
26106
|
});
|
|
26107
26107
|
function SpsTh(props2) {
|
|
26108
26108
|
return /* @__PURE__ */ React.createElement(SpsTableHeader, __spreadValues({}, props2));
|
|
26109
26109
|
}
|
|
26110
26110
|
Object.assign(SpsTh, {
|
|
26111
|
-
props: propsDoc$
|
|
26112
|
-
propTypes: propTypes$
|
|
26111
|
+
props: propsDoc$Y,
|
|
26112
|
+
propTypes: propTypes$Z,
|
|
26113
26113
|
displayName: "SpsTh"
|
|
26114
26114
|
});
|
|
26115
|
-
const propsDoc$
|
|
26115
|
+
const propsDoc$X = {
|
|
26116
26116
|
pinned: "boolean"
|
|
26117
26117
|
};
|
|
26118
|
-
const propTypes$
|
|
26119
|
-
pinned: propTypes$
|
|
26118
|
+
const propTypes$Y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26119
|
+
pinned: propTypes$1I.exports.bool
|
|
26120
26120
|
});
|
|
26121
26121
|
function SpsTableHead(_E) {
|
|
26122
26122
|
var _F = _E, {
|
|
@@ -26139,20 +26139,20 @@ function SpsTableHead(_E) {
|
|
|
26139
26139
|
}, rest), children);
|
|
26140
26140
|
}
|
|
26141
26141
|
Object.assign(SpsTableHead, {
|
|
26142
|
-
props: propsDoc$
|
|
26143
|
-
propTypes: propTypes$
|
|
26142
|
+
props: propsDoc$X,
|
|
26143
|
+
propTypes: propTypes$Y,
|
|
26144
26144
|
displayName: "SpsTableHead"
|
|
26145
26145
|
});
|
|
26146
26146
|
function SpsThead(props2) {
|
|
26147
26147
|
return /* @__PURE__ */ React.createElement(SpsTableHead, __spreadValues({}, props2));
|
|
26148
26148
|
}
|
|
26149
26149
|
Object.assign(SpsThead, {
|
|
26150
|
-
props: propsDoc$
|
|
26151
|
-
propTypes: propTypes$
|
|
26150
|
+
props: propsDoc$X,
|
|
26151
|
+
propTypes: propTypes$Y,
|
|
26152
26152
|
displayName: "SpsThead"
|
|
26153
26153
|
});
|
|
26154
|
-
const propsDoc$
|
|
26155
|
-
const propTypes$
|
|
26154
|
+
const propsDoc$W = {};
|
|
26155
|
+
const propTypes$X = __spreadValues({}, spsGlobalPropTypes);
|
|
26156
26156
|
function SpsTableRow(_G) {
|
|
26157
26157
|
var _H = _G, {
|
|
26158
26158
|
children,
|
|
@@ -26173,20 +26173,20 @@ function SpsTableRow(_G) {
|
|
|
26173
26173
|
}, rest), children);
|
|
26174
26174
|
}
|
|
26175
26175
|
Object.assign(SpsTableRow, {
|
|
26176
|
-
props: propsDoc$
|
|
26177
|
-
propTypes: propTypes$
|
|
26176
|
+
props: propsDoc$W,
|
|
26177
|
+
propTypes: propTypes$X,
|
|
26178
26178
|
displayName: "SpsTableRow"
|
|
26179
26179
|
});
|
|
26180
26180
|
function SpsTr(props2) {
|
|
26181
26181
|
return /* @__PURE__ */ React.createElement(SpsTableRow, __spreadValues({}, props2));
|
|
26182
26182
|
}
|
|
26183
26183
|
Object.assign(SpsTr, {
|
|
26184
|
-
props: propsDoc$
|
|
26185
|
-
propTypes: propTypes$
|
|
26184
|
+
props: propsDoc$W,
|
|
26185
|
+
propTypes: propTypes$X,
|
|
26186
26186
|
displayName: "SpsTr"
|
|
26187
26187
|
});
|
|
26188
|
-
const propsDoc$
|
|
26189
|
-
const propTypes$
|
|
26188
|
+
const propsDoc$V = {};
|
|
26189
|
+
const propTypes$W = __spreadValues({}, spsGlobalPropTypes);
|
|
26190
26190
|
function SpsTableBody(props2) {
|
|
26191
26191
|
const _a = props2, {
|
|
26192
26192
|
children,
|
|
@@ -26206,35 +26206,35 @@ function SpsTableBody(props2) {
|
|
|
26206
26206
|
}, rest), children);
|
|
26207
26207
|
}
|
|
26208
26208
|
Object.assign(SpsTableBody, {
|
|
26209
|
-
props: propsDoc$
|
|
26210
|
-
propTypes: propTypes$
|
|
26209
|
+
props: propsDoc$V,
|
|
26210
|
+
propTypes: propTypes$W,
|
|
26211
26211
|
displayName: "SpsTableBody"
|
|
26212
26212
|
});
|
|
26213
26213
|
function SpsTbody(props2) {
|
|
26214
26214
|
return /* @__PURE__ */ React.createElement(SpsTableBody, __spreadValues({}, props2));
|
|
26215
26215
|
}
|
|
26216
26216
|
Object.assign(SpsTbody, {
|
|
26217
|
-
props: propsDoc$
|
|
26218
|
-
propTypes: propTypes$
|
|
26217
|
+
props: propsDoc$V,
|
|
26218
|
+
propTypes: propTypes$W,
|
|
26219
26219
|
displayName: "SpsTbody"
|
|
26220
26220
|
});
|
|
26221
|
-
const propsDoc$
|
|
26221
|
+
const propsDoc$U = {
|
|
26222
26222
|
buttonCell: "boolean",
|
|
26223
26223
|
controlCell: "boolean",
|
|
26224
26224
|
wrap: "SpsTableCellWrapWidth",
|
|
26225
26225
|
pinned: "boolean"
|
|
26226
26226
|
};
|
|
26227
|
-
const propTypes$
|
|
26228
|
-
buttonCell: propTypes$
|
|
26229
|
-
controlCell: propTypes$
|
|
26230
|
-
wrap: propTypes$
|
|
26227
|
+
const propTypes$V = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26228
|
+
buttonCell: propTypes$1I.exports.bool,
|
|
26229
|
+
controlCell: propTypes$1I.exports.bool,
|
|
26230
|
+
wrap: propTypes$1I.exports.oneOf([
|
|
26231
26231
|
200,
|
|
26232
26232
|
300,
|
|
26233
26233
|
400,
|
|
26234
26234
|
500,
|
|
26235
26235
|
600
|
|
26236
26236
|
]),
|
|
26237
|
-
pinned: propTypes$
|
|
26237
|
+
pinned: propTypes$1I.exports.bool
|
|
26238
26238
|
});
|
|
26239
26239
|
function SpsTableCell(props2) {
|
|
26240
26240
|
const _a = props2, {
|
|
@@ -26267,20 +26267,20 @@ function SpsTableCell(props2) {
|
|
|
26267
26267
|
}, rest), children);
|
|
26268
26268
|
}
|
|
26269
26269
|
Object.assign(SpsTableCell, {
|
|
26270
|
-
props: propsDoc$
|
|
26271
|
-
propTypes: propTypes$
|
|
26270
|
+
props: propsDoc$U,
|
|
26271
|
+
propTypes: propTypes$V,
|
|
26272
26272
|
displayName: "SpsTableCell"
|
|
26273
26273
|
});
|
|
26274
26274
|
function SpsTd(props2) {
|
|
26275
26275
|
return /* @__PURE__ */ React.createElement(SpsTableCell, __spreadValues({}, props2));
|
|
26276
26276
|
}
|
|
26277
26277
|
Object.assign(SpsTd, {
|
|
26278
|
-
props: propsDoc$
|
|
26279
|
-
propTypes: propTypes$
|
|
26278
|
+
props: propsDoc$U,
|
|
26279
|
+
propTypes: propTypes$V,
|
|
26280
26280
|
displayName: "SpsTd"
|
|
26281
26281
|
});
|
|
26282
|
-
const propsDoc$
|
|
26283
|
-
const propTypes$
|
|
26282
|
+
const propsDoc$T = {};
|
|
26283
|
+
const propTypes$U = __spreadValues({}, spsGlobalPropTypes);
|
|
26284
26284
|
const CSS_BLOCK$1 = "sps-icon-button-panel";
|
|
26285
26285
|
function SpsIconButtonPanel(_I) {
|
|
26286
26286
|
var _J = _I, {
|
|
@@ -26299,8 +26299,8 @@ function SpsIconButtonPanel(_I) {
|
|
|
26299
26299
|
}, rest), iconButtons);
|
|
26300
26300
|
}
|
|
26301
26301
|
Object.assign(SpsIconButtonPanel, {
|
|
26302
|
-
props: propsDoc$
|
|
26303
|
-
propTypes: propTypes$
|
|
26302
|
+
props: propsDoc$T,
|
|
26303
|
+
propTypes: propTypes$U,
|
|
26304
26304
|
displayName: "SpsIconButtonPanel"
|
|
26305
26305
|
});
|
|
26306
26306
|
const SpsTableExamples = {
|
|
@@ -27624,8 +27624,8 @@ const SpsListActionBarExamples = {
|
|
|
27624
27624
|
}
|
|
27625
27625
|
}
|
|
27626
27626
|
};
|
|
27627
|
-
const propTypes$
|
|
27628
|
-
tabs: propTypes$
|
|
27627
|
+
const propTypes$T = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27628
|
+
tabs: propTypes$1I.exports.arrayOf(impl()).isRequired,
|
|
27629
27629
|
activeTab: impl(),
|
|
27630
27630
|
onTabChange: fun()
|
|
27631
27631
|
});
|
|
@@ -27689,17 +27689,17 @@ function SpsTabs(props2) {
|
|
|
27689
27689
|
}, tab2.tag)))));
|
|
27690
27690
|
}
|
|
27691
27691
|
Object.assign(SpsTabs, {
|
|
27692
|
-
propTypes: propTypes$
|
|
27692
|
+
propTypes: propTypes$T,
|
|
27693
27693
|
displayName: "SpsTabs"
|
|
27694
27694
|
});
|
|
27695
|
-
const propsDoc$
|
|
27695
|
+
const propsDoc$S = {
|
|
27696
27696
|
resultsCount: "number",
|
|
27697
27697
|
totalResults: "number",
|
|
27698
27698
|
onClear: "() => void"
|
|
27699
27699
|
};
|
|
27700
|
-
const propTypes$
|
|
27701
|
-
resultsCount: propTypes$
|
|
27702
|
-
totalResults: propTypes$
|
|
27700
|
+
const propTypes$S = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27701
|
+
resultsCount: propTypes$1I.exports.number,
|
|
27702
|
+
totalResults: propTypes$1I.exports.number,
|
|
27703
27703
|
onClear: fun()
|
|
27704
27704
|
});
|
|
27705
27705
|
function SpsSearchResultsBar(props2) {
|
|
@@ -27750,20 +27750,20 @@ function SpsSearchResultsBar(props2) {
|
|
|
27750
27750
|
}, t2("design-system:searchResultsBar.clear"))));
|
|
27751
27751
|
}
|
|
27752
27752
|
Object.assign(SpsSearchResultsBar, {
|
|
27753
|
-
props: propsDoc$
|
|
27754
|
-
propTypes: propTypes$
|
|
27753
|
+
props: propsDoc$S,
|
|
27754
|
+
propTypes: propTypes$S,
|
|
27755
27755
|
displayName: "SpsSearchResultsBar"
|
|
27756
27756
|
});
|
|
27757
|
-
const propsDoc$
|
|
27757
|
+
const propsDoc$R = {
|
|
27758
27758
|
results: "number",
|
|
27759
27759
|
selections: "{ [key: string]: string[] }",
|
|
27760
27760
|
zeroStateText: "string",
|
|
27761
27761
|
onClear: "() => void"
|
|
27762
27762
|
};
|
|
27763
|
-
const propTypes$
|
|
27764
|
-
results: propTypes$
|
|
27763
|
+
const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27764
|
+
results: propTypes$1I.exports.number,
|
|
27765
27765
|
selections: impl(),
|
|
27766
|
-
zeroStateText: propTypes$
|
|
27766
|
+
zeroStateText: propTypes$1I.exports.string,
|
|
27767
27767
|
onClear: fun()
|
|
27768
27768
|
});
|
|
27769
27769
|
function SpsSearchResultsBarV2(props2) {
|
|
@@ -27820,8 +27820,8 @@ function SpsSearchResultsBarV2(props2) {
|
|
|
27820
27820
|
}, t2("design-system:searchResultsBar.clearResults"))));
|
|
27821
27821
|
}
|
|
27822
27822
|
Object.assign(SpsSearchResultsBarV2, {
|
|
27823
|
-
props: propsDoc$
|
|
27824
|
-
propTypes: propTypes$
|
|
27823
|
+
props: propsDoc$R,
|
|
27824
|
+
propTypes: propTypes$R,
|
|
27825
27825
|
displayName: "SpsSearchResultsBarV2"
|
|
27826
27826
|
});
|
|
27827
27827
|
const SpsSearchResultsBarExamples = {
|
|
@@ -27974,15 +27974,15 @@ const SpsSearchResultsBarExamples = {
|
|
|
27974
27974
|
}
|
|
27975
27975
|
}
|
|
27976
27976
|
};
|
|
27977
|
-
const propsDoc$
|
|
27977
|
+
const propsDoc$Q = {
|
|
27978
27978
|
formMeta: "SpsFormSetMeta<any>",
|
|
27979
27979
|
stacked: "boolean"
|
|
27980
27980
|
};
|
|
27981
|
-
const propTypes$
|
|
27981
|
+
const propTypes$Q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27982
27982
|
formArray: impl(),
|
|
27983
27983
|
formGroup: impl(),
|
|
27984
27984
|
formMeta: impl(),
|
|
27985
|
-
stacked: propTypes$
|
|
27985
|
+
stacked: propTypes$1I.exports.bool
|
|
27986
27986
|
});
|
|
27987
27987
|
function SpsInputGroup(_K) {
|
|
27988
27988
|
var _L = _K, {
|
|
@@ -28027,14 +28027,14 @@ function SpsInputGroup(_K) {
|
|
|
28027
28027
|
}, children));
|
|
28028
28028
|
}
|
|
28029
28029
|
Object.assign(SpsInputGroup, {
|
|
28030
|
-
props: propsDoc$
|
|
28031
|
-
propTypes: propTypes$
|
|
28030
|
+
props: propsDoc$Q,
|
|
28031
|
+
propTypes: propTypes$Q,
|
|
28032
28032
|
displayName: "SpsInputGroup"
|
|
28033
28033
|
});
|
|
28034
|
-
const propsDoc$
|
|
28034
|
+
const propsDoc$P = {
|
|
28035
28035
|
onSubmit: "FormEventHandler"
|
|
28036
28036
|
};
|
|
28037
|
-
const propTypes$
|
|
28037
|
+
const propTypes$P = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28038
28038
|
onSubmit: fun()
|
|
28039
28039
|
});
|
|
28040
28040
|
function SpsListToolbarSearch(props2) {
|
|
@@ -28057,12 +28057,12 @@ function SpsListToolbarSearch(props2) {
|
|
|
28057
28057
|
}, children));
|
|
28058
28058
|
}
|
|
28059
28059
|
Object.assign(SpsListToolbarSearch, {
|
|
28060
|
-
props: propsDoc$
|
|
28061
|
-
propTypes: propTypes$
|
|
28060
|
+
props: propsDoc$P,
|
|
28061
|
+
propTypes: propTypes$P,
|
|
28062
28062
|
displayName: "SpsListToolbarSearch"
|
|
28063
28063
|
});
|
|
28064
|
-
const propsDoc$
|
|
28065
|
-
const propTypes$
|
|
28064
|
+
const propsDoc$O = {};
|
|
28065
|
+
const propTypes$O = __spreadValues({}, spsGlobalPropTypes);
|
|
28066
28066
|
function SpsListToolbarSearchInfo(props2) {
|
|
28067
28067
|
const {
|
|
28068
28068
|
children
|
|
@@ -28070,11 +28070,11 @@ function SpsListToolbarSearchInfo(props2) {
|
|
|
28070
28070
|
return /* @__PURE__ */ React.createElement("div", null, children);
|
|
28071
28071
|
}
|
|
28072
28072
|
Object.assign(SpsListToolbarSearchInfo, {
|
|
28073
|
-
props: propsDoc$
|
|
28074
|
-
propTypes: propTypes$
|
|
28073
|
+
props: propsDoc$O,
|
|
28074
|
+
propTypes: propTypes$O,
|
|
28075
28075
|
displayName: "SpsListToolbarSearchInfo"
|
|
28076
28076
|
});
|
|
28077
|
-
const propsDoc$
|
|
28077
|
+
const propsDoc$N = {
|
|
28078
28078
|
activeTab: "SpsTab",
|
|
28079
28079
|
advancedSearch: "{ isOpen: boolean, enteredFields: number }",
|
|
28080
28080
|
onToggleAdvancedSearch: "(boolean) => void",
|
|
@@ -28089,23 +28089,23 @@ const propsDoc$M = {
|
|
|
28089
28089
|
pinResultsBar: "boolean",
|
|
28090
28090
|
pinToolbar: "boolean"
|
|
28091
28091
|
};
|
|
28092
|
-
const propTypes$
|
|
28092
|
+
const propTypes$N = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28093
28093
|
activeTab: impl(),
|
|
28094
|
-
advancedSearch: propTypes$
|
|
28095
|
-
isOpen: propTypes$
|
|
28096
|
-
enteredFields: propTypes$
|
|
28094
|
+
advancedSearch: propTypes$1I.exports.shape({
|
|
28095
|
+
isOpen: propTypes$1I.exports.bool,
|
|
28096
|
+
enteredFields: propTypes$1I.exports.number
|
|
28097
28097
|
}),
|
|
28098
28098
|
onToggleAdvancedSearch: fun(),
|
|
28099
28099
|
onTabChange: fun(),
|
|
28100
|
-
title: propTypes$
|
|
28101
|
-
tabs: propTypes$
|
|
28100
|
+
title: propTypes$1I.exports.string,
|
|
28101
|
+
tabs: propTypes$1I.exports.arrayOf(impl()),
|
|
28102
28102
|
onToolbarPinned: fun(),
|
|
28103
|
-
selectable: propTypes$
|
|
28104
|
-
isSelected: propTypes$
|
|
28105
|
-
isIndeterminate: propTypes$
|
|
28103
|
+
selectable: propTypes$1I.exports.bool,
|
|
28104
|
+
isSelected: propTypes$1I.exports.bool,
|
|
28105
|
+
isIndeterminate: propTypes$1I.exports.bool,
|
|
28106
28106
|
onSelectionChange: fun(),
|
|
28107
|
-
pinResultsBar: propTypes$
|
|
28108
|
-
pinToolbar: propTypes$
|
|
28107
|
+
pinResultsBar: propTypes$1I.exports.bool,
|
|
28108
|
+
pinToolbar: propTypes$1I.exports.bool
|
|
28109
28109
|
});
|
|
28110
28110
|
function SpsListToolbar(props2) {
|
|
28111
28111
|
const _a = props2, {
|
|
@@ -28268,18 +28268,18 @@ function SpsListToolbar(props2) {
|
|
|
28268
28268
|
}, otherChildren)), /* @__PURE__ */ React.createElement("div", null, (!isPinned || isPinned && pinResultsBar) && searchResultsBar)));
|
|
28269
28269
|
}
|
|
28270
28270
|
Object.assign(SpsListToolbar, {
|
|
28271
|
-
props: propsDoc$
|
|
28272
|
-
propTypes: propTypes$
|
|
28271
|
+
props: propsDoc$N,
|
|
28272
|
+
propTypes: propTypes$N,
|
|
28273
28273
|
displayName: "SpsListToolbar"
|
|
28274
28274
|
});
|
|
28275
|
-
const propsDoc$
|
|
28275
|
+
const propsDoc$M = {
|
|
28276
28276
|
options: "SortOption[]",
|
|
28277
28277
|
activeOption: "SortOption",
|
|
28278
28278
|
onSortChange: "(option: SortOption) => void",
|
|
28279
28279
|
defaultOption: "SortOption"
|
|
28280
28280
|
};
|
|
28281
|
-
const propTypes$
|
|
28282
|
-
options: propTypes$
|
|
28281
|
+
const propTypes$M = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28282
|
+
options: propTypes$1I.exports.arrayOf(impl()),
|
|
28283
28283
|
activeOption: impl(),
|
|
28284
28284
|
onSortChange: fun(),
|
|
28285
28285
|
defaultOption: impl()
|
|
@@ -28303,8 +28303,8 @@ function SpsListToolbarSortBy(props2) {
|
|
|
28303
28303
|
});
|
|
28304
28304
|
}
|
|
28305
28305
|
Object.assign(SpsListToolbarSortBy, {
|
|
28306
|
-
props: propsDoc$
|
|
28307
|
-
propTypes: propTypes$
|
|
28306
|
+
props: propsDoc$M,
|
|
28307
|
+
propTypes: propTypes$M,
|
|
28308
28308
|
displayName: "SpsListToolbarSortBy"
|
|
28309
28309
|
});
|
|
28310
28310
|
function ContentOrderExample() {
|
|
@@ -29049,13 +29049,13 @@ const SpsListToolbarExamples = {
|
|
|
29049
29049
|
}
|
|
29050
29050
|
}
|
|
29051
29051
|
};
|
|
29052
|
-
const propsDoc$
|
|
29052
|
+
const propsDoc$L = {
|
|
29053
29053
|
kind: "FeedbackBlockKind",
|
|
29054
29054
|
message: { type: "string", required: true }
|
|
29055
29055
|
};
|
|
29056
|
-
const propTypes$
|
|
29056
|
+
const propTypes$L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29057
29057
|
kind: enumValue(FeedbackBlockKind),
|
|
29058
|
-
message: propTypes$
|
|
29058
|
+
message: propTypes$1I.exports.node.isRequired
|
|
29059
29059
|
});
|
|
29060
29060
|
function SpsMicroBlock(props2) {
|
|
29061
29061
|
const _a = props2, {
|
|
@@ -29082,8 +29082,8 @@ function SpsMicroBlock(props2) {
|
|
|
29082
29082
|
}), /* @__PURE__ */ React.createElement("span", null, message));
|
|
29083
29083
|
}
|
|
29084
29084
|
Object.assign(SpsMicroBlock, {
|
|
29085
|
-
props: propsDoc$
|
|
29086
|
-
propTypes: propTypes$
|
|
29085
|
+
props: propsDoc$L,
|
|
29086
|
+
propTypes: propTypes$L,
|
|
29087
29087
|
displayName: "SpsMicroBlock"
|
|
29088
29088
|
});
|
|
29089
29089
|
const SpsMicroBlockExamples = {
|
|
@@ -29138,17 +29138,17 @@ const SpsMicroBlockExamples = {
|
|
|
29138
29138
|
}
|
|
29139
29139
|
}
|
|
29140
29140
|
};
|
|
29141
|
-
const propsDoc$
|
|
29141
|
+
const propsDoc$K = {
|
|
29142
29142
|
kind: "ModalKind",
|
|
29143
29143
|
size: "ModalSize",
|
|
29144
29144
|
title: "string",
|
|
29145
29145
|
onClose: "() => void",
|
|
29146
29146
|
focusElementOnOpen: "React.MutableRefObject<HTMLElement>"
|
|
29147
29147
|
};
|
|
29148
|
-
const propTypes$
|
|
29148
|
+
const propTypes$K = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29149
29149
|
kind: enumValue(ModalKind),
|
|
29150
29150
|
size: enumValue(ModalSize),
|
|
29151
|
-
title: propTypes$
|
|
29151
|
+
title: propTypes$1I.exports.string,
|
|
29152
29152
|
onClose: fun(),
|
|
29153
29153
|
focusElementOnOpen: ref()
|
|
29154
29154
|
});
|
|
@@ -29274,10 +29274,159 @@ function SpsModal(_M) {
|
|
|
29274
29274
|
}, t2("design-system:modal.defaultButtonLabel"))))) : /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
29275
29275
|
}
|
|
29276
29276
|
Object.assign(SpsModal, {
|
|
29277
|
+
props: propsDoc$K,
|
|
29278
|
+
propTypes: propTypes$K,
|
|
29279
|
+
displayName: "SpsModal"
|
|
29280
|
+
});
|
|
29281
|
+
const propsDoc$J = {
|
|
29282
|
+
title: "string",
|
|
29283
|
+
show: "boolean",
|
|
29284
|
+
onClose: "() => void",
|
|
29285
|
+
focusElementOnOpen: "React.MutableRefObject<HTMLElement>"
|
|
29286
|
+
};
|
|
29287
|
+
const propTypes$J = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29288
|
+
title: propTypes$1I.exports.string,
|
|
29289
|
+
show: propTypes$1I.exports.bool,
|
|
29290
|
+
onClose: fun(),
|
|
29291
|
+
focusElementOnOpen: ref()
|
|
29292
|
+
});
|
|
29293
|
+
function SpsSlideInPanel(_O) {
|
|
29294
|
+
var _P = _O, {
|
|
29295
|
+
children,
|
|
29296
|
+
className,
|
|
29297
|
+
id: idProp,
|
|
29298
|
+
show,
|
|
29299
|
+
onClose,
|
|
29300
|
+
focusElementOnOpen,
|
|
29301
|
+
title
|
|
29302
|
+
} = _P, rest = __objRest(_P, [
|
|
29303
|
+
"children",
|
|
29304
|
+
"className",
|
|
29305
|
+
"id",
|
|
29306
|
+
"show",
|
|
29307
|
+
"onClose",
|
|
29308
|
+
"focusElementOnOpen",
|
|
29309
|
+
"title"
|
|
29310
|
+
]);
|
|
29311
|
+
const id = useElementId(idProp);
|
|
29312
|
+
const classes = clsx("sps-slide-in-panel", "z-stratum-dialog", show ? "open" : "", className);
|
|
29313
|
+
const { t: t2 } = React.useContext(I18nContext);
|
|
29314
|
+
const rootElement = React.useRef();
|
|
29315
|
+
const [bodyIsReady, setBodyIsReady] = React.useState(false);
|
|
29316
|
+
React.useEffect(() => {
|
|
29317
|
+
const scrollbarWidth = `${window.innerWidth - document.body.clientWidth}px`;
|
|
29318
|
+
document.body.style.paddingRight = scrollbarWidth;
|
|
29319
|
+
document.querySelectorAll(".z-stratum-bar").forEach((element) => {
|
|
29320
|
+
element.tempPaddingRightHolder = element.style.paddingRight;
|
|
29321
|
+
element.style.paddingRight = scrollbarWidth;
|
|
29322
|
+
});
|
|
29323
|
+
setBodyIsReady(true);
|
|
29324
|
+
return () => {
|
|
29325
|
+
document.body.style.paddingRight = "initial";
|
|
29326
|
+
document.body.style.overflow = "auto";
|
|
29327
|
+
document.querySelectorAll(".z-stratum-bar").forEach((element) => {
|
|
29328
|
+
element.style.paddingRight = element.tempPaddingRightHolder || "";
|
|
29329
|
+
delete element.tempPaddingRightHolder;
|
|
29330
|
+
});
|
|
29331
|
+
};
|
|
29332
|
+
}, []);
|
|
29333
|
+
React.useEffect(() => {
|
|
29334
|
+
document.body.style.overflow = show ? "hidden" : "auto";
|
|
29335
|
+
}, [show]);
|
|
29336
|
+
React.useEffect(() => {
|
|
29337
|
+
if (focusElementOnOpen && focusElementOnOpen.current) {
|
|
29338
|
+
focusElementOnOpen.current.focus();
|
|
29339
|
+
} else if (rootElement.current) {
|
|
29340
|
+
rootElement.current.focus();
|
|
29341
|
+
}
|
|
29342
|
+
}, [focusElementOnOpen, bodyIsReady]);
|
|
29343
|
+
const handleKeydown = React.useCallback((event) => {
|
|
29344
|
+
if (event && event.key === "Escape" && onClose) {
|
|
29345
|
+
onClose();
|
|
29346
|
+
}
|
|
29347
|
+
if (event && event.key === "Tab") {
|
|
29348
|
+
const focusableElements = rootElement.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
29349
|
+
const firstFocusableElement = focusableElements[0];
|
|
29350
|
+
const lastFocusableElement = focusableElements[focusableElements.length - 1];
|
|
29351
|
+
if (focusableElements.length === 0) {
|
|
29352
|
+
event.preventDefault();
|
|
29353
|
+
} else if (event.shiftKey && event.target === firstFocusableElement) {
|
|
29354
|
+
event.preventDefault();
|
|
29355
|
+
lastFocusableElement.focus();
|
|
29356
|
+
} else if (!event.shiftKey && event.target === lastFocusableElement) {
|
|
29357
|
+
event.preventDefault();
|
|
29358
|
+
firstFocusableElement.focus();
|
|
29359
|
+
}
|
|
29360
|
+
}
|
|
29361
|
+
}, [onClose]);
|
|
29362
|
+
const [bodyContent] = selectChildren(children);
|
|
29363
|
+
return bodyIsReady ? /* @__PURE__ */ React.createElement("div", {
|
|
29364
|
+
id: id.current,
|
|
29365
|
+
role: "dialog",
|
|
29366
|
+
"aria-labelledby": `${id.current}-title`,
|
|
29367
|
+
className: classes,
|
|
29368
|
+
onKeyDown: handleKeydown,
|
|
29369
|
+
tabIndex: -1,
|
|
29370
|
+
ref: rootElement
|
|
29371
|
+
}, /* @__PURE__ */ React.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
|
29372
|
+
className: `sps-slide-in-panel__dialog ${show ? "open" : ""}`
|
|
29373
|
+
}), /* @__PURE__ */ React.createElement("div", {
|
|
29374
|
+
className: "sps-slide-in-panel__titlebar"
|
|
29375
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
29376
|
+
className: "sps-slide-in-panel__title",
|
|
29377
|
+
id: `${id.current}-title`
|
|
29378
|
+
}, title || t2("design-system:slideInPanel.defaultTitle")), onClose && /* @__PURE__ */ React.createElement("div", {
|
|
29379
|
+
className: "sps-button sps-button--icon",
|
|
29380
|
+
onClick: onClose
|
|
29381
|
+
}, /* @__PURE__ */ React.createElement("button", {
|
|
29382
|
+
"aria-label": t2("design-system:slideInPanel.close"),
|
|
29383
|
+
type: "button"
|
|
29384
|
+
}, /* @__PURE__ */ React.createElement("i", {
|
|
29385
|
+
className: "sps-icon sps-icon-x"
|
|
29386
|
+
})))), /* @__PURE__ */ React.createElement("div", {
|
|
29387
|
+
className: "sps-slide-in-panel__body"
|
|
29388
|
+
}, /* @__PURE__ */ React.createElement(PortalContext.Provider, {
|
|
29389
|
+
value: {
|
|
29390
|
+
parentElementRef: rootElement,
|
|
29391
|
+
fixed: true
|
|
29392
|
+
}
|
|
29393
|
+
}, bodyContent)))) : /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
29394
|
+
}
|
|
29395
|
+
Object.assign(SpsSlideInPanel, {
|
|
29277
29396
|
props: propsDoc$J,
|
|
29278
29397
|
propTypes: propTypes$J,
|
|
29279
|
-
displayName: "
|
|
29398
|
+
displayName: "SpsSlideInPanel"
|
|
29280
29399
|
});
|
|
29400
|
+
const SpsSlideInPanelExamples = {
|
|
29401
|
+
generalUsage: {
|
|
29402
|
+
label: "General Usage",
|
|
29403
|
+
description: () => /* @__PURE__ */ React.createElement(React.Fragment, null),
|
|
29404
|
+
examples: {
|
|
29405
|
+
noCloseButton: {
|
|
29406
|
+
description: () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", null, "Click on the button below to show the slide-in panel.")),
|
|
29407
|
+
react: code`
|
|
29408
|
+
function Component() {
|
|
29409
|
+
const [showSlideInPanel, setShowSlideInPanel] = React.useState(false);
|
|
29410
|
+
|
|
29411
|
+
return <>
|
|
29412
|
+
<SpsButton kind={ButtonKind.LINK} onClick={() => setShowSlideInPanel(true)}>
|
|
29413
|
+
Show Slide-In Panel
|
|
29414
|
+
</SpsButton>
|
|
29415
|
+
<SpsSlideInPanel
|
|
29416
|
+
title="Slide-in Panel"
|
|
29417
|
+
show={showSlideInPanel}
|
|
29418
|
+
onClose={() => setShowSlideInPanel(false)}
|
|
29419
|
+
>
|
|
29420
|
+
<div className="sps-text-semibold mb-1">Optional Headline</div>
|
|
29421
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
|
29422
|
+
</SpsSlideInPanel>
|
|
29423
|
+
</>;
|
|
29424
|
+
}
|
|
29425
|
+
`
|
|
29426
|
+
}
|
|
29427
|
+
}
|
|
29428
|
+
}
|
|
29429
|
+
};
|
|
29281
29430
|
const SpsModalExamples = {
|
|
29282
29431
|
generalUsage: {
|
|
29283
29432
|
label: "General Usage",
|
|
@@ -29770,35 +29919,35 @@ const propsDoc$I = {
|
|
|
29770
29919
|
};
|
|
29771
29920
|
const propTypes$I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29772
29921
|
action: fun(),
|
|
29773
|
-
captionKey: propTypes$
|
|
29774
|
-
clearSearchOnBlur: propTypes$
|
|
29775
|
-
debounce: propTypes$
|
|
29776
|
-
disabled: propTypes$
|
|
29777
|
-
disableSelected: propTypes$
|
|
29778
|
-
comparisonKey: propTypes$
|
|
29922
|
+
captionKey: propTypes$1I.exports.string,
|
|
29923
|
+
clearSearchOnBlur: propTypes$1I.exports.bool,
|
|
29924
|
+
debounce: propTypes$1I.exports.number,
|
|
29925
|
+
disabled: propTypes$1I.exports.bool,
|
|
29926
|
+
disableSelected: propTypes$1I.exports.bool,
|
|
29927
|
+
comparisonKey: propTypes$1I.exports.string,
|
|
29779
29928
|
formControl: impl(),
|
|
29780
29929
|
formMeta: impl(),
|
|
29781
|
-
hideSelected: propTypes$
|
|
29930
|
+
hideSelected: propTypes$1I.exports.bool,
|
|
29782
29931
|
icon: enumValue(SpsIcon),
|
|
29783
29932
|
onChange: fun(),
|
|
29784
29933
|
onSearchChange: fun(),
|
|
29785
|
-
options: propTypes$
|
|
29786
|
-
propTypes$
|
|
29787
|
-
propTypes$
|
|
29934
|
+
options: propTypes$1I.exports.oneOfType([
|
|
29935
|
+
propTypes$1I.exports.array,
|
|
29936
|
+
propTypes$1I.exports.instanceOf(Promise),
|
|
29788
29937
|
fun()
|
|
29789
29938
|
]).isRequired,
|
|
29790
|
-
placeholder: propTypes$
|
|
29791
|
-
tallOptionList: propTypes$
|
|
29792
|
-
textKey: propTypes$
|
|
29793
|
-
value: propTypes$
|
|
29794
|
-
zeroState: propTypes$
|
|
29795
|
-
loading: propTypes$
|
|
29796
|
-
maxHeightOptionListPx: propTypes$
|
|
29797
|
-
maxHeightOptionListRem: propTypes$
|
|
29798
|
-
disableOptionsMemoization: propTypes$
|
|
29939
|
+
placeholder: propTypes$1I.exports.string,
|
|
29940
|
+
tallOptionList: propTypes$1I.exports.bool,
|
|
29941
|
+
textKey: propTypes$1I.exports.string,
|
|
29942
|
+
value: propTypes$1I.exports.any,
|
|
29943
|
+
zeroState: propTypes$1I.exports.string,
|
|
29944
|
+
loading: propTypes$1I.exports.bool,
|
|
29945
|
+
maxHeightOptionListPx: propTypes$1I.exports.number,
|
|
29946
|
+
maxHeightOptionListRem: propTypes$1I.exports.number,
|
|
29947
|
+
disableOptionsMemoization: propTypes$1I.exports.bool
|
|
29799
29948
|
});
|
|
29800
|
-
function SpsMultiSelect(
|
|
29801
|
-
var
|
|
29949
|
+
function SpsMultiSelect(_Q) {
|
|
29950
|
+
var _R = _Q, {
|
|
29802
29951
|
action,
|
|
29803
29952
|
captionKey,
|
|
29804
29953
|
className,
|
|
@@ -29826,7 +29975,7 @@ function SpsMultiSelect(_O) {
|
|
|
29826
29975
|
maxHeightOptionListRem,
|
|
29827
29976
|
disableOptionsMemoization,
|
|
29828
29977
|
"data-testid": testId
|
|
29829
|
-
} =
|
|
29978
|
+
} = _R, rest = __objRest(_R, [
|
|
29830
29979
|
"action",
|
|
29831
29980
|
"captionKey",
|
|
29832
29981
|
"className",
|
|
@@ -30620,33 +30769,33 @@ const propsDoc$F = {
|
|
|
30620
30769
|
};
|
|
30621
30770
|
const propTypes$F = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
30622
30771
|
action: fun(),
|
|
30623
|
-
captionKey: propTypes$
|
|
30624
|
-
comparisonKey: propTypes$
|
|
30625
|
-
disabled: propTypes$
|
|
30772
|
+
captionKey: propTypes$1I.exports.string,
|
|
30773
|
+
comparisonKey: propTypes$1I.exports.string,
|
|
30774
|
+
disabled: propTypes$1I.exports.bool,
|
|
30626
30775
|
formControl: impl(),
|
|
30627
30776
|
formMeta: impl(),
|
|
30628
|
-
notClearable: propTypes$
|
|
30629
|
-
options: propTypes$
|
|
30630
|
-
propTypes$
|
|
30631
|
-
propTypes$
|
|
30777
|
+
notClearable: propTypes$1I.exports.bool,
|
|
30778
|
+
options: propTypes$1I.exports.oneOfType([
|
|
30779
|
+
propTypes$1I.exports.array,
|
|
30780
|
+
propTypes$1I.exports.instanceOf(Promise),
|
|
30632
30781
|
fun()
|
|
30633
30782
|
]).isRequired,
|
|
30634
30783
|
onChange: fun(),
|
|
30635
30784
|
onOpen: fun(),
|
|
30636
|
-
placeholder: propTypes$
|
|
30637
|
-
searchDebounce: propTypes$
|
|
30638
|
-
searchPlaceholder: propTypes$
|
|
30639
|
-
tallOptionList: propTypes$
|
|
30640
|
-
textKey: propTypes$
|
|
30641
|
-
valueKey: propTypes$
|
|
30642
|
-
value: propTypes$
|
|
30643
|
-
zeroState: propTypes$
|
|
30644
|
-
autoFixWidth: propTypes$
|
|
30645
|
-
loading: propTypes$
|
|
30646
|
-
filterByTextAndCaptionKey: propTypes$
|
|
30647
|
-
maxHeightOptionListPx: propTypes$
|
|
30648
|
-
maxHeightOptionListRem: propTypes$
|
|
30649
|
-
disableOptionsMemoization: propTypes$
|
|
30785
|
+
placeholder: propTypes$1I.exports.string,
|
|
30786
|
+
searchDebounce: propTypes$1I.exports.number,
|
|
30787
|
+
searchPlaceholder: propTypes$1I.exports.string,
|
|
30788
|
+
tallOptionList: propTypes$1I.exports.bool,
|
|
30789
|
+
textKey: propTypes$1I.exports.string,
|
|
30790
|
+
valueKey: propTypes$1I.exports.string,
|
|
30791
|
+
value: propTypes$1I.exports.any,
|
|
30792
|
+
zeroState: propTypes$1I.exports.string,
|
|
30793
|
+
autoFixWidth: propTypes$1I.exports.bool,
|
|
30794
|
+
loading: propTypes$1I.exports.bool,
|
|
30795
|
+
filterByTextAndCaptionKey: propTypes$1I.exports.bool,
|
|
30796
|
+
maxHeightOptionListPx: propTypes$1I.exports.number,
|
|
30797
|
+
maxHeightOptionListRem: propTypes$1I.exports.number,
|
|
30798
|
+
disableOptionsMemoization: propTypes$1I.exports.bool
|
|
30650
30799
|
});
|
|
30651
30800
|
const SpsSelect = React.forwardRef((props2, ref2) => {
|
|
30652
30801
|
const _a = props2, {
|
|
@@ -30897,11 +31046,11 @@ const propsDoc$E = {
|
|
|
30897
31046
|
unknownPageCount: "boolean"
|
|
30898
31047
|
};
|
|
30899
31048
|
const propTypes$E = __spreadValues({
|
|
30900
|
-
numPages: propTypes$
|
|
31049
|
+
numPages: propTypes$1I.exports.number,
|
|
30901
31050
|
onPageChange: fun(),
|
|
30902
|
-
page: propTypes$
|
|
30903
|
-
disabled: propTypes$
|
|
30904
|
-
unknownPageCount: propTypes$
|
|
31051
|
+
page: propTypes$1I.exports.number,
|
|
31052
|
+
disabled: propTypes$1I.exports.bool,
|
|
31053
|
+
unknownPageCount: propTypes$1I.exports.bool
|
|
30905
31054
|
}, spsGlobalPropTypes);
|
|
30906
31055
|
function SpsPageSelector(props2) {
|
|
30907
31056
|
const _a = props2, {
|
|
@@ -31012,12 +31161,12 @@ const propsDoc$D = {
|
|
|
31012
31161
|
};
|
|
31013
31162
|
const propTypes$D = __spreadValues({
|
|
31014
31163
|
onPageChange: fun().isRequired,
|
|
31015
|
-
page: propTypes$
|
|
31016
|
-
pageSize: propTypes$
|
|
31017
|
-
pageSizeOptions: propTypes$
|
|
31018
|
-
totalResults: propTypes$
|
|
31019
|
-
disabled: propTypes$
|
|
31020
|
-
unknownPageCount: propTypes$
|
|
31164
|
+
page: propTypes$1I.exports.number,
|
|
31165
|
+
pageSize: propTypes$1I.exports.number,
|
|
31166
|
+
pageSizeOptions: propTypes$1I.exports.arrayOf(propTypes$1I.exports.number),
|
|
31167
|
+
totalResults: propTypes$1I.exports.number,
|
|
31168
|
+
disabled: propTypes$1I.exports.bool,
|
|
31169
|
+
unknownPageCount: propTypes$1I.exports.bool
|
|
31021
31170
|
}, spsGlobalPropTypes);
|
|
31022
31171
|
function SpsPagination(props2) {
|
|
31023
31172
|
const _a = props2, {
|
|
@@ -31296,14 +31445,14 @@ const propsDoc$B = {
|
|
|
31296
31445
|
tabs: "Array<string>"
|
|
31297
31446
|
};
|
|
31298
31447
|
const propTypes$C = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
31299
|
-
activeTab: propTypes$
|
|
31300
|
-
fullWidth: propTypes$
|
|
31448
|
+
activeTab: propTypes$1I.exports.string,
|
|
31449
|
+
fullWidth: propTypes$1I.exports.bool,
|
|
31301
31450
|
onTabChange: fun(),
|
|
31302
31451
|
onProductNameClick: fun(),
|
|
31303
|
-
productLogoSrc: propTypes$
|
|
31304
|
-
productName: propTypes$
|
|
31305
|
-
productNameHref: propTypes$
|
|
31306
|
-
tabs: propTypes$
|
|
31452
|
+
productLogoSrc: propTypes$1I.exports.string,
|
|
31453
|
+
productName: propTypes$1I.exports.string,
|
|
31454
|
+
productNameHref: propTypes$1I.exports.string,
|
|
31455
|
+
tabs: propTypes$1I.exports.arrayOf(propTypes$1I.exports.string)
|
|
31307
31456
|
});
|
|
31308
31457
|
function SpsProductBar(props2) {
|
|
31309
31458
|
const _a = props2, {
|
|
@@ -31526,10 +31675,10 @@ const propsDoc$A = {
|
|
|
31526
31675
|
onClose: "() => void"
|
|
31527
31676
|
};
|
|
31528
31677
|
const propTypes$B = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
31529
|
-
percentComplete: propTypes$
|
|
31530
|
-
title: propTypes$
|
|
31531
|
-
detail: propTypes$
|
|
31532
|
-
disabled: propTypes$
|
|
31678
|
+
percentComplete: propTypes$1I.exports.number,
|
|
31679
|
+
title: propTypes$1I.exports.string,
|
|
31680
|
+
detail: propTypes$1I.exports.string,
|
|
31681
|
+
disabled: propTypes$1I.exports.bool,
|
|
31533
31682
|
onClose: fun()
|
|
31534
31683
|
});
|
|
31535
31684
|
function SpsProgressBar(props2) {
|
|
@@ -32273,13 +32422,13 @@ const propsDoc$y = {
|
|
|
32273
32422
|
data: "SteppedProgressBarData[]"
|
|
32274
32423
|
};
|
|
32275
32424
|
const propTypes$z = {
|
|
32276
|
-
title: propTypes$
|
|
32277
|
-
stepsCount: propTypes$
|
|
32278
|
-
completedStepsCount: propTypes$
|
|
32279
|
-
disabled: propTypes$
|
|
32280
|
-
showStepsCounter: propTypes$
|
|
32425
|
+
title: propTypes$1I.exports.string,
|
|
32426
|
+
stepsCount: propTypes$1I.exports.number,
|
|
32427
|
+
completedStepsCount: propTypes$1I.exports.number,
|
|
32428
|
+
disabled: propTypes$1I.exports.bool,
|
|
32429
|
+
showStepsCounter: propTypes$1I.exports.bool,
|
|
32281
32430
|
color: enumValue(SteppedProgressBarColor),
|
|
32282
|
-
data: propTypes$
|
|
32431
|
+
data: propTypes$1I.exports.arrayOf(impl())
|
|
32283
32432
|
};
|
|
32284
32433
|
function SpsSteppedProgressBar(props2) {
|
|
32285
32434
|
const {
|
|
@@ -32431,20 +32580,20 @@ const propsDoc$x = {
|
|
|
32431
32580
|
value: "any"
|
|
32432
32581
|
};
|
|
32433
32582
|
const propTypes$y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32434
|
-
checked: propTypes$
|
|
32435
|
-
disabled: propTypes$
|
|
32583
|
+
checked: propTypes$1I.exports.bool,
|
|
32584
|
+
disabled: propTypes$1I.exports.bool,
|
|
32436
32585
|
formControl: impl(),
|
|
32437
32586
|
formMeta: impl(),
|
|
32438
|
-
inline: propTypes$
|
|
32439
|
-
centered: propTypes$
|
|
32440
|
-
label: propTypes$
|
|
32441
|
-
name: propTypes$
|
|
32587
|
+
inline: propTypes$1I.exports.bool,
|
|
32588
|
+
centered: propTypes$1I.exports.bool,
|
|
32589
|
+
label: propTypes$1I.exports.string,
|
|
32590
|
+
name: propTypes$1I.exports.string.isRequired,
|
|
32442
32591
|
onChange: fun(),
|
|
32443
32592
|
ref: ref(),
|
|
32444
|
-
value: propTypes$
|
|
32593
|
+
value: propTypes$1I.exports.any
|
|
32445
32594
|
});
|
|
32446
|
-
function SpsRadioButton(
|
|
32447
|
-
var
|
|
32595
|
+
function SpsRadioButton(_S) {
|
|
32596
|
+
var _T = _S, {
|
|
32448
32597
|
checked,
|
|
32449
32598
|
className,
|
|
32450
32599
|
"data-testid": testId,
|
|
@@ -32460,7 +32609,7 @@ function SpsRadioButton(_Q) {
|
|
|
32460
32609
|
ref: ref2,
|
|
32461
32610
|
unsafelyReplaceClassName,
|
|
32462
32611
|
value
|
|
32463
|
-
} =
|
|
32612
|
+
} = _T, rest = __objRest(_T, [
|
|
32464
32613
|
"checked",
|
|
32465
32614
|
"className",
|
|
32466
32615
|
"data-testid",
|
|
@@ -33078,7 +33227,7 @@ const propsDoc$w = {
|
|
|
33078
33227
|
maxHeight: "string"
|
|
33079
33228
|
};
|
|
33080
33229
|
const propTypes$x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33081
|
-
maxHeight: propTypes$
|
|
33230
|
+
maxHeight: propTypes$1I.exports.string
|
|
33082
33231
|
});
|
|
33083
33232
|
function SpsScrollableContainer(props2) {
|
|
33084
33233
|
const {
|
|
@@ -34014,15 +34163,15 @@ const propsDoc$v = {
|
|
|
34014
34163
|
widthRem: "number"
|
|
34015
34164
|
};
|
|
34016
34165
|
const propTypes$w = __spreadValues({
|
|
34017
|
-
sortKey: propTypes$
|
|
34018
|
-
sortDisabled: propTypes$
|
|
34019
|
-
sort: propTypes$
|
|
34166
|
+
sortKey: propTypes$1I.exports.string,
|
|
34167
|
+
sortDisabled: propTypes$1I.exports.bool,
|
|
34168
|
+
sort: propTypes$1I.exports.arrayOf(impl()),
|
|
34020
34169
|
onSortChange: fun(),
|
|
34021
|
-
widthPx: propTypes$
|
|
34022
|
-
widthRem: propTypes$
|
|
34170
|
+
widthPx: propTypes$1I.exports.number,
|
|
34171
|
+
widthRem: propTypes$1I.exports.number
|
|
34023
34172
|
}, spsGlobalPropTypes);
|
|
34024
|
-
function SpsSortingHeaderCell(
|
|
34025
|
-
var
|
|
34173
|
+
function SpsSortingHeaderCell(_U) {
|
|
34174
|
+
var _V = _U, {
|
|
34026
34175
|
className,
|
|
34027
34176
|
"data-testid": testId,
|
|
34028
34177
|
unsafelyReplaceClassName,
|
|
@@ -34035,7 +34184,7 @@ function SpsSortingHeaderCell(_S) {
|
|
|
34035
34184
|
widthPx,
|
|
34036
34185
|
widthRem,
|
|
34037
34186
|
style: style2
|
|
34038
|
-
} =
|
|
34187
|
+
} = _V, rest = __objRest(_V, [
|
|
34039
34188
|
"className",
|
|
34040
34189
|
"data-testid",
|
|
34041
34190
|
"unsafelyReplaceClassName",
|
|
@@ -34089,18 +34238,18 @@ const propsDoc$u = {
|
|
|
34089
34238
|
onSortChange: "SortChangeHandler"
|
|
34090
34239
|
};
|
|
34091
34240
|
const propTypes$v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34092
|
-
sort: propTypes$
|
|
34241
|
+
sort: propTypes$1I.exports.arrayOf(impl()),
|
|
34093
34242
|
onSortChange: fun()
|
|
34094
34243
|
});
|
|
34095
|
-
function SpsSortingHeader(
|
|
34096
|
-
var
|
|
34244
|
+
function SpsSortingHeader(_W) {
|
|
34245
|
+
var _X = _W, {
|
|
34097
34246
|
className,
|
|
34098
34247
|
"data-testid": testId,
|
|
34099
34248
|
unsafelyReplaceClassName,
|
|
34100
34249
|
sort,
|
|
34101
34250
|
onSortChange,
|
|
34102
34251
|
children
|
|
34103
|
-
} =
|
|
34252
|
+
} = _X, rest = __objRest(_X, [
|
|
34104
34253
|
"className",
|
|
34105
34254
|
"data-testid",
|
|
34106
34255
|
"unsafelyReplaceClassName",
|
|
@@ -34172,12 +34321,12 @@ const propsDoc$t = {
|
|
|
34172
34321
|
options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
|
|
34173
34322
|
};
|
|
34174
34323
|
const propTypes$u = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34175
|
-
disabled: propTypes$
|
|
34176
|
-
href: propTypes$
|
|
34177
|
-
label: propTypes$
|
|
34324
|
+
disabled: propTypes$1I.exports.bool,
|
|
34325
|
+
href: propTypes$1I.exports.string,
|
|
34326
|
+
label: propTypes$1I.exports.string,
|
|
34178
34327
|
icon: enumValue(SpsIcon),
|
|
34179
34328
|
kind: enumValue(StdButtonKind),
|
|
34180
|
-
options: propTypes$
|
|
34329
|
+
options: propTypes$1I.exports.arrayOf(propTypes$1I.exports.oneOfType([propTypes$1I.exports.func, propTypes$1I.exports.any]))
|
|
34181
34330
|
});
|
|
34182
34331
|
function SpsSplitButton(props2) {
|
|
34183
34332
|
const _a = props2, {
|
|
@@ -34334,7 +34483,7 @@ const propsDoc$s = {
|
|
|
34334
34483
|
channelId: { type: "string", required: true }
|
|
34335
34484
|
};
|
|
34336
34485
|
const propTypes$t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34337
|
-
channelId: propTypes$
|
|
34486
|
+
channelId: propTypes$1I.exports.string.isRequired
|
|
34338
34487
|
});
|
|
34339
34488
|
function SpsSlackLink(props2) {
|
|
34340
34489
|
const _a = props2, {
|
|
@@ -34416,8 +34565,8 @@ const propsDoc$q = {
|
|
|
34416
34565
|
onToggle: "(isExpanded: boolean) => void"
|
|
34417
34566
|
};
|
|
34418
34567
|
const propTypes$r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34419
|
-
expanded: propTypes$
|
|
34420
|
-
selected: propTypes$
|
|
34568
|
+
expanded: propTypes$1I.exports.bool,
|
|
34569
|
+
selected: propTypes$1I.exports.bool,
|
|
34421
34570
|
onToggle: fun()
|
|
34422
34571
|
});
|
|
34423
34572
|
function SpsSummaryListRow(props2) {
|
|
@@ -34499,10 +34648,10 @@ const propsDoc$p = {
|
|
|
34499
34648
|
width: "string"
|
|
34500
34649
|
};
|
|
34501
34650
|
const propTypes$q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34502
|
-
borderless: propTypes$
|
|
34503
|
-
lean: propTypes$
|
|
34504
|
-
leaner: propTypes$
|
|
34505
|
-
width: propTypes$
|
|
34651
|
+
borderless: propTypes$1I.exports.bool,
|
|
34652
|
+
lean: propTypes$1I.exports.bool,
|
|
34653
|
+
leaner: propTypes$1I.exports.bool,
|
|
34654
|
+
width: propTypes$1I.exports.string
|
|
34506
34655
|
});
|
|
34507
34656
|
function SpsSummaryListColumn(props2) {
|
|
34508
34657
|
const _a = props2, {
|
|
@@ -34835,20 +34984,20 @@ const props = {
|
|
|
34835
34984
|
suppressTooltips: "boolean"
|
|
34836
34985
|
};
|
|
34837
34986
|
const propTypes$p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34838
|
-
tasks: propTypes$
|
|
34987
|
+
tasks: propTypes$1I.exports.arrayOf(propTypes$1I.exports.any),
|
|
34839
34988
|
taskQueuePosition: enumValue(Position),
|
|
34840
|
-
notificationText: propTypes$
|
|
34841
|
-
tooltipConfig: propTypes$
|
|
34989
|
+
notificationText: propTypes$1I.exports.string,
|
|
34990
|
+
tooltipConfig: propTypes$1I.exports.shape({
|
|
34842
34991
|
position: enumValue(Position),
|
|
34843
34992
|
kind: enumValue(TooltipKind)
|
|
34844
34993
|
}),
|
|
34845
34994
|
onClose: fun(),
|
|
34846
34995
|
onOpen: fun(),
|
|
34847
34996
|
onClearCompleted: fun(),
|
|
34848
|
-
suppressTooltips: propTypes$
|
|
34997
|
+
suppressTooltips: propTypes$1I.exports.bool
|
|
34849
34998
|
});
|
|
34850
|
-
function SpsTaskQueue(
|
|
34851
|
-
var
|
|
34999
|
+
function SpsTaskQueue(_Y) {
|
|
35000
|
+
var _Z = _Y, {
|
|
34852
35001
|
tasks = [],
|
|
34853
35002
|
taskQueuePosition = Position.BOTTOM_RIGHT,
|
|
34854
35003
|
notificationText,
|
|
@@ -34860,7 +35009,7 @@ function SpsTaskQueue(_W) {
|
|
|
34860
35009
|
"data-testid": testId,
|
|
34861
35010
|
unsafelyReplaceClassName,
|
|
34862
35011
|
suppressTooltips = false
|
|
34863
|
-
} =
|
|
35012
|
+
} = _Z, rest = __objRest(_Z, [
|
|
34864
35013
|
"tasks",
|
|
34865
35014
|
"taskQueuePosition",
|
|
34866
35015
|
"notificationText",
|
|
@@ -35383,18 +35532,18 @@ const propsDoc$o = {
|
|
|
35383
35532
|
additionalText: "string"
|
|
35384
35533
|
};
|
|
35385
35534
|
const propTypes$o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35386
|
-
disabled: propTypes$
|
|
35535
|
+
disabled: propTypes$1I.exports.bool,
|
|
35387
35536
|
formControl: impl(),
|
|
35388
35537
|
formMeta: impl(),
|
|
35389
35538
|
icon: enumValue(SpsIcon),
|
|
35390
|
-
name: propTypes$
|
|
35539
|
+
name: propTypes$1I.exports.string,
|
|
35391
35540
|
onChange: fun(),
|
|
35392
|
-
placeholder: propTypes$
|
|
35393
|
-
value: propTypes$
|
|
35394
|
-
additionalText: propTypes$
|
|
35541
|
+
placeholder: propTypes$1I.exports.string,
|
|
35542
|
+
value: propTypes$1I.exports.string,
|
|
35543
|
+
additionalText: propTypes$1I.exports.string
|
|
35395
35544
|
});
|
|
35396
|
-
const SpsTextInput = React.forwardRef((
|
|
35397
|
-
var
|
|
35545
|
+
const SpsTextInput = React.forwardRef((__, ref2) => {
|
|
35546
|
+
var _$ = __, {
|
|
35398
35547
|
className,
|
|
35399
35548
|
disabled = false,
|
|
35400
35549
|
formControl: formControl2,
|
|
@@ -35409,7 +35558,7 @@ const SpsTextInput = React.forwardRef((_Y, ref2) => {
|
|
|
35409
35558
|
unsafelyReplaceClassName,
|
|
35410
35559
|
value = "",
|
|
35411
35560
|
additionalText
|
|
35412
|
-
} =
|
|
35561
|
+
} = _$, rest = __objRest(_$, [
|
|
35413
35562
|
"className",
|
|
35414
35563
|
"disabled",
|
|
35415
35564
|
"formControl",
|
|
@@ -35619,19 +35768,19 @@ const propsDoc$n = {
|
|
|
35619
35768
|
additionalText: "string"
|
|
35620
35769
|
};
|
|
35621
35770
|
const propTypes$n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35622
|
-
disabled: propTypes$
|
|
35771
|
+
disabled: propTypes$1I.exports.bool,
|
|
35623
35772
|
formControl: impl(),
|
|
35624
35773
|
formMeta: impl(),
|
|
35625
|
-
name: propTypes$
|
|
35774
|
+
name: propTypes$1I.exports.string,
|
|
35626
35775
|
onChange: fun(),
|
|
35627
|
-
placeholder: propTypes$
|
|
35776
|
+
placeholder: propTypes$1I.exports.string,
|
|
35628
35777
|
ref: ref(),
|
|
35629
|
-
rows: propTypes$
|
|
35630
|
-
value: propTypes$
|
|
35631
|
-
additionalText: propTypes$
|
|
35778
|
+
rows: propTypes$1I.exports.number,
|
|
35779
|
+
value: propTypes$1I.exports.string,
|
|
35780
|
+
additionalText: propTypes$1I.exports.string
|
|
35632
35781
|
});
|
|
35633
|
-
function SpsTextarea(
|
|
35634
|
-
var
|
|
35782
|
+
function SpsTextarea(_aa) {
|
|
35783
|
+
var _ba = _aa, {
|
|
35635
35784
|
className,
|
|
35636
35785
|
disabled = false,
|
|
35637
35786
|
formControl: formControl2,
|
|
@@ -35646,7 +35795,7 @@ function SpsTextarea(__) {
|
|
|
35646
35795
|
unsafelyReplaceClassName,
|
|
35647
35796
|
value = "",
|
|
35648
35797
|
additionalText
|
|
35649
|
-
} =
|
|
35798
|
+
} = _ba, rest = __objRest(_ba, [
|
|
35650
35799
|
"className",
|
|
35651
35800
|
"disabled",
|
|
35652
35801
|
"formControl",
|
|
@@ -35854,15 +36003,15 @@ const propsDoc$m = {
|
|
|
35854
36003
|
disabled: "boolean"
|
|
35855
36004
|
};
|
|
35856
36005
|
const propTypes$m = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35857
|
-
href: propTypes$
|
|
35858
|
-
target: propTypes$
|
|
36006
|
+
href: propTypes$1I.exports.string,
|
|
36007
|
+
target: propTypes$1I.exports.string,
|
|
35859
36008
|
icon: nodeOrRenderFn.isRequired,
|
|
35860
|
-
error: propTypes$
|
|
36009
|
+
error: propTypes$1I.exports.bool,
|
|
35861
36010
|
errorIcon: nodeOrRenderFn,
|
|
35862
|
-
title: propTypes$
|
|
35863
|
-
warning: propTypes$
|
|
36011
|
+
title: propTypes$1I.exports.string.isRequired,
|
|
36012
|
+
warning: propTypes$1I.exports.bool,
|
|
35864
36013
|
warningIcon: nodeOrRenderFn,
|
|
35865
|
-
disabled: propTypes$
|
|
36014
|
+
disabled: propTypes$1I.exports.bool
|
|
35866
36015
|
});
|
|
35867
36016
|
function SpsTile(props2) {
|
|
35868
36017
|
const _a = props2, {
|
|
@@ -36187,10 +36336,10 @@ const propsDoc$k = {
|
|
|
36187
36336
|
active: "boolean"
|
|
36188
36337
|
};
|
|
36189
36338
|
const propTypes$k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36190
|
-
value: propTypes$
|
|
36191
|
-
title: propTypes$
|
|
36339
|
+
value: propTypes$1I.exports.number.isRequired,
|
|
36340
|
+
title: propTypes$1I.exports.string.isRequired,
|
|
36192
36341
|
kind: enumValue(SpsFilterTileKind),
|
|
36193
|
-
active: propTypes$
|
|
36342
|
+
active: propTypes$1I.exports.bool
|
|
36194
36343
|
});
|
|
36195
36344
|
function SpsFilterTile(props2) {
|
|
36196
36345
|
const _a = props2, {
|
|
@@ -36324,14 +36473,14 @@ const propsDoc$i = {
|
|
|
36324
36473
|
onChange: "(isActive: boolean) => void"
|
|
36325
36474
|
};
|
|
36326
36475
|
const propTypes$i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36327
|
-
active: propTypes$
|
|
36328
|
-
description: propTypes$
|
|
36329
|
-
disabled: propTypes$
|
|
36476
|
+
active: propTypes$1I.exports.bool,
|
|
36477
|
+
description: propTypes$1I.exports.string,
|
|
36478
|
+
disabled: propTypes$1I.exports.bool,
|
|
36330
36479
|
formControl: impl(),
|
|
36331
36480
|
formMeta: impl(),
|
|
36332
|
-
id: propTypes$
|
|
36333
|
-
label: propTypes$
|
|
36334
|
-
large: propTypes$
|
|
36481
|
+
id: propTypes$1I.exports.string,
|
|
36482
|
+
label: propTypes$1I.exports.string,
|
|
36483
|
+
large: propTypes$1I.exports.bool,
|
|
36335
36484
|
onChange: fun(),
|
|
36336
36485
|
ref: ref()
|
|
36337
36486
|
});
|
|
@@ -36659,7 +36808,7 @@ const propsDoc$h = {
|
|
|
36659
36808
|
icon: "SpsIcon"
|
|
36660
36809
|
};
|
|
36661
36810
|
const propTypes$h = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36662
|
-
heading: propTypes$
|
|
36811
|
+
heading: propTypes$1I.exports.string,
|
|
36663
36812
|
icon: enumValue(SpsIcon)
|
|
36664
36813
|
});
|
|
36665
36814
|
function SpsWorkflow(props2) {
|
|
@@ -36711,7 +36860,7 @@ const propsDoc$g = {
|
|
|
36711
36860
|
progress: "number"
|
|
36712
36861
|
};
|
|
36713
36862
|
const propTypes$g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36714
|
-
progress: propTypes$
|
|
36863
|
+
progress: propTypes$1I.exports.number,
|
|
36715
36864
|
size: enumValue(RingSize)
|
|
36716
36865
|
});
|
|
36717
36866
|
function SpsProgressRing({
|
|
@@ -36756,7 +36905,7 @@ const propsDoc$f = {
|
|
|
36756
36905
|
phases: "WizardPhase[]"
|
|
36757
36906
|
};
|
|
36758
36907
|
const propTypes$f = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36759
|
-
phases: propTypes$
|
|
36908
|
+
phases: propTypes$1I.exports.arrayOf(impl())
|
|
36760
36909
|
});
|
|
36761
36910
|
const CSS_BLOCK = "sps-wizard-sidebar";
|
|
36762
36911
|
function SpsWizardSidebar({
|
|
@@ -36807,10 +36956,10 @@ const propsDoc$e = {
|
|
|
36807
36956
|
};
|
|
36808
36957
|
const propTypes$e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36809
36958
|
condition: enumValue(WizardSubstepConditions).isRequired,
|
|
36810
|
-
display: propTypes$
|
|
36811
|
-
orderPosition: propTypes$
|
|
36812
|
-
propTypes$
|
|
36813
|
-
propTypes$
|
|
36959
|
+
display: propTypes$1I.exports.string.isRequired,
|
|
36960
|
+
orderPosition: propTypes$1I.exports.oneOfType([
|
|
36961
|
+
propTypes$1I.exports.string,
|
|
36962
|
+
propTypes$1I.exports.number
|
|
36814
36963
|
]).isRequired
|
|
36815
36964
|
});
|
|
36816
36965
|
function SpsWizardSubstep(props2) {
|
|
@@ -37011,7 +37160,7 @@ const propsDoc$b = {
|
|
|
37011
37160
|
};
|
|
37012
37161
|
const propTypes$b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37013
37162
|
icon: enumValue(SpsIcon).isRequired,
|
|
37014
|
-
title: propTypes$
|
|
37163
|
+
title: propTypes$1I.exports.string.isRequired
|
|
37015
37164
|
});
|
|
37016
37165
|
function SpsWorkflowStep(props2) {
|
|
37017
37166
|
const _a = props2, {
|
|
@@ -37123,10 +37272,10 @@ const propsDoc$a = {
|
|
|
37123
37272
|
subHeading: "string"
|
|
37124
37273
|
};
|
|
37125
37274
|
const propTypes$a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37126
|
-
illustration: propTypes$
|
|
37127
|
-
artwork: propTypes$
|
|
37128
|
-
heading: propTypes$
|
|
37129
|
-
subHeading: propTypes$
|
|
37275
|
+
illustration: propTypes$1I.exports.string,
|
|
37276
|
+
artwork: propTypes$1I.exports.string,
|
|
37277
|
+
heading: propTypes$1I.exports.string.isRequired,
|
|
37278
|
+
subHeading: propTypes$1I.exports.string
|
|
37130
37279
|
});
|
|
37131
37280
|
function SpsZeroState(props2) {
|
|
37132
37281
|
const _a = props2, {
|
|
@@ -37184,7 +37333,7 @@ const propsDoc$9 = {
|
|
|
37184
37333
|
subHeading: "ReactNodeOrRenderFn"
|
|
37185
37334
|
};
|
|
37186
37335
|
const propTypes$9 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37187
|
-
illustration: propTypes$
|
|
37336
|
+
illustration: propTypes$1I.exports.string,
|
|
37188
37337
|
icon: enumValue(SpsIcon),
|
|
37189
37338
|
heading: nodeOrRenderFn,
|
|
37190
37339
|
subHeading: nodeOrRenderFn
|
|
@@ -37404,8 +37553,8 @@ function Component() {
|
|
|
37404
37553
|
};
|
|
37405
37554
|
const propsDoc$8 = {};
|
|
37406
37555
|
const propTypes$8 = __spreadValues({}, spsGlobalPropTypes);
|
|
37407
|
-
function SpsFilterPanel(
|
|
37408
|
-
var
|
|
37556
|
+
function SpsFilterPanel(_ca) {
|
|
37557
|
+
var _da = _ca, { children, className } = _da, rest = __objRest(_da, ["children", "className"]);
|
|
37409
37558
|
return /* @__PURE__ */ React.createElement("div", __spreadValues({
|
|
37410
37559
|
className: clsx("sps-filter-panel", className)
|
|
37411
37560
|
}, rest), children);
|
|
@@ -37424,15 +37573,15 @@ const propsDoc$7 = {
|
|
|
37424
37573
|
onCollapse: "() => void"
|
|
37425
37574
|
};
|
|
37426
37575
|
const propTypes$7 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37427
|
-
title: propTypes$
|
|
37428
|
-
expanded: propTypes$
|
|
37429
|
-
heightPx: propTypes$
|
|
37430
|
-
heightRem: propTypes$
|
|
37576
|
+
title: propTypes$1I.exports.string,
|
|
37577
|
+
expanded: propTypes$1I.exports.bool,
|
|
37578
|
+
heightPx: propTypes$1I.exports.number,
|
|
37579
|
+
heightRem: propTypes$1I.exports.number,
|
|
37431
37580
|
onExpand: fun(),
|
|
37432
37581
|
onCollapse: fun()
|
|
37433
37582
|
});
|
|
37434
|
-
function SpsFilterPanelSection(
|
|
37435
|
-
var
|
|
37583
|
+
function SpsFilterPanelSection(_ea) {
|
|
37584
|
+
var _fa = _ea, {
|
|
37436
37585
|
children,
|
|
37437
37586
|
className,
|
|
37438
37587
|
title,
|
|
@@ -37441,7 +37590,7 @@ function SpsFilterPanelSection(_ca) {
|
|
|
37441
37590
|
heightRem,
|
|
37442
37591
|
onExpand,
|
|
37443
37592
|
onCollapse
|
|
37444
|
-
} =
|
|
37593
|
+
} = _fa, rest = __objRest(_fa, [
|
|
37445
37594
|
"children",
|
|
37446
37595
|
"className",
|
|
37447
37596
|
"title",
|
|
@@ -37494,12 +37643,12 @@ const propsDoc$6 = {
|
|
|
37494
37643
|
const propTypes$6 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37495
37644
|
onClear: fun()
|
|
37496
37645
|
});
|
|
37497
|
-
function SpsFilterPanelCap(
|
|
37498
|
-
var
|
|
37646
|
+
function SpsFilterPanelCap(_ga) {
|
|
37647
|
+
var _ha = _ga, {
|
|
37499
37648
|
children,
|
|
37500
37649
|
className,
|
|
37501
37650
|
onClear
|
|
37502
|
-
} =
|
|
37651
|
+
} = _ha, rest = __objRest(_ha, [
|
|
37503
37652
|
"children",
|
|
37504
37653
|
"className",
|
|
37505
37654
|
"onClear"
|
|
@@ -37853,19 +38002,19 @@ const propsDoc$5 = {
|
|
|
37853
38002
|
onFilterChange: "ChangeEventHandler<HTMLInputElement>"
|
|
37854
38003
|
};
|
|
37855
38004
|
const propTypes$5 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37856
|
-
value: propTypes$
|
|
37857
|
-
placeholder: propTypes$
|
|
38005
|
+
value: propTypes$1I.exports.string,
|
|
38006
|
+
placeholder: propTypes$1I.exports.string,
|
|
37858
38007
|
formMeta: impl(),
|
|
37859
38008
|
onFilterChange: fun()
|
|
37860
38009
|
});
|
|
37861
|
-
function SpsFilterPanelFilterBox(
|
|
37862
|
-
var
|
|
38010
|
+
function SpsFilterPanelFilterBox(_ia) {
|
|
38011
|
+
var _ja = _ia, {
|
|
37863
38012
|
className,
|
|
37864
38013
|
value,
|
|
37865
38014
|
placeholder,
|
|
37866
38015
|
formMeta,
|
|
37867
38016
|
onFilterChange
|
|
37868
|
-
} =
|
|
38017
|
+
} = _ja, rest = __objRest(_ja, [
|
|
37869
38018
|
"className",
|
|
37870
38019
|
"value",
|
|
37871
38020
|
"placeholder",
|
|
@@ -37892,14 +38041,14 @@ const propsDoc$4 = {
|
|
|
37892
38041
|
showCondition: "boolean"
|
|
37893
38042
|
};
|
|
37894
38043
|
const propTypes$4 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37895
|
-
showCondition: propTypes$
|
|
38044
|
+
showCondition: propTypes$1I.exports.bool
|
|
37896
38045
|
});
|
|
37897
|
-
function SpsConditionalField(
|
|
37898
|
-
var
|
|
38046
|
+
function SpsConditionalField(_ka) {
|
|
38047
|
+
var _la = _ka, {
|
|
37899
38048
|
showCondition = true,
|
|
37900
38049
|
children,
|
|
37901
38050
|
className
|
|
37902
|
-
} =
|
|
38051
|
+
} = _la, rest = __objRest(_la, [
|
|
37903
38052
|
"showCondition",
|
|
37904
38053
|
"children",
|
|
37905
38054
|
"className"
|
|
@@ -38348,6 +38497,11 @@ const MANIFEST = {
|
|
|
38348
38497
|
description: "Zero States are placeholders in content areas when there is no content to show. You can view all available illustrations on the Illustrations page.",
|
|
38349
38498
|
components: [SpsZeroState, SpsMicroZeroState],
|
|
38350
38499
|
examples: SpsZeroStateExamples
|
|
38500
|
+
},
|
|
38501
|
+
"Slide In Panel": {
|
|
38502
|
+
description: "",
|
|
38503
|
+
components: [SpsSlideInPanel],
|
|
38504
|
+
examples: SpsSlideInPanelExamples
|
|
38351
38505
|
}
|
|
38352
38506
|
};
|
|
38353
38507
|
const SpsContextBar = function({
|
|
@@ -38375,12 +38529,12 @@ const propsDoc$3 = {
|
|
|
38375
38529
|
value: "number"
|
|
38376
38530
|
};
|
|
38377
38531
|
const propTypes$3 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38378
|
-
disabled: propTypes$
|
|
38532
|
+
disabled: propTypes$1I.exports.bool,
|
|
38379
38533
|
formMeta: impl(),
|
|
38380
|
-
name: propTypes$
|
|
38534
|
+
name: propTypes$1I.exports.string,
|
|
38381
38535
|
onChange: fun(),
|
|
38382
38536
|
ref: ref(),
|
|
38383
|
-
value: propTypes$
|
|
38537
|
+
value: propTypes$1I.exports.number
|
|
38384
38538
|
});
|
|
38385
38539
|
function strToDollars(str) {
|
|
38386
38540
|
return str ? Number.parseInt(str.replace(/[^\d]/g, ""), 10) / 100 : null;
|
|
@@ -38388,8 +38542,8 @@ function strToDollars(str) {
|
|
|
38388
38542
|
function dollarsToStr(dollars) {
|
|
38389
38543
|
return typeof dollars === "number" ? dollars.toFixed(2) : "";
|
|
38390
38544
|
}
|
|
38391
|
-
function SpsCurrencyInput(
|
|
38392
|
-
var
|
|
38545
|
+
function SpsCurrencyInput(_ma) {
|
|
38546
|
+
var _na = _ma, {
|
|
38393
38547
|
className,
|
|
38394
38548
|
disabled = false,
|
|
38395
38549
|
formMeta,
|
|
@@ -38399,7 +38553,7 @@ function SpsCurrencyInput(_ka) {
|
|
|
38399
38553
|
ref: ref2,
|
|
38400
38554
|
title,
|
|
38401
38555
|
value
|
|
38402
|
-
} =
|
|
38556
|
+
} = _na, rest = __objRest(_na, [
|
|
38403
38557
|
"className",
|
|
38404
38558
|
"disabled",
|
|
38405
38559
|
"formMeta",
|
|
@@ -38555,10 +38709,10 @@ const propsDoc$2 = {
|
|
|
38555
38709
|
};
|
|
38556
38710
|
const propTypes$2 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38557
38711
|
color: enumValue(TagKind),
|
|
38558
|
-
href: propTypes$
|
|
38712
|
+
href: propTypes$1I.exports.string,
|
|
38559
38713
|
icon: enumValue(SpsIcon),
|
|
38560
|
-
tagKey: propTypes$
|
|
38561
|
-
value: propTypes$
|
|
38714
|
+
tagKey: propTypes$1I.exports.string.isRequired,
|
|
38715
|
+
value: propTypes$1I.exports.string.isRequired
|
|
38562
38716
|
});
|
|
38563
38717
|
function SpsKeyValueTag(props2) {
|
|
38564
38718
|
const _a = props2, {
|
|
@@ -38665,18 +38819,18 @@ const propsDoc$1 = {
|
|
|
38665
38819
|
createTagOptions: "string[]"
|
|
38666
38820
|
};
|
|
38667
38821
|
const propTypes$1 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
38668
|
-
disabled: propTypes$
|
|
38822
|
+
disabled: propTypes$1I.exports.bool,
|
|
38669
38823
|
formControl: impl(),
|
|
38670
38824
|
formMeta: impl(),
|
|
38671
38825
|
icon: enumValue(SpsIcon),
|
|
38672
38826
|
onChange: fun(),
|
|
38673
38827
|
onEntryChange: fun(),
|
|
38674
|
-
placeholder: propTypes$
|
|
38675
|
-
value: propTypes$
|
|
38676
|
-
createTagOptions: propTypes$
|
|
38828
|
+
placeholder: propTypes$1I.exports.string,
|
|
38829
|
+
value: propTypes$1I.exports.any,
|
|
38830
|
+
createTagOptions: propTypes$1I.exports.arrayOf(propTypes$1I.exports.string)
|
|
38677
38831
|
});
|
|
38678
|
-
function SpsMultiValueTextInput(
|
|
38679
|
-
var
|
|
38832
|
+
function SpsMultiValueTextInput(_oa) {
|
|
38833
|
+
var _pa = _oa, {
|
|
38680
38834
|
className,
|
|
38681
38835
|
disabled,
|
|
38682
38836
|
formControl: formControl2,
|
|
@@ -38690,7 +38844,7 @@ function SpsMultiValueTextInput(_ma) {
|
|
|
38690
38844
|
icon,
|
|
38691
38845
|
createTagOptions = [" ", ","],
|
|
38692
38846
|
"data-testid": testId
|
|
38693
|
-
} =
|
|
38847
|
+
} = _pa, rest = __objRest(_pa, [
|
|
38694
38848
|
"className",
|
|
38695
38849
|
"disabled",
|
|
38696
38850
|
"formControl",
|
|
@@ -38997,4 +39151,4 @@ Object.assign(SpsVr, {
|
|
|
38997
39151
|
propTypes,
|
|
38998
39152
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
38999
39153
|
});
|
|
39000
|
-
export { AsTypingErrorKeys, ContentOrderExample, DEFAULT_PRESETS, DragDropContext, PublicDraggable as Draggable, ConnectedDroppable as Droppable, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, OnSubmitErrorKeys, PortalContext, PreventativeErrorKeys, Provide, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsApp, 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, SpsContextBar, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, 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, SpsModalExamples, SpsModalFooter, SpsMultiSelect, SpsMultiSelectExamples, SpsMultiValueTextInput, SpsMultiValueTextInputExamples, 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, bindProps, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, resetServerContext, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useColumnResizer, useCustomValidator, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, useKeyboardSensor, useMouseSensor, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, useTouchSensor, validate };
|
|
39154
|
+
export { AsTypingErrorKeys, ContentOrderExample, DEFAULT_PRESETS, DragDropContext, PublicDraggable as Draggable, ConnectedDroppable as Droppable, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, OnSubmitErrorKeys, PortalContext, PreventativeErrorKeys, Provide, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsApp, 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, SpsContextBar, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, 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, SpsModalExamples, SpsModalFooter, SpsMultiSelect, SpsMultiSelectExamples, SpsMultiValueTextInput, SpsMultiValueTextInputExamples, 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, SpsSlideInPanel, SpsSlideInPanelExamples, 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, bindProps, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, resetServerContext, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useColumnResizer, useCustomValidator, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, useKeyboardSensor, useMouseSensor, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, useTouchSensor, validate };
|