@spscommerce/ds-react 4.25.0 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/autocomplete/SpsAutocomplete.d.ts +2 -1
- package/lib/dropdown/SpsDropdown.d.ts +1 -0
- package/lib/index.cjs.js +74 -74
- package/lib/index.es.js +359 -329
- package/lib/multi-select/SpsMultiSelect.d.ts +2 -1
- package/lib/option-list/SpsOptionListProps.d.ts +1 -0
- package/lib/select/SpsSelect.d.ts +2 -1
- package/package.json +9 -9
package/lib/index.es.js
CHANGED
|
@@ -31,7 +31,7 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import * as React from "react";
|
|
33
33
|
import React__default, { useRef, useEffect, createContext, useMemo as useMemo$1, useContext, useReducer, useState, useLayoutEffect as useLayoutEffect$1, useCallback as useCallback$1 } from "react";
|
|
34
|
-
import { noI18nI18n, ButtonKind, ButtonType, SpsIcon as SpsIcon$1, Position, ZStratum, SpsOptionListOption, DropdownKind, SPS_ACTION_DEFAULTS, TagKind, ClickableTagKind, MultiSelectTagKind, SpsIconSize, SelectMode, TooltipKind, TooltipShowTrigger, TOOLTIP_HIDE_DELAY_MS_DEFAULT, FeedbackBlockKind, FeedbackBlockIcons, GrowlerKind, GrowlerIcon, GROWLER_VISIBLE_DURATION_MS, GROWLER_FADEOUT_DURATION_MS, SpsInsightTileKind, SpsInsightTileIcons, SortDirection, ModalKind, ModalSize, DEFAULT_PAGE_SIZE_OPTIONS,
|
|
34
|
+
import { noI18nI18n, ButtonKind, ButtonType, SpsIcon as SpsIcon$1, SpinnerSize, Position, ZStratum, SpsOptionListOption, DropdownKind, SPS_ACTION_DEFAULTS, TagKind, ClickableTagKind, MultiSelectTagKind, SpsIconSize, SelectMode, TooltipKind, TooltipShowTrigger, TOOLTIP_HIDE_DELAY_MS_DEFAULT, FeedbackBlockKind, FeedbackBlockIcons, GrowlerKind, GrowlerIcon, GROWLER_VISIBLE_DURATION_MS, GROWLER_FADEOUT_DURATION_MS, SpsInsightTileKind, SpsInsightTileIcons, SortDirection, ModalKind, ModalSize, DEFAULT_PAGE_SIZE_OPTIONS, StdButtonKind, SpsTaskStatus, TASK_QUEUE_NOTIFICATION_DURATION_MS, SpsTaskStatusIcons, SpsFilterTileKind, RingSize, WizardSubstepConditions } from "@spscommerce/ds-shared";
|
|
35
35
|
import { values as values$3, code, debounce, flatten, deepFreeze, setPath, diff, DiffChange, getPath, crumblePath, traversePath, forEachNestedObject, lockToAnimationFrames, constrain } from "@spscommerce/utils";
|
|
36
36
|
import * as ReactDOM from "react-dom";
|
|
37
37
|
import { createPortal, unstable_batchedUpdates } from "react-dom";
|
|
@@ -759,6 +759,46 @@ var scrollIntoViewImport = /* @__PURE__ */ Object.freeze({
|
|
|
759
759
|
[Symbol.toStringTag]: "Module",
|
|
760
760
|
"default": scrollIntoView$1
|
|
761
761
|
});
|
|
762
|
+
const propsDoc$1y = {
|
|
763
|
+
alt: "string",
|
|
764
|
+
size: "SpinnerSize",
|
|
765
|
+
title: "string"
|
|
766
|
+
};
|
|
767
|
+
const propTypes$1C = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
768
|
+
alt: propTypes$1F.exports.string,
|
|
769
|
+
size: enumValue(SpinnerSize),
|
|
770
|
+
title: propTypes$1F.exports.string
|
|
771
|
+
});
|
|
772
|
+
function SpsSpinner(props2) {
|
|
773
|
+
const _a = props2, {
|
|
774
|
+
alt,
|
|
775
|
+
className,
|
|
776
|
+
size = SpinnerSize.MEDIUM,
|
|
777
|
+
"data-testid": testId,
|
|
778
|
+
title,
|
|
779
|
+
unsafelyReplaceClassName
|
|
780
|
+
} = _a, rest = __objRest(_a, [
|
|
781
|
+
"alt",
|
|
782
|
+
"className",
|
|
783
|
+
"size",
|
|
784
|
+
"data-testid",
|
|
785
|
+
"title",
|
|
786
|
+
"unsafelyReplaceClassName"
|
|
787
|
+
]);
|
|
788
|
+
const { t: t2 } = React.useContext(I18nContext);
|
|
789
|
+
const altText = alt || title || t2("design-system:spinner.defaultAltText");
|
|
790
|
+
const spinnerClasses = clsx(unsafelyReplaceClassName || "sps-spinner", `sps-spinner--${size}`, className);
|
|
791
|
+
return /* @__PURE__ */ React.createElement("i", __spreadValues({
|
|
792
|
+
className: spinnerClasses,
|
|
793
|
+
"data-testid": testId,
|
|
794
|
+
title: altText
|
|
795
|
+
}, rest));
|
|
796
|
+
}
|
|
797
|
+
Object.assign(SpsSpinner, {
|
|
798
|
+
props: propsDoc$1y,
|
|
799
|
+
propTypes: propTypes$1C,
|
|
800
|
+
displayName: "SpsSpinner"
|
|
801
|
+
});
|
|
762
802
|
const NAVBAR_HEIGHT = 60;
|
|
763
803
|
function px$1(num) {
|
|
764
804
|
return typeof num === "undefined" ? "inherit" : `${num}px`;
|
|
@@ -966,7 +1006,7 @@ const searchableOptionListProps = {
|
|
|
966
1006
|
searchPlaceholder: propTypes$1F.exports.string,
|
|
967
1007
|
searchInputRef: ref()
|
|
968
1008
|
};
|
|
969
|
-
const propTypes$
|
|
1009
|
+
const propTypes$1B = __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), {
|
|
970
1010
|
attachTo: ref().isRequired,
|
|
971
1011
|
conformWidth: propTypes$1F.exports.bool,
|
|
972
1012
|
id: propTypes$1F.exports.string.isRequired,
|
|
@@ -983,13 +1023,18 @@ const propTypes$1C = __spreadProps(__spreadValues(__spreadValues(__spreadValues(
|
|
|
983
1023
|
positionOverride: propTypes$1F.exports.arrayOf(enumValue(Position)),
|
|
984
1024
|
selectedOption: propTypes$1F.exports.any,
|
|
985
1025
|
specialAction: fun(),
|
|
986
|
-
ignoreWidthStyles: propTypes$1F.exports.bool
|
|
1026
|
+
ignoreWidthStyles: propTypes$1F.exports.bool,
|
|
1027
|
+
loading: propTypes$1F.exports.bool
|
|
987
1028
|
});
|
|
988
|
-
async function updateOptions(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon) {
|
|
1029
|
+
async function updateOptions(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef) {
|
|
989
1030
|
searchStatePatch({ pending: true });
|
|
990
1031
|
const fetchedOptions = typeof props2.options === "function" ? props2.options(searchState.value) : props2.options || [];
|
|
991
1032
|
const resultPromise = fetchedOptions instanceof Promise ? fetchedOptions : Promise.resolve(fetchedOptions);
|
|
1033
|
+
promiseRef.current = resultPromise;
|
|
992
1034
|
const result = await resultPromise || [];
|
|
1035
|
+
if (promiseRef.current !== resultPromise) {
|
|
1036
|
+
return;
|
|
1037
|
+
}
|
|
993
1038
|
let newOpts = Array.from(result).filter(Boolean).map((thing) => new SpsOptionListOption(thing, typeof thing === "function" ? {
|
|
994
1039
|
textKey: "label",
|
|
995
1040
|
captionKey: "caption"
|
|
@@ -1023,9 +1068,10 @@ async function updateOptions(props2, searchState, searchStatePatch, setOptionLis
|
|
|
1023
1068
|
function useOptionListOptions(props2, searchState, searchStatePatch) {
|
|
1024
1069
|
const [optionList, setOptionList] = React.useState(Object.freeze([]));
|
|
1025
1070
|
const [anyOptionHasIcon, setAnyOptionHasIcon] = React.useState(false);
|
|
1071
|
+
const promiseRef = React.useRef(null);
|
|
1026
1072
|
const update2 = React.useMemo(() => typeof props2.options === "function" ? debounce(updateOptions, typeof props2.searchDebounce !== "undefined" ? props2.searchDebounce : 500) : updateOptions, [props2.options, props2.disabledOptions]);
|
|
1027
1073
|
React.useEffect(() => {
|
|
1028
|
-
void update2(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon);
|
|
1074
|
+
void update2(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef);
|
|
1029
1075
|
}, [
|
|
1030
1076
|
props2.options,
|
|
1031
1077
|
searchState.value,
|
|
@@ -1269,7 +1315,8 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
1269
1315
|
positionOverride,
|
|
1270
1316
|
selectedOption,
|
|
1271
1317
|
specialAction,
|
|
1272
|
-
unsafelyReplaceClassName
|
|
1318
|
+
unsafelyReplaceClassName,
|
|
1319
|
+
loading
|
|
1273
1320
|
} = _a, rest = __objRest(_a, [
|
|
1274
1321
|
"captionKey",
|
|
1275
1322
|
"comparisonKey",
|
|
@@ -1301,7 +1348,8 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
1301
1348
|
"positionOverride",
|
|
1302
1349
|
"selectedOption",
|
|
1303
1350
|
"specialAction",
|
|
1304
|
-
"unsafelyReplaceClassName"
|
|
1351
|
+
"unsafelyReplaceClassName",
|
|
1352
|
+
"loading"
|
|
1305
1353
|
]);
|
|
1306
1354
|
const specialActionOption = React.useMemo(() => specialAction ? new SpsOptionListOption(specialAction, {
|
|
1307
1355
|
textKey: "label",
|
|
@@ -1523,9 +1571,11 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
1523
1571
|
}, rest), searchElement, /* @__PURE__ */ React.createElement("div", {
|
|
1524
1572
|
className: optionsClasses,
|
|
1525
1573
|
ref: optionsRef
|
|
1526
|
-
}, zeroState && (searchState.value || !searchState.isAsync) && optionList.length === 0 && /* @__PURE__ */ React.createElement("div", {
|
|
1574
|
+
}, !loading && !searchState.pending && zeroState && (searchState.value || !searchState.isAsync) && optionList.length === 0 && /* @__PURE__ */ React.createElement("div", {
|
|
1527
1575
|
className: "sps-option-list__zero-state"
|
|
1528
|
-
}, zeroState),
|
|
1576
|
+
}, zeroState), (loading || searchState.pending) && /* @__PURE__ */ React.createElement("div", {
|
|
1577
|
+
className: "sps-option-list__loading"
|
|
1578
|
+
}, /* @__PURE__ */ React.createElement(SpsSpinner, null)), !loading && !searchState.pending && optionList.map((option, i2) => {
|
|
1529
1579
|
const identifier = `${id2}-option-${i2}`;
|
|
1530
1580
|
return /* @__PURE__ */ React.createElement("a", {
|
|
1531
1581
|
key: identifier,
|
|
@@ -1561,7 +1611,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
1561
1611
|
}), /* @__PURE__ */ React.createElement("span", null, specialAction.label))));
|
|
1562
1612
|
});
|
|
1563
1613
|
Object.assign(SpsOptionList, {
|
|
1564
|
-
propTypes: propTypes$
|
|
1614
|
+
propTypes: propTypes$1B,
|
|
1565
1615
|
displayName: "SpsOptionList"
|
|
1566
1616
|
});
|
|
1567
1617
|
function selectChildren(children = [], groups = []) {
|
|
@@ -1650,7 +1700,7 @@ function useInputPopup(rootRef, popupRef) {
|
|
|
1650
1700
|
doHidePopup
|
|
1651
1701
|
};
|
|
1652
1702
|
}
|
|
1653
|
-
const propsDoc$
|
|
1703
|
+
const propsDoc$1x = {
|
|
1654
1704
|
debounce: "number",
|
|
1655
1705
|
disabled: "boolean",
|
|
1656
1706
|
formMeta: "SpsFormFieldMeta<string>",
|
|
@@ -1666,9 +1716,10 @@ const propsDoc$1y = {
|
|
|
1666
1716
|
},
|
|
1667
1717
|
tallOptionList: "boolean",
|
|
1668
1718
|
value: "string",
|
|
1669
|
-
zeroState: "string"
|
|
1719
|
+
zeroState: "string",
|
|
1720
|
+
loading: "boolean"
|
|
1670
1721
|
};
|
|
1671
|
-
const propTypes$
|
|
1722
|
+
const propTypes$1A = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
1672
1723
|
debounce: propTypes$1F.exports.number,
|
|
1673
1724
|
disabled: propTypes$1F.exports.bool,
|
|
1674
1725
|
formControl: impl(),
|
|
@@ -1683,7 +1734,8 @@ const propTypes$1B = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
|
1683
1734
|
]).isRequired,
|
|
1684
1735
|
tallOptionList: propTypes$1F.exports.bool,
|
|
1685
1736
|
value: propTypes$1F.exports.string,
|
|
1686
|
-
zeroState: propTypes$1F.exports.string
|
|
1737
|
+
zeroState: propTypes$1F.exports.string,
|
|
1738
|
+
loading: propTypes$1F.exports.bool
|
|
1687
1739
|
});
|
|
1688
1740
|
function SpsAutocomplete(_a) {
|
|
1689
1741
|
var _b = _a, {
|
|
@@ -1700,7 +1752,8 @@ function SpsAutocomplete(_a) {
|
|
|
1700
1752
|
unsafelyReplaceClassName,
|
|
1701
1753
|
tallOptionList,
|
|
1702
1754
|
value = "",
|
|
1703
|
-
zeroState
|
|
1755
|
+
zeroState,
|
|
1756
|
+
loading
|
|
1704
1757
|
} = _b, rest = __objRest(_b, [
|
|
1705
1758
|
"className",
|
|
1706
1759
|
"debounce",
|
|
@@ -1715,7 +1768,8 @@ function SpsAutocomplete(_a) {
|
|
|
1715
1768
|
"unsafelyReplaceClassName",
|
|
1716
1769
|
"tallOptionList",
|
|
1717
1770
|
"value",
|
|
1718
|
-
"zeroState"
|
|
1771
|
+
"zeroState",
|
|
1772
|
+
"loading"
|
|
1719
1773
|
]);
|
|
1720
1774
|
const meta = formMeta || formControl2;
|
|
1721
1775
|
const { wrapperId, controlId } = useFormControlId(id2, meta);
|
|
@@ -1823,12 +1877,13 @@ function SpsAutocomplete(_a) {
|
|
|
1823
1877
|
search: value,
|
|
1824
1878
|
searchDebounce: debounce2,
|
|
1825
1879
|
tall: tallOptionList,
|
|
1826
|
-
zeroState
|
|
1880
|
+
zeroState,
|
|
1881
|
+
loading
|
|
1827
1882
|
}));
|
|
1828
1883
|
}
|
|
1829
1884
|
Object.assign(SpsAutocomplete, {
|
|
1830
|
-
props: propsDoc$
|
|
1831
|
-
propTypes: propTypes$
|
|
1885
|
+
props: propsDoc$1x,
|
|
1886
|
+
propTypes: propTypes$1A,
|
|
1832
1887
|
displayName: "SpsAutocomplete"
|
|
1833
1888
|
});
|
|
1834
1889
|
const SpsAutocompleteExamples = {
|
|
@@ -1951,7 +2006,7 @@ const SpsAutocompleteExamples = {
|
|
|
1951
2006
|
}
|
|
1952
2007
|
}
|
|
1953
2008
|
};
|
|
1954
|
-
const propsDoc$
|
|
2009
|
+
const propsDoc$1w = {
|
|
1955
2010
|
alignLeft: "boolean",
|
|
1956
2011
|
disabled: "boolean",
|
|
1957
2012
|
icon: "SpsIcon",
|
|
@@ -1962,9 +2017,10 @@ const propsDoc$1x = {
|
|
|
1962
2017
|
spinningTitle: "string",
|
|
1963
2018
|
tallOptionList: "boolean",
|
|
1964
2019
|
onOpen: "() => void",
|
|
1965
|
-
onClose: "() => void"
|
|
2020
|
+
onClose: "() => void",
|
|
2021
|
+
loading: "boolean"
|
|
1966
2022
|
};
|
|
1967
|
-
const propTypes$
|
|
2023
|
+
const propTypes$1z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
1968
2024
|
alignLeft: propTypes$1F.exports.bool,
|
|
1969
2025
|
disabled: propTypes$1F.exports.bool,
|
|
1970
2026
|
icon: enumValue(SpsIcon$1),
|
|
@@ -1975,7 +2031,8 @@ const propTypes$1A = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
|
1975
2031
|
spinningTitle: propTypes$1F.exports.string,
|
|
1976
2032
|
tallOptionList: propTypes$1F.exports.bool,
|
|
1977
2033
|
onOpen: fun(),
|
|
1978
|
-
onClose: fun()
|
|
2034
|
+
onClose: fun(),
|
|
2035
|
+
loading: propTypes$1F.exports.bool
|
|
1979
2036
|
});
|
|
1980
2037
|
function SpsDropdown(props2) {
|
|
1981
2038
|
const _a = props2, {
|
|
@@ -1993,7 +2050,8 @@ function SpsDropdown(props2) {
|
|
|
1993
2050
|
tallOptionList,
|
|
1994
2051
|
unsafelyReplaceClassName,
|
|
1995
2052
|
onOpen,
|
|
1996
|
-
onClose
|
|
2053
|
+
onClose,
|
|
2054
|
+
loading
|
|
1997
2055
|
} = _a, rest = __objRest(_a, [
|
|
1998
2056
|
"alignLeft",
|
|
1999
2057
|
"className",
|
|
@@ -2009,7 +2067,8 @@ function SpsDropdown(props2) {
|
|
|
2009
2067
|
"tallOptionList",
|
|
2010
2068
|
"unsafelyReplaceClassName",
|
|
2011
2069
|
"onOpen",
|
|
2012
|
-
"onClose"
|
|
2070
|
+
"onClose",
|
|
2071
|
+
"loading"
|
|
2013
2072
|
]);
|
|
2014
2073
|
const { t: t2 } = React.useContext(I18nContext);
|
|
2015
2074
|
const id2 = useElementId(idProp);
|
|
@@ -2107,7 +2166,8 @@ function SpsDropdown(props2) {
|
|
|
2107
2166
|
options,
|
|
2108
2167
|
offsets: [0, 0],
|
|
2109
2168
|
tall: tallOptionList,
|
|
2110
|
-
optionRole: "option"
|
|
2169
|
+
optionRole: "option",
|
|
2170
|
+
loading
|
|
2111
2171
|
}), /* @__PURE__ */ React.createElement("div", {
|
|
2112
2172
|
onClick: handleButtonClick,
|
|
2113
2173
|
className: buttonClasses,
|
|
@@ -2129,12 +2189,12 @@ function SpsDropdown(props2) {
|
|
|
2129
2189
|
}, spinningTitle || t2("design-system:button.spinningTitle")))));
|
|
2130
2190
|
}
|
|
2131
2191
|
Object.assign(SpsDropdown, {
|
|
2132
|
-
props: propsDoc$
|
|
2133
|
-
propTypes: propTypes$
|
|
2192
|
+
props: propsDoc$1w,
|
|
2193
|
+
propTypes: propTypes$1z,
|
|
2134
2194
|
displayName: "SpsDropdown"
|
|
2135
2195
|
});
|
|
2136
|
-
const propsDoc$
|
|
2137
|
-
const propTypes$
|
|
2196
|
+
const propsDoc$1v = {};
|
|
2197
|
+
const propTypes$1y = __spreadValues({}, spsGlobalPropTypes);
|
|
2138
2198
|
function SpsButtonGroup(props2) {
|
|
2139
2199
|
const _a = props2, {
|
|
2140
2200
|
children,
|
|
@@ -2165,8 +2225,8 @@ function SpsButtonGroup(props2) {
|
|
|
2165
2225
|
}), others.length > 0 && others);
|
|
2166
2226
|
}
|
|
2167
2227
|
Object.assign(SpsButtonGroup, {
|
|
2168
|
-
props: propsDoc$
|
|
2169
|
-
propTypes: propTypes$
|
|
2228
|
+
props: propsDoc$1v,
|
|
2229
|
+
propTypes: propTypes$1y,
|
|
2170
2230
|
displayName: "SpsButtonGroup"
|
|
2171
2231
|
});
|
|
2172
2232
|
const SpsButtonExamples = {
|
|
@@ -2645,12 +2705,12 @@ const SpsButtonExamples = {
|
|
|
2645
2705
|
}
|
|
2646
2706
|
}
|
|
2647
2707
|
};
|
|
2648
|
-
const propsDoc$
|
|
2708
|
+
const propsDoc$1u = {
|
|
2649
2709
|
content: "ReactNodeLike",
|
|
2650
2710
|
icon: "SpsIcon",
|
|
2651
2711
|
title: "string"
|
|
2652
2712
|
};
|
|
2653
|
-
const propTypes$
|
|
2713
|
+
const propTypes$1x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2654
2714
|
content: propTypes$1F.exports.node,
|
|
2655
2715
|
icon: enumValue(SpsIcon$1),
|
|
2656
2716
|
title: propTypes$1F.exports.string
|
|
@@ -2685,15 +2745,15 @@ function SpsCardHeader(props2) {
|
|
|
2685
2745
|
}, content));
|
|
2686
2746
|
}
|
|
2687
2747
|
Object.assign(SpsCardHeader, {
|
|
2688
|
-
props: propsDoc$
|
|
2689
|
-
propTypes: propTypes$
|
|
2748
|
+
props: propsDoc$1u,
|
|
2749
|
+
propTypes: propTypes$1x,
|
|
2690
2750
|
displayName: "SpsCardHeader"
|
|
2691
2751
|
});
|
|
2692
|
-
const propsDoc$
|
|
2752
|
+
const propsDoc$1t = {
|
|
2693
2753
|
icon: "SpsIcon",
|
|
2694
2754
|
kind: "TagKind"
|
|
2695
2755
|
};
|
|
2696
|
-
const propTypes$
|
|
2756
|
+
const propTypes$1w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2697
2757
|
icon: enumValue(SpsIcon$1),
|
|
2698
2758
|
kind: enumValue(TagKind)
|
|
2699
2759
|
});
|
|
@@ -2726,11 +2786,11 @@ function SpsTag(props2) {
|
|
|
2726
2786
|
}), children);
|
|
2727
2787
|
}
|
|
2728
2788
|
Object.assign(SpsTag, {
|
|
2729
|
-
props: propsDoc$
|
|
2730
|
-
propTypes: propTypes$
|
|
2789
|
+
props: propsDoc$1t,
|
|
2790
|
+
propTypes: propTypes$1w,
|
|
2731
2791
|
displayName: "SpsTag"
|
|
2732
2792
|
});
|
|
2733
|
-
const propsDoc$
|
|
2793
|
+
const propsDoc$1s = {
|
|
2734
2794
|
activateTab: "Function",
|
|
2735
2795
|
active: "boolean",
|
|
2736
2796
|
icon: "SpsIcon",
|
|
@@ -2740,7 +2800,7 @@ const propsDoc$1t = {
|
|
|
2740
2800
|
tagKind: "TagKind",
|
|
2741
2801
|
tagIcon: "SpsIcon"
|
|
2742
2802
|
};
|
|
2743
|
-
const propTypes$
|
|
2803
|
+
const propTypes$1v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2744
2804
|
activateTab: propTypes$1F.exports.func,
|
|
2745
2805
|
active: propTypes$1F.exports.bool,
|
|
2746
2806
|
icon: enumValue(SpsIcon$1),
|
|
@@ -2809,8 +2869,8 @@ function SpsCardTabbedPane(props2) {
|
|
|
2809
2869
|
}, tag));
|
|
2810
2870
|
}
|
|
2811
2871
|
Object.assign(SpsCardTabbedPane, {
|
|
2812
|
-
props: propsDoc$
|
|
2813
|
-
propTypes: propTypes$
|
|
2872
|
+
props: propsDoc$1s,
|
|
2873
|
+
propTypes: propTypes$1v,
|
|
2814
2874
|
displayName: "SpsCardTabbedPane"
|
|
2815
2875
|
});
|
|
2816
2876
|
function useTab$1(children, activeTab, isTabbedCard) {
|
|
@@ -2852,14 +2912,14 @@ function useTab$1(children, activeTab, isTabbedCard) {
|
|
|
2852
2912
|
}, [activeTab, children]);
|
|
2853
2913
|
return [currentlyActiveTab, activateTab];
|
|
2854
2914
|
}
|
|
2855
|
-
const propsDoc$
|
|
2915
|
+
const propsDoc$1r = {
|
|
2856
2916
|
activeTab: "string",
|
|
2857
2917
|
footer: "ReactNodeOrRenderFn",
|
|
2858
2918
|
headerContent: "ReactNodeOrRenderFn",
|
|
2859
2919
|
headerIcon: "SpsIcon",
|
|
2860
2920
|
headerTitle: "string"
|
|
2861
2921
|
};
|
|
2862
|
-
const propTypes$
|
|
2922
|
+
const propTypes$1u = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2863
2923
|
activeTab: propTypes$1F.exports.string,
|
|
2864
2924
|
footer: nodeOrRenderFn,
|
|
2865
2925
|
headerContent: nodeOrRenderFn,
|
|
@@ -2931,8 +2991,8 @@ function SpsCard(props2) {
|
|
|
2931
2991
|
}, contentOf(footer)));
|
|
2932
2992
|
}
|
|
2933
2993
|
Object.assign(SpsCard, {
|
|
2934
|
-
props: propsDoc$
|
|
2935
|
-
propTypes: propTypes$
|
|
2994
|
+
props: propsDoc$1r,
|
|
2995
|
+
propTypes: propTypes$1u,
|
|
2936
2996
|
displayName: "SpsCard"
|
|
2937
2997
|
});
|
|
2938
2998
|
const SpsCardExamples = {
|
|
@@ -3220,7 +3280,7 @@ const SpsCardExamples = {
|
|
|
3220
3280
|
}
|
|
3221
3281
|
}
|
|
3222
3282
|
};
|
|
3223
|
-
const propsDoc$
|
|
3283
|
+
const propsDoc$1q = {
|
|
3224
3284
|
checked: "boolean",
|
|
3225
3285
|
disabled: "boolean",
|
|
3226
3286
|
formMeta: "SpsFormFieldMeta<boolean>",
|
|
@@ -3229,7 +3289,7 @@ const propsDoc$1r = {
|
|
|
3229
3289
|
label: "string",
|
|
3230
3290
|
onChange: "ChangeEventHandler"
|
|
3231
3291
|
};
|
|
3232
|
-
const propTypes$
|
|
3292
|
+
const propTypes$1t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
3233
3293
|
checked: propTypes$1F.exports.bool,
|
|
3234
3294
|
disabled: propTypes$1F.exports.bool,
|
|
3235
3295
|
formControl: impl(),
|
|
@@ -3311,8 +3371,8 @@ function SpsCheckbox(_c) {
|
|
|
3311
3371
|
}, label || ""));
|
|
3312
3372
|
}
|
|
3313
3373
|
Object.assign(SpsCheckbox, {
|
|
3314
|
-
props: propsDoc$
|
|
3315
|
-
propTypes: propTypes$
|
|
3374
|
+
props: propsDoc$1q,
|
|
3375
|
+
propTypes: propTypes$1t,
|
|
3316
3376
|
displayName: "SpsCheckbox"
|
|
3317
3377
|
});
|
|
3318
3378
|
const SpsCheckboxExamples = {
|
|
@@ -3440,14 +3500,14 @@ const SpsCheckboxExamples = {
|
|
|
3440
3500
|
}
|
|
3441
3501
|
}
|
|
3442
3502
|
};
|
|
3443
|
-
const propsDoc$
|
|
3503
|
+
const propsDoc$1p = {
|
|
3444
3504
|
disabled: "boolean",
|
|
3445
3505
|
href: "string",
|
|
3446
3506
|
kind: "ClickableTagKind",
|
|
3447
3507
|
onAdd: "() => void",
|
|
3448
3508
|
onRemove: "() => void"
|
|
3449
3509
|
};
|
|
3450
|
-
const propTypes$
|
|
3510
|
+
const propTypes$1s = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
3451
3511
|
disabled: propTypes$1F.exports.bool,
|
|
3452
3512
|
href: propTypes$1F.exports.string,
|
|
3453
3513
|
kind: enumValue(ClickableTagKind),
|
|
@@ -3545,8 +3605,8 @@ function SpsMultiSelectTag(props2) {
|
|
|
3545
3605
|
return /* @__PURE__ */ React.createElement(SpsClickableTag, __spreadValues({}, clickableTagProps), children);
|
|
3546
3606
|
}
|
|
3547
3607
|
Object.assign(SpsClickableTag, {
|
|
3548
|
-
props: propsDoc$
|
|
3549
|
-
propTypes: propTypes$
|
|
3608
|
+
props: propsDoc$1p,
|
|
3609
|
+
propTypes: propTypes$1s,
|
|
3550
3610
|
displayName: "SpsClickableTag"
|
|
3551
3611
|
});
|
|
3552
3612
|
const SpsClickableTagExamples = {
|
|
@@ -11802,7 +11862,7 @@ var ConnectedDraggable = connect(makeMapStateToProps$1, mapDispatchToProps$1, nu
|
|
|
11802
11862
|
areStatePropsEqual: isStrictEqual
|
|
11803
11863
|
})(Draggable);
|
|
11804
11864
|
ConnectedDraggable.defaultProps = defaultProps$1;
|
|
11805
|
-
const propsDoc$
|
|
11865
|
+
const propsDoc$1o = {
|
|
11806
11866
|
index: "number",
|
|
11807
11867
|
key: "string",
|
|
11808
11868
|
columnId: "string",
|
|
@@ -11811,7 +11871,7 @@ const propsDoc$1p = {
|
|
|
11811
11871
|
onDelete: "(columnValue: string) => void",
|
|
11812
11872
|
mandatory: "boolean"
|
|
11813
11873
|
};
|
|
11814
|
-
const propTypes$
|
|
11874
|
+
const propTypes$1r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
11815
11875
|
index: propTypes$1F.exports.number,
|
|
11816
11876
|
key: propTypes$1F.exports.string,
|
|
11817
11877
|
columnId: propTypes$1F.exports.string,
|
|
@@ -11874,17 +11934,17 @@ function SpsColumnChooserColumn(props2) {
|
|
|
11874
11934
|
})))));
|
|
11875
11935
|
}
|
|
11876
11936
|
Object.assign(SpsColumnChooserColumn, {
|
|
11877
|
-
props: propsDoc$
|
|
11878
|
-
propTypes: propTypes$
|
|
11937
|
+
props: propsDoc$1o,
|
|
11938
|
+
propTypes: propTypes$1r,
|
|
11879
11939
|
displayName: "SpsColumnChooserColumn"
|
|
11880
11940
|
});
|
|
11881
|
-
const propsDoc$
|
|
11941
|
+
const propsDoc$1n = {
|
|
11882
11942
|
maxSelectedColumns: "number",
|
|
11883
11943
|
unselectedColumns: "ColumnProps[]",
|
|
11884
11944
|
selectedColumns: "ColumnProps[]",
|
|
11885
11945
|
onApplyChanges: "(selectedColumns: ColumnProps[]) => void"
|
|
11886
11946
|
};
|
|
11887
|
-
const propTypes$
|
|
11947
|
+
const propTypes$1q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
11888
11948
|
maxSelectedColumns: propTypes$1F.exports.number,
|
|
11889
11949
|
unselectedColumns: propTypes$1F.exports.array,
|
|
11890
11950
|
selectedColumns: propTypes$1F.exports.array,
|
|
@@ -12027,8 +12087,8 @@ function SpsColumnChooser(props2) {
|
|
|
12027
12087
|
})), provided.placeholder)))));
|
|
12028
12088
|
}
|
|
12029
12089
|
Object.assign(SpsColumnChooser, {
|
|
12030
|
-
props: propsDoc$
|
|
12031
|
-
propTypes: propTypes$
|
|
12090
|
+
props: propsDoc$1n,
|
|
12091
|
+
propTypes: propTypes$1q,
|
|
12032
12092
|
displayName: "SpsColumnChooser"
|
|
12033
12093
|
});
|
|
12034
12094
|
const SpsColumnChooserExamples = {
|
|
@@ -12060,11 +12120,11 @@ const SpsColumnChooserExamples = {
|
|
|
12060
12120
|
}
|
|
12061
12121
|
}
|
|
12062
12122
|
};
|
|
12063
|
-
const propsDoc$
|
|
12123
|
+
const propsDoc$1m = {
|
|
12064
12124
|
icon: { type: "SpsIcon", required: true },
|
|
12065
12125
|
size: "SpsIconSize"
|
|
12066
12126
|
};
|
|
12067
|
-
const propTypes$
|
|
12127
|
+
const propTypes$1p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
12068
12128
|
icon: enumValue(SpsIcon$1).isRequired,
|
|
12069
12129
|
size: enumValue(SpsIconSize)
|
|
12070
12130
|
});
|
|
@@ -12090,26 +12150,26 @@ function SpsIcon(props2) {
|
|
|
12090
12150
|
}, rest));
|
|
12091
12151
|
}
|
|
12092
12152
|
Object.assign(SpsIcon, {
|
|
12093
|
-
props: propsDoc$
|
|
12094
|
-
propTypes: propTypes$
|
|
12153
|
+
props: propsDoc$1m,
|
|
12154
|
+
propTypes: propTypes$1p,
|
|
12095
12155
|
displayName: "SpsI"
|
|
12096
12156
|
});
|
|
12097
12157
|
function SpsI(props2) {
|
|
12098
12158
|
return /* @__PURE__ */ React.createElement(SpsIcon, __spreadValues({}, props2));
|
|
12099
12159
|
}
|
|
12100
12160
|
Object.assign(SpsI, {
|
|
12101
|
-
props: propsDoc$
|
|
12102
|
-
propTypes: propTypes$
|
|
12161
|
+
props: propsDoc$1m,
|
|
12162
|
+
propTypes: propTypes$1p,
|
|
12103
12163
|
displayName: "SpsI"
|
|
12104
12164
|
});
|
|
12105
|
-
const propsDoc$
|
|
12165
|
+
const propsDoc$1l = {
|
|
12106
12166
|
borderless: "boolean",
|
|
12107
12167
|
lean: "boolean",
|
|
12108
12168
|
leaner: { type: "boolean", deprecated: true },
|
|
12109
12169
|
widthPx: "number",
|
|
12110
12170
|
widthRem: "number"
|
|
12111
12171
|
};
|
|
12112
|
-
const propTypes$
|
|
12172
|
+
const propTypes$1o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
12113
12173
|
borderless: propTypes$1F.exports.bool,
|
|
12114
12174
|
lean: propTypes$1F.exports.bool,
|
|
12115
12175
|
leaner: propTypes$1F.exports.bool,
|
|
@@ -12159,12 +12219,12 @@ function SpsContentRowCol(props2) {
|
|
|
12159
12219
|
}), children);
|
|
12160
12220
|
}
|
|
12161
12221
|
Object.assign(SpsContentRowCol, {
|
|
12162
|
-
props: propsDoc$
|
|
12163
|
-
propTypes: propTypes$
|
|
12222
|
+
props: propsDoc$1l,
|
|
12223
|
+
propTypes: propTypes$1o,
|
|
12164
12224
|
displayName: "SpsContentRowCol"
|
|
12165
12225
|
});
|
|
12166
|
-
const propsDoc$
|
|
12167
|
-
const propTypes$
|
|
12226
|
+
const propsDoc$1k = {};
|
|
12227
|
+
const propTypes$1n = __spreadValues({}, spsGlobalPropTypes);
|
|
12168
12228
|
function SpsContentRowExpansion(props2) {
|
|
12169
12229
|
const _a = props2, {
|
|
12170
12230
|
children,
|
|
@@ -12185,11 +12245,11 @@ function SpsContentRowExpansion(props2) {
|
|
|
12185
12245
|
}), children);
|
|
12186
12246
|
}
|
|
12187
12247
|
Object.assign(SpsContentRowExpansion, {
|
|
12188
|
-
props: propsDoc$
|
|
12189
|
-
propTypes: propTypes$
|
|
12248
|
+
props: propsDoc$1k,
|
|
12249
|
+
propTypes: propTypes$1n,
|
|
12190
12250
|
displayName: "SpsContentRowExpansion"
|
|
12191
12251
|
});
|
|
12192
|
-
const propsDoc$
|
|
12252
|
+
const propsDoc$1j = {
|
|
12193
12253
|
alternateLayout: "boolean",
|
|
12194
12254
|
initiallyExpanded: "boolean",
|
|
12195
12255
|
cardSpacing: "boolean",
|
|
@@ -12202,7 +12262,7 @@ const propsDoc$1k = {
|
|
|
12202
12262
|
selectable: "boolean",
|
|
12203
12263
|
selected: "boolean"
|
|
12204
12264
|
};
|
|
12205
|
-
const propTypes$
|
|
12265
|
+
const propTypes$1m = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
12206
12266
|
alternateLayout: propTypes$1F.exports.bool,
|
|
12207
12267
|
cardSpacing: propTypes$1F.exports.bool,
|
|
12208
12268
|
expanded: propTypes$1F.exports.bool,
|
|
@@ -12294,8 +12354,8 @@ function SpsContentRow(props2) {
|
|
|
12294
12354
|
}, /* @__PURE__ */ React.createElement("section", null, ContentRowCheckBox()), /* @__PURE__ */ React.createElement("section", null, ExpandoThingy())), columns), expansion);
|
|
12295
12355
|
}
|
|
12296
12356
|
Object.assign(SpsContentRow, {
|
|
12297
|
-
props: propsDoc$
|
|
12298
|
-
propTypes: propTypes$
|
|
12357
|
+
props: propsDoc$1j,
|
|
12358
|
+
propTypes: propTypes$1m,
|
|
12299
12359
|
displayName: "SpsContentRow"
|
|
12300
12360
|
});
|
|
12301
12361
|
const SpsContentRowExamples = {
|
|
@@ -12764,7 +12824,7 @@ function parse2(value) {
|
|
|
12764
12824
|
function weekOfMonth$1(date2) {
|
|
12765
12825
|
return Math.floor((date2.clone().date(1).day() + date2.date() - 1) / 7);
|
|
12766
12826
|
}
|
|
12767
|
-
const propsDoc$
|
|
12827
|
+
const propsDoc$1i = {
|
|
12768
12828
|
disabled: "boolean",
|
|
12769
12829
|
format: "string",
|
|
12770
12830
|
maxDate: "string",
|
|
@@ -12774,7 +12834,7 @@ const propsDoc$1j = {
|
|
|
12774
12834
|
placeholder: "string",
|
|
12775
12835
|
value: "string"
|
|
12776
12836
|
};
|
|
12777
|
-
const propTypes$
|
|
12837
|
+
const propTypes$1l = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
12778
12838
|
disabled: propTypes$1F.exports.bool,
|
|
12779
12839
|
format: propTypes$1F.exports.string,
|
|
12780
12840
|
maxDate: propTypes$1F.exports.string,
|
|
@@ -13145,8 +13205,8 @@ function SpsDatepicker(props2) {
|
|
|
13145
13205
|
}))));
|
|
13146
13206
|
}
|
|
13147
13207
|
Object.assign(SpsDatepicker, {
|
|
13148
|
-
props: propsDoc$
|
|
13149
|
-
propTypes: propTypes$
|
|
13208
|
+
props: propsDoc$1i,
|
|
13209
|
+
propTypes: propTypes$1l,
|
|
13150
13210
|
displayName: "SpsDatepicker"
|
|
13151
13211
|
});
|
|
13152
13212
|
const SpsDatepickerExamples = {
|
|
@@ -13241,7 +13301,7 @@ const SpsDatepickerExamples = {
|
|
|
13241
13301
|
}
|
|
13242
13302
|
}
|
|
13243
13303
|
};
|
|
13244
|
-
const propsDoc$
|
|
13304
|
+
const propsDoc$1h = {
|
|
13245
13305
|
placeholder: "string",
|
|
13246
13306
|
disabled: "boolean",
|
|
13247
13307
|
format: "string",
|
|
@@ -13252,7 +13312,7 @@ const propsDoc$1i = {
|
|
|
13252
13312
|
value: "MomentRange",
|
|
13253
13313
|
preset: "Duration"
|
|
13254
13314
|
};
|
|
13255
|
-
const propTypes$
|
|
13315
|
+
const propTypes$1k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
13256
13316
|
placeholder: propTypes$1F.exports.string,
|
|
13257
13317
|
disabled: propTypes$1F.exports.bool,
|
|
13258
13318
|
format: propTypes$1F.exports.string,
|
|
@@ -13906,8 +13966,8 @@ function SpsDateRangePicker(props2) {
|
|
|
13906
13966
|
}) : "")));
|
|
13907
13967
|
}
|
|
13908
13968
|
Object.assign(SpsDateRangePicker, {
|
|
13909
|
-
props: propsDoc$
|
|
13910
|
-
propTypes: propTypes$
|
|
13969
|
+
props: propsDoc$1h,
|
|
13970
|
+
propTypes: propTypes$1k,
|
|
13911
13971
|
displayName: "SpsDateRangePicker"
|
|
13912
13972
|
});
|
|
13913
13973
|
const SpsDateRangePickerExamples = {
|
|
@@ -18510,7 +18570,7 @@ const formatMaps = {
|
|
|
18510
18570
|
LONG_FULLDATETIME: "LLLL",
|
|
18511
18571
|
LONG_FULLDATETIME_ZONE: "LLLL z"
|
|
18512
18572
|
};
|
|
18513
|
-
const propsDoc$
|
|
18573
|
+
const propsDoc$1g = {
|
|
18514
18574
|
currentUser: "any",
|
|
18515
18575
|
dateToFormat: "string | Date",
|
|
18516
18576
|
format: "string",
|
|
@@ -18519,7 +18579,7 @@ const propsDoc$1h = {
|
|
|
18519
18579
|
relativeHrs: "number",
|
|
18520
18580
|
tz: "string"
|
|
18521
18581
|
};
|
|
18522
|
-
const propTypes$
|
|
18582
|
+
const propTypes$1j = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
18523
18583
|
currentUser: propTypes$1F.exports.any,
|
|
18524
18584
|
dateToFormat: propTypes$1F.exports.oneOfType([
|
|
18525
18585
|
propTypes$1F.exports.string,
|
|
@@ -18605,8 +18665,8 @@ function SpsDateTime(props2) {
|
|
|
18605
18665
|
}));
|
|
18606
18666
|
}
|
|
18607
18667
|
Object.assign(SpsDateTime, {
|
|
18608
|
-
props: propsDoc$
|
|
18609
|
-
propTypes: propTypes$
|
|
18668
|
+
props: propsDoc$1g,
|
|
18669
|
+
propTypes: propTypes$1j,
|
|
18610
18670
|
displayName: "SpsDateTime"
|
|
18611
18671
|
});
|
|
18612
18672
|
const SpsDatetimeExamples = {
|
|
@@ -18627,12 +18687,12 @@ const SpsDatetimeExamples = {
|
|
|
18627
18687
|
}
|
|
18628
18688
|
}
|
|
18629
18689
|
};
|
|
18630
|
-
const propsDoc$
|
|
18690
|
+
const propsDoc$1f = {
|
|
18631
18691
|
compact: "boolean",
|
|
18632
18692
|
wideTerms: "boolean",
|
|
18633
18693
|
widerTerms: "boolean"
|
|
18634
18694
|
};
|
|
18635
|
-
const propTypes$
|
|
18695
|
+
const propTypes$1i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
18636
18696
|
compact: propTypes$1F.exports.bool,
|
|
18637
18697
|
wideTerms: propTypes$1F.exports.bool,
|
|
18638
18698
|
widerTerms: propTypes$1F.exports.bool
|
|
@@ -18675,20 +18735,20 @@ function SpsDescriptionList(props2) {
|
|
|
18675
18735
|
}, rest), childrenWithProps);
|
|
18676
18736
|
}
|
|
18677
18737
|
Object.assign(SpsDescriptionList, {
|
|
18678
|
-
props: propsDoc$
|
|
18679
|
-
propTypes: propTypes$
|
|
18738
|
+
props: propsDoc$1f,
|
|
18739
|
+
propTypes: propTypes$1i,
|
|
18680
18740
|
displayName: "SpsDescriptionList / SpsDl"
|
|
18681
18741
|
});
|
|
18682
18742
|
function SpsDl(p2) {
|
|
18683
18743
|
return SpsDescriptionList(p2);
|
|
18684
18744
|
}
|
|
18685
18745
|
Object.assign(SpsDl, {
|
|
18686
|
-
props: propsDoc$
|
|
18687
|
-
propTypes: propTypes$
|
|
18746
|
+
props: propsDoc$1f,
|
|
18747
|
+
propTypes: propTypes$1i,
|
|
18688
18748
|
displayName: "SpsDescriptionList / SpsDl"
|
|
18689
18749
|
});
|
|
18690
|
-
const propsDoc$
|
|
18691
|
-
const propTypes$
|
|
18750
|
+
const propsDoc$1e = {};
|
|
18751
|
+
const propTypes$1h = __spreadValues({}, spsGlobalPropTypes);
|
|
18692
18752
|
function SpsDescriptionListDefinition(props2) {
|
|
18693
18753
|
const _a = props2, {
|
|
18694
18754
|
children,
|
|
@@ -18708,16 +18768,16 @@ function SpsDescriptionListDefinition(props2) {
|
|
|
18708
18768
|
}, rest), children);
|
|
18709
18769
|
}
|
|
18710
18770
|
Object.assign(SpsDescriptionListDefinition, {
|
|
18711
|
-
props: propsDoc$
|
|
18712
|
-
propTypes: propTypes$
|
|
18771
|
+
props: propsDoc$1e,
|
|
18772
|
+
propTypes: propTypes$1h,
|
|
18713
18773
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
18714
18774
|
});
|
|
18715
18775
|
function SpsDd(p2) {
|
|
18716
18776
|
return SpsDescriptionListDefinition(p2);
|
|
18717
18777
|
}
|
|
18718
18778
|
Object.assign(SpsDd, {
|
|
18719
|
-
props: propsDoc$
|
|
18720
|
-
propTypes: propTypes$
|
|
18779
|
+
props: propsDoc$1e,
|
|
18780
|
+
propTypes: propTypes$1h,
|
|
18721
18781
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
18722
18782
|
});
|
|
18723
18783
|
var TooltipVisibility;
|
|
@@ -18732,7 +18792,7 @@ function toggleTooltipState(state) {
|
|
|
18732
18792
|
}
|
|
18733
18793
|
const CARET_SPACING_PX = 13;
|
|
18734
18794
|
const openTips = new Map();
|
|
18735
|
-
const propsDoc$
|
|
18795
|
+
const propsDoc$1d = {
|
|
18736
18796
|
for: { type: "React.MutableRefObject<any> | string", required: true },
|
|
18737
18797
|
hideDelay: "number",
|
|
18738
18798
|
isShown: "TooltipVisibility",
|
|
@@ -18744,7 +18804,7 @@ const propsDoc$1e = {
|
|
|
18744
18804
|
showOn: "TooltipShowTrigger",
|
|
18745
18805
|
title: "string"
|
|
18746
18806
|
};
|
|
18747
|
-
const propTypes$
|
|
18807
|
+
const propTypes$1g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
18748
18808
|
for: propTypes$1F.exports.oneOfType([ref(), propTypes$1F.exports.string]).isRequired,
|
|
18749
18809
|
hideDelay: propTypes$1F.exports.number,
|
|
18750
18810
|
isShown: enumValue(TooltipVisibility),
|
|
@@ -18920,18 +18980,18 @@ function SpsTooltip({
|
|
|
18920
18980
|
})));
|
|
18921
18981
|
}
|
|
18922
18982
|
Object.assign(SpsTooltip, {
|
|
18923
|
-
props: propsDoc$
|
|
18924
|
-
propTypes: propTypes$
|
|
18983
|
+
props: propsDoc$1d,
|
|
18984
|
+
propTypes: propTypes$1g,
|
|
18925
18985
|
displayName: "SpsTooltip"
|
|
18926
18986
|
});
|
|
18927
|
-
const propsDoc$
|
|
18987
|
+
const propsDoc$1c = {
|
|
18928
18988
|
error: "boolean",
|
|
18929
18989
|
errors: "ReactNodeOrRenderFn",
|
|
18930
18990
|
help: "ReactNodeOrRenderFn",
|
|
18931
18991
|
labelFor: "SpsFormFieldMeta<any>",
|
|
18932
18992
|
required: "boolean"
|
|
18933
18993
|
};
|
|
18934
|
-
const propTypes$
|
|
18994
|
+
const propTypes$1f = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
18935
18995
|
error: propTypes$1F.exports.bool,
|
|
18936
18996
|
errors: nodeOrRenderFn,
|
|
18937
18997
|
help: nodeOrRenderFn,
|
|
@@ -18995,16 +19055,16 @@ function SpsDescriptionListTerm(props2) {
|
|
|
18995
19055
|
}, contentOf(tipKind === TooltipKind.ERROR ? errors : help)));
|
|
18996
19056
|
}
|
|
18997
19057
|
Object.assign(SpsDescriptionListTerm, {
|
|
18998
|
-
props: propsDoc$
|
|
18999
|
-
propTypes: propTypes$
|
|
19058
|
+
props: propsDoc$1c,
|
|
19059
|
+
propTypes: propTypes$1f,
|
|
19000
19060
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
19001
19061
|
});
|
|
19002
19062
|
function SpsDt(p2) {
|
|
19003
19063
|
return SpsDescriptionListTerm(p2);
|
|
19004
19064
|
}
|
|
19005
19065
|
Object.assign(SpsDt, {
|
|
19006
|
-
props: propsDoc$
|
|
19007
|
-
propTypes: propTypes$
|
|
19066
|
+
props: propsDoc$1c,
|
|
19067
|
+
propTypes: propTypes$1f,
|
|
19008
19068
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
19009
19069
|
});
|
|
19010
19070
|
const SpsDescriptionListExamples = {
|
|
@@ -19482,14 +19542,14 @@ const SpsDropdownExamples = {
|
|
|
19482
19542
|
}
|
|
19483
19543
|
}
|
|
19484
19544
|
};
|
|
19485
|
-
const propsDoc$
|
|
19545
|
+
const propsDoc$1b = {
|
|
19486
19546
|
checked: "boolean",
|
|
19487
19547
|
onChange: "ChangeEventHandler",
|
|
19488
19548
|
indeterminate: "boolean",
|
|
19489
19549
|
disabled: "boolean",
|
|
19490
19550
|
options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
|
|
19491
19551
|
};
|
|
19492
|
-
const propTypes$
|
|
19552
|
+
const propTypes$1e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
19493
19553
|
checked: propTypes$1F.exports.bool,
|
|
19494
19554
|
onChange: fun(),
|
|
19495
19555
|
indeterminate: propTypes$1F.exports.bool,
|
|
@@ -19528,14 +19588,14 @@ function SpsCheckboxDropdown(props2) {
|
|
|
19528
19588
|
}));
|
|
19529
19589
|
}
|
|
19530
19590
|
Object.assign(SpsCheckboxDropdown, {
|
|
19531
|
-
props: propsDoc$
|
|
19532
|
-
propTypes: propTypes$
|
|
19591
|
+
props: propsDoc$1b,
|
|
19592
|
+
propTypes: propTypes$1e,
|
|
19533
19593
|
displayName: "SpsCheckboxDropdown"
|
|
19534
19594
|
});
|
|
19535
|
-
const propsDoc$
|
|
19595
|
+
const propsDoc$1a = {
|
|
19536
19596
|
kind: "FeedbackBlockKind"
|
|
19537
19597
|
};
|
|
19538
|
-
const propTypes$
|
|
19598
|
+
const propTypes$1d = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
19539
19599
|
kind: enumValue(FeedbackBlockKind)
|
|
19540
19600
|
});
|
|
19541
19601
|
function SpsFeedbackBlock(props2) {
|
|
@@ -19566,8 +19626,8 @@ function SpsFeedbackBlock(props2) {
|
|
|
19566
19626
|
}, children));
|
|
19567
19627
|
}
|
|
19568
19628
|
Object.assign(SpsFeedbackBlock, {
|
|
19569
|
-
props: propsDoc$
|
|
19570
|
-
propTypes: propTypes$
|
|
19629
|
+
props: propsDoc$1a,
|
|
19630
|
+
propTypes: propTypes$1d,
|
|
19571
19631
|
displayName: "SpsFeedbackBlock"
|
|
19572
19632
|
});
|
|
19573
19633
|
const SpsFeedbackBlockExamples = {
|
|
@@ -19669,7 +19729,7 @@ const SpsFeedbackBlockExamples = {
|
|
|
19669
19729
|
}
|
|
19670
19730
|
}
|
|
19671
19731
|
};
|
|
19672
|
-
const propsDoc$
|
|
19732
|
+
const propsDoc$19 = {
|
|
19673
19733
|
errors: "ReactNodeOrRenderFn",
|
|
19674
19734
|
formMeta: "SpsFormSetMeta<any>",
|
|
19675
19735
|
legend: "string",
|
|
@@ -19678,7 +19738,7 @@ const propsDoc$1a = {
|
|
|
19678
19738
|
onToggled: "(isEnabled: boolean) => void",
|
|
19679
19739
|
tooltip: "string"
|
|
19680
19740
|
};
|
|
19681
|
-
const propTypes$
|
|
19741
|
+
const propTypes$1c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
19682
19742
|
errors: nodeOrRenderFn,
|
|
19683
19743
|
formArray: impl(),
|
|
19684
19744
|
formGroup: impl(),
|
|
@@ -19763,8 +19823,8 @@ function SpsFieldset({
|
|
|
19763
19823
|
}, contentOf(errors)), children));
|
|
19764
19824
|
}
|
|
19765
19825
|
Object.assign(SpsFieldset, {
|
|
19766
|
-
props: propsDoc$
|
|
19767
|
-
propTypes: propTypes$
|
|
19826
|
+
props: propsDoc$19,
|
|
19827
|
+
propTypes: propTypes$1c,
|
|
19768
19828
|
displayName: "SpsFieldset"
|
|
19769
19829
|
});
|
|
19770
19830
|
const SpsFieldsetExamples = {
|
|
@@ -20050,8 +20110,8 @@ const SpsFieldsetExamples = {
|
|
|
20050
20110
|
}
|
|
20051
20111
|
}
|
|
20052
20112
|
};
|
|
20053
|
-
const propsDoc$
|
|
20054
|
-
const propTypes$
|
|
20113
|
+
const propsDoc$18 = {};
|
|
20114
|
+
const propTypes$1b = __spreadValues({}, spsGlobalPropTypes);
|
|
20055
20115
|
function SpsFocusedTaskActions(props2) {
|
|
20056
20116
|
const _a = props2, {
|
|
20057
20117
|
children,
|
|
@@ -20072,16 +20132,16 @@ function SpsFocusedTaskActions(props2) {
|
|
|
20072
20132
|
}, children)));
|
|
20073
20133
|
}
|
|
20074
20134
|
Object.assign(SpsFocusedTaskActions, {
|
|
20075
|
-
props: propsDoc$
|
|
20076
|
-
propTypes: propTypes$
|
|
20135
|
+
props: propsDoc$18,
|
|
20136
|
+
propTypes: propTypes$1b,
|
|
20077
20137
|
displayName: "SpsFocusedTaskActions"
|
|
20078
20138
|
});
|
|
20079
|
-
const propsDoc$
|
|
20139
|
+
const propsDoc$17 = {
|
|
20080
20140
|
fullWidth: "boolean",
|
|
20081
20141
|
isOpen: "boolean",
|
|
20082
20142
|
onClose: "() => void"
|
|
20083
20143
|
};
|
|
20084
|
-
const propTypes$
|
|
20144
|
+
const propTypes$1a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
20085
20145
|
fullWidth: propTypes$1F.exports.bool,
|
|
20086
20146
|
isOpen: propTypes$1F.exports.bool,
|
|
20087
20147
|
onClose: fun()
|
|
@@ -20140,8 +20200,8 @@ function SpsFocusedTask(props2) {
|
|
|
20140
20200
|
}, isOpen && content)), actions);
|
|
20141
20201
|
}
|
|
20142
20202
|
Object.assign(SpsFocusedTask, {
|
|
20143
|
-
props: propsDoc$
|
|
20144
|
-
propTypes: propTypes$
|
|
20203
|
+
props: propsDoc$17,
|
|
20204
|
+
propTypes: propTypes$1a,
|
|
20145
20205
|
displayName: "SpsFocusedTask"
|
|
20146
20206
|
});
|
|
20147
20207
|
const SpsFocusedTaskExamples = {
|
|
@@ -21624,14 +21684,14 @@ const SpsAddRemoveFormRowExamples = {
|
|
|
21624
21684
|
}
|
|
21625
21685
|
}
|
|
21626
21686
|
};
|
|
21627
|
-
const propsDoc$
|
|
21687
|
+
const propsDoc$16 = {
|
|
21628
21688
|
imgSrc: "string",
|
|
21629
21689
|
kind: "GrowlerKind",
|
|
21630
21690
|
onClose: "() => void",
|
|
21631
21691
|
persist: "boolean",
|
|
21632
21692
|
title: "string"
|
|
21633
21693
|
};
|
|
21634
|
-
const propTypes$
|
|
21694
|
+
const propTypes$19 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21635
21695
|
imgSrc: propTypes$1F.exports.string,
|
|
21636
21696
|
kind: enumValue(GrowlerKind),
|
|
21637
21697
|
onClose: fun(),
|
|
@@ -21742,8 +21802,8 @@ function SpsGrowler(props2) {
|
|
|
21742
21802
|
})))));
|
|
21743
21803
|
}
|
|
21744
21804
|
Object.assign(SpsGrowler, {
|
|
21745
|
-
props: propsDoc$
|
|
21746
|
-
propTypes: propTypes$
|
|
21805
|
+
props: propsDoc$16,
|
|
21806
|
+
propTypes: propTypes$19,
|
|
21747
21807
|
displayName: "SpsGrowler"
|
|
21748
21808
|
});
|
|
21749
21809
|
const SpsGrowlerExamples = {
|
|
@@ -22118,14 +22178,14 @@ const SpsGrowlerExamples = {
|
|
|
22118
22178
|
}
|
|
22119
22179
|
}
|
|
22120
22180
|
};
|
|
22121
|
-
const propsDoc$
|
|
22181
|
+
const propsDoc$15 = {
|
|
22122
22182
|
disabled: "boolean",
|
|
22123
22183
|
min: "number",
|
|
22124
22184
|
max: "number",
|
|
22125
22185
|
step: "number",
|
|
22126
22186
|
onValueChange: "(newValue: number) => void"
|
|
22127
22187
|
};
|
|
22128
|
-
const propTypes$
|
|
22188
|
+
const propTypes$18 = __spreadValues({
|
|
22129
22189
|
disabled: propTypes$1F.exports.bool,
|
|
22130
22190
|
min: propTypes$1F.exports.number,
|
|
22131
22191
|
max: propTypes$1F.exports.number,
|
|
@@ -22232,8 +22292,8 @@ function SpsIncrementor(props2) {
|
|
|
22232
22292
|
}))));
|
|
22233
22293
|
}
|
|
22234
22294
|
Object.assign(SpsIncrementor, {
|
|
22235
|
-
props: propsDoc$
|
|
22236
|
-
propTypes: propTypes$
|
|
22295
|
+
props: propsDoc$15,
|
|
22296
|
+
propTypes: propTypes$18,
|
|
22237
22297
|
displayName: "SpsIncrementor"
|
|
22238
22298
|
});
|
|
22239
22299
|
const SpsIncrementorExamples = {
|
|
@@ -22272,7 +22332,7 @@ function SpsInsights(props2) {
|
|
|
22272
22332
|
className: "insight-tile-wrapper"
|
|
22273
22333
|
}, children);
|
|
22274
22334
|
}
|
|
22275
|
-
const propsDoc$
|
|
22335
|
+
const propsDoc$14 = {
|
|
22276
22336
|
horizontal: "boolean",
|
|
22277
22337
|
icon: "SpsIcon",
|
|
22278
22338
|
kind: "SpsInsightTileKind",
|
|
@@ -22281,7 +22341,7 @@ const propsDoc$15 = {
|
|
|
22281
22341
|
partnerCount: "number",
|
|
22282
22342
|
totalPartners: "number"
|
|
22283
22343
|
};
|
|
22284
|
-
const propTypes$
|
|
22344
|
+
const propTypes$17 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22285
22345
|
horizontal: propTypes$1F.exports.bool,
|
|
22286
22346
|
icon: enumValue(SpsIcon$1),
|
|
22287
22347
|
kind: enumValue(SpsInsightTileKind),
|
|
@@ -22348,8 +22408,8 @@ function SpsInsightTile(props2) {
|
|
|
22348
22408
|
}, t2("design-system:insightTile.partners")))));
|
|
22349
22409
|
}
|
|
22350
22410
|
Object.assign(SpsInsightTile, {
|
|
22351
|
-
props: propsDoc$
|
|
22352
|
-
propTypes: propTypes$
|
|
22411
|
+
props: propsDoc$14,
|
|
22412
|
+
propTypes: propTypes$17,
|
|
22353
22413
|
displayName: "SpsInsightTile"
|
|
22354
22414
|
});
|
|
22355
22415
|
const SpsInsightTileExamples = {
|
|
@@ -22623,10 +22683,10 @@ const SpsInsightTileExamples = {
|
|
|
22623
22683
|
}
|
|
22624
22684
|
}
|
|
22625
22685
|
};
|
|
22626
|
-
const propsDoc$
|
|
22686
|
+
const propsDoc$13 = {
|
|
22627
22687
|
inline: "boolean"
|
|
22628
22688
|
};
|
|
22629
|
-
const propTypes$
|
|
22689
|
+
const propTypes$16 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22630
22690
|
inline: propTypes$1F.exports.bool
|
|
22631
22691
|
});
|
|
22632
22692
|
function SpsKeyValueList(props2) {
|
|
@@ -22650,14 +22710,14 @@ function SpsKeyValueList(props2) {
|
|
|
22650
22710
|
}, rest), children);
|
|
22651
22711
|
}
|
|
22652
22712
|
Object.assign(SpsKeyValueList, {
|
|
22653
|
-
props: propsDoc$
|
|
22654
|
-
propTypes: propTypes$
|
|
22713
|
+
props: propsDoc$13,
|
|
22714
|
+
propTypes: propTypes$16,
|
|
22655
22715
|
displayName: "SpsKeyValueList"
|
|
22656
22716
|
});
|
|
22657
|
-
const propsDoc$
|
|
22717
|
+
const propsDoc$12 = {
|
|
22658
22718
|
itemKey: { type: "string", required: true }
|
|
22659
22719
|
};
|
|
22660
|
-
const propTypes$
|
|
22720
|
+
const propTypes$15 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22661
22721
|
itemKey: propTypes$1F.exports.string.isRequired
|
|
22662
22722
|
});
|
|
22663
22723
|
function SpsKeyValueListItem(props2) {
|
|
@@ -22687,8 +22747,8 @@ function SpsKeyValueListItem(props2) {
|
|
|
22687
22747
|
}, children));
|
|
22688
22748
|
}
|
|
22689
22749
|
Object.assign(SpsKeyValueListItem, {
|
|
22690
|
-
props: propsDoc$
|
|
22691
|
-
propTypes: propTypes$
|
|
22750
|
+
props: propsDoc$12,
|
|
22751
|
+
propTypes: propTypes$15,
|
|
22692
22752
|
displayName: "SpsKeyValueListItem"
|
|
22693
22753
|
});
|
|
22694
22754
|
const SpsKeyValueListExamples = {
|
|
@@ -22731,7 +22791,7 @@ const SpsKeyValueListExamples = {
|
|
|
22731
22791
|
}
|
|
22732
22792
|
}
|
|
22733
22793
|
};
|
|
22734
|
-
const propsDoc$
|
|
22794
|
+
const propsDoc$11 = {
|
|
22735
22795
|
for: { type: "SpsFormMetaBase<any>", required: true },
|
|
22736
22796
|
description: "string",
|
|
22737
22797
|
stronglySuggested: "boolean",
|
|
@@ -22740,7 +22800,7 @@ const propsDoc$12 = {
|
|
|
22740
22800
|
helpIconColor: "string",
|
|
22741
22801
|
errors: "ReactNodeOrRenderFn"
|
|
22742
22802
|
};
|
|
22743
|
-
const propTypes$
|
|
22803
|
+
const propTypes$14 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22744
22804
|
description: propTypes$1F.exports.string,
|
|
22745
22805
|
for: propTypes$1F.exports.oneOfType([
|
|
22746
22806
|
impl(),
|
|
@@ -22910,8 +22970,8 @@ function SpsLabel(_e) {
|
|
|
22910
22970
|
}, description));
|
|
22911
22971
|
}
|
|
22912
22972
|
Object.assign(SpsLabel, {
|
|
22913
|
-
props: propsDoc$
|
|
22914
|
-
propTypes: propTypes$
|
|
22973
|
+
props: propsDoc$11,
|
|
22974
|
+
propTypes: propTypes$14,
|
|
22915
22975
|
displayName: "SpsLabel"
|
|
22916
22976
|
});
|
|
22917
22977
|
const SpsLabelExamples = {
|
|
@@ -23129,11 +23189,11 @@ const SpsLabelExamples = {
|
|
|
23129
23189
|
}
|
|
23130
23190
|
}
|
|
23131
23191
|
};
|
|
23132
|
-
const propsDoc$
|
|
23192
|
+
const propsDoc$10 = {
|
|
23133
23193
|
clearSelected: { type: "() => void", required: true },
|
|
23134
23194
|
itemsSelected: { type: "string | number", required: true }
|
|
23135
23195
|
};
|
|
23136
|
-
const propTypes$
|
|
23196
|
+
const propTypes$13 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23137
23197
|
clearSelected: fun().isRequired,
|
|
23138
23198
|
itemsSelected: propTypes$1F.exports.oneOfType([propTypes$1F.exports.string, propTypes$1F.exports.number])
|
|
23139
23199
|
});
|
|
@@ -23185,8 +23245,8 @@ function SpsListActionBar(props2) {
|
|
|
23185
23245
|
}, t2("design-system:listActionBar.clearSelected")))));
|
|
23186
23246
|
}
|
|
23187
23247
|
Object.assign(SpsListActionBar, {
|
|
23188
|
-
props: propsDoc$
|
|
23189
|
-
propTypes: propTypes$
|
|
23248
|
+
props: propsDoc$10,
|
|
23249
|
+
propTypes: propTypes$13,
|
|
23190
23250
|
displayName: "SpsListActionBar"
|
|
23191
23251
|
});
|
|
23192
23252
|
const getScrollParent = (node) => {
|
|
@@ -23382,13 +23442,13 @@ const usePinnedTableHeadStyle = (containerRef) => {
|
|
|
23382
23442
|
};
|
|
23383
23443
|
});
|
|
23384
23444
|
};
|
|
23385
|
-
const propsDoc
|
|
23445
|
+
const propsDoc$$ = {
|
|
23386
23446
|
controlCell: "boolean",
|
|
23387
23447
|
currentSort: "Array<SortedColumn>",
|
|
23388
23448
|
onSortChange: "SortChangeHandler",
|
|
23389
23449
|
sortKey: "string"
|
|
23390
23450
|
};
|
|
23391
|
-
const propTypes$
|
|
23451
|
+
const propTypes$12 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23392
23452
|
controlCell: propTypes$1F.exports.bool,
|
|
23393
23453
|
currentSort: propTypes$1F.exports.arrayOf(impl()),
|
|
23394
23454
|
onSortChange: fun(),
|
|
@@ -23452,23 +23512,23 @@ function SpsTableHeader(props2) {
|
|
|
23452
23512
|
}, children));
|
|
23453
23513
|
}
|
|
23454
23514
|
Object.assign(SpsTableHeader, {
|
|
23455
|
-
props: propsDoc
|
|
23456
|
-
propTypes: propTypes$
|
|
23515
|
+
props: propsDoc$$,
|
|
23516
|
+
propTypes: propTypes$12,
|
|
23457
23517
|
displayName: "SpsTableHeader"
|
|
23458
23518
|
});
|
|
23459
23519
|
function SpsTh(props2) {
|
|
23460
23520
|
return /* @__PURE__ */ React.createElement(SpsTableHeader, __spreadValues({}, props2));
|
|
23461
23521
|
}
|
|
23462
23522
|
Object.assign(SpsTh, {
|
|
23463
|
-
props: propsDoc
|
|
23464
|
-
propTypes: propTypes$
|
|
23523
|
+
props: propsDoc$$,
|
|
23524
|
+
propTypes: propTypes$12,
|
|
23465
23525
|
displayName: "SpsTh"
|
|
23466
23526
|
});
|
|
23467
|
-
const propsDoc
|
|
23527
|
+
const propsDoc$_ = {
|
|
23468
23528
|
currentSort: "Array<SortedColumn>",
|
|
23469
23529
|
onSortChange: "SortChangeHandler"
|
|
23470
23530
|
};
|
|
23471
|
-
const propTypes$
|
|
23531
|
+
const propTypes$11 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23472
23532
|
currentSort: propTypes$1F.exports.arrayOf(impl()),
|
|
23473
23533
|
onSortChange: fun()
|
|
23474
23534
|
});
|
|
@@ -23505,23 +23565,23 @@ function SpsTableRow(props2) {
|
|
|
23505
23565
|
}));
|
|
23506
23566
|
}
|
|
23507
23567
|
Object.assign(SpsTableRow, {
|
|
23508
|
-
props: propsDoc
|
|
23509
|
-
propTypes: propTypes$
|
|
23568
|
+
props: propsDoc$_,
|
|
23569
|
+
propTypes: propTypes$11,
|
|
23510
23570
|
displayName: "SpsTableRow"
|
|
23511
23571
|
});
|
|
23512
23572
|
function SpsTr(props2) {
|
|
23513
23573
|
return /* @__PURE__ */ React.createElement(SpsTableRow, __spreadValues({}, props2));
|
|
23514
23574
|
}
|
|
23515
23575
|
Object.assign(SpsTr, {
|
|
23516
|
-
props: propsDoc
|
|
23517
|
-
propTypes: propTypes$
|
|
23576
|
+
props: propsDoc$_,
|
|
23577
|
+
propTypes: propTypes$11,
|
|
23518
23578
|
displayName: "SpsTr"
|
|
23519
23579
|
});
|
|
23520
|
-
const propsDoc$
|
|
23580
|
+
const propsDoc$Z = {
|
|
23521
23581
|
currentSort: "Array<SortedColumn>",
|
|
23522
23582
|
onSortChange: "SortChangeHandler"
|
|
23523
23583
|
};
|
|
23524
|
-
const propTypes$
|
|
23584
|
+
const propTypes$10 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23525
23585
|
onSortChange: fun(),
|
|
23526
23586
|
currentSort: propTypes$1F.exports.arrayOf(impl()),
|
|
23527
23587
|
pinned: propTypes$1F.exports.bool
|
|
@@ -23560,24 +23620,24 @@ function SpsTableHead(props2) {
|
|
|
23560
23620
|
}));
|
|
23561
23621
|
}
|
|
23562
23622
|
Object.assign(SpsTableHead, {
|
|
23563
|
-
props: propsDoc$
|
|
23564
|
-
propTypes: propTypes$
|
|
23623
|
+
props: propsDoc$Z,
|
|
23624
|
+
propTypes: propTypes$10,
|
|
23565
23625
|
displayName: "SpsTableHead"
|
|
23566
23626
|
});
|
|
23567
23627
|
function SpsThead(props2) {
|
|
23568
23628
|
return /* @__PURE__ */ React.createElement(SpsTableHead, __spreadValues({}, props2));
|
|
23569
23629
|
}
|
|
23570
23630
|
Object.assign(SpsThead, {
|
|
23571
|
-
props: propsDoc$
|
|
23572
|
-
propTypes: propTypes$
|
|
23631
|
+
props: propsDoc$Z,
|
|
23632
|
+
propTypes: propTypes$10,
|
|
23573
23633
|
displayName: "SpsThead"
|
|
23574
23634
|
});
|
|
23575
|
-
const propsDoc$
|
|
23635
|
+
const propsDoc$Y = {
|
|
23576
23636
|
sort: "SortedColumn",
|
|
23577
23637
|
onSortChange: "SortChangeHandler",
|
|
23578
23638
|
selectable: "boolean"
|
|
23579
23639
|
};
|
|
23580
|
-
const propTypes
|
|
23640
|
+
const propTypes$$ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23581
23641
|
onSortChange: fun(),
|
|
23582
23642
|
sort: propTypes$1F.exports.arrayOf(impl()),
|
|
23583
23643
|
selectable: propTypes$1F.exports.bool
|
|
@@ -23635,12 +23695,12 @@ function SpsTable(props2) {
|
|
|
23635
23695
|
})));
|
|
23636
23696
|
}
|
|
23637
23697
|
Object.assign(SpsTable, {
|
|
23638
|
-
props: propsDoc$
|
|
23639
|
-
propTypes: propTypes
|
|
23698
|
+
props: propsDoc$Y,
|
|
23699
|
+
propTypes: propTypes$$,
|
|
23640
23700
|
displayName: "SpsTable"
|
|
23641
23701
|
});
|
|
23642
|
-
const propsDoc$
|
|
23643
|
-
const propTypes
|
|
23702
|
+
const propsDoc$X = {};
|
|
23703
|
+
const propTypes$_ = __spreadValues({}, spsGlobalPropTypes);
|
|
23644
23704
|
function SpsTableBody(props2) {
|
|
23645
23705
|
const _a = props2, {
|
|
23646
23706
|
children,
|
|
@@ -23660,24 +23720,24 @@ function SpsTableBody(props2) {
|
|
|
23660
23720
|
}, rest), children);
|
|
23661
23721
|
}
|
|
23662
23722
|
Object.assign(SpsTableBody, {
|
|
23663
|
-
props: propsDoc$
|
|
23664
|
-
propTypes: propTypes
|
|
23723
|
+
props: propsDoc$X,
|
|
23724
|
+
propTypes: propTypes$_,
|
|
23665
23725
|
displayName: "SpsTableBody"
|
|
23666
23726
|
});
|
|
23667
23727
|
function SpsTbody(props2) {
|
|
23668
23728
|
return /* @__PURE__ */ React.createElement(SpsTableBody, __spreadValues({}, props2));
|
|
23669
23729
|
}
|
|
23670
23730
|
Object.assign(SpsTbody, {
|
|
23671
|
-
props: propsDoc$
|
|
23672
|
-
propTypes: propTypes
|
|
23731
|
+
props: propsDoc$X,
|
|
23732
|
+
propTypes: propTypes$_,
|
|
23673
23733
|
displayName: "SpsTbody"
|
|
23674
23734
|
});
|
|
23675
|
-
const propsDoc$
|
|
23735
|
+
const propsDoc$W = {
|
|
23676
23736
|
buttonCell: "boolean",
|
|
23677
23737
|
controlCell: "boolean",
|
|
23678
23738
|
wrap: "SpsTableCellWrapWidth"
|
|
23679
23739
|
};
|
|
23680
|
-
const propTypes$
|
|
23740
|
+
const propTypes$Z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
23681
23741
|
buttonCell: propTypes$1F.exports.bool,
|
|
23682
23742
|
controlCell: propTypes$1F.exports.bool,
|
|
23683
23743
|
wrap: propTypes$1F.exports.oneOf([
|
|
@@ -23720,20 +23780,20 @@ function SpsTableCell(props2) {
|
|
|
23720
23780
|
}, rest), children);
|
|
23721
23781
|
}
|
|
23722
23782
|
Object.assign(SpsTableCell, {
|
|
23723
|
-
props: propsDoc$
|
|
23724
|
-
propTypes: propTypes$
|
|
23783
|
+
props: propsDoc$W,
|
|
23784
|
+
propTypes: propTypes$Z,
|
|
23725
23785
|
displayName: "SpsTableCell"
|
|
23726
23786
|
});
|
|
23727
23787
|
function SpsTd(props2) {
|
|
23728
23788
|
return /* @__PURE__ */ React.createElement(SpsTableCell, __spreadValues({}, props2));
|
|
23729
23789
|
}
|
|
23730
23790
|
Object.assign(SpsTd, {
|
|
23731
|
-
props: propsDoc$
|
|
23732
|
-
propTypes: propTypes$
|
|
23791
|
+
props: propsDoc$W,
|
|
23792
|
+
propTypes: propTypes$Z,
|
|
23733
23793
|
displayName: "SpsTd"
|
|
23734
23794
|
});
|
|
23735
|
-
const propsDoc$
|
|
23736
|
-
const propTypes$
|
|
23795
|
+
const propsDoc$V = {};
|
|
23796
|
+
const propTypes$Y = __spreadValues({}, spsGlobalPropTypes);
|
|
23737
23797
|
const CSS_BLOCK$3 = "sps-icon-button-panel";
|
|
23738
23798
|
function SpsIconButtonPanel(_g) {
|
|
23739
23799
|
var _h = _g, {
|
|
@@ -23752,8 +23812,8 @@ function SpsIconButtonPanel(_g) {
|
|
|
23752
23812
|
}, rest), iconButtons);
|
|
23753
23813
|
}
|
|
23754
23814
|
Object.assign(SpsIconButtonPanel, {
|
|
23755
|
-
props: propsDoc$
|
|
23756
|
-
propTypes: propTypes$
|
|
23815
|
+
props: propsDoc$V,
|
|
23816
|
+
propTypes: propTypes$Y,
|
|
23757
23817
|
displayName: "SpsIconButtonPanel"
|
|
23758
23818
|
});
|
|
23759
23819
|
const SpsTableExamples = {
|
|
@@ -24937,7 +24997,7 @@ const SpsListActionBarExamples = {
|
|
|
24937
24997
|
}
|
|
24938
24998
|
}
|
|
24939
24999
|
};
|
|
24940
|
-
const propTypes$
|
|
25000
|
+
const propTypes$X = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
24941
25001
|
tabs: propTypes$1F.exports.arrayOf(impl()).isRequired,
|
|
24942
25002
|
activeTab: impl(),
|
|
24943
25003
|
onTabChange: fun()
|
|
@@ -25002,14 +25062,14 @@ function SpsTabs(props2) {
|
|
|
25002
25062
|
}, tab2.tag)))));
|
|
25003
25063
|
}
|
|
25004
25064
|
Object.assign(SpsTabs, {
|
|
25005
|
-
propTypes: propTypes$
|
|
25065
|
+
propTypes: propTypes$X,
|
|
25006
25066
|
displayName: "SpsTabs"
|
|
25007
25067
|
});
|
|
25008
|
-
const propsDoc$
|
|
25068
|
+
const propsDoc$U = {
|
|
25009
25069
|
formMeta: "SpsFormSetMeta<any>",
|
|
25010
25070
|
stacked: "boolean"
|
|
25011
25071
|
};
|
|
25012
|
-
const propTypes$
|
|
25072
|
+
const propTypes$W = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25013
25073
|
formArray: impl(),
|
|
25014
25074
|
formGroup: impl(),
|
|
25015
25075
|
formMeta: impl(),
|
|
@@ -25058,14 +25118,14 @@ function SpsInputGroup(_i) {
|
|
|
25058
25118
|
}, children));
|
|
25059
25119
|
}
|
|
25060
25120
|
Object.assign(SpsInputGroup, {
|
|
25061
|
-
props: propsDoc$
|
|
25062
|
-
propTypes: propTypes$
|
|
25121
|
+
props: propsDoc$U,
|
|
25122
|
+
propTypes: propTypes$W,
|
|
25063
25123
|
displayName: "SpsInputGroup"
|
|
25064
25124
|
});
|
|
25065
|
-
const propsDoc$
|
|
25125
|
+
const propsDoc$T = {
|
|
25066
25126
|
onSubmit: "FormEventHandler"
|
|
25067
25127
|
};
|
|
25068
|
-
const propTypes$
|
|
25128
|
+
const propTypes$V = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25069
25129
|
onSubmit: fun()
|
|
25070
25130
|
});
|
|
25071
25131
|
function SpsListToolbarSearch(props2) {
|
|
@@ -25088,11 +25148,11 @@ function SpsListToolbarSearch(props2) {
|
|
|
25088
25148
|
}, children));
|
|
25089
25149
|
}
|
|
25090
25150
|
Object.assign(SpsListToolbarSearch, {
|
|
25091
|
-
props: propsDoc$
|
|
25092
|
-
propTypes: propTypes$
|
|
25151
|
+
props: propsDoc$T,
|
|
25152
|
+
propTypes: propTypes$V,
|
|
25093
25153
|
displayName: "SpsListToolbarSearch"
|
|
25094
25154
|
});
|
|
25095
|
-
const propsDoc$
|
|
25155
|
+
const propsDoc$S = {
|
|
25096
25156
|
activeTab: "SpsTab",
|
|
25097
25157
|
advancedSearch: "{ isOpen: boolean, enteredFields: number }",
|
|
25098
25158
|
onToggleAdvancedSearch: "(boolean) => void",
|
|
@@ -25105,7 +25165,7 @@ const propsDoc$T = {
|
|
|
25105
25165
|
isIndeterminate: "boolean",
|
|
25106
25166
|
onSelectionChange: "(boolean) => void"
|
|
25107
25167
|
};
|
|
25108
|
-
const propTypes$
|
|
25168
|
+
const propTypes$U = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25109
25169
|
activeTab: impl(),
|
|
25110
25170
|
advancedSearch: propTypes$1F.exports.shape({
|
|
25111
25171
|
isOpen: propTypes$1F.exports.bool,
|
|
@@ -25269,8 +25329,8 @@ function SpsListToolbar(props2) {
|
|
|
25269
25329
|
}, otherChildren)));
|
|
25270
25330
|
}
|
|
25271
25331
|
Object.assign(SpsListToolbar, {
|
|
25272
|
-
props: propsDoc$
|
|
25273
|
-
propTypes: propTypes$
|
|
25332
|
+
props: propsDoc$S,
|
|
25333
|
+
propTypes: propTypes$U,
|
|
25274
25334
|
displayName: "SpsListToolbar"
|
|
25275
25335
|
});
|
|
25276
25336
|
function ContentOrderExample() {
|
|
@@ -25731,11 +25791,11 @@ const SpsListToolbarExamples = {
|
|
|
25731
25791
|
}
|
|
25732
25792
|
}
|
|
25733
25793
|
};
|
|
25734
|
-
const propsDoc$
|
|
25794
|
+
const propsDoc$R = {
|
|
25735
25795
|
kind: "FeedbackBlockKind",
|
|
25736
25796
|
message: { type: "string", required: true }
|
|
25737
25797
|
};
|
|
25738
|
-
const propTypes$
|
|
25798
|
+
const propTypes$T = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25739
25799
|
kind: enumValue(FeedbackBlockKind),
|
|
25740
25800
|
message: propTypes$1F.exports.node.isRequired
|
|
25741
25801
|
});
|
|
@@ -25764,8 +25824,8 @@ function SpsMicroBlock(props2) {
|
|
|
25764
25824
|
}), /* @__PURE__ */ React.createElement("span", null, message));
|
|
25765
25825
|
}
|
|
25766
25826
|
Object.assign(SpsMicroBlock, {
|
|
25767
|
-
props: propsDoc$
|
|
25768
|
-
propTypes: propTypes$
|
|
25827
|
+
props: propsDoc$R,
|
|
25828
|
+
propTypes: propTypes$T,
|
|
25769
25829
|
displayName: "SpsMicroBlock"
|
|
25770
25830
|
});
|
|
25771
25831
|
const SpsMicroBlockExamples = {
|
|
@@ -25820,14 +25880,14 @@ const SpsMicroBlockExamples = {
|
|
|
25820
25880
|
}
|
|
25821
25881
|
}
|
|
25822
25882
|
};
|
|
25823
|
-
const propsDoc$
|
|
25883
|
+
const propsDoc$Q = {
|
|
25824
25884
|
kind: "ModalKind",
|
|
25825
25885
|
size: "ModalSize",
|
|
25826
25886
|
title: "string",
|
|
25827
25887
|
onClose: "() => void",
|
|
25828
25888
|
focusElementOnOpen: "React.MutableRefObject<HTMLElement>"
|
|
25829
25889
|
};
|
|
25830
|
-
const propTypes$
|
|
25890
|
+
const propTypes$S = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25831
25891
|
kind: enumValue(ModalKind),
|
|
25832
25892
|
size: enumValue(ModalSize),
|
|
25833
25893
|
title: propTypes$1F.exports.string,
|
|
@@ -25954,8 +26014,8 @@ function SpsModalV2(_k) {
|
|
|
25954
26014
|
}, t2("design-system:modal.defaultButtonLabel"))))) : /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
25955
26015
|
}
|
|
25956
26016
|
Object.assign(SpsModalV2, {
|
|
25957
|
-
props: propsDoc$
|
|
25958
|
-
propTypes: propTypes$
|
|
26017
|
+
props: propsDoc$Q,
|
|
26018
|
+
propTypes: propTypes$S,
|
|
25959
26019
|
displayName: "SpsModalV2"
|
|
25960
26020
|
});
|
|
25961
26021
|
const SpsModalExamples = {
|
|
@@ -26402,7 +26462,7 @@ const SpsModalExamples = {
|
|
|
26402
26462
|
}
|
|
26403
26463
|
}
|
|
26404
26464
|
};
|
|
26405
|
-
const propsDoc$
|
|
26465
|
+
const propsDoc$P = {
|
|
26406
26466
|
captionKey: "string",
|
|
26407
26467
|
debounce: "number",
|
|
26408
26468
|
disabled: "boolean",
|
|
@@ -26416,9 +26476,10 @@ const propsDoc$Q = {
|
|
|
26416
26476
|
tallOptionList: "boolean",
|
|
26417
26477
|
textKey: "string",
|
|
26418
26478
|
value: "any",
|
|
26419
|
-
zeroState: "string"
|
|
26479
|
+
zeroState: "string",
|
|
26480
|
+
loading: "boolean"
|
|
26420
26481
|
};
|
|
26421
|
-
const propTypes$
|
|
26482
|
+
const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26422
26483
|
action: fun(),
|
|
26423
26484
|
captionKey: propTypes$1F.exports.string,
|
|
26424
26485
|
debounce: propTypes$1F.exports.number,
|
|
@@ -26438,7 +26499,8 @@ const propTypes$S = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
|
26438
26499
|
tallOptionList: propTypes$1F.exports.bool,
|
|
26439
26500
|
textKey: propTypes$1F.exports.string,
|
|
26440
26501
|
value: propTypes$1F.exports.any,
|
|
26441
|
-
zeroState: propTypes$1F.exports.string
|
|
26502
|
+
zeroState: propTypes$1F.exports.string,
|
|
26503
|
+
loading: propTypes$1F.exports.bool
|
|
26442
26504
|
});
|
|
26443
26505
|
function SpsMultiSelect(_m) {
|
|
26444
26506
|
var _n = _m, {
|
|
@@ -26460,6 +26522,7 @@ function SpsMultiSelect(_m) {
|
|
|
26460
26522
|
unsafelyReplaceClassName,
|
|
26461
26523
|
value,
|
|
26462
26524
|
zeroState = "There are no matching options.",
|
|
26525
|
+
loading,
|
|
26463
26526
|
icon
|
|
26464
26527
|
} = _n, rest = __objRest(_n, [
|
|
26465
26528
|
"action",
|
|
@@ -26480,6 +26543,7 @@ function SpsMultiSelect(_m) {
|
|
|
26480
26543
|
"unsafelyReplaceClassName",
|
|
26481
26544
|
"value",
|
|
26482
26545
|
"zeroState",
|
|
26546
|
+
"loading",
|
|
26483
26547
|
"icon"
|
|
26484
26548
|
]);
|
|
26485
26549
|
const meta = formMeta || formControl2;
|
|
@@ -26674,12 +26738,13 @@ function SpsMultiSelect(_m) {
|
|
|
26674
26738
|
search: state.searchText,
|
|
26675
26739
|
tall: tallOptionList,
|
|
26676
26740
|
textKey,
|
|
26677
|
-
zeroState
|
|
26741
|
+
zeroState,
|
|
26742
|
+
loading
|
|
26678
26743
|
}));
|
|
26679
26744
|
}
|
|
26680
26745
|
Object.assign(SpsMultiSelect, {
|
|
26681
|
-
props: propsDoc$
|
|
26682
|
-
propTypes: propTypes$
|
|
26746
|
+
props: propsDoc$P,
|
|
26747
|
+
propTypes: propTypes$R,
|
|
26683
26748
|
displayName: "SpsMultiSelect"
|
|
26684
26749
|
});
|
|
26685
26750
|
const SpsMultiSelectExamples = {
|
|
@@ -26843,8 +26908,8 @@ const SpsMultiSelectExamples = {
|
|
|
26843
26908
|
}
|
|
26844
26909
|
}
|
|
26845
26910
|
};
|
|
26846
|
-
const propsDoc$
|
|
26847
|
-
const propTypes$
|
|
26911
|
+
const propsDoc$O = {};
|
|
26912
|
+
const propTypes$Q = __spreadValues({}, spsGlobalPropTypes);
|
|
26848
26913
|
function SpsPageTitle(props2) {
|
|
26849
26914
|
const _a = props2, {
|
|
26850
26915
|
children,
|
|
@@ -26876,12 +26941,12 @@ function SpsPageTitle(props2) {
|
|
|
26876
26941
|
}, otherChildren));
|
|
26877
26942
|
}
|
|
26878
26943
|
Object.assign(SpsPageTitle, {
|
|
26879
|
-
props: propsDoc$
|
|
26880
|
-
propTypes: propTypes$
|
|
26944
|
+
props: propsDoc$O,
|
|
26945
|
+
propTypes: propTypes$Q,
|
|
26881
26946
|
displayName: "SpsPageTitle"
|
|
26882
26947
|
});
|
|
26883
|
-
const propsDoc$
|
|
26884
|
-
const propTypes$
|
|
26948
|
+
const propsDoc$N = {};
|
|
26949
|
+
const propTypes$P = __spreadValues({}, spsGlobalPropTypes);
|
|
26885
26950
|
function SpsPageSubtitle(props2) {
|
|
26886
26951
|
const _a = props2, {
|
|
26887
26952
|
children,
|
|
@@ -26901,8 +26966,8 @@ function SpsPageSubtitle(props2) {
|
|
|
26901
26966
|
}, rest), children);
|
|
26902
26967
|
}
|
|
26903
26968
|
Object.assign(SpsPageSubtitle, {
|
|
26904
|
-
props: propsDoc$
|
|
26905
|
-
propTypes: propTypes$
|
|
26969
|
+
props: propsDoc$N,
|
|
26970
|
+
propTypes: propTypes$P,
|
|
26906
26971
|
displayName: "SpsPageSubtitle"
|
|
26907
26972
|
});
|
|
26908
26973
|
const SpsPageTitleExamples = {
|
|
@@ -26965,7 +27030,7 @@ const SpsPageTitleExamples = {
|
|
|
26965
27030
|
}
|
|
26966
27031
|
}
|
|
26967
27032
|
};
|
|
26968
|
-
const propsDoc$
|
|
27033
|
+
const propsDoc$M = {
|
|
26969
27034
|
action: "SpsActionMethod",
|
|
26970
27035
|
captionKey: "string",
|
|
26971
27036
|
comparisonKey: "string",
|
|
@@ -26982,9 +27047,10 @@ const propsDoc$N = {
|
|
|
26982
27047
|
valueKey: "string",
|
|
26983
27048
|
value: "any",
|
|
26984
27049
|
zeroState: "string",
|
|
26985
|
-
autoFixWidth: "boolean"
|
|
27050
|
+
autoFixWidth: "boolean",
|
|
27051
|
+
loading: "boolean"
|
|
26986
27052
|
};
|
|
26987
|
-
const propTypes$
|
|
27053
|
+
const propTypes$O = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26988
27054
|
action: fun(),
|
|
26989
27055
|
captionKey: propTypes$1F.exports.string,
|
|
26990
27056
|
comparisonKey: propTypes$1F.exports.string,
|
|
@@ -27006,7 +27072,8 @@ const propTypes$P = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
|
27006
27072
|
valueKey: propTypes$1F.exports.string,
|
|
27007
27073
|
value: propTypes$1F.exports.any,
|
|
27008
27074
|
zeroState: propTypes$1F.exports.string,
|
|
27009
|
-
autoFixWidth: propTypes$1F.exports.bool
|
|
27075
|
+
autoFixWidth: propTypes$1F.exports.bool,
|
|
27076
|
+
loading: propTypes$1F.exports.bool
|
|
27010
27077
|
});
|
|
27011
27078
|
const SpsSelect = React.forwardRef((props2, ref2) => {
|
|
27012
27079
|
const _a = props2, {
|
|
@@ -27030,7 +27097,8 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
|
|
|
27030
27097
|
valueKey,
|
|
27031
27098
|
unsafelyReplaceClassName,
|
|
27032
27099
|
value: valueProp,
|
|
27033
|
-
zeroState
|
|
27100
|
+
zeroState,
|
|
27101
|
+
loading
|
|
27034
27102
|
} = _a, rest = __objRest(_a, [
|
|
27035
27103
|
"action",
|
|
27036
27104
|
"autoFixWidth",
|
|
@@ -27052,7 +27120,8 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
|
|
|
27052
27120
|
"valueKey",
|
|
27053
27121
|
"unsafelyReplaceClassName",
|
|
27054
27122
|
"value",
|
|
27055
|
-
"zeroState"
|
|
27123
|
+
"zeroState",
|
|
27124
|
+
"loading"
|
|
27056
27125
|
]);
|
|
27057
27126
|
const meta = formMeta || formControl2;
|
|
27058
27127
|
const { wrapperId, controlId } = useFormControlId(id2, meta);
|
|
@@ -27214,21 +27283,22 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
|
|
|
27214
27283
|
valueKey,
|
|
27215
27284
|
onOptionListChanged: handleOptionListChanged,
|
|
27216
27285
|
zeroState,
|
|
27217
|
-
ignoreWidthStyles: autoFixWidth
|
|
27286
|
+
ignoreWidthStyles: autoFixWidth,
|
|
27287
|
+
loading
|
|
27218
27288
|
}));
|
|
27219
27289
|
});
|
|
27220
27290
|
Object.assign(SpsSelect, {
|
|
27221
|
-
props: propsDoc$
|
|
27222
|
-
propTypes: propTypes$
|
|
27291
|
+
props: propsDoc$M,
|
|
27292
|
+
propTypes: propTypes$O,
|
|
27223
27293
|
displayName: "SpsSelect"
|
|
27224
27294
|
});
|
|
27225
|
-
const propsDoc$
|
|
27295
|
+
const propsDoc$L = {
|
|
27226
27296
|
page: "number",
|
|
27227
27297
|
numPages: "number",
|
|
27228
27298
|
onPageChange: "(number) => void",
|
|
27229
27299
|
disabled: "boolean"
|
|
27230
27300
|
};
|
|
27231
|
-
const propTypes$
|
|
27301
|
+
const propTypes$N = __spreadValues({
|
|
27232
27302
|
numPages: propTypes$1F.exports.number,
|
|
27233
27303
|
onPageChange: fun(),
|
|
27234
27304
|
page: propTypes$1F.exports.number,
|
|
@@ -27325,11 +27395,11 @@ function SpsPageSelector(props2) {
|
|
|
27325
27395
|
})))));
|
|
27326
27396
|
}
|
|
27327
27397
|
Object.assign(SpsPageSelector, {
|
|
27328
|
-
props: propsDoc$
|
|
27329
|
-
propTypes: propTypes$
|
|
27398
|
+
props: propsDoc$L,
|
|
27399
|
+
propTypes: propTypes$N,
|
|
27330
27400
|
displayName: "SpsPageSelector"
|
|
27331
27401
|
});
|
|
27332
|
-
const propsDoc$
|
|
27402
|
+
const propsDoc$K = {
|
|
27333
27403
|
page: "number",
|
|
27334
27404
|
pageSize: "number",
|
|
27335
27405
|
pageSizeOptions: "Array<number>",
|
|
@@ -27337,7 +27407,7 @@ const propsDoc$L = {
|
|
|
27337
27407
|
onPageChange: "(page: number, pageSize: number, indices: [number, number]) => void",
|
|
27338
27408
|
disabled: "boolean"
|
|
27339
27409
|
};
|
|
27340
|
-
const propTypes$
|
|
27410
|
+
const propTypes$M = __spreadValues({
|
|
27341
27411
|
onPageChange: fun().isRequired,
|
|
27342
27412
|
page: propTypes$1F.exports.number,
|
|
27343
27413
|
pageSize: propTypes$1F.exports.number,
|
|
@@ -27453,8 +27523,8 @@ function SpsPagination(props2) {
|
|
|
27453
27523
|
}));
|
|
27454
27524
|
}
|
|
27455
27525
|
Object.assign(SpsPagination, {
|
|
27456
|
-
props: propsDoc$
|
|
27457
|
-
propTypes: propTypes$
|
|
27526
|
+
props: propsDoc$K,
|
|
27527
|
+
propTypes: propTypes$M,
|
|
27458
27528
|
displayName: "SpsPagination"
|
|
27459
27529
|
});
|
|
27460
27530
|
const SpsPaginationExamples = {
|
|
@@ -27532,7 +27602,7 @@ const SpsPaginationExamples = {
|
|
|
27532
27602
|
}
|
|
27533
27603
|
}
|
|
27534
27604
|
};
|
|
27535
|
-
const propsDoc$
|
|
27605
|
+
const propsDoc$J = {
|
|
27536
27606
|
active: "boolean",
|
|
27537
27607
|
as: "React.ElementType"
|
|
27538
27608
|
};
|
|
@@ -27556,10 +27626,10 @@ function SpsProductBarTab(props2) {
|
|
|
27556
27626
|
}, rest), children);
|
|
27557
27627
|
}
|
|
27558
27628
|
Object.assign(SpsProductBarTab, {
|
|
27559
|
-
props: propsDoc$
|
|
27629
|
+
props: propsDoc$J,
|
|
27560
27630
|
displayName: "SpsProductBarTab"
|
|
27561
27631
|
});
|
|
27562
|
-
const propsDoc$
|
|
27632
|
+
const propsDoc$I = {
|
|
27563
27633
|
activeTab: "string",
|
|
27564
27634
|
fullWidth: "boolean",
|
|
27565
27635
|
onTabChange: "(newTab: string) => void",
|
|
@@ -27569,7 +27639,7 @@ const propsDoc$J = {
|
|
|
27569
27639
|
productNameHref: "string",
|
|
27570
27640
|
tabs: "Array<string>"
|
|
27571
27641
|
};
|
|
27572
|
-
const propTypes$
|
|
27642
|
+
const propTypes$L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27573
27643
|
activeTab: propTypes$1F.exports.string,
|
|
27574
27644
|
fullWidth: propTypes$1F.exports.bool,
|
|
27575
27645
|
onTabChange: fun(),
|
|
@@ -27652,8 +27722,8 @@ function SpsProductBar(props2) {
|
|
|
27652
27722
|
}, otherChildren))));
|
|
27653
27723
|
}
|
|
27654
27724
|
Object.assign(SpsProductBar, {
|
|
27655
|
-
props: propsDoc$
|
|
27656
|
-
propTypes: propTypes$
|
|
27725
|
+
props: propsDoc$I,
|
|
27726
|
+
propTypes: propTypes$L,
|
|
27657
27727
|
displayName: "SpsProductBar"
|
|
27658
27728
|
});
|
|
27659
27729
|
const SpsProductBarExamples = {
|
|
@@ -27792,14 +27862,14 @@ const SpsProductBarExamples = {
|
|
|
27792
27862
|
}
|
|
27793
27863
|
}
|
|
27794
27864
|
};
|
|
27795
|
-
const propsDoc$
|
|
27865
|
+
const propsDoc$H = {
|
|
27796
27866
|
percentComplete: "number",
|
|
27797
27867
|
title: "string",
|
|
27798
27868
|
detail: "string",
|
|
27799
27869
|
disabled: "boolean",
|
|
27800
27870
|
onClose: "() => void"
|
|
27801
27871
|
};
|
|
27802
|
-
const propTypes$
|
|
27872
|
+
const propTypes$K = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27803
27873
|
percentComplete: propTypes$1F.exports.number,
|
|
27804
27874
|
title: propTypes$1F.exports.string,
|
|
27805
27875
|
detail: propTypes$1F.exports.string,
|
|
@@ -27859,8 +27929,8 @@ function SpsProgressBar(props2) {
|
|
|
27859
27929
|
})));
|
|
27860
27930
|
}
|
|
27861
27931
|
Object.assign(SpsProgressBar, {
|
|
27862
|
-
props: propsDoc$
|
|
27863
|
-
propTypes: propTypes$
|
|
27932
|
+
props: propsDoc$H,
|
|
27933
|
+
propTypes: propTypes$K,
|
|
27864
27934
|
displayName: "SpsProgressBar"
|
|
27865
27935
|
});
|
|
27866
27936
|
const SpsSteppedProgressBarExamples = {
|
|
@@ -28443,7 +28513,7 @@ const SpsTooltipExamples = {
|
|
|
28443
28513
|
}
|
|
28444
28514
|
}
|
|
28445
28515
|
};
|
|
28446
|
-
const propsDoc$
|
|
28516
|
+
const propsDoc$G = {
|
|
28447
28517
|
title: "string",
|
|
28448
28518
|
stepsCount: "number",
|
|
28449
28519
|
completedStepsCount: "number",
|
|
@@ -28452,7 +28522,7 @@ const propsDoc$H = {
|
|
|
28452
28522
|
icons: "IconsProps[]",
|
|
28453
28523
|
tooltipsData: "TooltipsProps[]"
|
|
28454
28524
|
};
|
|
28455
|
-
const propTypes$
|
|
28525
|
+
const propTypes$J = {
|
|
28456
28526
|
title: propTypes$1F.exports.string,
|
|
28457
28527
|
stepsCount: propTypes$1F.exports.number,
|
|
28458
28528
|
completedStepsCount: propTypes$1F.exports.number,
|
|
@@ -28505,8 +28575,8 @@ function SpsSteppedProgressBar(props2) {
|
|
|
28505
28575
|
}, findTooltipData(index).description))))));
|
|
28506
28576
|
}
|
|
28507
28577
|
Object.assign(SpsSteppedProgressBar, {
|
|
28508
|
-
props: propsDoc$
|
|
28509
|
-
propTypes: propTypes$
|
|
28578
|
+
props: propsDoc$G,
|
|
28579
|
+
propTypes: propTypes$J,
|
|
28510
28580
|
displayName: "SpsSteppedProgressBar"
|
|
28511
28581
|
});
|
|
28512
28582
|
const SpsProgressBarExamples = {
|
|
@@ -28604,7 +28674,7 @@ const SpsProgressBarExamples = {
|
|
|
28604
28674
|
}
|
|
28605
28675
|
}
|
|
28606
28676
|
};
|
|
28607
|
-
const propsDoc$
|
|
28677
|
+
const propsDoc$F = {
|
|
28608
28678
|
checked: "boolean",
|
|
28609
28679
|
disabled: "boolean",
|
|
28610
28680
|
formMeta: "SpsFormFieldMeta<any>",
|
|
@@ -28614,7 +28684,7 @@ const propsDoc$G = {
|
|
|
28614
28684
|
onChange: "ChangeEventHandler",
|
|
28615
28685
|
value: "any"
|
|
28616
28686
|
};
|
|
28617
|
-
const propTypes$
|
|
28687
|
+
const propTypes$I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28618
28688
|
checked: propTypes$1F.exports.bool,
|
|
28619
28689
|
disabled: propTypes$1F.exports.bool,
|
|
28620
28690
|
formControl: impl(),
|
|
@@ -28696,8 +28766,8 @@ function SpsRadioButton(_o) {
|
|
|
28696
28766
|
}, label || ""));
|
|
28697
28767
|
}
|
|
28698
28768
|
Object.assign(SpsRadioButton, {
|
|
28699
|
-
props: propsDoc$
|
|
28700
|
-
propTypes: propTypes$
|
|
28769
|
+
props: propsDoc$F,
|
|
28770
|
+
propTypes: propTypes$I,
|
|
28701
28771
|
displayName: "SpsRadioButton"
|
|
28702
28772
|
});
|
|
28703
28773
|
const SpsRadioButtonExamples = {
|
|
@@ -28785,10 +28855,10 @@ const SpsRadioButtonExamples = {
|
|
|
28785
28855
|
}
|
|
28786
28856
|
}
|
|
28787
28857
|
};
|
|
28788
|
-
const propsDoc$
|
|
28858
|
+
const propsDoc$E = {
|
|
28789
28859
|
maxHeight: "string"
|
|
28790
28860
|
};
|
|
28791
|
-
const propTypes$
|
|
28861
|
+
const propTypes$H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28792
28862
|
maxHeight: propTypes$1F.exports.string
|
|
28793
28863
|
});
|
|
28794
28864
|
function SpsScrollableContainer(props2) {
|
|
@@ -28802,8 +28872,8 @@ function SpsScrollableContainer(props2) {
|
|
|
28802
28872
|
}, children);
|
|
28803
28873
|
}
|
|
28804
28874
|
Object.assign(SpsScrollableContainer, {
|
|
28805
|
-
props: propsDoc$
|
|
28806
|
-
propTypes: propTypes$
|
|
28875
|
+
props: propsDoc$E,
|
|
28876
|
+
propTypes: propTypes$H,
|
|
28807
28877
|
displayName: "SpsScrollableContainer"
|
|
28808
28878
|
});
|
|
28809
28879
|
const SpsScrollableContainerExamples = {
|
|
@@ -28883,12 +28953,12 @@ const SpsScrollableContainerExamples = {
|
|
|
28883
28953
|
}
|
|
28884
28954
|
}
|
|
28885
28955
|
};
|
|
28886
|
-
const propsDoc$
|
|
28956
|
+
const propsDoc$D = {
|
|
28887
28957
|
resultsCount: "number",
|
|
28888
28958
|
totalResults: "number",
|
|
28889
28959
|
onClear: "() => void"
|
|
28890
28960
|
};
|
|
28891
|
-
const propTypes$
|
|
28961
|
+
const propTypes$G = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28892
28962
|
resultsCount: propTypes$1F.exports.number,
|
|
28893
28963
|
totalResults: propTypes$1F.exports.number,
|
|
28894
28964
|
onClear: fun()
|
|
@@ -28941,8 +29011,8 @@ function SpsSearchResultsBar(props2) {
|
|
|
28941
29011
|
}, t2("design-system:searchResultsBar.clear"))));
|
|
28942
29012
|
}
|
|
28943
29013
|
Object.assign(SpsSearchResultsBar, {
|
|
28944
|
-
props: propsDoc$
|
|
28945
|
-
propTypes: propTypes$
|
|
29014
|
+
props: propsDoc$D,
|
|
29015
|
+
propTypes: propTypes$G,
|
|
28946
29016
|
displayName: "SpsSearchResultsBar"
|
|
28947
29017
|
});
|
|
28948
29018
|
const SpsSearchResultsBarExamples = {
|
|
@@ -29741,7 +29811,7 @@ const SpsSideNavExamples = {
|
|
|
29741
29811
|
}
|
|
29742
29812
|
}
|
|
29743
29813
|
};
|
|
29744
|
-
const propsDoc$
|
|
29814
|
+
const propsDoc$C = {
|
|
29745
29815
|
sortKey: "string",
|
|
29746
29816
|
sortDisabled: "boolean",
|
|
29747
29817
|
sort: "SortedColumn[]",
|
|
@@ -29749,7 +29819,7 @@ const propsDoc$D = {
|
|
|
29749
29819
|
widthPx: "number",
|
|
29750
29820
|
widthRem: "number"
|
|
29751
29821
|
};
|
|
29752
|
-
const propTypes$
|
|
29822
|
+
const propTypes$F = __spreadValues({
|
|
29753
29823
|
sortKey: propTypes$1F.exports.string,
|
|
29754
29824
|
sortDisabled: propTypes$1F.exports.bool,
|
|
29755
29825
|
sort: propTypes$1F.exports.arrayOf(impl()),
|
|
@@ -29816,15 +29886,15 @@ function SpsSortingHeaderCell(_q) {
|
|
|
29816
29886
|
}, rest), children);
|
|
29817
29887
|
}
|
|
29818
29888
|
Object.assign(SpsSortingHeaderCell, {
|
|
29819
|
-
props: propsDoc$
|
|
29820
|
-
propTypes: propTypes$
|
|
29889
|
+
props: propsDoc$C,
|
|
29890
|
+
propTypes: propTypes$F,
|
|
29821
29891
|
displayName: "SpsSortingHeaderCell"
|
|
29822
29892
|
});
|
|
29823
|
-
const propsDoc$
|
|
29893
|
+
const propsDoc$B = {
|
|
29824
29894
|
sort: "SortedColumn[]",
|
|
29825
29895
|
onSortChange: "SortChangeHandler"
|
|
29826
29896
|
};
|
|
29827
|
-
const propTypes$
|
|
29897
|
+
const propTypes$E = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29828
29898
|
sort: propTypes$1F.exports.arrayOf(impl()),
|
|
29829
29899
|
onSortChange: fun()
|
|
29830
29900
|
});
|
|
@@ -29859,49 +29929,9 @@ function SpsSortingHeader(_s) {
|
|
|
29859
29929
|
}));
|
|
29860
29930
|
}
|
|
29861
29931
|
Object.assign(SpsSortingHeader, {
|
|
29862
|
-
props: propsDoc$C,
|
|
29863
|
-
propTypes: propTypes$F,
|
|
29864
|
-
displayName: "SpsSortingHeader"
|
|
29865
|
-
});
|
|
29866
|
-
const propsDoc$B = {
|
|
29867
|
-
alt: "string",
|
|
29868
|
-
size: "SpinnerSize",
|
|
29869
|
-
title: "string"
|
|
29870
|
-
};
|
|
29871
|
-
const propTypes$E = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29872
|
-
alt: propTypes$1F.exports.string,
|
|
29873
|
-
size: enumValue(SpinnerSize),
|
|
29874
|
-
title: propTypes$1F.exports.string
|
|
29875
|
-
});
|
|
29876
|
-
function SpsSpinner(props2) {
|
|
29877
|
-
const _a = props2, {
|
|
29878
|
-
alt,
|
|
29879
|
-
className,
|
|
29880
|
-
size = SpinnerSize.MEDIUM,
|
|
29881
|
-
"data-testid": testId,
|
|
29882
|
-
title,
|
|
29883
|
-
unsafelyReplaceClassName
|
|
29884
|
-
} = _a, rest = __objRest(_a, [
|
|
29885
|
-
"alt",
|
|
29886
|
-
"className",
|
|
29887
|
-
"size",
|
|
29888
|
-
"data-testid",
|
|
29889
|
-
"title",
|
|
29890
|
-
"unsafelyReplaceClassName"
|
|
29891
|
-
]);
|
|
29892
|
-
const { t: t2 } = React.useContext(I18nContext);
|
|
29893
|
-
const altText = alt || title || t2("design-system:spinner.defaultAltText");
|
|
29894
|
-
const spinnerClasses = clsx(unsafelyReplaceClassName || "sps-spinner", `sps-spinner--${size}`, className);
|
|
29895
|
-
return /* @__PURE__ */ React.createElement("i", __spreadValues({
|
|
29896
|
-
className: spinnerClasses,
|
|
29897
|
-
"data-testid": testId,
|
|
29898
|
-
title: altText
|
|
29899
|
-
}, rest));
|
|
29900
|
-
}
|
|
29901
|
-
Object.assign(SpsSpinner, {
|
|
29902
29932
|
props: propsDoc$B,
|
|
29903
29933
|
propTypes: propTypes$E,
|
|
29904
|
-
displayName: "
|
|
29934
|
+
displayName: "SpsSortingHeader"
|
|
29905
29935
|
});
|
|
29906
29936
|
const SpsSpinnerExamples = {
|
|
29907
29937
|
basic: {
|