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