@spscommerce/ds-shared 5.20.3-ie → 5.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +1 -615
- package/lib/index.es.js +455 -524
- package/package.json +7 -7
- package/vite.config.js +1 -1
- package/dist/out-tsc/bar-chart.d.ts +0 -12
- package/dist/out-tsc/bar-chart.js +0 -2
- package/dist/out-tsc/bar-chart.js.map +0 -1
- package/dist/out-tsc/button.d.ts +0 -34
- package/dist/out-tsc/button.js +0 -36
- package/dist/out-tsc/button.js.map +0 -1
- package/dist/out-tsc/clickable-tag.d.ts +0 -4
- package/dist/out-tsc/clickable-tag.js +0 -6
- package/dist/out-tsc/clickable-tag.js.map +0 -1
- package/dist/out-tsc/datetime.d.ts +0 -36
- package/dist/out-tsc/datetime.js +0 -6
- package/dist/out-tsc/datetime.js.map +0 -1
- package/dist/out-tsc/examples.d.ts +0 -41
- package/dist/out-tsc/examples.js +0 -7
- package/dist/out-tsc/examples.js.map +0 -1
- package/dist/out-tsc/feedback.d.ts +0 -15
- package/dist/out-tsc/feedback.js +0 -18
- package/dist/out-tsc/feedback.js.map +0 -1
- package/dist/out-tsc/filter-tile.d.ts +0 -7
- package/dist/out-tsc/filter-tile.js +0 -9
- package/dist/out-tsc/filter-tile.js.map +0 -1
- package/dist/out-tsc/grid.d.ts +0 -2
- package/dist/out-tsc/grid.js +0 -2
- package/dist/out-tsc/grid.js.map +0 -1
- package/dist/out-tsc/growler.d.ts +0 -12
- package/dist/out-tsc/growler.js +0 -23
- package/dist/out-tsc/growler.js.map +0 -1
- package/dist/out-tsc/i18n.d.ts +0 -4
- package/dist/out-tsc/i18n.js +0 -9
- package/dist/out-tsc/i18n.js.map +0 -1
- package/dist/out-tsc/icon.d.ts +0 -186
- package/dist/out-tsc/icon.js +0 -189
- package/dist/out-tsc/icon.js.map +0 -1
- package/dist/out-tsc/index.d.ts +0 -31
- package/dist/out-tsc/index.js +0 -32
- package/dist/out-tsc/index.js.map +0 -1
- package/dist/out-tsc/insight-card.d.ts +0 -15
- package/dist/out-tsc/insight-card.js +0 -18
- package/dist/out-tsc/insight-card.js.map +0 -1
- package/dist/out-tsc/insight-tile.d.ts +0 -15
- package/dist/out-tsc/insight-tile.js +0 -18
- package/dist/out-tsc/insight-tile.js.map +0 -1
- package/dist/out-tsc/key-value-list-item.d.ts +0 -4
- package/dist/out-tsc/key-value-list-item.js +0 -6
- package/dist/out-tsc/key-value-list-item.js.map +0 -1
- package/dist/out-tsc/line-chart.d.ts +0 -8
- package/dist/out-tsc/line-chart.js +0 -10
- package/dist/out-tsc/line-chart.js.map +0 -1
- package/dist/out-tsc/modal.d.ts +0 -12
- package/dist/out-tsc/modal.js +0 -15
- package/dist/out-tsc/modal.js.map +0 -1
- package/dist/out-tsc/option-list.d.ts +0 -32
- package/dist/out-tsc/option-list.js +0 -87
- package/dist/out-tsc/option-list.js.map +0 -1
- package/dist/out-tsc/pagination.d.ts +0 -2
- package/dist/out-tsc/pagination.js +0 -6
- package/dist/out-tsc/pagination.js.map +0 -1
- package/dist/out-tsc/positioning.d.ts +0 -14
- package/dist/out-tsc/positioning.js +0 -16
- package/dist/out-tsc/positioning.js.map +0 -1
- package/dist/out-tsc/ring-size.d.ts +0 -5
- package/dist/out-tsc/ring-size.js +0 -7
- package/dist/out-tsc/ring-size.js.map +0 -1
- package/dist/out-tsc/spinner.d.ts +0 -5
- package/dist/out-tsc/spinner.js +0 -7
- package/dist/out-tsc/spinner.js.map +0 -1
- package/dist/out-tsc/sps-action.d.ts +0 -25
- package/dist/out-tsc/sps-action.js +0 -18
- package/dist/out-tsc/sps-action.js.map +0 -1
- package/dist/out-tsc/stacked-horizontal-bar-chart.d.ts +0 -8
- package/dist/out-tsc/stacked-horizontal-bar-chart.js +0 -10
- package/dist/out-tsc/stacked-horizontal-bar-chart.js.map +0 -1
- package/dist/out-tsc/stepped-progress-bar.d.ts +0 -7
- package/dist/out-tsc/stepped-progress-bar.js +0 -9
- package/dist/out-tsc/stepped-progress-bar.js.map +0 -1
- package/dist/out-tsc/table.d.ts +0 -10
- package/dist/out-tsc/table.js +0 -6
- package/dist/out-tsc/table.js.map +0 -1
- package/dist/out-tsc/tabs.d.ts +0 -13
- package/dist/out-tsc/tabs.js +0 -2
- package/dist/out-tsc/tabs.js.map +0 -1
- package/dist/out-tsc/tag.d.ts +0 -9
- package/dist/out-tsc/tag.js +0 -11
- package/dist/out-tsc/tag.js.map +0 -1
- package/dist/out-tsc/task-queue.d.ts +0 -24
- package/dist/out-tsc/task-queue.js +0 -18
- package/dist/out-tsc/task-queue.js.map +0 -1
- package/dist/out-tsc/tooltip.d.ts +0 -13
- package/dist/out-tsc/tooltip.js +0 -16
- package/dist/out-tsc/tooltip.js.map +0 -1
- package/dist/out-tsc/translations.d.ts +0 -139
- package/dist/out-tsc/translations.js +0 -2
- package/dist/out-tsc/translations.js.map +0 -1
- package/dist/out-tsc/wizard-substep-condition.d.ts +0 -6
- package/dist/out-tsc/wizard-substep-condition.js +0 -8
- package/dist/out-tsc/wizard-substep-condition.js.map +0 -1
- package/dist/out-tsc/z-strata.d.ts +0 -7
- package/dist/out-tsc/z-strata.js +0 -9
- package/dist/out-tsc/z-strata.js.map +0 -1
- package/rollup.config.js +0 -22
package/lib/index.cjs.js
CHANGED
|
@@ -1,615 +1 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var utils = require('@spscommerce/utils');
|
|
6
|
-
|
|
7
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
8
|
-
__assign = Object.assign || function(t) {
|
|
9
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
10
|
-
s = arguments[i];
|
|
11
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
12
|
-
t[p] = s[p];
|
|
13
|
-
}
|
|
14
|
-
return t;
|
|
15
|
-
};
|
|
16
|
-
return __assign.apply(this, arguments);
|
|
17
|
-
};
|
|
18
|
-
exports.StdButtonKind = void 0;
|
|
19
|
-
(function (StdButtonKind) {
|
|
20
|
-
StdButtonKind["DEFAULT"] = "default";
|
|
21
|
-
StdButtonKind["CONFIRM"] = "confirm";
|
|
22
|
-
StdButtonKind["DELETE"] = "delete";
|
|
23
|
-
StdButtonKind["KEY"] = "key";
|
|
24
|
-
})(exports.StdButtonKind || (exports.StdButtonKind = {}));
|
|
25
|
-
var ButtonKindIcon;
|
|
26
|
-
(function (ButtonKindIcon) {
|
|
27
|
-
ButtonKindIcon["ICON"] = "icon";
|
|
28
|
-
})(ButtonKindIcon || (ButtonKindIcon = {}));
|
|
29
|
-
var ButtonKindLink;
|
|
30
|
-
(function (ButtonKindLink) {
|
|
31
|
-
ButtonKindLink["LINK"] = "link";
|
|
32
|
-
})(ButtonKindLink || (ButtonKindLink = {}));
|
|
33
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
34
|
-
var DropdownKind = Object.freeze(__assign(__assign({}, exports.StdButtonKind), ButtonKindIcon));
|
|
35
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
36
|
-
var ButtonKind = Object.freeze(__assign(__assign(__assign({}, exports.StdButtonKind), ButtonKindIcon), ButtonKindLink));
|
|
37
|
-
exports.ButtonType = void 0;
|
|
38
|
-
(function (ButtonType) {
|
|
39
|
-
ButtonType["BUTTON"] = "button";
|
|
40
|
-
ButtonType["SUBMIT"] = "submit";
|
|
41
|
-
})(exports.ButtonType || (exports.ButtonType = {}));
|
|
42
|
-
|
|
43
|
-
exports.SelectMode = void 0;
|
|
44
|
-
(function (SelectMode) {
|
|
45
|
-
SelectMode[SelectMode["START"] = 0] = "START";
|
|
46
|
-
SelectMode[SelectMode["END"] = 1] = "END";
|
|
47
|
-
})(exports.SelectMode || (exports.SelectMode = {}));
|
|
48
|
-
|
|
49
|
-
exports.ClickableTagKind = void 0;
|
|
50
|
-
(function (ClickableTagKind) {
|
|
51
|
-
ClickableTagKind["BLUE"] = "blue";
|
|
52
|
-
ClickableTagKind["GRAY"] = "gray";
|
|
53
|
-
})(exports.ClickableTagKind || (exports.ClickableTagKind = {}));
|
|
54
|
-
|
|
55
|
-
function exampleIsReactComponentExample(example) {
|
|
56
|
-
return example.hasOwnProperty("react");
|
|
57
|
-
}
|
|
58
|
-
function exampleIsReactJSXExample(example) {
|
|
59
|
-
return example.hasOwnProperty("jsx");
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
exports.SpsIconSize = void 0;
|
|
63
|
-
(function (SpsIconSize) {
|
|
64
|
-
SpsIconSize["EXTRA_SMALL"] = "xs";
|
|
65
|
-
SpsIconSize["SMALL"] = "sm";
|
|
66
|
-
SpsIconSize["MEDIUM"] = "md";
|
|
67
|
-
SpsIconSize["LARGE"] = "lg";
|
|
68
|
-
SpsIconSize["EXTRA_LARGE"] = "xl";
|
|
69
|
-
})(exports.SpsIconSize || (exports.SpsIconSize = {}));
|
|
70
|
-
exports.SpsIcon = void 0;
|
|
71
|
-
(function (SpsIcon) {
|
|
72
|
-
SpsIcon["ANGLE_LEFT"] = "angle-left";
|
|
73
|
-
SpsIcon["ANGLE_RIGHT"] = "angle-right";
|
|
74
|
-
SpsIcon["ARCHIVE"] = "archive";
|
|
75
|
-
SpsIcon["ARCHIVE_CIRCLE"] = "archive-circle";
|
|
76
|
-
SpsIcon["ARROW_DOWN"] = "arrow-down";
|
|
77
|
-
SpsIcon["ARROW_LEFT"] = "arrow-left";
|
|
78
|
-
SpsIcon["ARROW_LEFT_CIRCLE"] = "arrow-left-circle";
|
|
79
|
-
SpsIcon["ARROW_RIGHT"] = "arrow-right";
|
|
80
|
-
SpsIcon["ARROW_RIGHT_CIRCLE"] = "arrow-right-circle";
|
|
81
|
-
SpsIcon["ARROW_UP"] = "arrow-up";
|
|
82
|
-
SpsIcon["ASTERISK"] = "asterisk";
|
|
83
|
-
SpsIcon["ASTERISK_CIRCLE"] = "asterisk-circle";
|
|
84
|
-
SpsIcon["BAN"] = "ban";
|
|
85
|
-
SpsIcon["BAN_CIRCLE"] = "ban-circle";
|
|
86
|
-
SpsIcon["BARCODE"] = "barcode";
|
|
87
|
-
SpsIcon["BELL"] = "bell";
|
|
88
|
-
SpsIcon["BELL_FILLED"] = "bell-filled";
|
|
89
|
-
SpsIcon["BOLT"] = "bolt";
|
|
90
|
-
SpsIcon["BOOK"] = "book";
|
|
91
|
-
SpsIcon["BUILDING"] = "building";
|
|
92
|
-
SpsIcon["BURST"] = "burst";
|
|
93
|
-
SpsIcon["BURST_BOLT"] = "burst-bolt";
|
|
94
|
-
SpsIcon["CALENDAR"] = "calendar";
|
|
95
|
-
SpsIcon["CALENDAR_BLANK"] = "calendar-blank";
|
|
96
|
-
SpsIcon["CALENDAR_BLANK_CIRCLE"] = "calendar-blank-circle";
|
|
97
|
-
SpsIcon["CALENDAR_SELECT"] = "calendar-select";
|
|
98
|
-
SpsIcon["CAMERA"] = "camera";
|
|
99
|
-
SpsIcon["CHART_AREA"] = "chart-area";
|
|
100
|
-
SpsIcon["CHART_BAR"] = "chart-bar";
|
|
101
|
-
SpsIcon["CHART_LINE"] = "chart-line";
|
|
102
|
-
SpsIcon["CHART_PIE"] = "chart-pie";
|
|
103
|
-
SpsIcon["CHECKMARK"] = "checkmark";
|
|
104
|
-
SpsIcon["CHECKMARK_CIRCLE"] = "checkmark-circle";
|
|
105
|
-
SpsIcon["CHEVRON_DOWN"] = "chevron-down";
|
|
106
|
-
SpsIcon["CHEVRON_LEFT"] = "chevron-left";
|
|
107
|
-
SpsIcon["CHEVRON_RIGHT"] = "chevron-right";
|
|
108
|
-
SpsIcon["CHEVRON_UP"] = "chevron-up";
|
|
109
|
-
SpsIcon["CIRCLE_OUTLINE"] = "circle-outline";
|
|
110
|
-
SpsIcon["CLOCK"] = "clock";
|
|
111
|
-
SpsIcon["CLOCK_CIRCLE"] = "clock-circle";
|
|
112
|
-
SpsIcon["CODE_FORK"] = "code-fork";
|
|
113
|
-
SpsIcon["COLUMN_SWITCHER"] = "column-switcher";
|
|
114
|
-
SpsIcon["COMMENT_BUBBLE"] = "comment-bubble";
|
|
115
|
-
SpsIcon["COMMENT_BUBBLE_QUESTION"] = "comment-bubble-question";
|
|
116
|
-
SpsIcon["CONVERSATION"] = "conversation";
|
|
117
|
-
SpsIcon["CREDIT_CARD"] = "credit-card";
|
|
118
|
-
SpsIcon["DASHBOARD"] = "dashboard";
|
|
119
|
-
SpsIcon["DATABASE"] = "database";
|
|
120
|
-
SpsIcon["DESCENDING_ELLIPSES_CIRCLE"] = "descending-ellipses-circle";
|
|
121
|
-
SpsIcon["DISK"] = "disk";
|
|
122
|
-
SpsIcon["DISK_CIRCLE"] = "disk-circle";
|
|
123
|
-
SpsIcon["DOLLAR_SIGN"] = "dollar-sign";
|
|
124
|
-
SpsIcon["DOUBLE_ANGLE_LEFT"] = "double-angle-left";
|
|
125
|
-
SpsIcon["DOUBLE_ANGLE_RIGHT"] = "double-angle-right";
|
|
126
|
-
SpsIcon["DOWNLOAD_CLOUD"] = "download-cloud";
|
|
127
|
-
SpsIcon["DRILL"] = "drill";
|
|
128
|
-
SpsIcon["DUPLICATE"] = "duplicate";
|
|
129
|
-
SpsIcon["ELLIPSES"] = "ellipses";
|
|
130
|
-
SpsIcon["ENVELOPE"] = "envelope";
|
|
131
|
-
SpsIcon["EXCHANGE"] = "exchange";
|
|
132
|
-
SpsIcon["EXCLAMATION_CIRCLE"] = "exclamation-circle";
|
|
133
|
-
SpsIcon["EXCLAMATION_TRIANGLE"] = "exclamation-triangle";
|
|
134
|
-
SpsIcon["EXPAND_COLLAPSE"] = "expand-collapse";
|
|
135
|
-
SpsIcon["EYE"] = "eye";
|
|
136
|
-
SpsIcon["EYE_SLASH"] = "eye-slash";
|
|
137
|
-
SpsIcon["FILE"] = "file";
|
|
138
|
-
SpsIcon["FILE_DUPLICATE"] = "file-duplicate";
|
|
139
|
-
SpsIcon["FILE_PDF"] = "file-pdf";
|
|
140
|
-
SpsIcon["FILE_PRESENTATION"] = "file-presentation";
|
|
141
|
-
SpsIcon["FILE_SIZE"] = "file-size";
|
|
142
|
-
SpsIcon["FILE_SOLID"] = "file-solid";
|
|
143
|
-
SpsIcon["FILE_SOLID_TEXT"] = "file-solid-text";
|
|
144
|
-
SpsIcon["FILE_SPREADSHEET"] = "file-spreadsheet";
|
|
145
|
-
SpsIcon["FILE_TEXT"] = "file-text";
|
|
146
|
-
SpsIcon["FILTER"] = "filter";
|
|
147
|
-
SpsIcon["FLAG"] = "flag";
|
|
148
|
-
SpsIcon["FOLDER"] = "folder";
|
|
149
|
-
SpsIcon["FOLDER_OPEN"] = "folder-open";
|
|
150
|
-
SpsIcon["FOLDER_SOLID"] = "folder-solid";
|
|
151
|
-
SpsIcon["FOLDER_SOLID_OPEN"] = "folder-solid-open";
|
|
152
|
-
SpsIcon["GEAR"] = "gear";
|
|
153
|
-
SpsIcon["GLOBE"] = "globe";
|
|
154
|
-
SpsIcon["GRID"] = "grid";
|
|
155
|
-
SpsIcon["GROUP"] = "group";
|
|
156
|
-
SpsIcon["HAND_STOP"] = "hand-stop";
|
|
157
|
-
SpsIcon["HANDSHAKE"] = "handshake";
|
|
158
|
-
SpsIcon["HAT"] = "hat";
|
|
159
|
-
SpsIcon["HEART"] = "heart";
|
|
160
|
-
SpsIcon["HISTORY"] = "history";
|
|
161
|
-
SpsIcon["INBOX"] = "inbox";
|
|
162
|
-
SpsIcon["INCOMING"] = "incoming";
|
|
163
|
-
SpsIcon["INFO_CIRCLE"] = "info-circle";
|
|
164
|
-
SpsIcon["INTERCOM"] = "intercom";
|
|
165
|
-
SpsIcon["ITEM_TAG"] = "item-tag";
|
|
166
|
-
SpsIcon["KEY"] = "key";
|
|
167
|
-
SpsIcon["LIFE_PRESERVER"] = "life-preserver";
|
|
168
|
-
SpsIcon["LIGHTBULB"] = "lightbulb";
|
|
169
|
-
SpsIcon["LINK"] = "link";
|
|
170
|
-
SpsIcon["LINKEDIN"] = "linkedin";
|
|
171
|
-
SpsIcon["LIST"] = "list";
|
|
172
|
-
SpsIcon["LIST_CARDS"] = "list-cards";
|
|
173
|
-
SpsIcon["LIST_COLUMNS"] = "list-columns";
|
|
174
|
-
SpsIcon["LIST_SUMMARY"] = "list-summary";
|
|
175
|
-
SpsIcon["LIST_TABLE"] = "list-table";
|
|
176
|
-
SpsIcon["LOCATION"] = "location";
|
|
177
|
-
SpsIcon["LOCKED"] = "locked";
|
|
178
|
-
SpsIcon["LOCKED_CIRCLE"] = "locked-circle";
|
|
179
|
-
SpsIcon["MAP"] = "map";
|
|
180
|
-
SpsIcon["MAP_MARKER"] = "map-marker";
|
|
181
|
-
SpsIcon["MAXIMIZE"] = "maximize";
|
|
182
|
-
SpsIcon["MINIMIZE"] = "minimize";
|
|
183
|
-
SpsIcon["MINUS"] = "minus";
|
|
184
|
-
SpsIcon["MINUS_CIRCLE"] = "minus-circle";
|
|
185
|
-
SpsIcon["NEW_FILE"] = "new-file";
|
|
186
|
-
SpsIcon["NEW_SCREEN"] = "new-screen";
|
|
187
|
-
SpsIcon["OUTGOING"] = "outgoing";
|
|
188
|
-
SpsIcon["PAPER_PLANE"] = "paper-plane";
|
|
189
|
-
SpsIcon["PENCIL"] = "pencil";
|
|
190
|
-
SpsIcon["PHOTO"] = "photo";
|
|
191
|
-
SpsIcon["PIN"] = "pin";
|
|
192
|
-
SpsIcon["PINTEREST"] = "pinterest";
|
|
193
|
-
SpsIcon["PLAY"] = "play";
|
|
194
|
-
SpsIcon["PLUS_CIRCLE"] = "plus-circle";
|
|
195
|
-
SpsIcon["PLUS_SIGN"] = "plus-sign";
|
|
196
|
-
SpsIcon["PRESENTATION"] = "presentation";
|
|
197
|
-
SpsIcon["PRINTER"] = "printer";
|
|
198
|
-
SpsIcon["QR_CODE"] = "qr-code";
|
|
199
|
-
SpsIcon["QUESTION_CIRCLE"] = "question-circle";
|
|
200
|
-
SpsIcon["QUOTE_LEFT"] = "quote-left";
|
|
201
|
-
SpsIcon["QUOTE_RIGHT"] = "quote-right";
|
|
202
|
-
SpsIcon["RANDOM"] = "random";
|
|
203
|
-
SpsIcon["REFRESH"] = "refresh";
|
|
204
|
-
SpsIcon["RIGHT_CIRCLE"] = "right-circle";
|
|
205
|
-
SpsIcon["ROCKET"] = "rocket";
|
|
206
|
-
SpsIcon["SEARCH"] = "search";
|
|
207
|
-
SpsIcon["SEARCH_PLUS"] = "search-plus";
|
|
208
|
-
SpsIcon["SHARE"] = "share";
|
|
209
|
-
SpsIcon["SHOPPING_CART"] = "shopping-cart";
|
|
210
|
-
SpsIcon["SORT_ALPHA_ASC"] = "sort-alpha-asc";
|
|
211
|
-
SpsIcon["SORT_ALPHA_DESC"] = "sort-alpha-desc";
|
|
212
|
-
SpsIcon["SORT_NUM_ASC"] = "sort-num-asc";
|
|
213
|
-
SpsIcon["SORT_NUM_DESC"] = "sort-num-desc";
|
|
214
|
-
SpsIcon["STAR"] = "star";
|
|
215
|
-
SpsIcon["STAR_OUTLINE"] = "star-outline";
|
|
216
|
-
SpsIcon["STATUS_ARCHIVED"] = "status-archived";
|
|
217
|
-
SpsIcon["STATUS_CANCELLED"] = "status-cancelled";
|
|
218
|
-
SpsIcon["STATUS_ERROR"] = "status-error";
|
|
219
|
-
SpsIcon["STATUS_IN_PROCESS"] = "status-in-process";
|
|
220
|
-
SpsIcon["STATUS_IN_TRANSIT"] = "status-in-transit";
|
|
221
|
-
SpsIcon["STATUS_LOCKED"] = "status-locked";
|
|
222
|
-
SpsIcon["STATUS_NEW"] = "status-new";
|
|
223
|
-
SpsIcon["STATUS_OK"] = "status-ok";
|
|
224
|
-
SpsIcon["STATUS_ON_HOLD"] = "status-on-hold";
|
|
225
|
-
SpsIcon["STATUS_OUTDATED"] = "status-outdated";
|
|
226
|
-
SpsIcon["STATUS_REJECTED"] = "status-rejected";
|
|
227
|
-
SpsIcon["STATUS_SAVED"] = "status-saved";
|
|
228
|
-
SpsIcon["STATUS_SAVING"] = "status-saving";
|
|
229
|
-
SpsIcon["STATUS_TEMPLATE"] = "status-template";
|
|
230
|
-
SpsIcon["STATUS_WARNING"] = "status-warning";
|
|
231
|
-
SpsIcon["TABLE"] = "table";
|
|
232
|
-
SpsIcon["TABS"] = "tabs";
|
|
233
|
-
SpsIcon["TAG"] = "tag";
|
|
234
|
-
SpsIcon["TEMPLATE_CIRCLE"] = "template-circle";
|
|
235
|
-
SpsIcon["THUMBS_DOWN"] = "thumbs-down";
|
|
236
|
-
SpsIcon["THUMBS_DOWN_OUTLINE"] = "thumbs-down-outline";
|
|
237
|
-
SpsIcon["THUMBS_UP"] = "thumbs-up";
|
|
238
|
-
SpsIcon["THUMBS_UP_OUTLINE"] = "thumbs-up-outline";
|
|
239
|
-
SpsIcon["TRASH"] = "trash";
|
|
240
|
-
SpsIcon["TRUCK_SHIPPING"] = "truck-shipping";
|
|
241
|
-
SpsIcon["TWITTER"] = "twitter";
|
|
242
|
-
SpsIcon["UNDO"] = "undo";
|
|
243
|
-
SpsIcon["UNLOCKED"] = "unlocked";
|
|
244
|
-
SpsIcon["UPLOAD_CLOUD"] = "upload-cloud";
|
|
245
|
-
SpsIcon["USER"] = "user";
|
|
246
|
-
SpsIcon["WRENCH"] = "wrench";
|
|
247
|
-
SpsIcon["X"] = "x";
|
|
248
|
-
SpsIcon["X_CIRCLE"] = "x-circle";
|
|
249
|
-
})(exports.SpsIcon || (exports.SpsIcon = {}));
|
|
250
|
-
|
|
251
|
-
var _a$3;
|
|
252
|
-
exports.FeedbackBlockKind = void 0;
|
|
253
|
-
(function (FeedbackBlockKind) {
|
|
254
|
-
FeedbackBlockKind["TIP"] = "tip";
|
|
255
|
-
FeedbackBlockKind["SUCCESS"] = "success";
|
|
256
|
-
FeedbackBlockKind["WARNING"] = "warning";
|
|
257
|
-
FeedbackBlockKind["ERROR"] = "error";
|
|
258
|
-
FeedbackBlockKind["INFO"] = "info";
|
|
259
|
-
})(exports.FeedbackBlockKind || (exports.FeedbackBlockKind = {}));
|
|
260
|
-
var FeedbackBlockIcons = Object.freeze((_a$3 = {},
|
|
261
|
-
_a$3[exports.FeedbackBlockKind.TIP] = exports.SpsIcon.LIGHTBULB,
|
|
262
|
-
_a$3[exports.FeedbackBlockKind.ERROR] = exports.SpsIcon.EXCLAMATION_CIRCLE,
|
|
263
|
-
_a$3[exports.FeedbackBlockKind.INFO] = exports.SpsIcon.INFO_CIRCLE,
|
|
264
|
-
_a$3[exports.FeedbackBlockKind.SUCCESS] = exports.SpsIcon.CHECKMARK,
|
|
265
|
-
_a$3[exports.FeedbackBlockKind.WARNING] = exports.SpsIcon.EXCLAMATION_TRIANGLE,
|
|
266
|
-
_a$3));
|
|
267
|
-
|
|
268
|
-
exports.SpsFilterTileKind = void 0;
|
|
269
|
-
(function (SpsFilterTileKind) {
|
|
270
|
-
SpsFilterTileKind["GENERAL"] = "general";
|
|
271
|
-
SpsFilterTileKind["SUCCESS"] = "success";
|
|
272
|
-
SpsFilterTileKind["ERROR"] = "error";
|
|
273
|
-
SpsFilterTileKind["WARNING"] = "warning";
|
|
274
|
-
SpsFilterTileKind["PROCESSING"] = "processing";
|
|
275
|
-
})(exports.SpsFilterTileKind || (exports.SpsFilterTileKind = {}));
|
|
276
|
-
|
|
277
|
-
var GROWLER_VISIBLE_DURATION_MS = 7000;
|
|
278
|
-
/*
|
|
279
|
-
* If you change this don't forget to also change the CSS animation
|
|
280
|
-
* time in ds-styles
|
|
281
|
-
*/
|
|
282
|
-
var GROWLER_FADEOUT_DURATION_MS = 2000;
|
|
283
|
-
exports.GrowlerKind = void 0;
|
|
284
|
-
(function (GrowlerKind) {
|
|
285
|
-
GrowlerKind["ACTIVITY"] = "activity";
|
|
286
|
-
GrowlerKind["ERROR"] = "error";
|
|
287
|
-
GrowlerKind["INFO"] = "info";
|
|
288
|
-
GrowlerKind["PROGRESS"] = "progress";
|
|
289
|
-
GrowlerKind["SUCCESS"] = "success";
|
|
290
|
-
GrowlerKind["WARNING"] = "warning";
|
|
291
|
-
})(exports.GrowlerKind || (exports.GrowlerKind = {}));
|
|
292
|
-
var GrowlerIcon = new Map([
|
|
293
|
-
[exports.GrowlerKind.INFO, exports.SpsIcon.INFO_CIRCLE],
|
|
294
|
-
[exports.GrowlerKind.WARNING, exports.SpsIcon.EXCLAMATION_TRIANGLE],
|
|
295
|
-
[exports.GrowlerKind.ERROR, exports.SpsIcon.EXCLAMATION_CIRCLE],
|
|
296
|
-
[exports.GrowlerKind.SUCCESS, exports.SpsIcon.CHECKMARK],
|
|
297
|
-
]);
|
|
298
|
-
|
|
299
|
-
var translations = { "advancedSearch": { "clear": "Clear", "search": "Search" }, "button": { "spinningTitle": "Loading…" }, "columnChooser": { "removeButton": "Remove {{elementName}}" }, "contentRow": { "collapse": "Collapse", "expand": "Expand" }, "datepicker": { "calendar": { "prevMonth": "View Previous Month", "nextMonth": "View Next Month" }, "preset": { "custom": "Custom", "today": "Today", "sevenDays": "Last 7 days", "thirtyDays": "Last 30 days", "sixtyDays": "Last 60 days", "ninetyDays": "Last 90 days", "oneYear": "Last year" }, "presetsLabel": "Ranges" }, "fileUpload": { "acceptedTypes": "{{fileTypes}} format accepted", "acceptedTypes_plural": "{{fileTypes}} formats accepted", "cancelled": "File Upload Failed", "cancelled_plural": "File Upload(s) Failed", "close": "Close", "instructions": "Drag and drop your file here or |browse for a file| on your desktop.", "instructions_plural": "Drag and drop your files here or |browse for files| on your desktop.", "maximumSize": "{{size}} maximum", "processing": "Processing Upload…", "title": "Upload Your {{description}}" }, "filterPanel": { "clear": "Clear Filters", "title": "Filters", "filterPlaceholder": "Filter options" }, "focusedTask": { "close": "Close" }, "growler": { "dismiss": "Dismiss" }, "insightCard": { "all": "ALL", "partnerCount": "{{count}} |of| {{total}}", "partners": "PARTNERS" }, "insightTile": { "all": "ALL", "partnerCount": "{{count}} |of| {{total}}", "partners": "PARTNERS" }, "label": { "errors": { "dateConstraint": { "max": "Please enter a date on or prior to {{context.maxExceeded}}.", "min": "Please enter a date on or after {{context.minExceeded}}." }, "dateFormat": "Please enter a date in the format {{context}}.", "dateRangeOrder": "End date cannot be before start date.", "dateValidity": "Please enter a valid date.", "max": "Please enter a value no greater than {{context}}.", "maxLength": "Please enter no more than {{context}} characters.", "min": "Please enter a value no less than {{context}}.", "minLength": "Please enter at least {{context}} characters.", "required": "This field is required." }, "preventativeErrors": { "maxLength": "This field accepts a maximum number of characters.", "alpha": "This field accepts only alphabetic values.", "numeric": "This field accepts only numerical values.", "nonNumeric": "This field accepts only non-numerical values." }, "stronglySuggested": "This field is strongly suggested." }, "listActionBar": { "clearSelected": "Clear Selected", "itemsSelected": "Items Selected" }, "listToolbar": { "advancedSearchToggle": "Advanced Search" }, "modal": { "close": "Close modal", "defaultButtonLabel": "Okay", "defaultTitle": { "general": "Action", "info": "Info", "success": "Success", "warning": "Warning", "serious-warning": "Warning" } }, "pagination": { "nextPage": "Next Page", "ofMany": "of many", "ofPageCount": "of {{pageCount}}", "page": "Page", "prevPage": "Previous Page" }, "progressBar": { "closeButtonTitle": "Close progress bar" }, "searchResultsBar": { "clear": "Clear", "clearResults": "Clear Results", "count": "{{count}} of {{total}}", "matchingResults": "Matching results", "noAdvancedSearchSelections": "No Advanced Search Selections", "results": "Results:" }, "select": { "defaultPlaceholder": "Select one…" }, "slackLink": { "label": "Chat" }, "spinner": { "defaultAltText": "Loading…" }, "taskQueue": { "clearCompleted": "Clear Completed", "newTask": "You have a new task in your queue.", "noTasks": "There are currently no tasks in your queue." } };
|
|
300
|
-
|
|
301
|
-
var noI18nI18n = {
|
|
302
|
-
t: function (key, interpolations) {
|
|
303
|
-
var text = utils.getPath(translations, key.replace(/^design-system:/, ""));
|
|
304
|
-
return interpolations ? utils.template(text)(interpolations) : text;
|
|
305
|
-
},
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
var _a$2;
|
|
309
|
-
exports.SpsInsightCardKind = void 0;
|
|
310
|
-
(function (SpsInsightCardKind) {
|
|
311
|
-
SpsInsightCardKind["GENERAL"] = "general";
|
|
312
|
-
SpsInsightCardKind["SUCCESS"] = "success";
|
|
313
|
-
SpsInsightCardKind["ERROR"] = "error";
|
|
314
|
-
SpsInsightCardKind["WARNING"] = "warning";
|
|
315
|
-
SpsInsightCardKind["PROCESSING"] = "processing";
|
|
316
|
-
})(exports.SpsInsightCardKind || (exports.SpsInsightCardKind = {}));
|
|
317
|
-
var SpsInsightCardIcons = Object.freeze((_a$2 = {},
|
|
318
|
-
_a$2[exports.SpsInsightCardKind.GENERAL] = exports.SpsIcon.STATUS_NEW,
|
|
319
|
-
_a$2[exports.SpsInsightCardKind.SUCCESS] = exports.SpsIcon.STATUS_OK,
|
|
320
|
-
_a$2[exports.SpsInsightCardKind.ERROR] = exports.SpsIcon.STATUS_ERROR,
|
|
321
|
-
_a$2[exports.SpsInsightCardKind.WARNING] = exports.SpsIcon.STATUS_WARNING,
|
|
322
|
-
_a$2[exports.SpsInsightCardKind.PROCESSING] = exports.SpsIcon.STATUS_IN_PROCESS,
|
|
323
|
-
_a$2));
|
|
324
|
-
|
|
325
|
-
var _a$1;
|
|
326
|
-
exports.SpsInsightTileKind = void 0;
|
|
327
|
-
(function (SpsInsightTileKind) {
|
|
328
|
-
SpsInsightTileKind["GENERAL"] = "general";
|
|
329
|
-
SpsInsightTileKind["SUCCESS"] = "success";
|
|
330
|
-
SpsInsightTileKind["ERROR"] = "error";
|
|
331
|
-
SpsInsightTileKind["WARNING"] = "warning";
|
|
332
|
-
SpsInsightTileKind["PROCESSING"] = "processing";
|
|
333
|
-
})(exports.SpsInsightTileKind || (exports.SpsInsightTileKind = {}));
|
|
334
|
-
var SpsInsightTileIcons = Object.freeze((_a$1 = {},
|
|
335
|
-
_a$1[exports.SpsInsightTileKind.GENERAL] = exports.SpsIcon.STATUS_NEW,
|
|
336
|
-
_a$1[exports.SpsInsightTileKind.SUCCESS] = exports.SpsIcon.STATUS_OK,
|
|
337
|
-
_a$1[exports.SpsInsightTileKind.ERROR] = exports.SpsIcon.STATUS_ERROR,
|
|
338
|
-
_a$1[exports.SpsInsightTileKind.WARNING] = exports.SpsIcon.STATUS_WARNING,
|
|
339
|
-
_a$1[exports.SpsInsightTileKind.PROCESSING] = exports.SpsIcon.STATUS_IN_PROCESS,
|
|
340
|
-
_a$1));
|
|
341
|
-
|
|
342
|
-
exports.KeyValueListTitleColor = void 0;
|
|
343
|
-
(function (KeyValueListTitleColor) {
|
|
344
|
-
KeyValueListTitleColor["LIGHT"] = "light";
|
|
345
|
-
KeyValueListTitleColor["DARK"] = "dark";
|
|
346
|
-
})(exports.KeyValueListTitleColor || (exports.KeyValueListTitleColor = {}));
|
|
347
|
-
|
|
348
|
-
exports.LineChartColors = void 0;
|
|
349
|
-
(function (LineChartColors) {
|
|
350
|
-
LineChartColors["BLUE"] = "blue200";
|
|
351
|
-
LineChartColors["GRAY"] = "gray600";
|
|
352
|
-
LineChartColors["GREEN"] = "green200";
|
|
353
|
-
LineChartColors["ORANGE"] = "orange200";
|
|
354
|
-
LineChartColors["PURPLE"] = "purple200";
|
|
355
|
-
LineChartColors["RED"] = "red200";
|
|
356
|
-
})(exports.LineChartColors || (exports.LineChartColors = {}));
|
|
357
|
-
|
|
358
|
-
exports.ModalKind = void 0;
|
|
359
|
-
(function (ModalKind) {
|
|
360
|
-
ModalKind["GENERAL"] = "general";
|
|
361
|
-
ModalKind["INFO"] = "info";
|
|
362
|
-
ModalKind["SUCCESS"] = "success";
|
|
363
|
-
ModalKind["WARNING"] = "warning";
|
|
364
|
-
ModalKind["SERIOUS_WARNING"] = "serious-warning";
|
|
365
|
-
})(exports.ModalKind || (exports.ModalKind = {}));
|
|
366
|
-
exports.ModalSize = void 0;
|
|
367
|
-
(function (ModalSize) {
|
|
368
|
-
ModalSize["SMALL"] = "small";
|
|
369
|
-
ModalSize["MEDIUM"] = "medium";
|
|
370
|
-
ModalSize["LARGE"] = "large";
|
|
371
|
-
})(exports.ModalSize || (exports.ModalSize = {}));
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* All options passed in to components such as the select, the autocomplete, etc which
|
|
375
|
-
* use the Option List are normalized internally to this representation of an Option List option.
|
|
376
|
-
*/
|
|
377
|
-
var SpsOptionListOption = /** @class */ (function () {
|
|
378
|
-
function SpsOptionListOption(value, config) {
|
|
379
|
-
if (config === void 0) { config = {}; }
|
|
380
|
-
this.value = value;
|
|
381
|
-
Object.assign(this, config);
|
|
382
|
-
}
|
|
383
|
-
Object.defineProperty(SpsOptionListOption.prototype, "text", {
|
|
384
|
-
get: function () {
|
|
385
|
-
if (this.textInternal) {
|
|
386
|
-
return this.textInternal;
|
|
387
|
-
}
|
|
388
|
-
if (!this.value) {
|
|
389
|
-
return "";
|
|
390
|
-
}
|
|
391
|
-
return this.textKey ? this.value[this.textKey] : String(this.value);
|
|
392
|
-
},
|
|
393
|
-
set: function (value) {
|
|
394
|
-
this.textInternal = value;
|
|
395
|
-
},
|
|
396
|
-
enumerable: false,
|
|
397
|
-
configurable: true
|
|
398
|
-
});
|
|
399
|
-
Object.defineProperty(SpsOptionListOption.prototype, "caption", {
|
|
400
|
-
get: function () {
|
|
401
|
-
if (this.captionInternal) {
|
|
402
|
-
return this.captionInternal;
|
|
403
|
-
}
|
|
404
|
-
if (!this.value) {
|
|
405
|
-
return "";
|
|
406
|
-
}
|
|
407
|
-
return this.captionKey ? this.value[this.captionKey] : "";
|
|
408
|
-
},
|
|
409
|
-
set: function (value) {
|
|
410
|
-
this.captionInternal = value;
|
|
411
|
-
},
|
|
412
|
-
enumerable: false,
|
|
413
|
-
configurable: true
|
|
414
|
-
});
|
|
415
|
-
Object.defineProperty(SpsOptionListOption.prototype, "href", {
|
|
416
|
-
get: function () {
|
|
417
|
-
if (this.value) {
|
|
418
|
-
return this.value.isLink && typeof this.value === "function"
|
|
419
|
-
? this.value()
|
|
420
|
-
: this.value.href;
|
|
421
|
-
}
|
|
422
|
-
return null;
|
|
423
|
-
},
|
|
424
|
-
enumerable: false,
|
|
425
|
-
configurable: true
|
|
426
|
-
});
|
|
427
|
-
Object.defineProperty(SpsOptionListOption.prototype, "disabled", {
|
|
428
|
-
get: function () {
|
|
429
|
-
if (typeof this.disabledInternal !== "undefined") {
|
|
430
|
-
return this.disabledInternal;
|
|
431
|
-
}
|
|
432
|
-
return this.value ? this.value.disabled : false;
|
|
433
|
-
},
|
|
434
|
-
set: function (value) {
|
|
435
|
-
this.disabledInternal = value;
|
|
436
|
-
},
|
|
437
|
-
enumerable: false,
|
|
438
|
-
configurable: true
|
|
439
|
-
});
|
|
440
|
-
Object.defineProperty(SpsOptionListOption.prototype, "bold", {
|
|
441
|
-
get: function () {
|
|
442
|
-
if (typeof this.boldInternal !== "undefined") {
|
|
443
|
-
return this.boldInternal;
|
|
444
|
-
}
|
|
445
|
-
return this.value ? this.value.bold && this.value.bold === true : false;
|
|
446
|
-
},
|
|
447
|
-
enumerable: false,
|
|
448
|
-
configurable: true
|
|
449
|
-
});
|
|
450
|
-
SpsOptionListOption.prototype.getHtml = function (patternToUnderline) {
|
|
451
|
-
if (patternToUnderline) {
|
|
452
|
-
return this.text.replace(patternToUnderline, "<u>$&</u>");
|
|
453
|
-
}
|
|
454
|
-
return this.text;
|
|
455
|
-
};
|
|
456
|
-
return SpsOptionListOption;
|
|
457
|
-
}());
|
|
458
|
-
|
|
459
|
-
/** The defaults for the page size selector in the Pagination component. */
|
|
460
|
-
var DEFAULT_PAGE_SIZE_OPTIONS = [10,
|
|
461
|
-
25,
|
|
462
|
-
50,
|
|
463
|
-
100];
|
|
464
|
-
|
|
465
|
-
exports.Position = void 0;
|
|
466
|
-
(function (Position) {
|
|
467
|
-
Position["TOP_LEFT"] = "top left";
|
|
468
|
-
Position["TOP_MIDDLE"] = "top middle";
|
|
469
|
-
Position["TOP_RIGHT"] = "top right";
|
|
470
|
-
Position["RIGHT_TOP"] = "right top";
|
|
471
|
-
Position["RIGHT_MIDDLE"] = "right middle";
|
|
472
|
-
Position["RIGHT_BOTTOM"] = "right bottom";
|
|
473
|
-
Position["BOTTOM_RIGHT"] = "bottom right";
|
|
474
|
-
Position["BOTTOM_MIDDLE"] = "bottom middle";
|
|
475
|
-
Position["BOTTOM_LEFT"] = "bottom left";
|
|
476
|
-
Position["LEFT_BOTTOM"] = "left bottom";
|
|
477
|
-
Position["LEFT_MIDDLE"] = "left middle";
|
|
478
|
-
Position["LEFT_TOP"] = "left top";
|
|
479
|
-
})(exports.Position || (exports.Position = {}));
|
|
480
|
-
|
|
481
|
-
exports.RingSize = void 0;
|
|
482
|
-
(function (RingSize) {
|
|
483
|
-
RingSize[RingSize["SMALL"] = 14] = "SMALL";
|
|
484
|
-
RingSize[RingSize["MEDIUM"] = 26] = "MEDIUM";
|
|
485
|
-
RingSize[RingSize["LARGE"] = 38] = "LARGE";
|
|
486
|
-
})(exports.RingSize || (exports.RingSize = {}));
|
|
487
|
-
|
|
488
|
-
exports.SpinnerSize = void 0;
|
|
489
|
-
(function (SpinnerSize) {
|
|
490
|
-
SpinnerSize["SMALL"] = "small";
|
|
491
|
-
SpinnerSize["MEDIUM"] = "medium";
|
|
492
|
-
SpinnerSize["LARGE"] = "large";
|
|
493
|
-
})(exports.SpinnerSize || (exports.SpinnerSize = {}));
|
|
494
|
-
|
|
495
|
-
exports.StackedBarChartMilestone = void 0;
|
|
496
|
-
(function (StackedBarChartMilestone) {
|
|
497
|
-
StackedBarChartMilestone["BLUE"] = "blue200";
|
|
498
|
-
StackedBarChartMilestone["GRAY"] = "gray600";
|
|
499
|
-
StackedBarChartMilestone["GREEN"] = "green200";
|
|
500
|
-
StackedBarChartMilestone["ORANGE"] = "orange200";
|
|
501
|
-
StackedBarChartMilestone["PURPLE"] = "purple200";
|
|
502
|
-
StackedBarChartMilestone["RED"] = "red200";
|
|
503
|
-
})(exports.StackedBarChartMilestone || (exports.StackedBarChartMilestone = {}));
|
|
504
|
-
|
|
505
|
-
exports.SteppedProgressBarColor = void 0;
|
|
506
|
-
(function (SteppedProgressBarColor) {
|
|
507
|
-
SteppedProgressBarColor["PURPLE"] = "purple";
|
|
508
|
-
SteppedProgressBarColor["RED"] = "red";
|
|
509
|
-
SteppedProgressBarColor["BLUE"] = "blue";
|
|
510
|
-
SteppedProgressBarColor["ORANGE"] = "orange";
|
|
511
|
-
SteppedProgressBarColor["GRAY"] = "gray";
|
|
512
|
-
})(exports.SteppedProgressBarColor || (exports.SteppedProgressBarColor = {}));
|
|
513
|
-
|
|
514
|
-
exports.SortDirection = void 0;
|
|
515
|
-
(function (SortDirection) {
|
|
516
|
-
SortDirection["ASCENDING"] = "ascending";
|
|
517
|
-
SortDirection["DESCENDING"] = "descending";
|
|
518
|
-
})(exports.SortDirection || (exports.SortDirection = {}));
|
|
519
|
-
|
|
520
|
-
exports.TagKind = void 0;
|
|
521
|
-
(function (TagKind) {
|
|
522
|
-
TagKind["DEFAULT"] = "default";
|
|
523
|
-
TagKind["KEY"] = "key";
|
|
524
|
-
TagKind["WARNING"] = "warning";
|
|
525
|
-
TagKind["ERROR"] = "error";
|
|
526
|
-
TagKind["PENDING"] = "pending";
|
|
527
|
-
TagKind["SUCCESS"] = "success";
|
|
528
|
-
TagKind["INFO"] = "info";
|
|
529
|
-
})(exports.TagKind || (exports.TagKind = {}));
|
|
530
|
-
|
|
531
|
-
var TOOLTIP_HIDE_DELAY_MS_DEFAULT = 1000;
|
|
532
|
-
exports.TooltipShowTrigger = void 0;
|
|
533
|
-
(function (TooltipShowTrigger) {
|
|
534
|
-
TooltipShowTrigger["MANUAL"] = "manual";
|
|
535
|
-
TooltipShowTrigger["MOUSEOVER"] = "mouseover";
|
|
536
|
-
TooltipShowTrigger["CLICK"] = "click";
|
|
537
|
-
})(exports.TooltipShowTrigger || (exports.TooltipShowTrigger = {}));
|
|
538
|
-
exports.TooltipKind = void 0;
|
|
539
|
-
(function (TooltipKind) {
|
|
540
|
-
TooltipKind["DEFAULT"] = "default";
|
|
541
|
-
TooltipKind["HELP"] = "help";
|
|
542
|
-
TooltipKind["ERROR"] = "error";
|
|
543
|
-
TooltipKind["WARNING"] = "warning";
|
|
544
|
-
TooltipKind["CONTAINER"] = "container";
|
|
545
|
-
})(exports.TooltipKind || (exports.TooltipKind = {}));
|
|
546
|
-
|
|
547
|
-
var SPS_ACTION_DEFAULTS = {
|
|
548
|
-
icon: "",
|
|
549
|
-
label: "",
|
|
550
|
-
caption: "",
|
|
551
|
-
disabled: false,
|
|
552
|
-
isLink: false,
|
|
553
|
-
};
|
|
554
|
-
/**
|
|
555
|
-
* Attaches metadata to the decorated method, designating it as an "action"
|
|
556
|
-
* that can be passed in to components such as modal and select. For example,
|
|
557
|
-
* if passed in to the modal, a button will be rendered in the modal using the
|
|
558
|
-
* specified label, icon, etc, and clicking that button will call the method.
|
|
559
|
-
*/
|
|
560
|
-
function SpsAction(actionDescriptor) {
|
|
561
|
-
return function (target, key, descriptor) { return utils.simpleMetadataDecoratorApplicator(actionDescriptor, SPS_ACTION_DEFAULTS, target, key, descriptor); };
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
var _a;
|
|
565
|
-
/** The possible statuses for a task in the Task Queue. */
|
|
566
|
-
exports.SpsTaskStatus = void 0;
|
|
567
|
-
(function (SpsTaskStatus) {
|
|
568
|
-
SpsTaskStatus["COMPLETED"] = "completed";
|
|
569
|
-
SpsTaskStatus["ERRORED"] = "errored";
|
|
570
|
-
SpsTaskStatus["WARNING"] = "warning";
|
|
571
|
-
SpsTaskStatus["IN_PROGRESS"] = "in_progress";
|
|
572
|
-
})(exports.SpsTaskStatus || (exports.SpsTaskStatus = {}));
|
|
573
|
-
var SpsTaskStatusIcons = Object.freeze((_a = {},
|
|
574
|
-
_a[exports.SpsTaskStatus.COMPLETED] = exports.SpsIcon.STATUS_OK,
|
|
575
|
-
_a[exports.SpsTaskStatus.ERRORED] = exports.SpsIcon.STATUS_ERROR,
|
|
576
|
-
_a[exports.SpsTaskStatus.WARNING] = exports.SpsIcon.STATUS_WARNING,
|
|
577
|
-
_a[exports.SpsTaskStatus.IN_PROGRESS] = "sps-spinner sps-spinner--small",
|
|
578
|
-
_a));
|
|
579
|
-
var TASK_QUEUE_NOTIFICATION_DURATION_MS = 5000;
|
|
580
|
-
|
|
581
|
-
exports.WizardSubstepConditions = void 0;
|
|
582
|
-
(function (WizardSubstepConditions) {
|
|
583
|
-
WizardSubstepConditions["BASIC"] = "basic";
|
|
584
|
-
WizardSubstepConditions["COMPLETED"] = "completed";
|
|
585
|
-
WizardSubstepConditions["COMPLETE"] = "completed";
|
|
586
|
-
WizardSubstepConditions["ACTIVE"] = "active";
|
|
587
|
-
})(exports.WizardSubstepConditions || (exports.WizardSubstepConditions = {}));
|
|
588
|
-
|
|
589
|
-
exports.ZStratum = void 0;
|
|
590
|
-
(function (ZStratum) {
|
|
591
|
-
ZStratum[ZStratum["BASE"] = 0] = "BASE";
|
|
592
|
-
ZStratum[ZStratum["TIP"] = 10] = "TIP";
|
|
593
|
-
ZStratum[ZStratum["DROPDOWN"] = 100] = "DROPDOWN";
|
|
594
|
-
ZStratum[ZStratum["BAR"] = 1000] = "BAR";
|
|
595
|
-
ZStratum[ZStratum["DIALOG"] = 10000] = "DIALOG";
|
|
596
|
-
})(exports.ZStratum || (exports.ZStratum = {}));
|
|
597
|
-
|
|
598
|
-
exports.ButtonKind = ButtonKind;
|
|
599
|
-
exports.DEFAULT_PAGE_SIZE_OPTIONS = DEFAULT_PAGE_SIZE_OPTIONS;
|
|
600
|
-
exports.DropdownKind = DropdownKind;
|
|
601
|
-
exports.FeedbackBlockIcons = FeedbackBlockIcons;
|
|
602
|
-
exports.GROWLER_FADEOUT_DURATION_MS = GROWLER_FADEOUT_DURATION_MS;
|
|
603
|
-
exports.GROWLER_VISIBLE_DURATION_MS = GROWLER_VISIBLE_DURATION_MS;
|
|
604
|
-
exports.GrowlerIcon = GrowlerIcon;
|
|
605
|
-
exports.SPS_ACTION_DEFAULTS = SPS_ACTION_DEFAULTS;
|
|
606
|
-
exports.SpsAction = SpsAction;
|
|
607
|
-
exports.SpsInsightCardIcons = SpsInsightCardIcons;
|
|
608
|
-
exports.SpsInsightTileIcons = SpsInsightTileIcons;
|
|
609
|
-
exports.SpsOptionListOption = SpsOptionListOption;
|
|
610
|
-
exports.SpsTaskStatusIcons = SpsTaskStatusIcons;
|
|
611
|
-
exports.TASK_QUEUE_NOTIFICATION_DURATION_MS = TASK_QUEUE_NOTIFICATION_DURATION_MS;
|
|
612
|
-
exports.TOOLTIP_HIDE_DELAY_MS_DEFAULT = TOOLTIP_HIDE_DELAY_MS_DEFAULT;
|
|
613
|
-
exports.exampleIsReactComponentExample = exampleIsReactComponentExample;
|
|
614
|
-
exports.exampleIsReactJSXExample = exampleIsReactJSXExample;
|
|
615
|
-
exports.noI18nI18n = noI18nI18n;
|
|
1
|
+
"use strict";var o=Object.defineProperty;var n=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(e,t,a)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))d.call(t,a)&&s(e,a,t[a]);if(n)for(var a of n(t))u.call(t,a)&&s(e,a,t[a]);return e};Object.defineProperty(exports,"__esModule",{value:!0});exports[Symbol.toStringTag]="Module";var l=require("@spscommerce/utils");exports.StdButtonKind=void 0;(function(e){e.DEFAULT="default",e.CONFIRM="confirm",e.DELETE="delete",e.KEY="key"})(exports.StdButtonKind||(exports.StdButtonKind={}));var r;(function(e){e.ICON="icon"})(r||(r={}));var E;(function(e){e.LINK="link"})(E||(E={}));const A=Object.freeze(i(i({},exports.StdButtonKind),r)),L=Object.freeze(i(i(i({},exports.StdButtonKind),r),E));exports.ButtonType=void 0;(function(e){e.BUTTON="button",e.SUBMIT="submit"})(exports.ButtonType||(exports.ButtonType={}));exports.SelectMode=void 0;(function(e){e[e.START=0]="START",e[e.END=1]="END"})(exports.SelectMode||(exports.SelectMode={}));exports.ClickableTagKind=void 0;(function(e){e.BLUE="blue",e.GRAY="gray"})(exports.ClickableTagKind||(exports.ClickableTagKind={}));function O(e){return e.hasOwnProperty("react")}function _(e){return e.hasOwnProperty("jsx")}exports.SpsIconSize=void 0;(function(e){e.EXTRA_SMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRA_LARGE="xl"})(exports.SpsIconSize||(exports.SpsIconSize={}));exports.SpsIcon=void 0;(function(e){e.ANGLE_LEFT="angle-left",e.ANGLE_RIGHT="angle-right",e.ARCHIVE="archive",e.ARCHIVE_CIRCLE="archive-circle",e.ARROW_DOWN="arrow-down",e.ARROW_LEFT="arrow-left",e.ARROW_LEFT_CIRCLE="arrow-left-circle",e.ARROW_RIGHT="arrow-right",e.ARROW_RIGHT_CIRCLE="arrow-right-circle",e.ARROW_UP="arrow-up",e.ASTERISK="asterisk",e.ASTERISK_CIRCLE="asterisk-circle",e.BAN="ban",e.BAN_CIRCLE="ban-circle",e.BARCODE="barcode",e.BELL="bell",e.BELL_FILLED="bell-filled",e.BOLT="bolt",e.BOOK="book",e.BUILDING="building",e.BURST="burst",e.BURST_BOLT="burst-bolt",e.CALENDAR="calendar",e.CALENDAR_BLANK="calendar-blank",e.CALENDAR_BLANK_CIRCLE="calendar-blank-circle",e.CALENDAR_SELECT="calendar-select",e.CAMERA="camera",e.CHART_AREA="chart-area",e.CHART_BAR="chart-bar",e.CHART_LINE="chart-line",e.CHART_PIE="chart-pie",e.CHECKMARK="checkmark",e.CHECKMARK_CIRCLE="checkmark-circle",e.CHEVRON_DOWN="chevron-down",e.CHEVRON_LEFT="chevron-left",e.CHEVRON_RIGHT="chevron-right",e.CHEVRON_UP="chevron-up",e.CIRCLE_OUTLINE="circle-outline",e.CLOCK="clock",e.CLOCK_CIRCLE="clock-circle",e.CODE_FORK="code-fork",e.COLUMN_SWITCHER="column-switcher",e.COMMENT_BUBBLE="comment-bubble",e.COMMENT_BUBBLE_QUESTION="comment-bubble-question",e.CONVERSATION="conversation",e.CREDIT_CARD="credit-card",e.DASHBOARD="dashboard",e.DATABASE="database",e.DESCENDING_ELLIPSES_CIRCLE="descending-ellipses-circle",e.DISK="disk",e.DISK_CIRCLE="disk-circle",e.DOLLAR_SIGN="dollar-sign",e.DOUBLE_ANGLE_LEFT="double-angle-left",e.DOUBLE_ANGLE_RIGHT="double-angle-right",e.DOWNLOAD_CLOUD="download-cloud",e.DRILL="drill",e.DUPLICATE="duplicate",e.ELLIPSES="ellipses",e.ENVELOPE="envelope",e.EXCHANGE="exchange",e.EXCLAMATION_CIRCLE="exclamation-circle",e.EXCLAMATION_TRIANGLE="exclamation-triangle",e.EXPAND_COLLAPSE="expand-collapse",e.EYE="eye",e.EYE_SLASH="eye-slash",e.FILE="file",e.FILE_DUPLICATE="file-duplicate",e.FILE_PDF="file-pdf",e.FILE_PRESENTATION="file-presentation",e.FILE_SIZE="file-size",e.FILE_SOLID="file-solid",e.FILE_SOLID_TEXT="file-solid-text",e.FILE_SPREADSHEET="file-spreadsheet",e.FILE_TEXT="file-text",e.FILTER="filter",e.FLAG="flag",e.FOLDER="folder",e.FOLDER_OPEN="folder-open",e.FOLDER_SOLID="folder-solid",e.FOLDER_SOLID_OPEN="folder-solid-open",e.GEAR="gear",e.GLOBE="globe",e.GRID="grid",e.GROUP="group",e.HAND_STOP="hand-stop",e.HANDSHAKE="handshake",e.HAT="hat",e.HEART="heart",e.HISTORY="history",e.INBOX="inbox",e.INCOMING="incoming",e.INFO_CIRCLE="info-circle",e.INTERCOM="intercom",e.ITEM_TAG="item-tag",e.KEY="key",e.LIFE_PRESERVER="life-preserver",e.LIGHTBULB="lightbulb",e.LINK="link",e.LINKEDIN="linkedin",e.LIST="list",e.LIST_CARDS="list-cards",e.LIST_COLUMNS="list-columns",e.LIST_SUMMARY="list-summary",e.LIST_TABLE="list-table",e.LOCATION="location",e.LOCKED="locked",e.LOCKED_CIRCLE="locked-circle",e.MAP="map",e.MAP_MARKER="map-marker",e.MAXIMIZE="maximize",e.MINIMIZE="minimize",e.MINUS="minus",e.MINUS_CIRCLE="minus-circle",e.NEW_FILE="new-file",e.NEW_SCREEN="new-screen",e.OUTGOING="outgoing",e.PAPER_PLANE="paper-plane",e.PENCIL="pencil",e.PHOTO="photo",e.PIN="pin",e.PINTEREST="pinterest",e.PLAY="play",e.PLUS_CIRCLE="plus-circle",e.PLUS_SIGN="plus-sign",e.PRESENTATION="presentation",e.PRINTER="printer",e.QR_CODE="qr-code",e.QUESTION_CIRCLE="question-circle",e.QUOTE_LEFT="quote-left",e.QUOTE_RIGHT="quote-right",e.RANDOM="random",e.REFRESH="refresh",e.RIGHT_CIRCLE="right-circle",e.ROCKET="rocket",e.SEARCH="search",e.SEARCH_PLUS="search-plus",e.SHARE="share",e.SHOPPING_CART="shopping-cart",e.SORT_ALPHA_ASC="sort-alpha-asc",e.SORT_ALPHA_DESC="sort-alpha-desc",e.SORT_NUM_ASC="sort-num-asc",e.SORT_NUM_DESC="sort-num-desc",e.STAR="star",e.STAR_OUTLINE="star-outline",e.STATUS_ARCHIVED="status-archived",e.STATUS_CANCELLED="status-cancelled",e.STATUS_ERROR="status-error",e.STATUS_IN_PROCESS="status-in-process",e.STATUS_IN_TRANSIT="status-in-transit",e.STATUS_LOCKED="status-locked",e.STATUS_NEW="status-new",e.STATUS_OK="status-ok",e.STATUS_ON_HOLD="status-on-hold",e.STATUS_OUTDATED="status-outdated",e.STATUS_REJECTED="status-rejected",e.STATUS_SAVED="status-saved",e.STATUS_SAVING="status-saving",e.STATUS_TEMPLATE="status-template",e.STATUS_WARNING="status-warning",e.TABLE="table",e.TABS="tabs",e.TAG="tag",e.TEMPLATE_CIRCLE="template-circle",e.THUMBS_DOWN="thumbs-down",e.THUMBS_DOWN_OUTLINE="thumbs-down-outline",e.THUMBS_UP="thumbs-up",e.THUMBS_UP_OUTLINE="thumbs-up-outline",e.TRASH="trash",e.TRUCK_SHIPPING="truck-shipping",e.TWITTER="twitter",e.UNDO="undo",e.UNLOCKED="unlocked",e.UPLOAD_CLOUD="upload-cloud",e.USER="user",e.WRENCH="wrench",e.X="x",e.X_CIRCLE="x-circle"})(exports.SpsIcon||(exports.SpsIcon={}));exports.FeedbackBlockKind=void 0;(function(e){e.TIP="tip",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error",e.INFO="info"})(exports.FeedbackBlockKind||(exports.FeedbackBlockKind={}));const N=Object.freeze({[exports.FeedbackBlockKind.TIP]:exports.SpsIcon.LIGHTBULB,[exports.FeedbackBlockKind.ERROR]:exports.SpsIcon.EXCLAMATION_CIRCLE,[exports.FeedbackBlockKind.INFO]:exports.SpsIcon.INFO_CIRCLE,[exports.FeedbackBlockKind.SUCCESS]:exports.SpsIcon.CHECKMARK,[exports.FeedbackBlockKind.WARNING]:exports.SpsIcon.EXCLAMATION_TRIANGLE});exports.SpsFilterTileKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsFilterTileKind||(exports.SpsFilterTileKind={}));const C=7e3,c=2e3;exports.GrowlerKind=void 0;(function(e){e.ACTIVITY="activity",e.ERROR="error",e.INFO="info",e.PROGRESS="progress",e.SUCCESS="success",e.WARNING="warning"})(exports.GrowlerKind||(exports.GrowlerKind={}));const h=new Map([[exports.GrowlerKind.INFO,exports.SpsIcon.INFO_CIRCLE],[exports.GrowlerKind.WARNING,exports.SpsIcon.EXCLAMATION_TRIANGLE],[exports.GrowlerKind.ERROR,exports.SpsIcon.EXCLAMATION_CIRCLE],[exports.GrowlerKind.SUCCESS,exports.SpsIcon.CHECKMARK]]);var f={advancedSearch:{clear:"Clear",search:"Search"},button:{spinningTitle:"Loading\u2026"},columnChooser:{removeButton:"Remove {{elementName}}"},contentRow:{collapse:"Collapse",expand:"Expand"},datepicker:{calendar:{prevMonth:"View Previous Month",nextMonth:"View Next Month"},preset:{custom:"Custom",today:"Today",sevenDays:"Last 7 days",thirtyDays:"Last 30 days",sixtyDays:"Last 60 days",ninetyDays:"Last 90 days",oneYear:"Last year"},presetsLabel:"Ranges"},fileUpload:{acceptedTypes:"{{fileTypes}} format accepted",acceptedTypes_plural:"{{fileTypes}} formats accepted",cancelled:"File Upload Failed",cancelled_plural:"File Upload(s) Failed",close:"Close",instructions:"Drag and drop your file here or |browse for a file| on your desktop.",instructions_plural:"Drag and drop your files here or |browse for files| on your desktop.",maximumSize:"{{size}} maximum",processing:"Processing Upload\u2026",title:"Upload Your {{description}}"},filterPanel:{clear:"Clear Filters",title:"Filters",filterPlaceholder:"Filter options"},focusedTask:{close:"Close"},growler:{dismiss:"Dismiss"},insightCard:{all:"ALL",partnerCount:"{{count}} |of| {{total}}",partners:"PARTNERS"},insightTile:{all:"ALL",partnerCount:"{{count}} |of| {{total}}",partners:"PARTNERS"},label:{errors:{dateConstraint:{max:"Please enter a date on or prior to {{context.maxExceeded}}.",min:"Please enter a date on or after {{context.minExceeded}}."},dateFormat:"Please enter a date in the format {{context}}.",dateRangeOrder:"End date cannot be before start date.",dateValidity:"Please enter a valid date.",max:"Please enter a value no greater than {{context}}.",maxLength:"Please enter no more than {{context}} characters.",min:"Please enter a value no less than {{context}}.",minLength:"Please enter at least {{context}} characters.",required:"This field is required."},preventativeErrors:{maxLength:"This field accepts a maximum number of characters.",alpha:"This field accepts only alphabetic values.",numeric:"This field accepts only numerical values.",nonNumeric:"This field accepts only non-numerical values."},stronglySuggested:"This field is strongly suggested."},listActionBar:{clearSelected:"Clear Selected",itemsSelected:"Items Selected"},listToolbar:{advancedSearchToggle:"Advanced Search"},modal:{close:"Close modal",defaultButtonLabel:"Okay",defaultTitle:{general:"Action",info:"Info",success:"Success",warning:"Warning","serious-warning":"Warning"}},pagination:{nextPage:"Next Page",ofMany:"of many",ofPageCount:"of {{pageCount}}",page:"Page",prevPage:"Previous Page"},progressBar:{closeButtonTitle:"Close progress bar"},searchResultsBar:{clear:"Clear",clearResults:"Clear Results",count:"{{count}} of {{total}}",matchingResults:"Matching results",noAdvancedSearchSelections:"No Advanced Search Selections",results:"Results:"},select:{defaultPlaceholder:"Select one\u2026"},slackLink:{label:"Chat"},spinner:{defaultAltText:"Loading\u2026"},taskQueue:{clearCompleted:"Clear Completed",newTask:"You have a new task in your queue.",noTasks:"There are currently no tasks in your queue."}};const g={t(e,t){const a=l.getPath(f,e.replace(/^design-system:/,""));return t?l.template(a)(t):a}};exports.SpsInsightCardKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsInsightCardKind||(exports.SpsInsightCardKind={}));const D=Object.freeze({[exports.SpsInsightCardKind.GENERAL]:exports.SpsIcon.STATUS_NEW,[exports.SpsInsightCardKind.SUCCESS]:exports.SpsIcon.STATUS_OK,[exports.SpsInsightCardKind.ERROR]:exports.SpsIcon.STATUS_ERROR,[exports.SpsInsightCardKind.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsInsightCardKind.PROCESSING]:exports.SpsIcon.STATUS_IN_PROCESS});exports.SpsInsightTileKind=void 0;(function(e){e.GENERAL="general",e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.PROCESSING="processing"})(exports.SpsInsightTileKind||(exports.SpsInsightTileKind={}));const U=Object.freeze({[exports.SpsInsightTileKind.GENERAL]:exports.SpsIcon.STATUS_NEW,[exports.SpsInsightTileKind.SUCCESS]:exports.SpsIcon.STATUS_OK,[exports.SpsInsightTileKind.ERROR]:exports.SpsIcon.STATUS_ERROR,[exports.SpsInsightTileKind.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsInsightTileKind.PROCESSING]:exports.SpsIcon.STATUS_IN_PROCESS});exports.KeyValueListTitleColor=void 0;(function(e){e.LIGHT="light",e.DARK="dark"})(exports.KeyValueListTitleColor||(exports.KeyValueListTitleColor={}));exports.LineChartColors=void 0;(function(e){e.BLUE="blue200",e.GRAY="gray600",e.GREEN="green200",e.ORANGE="orange200",e.PURPLE="purple200",e.RED="red200"})(exports.LineChartColors||(exports.LineChartColors={}));exports.ModalKind=void 0;(function(e){e.GENERAL="general",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.SERIOUS_WARNING="serious-warning"})(exports.ModalKind||(exports.ModalKind={}));exports.ModalSize=void 0;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"})(exports.ModalSize||(exports.ModalSize={}));class S{constructor(t,a={}){this.value=t,Object.assign(this,a)}get text(){return this.textInternal?this.textInternal:this.value?this.textKey?this.value[this.textKey]:String(this.value):""}set text(t){this.textInternal=t}get caption(){return this.captionInternal?this.captionInternal:this.value&&this.captionKey?this.value[this.captionKey]:""}set caption(t){this.captionInternal=t}get href(){return this.value?this.value.isLink&&typeof this.value=="function"?this.value():this.value.href:null}get disabled(){return typeof this.disabledInternal!="undefined"?this.disabledInternal:this.value?this.value.disabled:!1}set disabled(t){this.disabledInternal=t}get bold(){return typeof this.boldInternal!="undefined"?this.boldInternal:this.value?this.value.bold&&this.value.bold===!0:!1}getHtml(t){return t?this.text.replace(t,"<u>$&</u>"):this.text}}const I=[10,25,50,100];exports.Position=void 0;(function(e){e.TOP_LEFT="top left",e.TOP_MIDDLE="top middle",e.TOP_RIGHT="top right",e.RIGHT_TOP="right top",e.RIGHT_MIDDLE="right middle",e.RIGHT_BOTTOM="right bottom",e.BOTTOM_RIGHT="bottom right",e.BOTTOM_MIDDLE="bottom middle",e.BOTTOM_LEFT="bottom left",e.LEFT_BOTTOM="left bottom",e.LEFT_MIDDLE="left middle",e.LEFT_TOP="left top"})(exports.Position||(exports.Position={}));exports.RingSize=void 0;(function(e){e[e.SMALL=14]="SMALL",e[e.MEDIUM=26]="MEDIUM",e[e.LARGE=38]="LARGE"})(exports.RingSize||(exports.RingSize={}));exports.SpinnerSize=void 0;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"})(exports.SpinnerSize||(exports.SpinnerSize={}));exports.StackedBarChartMilestone=void 0;(function(e){e.BLUE="blue200",e.GRAY="gray600",e.GREEN="green200",e.ORANGE="orange200",e.PURPLE="purple200",e.RED="red200"})(exports.StackedBarChartMilestone||(exports.StackedBarChartMilestone={}));exports.SteppedProgressBarColor=void 0;(function(e){e.PURPLE="purple",e.RED="red",e.BLUE="blue",e.ORANGE="orange",e.GRAY="gray"})(exports.SteppedProgressBarColor||(exports.SteppedProgressBarColor={}));exports.SortDirection=void 0;(function(e){e.ASCENDING="ascending",e.DESCENDING="descending"})(exports.SortDirection||(exports.SortDirection={}));exports.TagKind=void 0;(function(e){e.DEFAULT="default",e.KEY="key",e.WARNING="warning",e.ERROR="error",e.PENDING="pending",e.SUCCESS="success",e.INFO="info"})(exports.TagKind||(exports.TagKind={}));const m=1e3;exports.TooltipShowTrigger=void 0;(function(e){e.MANUAL="manual",e.MOUSEOVER="mouseover",e.CLICK="click"})(exports.TooltipShowTrigger||(exports.TooltipShowTrigger={}));exports.TooltipKind=void 0;(function(e){e.DEFAULT="default",e.HELP="help",e.ERROR="error",e.WARNING="warning",e.CONTAINER="container"})(exports.TooltipKind||(exports.TooltipKind={}));const R={icon:"",label:"",caption:"",disabled:!1,isLink:!1};function G(e){return(t,a,T)=>l.simpleMetadataDecoratorApplicator(e,R,t,a,T)}exports.SpsTaskStatus=void 0;(function(e){e.COMPLETED="completed",e.ERRORED="errored",e.WARNING="warning",e.IN_PROGRESS="in_progress"})(exports.SpsTaskStatus||(exports.SpsTaskStatus={}));const P=Object.freeze({[exports.SpsTaskStatus.COMPLETED]:exports.SpsIcon.STATUS_OK,[exports.SpsTaskStatus.ERRORED]:exports.SpsIcon.STATUS_ERROR,[exports.SpsTaskStatus.WARNING]:exports.SpsIcon.STATUS_WARNING,[exports.SpsTaskStatus.IN_PROGRESS]:"sps-spinner sps-spinner--small"}),b=5e3;exports.WizardSubstepConditions=void 0;(function(e){e.BASIC="basic",e.COMPLETED="completed",e.COMPLETE="completed",e.ACTIVE="active"})(exports.WizardSubstepConditions||(exports.WizardSubstepConditions={}));exports.ZStratum=void 0;(function(e){e[e.BASE=0]="BASE",e[e.TIP=10]="TIP",e[e.DROPDOWN=100]="DROPDOWN",e[e.BAR=1e3]="BAR",e[e.DIALOG=1e4]="DIALOG"})(exports.ZStratum||(exports.ZStratum={}));exports.ButtonKind=L;exports.DEFAULT_PAGE_SIZE_OPTIONS=I;exports.DropdownKind=A;exports.FeedbackBlockIcons=N;exports.GROWLER_FADEOUT_DURATION_MS=c;exports.GROWLER_VISIBLE_DURATION_MS=C;exports.GrowlerIcon=h;exports.SPS_ACTION_DEFAULTS=R;exports.SpsAction=G;exports.SpsInsightCardIcons=D;exports.SpsInsightTileIcons=U;exports.SpsOptionListOption=S;exports.SpsTaskStatusIcons=P;exports.TASK_QUEUE_NOTIFICATION_DURATION_MS=b;exports.TOOLTIP_HIDE_DELAY_MS_DEFAULT=m;exports.exampleIsReactComponentExample=O;exports.exampleIsReactJSXExample=_;exports.noI18nI18n=g;
|