@spscommerce/ds-react 5.2.4 → 5.4.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/datepicker-v2/utils.d.ts +2 -1
- package/lib/index.cjs.js +149 -82
- package/lib/index.es.js +808 -676
- package/lib/list-toolbar/SpsListToolbarSearchInfo.d.ts +10 -0
- package/lib/list-toolbar/index.d.ts +1 -0
- package/lib/multi-select/SpsMultiSelect.d.ts +2 -1
- package/lib/stepped-progress-bar/SpsSteppedProgressBar.d.ts +3 -1
- package/lib/stepped-progress-bar/{SpsStepepdProgressBar.examples.d.ts → SpsSteppedProgressBar.examples.d.ts} +4 -0
- package/lib/stepped-progress-bar/index.d.ts +1 -1
- package/package.json +9 -9
package/lib/index.es.js
CHANGED
|
@@ -31,13 +31,13 @@ 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, useCallback as useCallback$1, useLayoutEffect as useLayoutEffect$1 } from "react";
|
|
34
|
-
import { noI18nI18n, ButtonKind, ButtonType, SpsIcon, SpinnerSize, Position, ZStratum, SpsOptionListOption, DropdownKind, SPS_ACTION_DEFAULTS, ClickableTagKind, TagKind, SpsIconSize, SelectMode, TooltipKind, TooltipShowTrigger, TOOLTIP_HIDE_DELAY_MS_DEFAULT, FeedbackBlockKind, FeedbackBlockIcons, GrowlerKind, GrowlerIcon, GROWLER_VISIBLE_DURATION_MS, GROWLER_FADEOUT_DURATION_MS, SpsInsightTileKind, SpsInsightTileIcons, KeyValueListTitleColor, SortDirection, ModalKind, ModalSize, DEFAULT_PAGE_SIZE_OPTIONS, StdButtonKind, SpsTaskStatus, TASK_QUEUE_NOTIFICATION_DURATION_MS, SpsTaskStatusIcons, SpsFilterTileKind, RingSize, WizardSubstepConditions } from "@spscommerce/ds-shared";
|
|
34
|
+
import { noI18nI18n, ButtonKind, ButtonType, SpsIcon, SpinnerSize, Position, ZStratum, SpsOptionListOption, DropdownKind, SPS_ACTION_DEFAULTS, ClickableTagKind, TagKind, SpsIconSize, SelectMode, TooltipKind, TooltipShowTrigger, TOOLTIP_HIDE_DELAY_MS_DEFAULT, FeedbackBlockKind, FeedbackBlockIcons, GrowlerKind, GrowlerIcon, GROWLER_VISIBLE_DURATION_MS, GROWLER_FADEOUT_DURATION_MS, SpsInsightTileKind, SpsInsightTileIcons, KeyValueListTitleColor, SortDirection, ModalKind, ModalSize, DEFAULT_PAGE_SIZE_OPTIONS, SteppedProgressBarColor, 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";
|
|
38
38
|
import { useCollection } from "@react-stately/collections";
|
|
39
39
|
import { PositioningService, Position as Position$1 } from "@spscommerce/positioning";
|
|
40
|
-
import * as moment$
|
|
40
|
+
import * as moment$6 from "moment-timezone";
|
|
41
41
|
import moment__default from "moment-timezone";
|
|
42
42
|
import { colors } from "@spscommerce/ds-colors";
|
|
43
43
|
function toVal(mix) {
|
|
@@ -81,7 +81,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
|
81
81
|
function commonjsRequire(path) {
|
|
82
82
|
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
83
|
}
|
|
84
|
-
var propTypes$
|
|
84
|
+
var propTypes$1M = { exports: {} };
|
|
85
85
|
var ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
86
86
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
|
87
87
|
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
@@ -129,32 +129,32 @@ var factoryWithThrowingShims = function() {
|
|
|
129
129
|
return ReactPropTypes;
|
|
130
130
|
};
|
|
131
131
|
{
|
|
132
|
-
propTypes$
|
|
132
|
+
propTypes$1M.exports = factoryWithThrowingShims();
|
|
133
133
|
}
|
|
134
134
|
function deprecated(type) {
|
|
135
135
|
return type;
|
|
136
136
|
}
|
|
137
137
|
function enumValue(e2) {
|
|
138
|
-
return propTypes$
|
|
138
|
+
return propTypes$1M.exports.oneOf(values$3(e2));
|
|
139
139
|
}
|
|
140
140
|
function fun() {
|
|
141
|
-
return propTypes$
|
|
141
|
+
return propTypes$1M.exports.func;
|
|
142
142
|
}
|
|
143
143
|
function impl() {
|
|
144
|
-
return propTypes$
|
|
144
|
+
return propTypes$1M.exports.object;
|
|
145
145
|
}
|
|
146
146
|
function ref() {
|
|
147
|
-
return propTypes$
|
|
147
|
+
return propTypes$1M.exports.object;
|
|
148
148
|
}
|
|
149
|
-
const nodeOrRenderFn = propTypes$
|
|
149
|
+
const nodeOrRenderFn = propTypes$1M.exports.oneOfType([propTypes$1M.exports.node, propTypes$1M.exports.func]);
|
|
150
150
|
const spsGlobalPropTypes = {
|
|
151
|
-
children: propTypes$
|
|
152
|
-
className: propTypes$
|
|
153
|
-
"data-testid": propTypes$
|
|
154
|
-
unsafelyReplaceClassName: propTypes$
|
|
151
|
+
children: propTypes$1M.exports.oneOfType([propTypes$1M.exports.arrayOf(propTypes$1M.exports.node), propTypes$1M.exports.node]),
|
|
152
|
+
className: propTypes$1M.exports.string,
|
|
153
|
+
"data-testid": propTypes$1M.exports.string,
|
|
154
|
+
unsafelyReplaceClassName: propTypes$1M.exports.string
|
|
155
155
|
};
|
|
156
156
|
const I18nContext = React.createContext(noI18nI18n);
|
|
157
|
-
const propsDoc$
|
|
157
|
+
const propsDoc$1H = {
|
|
158
158
|
disabled: "boolean",
|
|
159
159
|
href: "string",
|
|
160
160
|
icon: "SpsIcon",
|
|
@@ -163,13 +163,13 @@ const propsDoc$1G = {
|
|
|
163
163
|
spinningTitle: "string",
|
|
164
164
|
type: "ButtonType"
|
|
165
165
|
};
|
|
166
|
-
const propTypes$
|
|
167
|
-
disabled: propTypes$
|
|
168
|
-
href: propTypes$
|
|
166
|
+
const propTypes$1L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
167
|
+
disabled: propTypes$1M.exports.bool,
|
|
168
|
+
href: propTypes$1M.exports.string,
|
|
169
169
|
icon: enumValue(SpsIcon),
|
|
170
170
|
kind: enumValue(ButtonKind),
|
|
171
|
-
spinning: propTypes$
|
|
172
|
-
spinningTitle: propTypes$
|
|
171
|
+
spinning: propTypes$1M.exports.bool,
|
|
172
|
+
spinningTitle: propTypes$1M.exports.string,
|
|
173
173
|
type: enumValue(ButtonType)
|
|
174
174
|
});
|
|
175
175
|
function SpsButton(props2) {
|
|
@@ -219,8 +219,8 @@ function SpsButton(props2) {
|
|
|
219
219
|
}), iconElement, children, spinner));
|
|
220
220
|
}
|
|
221
221
|
Object.assign(SpsButton, {
|
|
222
|
-
props: propsDoc$
|
|
223
|
-
propTypes: propTypes$
|
|
222
|
+
props: propsDoc$1H,
|
|
223
|
+
propTypes: propTypes$1L,
|
|
224
224
|
displayName: "SpsButton"
|
|
225
225
|
});
|
|
226
226
|
const spsFormProps = {
|
|
@@ -272,7 +272,7 @@ Object.assign(SpsForm, {
|
|
|
272
272
|
function contentOf(nodeOrRenderFn2) {
|
|
273
273
|
return typeof nodeOrRenderFn2 === "function" ? nodeOrRenderFn2() : nodeOrRenderFn2;
|
|
274
274
|
}
|
|
275
|
-
const propsDoc$
|
|
275
|
+
const propsDoc$1G = __spreadProps(__spreadValues({}, spsFormProps), {
|
|
276
276
|
controlsDisabled: "boolean",
|
|
277
277
|
footerLinks: "ReactNodeOrRenderFn",
|
|
278
278
|
formMeta: "SpsFormArrayMeta<any> | SpsFormGroupMeta<any>",
|
|
@@ -280,16 +280,16 @@ const propsDoc$1F = __spreadProps(__spreadValues({}, spsFormProps), {
|
|
|
280
280
|
onClear: "() => void",
|
|
281
281
|
onSubmit: "React.FormEventHandler"
|
|
282
282
|
});
|
|
283
|
-
const propTypes$
|
|
284
|
-
controlsDisabled: propTypes$
|
|
283
|
+
const propTypes$1K = __spreadProps(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsFormPropTypes), {
|
|
284
|
+
controlsDisabled: propTypes$1M.exports.bool,
|
|
285
285
|
footerLinks: nodeOrRenderFn,
|
|
286
286
|
formArray: impl(),
|
|
287
287
|
formGroup: impl(),
|
|
288
|
-
formMeta: propTypes$
|
|
288
|
+
formMeta: propTypes$1M.exports.oneOfType([
|
|
289
289
|
impl(),
|
|
290
290
|
impl()
|
|
291
291
|
]),
|
|
292
|
-
isOpen: propTypes$
|
|
292
|
+
isOpen: propTypes$1M.exports.bool,
|
|
293
293
|
onClear: fun(),
|
|
294
294
|
onSubmit: fun()
|
|
295
295
|
});
|
|
@@ -354,8 +354,8 @@ function SpsAdvancedSearch(props2) {
|
|
|
354
354
|
}, t2("design-system:advancedSearch.search"))))));
|
|
355
355
|
}
|
|
356
356
|
Object.assign(SpsAdvancedSearch, {
|
|
357
|
-
props: propsDoc$
|
|
358
|
-
propTypes: propTypes$
|
|
357
|
+
props: propsDoc$1G,
|
|
358
|
+
propTypes: propTypes$1K,
|
|
359
359
|
displayName: "SpsAdvancedSearch"
|
|
360
360
|
});
|
|
361
361
|
const SpsAdvancedSearchExamples = {
|
|
@@ -598,7 +598,7 @@ function useFormControlId(id2, formControl2) {
|
|
|
598
598
|
};
|
|
599
599
|
}
|
|
600
600
|
const spsFormComponentWrapperPropTypes = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
601
|
-
focusInputOnClick: propTypes$
|
|
601
|
+
focusInputOnClick: propTypes$1M.exports.bool,
|
|
602
602
|
formMeta: impl(),
|
|
603
603
|
formControl: impl(),
|
|
604
604
|
inputRef: ref()
|
|
@@ -748,15 +748,15 @@ var scrollIntoViewImport = /* @__PURE__ */ Object.freeze({
|
|
|
748
748
|
[Symbol.toStringTag]: "Module",
|
|
749
749
|
"default": scrollIntoView$1
|
|
750
750
|
});
|
|
751
|
-
const propsDoc$
|
|
751
|
+
const propsDoc$1F = {
|
|
752
752
|
alt: "string",
|
|
753
753
|
size: "SpinnerSize",
|
|
754
754
|
title: "string"
|
|
755
755
|
};
|
|
756
|
-
const propTypes$
|
|
757
|
-
alt: propTypes$
|
|
756
|
+
const propTypes$1J = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
757
|
+
alt: propTypes$1M.exports.string,
|
|
758
758
|
size: enumValue(SpinnerSize),
|
|
759
|
-
title: propTypes$
|
|
759
|
+
title: propTypes$1M.exports.string
|
|
760
760
|
});
|
|
761
761
|
function SpsSpinner(props2) {
|
|
762
762
|
const _a = props2, {
|
|
@@ -784,8 +784,8 @@ function SpsSpinner(props2) {
|
|
|
784
784
|
}, rest));
|
|
785
785
|
}
|
|
786
786
|
Object.assign(SpsSpinner, {
|
|
787
|
-
props: propsDoc$
|
|
788
|
-
propTypes: propTypes$
|
|
787
|
+
props: propsDoc$1F,
|
|
788
|
+
propTypes: propTypes$1J,
|
|
789
789
|
displayName: "SpsSpinner"
|
|
790
790
|
});
|
|
791
791
|
const NAVBAR_HEIGHT = 60;
|
|
@@ -973,48 +973,48 @@ const spsOptionListPassthroughProps = {
|
|
|
973
973
|
zeroState: "string"
|
|
974
974
|
},
|
|
975
975
|
propTypes: {
|
|
976
|
-
captionKey: propTypes$
|
|
977
|
-
comparisonKey: propTypes$
|
|
978
|
-
disabledOptions: propTypes$
|
|
979
|
-
options: propTypes$
|
|
980
|
-
propTypes$
|
|
981
|
-
propTypes$
|
|
976
|
+
captionKey: propTypes$1M.exports.string,
|
|
977
|
+
comparisonKey: propTypes$1M.exports.string,
|
|
978
|
+
disabledOptions: propTypes$1M.exports.arrayOf(propTypes$1M.exports.any),
|
|
979
|
+
options: propTypes$1M.exports.oneOfType([
|
|
980
|
+
propTypes$1M.exports.array,
|
|
981
|
+
propTypes$1M.exports.instanceOf(Promise),
|
|
982
982
|
fun()
|
|
983
983
|
]).isRequired,
|
|
984
|
-
tall: propTypes$
|
|
985
|
-
textKey: propTypes$
|
|
986
|
-
valueKey: propTypes$
|
|
987
|
-
zeroState: propTypes$
|
|
984
|
+
tall: propTypes$1M.exports.bool,
|
|
985
|
+
textKey: propTypes$1M.exports.string,
|
|
986
|
+
valueKey: propTypes$1M.exports.string,
|
|
987
|
+
zeroState: propTypes$1M.exports.string
|
|
988
988
|
}
|
|
989
989
|
};
|
|
990
990
|
const searchableOptionListProps = {
|
|
991
|
-
hideInlineSearch: propTypes$
|
|
991
|
+
hideInlineSearch: propTypes$1M.exports.bool,
|
|
992
992
|
onSearchChange: fun(),
|
|
993
|
-
search: propTypes$
|
|
994
|
-
searchDebounce: propTypes$
|
|
995
|
-
searchPlaceholder: propTypes$
|
|
993
|
+
search: propTypes$1M.exports.string,
|
|
994
|
+
searchDebounce: propTypes$1M.exports.number,
|
|
995
|
+
searchPlaceholder: propTypes$1M.exports.string,
|
|
996
996
|
searchInputRef: ref()
|
|
997
997
|
};
|
|
998
|
-
const propTypes$
|
|
998
|
+
const propTypes$1I = __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), {
|
|
999
999
|
attachTo: ref().isRequired,
|
|
1000
|
-
conformWidth: propTypes$
|
|
1001
|
-
id: propTypes$
|
|
1002
|
-
isOpen: propTypes$
|
|
1003
|
-
keepOpen: propTypes$
|
|
1000
|
+
conformWidth: propTypes$1M.exports.bool,
|
|
1001
|
+
id: propTypes$1M.exports.string.isRequired,
|
|
1002
|
+
isOpen: propTypes$1M.exports.bool,
|
|
1003
|
+
keepOpen: propTypes$1M.exports.bool,
|
|
1004
1004
|
keyDown: impl(),
|
|
1005
|
-
nullOption: propTypes$
|
|
1006
|
-
offsets: propTypes$
|
|
1005
|
+
nullOption: propTypes$1M.exports.string,
|
|
1006
|
+
offsets: propTypes$1M.exports.arrayOf(propTypes$1M.exports.number),
|
|
1007
1007
|
onOptionListChanged: fun(),
|
|
1008
1008
|
onOptionSelected: fun(),
|
|
1009
1009
|
onPositionFlip: fun(),
|
|
1010
1010
|
onSelfToggle: fun(),
|
|
1011
|
-
optionRole: propTypes$
|
|
1012
|
-
positionOverride: propTypes$
|
|
1013
|
-
selectedOption: propTypes$
|
|
1011
|
+
optionRole: propTypes$1M.exports.string,
|
|
1012
|
+
positionOverride: propTypes$1M.exports.arrayOf(enumValue(Position)),
|
|
1013
|
+
selectedOption: propTypes$1M.exports.any,
|
|
1014
1014
|
specialAction: fun(),
|
|
1015
|
-
ignoreWidthStyles: propTypes$
|
|
1016
|
-
loading: propTypes$
|
|
1017
|
-
filterByTextAndCaptionKey: propTypes$
|
|
1015
|
+
ignoreWidthStyles: propTypes$1M.exports.bool,
|
|
1016
|
+
loading: propTypes$1M.exports.bool,
|
|
1017
|
+
filterByTextAndCaptionKey: propTypes$1M.exports.bool
|
|
1018
1018
|
});
|
|
1019
1019
|
async function updateOptions(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef) {
|
|
1020
1020
|
const options = typeof props2.options === "function" ? props2.options(searchState.value) : props2.options || [];
|
|
@@ -1277,6 +1277,12 @@ const LETTER_KEYS = [
|
|
|
1277
1277
|
function compareOptions(optionA, optionB, comparisonKey) {
|
|
1278
1278
|
return comparisonKey ? (optionA && optionA[comparisonKey]) === (optionB && optionB[comparisonKey]) : optionA === optionB;
|
|
1279
1279
|
}
|
|
1280
|
+
function isOptionDisabled(disabledOptions, comparisonKey, option) {
|
|
1281
|
+
return comparisonKey ? !!(disabledOptions == null ? void 0 : disabledOptions.find((opt) => {
|
|
1282
|
+
var _a;
|
|
1283
|
+
return opt[comparisonKey] && opt[comparisonKey] === ((_a = option.value) == null ? void 0 : _a[comparisonKey]);
|
|
1284
|
+
})) : false;
|
|
1285
|
+
}
|
|
1280
1286
|
const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
1281
1287
|
const _a = props2, {
|
|
1282
1288
|
captionKey,
|
|
@@ -1583,7 +1589,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
1583
1589
|
role: optionRole,
|
|
1584
1590
|
"aria-selected": compareOptions(option.value, selectedOption, comparisonKey),
|
|
1585
1591
|
href: option.href,
|
|
1586
|
-
className: clsx("sps-option-list__option", option.caption && "sps-option-list__option--has-caption", option.disabled && "sps-option-list__option--disabled", option.bold && "sps-option-list__option--bold", compareOptions(option.value, selectedOption, comparisonKey) && "sps-option-list__option--selected", highlightedOptionIndex === i2 && "sps-option-list__option--highlighted"),
|
|
1592
|
+
className: clsx("sps-option-list__option", option.caption && "sps-option-list__option--has-caption", option.disabled && "sps-option-list__option--disabled", option.bold && "sps-option-list__option--bold", (compareOptions(option.value, selectedOption, comparisonKey) || isOptionDisabled(disabledOptions, comparisonKey, option)) && "sps-option-list__option--selected", highlightedOptionIndex === i2 && "sps-option-list__option--highlighted"),
|
|
1587
1593
|
onClick: (event) => handleOptionClick(event, option),
|
|
1588
1594
|
onMouseOver: () => setHighlightedOptionIndex(i2),
|
|
1589
1595
|
tabIndex: -1,
|
|
@@ -1615,7 +1621,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
|
|
|
1615
1621
|
}), /* @__PURE__ */ React.createElement("span", null, specialAction.label))));
|
|
1616
1622
|
});
|
|
1617
1623
|
Object.assign(SpsOptionList, {
|
|
1618
|
-
propTypes: propTypes$
|
|
1624
|
+
propTypes: propTypes$1I,
|
|
1619
1625
|
displayName: "SpsOptionList"
|
|
1620
1626
|
});
|
|
1621
1627
|
function selectChildren(children = [], groups = []) {
|
|
@@ -1704,7 +1710,7 @@ function useInputPopup(rootRef, popupRef) {
|
|
|
1704
1710
|
doHidePopup
|
|
1705
1711
|
};
|
|
1706
1712
|
}
|
|
1707
|
-
const propsDoc$
|
|
1713
|
+
const propsDoc$1E = {
|
|
1708
1714
|
debounce: "number",
|
|
1709
1715
|
disabled: "boolean",
|
|
1710
1716
|
formMeta: "SpsFormFieldMeta<string>",
|
|
@@ -1723,23 +1729,23 @@ const propsDoc$1D = {
|
|
|
1723
1729
|
zeroState: "string",
|
|
1724
1730
|
loading: "boolean"
|
|
1725
1731
|
};
|
|
1726
|
-
const propTypes$
|
|
1727
|
-
debounce: propTypes$
|
|
1728
|
-
disabled: propTypes$
|
|
1732
|
+
const propTypes$1H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
1733
|
+
debounce: propTypes$1M.exports.number,
|
|
1734
|
+
disabled: propTypes$1M.exports.bool,
|
|
1729
1735
|
formControl: impl(),
|
|
1730
1736
|
formMeta: impl(),
|
|
1731
1737
|
icon: enumValue(SpsIcon),
|
|
1732
1738
|
onChange: fun(),
|
|
1733
|
-
placeholder: propTypes$
|
|
1734
|
-
suggestions: propTypes$
|
|
1735
|
-
propTypes$
|
|
1736
|
-
propTypes$
|
|
1739
|
+
placeholder: propTypes$1M.exports.string,
|
|
1740
|
+
suggestions: propTypes$1M.exports.oneOfType([
|
|
1741
|
+
propTypes$1M.exports.arrayOf(propTypes$1M.exports.string),
|
|
1742
|
+
propTypes$1M.exports.instanceOf(Promise),
|
|
1737
1743
|
fun()
|
|
1738
1744
|
]).isRequired,
|
|
1739
|
-
tallOptionList: propTypes$
|
|
1740
|
-
value: propTypes$
|
|
1741
|
-
zeroState: propTypes$
|
|
1742
|
-
loading: propTypes$
|
|
1745
|
+
tallOptionList: propTypes$1M.exports.bool,
|
|
1746
|
+
value: propTypes$1M.exports.string,
|
|
1747
|
+
zeroState: propTypes$1M.exports.string,
|
|
1748
|
+
loading: propTypes$1M.exports.bool
|
|
1743
1749
|
});
|
|
1744
1750
|
function SpsAutocomplete(_a) {
|
|
1745
1751
|
var _b = _a, {
|
|
@@ -1886,8 +1892,8 @@ function SpsAutocomplete(_a) {
|
|
|
1886
1892
|
}));
|
|
1887
1893
|
}
|
|
1888
1894
|
Object.assign(SpsAutocomplete, {
|
|
1889
|
-
props: propsDoc$
|
|
1890
|
-
propTypes: propTypes$
|
|
1895
|
+
props: propsDoc$1E,
|
|
1896
|
+
propTypes: propTypes$1H,
|
|
1891
1897
|
displayName: "SpsAutocomplete"
|
|
1892
1898
|
});
|
|
1893
1899
|
const SpsAutocompleteExamples = {
|
|
@@ -2010,7 +2016,7 @@ const SpsAutocompleteExamples = {
|
|
|
2010
2016
|
}
|
|
2011
2017
|
}
|
|
2012
2018
|
};
|
|
2013
|
-
const propsDoc$
|
|
2019
|
+
const propsDoc$1D = {
|
|
2014
2020
|
alignLeft: "boolean",
|
|
2015
2021
|
disabled: "boolean",
|
|
2016
2022
|
icon: "SpsIcon",
|
|
@@ -2024,19 +2030,19 @@ const propsDoc$1C = {
|
|
|
2024
2030
|
onClose: "() => void",
|
|
2025
2031
|
loading: "boolean"
|
|
2026
2032
|
};
|
|
2027
|
-
const propTypes$
|
|
2028
|
-
alignLeft: propTypes$
|
|
2029
|
-
disabled: propTypes$
|
|
2033
|
+
const propTypes$1G = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
2034
|
+
alignLeft: propTypes$1M.exports.bool,
|
|
2035
|
+
disabled: propTypes$1M.exports.bool,
|
|
2030
2036
|
icon: enumValue(SpsIcon),
|
|
2031
2037
|
kind: enumValue(DropdownKind),
|
|
2032
|
-
label: propTypes$
|
|
2033
|
-
options: propTypes$
|
|
2034
|
-
spinning: propTypes$
|
|
2035
|
-
spinningTitle: propTypes$
|
|
2036
|
-
tallOptionList: propTypes$
|
|
2038
|
+
label: propTypes$1M.exports.string,
|
|
2039
|
+
options: propTypes$1M.exports.arrayOf(propTypes$1M.exports.oneOfType([propTypes$1M.exports.func, propTypes$1M.exports.any])).isRequired,
|
|
2040
|
+
spinning: propTypes$1M.exports.bool,
|
|
2041
|
+
spinningTitle: propTypes$1M.exports.string,
|
|
2042
|
+
tallOptionList: propTypes$1M.exports.bool,
|
|
2037
2043
|
onOpen: fun(),
|
|
2038
2044
|
onClose: fun(),
|
|
2039
|
-
loading: propTypes$
|
|
2045
|
+
loading: propTypes$1M.exports.bool
|
|
2040
2046
|
});
|
|
2041
2047
|
function SpsDropdown(props2) {
|
|
2042
2048
|
const _a = props2, {
|
|
@@ -2193,12 +2199,12 @@ function SpsDropdown(props2) {
|
|
|
2193
2199
|
}, spinningTitle || t2("design-system:button.spinningTitle")))));
|
|
2194
2200
|
}
|
|
2195
2201
|
Object.assign(SpsDropdown, {
|
|
2196
|
-
props: propsDoc$
|
|
2197
|
-
propTypes: propTypes$
|
|
2202
|
+
props: propsDoc$1D,
|
|
2203
|
+
propTypes: propTypes$1G,
|
|
2198
2204
|
displayName: "SpsDropdown"
|
|
2199
2205
|
});
|
|
2200
|
-
const propsDoc$
|
|
2201
|
-
const propTypes$
|
|
2206
|
+
const propsDoc$1C = {};
|
|
2207
|
+
const propTypes$1F = __spreadValues({}, spsGlobalPropTypes);
|
|
2202
2208
|
function SpsButtonGroup(props2) {
|
|
2203
2209
|
const _a = props2, {
|
|
2204
2210
|
children,
|
|
@@ -2229,8 +2235,8 @@ function SpsButtonGroup(props2) {
|
|
|
2229
2235
|
}), others.length > 0 && others);
|
|
2230
2236
|
}
|
|
2231
2237
|
Object.assign(SpsButtonGroup, {
|
|
2232
|
-
props: propsDoc$
|
|
2233
|
-
propTypes: propTypes$
|
|
2238
|
+
props: propsDoc$1C,
|
|
2239
|
+
propTypes: propTypes$1F,
|
|
2234
2240
|
displayName: "SpsButtonGroup"
|
|
2235
2241
|
});
|
|
2236
2242
|
const SpsButtonExamples = {
|
|
@@ -4962,8 +4968,8 @@ function SpsTabPanel(_c) {
|
|
|
4962
4968
|
className: "sps-card__body"
|
|
4963
4969
|
}), state.selectedItem ? state.selectedItem.props.children : null);
|
|
4964
4970
|
}
|
|
4965
|
-
const propsDoc$
|
|
4966
|
-
const propTypes$
|
|
4971
|
+
const propsDoc$1B = {};
|
|
4972
|
+
const propTypes$1E = {};
|
|
4967
4973
|
function SpsTabsV2(props2) {
|
|
4968
4974
|
const state = useTabListState(props2);
|
|
4969
4975
|
const ref2 = React.useRef();
|
|
@@ -4981,12 +4987,12 @@ function SpsTabsV2(props2) {
|
|
|
4981
4987
|
}));
|
|
4982
4988
|
}
|
|
4983
4989
|
Object.assign(SpsTabsV2, {
|
|
4984
|
-
props: propsDoc$
|
|
4985
|
-
propTypes: propTypes$
|
|
4990
|
+
props: propsDoc$1B,
|
|
4991
|
+
propTypes: propTypes$1E,
|
|
4986
4992
|
displayName: "SpsTabsV2"
|
|
4987
4993
|
});
|
|
4988
|
-
const propsDoc$
|
|
4989
|
-
const propTypes$
|
|
4994
|
+
const propsDoc$1A = {};
|
|
4995
|
+
const propTypes$1D = {};
|
|
4990
4996
|
function SpsCardV2Footer(_e) {
|
|
4991
4997
|
var _f = _e, {
|
|
4992
4998
|
children,
|
|
@@ -5000,12 +5006,12 @@ function SpsCardV2Footer(_e) {
|
|
|
5000
5006
|
}, rest), children);
|
|
5001
5007
|
}
|
|
5002
5008
|
Object.assign(SpsCardV2Footer, {
|
|
5003
|
-
props: propsDoc$
|
|
5004
|
-
propTypes: propTypes$
|
|
5009
|
+
props: propsDoc$1A,
|
|
5010
|
+
propTypes: propTypes$1D,
|
|
5005
5011
|
displayName: "SpsCardV2Footer"
|
|
5006
5012
|
});
|
|
5007
|
-
const propsDoc$
|
|
5008
|
-
const propTypes$
|
|
5013
|
+
const propsDoc$1z = {};
|
|
5014
|
+
const propTypes$1C = {};
|
|
5009
5015
|
function SpsCardV2Header(_g) {
|
|
5010
5016
|
var _h = _g, {
|
|
5011
5017
|
children,
|
|
@@ -5019,12 +5025,12 @@ function SpsCardV2Header(_g) {
|
|
|
5019
5025
|
}, rest), children);
|
|
5020
5026
|
}
|
|
5021
5027
|
Object.assign(SpsCardV2Header, {
|
|
5022
|
-
props: propsDoc$
|
|
5023
|
-
propTypes: propTypes$
|
|
5028
|
+
props: propsDoc$1z,
|
|
5029
|
+
propTypes: propTypes$1C,
|
|
5024
5030
|
displayName: "SpsCardV2Header"
|
|
5025
5031
|
});
|
|
5026
|
-
const propsDoc$
|
|
5027
|
-
const propTypes$
|
|
5032
|
+
const propsDoc$1y = {};
|
|
5033
|
+
const propTypes$1B = {};
|
|
5028
5034
|
function SpsCardV2(_i) {
|
|
5029
5035
|
var _j = _i, {
|
|
5030
5036
|
children,
|
|
@@ -5050,12 +5056,12 @@ function SpsCardV2(_i) {
|
|
|
5050
5056
|
}, bodyContent), footer);
|
|
5051
5057
|
}
|
|
5052
5058
|
Object.assign(SpsCardV2, {
|
|
5053
|
-
props: propsDoc$
|
|
5054
|
-
propTypes: propTypes$
|
|
5059
|
+
props: propsDoc$1y,
|
|
5060
|
+
propTypes: propTypes$1B,
|
|
5055
5061
|
displayName: "SpsCardV2"
|
|
5056
5062
|
});
|
|
5057
|
-
const propsDoc$
|
|
5058
|
-
const propTypes$
|
|
5063
|
+
const propsDoc$1x = {};
|
|
5064
|
+
const propTypes$1A = {};
|
|
5059
5065
|
function SpsCardV2Title(_k) {
|
|
5060
5066
|
var _l = _k, {
|
|
5061
5067
|
children,
|
|
@@ -5069,8 +5075,8 @@ function SpsCardV2Title(_k) {
|
|
|
5069
5075
|
}, rest), children);
|
|
5070
5076
|
}
|
|
5071
5077
|
Object.assign(SpsCardV2Title, {
|
|
5072
|
-
props: propsDoc$
|
|
5073
|
-
propTypes: propTypes$
|
|
5078
|
+
props: propsDoc$1x,
|
|
5079
|
+
propTypes: propTypes$1A,
|
|
5074
5080
|
displayName: "SpsCardV2Title"
|
|
5075
5081
|
});
|
|
5076
5082
|
const SpsCardExamples = {
|
|
@@ -5378,7 +5384,7 @@ const SpsCardExamples = {
|
|
|
5378
5384
|
}
|
|
5379
5385
|
}
|
|
5380
5386
|
};
|
|
5381
|
-
const propsDoc$
|
|
5387
|
+
const propsDoc$1w = {
|
|
5382
5388
|
checked: "boolean",
|
|
5383
5389
|
disabled: "boolean",
|
|
5384
5390
|
formMeta: "SpsFormFieldMeta<boolean>",
|
|
@@ -5387,14 +5393,14 @@ const propsDoc$1v = {
|
|
|
5387
5393
|
label: "string",
|
|
5388
5394
|
onChange: "ChangeEventHandler"
|
|
5389
5395
|
};
|
|
5390
|
-
const propTypes$
|
|
5391
|
-
checked: propTypes$
|
|
5392
|
-
disabled: propTypes$
|
|
5396
|
+
const propTypes$1z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
5397
|
+
checked: propTypes$1M.exports.bool,
|
|
5398
|
+
disabled: propTypes$1M.exports.bool,
|
|
5393
5399
|
formControl: impl(),
|
|
5394
5400
|
formMeta: impl(),
|
|
5395
|
-
indeterminate: propTypes$
|
|
5396
|
-
inline: propTypes$
|
|
5397
|
-
label: propTypes$
|
|
5401
|
+
indeterminate: propTypes$1M.exports.bool,
|
|
5402
|
+
inline: propTypes$1M.exports.bool,
|
|
5403
|
+
label: propTypes$1M.exports.string,
|
|
5398
5404
|
onChange: fun()
|
|
5399
5405
|
});
|
|
5400
5406
|
function SpsCheckbox(_m) {
|
|
@@ -5469,8 +5475,8 @@ function SpsCheckbox(_m) {
|
|
|
5469
5475
|
}, label || ""));
|
|
5470
5476
|
}
|
|
5471
5477
|
Object.assign(SpsCheckbox, {
|
|
5472
|
-
props: propsDoc$
|
|
5473
|
-
propTypes: propTypes$
|
|
5478
|
+
props: propsDoc$1w,
|
|
5479
|
+
propTypes: propTypes$1z,
|
|
5474
5480
|
displayName: "SpsCheckbox"
|
|
5475
5481
|
});
|
|
5476
5482
|
const SpsCheckboxExamples = {
|
|
@@ -5598,16 +5604,16 @@ const SpsCheckboxExamples = {
|
|
|
5598
5604
|
}
|
|
5599
5605
|
}
|
|
5600
5606
|
};
|
|
5601
|
-
const propsDoc$
|
|
5607
|
+
const propsDoc$1v = {
|
|
5602
5608
|
disabled: "boolean",
|
|
5603
5609
|
href: "string",
|
|
5604
5610
|
kind: "ClickableTagKind",
|
|
5605
5611
|
onAdd: "() => void",
|
|
5606
5612
|
onRemove: "() => void"
|
|
5607
5613
|
};
|
|
5608
|
-
const propTypes$
|
|
5609
|
-
disabled: propTypes$
|
|
5610
|
-
href: propTypes$
|
|
5614
|
+
const propTypes$1y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
5615
|
+
disabled: propTypes$1M.exports.bool,
|
|
5616
|
+
href: propTypes$1M.exports.string,
|
|
5611
5617
|
kind: enumValue(ClickableTagKind),
|
|
5612
5618
|
onAdd: fun(),
|
|
5613
5619
|
onRemove: fun()
|
|
@@ -5678,8 +5684,8 @@ function SpsClickableTag(props2) {
|
|
|
5678
5684
|
})));
|
|
5679
5685
|
}
|
|
5680
5686
|
Object.assign(SpsClickableTag, {
|
|
5681
|
-
props: propsDoc$
|
|
5682
|
-
propTypes: propTypes$
|
|
5687
|
+
props: propsDoc$1v,
|
|
5688
|
+
propTypes: propTypes$1y,
|
|
5683
5689
|
displayName: "SpsClickableTag"
|
|
5684
5690
|
});
|
|
5685
5691
|
const SpsClickableTagExamples = {
|
|
@@ -13907,15 +13913,15 @@ var ConnectedDraggable = connect(makeMapStateToProps$1, mapDispatchToProps$1, nu
|
|
|
13907
13913
|
areStatePropsEqual: isStrictEqual
|
|
13908
13914
|
})(Draggable);
|
|
13909
13915
|
ConnectedDraggable.defaultProps = defaultProps$1;
|
|
13910
|
-
const propsDoc$
|
|
13916
|
+
const propsDoc$1u = {
|
|
13911
13917
|
content: "ReactNodeLike",
|
|
13912
13918
|
icon: "SpsIcon",
|
|
13913
13919
|
title: "string"
|
|
13914
13920
|
};
|
|
13915
|
-
const propTypes$
|
|
13916
|
-
content: propTypes$
|
|
13921
|
+
const propTypes$1x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
13922
|
+
content: propTypes$1M.exports.node,
|
|
13917
13923
|
icon: enumValue(SpsIcon),
|
|
13918
|
-
title: propTypes$
|
|
13924
|
+
title: propTypes$1M.exports.string
|
|
13919
13925
|
});
|
|
13920
13926
|
function SpsCardHeader(props2) {
|
|
13921
13927
|
const _a = props2, {
|
|
@@ -13947,15 +13953,15 @@ function SpsCardHeader(props2) {
|
|
|
13947
13953
|
}, content));
|
|
13948
13954
|
}
|
|
13949
13955
|
Object.assign(SpsCardHeader, {
|
|
13950
|
-
props: propsDoc$
|
|
13951
|
-
propTypes: propTypes$
|
|
13956
|
+
props: propsDoc$1u,
|
|
13957
|
+
propTypes: propTypes$1x,
|
|
13952
13958
|
displayName: "SpsCardHeader"
|
|
13953
13959
|
});
|
|
13954
|
-
const propsDoc$
|
|
13960
|
+
const propsDoc$1t = {
|
|
13955
13961
|
icon: "SpsIcon",
|
|
13956
13962
|
kind: "TagKind"
|
|
13957
13963
|
};
|
|
13958
|
-
const propTypes$
|
|
13964
|
+
const propTypes$1w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
13959
13965
|
icon: enumValue(SpsIcon),
|
|
13960
13966
|
kind: enumValue(TagKind)
|
|
13961
13967
|
});
|
|
@@ -13988,11 +13994,11 @@ function SpsTag(props2) {
|
|
|
13988
13994
|
}), children);
|
|
13989
13995
|
}
|
|
13990
13996
|
Object.assign(SpsTag, {
|
|
13991
|
-
props: propsDoc$
|
|
13992
|
-
propTypes: propTypes$
|
|
13997
|
+
props: propsDoc$1t,
|
|
13998
|
+
propTypes: propTypes$1w,
|
|
13993
13999
|
displayName: "SpsTag"
|
|
13994
14000
|
});
|
|
13995
|
-
const propsDoc$
|
|
14001
|
+
const propsDoc$1s = {
|
|
13996
14002
|
activateTab: "Function",
|
|
13997
14003
|
active: "boolean",
|
|
13998
14004
|
icon: "SpsIcon",
|
|
@@ -14002,13 +14008,13 @@ const propsDoc$1r = {
|
|
|
14002
14008
|
tagKind: "TagKind",
|
|
14003
14009
|
tagIcon: "SpsIcon"
|
|
14004
14010
|
};
|
|
14005
|
-
const propTypes$
|
|
14006
|
-
activateTab: propTypes$
|
|
14007
|
-
active: propTypes$
|
|
14011
|
+
const propTypes$1v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14012
|
+
activateTab: propTypes$1M.exports.func,
|
|
14013
|
+
active: propTypes$1M.exports.bool,
|
|
14008
14014
|
icon: enumValue(SpsIcon),
|
|
14009
|
-
label: propTypes$
|
|
14010
|
-
index: propTypes$
|
|
14011
|
-
tag: propTypes$
|
|
14015
|
+
label: propTypes$1M.exports.string,
|
|
14016
|
+
index: propTypes$1M.exports.number,
|
|
14017
|
+
tag: propTypes$1M.exports.string,
|
|
14012
14018
|
tagKind: enumValue(TagKind),
|
|
14013
14019
|
tagIcon: enumValue(SpsIcon)
|
|
14014
14020
|
});
|
|
@@ -14071,8 +14077,8 @@ function SpsCardTabbedPane(props2) {
|
|
|
14071
14077
|
}, tag));
|
|
14072
14078
|
}
|
|
14073
14079
|
Object.assign(SpsCardTabbedPane, {
|
|
14074
|
-
props: propsDoc$
|
|
14075
|
-
propTypes: propTypes$
|
|
14080
|
+
props: propsDoc$1s,
|
|
14081
|
+
propTypes: propTypes$1v,
|
|
14076
14082
|
displayName: "SpsCardTabbedPane"
|
|
14077
14083
|
});
|
|
14078
14084
|
function useTab(children, activeTab, isTabbedCard) {
|
|
@@ -14114,19 +14120,19 @@ function useTab(children, activeTab, isTabbedCard) {
|
|
|
14114
14120
|
}, [activeTab, children]);
|
|
14115
14121
|
return [currentlyActiveTab, activateTab];
|
|
14116
14122
|
}
|
|
14117
|
-
const propsDoc$
|
|
14123
|
+
const propsDoc$1r = {
|
|
14118
14124
|
activeTab: "string",
|
|
14119
14125
|
footer: "ReactNodeOrRenderFn",
|
|
14120
14126
|
headerContent: "ReactNodeOrRenderFn",
|
|
14121
14127
|
headerIcon: "SpsIcon",
|
|
14122
14128
|
headerTitle: "string"
|
|
14123
14129
|
};
|
|
14124
|
-
const propTypes$
|
|
14125
|
-
activeTab: propTypes$
|
|
14130
|
+
const propTypes$1u = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14131
|
+
activeTab: propTypes$1M.exports.string,
|
|
14126
14132
|
footer: nodeOrRenderFn,
|
|
14127
14133
|
headerContent: nodeOrRenderFn,
|
|
14128
14134
|
headerIcon: enumValue(SpsIcon),
|
|
14129
|
-
headerTitle: propTypes$
|
|
14135
|
+
headerTitle: propTypes$1M.exports.string
|
|
14130
14136
|
});
|
|
14131
14137
|
function SpsCard(props2) {
|
|
14132
14138
|
React.useEffect(() => {
|
|
@@ -14193,11 +14199,11 @@ function SpsCard(props2) {
|
|
|
14193
14199
|
}, contentOf(footer)));
|
|
14194
14200
|
}
|
|
14195
14201
|
Object.assign(SpsCard, {
|
|
14196
|
-
props: propsDoc$
|
|
14197
|
-
propTypes: propTypes$
|
|
14202
|
+
props: propsDoc$1r,
|
|
14203
|
+
propTypes: propTypes$1u,
|
|
14198
14204
|
displayName: "SpsCard"
|
|
14199
14205
|
});
|
|
14200
|
-
const propsDoc$
|
|
14206
|
+
const propsDoc$1q = {
|
|
14201
14207
|
index: "number",
|
|
14202
14208
|
key: "string",
|
|
14203
14209
|
columnId: "string",
|
|
@@ -14206,14 +14212,14 @@ const propsDoc$1p = {
|
|
|
14206
14212
|
onDelete: "(columnValue: string) => void",
|
|
14207
14213
|
mandatory: "boolean"
|
|
14208
14214
|
};
|
|
14209
|
-
const propTypes$
|
|
14210
|
-
index: propTypes$
|
|
14211
|
-
key: propTypes$
|
|
14212
|
-
columnId: propTypes$
|
|
14213
|
-
name: propTypes$
|
|
14214
|
-
value: propTypes$
|
|
14215
|
+
const propTypes$1t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14216
|
+
index: propTypes$1M.exports.number,
|
|
14217
|
+
key: propTypes$1M.exports.string,
|
|
14218
|
+
columnId: propTypes$1M.exports.string,
|
|
14219
|
+
name: propTypes$1M.exports.string,
|
|
14220
|
+
value: propTypes$1M.exports.string,
|
|
14215
14221
|
onDelete: fun(),
|
|
14216
|
-
mandatory: propTypes$
|
|
14222
|
+
mandatory: propTypes$1M.exports.bool
|
|
14217
14223
|
});
|
|
14218
14224
|
function SpsColumnChooserColumn(props2) {
|
|
14219
14225
|
const _a = props2, {
|
|
@@ -14269,20 +14275,20 @@ function SpsColumnChooserColumn(props2) {
|
|
|
14269
14275
|
})))));
|
|
14270
14276
|
}
|
|
14271
14277
|
Object.assign(SpsColumnChooserColumn, {
|
|
14272
|
-
props: propsDoc$
|
|
14273
|
-
propTypes: propTypes$
|
|
14278
|
+
props: propsDoc$1q,
|
|
14279
|
+
propTypes: propTypes$1t,
|
|
14274
14280
|
displayName: "SpsColumnChooserColumn"
|
|
14275
14281
|
});
|
|
14276
|
-
const propsDoc$
|
|
14282
|
+
const propsDoc$1p = {
|
|
14277
14283
|
maxSelectedColumns: "number",
|
|
14278
14284
|
unselectedColumns: "ColumnProps[]",
|
|
14279
14285
|
selectedColumns: "ColumnProps[]",
|
|
14280
14286
|
onApplyChanges: "(selectedColumns: ColumnProps[]) => void"
|
|
14281
14287
|
};
|
|
14282
|
-
const propTypes$
|
|
14283
|
-
maxSelectedColumns: propTypes$
|
|
14284
|
-
unselectedColumns: propTypes$
|
|
14285
|
-
selectedColumns: propTypes$
|
|
14288
|
+
const propTypes$1s = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14289
|
+
maxSelectedColumns: propTypes$1M.exports.number,
|
|
14290
|
+
unselectedColumns: propTypes$1M.exports.array,
|
|
14291
|
+
selectedColumns: propTypes$1M.exports.array,
|
|
14286
14292
|
onApplyChanges: fun()
|
|
14287
14293
|
});
|
|
14288
14294
|
function SpsColumnChooser(props2) {
|
|
@@ -14422,8 +14428,8 @@ function SpsColumnChooser(props2) {
|
|
|
14422
14428
|
})), provided.placeholder)))));
|
|
14423
14429
|
}
|
|
14424
14430
|
Object.assign(SpsColumnChooser, {
|
|
14425
|
-
props: propsDoc$
|
|
14426
|
-
propTypes: propTypes$
|
|
14431
|
+
props: propsDoc$1p,
|
|
14432
|
+
propTypes: propTypes$1s,
|
|
14427
14433
|
displayName: "SpsColumnChooser"
|
|
14428
14434
|
});
|
|
14429
14435
|
const SpsColumnChooserExamples = {
|
|
@@ -14455,11 +14461,11 @@ const SpsColumnChooserExamples = {
|
|
|
14455
14461
|
}
|
|
14456
14462
|
}
|
|
14457
14463
|
};
|
|
14458
|
-
const propsDoc$
|
|
14464
|
+
const propsDoc$1o = {
|
|
14459
14465
|
icon: { type: "SpsIcon", required: true },
|
|
14460
14466
|
size: "SpsIconSize"
|
|
14461
14467
|
};
|
|
14462
|
-
const propTypes$
|
|
14468
|
+
const propTypes$1r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14463
14469
|
icon: enumValue(SpsIcon).isRequired,
|
|
14464
14470
|
size: enumValue(SpsIconSize)
|
|
14465
14471
|
});
|
|
@@ -14485,28 +14491,28 @@ function SpsI(props2) {
|
|
|
14485
14491
|
}, rest));
|
|
14486
14492
|
}
|
|
14487
14493
|
Object.assign(SpsI, {
|
|
14488
|
-
props: propsDoc$
|
|
14489
|
-
propTypes: propTypes$
|
|
14494
|
+
props: propsDoc$1o,
|
|
14495
|
+
propTypes: propTypes$1r,
|
|
14490
14496
|
displayName: "SpsI"
|
|
14491
14497
|
});
|
|
14492
14498
|
Object.assign(SpsI, {
|
|
14493
|
-
props: propsDoc$
|
|
14494
|
-
propTypes: propTypes$
|
|
14499
|
+
props: propsDoc$1o,
|
|
14500
|
+
propTypes: propTypes$1r,
|
|
14495
14501
|
displayName: "SpsI"
|
|
14496
14502
|
});
|
|
14497
|
-
const propsDoc$
|
|
14503
|
+
const propsDoc$1n = {
|
|
14498
14504
|
borderless: "boolean",
|
|
14499
14505
|
lean: "boolean",
|
|
14500
14506
|
leaner: { type: "boolean", deprecated: true },
|
|
14501
14507
|
widthPx: "number",
|
|
14502
14508
|
widthRem: "number"
|
|
14503
14509
|
};
|
|
14504
|
-
const propTypes$
|
|
14505
|
-
borderless: propTypes$
|
|
14506
|
-
lean: propTypes$
|
|
14507
|
-
leaner: propTypes$
|
|
14508
|
-
widthPx: propTypes$
|
|
14509
|
-
widthRem: propTypes$
|
|
14510
|
+
const propTypes$1q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14511
|
+
borderless: propTypes$1M.exports.bool,
|
|
14512
|
+
lean: propTypes$1M.exports.bool,
|
|
14513
|
+
leaner: propTypes$1M.exports.bool,
|
|
14514
|
+
widthPx: propTypes$1M.exports.number,
|
|
14515
|
+
widthRem: propTypes$1M.exports.number
|
|
14510
14516
|
});
|
|
14511
14517
|
function SpsContentRowCol(props2) {
|
|
14512
14518
|
const _a = props2, {
|
|
@@ -14551,12 +14557,12 @@ function SpsContentRowCol(props2) {
|
|
|
14551
14557
|
}), children);
|
|
14552
14558
|
}
|
|
14553
14559
|
Object.assign(SpsContentRowCol, {
|
|
14554
|
-
props: propsDoc$
|
|
14555
|
-
propTypes: propTypes$
|
|
14560
|
+
props: propsDoc$1n,
|
|
14561
|
+
propTypes: propTypes$1q,
|
|
14556
14562
|
displayName: "SpsContentRowCol"
|
|
14557
14563
|
});
|
|
14558
|
-
const propsDoc$
|
|
14559
|
-
const propTypes$
|
|
14564
|
+
const propsDoc$1m = {};
|
|
14565
|
+
const propTypes$1p = __spreadValues({}, spsGlobalPropTypes);
|
|
14560
14566
|
function SpsContentRowExpansion(props2) {
|
|
14561
14567
|
const _a = props2, {
|
|
14562
14568
|
children,
|
|
@@ -14577,11 +14583,11 @@ function SpsContentRowExpansion(props2) {
|
|
|
14577
14583
|
}), children);
|
|
14578
14584
|
}
|
|
14579
14585
|
Object.assign(SpsContentRowExpansion, {
|
|
14580
|
-
props: propsDoc$
|
|
14581
|
-
propTypes: propTypes$
|
|
14586
|
+
props: propsDoc$1m,
|
|
14587
|
+
propTypes: propTypes$1p,
|
|
14582
14588
|
displayName: "SpsContentRowExpansion"
|
|
14583
14589
|
});
|
|
14584
|
-
const propsDoc$
|
|
14590
|
+
const propsDoc$1l = {
|
|
14585
14591
|
alternateLayout: "boolean",
|
|
14586
14592
|
initiallyExpanded: "boolean",
|
|
14587
14593
|
cardSpacing: "boolean",
|
|
@@ -14594,18 +14600,18 @@ const propsDoc$1k = {
|
|
|
14594
14600
|
selectable: "boolean",
|
|
14595
14601
|
selected: "boolean"
|
|
14596
14602
|
};
|
|
14597
|
-
const propTypes$
|
|
14598
|
-
alternateLayout: propTypes$
|
|
14599
|
-
cardSpacing: propTypes$
|
|
14600
|
-
expanded: propTypes$
|
|
14601
|
-
initiallyExpanded: propTypes$
|
|
14603
|
+
const propTypes$1o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
14604
|
+
alternateLayout: propTypes$1M.exports.bool,
|
|
14605
|
+
cardSpacing: propTypes$1M.exports.bool,
|
|
14606
|
+
expanded: propTypes$1M.exports.bool,
|
|
14607
|
+
initiallyExpanded: propTypes$1M.exports.bool,
|
|
14602
14608
|
onBeforeCollapsed: fun(),
|
|
14603
14609
|
onBeforeExpanded: fun(),
|
|
14604
14610
|
onSelectionChange: fun(),
|
|
14605
14611
|
onCollapsed: fun(),
|
|
14606
14612
|
onExpanded: fun(),
|
|
14607
|
-
selectable: propTypes$
|
|
14608
|
-
selected: propTypes$
|
|
14613
|
+
selectable: propTypes$1M.exports.bool,
|
|
14614
|
+
selected: propTypes$1M.exports.bool
|
|
14609
14615
|
});
|
|
14610
14616
|
function SpsContentRow(props2) {
|
|
14611
14617
|
const _a = props2, {
|
|
@@ -14686,8 +14692,8 @@ function SpsContentRow(props2) {
|
|
|
14686
14692
|
}, /* @__PURE__ */ React.createElement("section", null, ContentRowCheckBox()), /* @__PURE__ */ React.createElement("section", null, ExpandoThingy())), columns), expansion);
|
|
14687
14693
|
}
|
|
14688
14694
|
Object.assign(SpsContentRow, {
|
|
14689
|
-
props: propsDoc$
|
|
14690
|
-
propTypes: propTypes$
|
|
14695
|
+
props: propsDoc$1l,
|
|
14696
|
+
propTypes: propTypes$1o,
|
|
14691
14697
|
displayName: "SpsContentRow"
|
|
14692
14698
|
});
|
|
14693
14699
|
const SpsContentRowExamples = {
|
|
@@ -15126,7 +15132,7 @@ const SpsContentRowExamples = {
|
|
|
15126
15132
|
}
|
|
15127
15133
|
}
|
|
15128
15134
|
};
|
|
15129
|
-
const moment$
|
|
15135
|
+
const moment$5 = moment$6.default || moment$6;
|
|
15130
15136
|
function newWeekArray$1() {
|
|
15131
15137
|
return new Array(7);
|
|
15132
15138
|
}
|
|
@@ -15151,12 +15157,12 @@ function generateWeeks$1(date2) {
|
|
|
15151
15157
|
return newWeeks;
|
|
15152
15158
|
}
|
|
15153
15159
|
function parse2(value) {
|
|
15154
|
-
return moment$
|
|
15160
|
+
return moment$5(`${value} 00:00:00`);
|
|
15155
15161
|
}
|
|
15156
15162
|
function weekOfMonth$1(date2) {
|
|
15157
15163
|
return Math.floor((date2.clone().date(1).day() + date2.date() - 1) / 7);
|
|
15158
15164
|
}
|
|
15159
|
-
const propsDoc$
|
|
15165
|
+
const propsDoc$1k = {
|
|
15160
15166
|
disabled: "boolean",
|
|
15161
15167
|
format: "string",
|
|
15162
15168
|
maxDate: "string",
|
|
@@ -15166,21 +15172,21 @@ const propsDoc$1j = {
|
|
|
15166
15172
|
placeholder: "string",
|
|
15167
15173
|
value: "string"
|
|
15168
15174
|
};
|
|
15169
|
-
const propTypes$
|
|
15170
|
-
disabled: propTypes$
|
|
15171
|
-
format: propTypes$
|
|
15172
|
-
maxDate: propTypes$
|
|
15173
|
-
minDate: propTypes$
|
|
15175
|
+
const propTypes$1n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15176
|
+
disabled: propTypes$1M.exports.bool,
|
|
15177
|
+
format: propTypes$1M.exports.string,
|
|
15178
|
+
maxDate: propTypes$1M.exports.string,
|
|
15179
|
+
minDate: propTypes$1M.exports.string,
|
|
15174
15180
|
onChange: fun(),
|
|
15175
15181
|
onClickOutside: fun(),
|
|
15176
|
-
placeholder: propTypes$
|
|
15177
|
-
value: propTypes$
|
|
15182
|
+
placeholder: propTypes$1M.exports.string,
|
|
15183
|
+
value: propTypes$1M.exports.string
|
|
15178
15184
|
});
|
|
15179
15185
|
function SpsDatepicker(props2) {
|
|
15180
15186
|
const _a = props2, {
|
|
15181
15187
|
className,
|
|
15182
15188
|
disabled,
|
|
15183
|
-
format = moment$
|
|
15189
|
+
format = moment$5.localeData().longDateFormat("MM/DD/YYYY") || "MM/DD/YYYY",
|
|
15184
15190
|
maxDate,
|
|
15185
15191
|
minDate,
|
|
15186
15192
|
onChange,
|
|
@@ -15215,20 +15221,20 @@ function SpsDatepicker(props2) {
|
|
|
15215
15221
|
isInitialValue: true,
|
|
15216
15222
|
keyboardFocusDay: null,
|
|
15217
15223
|
text: "",
|
|
15218
|
-
minDateMoment: minDate ? moment$
|
|
15219
|
-
maxDateMoment: maxDate ? moment$
|
|
15224
|
+
minDateMoment: minDate ? moment$5(minDate) : {},
|
|
15225
|
+
maxDateMoment: maxDate ? moment$5(maxDate) : {}
|
|
15220
15226
|
});
|
|
15221
15227
|
function setCalendarView(displayMoment) {
|
|
15222
15228
|
let theMoment = displayMoment;
|
|
15223
15229
|
if (!displayMoment || !displayMoment.isValid()) {
|
|
15224
|
-
if (moment$
|
|
15230
|
+
if (moment$5.isMoment(state.currentValue) && state.currentValue.isValid()) {
|
|
15225
15231
|
theMoment = state.currentValue.clone();
|
|
15226
15232
|
} else if (minDate) {
|
|
15227
15233
|
theMoment = state.minDateMoment.clone();
|
|
15228
15234
|
} else if (maxDate) {
|
|
15229
15235
|
theMoment = state.maxDateMoment.clone();
|
|
15230
15236
|
} else {
|
|
15231
|
-
theMoment = moment$
|
|
15237
|
+
theMoment = moment$5();
|
|
15232
15238
|
}
|
|
15233
15239
|
}
|
|
15234
15240
|
const newView = theMoment.set({
|
|
@@ -15256,7 +15262,7 @@ function SpsDatepicker(props2) {
|
|
|
15256
15262
|
}
|
|
15257
15263
|
React.useEffect(() => {
|
|
15258
15264
|
document.addEventListener("mousedown", handleClickOutside);
|
|
15259
|
-
patchState({ weekdayNames: Object.freeze(moment$
|
|
15265
|
+
patchState({ weekdayNames: Object.freeze(moment$5.weekdaysShort()) });
|
|
15260
15266
|
setCalendarView(null);
|
|
15261
15267
|
return () => {
|
|
15262
15268
|
document.removeEventListener("mousedown", handleClickOutside);
|
|
@@ -15274,7 +15280,7 @@ function SpsDatepicker(props2) {
|
|
|
15274
15280
|
}
|
|
15275
15281
|
}, [value]);
|
|
15276
15282
|
React.useEffect(() => {
|
|
15277
|
-
if (moment$
|
|
15283
|
+
if (moment$5.isMoment(state.view)) {
|
|
15278
15284
|
patchState({ weeks: generateWeeks$1(state.view) });
|
|
15279
15285
|
}
|
|
15280
15286
|
}, [state.view]);
|
|
@@ -15285,7 +15291,7 @@ function SpsDatepicker(props2) {
|
|
|
15285
15291
|
setCalendarView(state.view.add(1, "month"));
|
|
15286
15292
|
}
|
|
15287
15293
|
React.useEffect(() => {
|
|
15288
|
-
if (moment$
|
|
15294
|
+
if (moment$5.isMoment(state.keyboardFocusDay)) {
|
|
15289
15295
|
if (state.keyboardFocusDay.isBefore(state.view, "month")) {
|
|
15290
15296
|
viewPreviousMonth();
|
|
15291
15297
|
} else if (state.keyboardFocusDay.isAfter(state.view, "month")) {
|
|
@@ -15299,7 +15305,7 @@ function SpsDatepicker(props2) {
|
|
|
15299
15305
|
}
|
|
15300
15306
|
}, [state.isOpen]);
|
|
15301
15307
|
React.useEffect(() => {
|
|
15302
|
-
if (moment$
|
|
15308
|
+
if (moment$5.isMoment(state.currentValue)) {
|
|
15303
15309
|
setCalendarView(null);
|
|
15304
15310
|
}
|
|
15305
15311
|
if (onChange && typeof onChange === "function" && !state.isInitialValue) {
|
|
@@ -15335,7 +15341,7 @@ function SpsDatepicker(props2) {
|
|
|
15335
15341
|
currentValue: null,
|
|
15336
15342
|
isInitialValue: false
|
|
15337
15343
|
});
|
|
15338
|
-
setCalendarView(moment$
|
|
15344
|
+
setCalendarView(moment$5());
|
|
15339
15345
|
inputRef.current.value = "";
|
|
15340
15346
|
show();
|
|
15341
15347
|
inputRef.current.focus();
|
|
@@ -15344,17 +15350,17 @@ function SpsDatepicker(props2) {
|
|
|
15344
15350
|
return date2 && (minDate && state.minDateMoment.isAfter(date2, "day")) || maxDate && state.maxDateMoment.isBefore(date2, "day");
|
|
15345
15351
|
}
|
|
15346
15352
|
function updateText(newValue) {
|
|
15347
|
-
inputRef.current.value = moment$
|
|
15353
|
+
inputRef.current.value = moment$5.isMoment(newValue) ? newValue.format(format) : "";
|
|
15348
15354
|
}
|
|
15349
15355
|
function selectDate(date2) {
|
|
15350
15356
|
if (date2 && !dateIsDisabled(date2)) {
|
|
15351
15357
|
let val;
|
|
15352
|
-
if (state.currentValue && moment$
|
|
15358
|
+
if (state.currentValue && moment$5.isMoment(date2)) {
|
|
15353
15359
|
val = date2.clone();
|
|
15354
|
-
} else if (state.currentValue && moment$
|
|
15360
|
+
} else if (state.currentValue && moment$5.isMoment(state.currentValue)) {
|
|
15355
15361
|
val = state.currentValue.clone().set(date2);
|
|
15356
15362
|
} else {
|
|
15357
|
-
val = moment$
|
|
15363
|
+
val = moment$5(date2);
|
|
15358
15364
|
}
|
|
15359
15365
|
updateText(val);
|
|
15360
15366
|
patchState({
|
|
@@ -15367,10 +15373,10 @@ function SpsDatepicker(props2) {
|
|
|
15367
15373
|
}
|
|
15368
15374
|
}
|
|
15369
15375
|
function dateIsSelected(date2) {
|
|
15370
|
-
return date2 && moment$
|
|
15376
|
+
return date2 && moment$5.isMoment(state.currentValue) && state.currentValue.isValid() && state.currentValue.isSame(date2, "day");
|
|
15371
15377
|
}
|
|
15372
15378
|
function dateIsFocused(date2) {
|
|
15373
|
-
return date2 && moment$
|
|
15379
|
+
return date2 && moment$5.isMoment(state.keyboardFocusDay) && state.keyboardFocusDay.isSame(date2, "day");
|
|
15374
15380
|
}
|
|
15375
15381
|
function onKeyDown(event) {
|
|
15376
15382
|
switch (event.key) {
|
|
@@ -15378,7 +15384,7 @@ function SpsDatepicker(props2) {
|
|
|
15378
15384
|
case "ArrowUp":
|
|
15379
15385
|
if (state.keyboardFocusDay) {
|
|
15380
15386
|
event.preventDefault();
|
|
15381
|
-
const newFocusDay = weekOfMonth$1(state.keyboardFocusDay) === 0 ? null : moment$
|
|
15387
|
+
const newFocusDay = weekOfMonth$1(state.keyboardFocusDay) === 0 ? null : moment$5.max(state.keyboardFocusDay.clone().subtract(1, "week"), state.keyboardFocusDay.date(1));
|
|
15382
15388
|
patchState({ keyboardFocusDay: newFocusDay });
|
|
15383
15389
|
if (!newFocusDay) {
|
|
15384
15390
|
inputRef.current.focus();
|
|
@@ -15391,10 +15397,10 @@ function SpsDatepicker(props2) {
|
|
|
15391
15397
|
if (!state.isOpen) {
|
|
15392
15398
|
show();
|
|
15393
15399
|
}
|
|
15394
|
-
if (moment$
|
|
15395
|
-
const newFocusDay = moment$
|
|
15400
|
+
if (moment$5.isMoment(state.keyboardFocusDay)) {
|
|
15401
|
+
const newFocusDay = moment$5.min(state.keyboardFocusDay.clone().add(1, "week"), state.keyboardFocusDay.date(state.keyboardFocusDay.daysInMonth()));
|
|
15396
15402
|
patchState({ keyboardFocusDay: newFocusDay });
|
|
15397
|
-
} else if (moment$
|
|
15403
|
+
} else if (moment$5.isMoment(state.view)) {
|
|
15398
15404
|
patchState({ keyboardFocusDay: state.view.clone() });
|
|
15399
15405
|
}
|
|
15400
15406
|
break;
|
|
@@ -15405,7 +15411,7 @@ function SpsDatepicker(props2) {
|
|
|
15405
15411
|
let newFocusDay;
|
|
15406
15412
|
if (state.keyboardFocusDay.day() === 0 || state.keyboardFocusDay.date() === 1) {
|
|
15407
15413
|
const week = weekOfMonth$1(state.keyboardFocusDay);
|
|
15408
|
-
newFocusDay = week ? moment$
|
|
15414
|
+
newFocusDay = week ? moment$5.min(state.keyboardFocusDay.clone().add(week, "weeks"), state.keyboardFocusDay.date(state.keyboardFocusDay.daysInMonth())) : state.keyboardFocusDay.subtract(1, "month").date(1).day(6);
|
|
15409
15415
|
} else {
|
|
15410
15416
|
newFocusDay = state.keyboardFocusDay.clone().subtract(1, "day");
|
|
15411
15417
|
}
|
|
@@ -15419,7 +15425,7 @@ function SpsDatepicker(props2) {
|
|
|
15419
15425
|
let newFocusDay;
|
|
15420
15426
|
if (state.keyboardFocusDay.day() === 6 || state.keyboardFocusDay.date() === state.keyboardFocusDay.daysInMonth()) {
|
|
15421
15427
|
const week = weekOfMonth$1(state.keyboardFocusDay);
|
|
15422
|
-
newFocusDay = week ? moment$
|
|
15428
|
+
newFocusDay = week ? moment$5.min(state.keyboardFocusDay.clone().add(week, "weeks").day(0), state.keyboardFocusDay.date(state.keyboardFocusDay.daysInMonth()).day(0)) : state.keyboardFocusDay.add(1, "month").date(1);
|
|
15423
15429
|
} else {
|
|
15424
15430
|
newFocusDay = state.keyboardFocusDay.clone().add(1, "day");
|
|
15425
15431
|
}
|
|
@@ -15502,9 +15508,9 @@ function SpsDatepicker(props2) {
|
|
|
15502
15508
|
className: "sps-datepicker__calendar-head-label"
|
|
15503
15509
|
}, /* @__PURE__ */ React.createElement("span", {
|
|
15504
15510
|
className: "sps-datepicker__calendar-head-label-month"
|
|
15505
|
-
}, moment$
|
|
15511
|
+
}, moment$5.isMoment(state.view) ? state.view.format("MMMM") : ""), /* @__PURE__ */ React.createElement("span", {
|
|
15506
15512
|
className: "sps-datepicker__calendar-head-label-year"
|
|
15507
|
-
}, moment$
|
|
15513
|
+
}, moment$5.isMoment(state.view) ? state.view.year() : "")), /* @__PURE__ */ React.createElement("a", {
|
|
15508
15514
|
className: "sps-datepicker__button sps-datepicker__button-next-month",
|
|
15509
15515
|
onClick: viewNextMonth
|
|
15510
15516
|
}, /* @__PURE__ */ React.createElement("i", {
|
|
@@ -15537,8 +15543,8 @@ function SpsDatepicker(props2) {
|
|
|
15537
15543
|
}))));
|
|
15538
15544
|
}
|
|
15539
15545
|
Object.assign(SpsDatepicker, {
|
|
15540
|
-
props: propsDoc$
|
|
15541
|
-
propTypes: propTypes$
|
|
15546
|
+
props: propsDoc$1k,
|
|
15547
|
+
propTypes: propTypes$1n,
|
|
15542
15548
|
displayName: "SpsDatepicker"
|
|
15543
15549
|
});
|
|
15544
15550
|
const SpsDatepickerExamples = {
|
|
@@ -15633,7 +15639,7 @@ const SpsDatepickerExamples = {
|
|
|
15633
15639
|
}
|
|
15634
15640
|
}
|
|
15635
15641
|
};
|
|
15636
|
-
const propsDoc$
|
|
15642
|
+
const propsDoc$1j = {
|
|
15637
15643
|
placeholder: "string",
|
|
15638
15644
|
disabled: "boolean",
|
|
15639
15645
|
format: "string",
|
|
@@ -15644,13 +15650,13 @@ const propsDoc$1i = {
|
|
|
15644
15650
|
value: "MomentRange",
|
|
15645
15651
|
preset: "Duration"
|
|
15646
15652
|
};
|
|
15647
|
-
const propTypes$
|
|
15648
|
-
placeholder: propTypes$
|
|
15649
|
-
disabled: propTypes$
|
|
15650
|
-
format: propTypes$
|
|
15651
|
-
minDate: propTypes$
|
|
15652
|
-
maxDate: propTypes$
|
|
15653
|
-
availablePresets: propTypes$
|
|
15653
|
+
const propTypes$1m = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
15654
|
+
placeholder: propTypes$1M.exports.string,
|
|
15655
|
+
disabled: propTypes$1M.exports.bool,
|
|
15656
|
+
format: propTypes$1M.exports.string,
|
|
15657
|
+
minDate: propTypes$1M.exports.string,
|
|
15658
|
+
maxDate: propTypes$1M.exports.string,
|
|
15659
|
+
availablePresets: propTypes$1M.exports.array,
|
|
15654
15660
|
onChange: fun(),
|
|
15655
15661
|
value: impl(),
|
|
15656
15662
|
preset: impl()
|
|
@@ -15658,7 +15664,7 @@ const propTypes$1l = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
|
15658
15664
|
function weekOfMonth(mmt) {
|
|
15659
15665
|
return Math.floor((mmt.clone().date(1).day() + mmt.date() - 1) / 7);
|
|
15660
15666
|
}
|
|
15661
|
-
const moment$
|
|
15667
|
+
const moment$4 = moment$6.default || moment$6;
|
|
15662
15668
|
const defaultPresets = [
|
|
15663
15669
|
{ days: 1 },
|
|
15664
15670
|
{ days: 7 },
|
|
@@ -15666,7 +15672,7 @@ const defaultPresets = [
|
|
|
15666
15672
|
{ days: 60 },
|
|
15667
15673
|
{ days: 90 },
|
|
15668
15674
|
{ years: 1 }
|
|
15669
|
-
].map(moment$
|
|
15675
|
+
].map(moment$4.duration);
|
|
15670
15676
|
const _positioningService = new PositioningService();
|
|
15671
15677
|
let idNum = 0;
|
|
15672
15678
|
function SpsDateRangePicker(props2) {
|
|
@@ -15674,7 +15680,7 @@ function SpsDateRangePicker(props2) {
|
|
|
15674
15680
|
className,
|
|
15675
15681
|
placeholder = "MM/DD/YYYY - MM/DD/YYYY",
|
|
15676
15682
|
disabled,
|
|
15677
|
-
format = moment$
|
|
15683
|
+
format = moment$4.localeData().longDateFormat("MM/DD/YYYY") || "MM/DD/YYYY",
|
|
15678
15684
|
maxDate,
|
|
15679
15685
|
minDate,
|
|
15680
15686
|
availablePresets,
|
|
@@ -15706,14 +15712,14 @@ function SpsDateRangePicker(props2) {
|
|
|
15706
15712
|
const [mouseoverRange, setMouseoverRange] = React.useState(null);
|
|
15707
15713
|
const [selectMode, setSelectMode] = React.useState(SelectMode.START);
|
|
15708
15714
|
const [keyboardFocusDay, setKeyboardFocusDay] = React.useState();
|
|
15709
|
-
const [minDateMoment, setMinDateMoment] = React.useState(minDate ? moment$
|
|
15710
|
-
const [maxDateMoment, setMaxDateMoment] = React.useState(maxDate ? moment$
|
|
15715
|
+
const [minDateMoment, setMinDateMoment] = React.useState(minDate ? moment$4(minDate) : {});
|
|
15716
|
+
const [maxDateMoment, setMaxDateMoment] = React.useState(maxDate ? moment$4(maxDate) : {});
|
|
15711
15717
|
const [isInitialValue, setIsInitialValue] = React.useState(true);
|
|
15712
15718
|
const [months, setMonths] = React.useState(null);
|
|
15713
15719
|
const inputElement = React.useRef(null);
|
|
15714
15720
|
const calendar = React.useRef(null);
|
|
15715
15721
|
const dateRange2 = React.useRef(null);
|
|
15716
|
-
const weekDayNames = Object.freeze(moment$
|
|
15722
|
+
const weekDayNames = Object.freeze(moment$4.weekdaysShort());
|
|
15717
15723
|
let leftAligned = false;
|
|
15718
15724
|
const _idNum = idNum++;
|
|
15719
15725
|
const textRef = React.useRef();
|
|
@@ -15792,7 +15798,7 @@ function SpsDateRangePicker(props2) {
|
|
|
15792
15798
|
} else if (maxDate) {
|
|
15793
15799
|
displayMoment = maxDateMoment.clone();
|
|
15794
15800
|
} else {
|
|
15795
|
-
displayMoment = moment$
|
|
15801
|
+
displayMoment = moment$4();
|
|
15796
15802
|
}
|
|
15797
15803
|
displayMoment.startOf("month");
|
|
15798
15804
|
const viewStart = displayMoment.clone().subtract(1, "month");
|
|
@@ -15812,7 +15818,7 @@ function SpsDateRangePicker(props2) {
|
|
|
15812
15818
|
const updatePresets = () => {
|
|
15813
15819
|
if (availablePresets) {
|
|
15814
15820
|
const psts = availablePresets;
|
|
15815
|
-
const today = moment$
|
|
15821
|
+
const today = moment$4();
|
|
15816
15822
|
const todayIsAllowed = !dateIsDisabled(today);
|
|
15817
15823
|
const t2 = psts.filter((pst) => todayIsAllowed && !dateIsDisabled(today.subtract(pst)));
|
|
15818
15824
|
setPreset(t2);
|
|
@@ -15831,7 +15837,7 @@ function SpsDateRangePicker(props2) {
|
|
|
15831
15837
|
}, []);
|
|
15832
15838
|
const matchPreset = (newPreset) => {
|
|
15833
15839
|
if (presets && newPreset) {
|
|
15834
|
-
const match2 = presets.find((pst) => pst.asMilliseconds() === moment$
|
|
15840
|
+
const match2 = presets.find((pst) => pst.asMilliseconds() === moment$4.duration(newPreset).asMilliseconds());
|
|
15835
15841
|
return match2;
|
|
15836
15842
|
}
|
|
15837
15843
|
return void 0;
|
|
@@ -15841,7 +15847,7 @@ function SpsDateRangePicker(props2) {
|
|
|
15841
15847
|
let newValue;
|
|
15842
15848
|
if (matchedPreset) {
|
|
15843
15849
|
setSelectedPreset(matchedPreset);
|
|
15844
|
-
const today = moment$
|
|
15850
|
+
const today = moment$4();
|
|
15845
15851
|
newValue = {
|
|
15846
15852
|
preset: matchedPreset,
|
|
15847
15853
|
start: today.clone().subtract(matchedPreset).add(1, "day").startOf("day"),
|
|
@@ -15873,13 +15879,13 @@ function SpsDateRangePicker(props2) {
|
|
|
15873
15879
|
}
|
|
15874
15880
|
}, [currentValue]);
|
|
15875
15881
|
React.useEffect(() => {
|
|
15876
|
-
setMinDateMoment(moment$
|
|
15882
|
+
setMinDateMoment(moment$4(minDate).add(1, "day"));
|
|
15877
15883
|
}, [minDate]);
|
|
15878
15884
|
React.useEffect(() => {
|
|
15879
15885
|
updatePresets();
|
|
15880
15886
|
}, [minDate, maxDate]);
|
|
15881
15887
|
React.useEffect(() => {
|
|
15882
|
-
setMaxDateMoment(moment$
|
|
15888
|
+
setMaxDateMoment(moment$4(maxDate).add(1, "day"));
|
|
15883
15889
|
}, [maxDate]);
|
|
15884
15890
|
React.useEffect(() => {
|
|
15885
15891
|
setTimeout(() => {
|
|
@@ -15887,8 +15893,8 @@ function SpsDateRangePicker(props2) {
|
|
|
15887
15893
|
updateFromPreset(selectedPreset);
|
|
15888
15894
|
}
|
|
15889
15895
|
if (preset2) {
|
|
15890
|
-
setSelectedPreset(moment$
|
|
15891
|
-
updateFromPreset(moment$
|
|
15896
|
+
setSelectedPreset(moment$4.duration(preset2));
|
|
15897
|
+
updateFromPreset(moment$4.duration(preset2));
|
|
15892
15898
|
}
|
|
15893
15899
|
}, 0);
|
|
15894
15900
|
}, [presets]);
|
|
@@ -15926,9 +15932,9 @@ function SpsDateRangePicker(props2) {
|
|
|
15926
15932
|
} else {
|
|
15927
15933
|
[startStr, endStr] = split;
|
|
15928
15934
|
const startDateStr = startStr ? startStr.trim().split("/") : [];
|
|
15929
|
-
start = moment$
|
|
15935
|
+
start = moment$4({ year: parseInt(startDateStr[2], 10), month: parseInt(startDateStr[0], 10) - 1, day: parseInt(startDateStr[1], 10) });
|
|
15930
15936
|
const endDateStr = endStr ? endStr.trim().split("/") : [];
|
|
15931
|
-
end2 = moment$
|
|
15937
|
+
end2 = moment$4({ year: parseInt(endDateStr[2], 10), month: parseInt(endDateStr[0], 10) - 1, day: parseInt(endDateStr[1], 10) });
|
|
15932
15938
|
}
|
|
15933
15939
|
return {
|
|
15934
15940
|
start,
|
|
@@ -15952,7 +15958,7 @@ function SpsDateRangePicker(props2) {
|
|
|
15952
15958
|
return `Last ${pst.humanize().replace("a ", "")}`;
|
|
15953
15959
|
};
|
|
15954
15960
|
const dateIsSelected = (date2) => date2 && currentValue && (currentValue.start && currentValue.start.isSame(date2, "day") || currentValue.end && currentValue.end.isSame(date2, "day") || currentValue.start && currentValue.end && currentValue.start.isBefore(date2, "day") && currentValue.end.isAfter(date2, "day"));
|
|
15955
|
-
const dateIsFocused = (date2) => date2 && keyboardFocusDay && moment$
|
|
15961
|
+
const dateIsFocused = (date2) => date2 && keyboardFocusDay && moment$4.isMoment(keyboardFocusDay) && keyboardFocusDay.isSame(date2, "day");
|
|
15956
15962
|
const dateIsSelectionStart = (date2) => date2 && currentValue && currentValue.start && currentValue.start.isSame(date2, "day") && currentValue.end && !currentValue.end.isSame(date2, "day");
|
|
15957
15963
|
const dateIsSelectionMiddle = (date2) => date2 && currentValue && currentValue.start && currentValue.start.isBefore(date2, "day") && currentValue.end && currentValue.end.isAfter(date2, "day");
|
|
15958
15964
|
const dateIsSelectionEnd = (date2) => date2 && currentValue && currentValue.start && !currentValue.start.isSame(date2, "day") && currentValue.end && currentValue.end.isSame(date2, "day");
|
|
@@ -16001,7 +16007,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16001
16007
|
if (event && event.target) {
|
|
16002
16008
|
try {
|
|
16003
16009
|
const date2 = JSON.parse(event.target.getAttribute("data-date"));
|
|
16004
|
-
selectDate(moment$
|
|
16010
|
+
selectDate(moment$4(date2));
|
|
16005
16011
|
} catch (ignore) {
|
|
16006
16012
|
}
|
|
16007
16013
|
}
|
|
@@ -16021,7 +16027,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16021
16027
|
const onCalendarMouseover = (event) => {
|
|
16022
16028
|
try {
|
|
16023
16029
|
const date2 = JSON.parse(event.target.getAttribute("data-date"));
|
|
16024
|
-
updateMouseoverRange(moment$
|
|
16030
|
+
updateMouseoverRange(moment$4(date2));
|
|
16025
16031
|
} catch (ignore) {
|
|
16026
16032
|
}
|
|
16027
16033
|
};
|
|
@@ -16094,7 +16100,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16094
16100
|
open();
|
|
16095
16101
|
}
|
|
16096
16102
|
if (keyboardFocusDay) {
|
|
16097
|
-
newKeyboardFocusDay = moment$
|
|
16103
|
+
newKeyboardFocusDay = moment$4.min(keyboardFocusDay.clone().add(1, "week"), keyboardFocusDay.date(keyboardFocusDay.daysInMonth()));
|
|
16098
16104
|
setKeyboardFocusDay(newKeyboardFocusDay);
|
|
16099
16105
|
} else {
|
|
16100
16106
|
focusCalendar();
|
|
@@ -16110,7 +16116,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16110
16116
|
setKeyboardFocusDay(null);
|
|
16111
16117
|
inputElement.current.focus();
|
|
16112
16118
|
} else {
|
|
16113
|
-
newKeyboardFocusDay = moment$
|
|
16119
|
+
newKeyboardFocusDay = moment$4.max(keyboardFocusDay.clone().subtract(1, "week"), keyboardFocusDay.date(1));
|
|
16114
16120
|
setKeyboardFocusDay(newKeyboardFocusDay);
|
|
16115
16121
|
}
|
|
16116
16122
|
}
|
|
@@ -16124,7 +16130,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16124
16130
|
const week = weekOfMonth(keyboardFocusDay);
|
|
16125
16131
|
keyboardFocusDay.subtract(1, "month").date(1).day(6);
|
|
16126
16132
|
if (week) {
|
|
16127
|
-
newKeyboardFocusDay = moment$
|
|
16133
|
+
newKeyboardFocusDay = moment$4.min(keyboardFocusDay.clone().add(week, "weeks"), keyboardFocusDay.date(keyboardFocusDay.daysInMonth()));
|
|
16128
16134
|
setKeyboardFocusDay(newKeyboardFocusDay);
|
|
16129
16135
|
}
|
|
16130
16136
|
} else {
|
|
@@ -16142,7 +16148,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16142
16148
|
const week = weekOfMonth(keyboardFocusDay);
|
|
16143
16149
|
keyboardFocusDay.add(1, "month").date(1);
|
|
16144
16150
|
if (week) {
|
|
16145
|
-
newKeyboardFocusDay = moment$
|
|
16151
|
+
newKeyboardFocusDay = moment$4.min(keyboardFocusDay.clone().add(week, "weeks").day(0), keyboardFocusDay.date(keyboardFocusDay.daysInMonth()).day(0));
|
|
16146
16152
|
setKeyboardFocusDay(newKeyboardFocusDay);
|
|
16147
16153
|
}
|
|
16148
16154
|
} else {
|
|
@@ -16159,7 +16165,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16159
16165
|
break;
|
|
16160
16166
|
case "Esc":
|
|
16161
16167
|
case "Escape":
|
|
16162
|
-
if (keyboardFocusDay && moment$
|
|
16168
|
+
if (keyboardFocusDay && moment$4.isMoment(keyboardFocusDay)) {
|
|
16163
16169
|
setKeyboardFocusDay(null);
|
|
16164
16170
|
inputElement.current.focus();
|
|
16165
16171
|
} else {
|
|
@@ -16170,7 +16176,7 @@ function SpsDateRangePicker(props2) {
|
|
|
16170
16176
|
}
|
|
16171
16177
|
break;
|
|
16172
16178
|
}
|
|
16173
|
-
if (keyboardFocusDay && moment$
|
|
16179
|
+
if (keyboardFocusDay && moment$4.isMoment(keyboardFocusDay)) {
|
|
16174
16180
|
if (keyboardFocusDay.isBefore(view.start, "month")) {
|
|
16175
16181
|
viewPreviousMonth();
|
|
16176
16182
|
} else if (keyboardFocusDay.isAfter(view.end, "month")) {
|
|
@@ -16298,8 +16304,8 @@ function SpsDateRangePicker(props2) {
|
|
|
16298
16304
|
}) : "")));
|
|
16299
16305
|
}
|
|
16300
16306
|
Object.assign(SpsDateRangePicker, {
|
|
16301
|
-
props: propsDoc$
|
|
16302
|
-
propTypes: propTypes$
|
|
16307
|
+
props: propsDoc$1j,
|
|
16308
|
+
propTypes: propTypes$1m,
|
|
16303
16309
|
displayName: "SpsDateRangePicker"
|
|
16304
16310
|
});
|
|
16305
16311
|
const SpsDateRangePickerExamples = {
|
|
@@ -16423,7 +16429,7 @@ const SpsDateRangePickerExamples = {
|
|
|
16423
16429
|
])
|
|
16424
16430
|
const { formValue, formMeta, updateForm } = useSpsForm(
|
|
16425
16431
|
{
|
|
16426
|
-
dateRange: presets.current[0],
|
|
16432
|
+
dateRange: SimpleDateUtils.createRangeFromPreset(presets.current[0]),
|
|
16427
16433
|
},
|
|
16428
16434
|
{
|
|
16429
16435
|
dateRange: [SpsValidators.dateRange],
|
|
@@ -16448,7 +16454,7 @@ const SpsDateRangePickerExamples = {
|
|
|
16448
16454
|
}
|
|
16449
16455
|
}
|
|
16450
16456
|
};
|
|
16451
|
-
var moment$
|
|
16457
|
+
var moment$3 = { exports: {} };
|
|
16452
16458
|
(function(module, exports) {
|
|
16453
16459
|
(function(global2, factory) {
|
|
16454
16460
|
module.exports = factory();
|
|
@@ -20138,10 +20144,10 @@ var moment$4 = { exports: {} };
|
|
|
20138
20144
|
};
|
|
20139
20145
|
return hooks;
|
|
20140
20146
|
});
|
|
20141
|
-
})(moment$
|
|
20147
|
+
})(moment$3);
|
|
20142
20148
|
(function(module, exports) {
|
|
20143
20149
|
(function(global2, factory) {
|
|
20144
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20150
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20145
20151
|
})(commonjsGlobal, function(moment2) {
|
|
20146
20152
|
//! moment.js locale configuration
|
|
20147
20153
|
var enAu = moment2.defineLocale("en-au", {
|
|
@@ -20197,7 +20203,7 @@ var moment$4 = { exports: {} };
|
|
|
20197
20203
|
})();
|
|
20198
20204
|
(function(module, exports) {
|
|
20199
20205
|
(function(global2, factory) {
|
|
20200
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20206
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20201
20207
|
})(commonjsGlobal, function(moment2) {
|
|
20202
20208
|
//! moment.js locale configuration
|
|
20203
20209
|
var enCa = moment2.defineLocale("en-ca", {
|
|
@@ -20249,7 +20255,7 @@ var moment$4 = { exports: {} };
|
|
|
20249
20255
|
})();
|
|
20250
20256
|
(function(module, exports) {
|
|
20251
20257
|
(function(global2, factory) {
|
|
20252
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20258
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20253
20259
|
})(commonjsGlobal, function(moment2) {
|
|
20254
20260
|
//! moment.js locale configuration
|
|
20255
20261
|
var enIe = moment2.defineLocale("en-ie", {
|
|
@@ -20305,7 +20311,7 @@ var moment$4 = { exports: {} };
|
|
|
20305
20311
|
})();
|
|
20306
20312
|
(function(module, exports) {
|
|
20307
20313
|
(function(global2, factory) {
|
|
20308
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20314
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20309
20315
|
})(commonjsGlobal, function(moment2) {
|
|
20310
20316
|
//! moment.js locale configuration
|
|
20311
20317
|
var enGb = moment2.defineLocale("en-gb", {
|
|
@@ -20361,7 +20367,7 @@ var moment$4 = { exports: {} };
|
|
|
20361
20367
|
})();
|
|
20362
20368
|
(function(module, exports) {
|
|
20363
20369
|
(function(global2, factory) {
|
|
20364
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20370
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20365
20371
|
})(commonjsGlobal, function(moment2) {
|
|
20366
20372
|
//! moment.js locale configuration
|
|
20367
20373
|
var frCa = moment2.defineLocale("fr-ca", {
|
|
@@ -20425,7 +20431,7 @@ var moment$4 = { exports: {} };
|
|
|
20425
20431
|
})();
|
|
20426
20432
|
(function(module, exports) {
|
|
20427
20433
|
(function(global2, factory) {
|
|
20428
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20434
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20429
20435
|
})(commonjsGlobal, function(moment2) {
|
|
20430
20436
|
//! moment.js locale configuration
|
|
20431
20437
|
var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, monthsParse = [
|
|
@@ -20516,7 +20522,7 @@ var moment$4 = { exports: {} };
|
|
|
20516
20522
|
})();
|
|
20517
20523
|
(function(module, exports) {
|
|
20518
20524
|
(function(global2, factory) {
|
|
20519
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20525
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20520
20526
|
})(commonjsGlobal, function(moment2) {
|
|
20521
20527
|
//! moment.js locale configuration
|
|
20522
20528
|
var monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"), monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), monthsParse = [
|
|
@@ -20612,7 +20618,7 @@ var moment$4 = { exports: {} };
|
|
|
20612
20618
|
})();
|
|
20613
20619
|
(function(module, exports) {
|
|
20614
20620
|
(function(global2, factory) {
|
|
20615
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20621
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20616
20622
|
})(commonjsGlobal, function(moment2) {
|
|
20617
20623
|
//! moment.js locale configuration
|
|
20618
20624
|
var zhCn = moment2.defineLocale("zh-cn", {
|
|
@@ -20726,7 +20732,7 @@ var moment$4 = { exports: {} };
|
|
|
20726
20732
|
})();
|
|
20727
20733
|
(function(module, exports) {
|
|
20728
20734
|
(function(global2, factory) {
|
|
20729
|
-
typeof commonjsRequire === "function" ? factory(moment$
|
|
20735
|
+
typeof commonjsRequire === "function" ? factory(moment$3.exports) : factory(global2.moment);
|
|
20730
20736
|
})(commonjsGlobal, function(moment2) {
|
|
20731
20737
|
//! moment.js locale configuration
|
|
20732
20738
|
var zhTw = moment2.defineLocale("zh-tw", {
|
|
@@ -20902,7 +20908,7 @@ const formatMaps = {
|
|
|
20902
20908
|
LONG_FULLDATETIME: "LLLL",
|
|
20903
20909
|
LONG_FULLDATETIME_ZONE: "LLLL z"
|
|
20904
20910
|
};
|
|
20905
|
-
const propsDoc$
|
|
20911
|
+
const propsDoc$1i = {
|
|
20906
20912
|
currentUser: "any",
|
|
20907
20913
|
dateToFormat: "string | Date",
|
|
20908
20914
|
format: "string",
|
|
@@ -20911,17 +20917,17 @@ const propsDoc$1h = {
|
|
|
20911
20917
|
relativeHrs: "number",
|
|
20912
20918
|
tz: "string"
|
|
20913
20919
|
};
|
|
20914
|
-
const propTypes$
|
|
20915
|
-
currentUser: propTypes$
|
|
20916
|
-
dateToFormat: propTypes$
|
|
20917
|
-
propTypes$
|
|
20918
|
-
propTypes$
|
|
20920
|
+
const propTypes$1l = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
20921
|
+
currentUser: propTypes$1M.exports.any,
|
|
20922
|
+
dateToFormat: propTypes$1M.exports.oneOfType([
|
|
20923
|
+
propTypes$1M.exports.string,
|
|
20924
|
+
propTypes$1M.exports.instanceOf(Date)
|
|
20919
20925
|
]),
|
|
20920
|
-
format: propTypes$
|
|
20921
|
-
locale: propTypes$
|
|
20922
|
-
relative: propTypes$
|
|
20923
|
-
relativeHrs: propTypes$
|
|
20924
|
-
tz: propTypes$
|
|
20926
|
+
format: propTypes$1M.exports.string,
|
|
20927
|
+
locale: propTypes$1M.exports.string,
|
|
20928
|
+
relative: propTypes$1M.exports.bool,
|
|
20929
|
+
relativeHrs: propTypes$1M.exports.number,
|
|
20930
|
+
tz: propTypes$1M.exports.string
|
|
20925
20931
|
});
|
|
20926
20932
|
function showRelative(dateToCheck, relative, relativeHrs) {
|
|
20927
20933
|
if (!relativeHrs && !relative) {
|
|
@@ -20997,8 +21003,8 @@ function SpsDateTime(props2) {
|
|
|
20997
21003
|
}));
|
|
20998
21004
|
}
|
|
20999
21005
|
Object.assign(SpsDateTime, {
|
|
21000
|
-
props: propsDoc$
|
|
21001
|
-
propTypes: propTypes$
|
|
21006
|
+
props: propsDoc$1i,
|
|
21007
|
+
propTypes: propTypes$1l,
|
|
21002
21008
|
displayName: "SpsDateTime"
|
|
21003
21009
|
});
|
|
21004
21010
|
const SpsDatetimeExamples = {
|
|
@@ -21019,15 +21025,15 @@ const SpsDatetimeExamples = {
|
|
|
21019
21025
|
}
|
|
21020
21026
|
}
|
|
21021
21027
|
};
|
|
21022
|
-
const propsDoc$
|
|
21028
|
+
const propsDoc$1h = {
|
|
21023
21029
|
compact: "boolean",
|
|
21024
21030
|
wideTerms: "boolean",
|
|
21025
21031
|
widerTerms: "boolean"
|
|
21026
21032
|
};
|
|
21027
|
-
const propTypes$
|
|
21028
|
-
compact: propTypes$
|
|
21029
|
-
wideTerms: propTypes$
|
|
21030
|
-
widerTerms: propTypes$
|
|
21033
|
+
const propTypes$1k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21034
|
+
compact: propTypes$1M.exports.bool,
|
|
21035
|
+
wideTerms: propTypes$1M.exports.bool,
|
|
21036
|
+
widerTerms: propTypes$1M.exports.bool
|
|
21031
21037
|
});
|
|
21032
21038
|
function SpsDescriptionList(props2) {
|
|
21033
21039
|
const _a = props2, {
|
|
@@ -21067,20 +21073,20 @@ function SpsDescriptionList(props2) {
|
|
|
21067
21073
|
}, rest), childrenWithProps);
|
|
21068
21074
|
}
|
|
21069
21075
|
Object.assign(SpsDescriptionList, {
|
|
21070
|
-
props: propsDoc$
|
|
21071
|
-
propTypes: propTypes$
|
|
21076
|
+
props: propsDoc$1h,
|
|
21077
|
+
propTypes: propTypes$1k,
|
|
21072
21078
|
displayName: "SpsDescriptionList / SpsDl"
|
|
21073
21079
|
});
|
|
21074
21080
|
function SpsDl(p2) {
|
|
21075
21081
|
return SpsDescriptionList(p2);
|
|
21076
21082
|
}
|
|
21077
21083
|
Object.assign(SpsDl, {
|
|
21078
|
-
props: propsDoc$
|
|
21079
|
-
propTypes: propTypes$
|
|
21084
|
+
props: propsDoc$1h,
|
|
21085
|
+
propTypes: propTypes$1k,
|
|
21080
21086
|
displayName: "SpsDescriptionList / SpsDl"
|
|
21081
21087
|
});
|
|
21082
|
-
const propsDoc$
|
|
21083
|
-
const propTypes$
|
|
21088
|
+
const propsDoc$1g = {};
|
|
21089
|
+
const propTypes$1j = __spreadValues({}, spsGlobalPropTypes);
|
|
21084
21090
|
function SpsDescriptionListDefinition(props2) {
|
|
21085
21091
|
const _a = props2, {
|
|
21086
21092
|
children,
|
|
@@ -21100,16 +21106,16 @@ function SpsDescriptionListDefinition(props2) {
|
|
|
21100
21106
|
}, rest), children);
|
|
21101
21107
|
}
|
|
21102
21108
|
Object.assign(SpsDescriptionListDefinition, {
|
|
21103
|
-
props: propsDoc$
|
|
21104
|
-
propTypes: propTypes$
|
|
21109
|
+
props: propsDoc$1g,
|
|
21110
|
+
propTypes: propTypes$1j,
|
|
21105
21111
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
21106
21112
|
});
|
|
21107
21113
|
function SpsDd(p2) {
|
|
21108
21114
|
return SpsDescriptionListDefinition(p2);
|
|
21109
21115
|
}
|
|
21110
21116
|
Object.assign(SpsDd, {
|
|
21111
|
-
props: propsDoc$
|
|
21112
|
-
propTypes: propTypes$
|
|
21117
|
+
props: propsDoc$1g,
|
|
21118
|
+
propTypes: propTypes$1j,
|
|
21113
21119
|
displayName: "SpsDescriptionListDefinition / SpsDd"
|
|
21114
21120
|
});
|
|
21115
21121
|
var TooltipVisibility;
|
|
@@ -21124,7 +21130,7 @@ function toggleTooltipState(state) {
|
|
|
21124
21130
|
}
|
|
21125
21131
|
const CARET_SPACING_PX = 13;
|
|
21126
21132
|
const openTips = new Map();
|
|
21127
|
-
const propsDoc$
|
|
21133
|
+
const propsDoc$1f = {
|
|
21128
21134
|
for: { type: "React.MutableRefObject<any> | string", required: true },
|
|
21129
21135
|
hideDelay: "number",
|
|
21130
21136
|
isShown: "TooltipVisibility",
|
|
@@ -21136,17 +21142,17 @@ const propsDoc$1e = {
|
|
|
21136
21142
|
showOn: "TooltipShowTrigger",
|
|
21137
21143
|
title: "string | ReactNode"
|
|
21138
21144
|
};
|
|
21139
|
-
const propTypes$
|
|
21140
|
-
for: propTypes$
|
|
21141
|
-
hideDelay: propTypes$
|
|
21145
|
+
const propTypes$1i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21146
|
+
for: propTypes$1M.exports.oneOfType([ref(), propTypes$1M.exports.string]).isRequired,
|
|
21147
|
+
hideDelay: propTypes$1M.exports.number,
|
|
21142
21148
|
isShown: enumValue(TooltipVisibility),
|
|
21143
21149
|
kind: enumValue(TooltipKind),
|
|
21144
|
-
offsets: propTypes$
|
|
21150
|
+
offsets: propTypes$1M.exports.arrayOf(propTypes$1M.exports.number),
|
|
21145
21151
|
onDeferred: fun(),
|
|
21146
21152
|
position: enumValue(Position),
|
|
21147
21153
|
altPosition: enumValue(Position),
|
|
21148
21154
|
showOn: enumValue(TooltipShowTrigger),
|
|
21149
|
-
title: propTypes$
|
|
21155
|
+
title: propTypes$1M.exports.string || propTypes$1M.exports.node
|
|
21150
21156
|
});
|
|
21151
21157
|
function SpsTooltip({
|
|
21152
21158
|
children,
|
|
@@ -21312,26 +21318,26 @@ function SpsTooltip({
|
|
|
21312
21318
|
})));
|
|
21313
21319
|
}
|
|
21314
21320
|
Object.assign(SpsTooltip, {
|
|
21315
|
-
props: propsDoc$
|
|
21316
|
-
propTypes: propTypes$
|
|
21321
|
+
props: propsDoc$1f,
|
|
21322
|
+
propTypes: propTypes$1i,
|
|
21317
21323
|
displayName: "SpsTooltip"
|
|
21318
21324
|
});
|
|
21319
|
-
const propsDoc$
|
|
21325
|
+
const propsDoc$1e = {
|
|
21320
21326
|
error: "boolean",
|
|
21321
21327
|
errors: "ReactNodeOrRenderFn",
|
|
21322
21328
|
help: "ReactNodeOrRenderFn",
|
|
21323
21329
|
labelFor: "SpsFormFieldMeta<any>",
|
|
21324
21330
|
required: "boolean"
|
|
21325
21331
|
};
|
|
21326
|
-
const propTypes$
|
|
21327
|
-
error: propTypes$
|
|
21332
|
+
const propTypes$1h = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21333
|
+
error: propTypes$1M.exports.bool,
|
|
21328
21334
|
errors: nodeOrRenderFn,
|
|
21329
21335
|
help: nodeOrRenderFn,
|
|
21330
|
-
labelFor: propTypes$
|
|
21336
|
+
labelFor: propTypes$1M.exports.oneOfType([
|
|
21331
21337
|
impl(),
|
|
21332
21338
|
impl()
|
|
21333
21339
|
]),
|
|
21334
|
-
required: propTypes$
|
|
21340
|
+
required: propTypes$1M.exports.bool
|
|
21335
21341
|
});
|
|
21336
21342
|
function SpsDescriptionListTerm(props2) {
|
|
21337
21343
|
const _a = props2, {
|
|
@@ -21387,16 +21393,16 @@ function SpsDescriptionListTerm(props2) {
|
|
|
21387
21393
|
}, contentOf(tipKind === TooltipKind.ERROR ? errors : help)));
|
|
21388
21394
|
}
|
|
21389
21395
|
Object.assign(SpsDescriptionListTerm, {
|
|
21390
|
-
props: propsDoc$
|
|
21391
|
-
propTypes: propTypes$
|
|
21396
|
+
props: propsDoc$1e,
|
|
21397
|
+
propTypes: propTypes$1h,
|
|
21392
21398
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
21393
21399
|
});
|
|
21394
21400
|
function SpsDt(p2) {
|
|
21395
21401
|
return SpsDescriptionListTerm(p2);
|
|
21396
21402
|
}
|
|
21397
21403
|
Object.assign(SpsDt, {
|
|
21398
|
-
props: propsDoc$
|
|
21399
|
-
propTypes: propTypes$
|
|
21404
|
+
props: propsDoc$1e,
|
|
21405
|
+
propTypes: propTypes$1h,
|
|
21400
21406
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
21401
21407
|
});
|
|
21402
21408
|
const SpsDescriptionListExamples = {
|
|
@@ -21874,19 +21880,19 @@ const SpsDropdownExamples = {
|
|
|
21874
21880
|
}
|
|
21875
21881
|
}
|
|
21876
21882
|
};
|
|
21877
|
-
const propsDoc$
|
|
21883
|
+
const propsDoc$1d = {
|
|
21878
21884
|
checked: "boolean",
|
|
21879
21885
|
onChange: "ChangeEventHandler",
|
|
21880
21886
|
indeterminate: "boolean",
|
|
21881
21887
|
disabled: "boolean",
|
|
21882
21888
|
options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
|
|
21883
21889
|
};
|
|
21884
|
-
const propTypes$
|
|
21885
|
-
checked: propTypes$
|
|
21890
|
+
const propTypes$1g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21891
|
+
checked: propTypes$1M.exports.bool,
|
|
21886
21892
|
onChange: fun(),
|
|
21887
|
-
indeterminate: propTypes$
|
|
21888
|
-
options: propTypes$
|
|
21889
|
-
disabled: propTypes$
|
|
21893
|
+
indeterminate: propTypes$1M.exports.bool,
|
|
21894
|
+
options: propTypes$1M.exports.arrayOf(propTypes$1M.exports.oneOfType([propTypes$1M.exports.func, propTypes$1M.exports.any])).isRequired,
|
|
21895
|
+
disabled: propTypes$1M.exports.bool
|
|
21890
21896
|
});
|
|
21891
21897
|
function SpsCheckboxDropdown(props2) {
|
|
21892
21898
|
const _a = props2, {
|
|
@@ -21920,14 +21926,14 @@ function SpsCheckboxDropdown(props2) {
|
|
|
21920
21926
|
}));
|
|
21921
21927
|
}
|
|
21922
21928
|
Object.assign(SpsCheckboxDropdown, {
|
|
21923
|
-
props: propsDoc$
|
|
21924
|
-
propTypes: propTypes$
|
|
21929
|
+
props: propsDoc$1d,
|
|
21930
|
+
propTypes: propTypes$1g,
|
|
21925
21931
|
displayName: "SpsCheckboxDropdown"
|
|
21926
21932
|
});
|
|
21927
|
-
const propsDoc$
|
|
21933
|
+
const propsDoc$1c = {
|
|
21928
21934
|
kind: "FeedbackBlockKind"
|
|
21929
21935
|
};
|
|
21930
|
-
const propTypes$
|
|
21936
|
+
const propTypes$1f = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
21931
21937
|
kind: enumValue(FeedbackBlockKind)
|
|
21932
21938
|
});
|
|
21933
21939
|
function SpsFeedbackBlock(props2) {
|
|
@@ -21958,8 +21964,8 @@ function SpsFeedbackBlock(props2) {
|
|
|
21958
21964
|
}, children));
|
|
21959
21965
|
}
|
|
21960
21966
|
Object.assign(SpsFeedbackBlock, {
|
|
21961
|
-
props: propsDoc$
|
|
21962
|
-
propTypes: propTypes$
|
|
21967
|
+
props: propsDoc$1c,
|
|
21968
|
+
propTypes: propTypes$1f,
|
|
21963
21969
|
displayName: "SpsFeedbackBlock"
|
|
21964
21970
|
});
|
|
21965
21971
|
const SpsFeedbackBlockExamples = {
|
|
@@ -22061,7 +22067,7 @@ const SpsFeedbackBlockExamples = {
|
|
|
22061
22067
|
}
|
|
22062
22068
|
}
|
|
22063
22069
|
};
|
|
22064
|
-
const propsDoc$
|
|
22070
|
+
const propsDoc$1b = {
|
|
22065
22071
|
errors: "ReactNodeOrRenderFn",
|
|
22066
22072
|
formMeta: "SpsFormSetMeta<any>",
|
|
22067
22073
|
legend: "string",
|
|
@@ -22070,16 +22076,16 @@ const propsDoc$1a = {
|
|
|
22070
22076
|
onToggled: "(isEnabled: boolean) => void",
|
|
22071
22077
|
tooltip: "string"
|
|
22072
22078
|
};
|
|
22073
|
-
const propTypes$
|
|
22079
|
+
const propTypes$1e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22074
22080
|
errors: nodeOrRenderFn,
|
|
22075
22081
|
formArray: impl(),
|
|
22076
22082
|
formGroup: impl(),
|
|
22077
22083
|
formMeta: impl(),
|
|
22078
|
-
legend: propTypes$
|
|
22079
|
-
optional: propTypes$
|
|
22080
|
-
enabled: propTypes$
|
|
22084
|
+
legend: propTypes$1M.exports.string,
|
|
22085
|
+
optional: propTypes$1M.exports.bool,
|
|
22086
|
+
enabled: propTypes$1M.exports.bool,
|
|
22081
22087
|
onToggled: fun(),
|
|
22082
|
-
tooltip: propTypes$
|
|
22088
|
+
tooltip: propTypes$1M.exports.string
|
|
22083
22089
|
});
|
|
22084
22090
|
function SpsFieldset({
|
|
22085
22091
|
children,
|
|
@@ -22155,8 +22161,8 @@ function SpsFieldset({
|
|
|
22155
22161
|
}, contentOf(errors)), children));
|
|
22156
22162
|
}
|
|
22157
22163
|
Object.assign(SpsFieldset, {
|
|
22158
|
-
props: propsDoc$
|
|
22159
|
-
propTypes: propTypes$
|
|
22164
|
+
props: propsDoc$1b,
|
|
22165
|
+
propTypes: propTypes$1e,
|
|
22160
22166
|
displayName: "SpsFieldset"
|
|
22161
22167
|
});
|
|
22162
22168
|
const SpsFieldsetExamples = {
|
|
@@ -22442,8 +22448,8 @@ const SpsFieldsetExamples = {
|
|
|
22442
22448
|
}
|
|
22443
22449
|
}
|
|
22444
22450
|
};
|
|
22445
|
-
const propsDoc$
|
|
22446
|
-
const propTypes$
|
|
22451
|
+
const propsDoc$1a = {};
|
|
22452
|
+
const propTypes$1d = __spreadValues({}, spsGlobalPropTypes);
|
|
22447
22453
|
function SpsFocusedTaskActions(props2) {
|
|
22448
22454
|
const _a = props2, {
|
|
22449
22455
|
children,
|
|
@@ -22464,18 +22470,18 @@ function SpsFocusedTaskActions(props2) {
|
|
|
22464
22470
|
}, children)));
|
|
22465
22471
|
}
|
|
22466
22472
|
Object.assign(SpsFocusedTaskActions, {
|
|
22467
|
-
props: propsDoc$
|
|
22468
|
-
propTypes: propTypes$
|
|
22473
|
+
props: propsDoc$1a,
|
|
22474
|
+
propTypes: propTypes$1d,
|
|
22469
22475
|
displayName: "SpsFocusedTaskActions"
|
|
22470
22476
|
});
|
|
22471
|
-
const propsDoc$
|
|
22477
|
+
const propsDoc$19 = {
|
|
22472
22478
|
fullWidth: "boolean",
|
|
22473
22479
|
isOpen: "boolean",
|
|
22474
22480
|
onClose: "() => void"
|
|
22475
22481
|
};
|
|
22476
|
-
const propTypes$
|
|
22477
|
-
fullWidth: propTypes$
|
|
22478
|
-
isOpen: propTypes$
|
|
22482
|
+
const propTypes$1c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
22483
|
+
fullWidth: propTypes$1M.exports.bool,
|
|
22484
|
+
isOpen: propTypes$1M.exports.bool,
|
|
22479
22485
|
onClose: fun()
|
|
22480
22486
|
});
|
|
22481
22487
|
function SpsFocusedTask(props2) {
|
|
@@ -22532,8 +22538,8 @@ function SpsFocusedTask(props2) {
|
|
|
22532
22538
|
}, isOpen && content)), actions);
|
|
22533
22539
|
}
|
|
22534
22540
|
Object.assign(SpsFocusedTask, {
|
|
22535
|
-
props: propsDoc$
|
|
22536
|
-
propTypes: propTypes$
|
|
22541
|
+
props: propsDoc$19,
|
|
22542
|
+
propTypes: propTypes$1c,
|
|
22537
22543
|
displayName: "SpsFocusedTask"
|
|
22538
22544
|
});
|
|
22539
22545
|
const SpsFocusedTaskExamples = {
|
|
@@ -22663,7 +22669,7 @@ function isPlainObject(value) {
|
|
|
22663
22669
|
var lodash_isplainobject = isPlainObject;
|
|
22664
22670
|
const OnBlurErrorKeys = new Set();
|
|
22665
22671
|
const AsTypingErrorKeys = new Set();
|
|
22666
|
-
const moment$
|
|
22672
|
+
const moment$2 = moment$6.default || moment$6;
|
|
22667
22673
|
const FORMAT = "MM/DD/YYYY";
|
|
22668
22674
|
const FORMAT_PATTERN = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;
|
|
22669
22675
|
const SYMBOL_DATE_PARSE_ERROR = Symbol("Date Parse Error");
|
|
@@ -22719,7 +22725,7 @@ const SimpleDateUtils = Object.freeze({
|
|
|
22719
22725
|
if (!date2) {
|
|
22720
22726
|
return null;
|
|
22721
22727
|
}
|
|
22722
|
-
return moment$
|
|
22728
|
+
return moment$2(__spreadProps(__spreadValues({}, date2), {
|
|
22723
22729
|
month: date2.month - 1
|
|
22724
22730
|
}));
|
|
22725
22731
|
},
|
|
@@ -22780,6 +22786,14 @@ const SimpleDateUtils = Object.freeze({
|
|
|
22780
22786
|
month: date2.month + 1 > 12 ? 1 : date2.month + 1,
|
|
22781
22787
|
date: date2.date
|
|
22782
22788
|
});
|
|
22789
|
+
},
|
|
22790
|
+
createRangeFromPreset(preset2) {
|
|
22791
|
+
if (typeof preset2.definition === "function") {
|
|
22792
|
+
return preset2.definition();
|
|
22793
|
+
}
|
|
22794
|
+
const end2 = moment$2();
|
|
22795
|
+
const start = end2.clone().subtract(moment$2.duration(preset2.definition));
|
|
22796
|
+
return [SimpleDateUtils.createFrom(start), SimpleDateUtils.createFrom(end2)];
|
|
22783
22797
|
}
|
|
22784
22798
|
});
|
|
22785
22799
|
const date = function dateValidator(value) {
|
|
@@ -24016,19 +24030,19 @@ const SpsAddRemoveFormRowExamples = {
|
|
|
24016
24030
|
}
|
|
24017
24031
|
}
|
|
24018
24032
|
};
|
|
24019
|
-
const propsDoc$
|
|
24033
|
+
const propsDoc$18 = {
|
|
24020
24034
|
imgSrc: "string",
|
|
24021
24035
|
kind: "GrowlerKind",
|
|
24022
24036
|
onClose: "() => void",
|
|
24023
24037
|
persist: "boolean",
|
|
24024
24038
|
title: "string"
|
|
24025
24039
|
};
|
|
24026
|
-
const propTypes$
|
|
24027
|
-
imgSrc: propTypes$
|
|
24040
|
+
const propTypes$1b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
24041
|
+
imgSrc: propTypes$1M.exports.string,
|
|
24028
24042
|
kind: enumValue(GrowlerKind),
|
|
24029
24043
|
onClose: fun(),
|
|
24030
|
-
persist: propTypes$
|
|
24031
|
-
title: propTypes$
|
|
24044
|
+
persist: propTypes$1M.exports.bool,
|
|
24045
|
+
title: propTypes$1M.exports.string
|
|
24032
24046
|
});
|
|
24033
24047
|
function SpsGrowler(props2) {
|
|
24034
24048
|
const _a = props2, {
|
|
@@ -24134,8 +24148,8 @@ function SpsGrowler(props2) {
|
|
|
24134
24148
|
})))));
|
|
24135
24149
|
}
|
|
24136
24150
|
Object.assign(SpsGrowler, {
|
|
24137
|
-
props: propsDoc$
|
|
24138
|
-
propTypes: propTypes$
|
|
24151
|
+
props: propsDoc$18,
|
|
24152
|
+
propTypes: propTypes$1b,
|
|
24139
24153
|
displayName: "SpsGrowler"
|
|
24140
24154
|
});
|
|
24141
24155
|
const SpsGrowlerExamples = {
|
|
@@ -24510,18 +24524,18 @@ const SpsGrowlerExamples = {
|
|
|
24510
24524
|
}
|
|
24511
24525
|
}
|
|
24512
24526
|
};
|
|
24513
|
-
const propsDoc$
|
|
24527
|
+
const propsDoc$17 = {
|
|
24514
24528
|
disabled: "boolean",
|
|
24515
24529
|
min: "number",
|
|
24516
24530
|
max: "number",
|
|
24517
24531
|
step: "number",
|
|
24518
24532
|
onValueChange: "(newValue: number) => void"
|
|
24519
24533
|
};
|
|
24520
|
-
const propTypes$
|
|
24521
|
-
disabled: propTypes$
|
|
24522
|
-
min: propTypes$
|
|
24523
|
-
max: propTypes$
|
|
24524
|
-
step: propTypes$
|
|
24534
|
+
const propTypes$1a = __spreadValues({
|
|
24535
|
+
disabled: propTypes$1M.exports.bool,
|
|
24536
|
+
min: propTypes$1M.exports.number,
|
|
24537
|
+
max: propTypes$1M.exports.number,
|
|
24538
|
+
step: propTypes$1M.exports.number,
|
|
24525
24539
|
onValueChange: fun()
|
|
24526
24540
|
}, spsGlobalPropTypes);
|
|
24527
24541
|
function SpsIncrementor(props2) {
|
|
@@ -24624,8 +24638,8 @@ function SpsIncrementor(props2) {
|
|
|
24624
24638
|
}))));
|
|
24625
24639
|
}
|
|
24626
24640
|
Object.assign(SpsIncrementor, {
|
|
24627
|
-
props: propsDoc$
|
|
24628
|
-
propTypes: propTypes$
|
|
24641
|
+
props: propsDoc$17,
|
|
24642
|
+
propTypes: propTypes$1a,
|
|
24629
24643
|
displayName: "SpsIncrementor"
|
|
24630
24644
|
});
|
|
24631
24645
|
const SpsIncrementorExamples = {
|
|
@@ -24664,7 +24678,7 @@ function SpsInsights(props2) {
|
|
|
24664
24678
|
className: "insight-tile-wrapper"
|
|
24665
24679
|
}, children);
|
|
24666
24680
|
}
|
|
24667
|
-
const propsDoc$
|
|
24681
|
+
const propsDoc$16 = {
|
|
24668
24682
|
horizontal: "boolean",
|
|
24669
24683
|
icon: "SpsIcon",
|
|
24670
24684
|
kind: "SpsInsightTileKind",
|
|
@@ -24673,14 +24687,14 @@ const propsDoc$15 = {
|
|
|
24673
24687
|
partnerCount: "number",
|
|
24674
24688
|
totalPartners: "number"
|
|
24675
24689
|
};
|
|
24676
|
-
const propTypes$
|
|
24677
|
-
horizontal: propTypes$
|
|
24690
|
+
const propTypes$19 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
24691
|
+
horizontal: propTypes$1M.exports.bool,
|
|
24678
24692
|
icon: enumValue(SpsIcon),
|
|
24679
24693
|
kind: enumValue(SpsInsightTileKind),
|
|
24680
|
-
title: propTypes$
|
|
24681
|
-
metric: propTypes$
|
|
24682
|
-
partnerCount: propTypes$
|
|
24683
|
-
totalPartners: propTypes$
|
|
24694
|
+
title: propTypes$1M.exports.string,
|
|
24695
|
+
metric: propTypes$1M.exports.number || propTypes$1M.exports.string,
|
|
24696
|
+
partnerCount: propTypes$1M.exports.number,
|
|
24697
|
+
totalPartners: propTypes$1M.exports.number
|
|
24684
24698
|
});
|
|
24685
24699
|
function SpsInsightTile(props2) {
|
|
24686
24700
|
const _a = props2, {
|
|
@@ -24740,8 +24754,8 @@ function SpsInsightTile(props2) {
|
|
|
24740
24754
|
}, t2("design-system:insightTile.partners")))));
|
|
24741
24755
|
}
|
|
24742
24756
|
Object.assign(SpsInsightTile, {
|
|
24743
|
-
props: propsDoc$
|
|
24744
|
-
propTypes: propTypes$
|
|
24757
|
+
props: propsDoc$16,
|
|
24758
|
+
propTypes: propTypes$19,
|
|
24745
24759
|
displayName: "SpsInsightTile"
|
|
24746
24760
|
});
|
|
24747
24761
|
const SpsInsightTileExamples = {
|
|
@@ -25015,11 +25029,11 @@ const SpsInsightTileExamples = {
|
|
|
25015
25029
|
}
|
|
25016
25030
|
}
|
|
25017
25031
|
};
|
|
25018
|
-
const propsDoc$
|
|
25032
|
+
const propsDoc$15 = {
|
|
25019
25033
|
inline: "boolean"
|
|
25020
25034
|
};
|
|
25021
|
-
const propTypes$
|
|
25022
|
-
inline: propTypes$
|
|
25035
|
+
const propTypes$18 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25036
|
+
inline: propTypes$1M.exports.bool
|
|
25023
25037
|
});
|
|
25024
25038
|
function SpsKeyValueList(props2) {
|
|
25025
25039
|
const _a = props2, {
|
|
@@ -25042,16 +25056,16 @@ function SpsKeyValueList(props2) {
|
|
|
25042
25056
|
}, rest), children);
|
|
25043
25057
|
}
|
|
25044
25058
|
Object.assign(SpsKeyValueList, {
|
|
25045
|
-
props: propsDoc$
|
|
25046
|
-
propTypes: propTypes$
|
|
25059
|
+
props: propsDoc$15,
|
|
25060
|
+
propTypes: propTypes$18,
|
|
25047
25061
|
displayName: "SpsKeyValueList"
|
|
25048
25062
|
});
|
|
25049
|
-
const propsDoc$
|
|
25063
|
+
const propsDoc$14 = {
|
|
25050
25064
|
itemKey: { type: "string | nodeOrRenderFn", required: true },
|
|
25051
25065
|
titleColor: "KeyValueListTitleColor"
|
|
25052
25066
|
};
|
|
25053
|
-
const propTypes$
|
|
25054
|
-
itemKey: propTypes$
|
|
25067
|
+
const propTypes$17 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25068
|
+
itemKey: propTypes$1M.exports.string.isRequired || nodeOrRenderFn.isRequired,
|
|
25055
25069
|
titleColor: enumValue(KeyValueListTitleColor)
|
|
25056
25070
|
});
|
|
25057
25071
|
function SpsKeyValueListItem(props2) {
|
|
@@ -25083,8 +25097,8 @@ function SpsKeyValueListItem(props2) {
|
|
|
25083
25097
|
}, children));
|
|
25084
25098
|
}
|
|
25085
25099
|
Object.assign(SpsKeyValueListItem, {
|
|
25086
|
-
props: propsDoc$
|
|
25087
|
-
propTypes: propTypes$
|
|
25100
|
+
props: propsDoc$14,
|
|
25101
|
+
propTypes: propTypes$17,
|
|
25088
25102
|
displayName: "SpsKeyValueListItem"
|
|
25089
25103
|
});
|
|
25090
25104
|
const SpsKeyValueListExamples = {
|
|
@@ -25127,7 +25141,7 @@ const SpsKeyValueListExamples = {
|
|
|
25127
25141
|
}
|
|
25128
25142
|
}
|
|
25129
25143
|
};
|
|
25130
|
-
const propsDoc$
|
|
25144
|
+
const propsDoc$13 = {
|
|
25131
25145
|
for: { type: "SpsFormMetaBase<any>", required: true },
|
|
25132
25146
|
description: "string",
|
|
25133
25147
|
stronglySuggested: "boolean",
|
|
@@ -25136,16 +25150,16 @@ const propsDoc$12 = {
|
|
|
25136
25150
|
helpIconColor: "string",
|
|
25137
25151
|
errors: "ReactNodeOrRenderFn"
|
|
25138
25152
|
};
|
|
25139
|
-
const propTypes$
|
|
25140
|
-
description: propTypes$
|
|
25141
|
-
for: propTypes$
|
|
25153
|
+
const propTypes$16 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25154
|
+
description: propTypes$1M.exports.string,
|
|
25155
|
+
for: propTypes$1M.exports.oneOfType([
|
|
25142
25156
|
impl(),
|
|
25143
25157
|
impl()
|
|
25144
25158
|
]).isRequired,
|
|
25145
|
-
stronglySuggested: propTypes$
|
|
25159
|
+
stronglySuggested: propTypes$1M.exports.bool,
|
|
25146
25160
|
help: nodeOrRenderFn,
|
|
25147
25161
|
helpIcon: enumValue(SpsIcon),
|
|
25148
|
-
helpIconColor: propTypes$
|
|
25162
|
+
helpIconColor: propTypes$1M.exports.string,
|
|
25149
25163
|
errors: nodeOrRenderFn
|
|
25150
25164
|
});
|
|
25151
25165
|
function SpsLabel(_o) {
|
|
@@ -25306,8 +25320,8 @@ function SpsLabel(_o) {
|
|
|
25306
25320
|
}, description));
|
|
25307
25321
|
}
|
|
25308
25322
|
Object.assign(SpsLabel, {
|
|
25309
|
-
props: propsDoc$
|
|
25310
|
-
propTypes: propTypes$
|
|
25323
|
+
props: propsDoc$13,
|
|
25324
|
+
propTypes: propTypes$16,
|
|
25311
25325
|
displayName: "SpsLabel"
|
|
25312
25326
|
});
|
|
25313
25327
|
const SpsLabelExamples = {
|
|
@@ -25525,13 +25539,13 @@ const SpsLabelExamples = {
|
|
|
25525
25539
|
}
|
|
25526
25540
|
}
|
|
25527
25541
|
};
|
|
25528
|
-
const propsDoc$
|
|
25542
|
+
const propsDoc$12 = {
|
|
25529
25543
|
clearSelected: { type: "() => void", required: true },
|
|
25530
25544
|
itemsSelected: { type: "string | number", required: true }
|
|
25531
25545
|
};
|
|
25532
|
-
const propTypes$
|
|
25546
|
+
const propTypes$15 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25533
25547
|
clearSelected: fun().isRequired,
|
|
25534
|
-
itemsSelected: propTypes$
|
|
25548
|
+
itemsSelected: propTypes$1M.exports.oneOfType([propTypes$1M.exports.string, propTypes$1M.exports.number])
|
|
25535
25549
|
});
|
|
25536
25550
|
function SpsListActionBar(props2) {
|
|
25537
25551
|
const _a = props2, {
|
|
@@ -25581,8 +25595,8 @@ function SpsListActionBar(props2) {
|
|
|
25581
25595
|
}, t2("design-system:listActionBar.clearSelected")))));
|
|
25582
25596
|
}
|
|
25583
25597
|
Object.assign(SpsListActionBar, {
|
|
25584
|
-
props: propsDoc$
|
|
25585
|
-
propTypes: propTypes$
|
|
25598
|
+
props: propsDoc$12,
|
|
25599
|
+
propTypes: propTypes$15,
|
|
25586
25600
|
displayName: "SpsListActionBar"
|
|
25587
25601
|
});
|
|
25588
25602
|
const getScrollParent = (node) => {
|
|
@@ -25778,18 +25792,18 @@ const usePinnedTableHeadStyle = (containerRef) => {
|
|
|
25778
25792
|
};
|
|
25779
25793
|
});
|
|
25780
25794
|
};
|
|
25781
|
-
const propsDoc$
|
|
25795
|
+
const propsDoc$11 = {
|
|
25782
25796
|
controlCell: "boolean",
|
|
25783
25797
|
currentSort: "Array<SortedColumn>",
|
|
25784
25798
|
onSortChange: "SortChangeHandler",
|
|
25785
25799
|
sortKey: "string"
|
|
25786
25800
|
};
|
|
25787
|
-
const propTypes$
|
|
25788
|
-
controlCell: propTypes$
|
|
25789
|
-
currentSort: propTypes$
|
|
25801
|
+
const propTypes$14 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25802
|
+
controlCell: propTypes$1M.exports.bool,
|
|
25803
|
+
currentSort: propTypes$1M.exports.arrayOf(impl()),
|
|
25790
25804
|
onSortChange: fun(),
|
|
25791
|
-
sortKey: propTypes$
|
|
25792
|
-
pinned: propTypes$
|
|
25805
|
+
sortKey: propTypes$1M.exports.string,
|
|
25806
|
+
pinned: propTypes$1M.exports.bool
|
|
25793
25807
|
});
|
|
25794
25808
|
function SpsTableHeader(props2) {
|
|
25795
25809
|
const _a = props2, {
|
|
@@ -25848,24 +25862,24 @@ function SpsTableHeader(props2) {
|
|
|
25848
25862
|
}, children));
|
|
25849
25863
|
}
|
|
25850
25864
|
Object.assign(SpsTableHeader, {
|
|
25851
|
-
props: propsDoc$
|
|
25852
|
-
propTypes: propTypes$
|
|
25865
|
+
props: propsDoc$11,
|
|
25866
|
+
propTypes: propTypes$14,
|
|
25853
25867
|
displayName: "SpsTableHeader"
|
|
25854
25868
|
});
|
|
25855
25869
|
function SpsTh(props2) {
|
|
25856
25870
|
return /* @__PURE__ */ React.createElement(SpsTableHeader, __spreadValues({}, props2));
|
|
25857
25871
|
}
|
|
25858
25872
|
Object.assign(SpsTh, {
|
|
25859
|
-
props: propsDoc$
|
|
25860
|
-
propTypes: propTypes$
|
|
25873
|
+
props: propsDoc$11,
|
|
25874
|
+
propTypes: propTypes$14,
|
|
25861
25875
|
displayName: "SpsTh"
|
|
25862
25876
|
});
|
|
25863
|
-
const propsDoc
|
|
25877
|
+
const propsDoc$10 = {
|
|
25864
25878
|
currentSort: "Array<SortedColumn>",
|
|
25865
25879
|
onSortChange: "SortChangeHandler"
|
|
25866
25880
|
};
|
|
25867
|
-
const propTypes$
|
|
25868
|
-
currentSort: propTypes$
|
|
25881
|
+
const propTypes$13 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25882
|
+
currentSort: propTypes$1M.exports.arrayOf(impl()),
|
|
25869
25883
|
onSortChange: fun()
|
|
25870
25884
|
});
|
|
25871
25885
|
function SpsTableRow(props2) {
|
|
@@ -25901,26 +25915,26 @@ function SpsTableRow(props2) {
|
|
|
25901
25915
|
}));
|
|
25902
25916
|
}
|
|
25903
25917
|
Object.assign(SpsTableRow, {
|
|
25904
|
-
props: propsDoc
|
|
25905
|
-
propTypes: propTypes$
|
|
25918
|
+
props: propsDoc$10,
|
|
25919
|
+
propTypes: propTypes$13,
|
|
25906
25920
|
displayName: "SpsTableRow"
|
|
25907
25921
|
});
|
|
25908
25922
|
function SpsTr(props2) {
|
|
25909
25923
|
return /* @__PURE__ */ React.createElement(SpsTableRow, __spreadValues({}, props2));
|
|
25910
25924
|
}
|
|
25911
25925
|
Object.assign(SpsTr, {
|
|
25912
|
-
props: propsDoc
|
|
25913
|
-
propTypes: propTypes$
|
|
25926
|
+
props: propsDoc$10,
|
|
25927
|
+
propTypes: propTypes$13,
|
|
25914
25928
|
displayName: "SpsTr"
|
|
25915
25929
|
});
|
|
25916
|
-
const propsDoc
|
|
25930
|
+
const propsDoc$$ = {
|
|
25917
25931
|
currentSort: "Array<SortedColumn>",
|
|
25918
25932
|
onSortChange: "SortChangeHandler"
|
|
25919
25933
|
};
|
|
25920
|
-
const propTypes$
|
|
25934
|
+
const propTypes$12 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25921
25935
|
onSortChange: fun(),
|
|
25922
|
-
currentSort: propTypes$
|
|
25923
|
-
pinned: propTypes$
|
|
25936
|
+
currentSort: propTypes$1M.exports.arrayOf(impl()),
|
|
25937
|
+
pinned: propTypes$1M.exports.bool
|
|
25924
25938
|
});
|
|
25925
25939
|
function SpsTableHead(props2) {
|
|
25926
25940
|
const _a = props2, {
|
|
@@ -25956,27 +25970,27 @@ function SpsTableHead(props2) {
|
|
|
25956
25970
|
}));
|
|
25957
25971
|
}
|
|
25958
25972
|
Object.assign(SpsTableHead, {
|
|
25959
|
-
props: propsDoc
|
|
25960
|
-
propTypes: propTypes$
|
|
25973
|
+
props: propsDoc$$,
|
|
25974
|
+
propTypes: propTypes$12,
|
|
25961
25975
|
displayName: "SpsTableHead"
|
|
25962
25976
|
});
|
|
25963
25977
|
function SpsThead(props2) {
|
|
25964
25978
|
return /* @__PURE__ */ React.createElement(SpsTableHead, __spreadValues({}, props2));
|
|
25965
25979
|
}
|
|
25966
25980
|
Object.assign(SpsThead, {
|
|
25967
|
-
props: propsDoc
|
|
25968
|
-
propTypes: propTypes$
|
|
25981
|
+
props: propsDoc$$,
|
|
25982
|
+
propTypes: propTypes$12,
|
|
25969
25983
|
displayName: "SpsThead"
|
|
25970
25984
|
});
|
|
25971
|
-
const propsDoc$
|
|
25985
|
+
const propsDoc$_ = {
|
|
25972
25986
|
sort: "SortedColumn",
|
|
25973
25987
|
onSortChange: "SortChangeHandler",
|
|
25974
25988
|
selectable: "boolean"
|
|
25975
25989
|
};
|
|
25976
|
-
const propTypes$
|
|
25990
|
+
const propTypes$11 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
25977
25991
|
onSortChange: fun(),
|
|
25978
|
-
sort: propTypes$
|
|
25979
|
-
selectable: propTypes$
|
|
25992
|
+
sort: propTypes$1M.exports.arrayOf(impl()),
|
|
25993
|
+
selectable: propTypes$1M.exports.bool
|
|
25980
25994
|
});
|
|
25981
25995
|
function SpsTable(props2) {
|
|
25982
25996
|
const _a = props2, {
|
|
@@ -26031,12 +26045,12 @@ function SpsTable(props2) {
|
|
|
26031
26045
|
})));
|
|
26032
26046
|
}
|
|
26033
26047
|
Object.assign(SpsTable, {
|
|
26034
|
-
props: propsDoc$
|
|
26035
|
-
propTypes: propTypes$
|
|
26048
|
+
props: propsDoc$_,
|
|
26049
|
+
propTypes: propTypes$11,
|
|
26036
26050
|
displayName: "SpsTable"
|
|
26037
26051
|
});
|
|
26038
|
-
const propsDoc$
|
|
26039
|
-
const propTypes
|
|
26052
|
+
const propsDoc$Z = {};
|
|
26053
|
+
const propTypes$10 = __spreadValues({}, spsGlobalPropTypes);
|
|
26040
26054
|
function SpsTableBody(props2) {
|
|
26041
26055
|
const _a = props2, {
|
|
26042
26056
|
children,
|
|
@@ -26056,34 +26070,34 @@ function SpsTableBody(props2) {
|
|
|
26056
26070
|
}, rest), children);
|
|
26057
26071
|
}
|
|
26058
26072
|
Object.assign(SpsTableBody, {
|
|
26059
|
-
props: propsDoc$
|
|
26060
|
-
propTypes: propTypes
|
|
26073
|
+
props: propsDoc$Z,
|
|
26074
|
+
propTypes: propTypes$10,
|
|
26061
26075
|
displayName: "SpsTableBody"
|
|
26062
26076
|
});
|
|
26063
26077
|
function SpsTbody(props2) {
|
|
26064
26078
|
return /* @__PURE__ */ React.createElement(SpsTableBody, __spreadValues({}, props2));
|
|
26065
26079
|
}
|
|
26066
26080
|
Object.assign(SpsTbody, {
|
|
26067
|
-
props: propsDoc$
|
|
26068
|
-
propTypes: propTypes
|
|
26081
|
+
props: propsDoc$Z,
|
|
26082
|
+
propTypes: propTypes$10,
|
|
26069
26083
|
displayName: "SpsTbody"
|
|
26070
26084
|
});
|
|
26071
|
-
const propsDoc$
|
|
26085
|
+
const propsDoc$Y = {
|
|
26072
26086
|
buttonCell: "boolean",
|
|
26073
26087
|
controlCell: "boolean",
|
|
26074
26088
|
wrap: "SpsTableCellWrapWidth"
|
|
26075
26089
|
};
|
|
26076
|
-
const propTypes
|
|
26077
|
-
buttonCell: propTypes$
|
|
26078
|
-
controlCell: propTypes$
|
|
26079
|
-
wrap: propTypes$
|
|
26090
|
+
const propTypes$$ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
26091
|
+
buttonCell: propTypes$1M.exports.bool,
|
|
26092
|
+
controlCell: propTypes$1M.exports.bool,
|
|
26093
|
+
wrap: propTypes$1M.exports.oneOf([
|
|
26080
26094
|
200,
|
|
26081
26095
|
300,
|
|
26082
26096
|
400,
|
|
26083
26097
|
500,
|
|
26084
26098
|
600
|
|
26085
26099
|
]),
|
|
26086
|
-
pinned: propTypes$
|
|
26100
|
+
pinned: propTypes$1M.exports.bool
|
|
26087
26101
|
});
|
|
26088
26102
|
function SpsTableCell(props2) {
|
|
26089
26103
|
const _a = props2, {
|
|
@@ -26116,20 +26130,20 @@ function SpsTableCell(props2) {
|
|
|
26116
26130
|
}, rest), children);
|
|
26117
26131
|
}
|
|
26118
26132
|
Object.assign(SpsTableCell, {
|
|
26119
|
-
props: propsDoc$
|
|
26120
|
-
propTypes: propTypes
|
|
26133
|
+
props: propsDoc$Y,
|
|
26134
|
+
propTypes: propTypes$$,
|
|
26121
26135
|
displayName: "SpsTableCell"
|
|
26122
26136
|
});
|
|
26123
26137
|
function SpsTd(props2) {
|
|
26124
26138
|
return /* @__PURE__ */ React.createElement(SpsTableCell, __spreadValues({}, props2));
|
|
26125
26139
|
}
|
|
26126
26140
|
Object.assign(SpsTd, {
|
|
26127
|
-
props: propsDoc$
|
|
26128
|
-
propTypes: propTypes
|
|
26141
|
+
props: propsDoc$Y,
|
|
26142
|
+
propTypes: propTypes$$,
|
|
26129
26143
|
displayName: "SpsTd"
|
|
26130
26144
|
});
|
|
26131
|
-
const propsDoc$
|
|
26132
|
-
const propTypes$
|
|
26145
|
+
const propsDoc$X = {};
|
|
26146
|
+
const propTypes$_ = __spreadValues({}, spsGlobalPropTypes);
|
|
26133
26147
|
const CSS_BLOCK$3 = "sps-icon-button-panel";
|
|
26134
26148
|
function SpsIconButtonPanel(_q) {
|
|
26135
26149
|
var _r = _q, {
|
|
@@ -26148,8 +26162,8 @@ function SpsIconButtonPanel(_q) {
|
|
|
26148
26162
|
}, rest), iconButtons);
|
|
26149
26163
|
}
|
|
26150
26164
|
Object.assign(SpsIconButtonPanel, {
|
|
26151
|
-
props: propsDoc$
|
|
26152
|
-
propTypes: propTypes$
|
|
26165
|
+
props: propsDoc$X,
|
|
26166
|
+
propTypes: propTypes$_,
|
|
26153
26167
|
displayName: "SpsIconButtonPanel"
|
|
26154
26168
|
});
|
|
26155
26169
|
const SpsTableExamples = {
|
|
@@ -27333,8 +27347,8 @@ const SpsListActionBarExamples = {
|
|
|
27333
27347
|
}
|
|
27334
27348
|
}
|
|
27335
27349
|
};
|
|
27336
|
-
const propTypes$
|
|
27337
|
-
tabs: propTypes$
|
|
27350
|
+
const propTypes$Z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27351
|
+
tabs: propTypes$1M.exports.arrayOf(impl()).isRequired,
|
|
27338
27352
|
activeTab: impl(),
|
|
27339
27353
|
onTabChange: fun()
|
|
27340
27354
|
});
|
|
@@ -27398,18 +27412,18 @@ function SpsTabs(props2) {
|
|
|
27398
27412
|
}, tab2.tag)))));
|
|
27399
27413
|
}
|
|
27400
27414
|
Object.assign(SpsTabs, {
|
|
27401
|
-
propTypes: propTypes$
|
|
27415
|
+
propTypes: propTypes$Z,
|
|
27402
27416
|
displayName: "SpsTabs"
|
|
27403
27417
|
});
|
|
27404
|
-
const propsDoc$
|
|
27418
|
+
const propsDoc$W = {
|
|
27405
27419
|
formMeta: "SpsFormSetMeta<any>",
|
|
27406
27420
|
stacked: "boolean"
|
|
27407
27421
|
};
|
|
27408
|
-
const propTypes$
|
|
27422
|
+
const propTypes$Y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27409
27423
|
formArray: impl(),
|
|
27410
27424
|
formGroup: impl(),
|
|
27411
27425
|
formMeta: impl(),
|
|
27412
|
-
stacked: propTypes$
|
|
27426
|
+
stacked: propTypes$1M.exports.bool
|
|
27413
27427
|
});
|
|
27414
27428
|
function SpsInputGroup(_s) {
|
|
27415
27429
|
var _t = _s, {
|
|
@@ -27454,14 +27468,14 @@ function SpsInputGroup(_s) {
|
|
|
27454
27468
|
}, children));
|
|
27455
27469
|
}
|
|
27456
27470
|
Object.assign(SpsInputGroup, {
|
|
27457
|
-
props: propsDoc$
|
|
27458
|
-
propTypes: propTypes$
|
|
27471
|
+
props: propsDoc$W,
|
|
27472
|
+
propTypes: propTypes$Y,
|
|
27459
27473
|
displayName: "SpsInputGroup"
|
|
27460
27474
|
});
|
|
27461
|
-
const propsDoc$
|
|
27475
|
+
const propsDoc$V = {
|
|
27462
27476
|
onSubmit: "FormEventHandler"
|
|
27463
27477
|
};
|
|
27464
|
-
const propTypes$
|
|
27478
|
+
const propTypes$X = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27465
27479
|
onSubmit: fun()
|
|
27466
27480
|
});
|
|
27467
27481
|
function SpsListToolbarSearch(props2) {
|
|
@@ -27484,9 +27498,22 @@ function SpsListToolbarSearch(props2) {
|
|
|
27484
27498
|
}, children));
|
|
27485
27499
|
}
|
|
27486
27500
|
Object.assign(SpsListToolbarSearch, {
|
|
27501
|
+
props: propsDoc$V,
|
|
27502
|
+
propTypes: propTypes$X,
|
|
27503
|
+
displayName: "SpsListToolbarSearch"
|
|
27504
|
+
});
|
|
27505
|
+
const propsDoc$U = {};
|
|
27506
|
+
const propTypes$W = __spreadValues({}, spsGlobalPropTypes);
|
|
27507
|
+
function SpsListToolbarSearchInfo(props2) {
|
|
27508
|
+
const {
|
|
27509
|
+
children
|
|
27510
|
+
} = props2;
|
|
27511
|
+
return /* @__PURE__ */ React.createElement("div", null, children);
|
|
27512
|
+
}
|
|
27513
|
+
Object.assign(SpsListToolbarSearchInfo, {
|
|
27487
27514
|
props: propsDoc$U,
|
|
27488
27515
|
propTypes: propTypes$W,
|
|
27489
|
-
displayName: "
|
|
27516
|
+
displayName: "SpsListToolbarSearchInfo"
|
|
27490
27517
|
});
|
|
27491
27518
|
const propsDoc$T = {
|
|
27492
27519
|
activeTab: "SpsTab",
|
|
@@ -27503,18 +27530,18 @@ const propsDoc$T = {
|
|
|
27503
27530
|
};
|
|
27504
27531
|
const propTypes$V = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
27505
27532
|
activeTab: impl(),
|
|
27506
|
-
advancedSearch: propTypes$
|
|
27507
|
-
isOpen: propTypes$
|
|
27508
|
-
enteredFields: propTypes$
|
|
27533
|
+
advancedSearch: propTypes$1M.exports.shape({
|
|
27534
|
+
isOpen: propTypes$1M.exports.bool,
|
|
27535
|
+
enteredFields: propTypes$1M.exports.number
|
|
27509
27536
|
}),
|
|
27510
27537
|
onToggleAdvancedSearch: fun(),
|
|
27511
27538
|
onTabChange: fun(),
|
|
27512
|
-
title: propTypes$
|
|
27513
|
-
tabs: propTypes$
|
|
27539
|
+
title: propTypes$1M.exports.string,
|
|
27540
|
+
tabs: propTypes$1M.exports.arrayOf(impl()),
|
|
27514
27541
|
onToolbarPinned: fun(),
|
|
27515
|
-
selectable: propTypes$
|
|
27516
|
-
isSelected: propTypes$
|
|
27517
|
-
isIndeterminate: propTypes$
|
|
27542
|
+
selectable: propTypes$1M.exports.bool,
|
|
27543
|
+
isSelected: propTypes$1M.exports.bool,
|
|
27544
|
+
isIndeterminate: propTypes$1M.exports.bool,
|
|
27518
27545
|
onSelectionChange: fun()
|
|
27519
27546
|
});
|
|
27520
27547
|
function SpsListToolbar(props2) {
|
|
@@ -27618,8 +27645,13 @@ function SpsListToolbar(props2) {
|
|
|
27618
27645
|
emitToolbarPinned(isPinned);
|
|
27619
27646
|
}, [isPinned]);
|
|
27620
27647
|
const classes = clsx(unsafelyReplaceClassName || "sps-list-toolbar", isPinned && "sps-list-toolbar--pinned", isPinned && "z-stratum-bar", advancedSearch && advancedSearch.isOpen && "sps-list-toolbar--advanced-search-open", className);
|
|
27621
|
-
const [
|
|
27622
|
-
|
|
27648
|
+
const [
|
|
27649
|
+
listToolbarSearch,
|
|
27650
|
+
listToolbarSearchInfo,
|
|
27651
|
+
otherChildren
|
|
27652
|
+
] = selectChildren(children, [
|
|
27653
|
+
{ type: SpsListToolbarSearch },
|
|
27654
|
+
{ type: SpsListToolbarSearchInfo }
|
|
27623
27655
|
]);
|
|
27624
27656
|
return /* @__PURE__ */ React.createElement("div", {
|
|
27625
27657
|
className: "sps-list-toolbar__wrapper",
|
|
@@ -27643,7 +27675,7 @@ function SpsListToolbar(props2) {
|
|
|
27643
27675
|
"data-testid": `${testId}__tabs`
|
|
27644
27676
|
}), /* @__PURE__ */ React.createElement("div", {
|
|
27645
27677
|
className: "sps-list-toolbar__search-controls"
|
|
27646
|
-
}, !title && listToolbarSearch, listToolbarSearch.length > 0 && advancedSearch && /* @__PURE__ */ React.createElement("div", {
|
|
27678
|
+
}, !title && listToolbarSearch, !title && listToolbarSearchInfo, listToolbarSearch.length > 0 && advancedSearch && /* @__PURE__ */ React.createElement("div", {
|
|
27647
27679
|
className: "sps-list-toolbar__advanced-search-toggle",
|
|
27648
27680
|
"data-testid": `${testId}__advanced-search`
|
|
27649
27681
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
@@ -27918,6 +27950,50 @@ const SpsListToolbarExamples = {
|
|
|
27918
27950
|
)
|
|
27919
27951
|
}
|
|
27920
27952
|
`
|
|
27953
|
+
},
|
|
27954
|
+
searchInfo: {
|
|
27955
|
+
description: () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h5", null, "Search Info"), /* @__PURE__ */ React.createElement("p", null, "Use SpsListToolbarSearchInfo component to add additional information about your search.")),
|
|
27956
|
+
react: code`
|
|
27957
|
+
function Component() {
|
|
27958
|
+
const filterKeys = ["Key Item ID", "Document Type", "Sender Name", "Receiver Name"];
|
|
27959
|
+
|
|
27960
|
+
const { formValue, formMeta, updateForm } = useSpsForm({
|
|
27961
|
+
searchText: "",
|
|
27962
|
+
filterOption: filterKeys[0],
|
|
27963
|
+
});
|
|
27964
|
+
|
|
27965
|
+
function handleSearch(event) {
|
|
27966
|
+
console.log(event, formValue.searchText)
|
|
27967
|
+
}
|
|
27968
|
+
|
|
27969
|
+
return (
|
|
27970
|
+
<SpsListToolbar>
|
|
27971
|
+
<SpsListToolbarSearch onSubmit={handleSearch}>
|
|
27972
|
+
<SpsSelect
|
|
27973
|
+
options={filterKeys}
|
|
27974
|
+
formMeta={formMeta.fields.filterOption}
|
|
27975
|
+
value={formValue.filterOption}
|
|
27976
|
+
notClearable
|
|
27977
|
+
/>
|
|
27978
|
+
<SpsTextInput
|
|
27979
|
+
value={formValue.searchText}
|
|
27980
|
+
formMeta={formMeta.fields.searchText}
|
|
27981
|
+
icon={SpsIcon.FILTER}
|
|
27982
|
+
placeholder="Filter fields"
|
|
27983
|
+
/>
|
|
27984
|
+
</SpsListToolbarSearch>
|
|
27985
|
+
<SpsListToolbarSearchInfo>
|
|
27986
|
+
<div style={{ display: 'flex', alignItems: 'center'}}>
|
|
27987
|
+
<span style={{ marginRight: 5 }} >
|
|
27988
|
+
Key Item ID = Vendor Part Number
|
|
27989
|
+
</span>
|
|
27990
|
+
<SpsI icon={SpsIcon.INFO_CIRCLE} className="blue200"/>
|
|
27991
|
+
</div>
|
|
27992
|
+
</SpsListToolbarSearchInfo>
|
|
27993
|
+
</SpsListToolbar>
|
|
27994
|
+
)
|
|
27995
|
+
}
|
|
27996
|
+
`
|
|
27921
27997
|
}
|
|
27922
27998
|
}
|
|
27923
27999
|
},
|
|
@@ -28133,7 +28209,7 @@ const propsDoc$S = {
|
|
|
28133
28209
|
};
|
|
28134
28210
|
const propTypes$U = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28135
28211
|
kind: enumValue(FeedbackBlockKind),
|
|
28136
|
-
message: propTypes$
|
|
28212
|
+
message: propTypes$1M.exports.node.isRequired
|
|
28137
28213
|
});
|
|
28138
28214
|
function SpsMicroBlock(props2) {
|
|
28139
28215
|
const _a = props2, {
|
|
@@ -28226,7 +28302,7 @@ const propsDoc$R = {
|
|
|
28226
28302
|
const propTypes$T = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28227
28303
|
kind: enumValue(ModalKind),
|
|
28228
28304
|
size: enumValue(ModalSize),
|
|
28229
|
-
title: propTypes$
|
|
28305
|
+
title: propTypes$1M.exports.string,
|
|
28230
28306
|
onClose: fun(),
|
|
28231
28307
|
focusElementOnOpen: ref()
|
|
28232
28308
|
});
|
|
@@ -28805,6 +28881,7 @@ const propsDoc$Q = {
|
|
|
28805
28881
|
debounce: "number",
|
|
28806
28882
|
disabled: "boolean",
|
|
28807
28883
|
disableSelected: "boolean",
|
|
28884
|
+
comparisonKey: "string",
|
|
28808
28885
|
formMeta: "SpsFormFieldMeta<any[]>",
|
|
28809
28886
|
hideSelected: "boolean",
|
|
28810
28887
|
icon: "SpsIcon",
|
|
@@ -28819,26 +28896,27 @@ const propsDoc$Q = {
|
|
|
28819
28896
|
};
|
|
28820
28897
|
const propTypes$S = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
28821
28898
|
action: fun(),
|
|
28822
|
-
captionKey: propTypes$
|
|
28823
|
-
debounce: propTypes$
|
|
28824
|
-
disabled: propTypes$
|
|
28825
|
-
disableSelected: propTypes$
|
|
28899
|
+
captionKey: propTypes$1M.exports.string,
|
|
28900
|
+
debounce: propTypes$1M.exports.number,
|
|
28901
|
+
disabled: propTypes$1M.exports.bool,
|
|
28902
|
+
disableSelected: propTypes$1M.exports.bool,
|
|
28903
|
+
comparisonKey: propTypes$1M.exports.string,
|
|
28826
28904
|
formControl: impl(),
|
|
28827
28905
|
formMeta: impl(),
|
|
28828
|
-
hideSelected: propTypes$
|
|
28906
|
+
hideSelected: propTypes$1M.exports.bool,
|
|
28829
28907
|
icon: enumValue(SpsIcon),
|
|
28830
28908
|
onChange: fun(),
|
|
28831
|
-
options: propTypes$
|
|
28832
|
-
propTypes$
|
|
28833
|
-
propTypes$
|
|
28909
|
+
options: propTypes$1M.exports.oneOfType([
|
|
28910
|
+
propTypes$1M.exports.array,
|
|
28911
|
+
propTypes$1M.exports.instanceOf(Promise),
|
|
28834
28912
|
fun()
|
|
28835
28913
|
]).isRequired,
|
|
28836
|
-
placeholder: propTypes$
|
|
28837
|
-
tallOptionList: propTypes$
|
|
28838
|
-
textKey: propTypes$
|
|
28839
|
-
value: propTypes$
|
|
28840
|
-
zeroState: propTypes$
|
|
28841
|
-
loading: propTypes$
|
|
28914
|
+
placeholder: propTypes$1M.exports.string,
|
|
28915
|
+
tallOptionList: propTypes$1M.exports.bool,
|
|
28916
|
+
textKey: propTypes$1M.exports.string,
|
|
28917
|
+
value: propTypes$1M.exports.any,
|
|
28918
|
+
zeroState: propTypes$1M.exports.string,
|
|
28919
|
+
loading: propTypes$1M.exports.bool
|
|
28842
28920
|
});
|
|
28843
28921
|
function SpsMultiSelect(_w) {
|
|
28844
28922
|
var _x = _w, {
|
|
@@ -28848,6 +28926,7 @@ function SpsMultiSelect(_w) {
|
|
|
28848
28926
|
debounce: debounce2,
|
|
28849
28927
|
disabled,
|
|
28850
28928
|
disableSelected = false,
|
|
28929
|
+
comparisonKey,
|
|
28851
28930
|
formControl: formControl2,
|
|
28852
28931
|
formMeta,
|
|
28853
28932
|
hideSelected,
|
|
@@ -28869,6 +28948,7 @@ function SpsMultiSelect(_w) {
|
|
|
28869
28948
|
"debounce",
|
|
28870
28949
|
"disabled",
|
|
28871
28950
|
"disableSelected",
|
|
28951
|
+
"comparisonKey",
|
|
28872
28952
|
"formControl",
|
|
28873
28953
|
"formMeta",
|
|
28874
28954
|
"hideSelected",
|
|
@@ -29063,6 +29143,7 @@ function SpsMultiSelect(_w) {
|
|
|
29063
29143
|
captionKey,
|
|
29064
29144
|
disabledOptions: disableSelected ? value : null,
|
|
29065
29145
|
isOpen: showPopup,
|
|
29146
|
+
comparisonKey,
|
|
29066
29147
|
keepOpen: true,
|
|
29067
29148
|
keyDown: state.keyDown,
|
|
29068
29149
|
options,
|
|
@@ -29391,29 +29472,29 @@ const propsDoc$N = {
|
|
|
29391
29472
|
};
|
|
29392
29473
|
const propTypes$P = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
29393
29474
|
action: fun(),
|
|
29394
|
-
captionKey: propTypes$
|
|
29395
|
-
comparisonKey: propTypes$
|
|
29396
|
-
disabled: propTypes$
|
|
29475
|
+
captionKey: propTypes$1M.exports.string,
|
|
29476
|
+
comparisonKey: propTypes$1M.exports.string,
|
|
29477
|
+
disabled: propTypes$1M.exports.bool,
|
|
29397
29478
|
formControl: impl(),
|
|
29398
29479
|
formMeta: impl(),
|
|
29399
|
-
notClearable: propTypes$
|
|
29400
|
-
options: propTypes$
|
|
29401
|
-
propTypes$
|
|
29402
|
-
propTypes$
|
|
29480
|
+
notClearable: propTypes$1M.exports.bool,
|
|
29481
|
+
options: propTypes$1M.exports.oneOfType([
|
|
29482
|
+
propTypes$1M.exports.array,
|
|
29483
|
+
propTypes$1M.exports.instanceOf(Promise),
|
|
29403
29484
|
fun()
|
|
29404
29485
|
]).isRequired,
|
|
29405
29486
|
onChange: fun(),
|
|
29406
|
-
placeholder: propTypes$
|
|
29407
|
-
searchDebounce: propTypes$
|
|
29408
|
-
searchPlaceholder: propTypes$
|
|
29409
|
-
tallOptionList: propTypes$
|
|
29410
|
-
textKey: propTypes$
|
|
29411
|
-
valueKey: propTypes$
|
|
29412
|
-
value: propTypes$
|
|
29413
|
-
zeroState: propTypes$
|
|
29414
|
-
autoFixWidth: propTypes$
|
|
29415
|
-
loading: propTypes$
|
|
29416
|
-
filterByTextAndCaptionKey: propTypes$
|
|
29487
|
+
placeholder: propTypes$1M.exports.string,
|
|
29488
|
+
searchDebounce: propTypes$1M.exports.number,
|
|
29489
|
+
searchPlaceholder: propTypes$1M.exports.string,
|
|
29490
|
+
tallOptionList: propTypes$1M.exports.bool,
|
|
29491
|
+
textKey: propTypes$1M.exports.string,
|
|
29492
|
+
valueKey: propTypes$1M.exports.string,
|
|
29493
|
+
value: propTypes$1M.exports.any,
|
|
29494
|
+
zeroState: propTypes$1M.exports.string,
|
|
29495
|
+
autoFixWidth: propTypes$1M.exports.bool,
|
|
29496
|
+
loading: propTypes$1M.exports.bool,
|
|
29497
|
+
filterByTextAndCaptionKey: propTypes$1M.exports.bool
|
|
29417
29498
|
});
|
|
29418
29499
|
const SpsSelect = React.forwardRef((props2, ref2) => {
|
|
29419
29500
|
const _a = props2, {
|
|
@@ -29642,10 +29723,10 @@ const propsDoc$M = {
|
|
|
29642
29723
|
disabled: "boolean"
|
|
29643
29724
|
};
|
|
29644
29725
|
const propTypes$O = __spreadValues({
|
|
29645
|
-
numPages: propTypes$
|
|
29726
|
+
numPages: propTypes$1M.exports.number,
|
|
29646
29727
|
onPageChange: fun(),
|
|
29647
|
-
page: propTypes$
|
|
29648
|
-
disabled: propTypes$
|
|
29728
|
+
page: propTypes$1M.exports.number,
|
|
29729
|
+
disabled: propTypes$1M.exports.bool
|
|
29649
29730
|
}, spsGlobalPropTypes);
|
|
29650
29731
|
function SpsPageSelector(props2) {
|
|
29651
29732
|
const _a = props2, {
|
|
@@ -29752,11 +29833,11 @@ const propsDoc$L = {
|
|
|
29752
29833
|
};
|
|
29753
29834
|
const propTypes$N = __spreadValues({
|
|
29754
29835
|
onPageChange: fun().isRequired,
|
|
29755
|
-
page: propTypes$
|
|
29756
|
-
pageSize: propTypes$
|
|
29757
|
-
pageSizeOptions: propTypes$
|
|
29758
|
-
totalResults: propTypes$
|
|
29759
|
-
disabled: propTypes$
|
|
29836
|
+
page: propTypes$1M.exports.number,
|
|
29837
|
+
pageSize: propTypes$1M.exports.number,
|
|
29838
|
+
pageSizeOptions: propTypes$1M.exports.arrayOf(propTypes$1M.exports.number),
|
|
29839
|
+
totalResults: propTypes$1M.exports.number,
|
|
29840
|
+
disabled: propTypes$1M.exports.bool
|
|
29760
29841
|
}, spsGlobalPropTypes);
|
|
29761
29842
|
function SpsPagination(props2) {
|
|
29762
29843
|
const _a = props2, {
|
|
@@ -30001,14 +30082,14 @@ const propsDoc$J = {
|
|
|
30001
30082
|
tabs: "Array<string>"
|
|
30002
30083
|
};
|
|
30003
30084
|
const propTypes$M = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
30004
|
-
activeTab: propTypes$
|
|
30005
|
-
fullWidth: propTypes$
|
|
30085
|
+
activeTab: propTypes$1M.exports.string,
|
|
30086
|
+
fullWidth: propTypes$1M.exports.bool,
|
|
30006
30087
|
onTabChange: fun(),
|
|
30007
30088
|
onProductNameClick: fun(),
|
|
30008
|
-
productLogoSrc: propTypes$
|
|
30009
|
-
productName: propTypes$
|
|
30010
|
-
productNameHref: propTypes$
|
|
30011
|
-
tabs: propTypes$
|
|
30089
|
+
productLogoSrc: propTypes$1M.exports.string,
|
|
30090
|
+
productName: propTypes$1M.exports.string.isRequired,
|
|
30091
|
+
productNameHref: propTypes$1M.exports.string,
|
|
30092
|
+
tabs: propTypes$1M.exports.arrayOf(propTypes$1M.exports.string)
|
|
30012
30093
|
});
|
|
30013
30094
|
function SpsProductBar(props2) {
|
|
30014
30095
|
const _a = props2, {
|
|
@@ -30231,10 +30312,10 @@ const propsDoc$I = {
|
|
|
30231
30312
|
onClose: "() => void"
|
|
30232
30313
|
};
|
|
30233
30314
|
const propTypes$L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
30234
|
-
percentComplete: propTypes$
|
|
30235
|
-
title: propTypes$
|
|
30236
|
-
detail: propTypes$
|
|
30237
|
-
disabled: propTypes$
|
|
30315
|
+
percentComplete: propTypes$1M.exports.number,
|
|
30316
|
+
title: propTypes$1M.exports.string,
|
|
30317
|
+
detail: propTypes$1M.exports.string,
|
|
30318
|
+
disabled: propTypes$1M.exports.bool,
|
|
30238
30319
|
onClose: fun()
|
|
30239
30320
|
});
|
|
30240
30321
|
function SpsProgressBar(props2) {
|
|
@@ -30351,6 +30432,37 @@ const SpsSteppedProgressBarExamples = {
|
|
|
30351
30432
|
}
|
|
30352
30433
|
`
|
|
30353
30434
|
},
|
|
30435
|
+
color: {
|
|
30436
|
+
description: () => /* @__PURE__ */ React.createElement("h4", null, "Alternate Color"),
|
|
30437
|
+
react: code`
|
|
30438
|
+
function Component() {
|
|
30439
|
+
const iconsData = [
|
|
30440
|
+
{index: 4, icon: SpsIcon.CALENDAR},
|
|
30441
|
+
{index: 8, icon: SpsIcon.CALENDAR},
|
|
30442
|
+
];
|
|
30443
|
+
const tooltipsData = [
|
|
30444
|
+
{index: 0, title: 'Title 1', description: 'Description'},
|
|
30445
|
+
{index: 4, title: 'Title 5', description: 'Description'},
|
|
30446
|
+
{index: 8, title: 'Title 9', description: 'Description'},
|
|
30447
|
+
{index: 11, title: 'Title 12', description: 'Description'},
|
|
30448
|
+
]
|
|
30449
|
+
|
|
30450
|
+
return (
|
|
30451
|
+
<SpsCard>
|
|
30452
|
+
<SpsSteppedProgressBar
|
|
30453
|
+
title="Process Name"
|
|
30454
|
+
showStepsCounter={true}
|
|
30455
|
+
stepsCount={12}
|
|
30456
|
+
completedStepsCount={4}
|
|
30457
|
+
icons={iconsData}
|
|
30458
|
+
tooltipsData={tooltipsData}
|
|
30459
|
+
color={SteppedProgressBarColor.GRAY}
|
|
30460
|
+
/>
|
|
30461
|
+
</SpsCard>
|
|
30462
|
+
)
|
|
30463
|
+
}
|
|
30464
|
+
`
|
|
30465
|
+
},
|
|
30354
30466
|
completed: {
|
|
30355
30467
|
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.")),
|
|
30356
30468
|
react: code`
|
|
@@ -30940,16 +31052,18 @@ const propsDoc$G = {
|
|
|
30940
31052
|
disabled: "boolean",
|
|
30941
31053
|
showStepsCounter: "boolean",
|
|
30942
31054
|
icons: "IconsProps[]",
|
|
30943
|
-
tooltipsData: "TooltipsProps[]"
|
|
31055
|
+
tooltipsData: "TooltipsProps[]",
|
|
31056
|
+
color: "SteppedProgressBarColor"
|
|
30944
31057
|
};
|
|
30945
31058
|
const propTypes$J = {
|
|
30946
|
-
title: propTypes$
|
|
30947
|
-
stepsCount: propTypes$
|
|
30948
|
-
completedStepsCount: propTypes$
|
|
30949
|
-
disabled: propTypes$
|
|
30950
|
-
showStepsCounter: propTypes$
|
|
30951
|
-
icons: propTypes$
|
|
30952
|
-
tooltipsData: propTypes$
|
|
31059
|
+
title: propTypes$1M.exports.string,
|
|
31060
|
+
stepsCount: propTypes$1M.exports.number,
|
|
31061
|
+
completedStepsCount: propTypes$1M.exports.number,
|
|
31062
|
+
disabled: propTypes$1M.exports.bool,
|
|
31063
|
+
showStepsCounter: propTypes$1M.exports.bool,
|
|
31064
|
+
icons: propTypes$1M.exports.arrayOf(impl()),
|
|
31065
|
+
tooltipsData: propTypes$1M.exports.arrayOf(impl()),
|
|
31066
|
+
color: enumValue(SteppedProgressBarColor)
|
|
30953
31067
|
};
|
|
30954
31068
|
function SpsSteppedProgressBar(props2) {
|
|
30955
31069
|
const {
|
|
@@ -30960,7 +31074,8 @@ function SpsSteppedProgressBar(props2) {
|
|
|
30960
31074
|
showStepsCounter,
|
|
30961
31075
|
icons,
|
|
30962
31076
|
tooltipsData,
|
|
30963
|
-
className
|
|
31077
|
+
className,
|
|
31078
|
+
color = SteppedProgressBarColor.PURPLE
|
|
30964
31079
|
} = props2;
|
|
30965
31080
|
function findIcon(idx) {
|
|
30966
31081
|
return icons && icons.find((i2) => i2.index === idx);
|
|
@@ -30969,7 +31084,7 @@ function SpsSteppedProgressBar(props2) {
|
|
|
30969
31084
|
return tooltipsData && tooltipsData.find((i2) => i2.index === idx);
|
|
30970
31085
|
}
|
|
30971
31086
|
const data = Array.from(Array(stepsCount)).map(() => useElementId(null).current);
|
|
30972
|
-
const classes = clsx("sps-stepped-progress-bar", completedStepsCount === stepsCount && "sps-stepped-progress-bar--complete", disabled && "sps-stepped-progress-bar--disabled", className);
|
|
31087
|
+
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);
|
|
30973
31088
|
return /* @__PURE__ */ React.createElement("div", {
|
|
30974
31089
|
className: classes
|
|
30975
31090
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
@@ -31106,16 +31221,16 @@ const propsDoc$F = {
|
|
|
31106
31221
|
value: "any"
|
|
31107
31222
|
};
|
|
31108
31223
|
const propTypes$I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
31109
|
-
checked: propTypes$
|
|
31110
|
-
disabled: propTypes$
|
|
31224
|
+
checked: propTypes$1M.exports.bool,
|
|
31225
|
+
disabled: propTypes$1M.exports.bool,
|
|
31111
31226
|
formControl: impl(),
|
|
31112
31227
|
formMeta: impl(),
|
|
31113
|
-
inline: propTypes$
|
|
31114
|
-
label: propTypes$
|
|
31115
|
-
name: propTypes$
|
|
31228
|
+
inline: propTypes$1M.exports.bool,
|
|
31229
|
+
label: propTypes$1M.exports.string,
|
|
31230
|
+
name: propTypes$1M.exports.string.isRequired,
|
|
31116
31231
|
onChange: fun(),
|
|
31117
31232
|
ref: ref(),
|
|
31118
|
-
value: propTypes$
|
|
31233
|
+
value: propTypes$1M.exports.any
|
|
31119
31234
|
});
|
|
31120
31235
|
function SpsRadioButton(_y) {
|
|
31121
31236
|
var _z = _y, {
|
|
@@ -31280,7 +31395,7 @@ const propsDoc$E = {
|
|
|
31280
31395
|
maxHeight: "string"
|
|
31281
31396
|
};
|
|
31282
31397
|
const propTypes$H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
31283
|
-
maxHeight: propTypes$
|
|
31398
|
+
maxHeight: propTypes$1M.exports.string
|
|
31284
31399
|
});
|
|
31285
31400
|
function SpsScrollableContainer(props2) {
|
|
31286
31401
|
const {
|
|
@@ -31380,8 +31495,8 @@ const propsDoc$D = {
|
|
|
31380
31495
|
onClear: "() => void"
|
|
31381
31496
|
};
|
|
31382
31497
|
const propTypes$G = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
31383
|
-
resultsCount: propTypes$
|
|
31384
|
-
totalResults: propTypes$
|
|
31498
|
+
resultsCount: propTypes$1M.exports.number,
|
|
31499
|
+
totalResults: propTypes$1M.exports.number,
|
|
31385
31500
|
onClear: fun()
|
|
31386
31501
|
});
|
|
31387
31502
|
function SpsSearchResultsBar(props2) {
|
|
@@ -32241,12 +32356,12 @@ const propsDoc$C = {
|
|
|
32241
32356
|
widthRem: "number"
|
|
32242
32357
|
};
|
|
32243
32358
|
const propTypes$F = __spreadValues({
|
|
32244
|
-
sortKey: propTypes$
|
|
32245
|
-
sortDisabled: propTypes$
|
|
32246
|
-
sort: propTypes$
|
|
32359
|
+
sortKey: propTypes$1M.exports.string,
|
|
32360
|
+
sortDisabled: propTypes$1M.exports.bool,
|
|
32361
|
+
sort: propTypes$1M.exports.arrayOf(impl()),
|
|
32247
32362
|
onSortChange: fun(),
|
|
32248
|
-
widthPx: propTypes$
|
|
32249
|
-
widthRem: propTypes$
|
|
32363
|
+
widthPx: propTypes$1M.exports.number,
|
|
32364
|
+
widthRem: propTypes$1M.exports.number
|
|
32250
32365
|
}, spsGlobalPropTypes);
|
|
32251
32366
|
function SpsSortingHeaderCell(_A) {
|
|
32252
32367
|
var _B = _A, {
|
|
@@ -32316,7 +32431,7 @@ const propsDoc$B = {
|
|
|
32316
32431
|
onSortChange: "SortChangeHandler"
|
|
32317
32432
|
};
|
|
32318
32433
|
const propTypes$E = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32319
|
-
sort: propTypes$
|
|
32434
|
+
sort: propTypes$1M.exports.arrayOf(impl()),
|
|
32320
32435
|
onSortChange: fun()
|
|
32321
32436
|
});
|
|
32322
32437
|
function SpsSortingHeader(_C) {
|
|
@@ -32394,12 +32509,12 @@ const propsDoc$A = {
|
|
|
32394
32509
|
options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
|
|
32395
32510
|
};
|
|
32396
32511
|
const propTypes$D = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32397
|
-
disabled: propTypes$
|
|
32398
|
-
href: propTypes$
|
|
32399
|
-
label: propTypes$
|
|
32512
|
+
disabled: propTypes$1M.exports.bool,
|
|
32513
|
+
href: propTypes$1M.exports.string,
|
|
32514
|
+
label: propTypes$1M.exports.string,
|
|
32400
32515
|
icon: enumValue(SpsIcon),
|
|
32401
32516
|
kind: enumValue(StdButtonKind),
|
|
32402
|
-
options: propTypes$
|
|
32517
|
+
options: propTypes$1M.exports.arrayOf(propTypes$1M.exports.oneOfType([propTypes$1M.exports.func, propTypes$1M.exports.any]))
|
|
32403
32518
|
});
|
|
32404
32519
|
function SpsSplitButton(props2) {
|
|
32405
32520
|
const _a = props2, {
|
|
@@ -32556,7 +32671,7 @@ const propsDoc$z = {
|
|
|
32556
32671
|
channelId: { type: "string", required: true }
|
|
32557
32672
|
};
|
|
32558
32673
|
const propTypes$C = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32559
|
-
channelId: propTypes$
|
|
32674
|
+
channelId: propTypes$1M.exports.string.isRequired
|
|
32560
32675
|
});
|
|
32561
32676
|
function SpsSlackLink(props2) {
|
|
32562
32677
|
const _a = props2, {
|
|
@@ -32638,8 +32753,8 @@ const propsDoc$x = {
|
|
|
32638
32753
|
onToggle: "(isExpanded: boolean) => void"
|
|
32639
32754
|
};
|
|
32640
32755
|
const propTypes$A = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32641
|
-
expanded: propTypes$
|
|
32642
|
-
selected: propTypes$
|
|
32756
|
+
expanded: propTypes$1M.exports.bool,
|
|
32757
|
+
selected: propTypes$1M.exports.bool,
|
|
32643
32758
|
onToggle: fun()
|
|
32644
32759
|
});
|
|
32645
32760
|
function SpsSummaryListRow(props2) {
|
|
@@ -32721,10 +32836,10 @@ const propsDoc$w = {
|
|
|
32721
32836
|
width: "string"
|
|
32722
32837
|
};
|
|
32723
32838
|
const propTypes$z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
32724
|
-
borderless: propTypes$
|
|
32725
|
-
lean: propTypes$
|
|
32726
|
-
leaner: propTypes$
|
|
32727
|
-
width: propTypes$
|
|
32839
|
+
borderless: propTypes$1M.exports.bool,
|
|
32840
|
+
lean: propTypes$1M.exports.bool,
|
|
32841
|
+
leaner: propTypes$1M.exports.bool,
|
|
32842
|
+
width: propTypes$1M.exports.string
|
|
32728
32843
|
});
|
|
32729
32844
|
function SpsSummaryListColumn(props2) {
|
|
32730
32845
|
const _a = props2, {
|
|
@@ -33057,17 +33172,17 @@ const props = {
|
|
|
33057
33172
|
suppressTooltips: "boolean"
|
|
33058
33173
|
};
|
|
33059
33174
|
const propTypes$y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33060
|
-
tasks: propTypes$
|
|
33175
|
+
tasks: propTypes$1M.exports.arrayOf(propTypes$1M.exports.any),
|
|
33061
33176
|
taskQueuePosition: enumValue(Position),
|
|
33062
|
-
notificationText: propTypes$
|
|
33063
|
-
tooltipConfig: propTypes$
|
|
33177
|
+
notificationText: propTypes$1M.exports.string,
|
|
33178
|
+
tooltipConfig: propTypes$1M.exports.shape({
|
|
33064
33179
|
position: enumValue(Position),
|
|
33065
33180
|
kind: enumValue(TooltipKind)
|
|
33066
33181
|
}),
|
|
33067
33182
|
onClose: fun(),
|
|
33068
33183
|
onOpen: fun(),
|
|
33069
33184
|
onClearCompleted: fun(),
|
|
33070
|
-
suppressTooltips: propTypes$
|
|
33185
|
+
suppressTooltips: propTypes$1M.exports.bool
|
|
33071
33186
|
});
|
|
33072
33187
|
function SpsTaskQueue(_E) {
|
|
33073
33188
|
var _F = _E, {
|
|
@@ -33603,14 +33718,14 @@ const propsDoc$v = {
|
|
|
33603
33718
|
value: "string"
|
|
33604
33719
|
};
|
|
33605
33720
|
const propTypes$x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33606
|
-
disabled: propTypes$
|
|
33721
|
+
disabled: propTypes$1M.exports.bool,
|
|
33607
33722
|
formControl: impl(),
|
|
33608
33723
|
formMeta: impl(),
|
|
33609
33724
|
icon: enumValue(SpsIcon),
|
|
33610
|
-
name: propTypes$
|
|
33725
|
+
name: propTypes$1M.exports.string,
|
|
33611
33726
|
onChange: fun(),
|
|
33612
|
-
placeholder: propTypes$
|
|
33613
|
-
value: propTypes$
|
|
33727
|
+
placeholder: propTypes$1M.exports.string,
|
|
33728
|
+
value: propTypes$1M.exports.string
|
|
33614
33729
|
});
|
|
33615
33730
|
const SpsTextInput = React.forwardRef((_G, ref2) => {
|
|
33616
33731
|
var _H = _G, {
|
|
@@ -33799,15 +33914,15 @@ const propsDoc$u = {
|
|
|
33799
33914
|
value: "string"
|
|
33800
33915
|
};
|
|
33801
33916
|
const propTypes$w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
33802
|
-
disabled: propTypes$
|
|
33917
|
+
disabled: propTypes$1M.exports.bool,
|
|
33803
33918
|
formControl: impl(),
|
|
33804
33919
|
formMeta: impl(),
|
|
33805
|
-
name: propTypes$
|
|
33920
|
+
name: propTypes$1M.exports.string,
|
|
33806
33921
|
onChange: fun(),
|
|
33807
|
-
placeholder: propTypes$
|
|
33922
|
+
placeholder: propTypes$1M.exports.string,
|
|
33808
33923
|
ref: ref(),
|
|
33809
|
-
rows: propTypes$
|
|
33810
|
-
value: propTypes$
|
|
33924
|
+
rows: propTypes$1M.exports.number,
|
|
33925
|
+
value: propTypes$1M.exports.string
|
|
33811
33926
|
});
|
|
33812
33927
|
function SpsTextarea(_I) {
|
|
33813
33928
|
var _J = _I, {
|
|
@@ -34001,12 +34116,12 @@ const propsDoc$t = {
|
|
|
34001
34116
|
warning: "boolean"
|
|
34002
34117
|
};
|
|
34003
34118
|
const propTypes$v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34004
|
-
href: propTypes$
|
|
34005
|
-
target: propTypes$
|
|
34119
|
+
href: propTypes$1M.exports.string,
|
|
34120
|
+
target: propTypes$1M.exports.string,
|
|
34006
34121
|
icon: nodeOrRenderFn.isRequired,
|
|
34007
|
-
error: propTypes$
|
|
34008
|
-
title: propTypes$
|
|
34009
|
-
warning: propTypes$
|
|
34122
|
+
error: propTypes$1M.exports.bool,
|
|
34123
|
+
title: propTypes$1M.exports.string.isRequired,
|
|
34124
|
+
warning: propTypes$1M.exports.bool
|
|
34010
34125
|
});
|
|
34011
34126
|
function SpsTile(props2) {
|
|
34012
34127
|
const _a = props2, {
|
|
@@ -34325,10 +34440,10 @@ const propsDoc$r = {
|
|
|
34325
34440
|
active: "boolean"
|
|
34326
34441
|
};
|
|
34327
34442
|
const propTypes$t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34328
|
-
value: propTypes$
|
|
34329
|
-
title: propTypes$
|
|
34443
|
+
value: propTypes$1M.exports.number.isRequired,
|
|
34444
|
+
title: propTypes$1M.exports.string.isRequired,
|
|
34330
34445
|
kind: enumValue(SpsFilterTileKind),
|
|
34331
|
-
active: propTypes$
|
|
34446
|
+
active: propTypes$1M.exports.bool
|
|
34332
34447
|
});
|
|
34333
34448
|
function SpsFilterTile(props2) {
|
|
34334
34449
|
const _a = props2, {
|
|
@@ -34466,18 +34581,18 @@ const propsDoc$p = {
|
|
|
34466
34581
|
onChange: "(isActive: boolean) => void"
|
|
34467
34582
|
};
|
|
34468
34583
|
const propTypes$r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34469
|
-
active: propTypes$
|
|
34470
|
-
activeDescription: deprecated(propTypes$
|
|
34471
|
-
activeLabel: deprecated(propTypes$
|
|
34472
|
-
description: propTypes$
|
|
34473
|
-
disabled: propTypes$
|
|
34584
|
+
active: propTypes$1M.exports.bool,
|
|
34585
|
+
activeDescription: deprecated(propTypes$1M.exports.string),
|
|
34586
|
+
activeLabel: deprecated(propTypes$1M.exports.string),
|
|
34587
|
+
description: propTypes$1M.exports.string,
|
|
34588
|
+
disabled: propTypes$1M.exports.bool,
|
|
34474
34589
|
formControl: impl(),
|
|
34475
34590
|
formMeta: impl(),
|
|
34476
|
-
id: propTypes$
|
|
34477
|
-
inactiveDescription: deprecated(propTypes$
|
|
34478
|
-
inactiveLabel: deprecated(propTypes$
|
|
34479
|
-
label: propTypes$
|
|
34480
|
-
large: propTypes$
|
|
34591
|
+
id: propTypes$1M.exports.string,
|
|
34592
|
+
inactiveDescription: deprecated(propTypes$1M.exports.string),
|
|
34593
|
+
inactiveLabel: deprecated(propTypes$1M.exports.string),
|
|
34594
|
+
label: propTypes$1M.exports.string,
|
|
34595
|
+
large: propTypes$1M.exports.bool,
|
|
34481
34596
|
onChange: fun(),
|
|
34482
34597
|
ref: ref()
|
|
34483
34598
|
});
|
|
@@ -34662,7 +34777,7 @@ const propsDoc$o = {
|
|
|
34662
34777
|
icon: "SpsIcon"
|
|
34663
34778
|
};
|
|
34664
34779
|
const propTypes$q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34665
|
-
heading: propTypes$
|
|
34780
|
+
heading: propTypes$1M.exports.string,
|
|
34666
34781
|
icon: enumValue(SpsIcon)
|
|
34667
34782
|
});
|
|
34668
34783
|
function SpsWorkflow(props2) {
|
|
@@ -34714,7 +34829,7 @@ const propsDoc$n = {
|
|
|
34714
34829
|
progress: "number"
|
|
34715
34830
|
};
|
|
34716
34831
|
const propTypes$p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34717
|
-
progress: propTypes$
|
|
34832
|
+
progress: propTypes$1M.exports.number,
|
|
34718
34833
|
size: enumValue(RingSize)
|
|
34719
34834
|
});
|
|
34720
34835
|
function SpsProgressRing({
|
|
@@ -34759,7 +34874,7 @@ const propsDoc$m = {
|
|
|
34759
34874
|
phases: "WizardPhase[]"
|
|
34760
34875
|
};
|
|
34761
34876
|
const propTypes$o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34762
|
-
phases: propTypes$
|
|
34877
|
+
phases: propTypes$1M.exports.arrayOf(impl())
|
|
34763
34878
|
});
|
|
34764
34879
|
const CSS_BLOCK$2 = "sps-wizard-sidebar";
|
|
34765
34880
|
function SpsWizardSidebar({
|
|
@@ -34810,10 +34925,10 @@ const propsDoc$l = {
|
|
|
34810
34925
|
};
|
|
34811
34926
|
const propTypes$n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
34812
34927
|
condition: enumValue(WizardSubstepConditions).isRequired,
|
|
34813
|
-
display: propTypes$
|
|
34814
|
-
orderPosition: propTypes$
|
|
34815
|
-
propTypes$
|
|
34816
|
-
propTypes$
|
|
34928
|
+
display: propTypes$1M.exports.string.isRequired,
|
|
34929
|
+
orderPosition: propTypes$1M.exports.oneOfType([
|
|
34930
|
+
propTypes$1M.exports.string,
|
|
34931
|
+
propTypes$1M.exports.number
|
|
34817
34932
|
]).isRequired
|
|
34818
34933
|
});
|
|
34819
34934
|
function SpsWizardSubstep(props2) {
|
|
@@ -35014,7 +35129,7 @@ const propsDoc$i = {
|
|
|
35014
35129
|
};
|
|
35015
35130
|
const propTypes$k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35016
35131
|
icon: enumValue(SpsIcon).isRequired,
|
|
35017
|
-
title: propTypes$
|
|
35132
|
+
title: propTypes$1M.exports.string.isRequired
|
|
35018
35133
|
});
|
|
35019
35134
|
function SpsWorkflowStep(props2) {
|
|
35020
35135
|
const _a = props2, {
|
|
@@ -35125,9 +35240,9 @@ const propsDoc$h = {
|
|
|
35125
35240
|
subHeading: "string"
|
|
35126
35241
|
};
|
|
35127
35242
|
const propTypes$j = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35128
|
-
artwork: propTypes$
|
|
35129
|
-
heading: propTypes$
|
|
35130
|
-
subHeading: propTypes$
|
|
35243
|
+
artwork: propTypes$1M.exports.string.isRequired,
|
|
35244
|
+
heading: propTypes$1M.exports.string.isRequired,
|
|
35245
|
+
subHeading: propTypes$1M.exports.string
|
|
35131
35246
|
});
|
|
35132
35247
|
function SpsZeroState(props2) {
|
|
35133
35248
|
const _a = props2, {
|
|
@@ -35403,10 +35518,10 @@ const propsDoc$e = {
|
|
|
35403
35518
|
onCollapse: "() => void"
|
|
35404
35519
|
};
|
|
35405
35520
|
const propTypes$g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35406
|
-
title: propTypes$
|
|
35407
|
-
expanded: propTypes$
|
|
35408
|
-
heightPx: propTypes$
|
|
35409
|
-
heightRem: propTypes$
|
|
35521
|
+
title: propTypes$1M.exports.string,
|
|
35522
|
+
expanded: propTypes$1M.exports.bool,
|
|
35523
|
+
heightPx: propTypes$1M.exports.number,
|
|
35524
|
+
heightRem: propTypes$1M.exports.number,
|
|
35410
35525
|
onExpand: fun(),
|
|
35411
35526
|
onCollapse: fun()
|
|
35412
35527
|
});
|
|
@@ -35832,9 +35947,9 @@ const propsDoc$c = {
|
|
|
35832
35947
|
onFilterChange: "ChangeEventHandler<HTMLInputElement>"
|
|
35833
35948
|
};
|
|
35834
35949
|
const propTypes$e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35835
|
-
value: propTypes$
|
|
35836
|
-
placeholder: propTypes$
|
|
35837
|
-
formMeta: propTypes$
|
|
35950
|
+
value: propTypes$1M.exports.string,
|
|
35951
|
+
placeholder: propTypes$1M.exports.string,
|
|
35952
|
+
formMeta: propTypes$1M.exports.oneOfType([
|
|
35838
35953
|
impl(),
|
|
35839
35954
|
impl()
|
|
35840
35955
|
]),
|
|
@@ -35874,7 +35989,7 @@ const propsDoc$b = {
|
|
|
35874
35989
|
showCondition: "boolean"
|
|
35875
35990
|
};
|
|
35876
35991
|
const propTypes$d = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
35877
|
-
showCondition: propTypes$
|
|
35992
|
+
showCondition: propTypes$1M.exports.bool
|
|
35878
35993
|
});
|
|
35879
35994
|
function SpsConditionalField(_S) {
|
|
35880
35995
|
var _T = _S, {
|
|
@@ -36206,7 +36321,11 @@ const MANIFEST = {
|
|
|
36206
36321
|
},
|
|
36207
36322
|
"List Toolbar": {
|
|
36208
36323
|
description: () => /* @__PURE__ */ React.createElement("p", null, "The List Toolbar provides the ability to interact with elements in a list or table. It can contain elements to search, filter, sort, or perform other actions."),
|
|
36209
|
-
components: [
|
|
36324
|
+
components: [
|
|
36325
|
+
SpsListToolbar,
|
|
36326
|
+
SpsListToolbarSearch,
|
|
36327
|
+
SpsListToolbarSearchInfo
|
|
36328
|
+
],
|
|
36210
36329
|
examples: SpsListToolbarExamples
|
|
36211
36330
|
},
|
|
36212
36331
|
"Micro Block": {
|
|
@@ -36348,12 +36467,12 @@ const MANIFEST = {
|
|
|
36348
36467
|
examples: SpsZeroStateExamples
|
|
36349
36468
|
}
|
|
36350
36469
|
};
|
|
36351
|
-
const moment$
|
|
36470
|
+
const moment$1 = moment$6.default || moment$6;
|
|
36352
36471
|
function newWeekArray() {
|
|
36353
36472
|
return new Array(7).fill(null);
|
|
36354
36473
|
}
|
|
36355
36474
|
function generateWeeks(date2) {
|
|
36356
|
-
const dateAsMoment = moment$
|
|
36475
|
+
const dateAsMoment = moment$1({
|
|
36357
36476
|
year: date2.year,
|
|
36358
36477
|
month: date2.month - 1,
|
|
36359
36478
|
date: 1
|
|
@@ -36391,13 +36510,13 @@ function useMoment(date2) {
|
|
|
36391
36510
|
React.useEffect(() => setMomentValue(SimpleDateUtils.toMoment(date2)), [date2]);
|
|
36392
36511
|
return momentValue;
|
|
36393
36512
|
}
|
|
36394
|
-
const moment
|
|
36513
|
+
const moment = moment$6.default || moment$6;
|
|
36395
36514
|
const propTypes$c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36396
36515
|
maxDate: impl(),
|
|
36397
36516
|
minDate: impl(),
|
|
36398
36517
|
onNewSelection: fun().isRequired,
|
|
36399
36518
|
selectedDate: impl(),
|
|
36400
|
-
selectedRange: propTypes$
|
|
36519
|
+
selectedRange: propTypes$1M.exports.arrayOf(impl())
|
|
36401
36520
|
});
|
|
36402
36521
|
const CSS_ELEMENT$1 = "sps-datepicker__calendar";
|
|
36403
36522
|
function determineViewMonth({
|
|
@@ -36498,7 +36617,7 @@ function SpsDatepickerCalendar(props2) {
|
|
|
36498
36617
|
className: `${CSS_ELEMENT$1}-body`
|
|
36499
36618
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
36500
36619
|
className: "sps-datepicker__calendar-row"
|
|
36501
|
-
}, moment
|
|
36620
|
+
}, moment.weekdaysShort().map((dayName) => /* @__PURE__ */ React.createElement("div", {
|
|
36502
36621
|
key: dayName,
|
|
36503
36622
|
className: "sps-datepicker__calendar-header-cell"
|
|
36504
36623
|
}, dayName))), cal.map((week, i2) => /* @__PURE__ */ React.createElement("div", {
|
|
@@ -36517,7 +36636,7 @@ Object.assign(SpsDatepickerCalendar, {
|
|
|
36517
36636
|
const CSS_ELEMENT = "sps-datepicker__popup";
|
|
36518
36637
|
const propTypes$b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36519
36638
|
attachTo: ref().isRequired,
|
|
36520
|
-
isOpen: propTypes$
|
|
36639
|
+
isOpen: propTypes$1M.exports.bool.isRequired
|
|
36521
36640
|
});
|
|
36522
36641
|
const SpsDatepickerPopup = React.forwardRef((_U, ref2) => {
|
|
36523
36642
|
var _V = _U, {
|
|
@@ -36555,7 +36674,7 @@ const propsDoc$a = {
|
|
|
36555
36674
|
value: "SimpleDate"
|
|
36556
36675
|
};
|
|
36557
36676
|
const propTypes$a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36558
|
-
disabled: propTypes$
|
|
36677
|
+
disabled: propTypes$1M.exports.bool,
|
|
36559
36678
|
formMeta: impl(),
|
|
36560
36679
|
maxDate: impl(),
|
|
36561
36680
|
minDate: impl(),
|
|
@@ -36666,7 +36785,6 @@ Object.assign(SpsDatepickerV2, {
|
|
|
36666
36785
|
propTypes: propTypes$a,
|
|
36667
36786
|
displayName: "SpsDatepickerV2"
|
|
36668
36787
|
});
|
|
36669
|
-
const moment = moment$7.default || moment$7;
|
|
36670
36788
|
const propsDoc$9 = {
|
|
36671
36789
|
disabled: "boolean",
|
|
36672
36790
|
formMeta: "SpsFormFieldMeta<SimpleDateRange | DatePreset>",
|
|
@@ -36677,12 +36795,12 @@ const propsDoc$9 = {
|
|
|
36677
36795
|
value: "SimpleDateRange | DatePreset"
|
|
36678
36796
|
};
|
|
36679
36797
|
const propTypes$9 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36680
|
-
disabled: propTypes$
|
|
36798
|
+
disabled: propTypes$1M.exports.bool,
|
|
36681
36799
|
formMeta: impl(),
|
|
36682
36800
|
maxDate: impl(),
|
|
36683
36801
|
minDate: impl(),
|
|
36684
36802
|
onChange: fun(),
|
|
36685
|
-
presets: propTypes$
|
|
36803
|
+
presets: propTypes$1M.exports.arrayOf(impl())
|
|
36686
36804
|
});
|
|
36687
36805
|
const CSS_BLOCK = "sps-datepicker";
|
|
36688
36806
|
const DEFAULT_PRESETS = [
|
|
@@ -36723,6 +36841,7 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36723
36841
|
const textInput = React.useRef();
|
|
36724
36842
|
const popupRef = React.useRef();
|
|
36725
36843
|
const [stringValue, setStringValue] = React.useState(Array.isArray(value) ? SimpleDateUtils.toStringRange(value) : "");
|
|
36844
|
+
const [selectedPreset, setSelectedPreset] = React.useState(null);
|
|
36726
36845
|
const [displayRange, setDisplayRange] = React.useState();
|
|
36727
36846
|
const {
|
|
36728
36847
|
showPopup,
|
|
@@ -36753,6 +36872,7 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36753
36872
|
updateValue(newValue);
|
|
36754
36873
|
setStringValue(SimpleDateUtils.toStringRange(newValue));
|
|
36755
36874
|
setDisplayRange(null);
|
|
36875
|
+
setSelectedPreset(null);
|
|
36756
36876
|
}
|
|
36757
36877
|
function handleTextInputChange(event) {
|
|
36758
36878
|
setStringValue(event.target.value);
|
|
@@ -36764,6 +36884,7 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36764
36884
|
setStringValue("");
|
|
36765
36885
|
updateValue();
|
|
36766
36886
|
setDisplayRange(null);
|
|
36887
|
+
setSelectedPreset(null);
|
|
36767
36888
|
}
|
|
36768
36889
|
function handleTextInputKeyDown(event) {
|
|
36769
36890
|
switch (event.key) {
|
|
@@ -36778,28 +36899,39 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36778
36899
|
}
|
|
36779
36900
|
}
|
|
36780
36901
|
function selectPreset(newPreset) {
|
|
36902
|
+
if (!newPreset) {
|
|
36903
|
+
setSelectedPreset(null);
|
|
36904
|
+
updateValue(null);
|
|
36905
|
+
return;
|
|
36906
|
+
}
|
|
36781
36907
|
setStringValue("");
|
|
36782
|
-
|
|
36908
|
+
setSelectedPreset(newPreset);
|
|
36909
|
+
updateValue(SimpleDateUtils.createRangeFromPreset(newPreset));
|
|
36783
36910
|
}
|
|
36911
|
+
React.useEffect(() => {
|
|
36912
|
+
if (!value) {
|
|
36913
|
+
return;
|
|
36914
|
+
}
|
|
36915
|
+
if (presets !== DEFAULT_PRESETS && Array.isArray(value)) {
|
|
36916
|
+
const preselectedRange = SimpleDateUtils.toStringRange(value);
|
|
36917
|
+
const preselectedPreset = presets.find((preset2) => preselectedRange === SimpleDateUtils.toStringRange(SimpleDateUtils.createRangeFromPreset(preset2)));
|
|
36918
|
+
if (preselectedPreset) {
|
|
36919
|
+
selectPreset(preselectedPreset);
|
|
36920
|
+
}
|
|
36921
|
+
}
|
|
36922
|
+
}, []);
|
|
36784
36923
|
React.useEffect(() => {
|
|
36785
36924
|
if (!value) {
|
|
36786
36925
|
clear();
|
|
36787
|
-
} else if (Array.isArray(value)) {
|
|
36926
|
+
} else if (Array.isArray(value) && !selectedPreset) {
|
|
36788
36927
|
if (value.every((v2) => SimpleDateUtils.isValid(v2))) {
|
|
36789
36928
|
setStringValue(SimpleDateUtils.toStringRange(value));
|
|
36790
36929
|
}
|
|
36791
36930
|
setDisplayRange(null);
|
|
36792
|
-
} else if (
|
|
36793
|
-
|
|
36794
|
-
} else {
|
|
36795
|
-
const end2 = moment();
|
|
36796
|
-
const start = end2.clone().subtract(moment.duration(value.definition));
|
|
36797
|
-
setDisplayRange([
|
|
36798
|
-
SimpleDateUtils.createFrom(start),
|
|
36799
|
-
SimpleDateUtils.createFrom(end2)
|
|
36800
|
-
]);
|
|
36931
|
+
} else if (Array.isArray(value) && selectedPreset) {
|
|
36932
|
+
setStringValue("");
|
|
36801
36933
|
}
|
|
36802
|
-
}, [value]);
|
|
36934
|
+
}, [value, selectedPreset]);
|
|
36803
36935
|
function getPresetText(preset2) {
|
|
36804
36936
|
return preset2 && /^design-system:/.test(preset2.label) ? t2(preset2.label) : preset2.label;
|
|
36805
36937
|
}
|
|
@@ -36815,16 +36947,16 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36815
36947
|
className: clsx("sps-form-control", disabled && "disabled")
|
|
36816
36948
|
}, /* @__PURE__ */ React.createElement("i", {
|
|
36817
36949
|
className: clsx("sps-text-input__icon", "sps-icon", "sps-icon-calendar")
|
|
36818
|
-
}),
|
|
36950
|
+
}), selectedPreset && /* @__PURE__ */ React.createElement("div", {
|
|
36819
36951
|
className: "sps-datepicker__selected-preset"
|
|
36820
36952
|
}, /* @__PURE__ */ React.createElement("span", {
|
|
36821
36953
|
className: "sps-tag sps-tag--info"
|
|
36822
|
-
}, getPresetText(
|
|
36954
|
+
}, getPresetText(selectedPreset))), /* @__PURE__ */ React.createElement("input", __spreadValues({
|
|
36823
36955
|
type: "text",
|
|
36824
36956
|
ref: textInput,
|
|
36825
36957
|
className: "sps-text-input__input",
|
|
36826
36958
|
id: controlId,
|
|
36827
|
-
placeholder: !
|
|
36959
|
+
placeholder: !stringValue && !selectedPreset ? FORMAT : void 0,
|
|
36828
36960
|
onChange: handleTextInputChange,
|
|
36829
36961
|
onClick: doShowPopup,
|
|
36830
36962
|
onFocus: doShowPopup,
|
|
@@ -36848,7 +36980,7 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36848
36980
|
type: "radio",
|
|
36849
36981
|
id: `sps-date-range-picker-${wrapperId}__range-custom`,
|
|
36850
36982
|
className: "sps-custom-control__input",
|
|
36851
|
-
checked: !
|
|
36983
|
+
checked: !selectedPreset,
|
|
36852
36984
|
name: `sps-date-range-picker-${wrapperId}__range`,
|
|
36853
36985
|
onChange: () => selectPreset(null)
|
|
36854
36986
|
}), /* @__PURE__ */ React.createElement("label", {
|
|
@@ -36862,7 +36994,7 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36862
36994
|
id: `sps-date-range-picker-${wrapperId}__range-${i2}`,
|
|
36863
36995
|
name: `sps-date-range-picker-${wrapperId}__range`,
|
|
36864
36996
|
onChange: () => selectPreset(preset2),
|
|
36865
|
-
checked:
|
|
36997
|
+
checked: (selectedPreset == null ? void 0 : selectedPreset.definition) ? selectedPreset.definition === preset2.definition : false,
|
|
36866
36998
|
className: "sps-custom-control__input"
|
|
36867
36999
|
}), /* @__PURE__ */ React.createElement("label", {
|
|
36868
37000
|
className: "sps-custom-control__label",
|
|
@@ -36887,12 +37019,12 @@ const propsDoc$8 = {
|
|
|
36887
37019
|
value: "number"
|
|
36888
37020
|
};
|
|
36889
37021
|
const propTypes$8 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
36890
|
-
disabled: propTypes$
|
|
37022
|
+
disabled: propTypes$1M.exports.bool,
|
|
36891
37023
|
formMeta: impl(),
|
|
36892
|
-
name: propTypes$
|
|
37024
|
+
name: propTypes$1M.exports.string,
|
|
36893
37025
|
onChange: fun(),
|
|
36894
37026
|
ref: ref(),
|
|
36895
|
-
value: propTypes$
|
|
37027
|
+
value: propTypes$1M.exports.number
|
|
36896
37028
|
});
|
|
36897
37029
|
function strToDollars(str) {
|
|
36898
37030
|
return str ? Number.parseInt(str.replace(/[^\d]/g, ""), 10) / 100 : null;
|
|
@@ -37067,10 +37199,10 @@ const propsDoc$7 = {
|
|
|
37067
37199
|
};
|
|
37068
37200
|
const propTypes$7 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37069
37201
|
color: enumValue(TagKind),
|
|
37070
|
-
href: propTypes$
|
|
37202
|
+
href: propTypes$1M.exports.string,
|
|
37071
37203
|
icon: enumValue(SpsIcon),
|
|
37072
|
-
tagKey: propTypes$
|
|
37073
|
-
value: propTypes$
|
|
37204
|
+
tagKey: propTypes$1M.exports.string.isRequired,
|
|
37205
|
+
value: propTypes$1M.exports.string.isRequired
|
|
37074
37206
|
});
|
|
37075
37207
|
function SpsKeyValueTag(props2) {
|
|
37076
37208
|
const _a = props2, {
|
|
@@ -37163,8 +37295,8 @@ const propsDoc$6 = {
|
|
|
37163
37295
|
header: "string | () => string"
|
|
37164
37296
|
};
|
|
37165
37297
|
const propTypes$6 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37166
|
-
header: propTypes$
|
|
37167
|
-
propTypes$
|
|
37298
|
+
header: propTypes$1M.exports.oneOfType([
|
|
37299
|
+
propTypes$1M.exports.string,
|
|
37168
37300
|
fun()
|
|
37169
37301
|
])
|
|
37170
37302
|
});
|
|
@@ -37196,8 +37328,8 @@ const propsDoc$5 = {
|
|
|
37196
37328
|
backdrop: "string"
|
|
37197
37329
|
};
|
|
37198
37330
|
const propTypes$5 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37199
|
-
onOverlayClick: propTypes$
|
|
37200
|
-
backdrop: propTypes$
|
|
37331
|
+
onOverlayClick: propTypes$1M.exports.func,
|
|
37332
|
+
backdrop: propTypes$1M.exports.string
|
|
37201
37333
|
});
|
|
37202
37334
|
function SpsModalOverlay(props2) {
|
|
37203
37335
|
const _a = props2, {
|
|
@@ -37267,12 +37399,12 @@ const propsDoc$3 = {
|
|
|
37267
37399
|
closeModal: "() => void"
|
|
37268
37400
|
};
|
|
37269
37401
|
const propTypes$3 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37270
|
-
handleAsync: propTypes$
|
|
37271
|
-
turnAsyncOn: propTypes$
|
|
37272
|
-
turnAsyncOff: propTypes$
|
|
37273
|
-
isAsyncOn: propTypes$
|
|
37402
|
+
handleAsync: propTypes$1M.exports.shape({
|
|
37403
|
+
turnAsyncOn: propTypes$1M.exports.func,
|
|
37404
|
+
turnAsyncOff: propTypes$1M.exports.func,
|
|
37405
|
+
isAsyncOn: propTypes$1M.exports.bool
|
|
37274
37406
|
}),
|
|
37275
|
-
closeModal: propTypes$
|
|
37407
|
+
closeModal: propTypes$1M.exports.func
|
|
37276
37408
|
});
|
|
37277
37409
|
function SpsModalFooter(props2) {
|
|
37278
37410
|
const {
|
|
@@ -37314,10 +37446,10 @@ const propsDoc$2 = {
|
|
|
37314
37446
|
const propTypes$2 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37315
37447
|
kind: enumValue(ButtonKind),
|
|
37316
37448
|
closeModal: fun(),
|
|
37317
|
-
handleAsync: propTypes$
|
|
37318
|
-
turnAsyncOn: propTypes$
|
|
37319
|
-
turnAsyncOff: propTypes$
|
|
37320
|
-
isAsyncOn: propTypes$
|
|
37449
|
+
handleAsync: propTypes$1M.exports.shape({
|
|
37450
|
+
turnAsyncOn: propTypes$1M.exports.func,
|
|
37451
|
+
turnAsyncOff: propTypes$1M.exports.func,
|
|
37452
|
+
isAsyncOn: propTypes$1M.exports.bool
|
|
37321
37453
|
})
|
|
37322
37454
|
});
|
|
37323
37455
|
function SpsModalAction(props2) {
|
|
@@ -37372,18 +37504,18 @@ const propsDoc$1 = {
|
|
|
37372
37504
|
onClose: "Function"
|
|
37373
37505
|
};
|
|
37374
37506
|
const propTypes$1 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
|
|
37375
|
-
kind: propTypes$
|
|
37376
|
-
id: propTypes$
|
|
37377
|
-
isOpen: propTypes$
|
|
37378
|
-
header: propTypes$
|
|
37379
|
-
propTypes$
|
|
37507
|
+
kind: propTypes$1M.exports.string,
|
|
37508
|
+
id: propTypes$1M.exports.string,
|
|
37509
|
+
isOpen: propTypes$1M.exports.bool,
|
|
37510
|
+
header: propTypes$1M.exports.oneOfType([
|
|
37511
|
+
propTypes$1M.exports.string,
|
|
37380
37512
|
fun()
|
|
37381
37513
|
]),
|
|
37382
|
-
onClose: propTypes$
|
|
37383
|
-
onOpen: propTypes$
|
|
37384
|
-
size: propTypes$
|
|
37385
|
-
backdrop: propTypes$
|
|
37386
|
-
actionRequired: propTypes$
|
|
37514
|
+
onClose: propTypes$1M.exports.func,
|
|
37515
|
+
onOpen: propTypes$1M.exports.func,
|
|
37516
|
+
size: propTypes$1M.exports.string,
|
|
37517
|
+
backdrop: propTypes$1M.exports.string,
|
|
37518
|
+
actionRequired: propTypes$1M.exports.bool
|
|
37387
37519
|
});
|
|
37388
37520
|
function SpsModal(modalProps) {
|
|
37389
37521
|
let lastFocusable;
|
|
@@ -37637,4 +37769,4 @@ Object.assign(SpsVr, {
|
|
|
37637
37769
|
propTypes,
|
|
37638
37770
|
displayName: "SpsDescriptionListTerm / SpsDt"
|
|
37639
37771
|
});
|
|
37640
|
-
export { AsTypingErrorKeys, ContentOrderExample, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, PortalContext, 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, 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, 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, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };
|
|
37772
|
+
export { AsTypingErrorKeys, ContentOrderExample, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, PortalContext, 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, 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, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };
|