@abgov/react-components 4.0.0-alpha.14 → 4.0.0-alpha.17
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/index.d.ts +6 -3
- package/lib/button/button.d.ts +2 -2
- package/lib/checkbox/checkbox.d.ts +2 -2
- package/lib/circular-progress/circular-progress.d.ts +2 -2
- package/lib/container/container.d.ts +2 -0
- package/lib/divider/divider.d.ts +17 -0
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/flex-column/flex-column.d.ts +16 -0
- package/lib/{flex/row.d.ts → flex-row/flex-row.d.ts} +2 -2
- package/lib/icons/icon.d.ts +1 -1
- package/lib/input/input.d.ts +3 -1
- package/lib/page/page.d.ts +13 -0
- package/lib/page-block/page-block.d.ts +10 -3
- package/lib/textarea/textarea.d.ts +2 -0
- package/package.json +1 -1
- package/react-components.esm.js +268 -239
- package/react-components.umd.js +935 -902
- package/lib/flex/index.d.ts +0 -1
package/react-components.umd.js
CHANGED
|
@@ -1,931 +1,964 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abgov/web-components'), require('react/jsx-runtime'), require('react')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@abgov/web-components', 'react/jsx-runtime', 'react'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ReactComponents = {}, null, global.jsxRuntime, global.React));
|
|
5
5
|
})(this, (function (exports, webComponents, jsxRuntime, react) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
var GoABadge = function GoABadge(_a) {
|
|
8
|
+
var type = _a.type,
|
|
9
|
+
content = _a.content,
|
|
10
|
+
icon = _a.icon,
|
|
11
|
+
testId = _a.testId;
|
|
12
|
+
return jsxRuntime.jsx("goa-badge", {
|
|
13
|
+
type: type,
|
|
14
|
+
content: content,
|
|
15
|
+
icon: icon,
|
|
16
|
+
testid: testId
|
|
17
|
+
}, void 0);
|
|
18
|
+
};
|
|
19
|
+
var GoAInfoBadge = function GoAInfoBadge(_a) {
|
|
20
|
+
var content = _a.content,
|
|
21
|
+
testId = _a.testId;
|
|
22
|
+
return jsxRuntime.jsx(GoABadge, {
|
|
23
|
+
type: "information",
|
|
24
|
+
icon: "information-circle",
|
|
25
|
+
content: content,
|
|
26
|
+
testId: testId
|
|
27
|
+
}, void 0);
|
|
28
|
+
};
|
|
29
|
+
var GoASuccessBadge = function GoASuccessBadge(_a) {
|
|
30
|
+
var content = _a.content,
|
|
31
|
+
testId = _a.testId;
|
|
32
|
+
return jsxRuntime.jsx(GoABadge, {
|
|
33
|
+
type: "success",
|
|
34
|
+
icon: "checkmark-circle",
|
|
35
|
+
content: content,
|
|
36
|
+
testId: testId
|
|
37
|
+
}, void 0);
|
|
38
|
+
};
|
|
39
|
+
var GoAWarningBadge = function GoAWarningBadge(_a) {
|
|
40
|
+
var content = _a.content,
|
|
41
|
+
testId = _a.testId;
|
|
42
|
+
return jsxRuntime.jsx(GoABadge, {
|
|
43
|
+
type: "warning",
|
|
44
|
+
icon: "warning",
|
|
45
|
+
content: content,
|
|
46
|
+
testId: testId
|
|
47
|
+
}, void 0);
|
|
48
|
+
};
|
|
49
|
+
var GoAEmergencyBadge = function GoAEmergencyBadge(_a) {
|
|
50
|
+
var content = _a.content,
|
|
51
|
+
testId = _a.testId;
|
|
52
|
+
return jsxRuntime.jsx(GoABadge, {
|
|
53
|
+
type: "emergency",
|
|
54
|
+
icon: "alert-circle",
|
|
55
|
+
content: content,
|
|
56
|
+
testId: testId
|
|
57
|
+
}, void 0);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/*! *****************************************************************************
|
|
61
|
+
Copyright (c) Microsoft Corporation.
|
|
9
62
|
|
|
10
|
-
|
|
11
|
-
|
|
63
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
64
|
+
purpose with or without fee is hereby granted.
|
|
12
65
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
66
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
67
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
68
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
69
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
70
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
71
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
72
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
73
|
+
***************************************************************************** */
|
|
21
74
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
75
|
+
var __assign = function() {
|
|
76
|
+
__assign = Object.assign || function __assign(t) {
|
|
77
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
78
|
+
s = arguments[i];
|
|
79
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
80
|
+
}
|
|
81
|
+
return t;
|
|
82
|
+
};
|
|
83
|
+
return __assign.apply(this, arguments);
|
|
84
|
+
};
|
|
32
85
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
86
|
+
function __rest(s, e) {
|
|
87
|
+
var t = {};
|
|
88
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
89
|
+
t[p] = s[p];
|
|
90
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
91
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
92
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
93
|
+
t[p[i]] = s[p[i]];
|
|
94
|
+
}
|
|
95
|
+
return t;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
var GoAInput = function GoAInput(_a) {
|
|
99
|
+
var id = _a.id,
|
|
100
|
+
name = _a.name,
|
|
101
|
+
type = _a.type,
|
|
102
|
+
leadingIcon = _a.leadingIcon,
|
|
103
|
+
trailingIcon = _a.trailingIcon,
|
|
104
|
+
_b = _a.variant,
|
|
105
|
+
variant = _b === void 0 ? 'goa' : _b,
|
|
106
|
+
focused = _a.focused,
|
|
107
|
+
disabled = _a.disabled,
|
|
108
|
+
readonly = _a.readonly,
|
|
109
|
+
value = _a.value,
|
|
110
|
+
placeholder = _a.placeholder,
|
|
111
|
+
error = _a.error,
|
|
112
|
+
width = _a.width,
|
|
113
|
+
showCounter = _a.showCounter,
|
|
114
|
+
maxCharCount = _a.maxCharCount,
|
|
115
|
+
testId = _a.testId,
|
|
116
|
+
onTrailingIconClick = _a.onTrailingIconClick,
|
|
117
|
+
onChange = _a.onChange;
|
|
118
|
+
var ref = react.useRef(null);
|
|
119
|
+
react.useEffect(function () {
|
|
120
|
+
if (!ref.current) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
44
123
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
124
|
+
var current = ref.current;
|
|
125
|
+
|
|
126
|
+
var changeListener = function changeListener(e) {
|
|
127
|
+
var _a = e.detail,
|
|
128
|
+
name = _a.name,
|
|
129
|
+
value = _a.value;
|
|
130
|
+
onChange(name, value);
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
var clickListener = function clickListener(e) {
|
|
134
|
+
onTrailingIconClick === null || onTrailingIconClick === void 0 ? void 0 : onTrailingIconClick();
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
current.addEventListener('_change', changeListener);
|
|
138
|
+
current.addEventListener('_trailingIconClick', clickListener);
|
|
139
|
+
return function () {
|
|
140
|
+
current.removeEventListener('_change', changeListener);
|
|
141
|
+
current.removeEventListener('_trailingIconClick', clickListener);
|
|
142
|
+
};
|
|
143
|
+
}, [ref, onChange, onTrailingIconClick]);
|
|
144
|
+
return jsxRuntime.jsx("goa-input", {
|
|
145
|
+
ref: ref,
|
|
146
|
+
focused: focused,
|
|
147
|
+
type: type,
|
|
148
|
+
name: name,
|
|
149
|
+
id: id,
|
|
150
|
+
leadingicon: leadingIcon,
|
|
151
|
+
trailingicon: trailingIcon,
|
|
152
|
+
variant: variant,
|
|
153
|
+
disabled: disabled,
|
|
154
|
+
readonly: readonly,
|
|
155
|
+
placeholder: placeholder,
|
|
156
|
+
error: error,
|
|
157
|
+
"data-testid": testId,
|
|
158
|
+
value: value,
|
|
159
|
+
width: width,
|
|
160
|
+
showcounter: showCounter,
|
|
161
|
+
maxcharcount: maxCharCount,
|
|
162
|
+
handletrailingiconclick: !!onTrailingIconClick
|
|
163
|
+
}, void 0);
|
|
164
|
+
};
|
|
165
|
+
var GoAInputText = function GoAInputText(props) {
|
|
166
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
167
|
+
type: "text"
|
|
168
|
+
}), void 0);
|
|
169
|
+
};
|
|
170
|
+
var GoAInputPassword = function GoAInputPassword(props) {
|
|
171
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
172
|
+
type: "password"
|
|
173
|
+
}), void 0);
|
|
174
|
+
};
|
|
175
|
+
var GoAInputDate = function GoAInputDate(props) {
|
|
176
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
177
|
+
type: "date"
|
|
178
|
+
}), void 0);
|
|
179
|
+
};
|
|
180
|
+
var GoAInputTime = function GoAInputTime(props) {
|
|
181
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
182
|
+
type: "time"
|
|
183
|
+
}), void 0);
|
|
184
|
+
};
|
|
185
|
+
var GoAInputDateTime = function GoAInputDateTime(props) {
|
|
186
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
187
|
+
type: "datetime-local"
|
|
188
|
+
}), void 0);
|
|
189
|
+
};
|
|
190
|
+
var GoAInputEmail = function GoAInputEmail(props) {
|
|
191
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
192
|
+
type: "email"
|
|
193
|
+
}), void 0);
|
|
194
|
+
};
|
|
195
|
+
var GoAInputSearch = function GoAInputSearch(props) {
|
|
196
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
197
|
+
type: "search",
|
|
198
|
+
trailingIcon: "search"
|
|
199
|
+
}), void 0);
|
|
200
|
+
};
|
|
201
|
+
var GoAInputUrl = function GoAInputUrl(props) {
|
|
202
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
203
|
+
type: "url"
|
|
204
|
+
}), void 0);
|
|
205
|
+
};
|
|
206
|
+
var GoAInputTel = function GoAInputTel(props) {
|
|
207
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
208
|
+
type: "tel"
|
|
209
|
+
}), void 0);
|
|
210
|
+
};
|
|
211
|
+
var GoAInputFile = function GoAInputFile(props) {
|
|
212
|
+
return jsxRuntime.jsx("input", {
|
|
213
|
+
id: props.id,
|
|
214
|
+
name: props.name,
|
|
215
|
+
type: "file",
|
|
216
|
+
onChange: function (e) {
|
|
217
|
+
return props.onChange(e.target.name, e.target.value);
|
|
218
|
+
},
|
|
219
|
+
style: {
|
|
220
|
+
backgroundColor: 'revert'
|
|
221
|
+
}
|
|
222
|
+
}, void 0);
|
|
223
|
+
};
|
|
224
|
+
var GoAInputMonth = function GoAInputMonth(props) {
|
|
225
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
226
|
+
type: "month"
|
|
227
|
+
}), void 0);
|
|
228
|
+
};
|
|
229
|
+
var GoAInputNumber = function GoAInputNumber(props) {
|
|
230
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
231
|
+
value: props.value.toString(),
|
|
232
|
+
type: "number"
|
|
233
|
+
}), void 0);
|
|
234
|
+
};
|
|
235
|
+
var GoAInputRange = function GoAInputRange(_a) {
|
|
236
|
+
_a.step;
|
|
237
|
+
var props = __rest(_a, ["step"]);
|
|
238
|
+
|
|
239
|
+
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
240
|
+
type: "range"
|
|
241
|
+
}), void 0);
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
var GoAAppHeader = function GoAAppHeader(_a) {
|
|
245
|
+
var title = _a.title,
|
|
246
|
+
url = _a.url,
|
|
247
|
+
children = _a.children;
|
|
248
|
+
return jsxRuntime.jsx("goa-app-header", __assign({
|
|
249
|
+
title: title,
|
|
250
|
+
url: url
|
|
251
|
+
}, {
|
|
252
|
+
children: children
|
|
253
|
+
}), void 0);
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
var GoAAppFooter = function GoAAppFooter(_a) {
|
|
257
|
+
var id = _a.id,
|
|
258
|
+
appUrl = _a.appUrl,
|
|
259
|
+
title = _a.title,
|
|
260
|
+
copyrightUrl = _a.copyrightUrl,
|
|
261
|
+
copyrightText = _a.copyrightText,
|
|
262
|
+
multiColumnSectionNames = _a.multiColumnSectionNames,
|
|
263
|
+
children = _a.children;
|
|
264
|
+
return jsxRuntime.jsx("goa-app-footer", __assign({
|
|
265
|
+
id: id,
|
|
266
|
+
appurl: appUrl,
|
|
267
|
+
title: title,
|
|
268
|
+
copyrighturl: copyrightUrl,
|
|
269
|
+
copyrighttext: copyrightText,
|
|
270
|
+
multicolumnsectionnames: multiColumnSectionNames
|
|
271
|
+
}, {
|
|
272
|
+
children: children
|
|
273
|
+
}), void 0);
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
var GoAMetaLink = function GoAMetaLink(_a) {
|
|
277
|
+
var footerId = _a.footerId,
|
|
278
|
+
url = _a.url,
|
|
279
|
+
title = _a.title,
|
|
280
|
+
children = _a.children;
|
|
281
|
+
return jsxRuntime.jsx("goa-meta-link", __assign({
|
|
282
|
+
footerid: footerId,
|
|
283
|
+
url: url,
|
|
284
|
+
title: title
|
|
285
|
+
}, {
|
|
286
|
+
children: children
|
|
287
|
+
}), void 0);
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
var GoANavigationLink = function GoANavigationLink(_a) {
|
|
291
|
+
var footerId = _a.footerId,
|
|
292
|
+
url = _a.url,
|
|
293
|
+
title = _a.title,
|
|
294
|
+
section = _a.section,
|
|
295
|
+
children = _a.children;
|
|
296
|
+
return jsxRuntime.jsx("goa-navigation-link", __assign({
|
|
297
|
+
footerid: footerId,
|
|
298
|
+
url: url,
|
|
299
|
+
title: title,
|
|
300
|
+
section: section
|
|
301
|
+
}, {
|
|
302
|
+
children: children
|
|
303
|
+
}), void 0);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
function styleInject(css, ref) {
|
|
307
|
+
if ( ref === void 0 ) ref = {};
|
|
308
|
+
var insertAt = ref.insertAt;
|
|
309
|
+
|
|
310
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
311
|
+
|
|
312
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
313
|
+
var style = document.createElement('style');
|
|
314
|
+
style.type = 'text/css';
|
|
315
|
+
|
|
316
|
+
if (insertAt === 'top') {
|
|
317
|
+
if (head.firstChild) {
|
|
318
|
+
head.insertBefore(style, head.firstChild);
|
|
176
319
|
} else {
|
|
177
320
|
head.appendChild(style);
|
|
178
321
|
}
|
|
322
|
+
} else {
|
|
323
|
+
head.appendChild(style);
|
|
324
|
+
}
|
|
179
325
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
326
|
+
if (style.styleSheet) {
|
|
327
|
+
style.styleSheet.cssText = css;
|
|
328
|
+
} else {
|
|
329
|
+
style.appendChild(document.createTextNode(css));
|
|
185
330
|
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
var css_248z$1 = "goa-button + goa-button {\n margin-top: 1.5rem;\n}\n\n/* TODO: these margins need to match UI specs */\n@media (min-width: 480px) {\n goa-button + goa-button {\n margin-left: 1rem;\n }\n}\n";
|
|
334
|
+
styleInject(css_248z$1);
|
|
335
|
+
|
|
336
|
+
var GoAButton = function GoAButton(_a) {
|
|
337
|
+
var title = _a.title,
|
|
338
|
+
_b = _a.disabled,
|
|
339
|
+
disabled = _b === void 0 ? false : _b,
|
|
340
|
+
_c = _a.type,
|
|
341
|
+
type = _c === void 0 ? 'primary' : _c,
|
|
342
|
+
_d = _a.size,
|
|
343
|
+
size = _d === void 0 ? '' : _d,
|
|
344
|
+
_e = _a.variant,
|
|
345
|
+
variant = _e === void 0 ? '' : _e,
|
|
346
|
+
leadingIcon = _a.leadingIcon,
|
|
347
|
+
trailingIcon = _a.trailingIcon,
|
|
348
|
+
children = _a.children,
|
|
349
|
+
onClick = _a.onClick;
|
|
350
|
+
var el = react.useRef(null);
|
|
351
|
+
react.useEffect(function () {
|
|
352
|
+
if (!el.current) {
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
186
355
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
356
|
+
var current = el.current;
|
|
357
|
+
|
|
358
|
+
var listener = function listener(e) {
|
|
359
|
+
onClick(e);
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
current.addEventListener('_click', listener);
|
|
363
|
+
return function () {
|
|
364
|
+
current.removeEventListener('_click', listener);
|
|
365
|
+
};
|
|
366
|
+
}, [el, onClick]);
|
|
367
|
+
return jsxRuntime.jsx("goa-button", __assign({
|
|
368
|
+
ref: el,
|
|
369
|
+
role: "button",
|
|
370
|
+
type: type,
|
|
371
|
+
size: size,
|
|
372
|
+
variant: variant,
|
|
373
|
+
disabled: disabled,
|
|
374
|
+
title: title,
|
|
375
|
+
leadingicon: leadingIcon,
|
|
376
|
+
trailingicon: trailingIcon
|
|
377
|
+
}, {
|
|
378
|
+
children: children
|
|
379
|
+
}), void 0);
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
var css_248z = "goa-button-group > goa-button ~ goa-button {\n margin: 0;\n margin-top: 0.25rem;\n}\n\n@media (min-width: 480px) {\n goa-button-group > goa-button ~ goa-button {\n margin: 0;\n }\n}\n";
|
|
383
|
+
styleInject(css_248z);
|
|
384
|
+
|
|
385
|
+
var GoAButtonGroup = function GoAButtonGroup(_a) {
|
|
386
|
+
var alignment = _a.alignment,
|
|
387
|
+
children = _a.children;
|
|
388
|
+
return jsxRuntime.jsx("goa-button-group", __assign({
|
|
389
|
+
alignment: alignment
|
|
390
|
+
}, {
|
|
391
|
+
children: children
|
|
392
|
+
}), void 0);
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
var GoACallout = function GoACallout(_a) {
|
|
396
|
+
var title = _a.title,
|
|
397
|
+
_b = _a.type,
|
|
398
|
+
type = _b === void 0 ? "information" : _b,
|
|
399
|
+
children = _a.children;
|
|
400
|
+
return jsxRuntime.jsx("goa-callout", __assign({
|
|
401
|
+
title: title,
|
|
402
|
+
type: type
|
|
403
|
+
}, {
|
|
404
|
+
children: children
|
|
405
|
+
}), void 0);
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
var GoACheckbox = function GoACheckbox(_a) {
|
|
409
|
+
var id = _a.id,
|
|
410
|
+
name = _a.name,
|
|
411
|
+
testId = _a.testId,
|
|
412
|
+
error = _a.error,
|
|
413
|
+
disabled = _a.disabled,
|
|
414
|
+
checked = _a.checked,
|
|
415
|
+
value = _a.value,
|
|
416
|
+
text = _a.text,
|
|
417
|
+
children = _a.children,
|
|
418
|
+
onChange = _a.onChange;
|
|
419
|
+
var el = react.useRef(null);
|
|
420
|
+
react.useEffect(function () {
|
|
421
|
+
if (!el.current) {
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
209
424
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
425
|
+
var current = el.current;
|
|
426
|
+
|
|
427
|
+
var listener = function listener(e) {
|
|
428
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(name, e.detail.checked, e.detail.value);
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
current.addEventListener('_change', listener);
|
|
432
|
+
return function () {
|
|
433
|
+
current.removeEventListener('_change', listener);
|
|
434
|
+
};
|
|
435
|
+
}, []);
|
|
436
|
+
return jsxRuntime.jsx("goa-checkbox", __assign({
|
|
437
|
+
"data-testid": testId,
|
|
438
|
+
ref: el,
|
|
439
|
+
id: id,
|
|
440
|
+
name: name,
|
|
441
|
+
error: error,
|
|
442
|
+
checked: checked,
|
|
443
|
+
disabled: disabled,
|
|
444
|
+
text: text,
|
|
445
|
+
value: value
|
|
446
|
+
}, {
|
|
447
|
+
children: children
|
|
448
|
+
}), void 0);
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
var GoAChip = function GoAChip(_a) {
|
|
452
|
+
var _b = _a.leadingIcon,
|
|
453
|
+
leadingIcon = _b === void 0 ? "" : _b,
|
|
454
|
+
_c = _a.deletable,
|
|
455
|
+
deletable = _c === void 0 ? false : _c,
|
|
456
|
+
_d = _a.error,
|
|
457
|
+
error = _d === void 0 ? false : _d,
|
|
458
|
+
content = _a.content,
|
|
459
|
+
onClick = _a.onClick;
|
|
460
|
+
var el = react.useRef(null);
|
|
461
|
+
react.useEffect(function () {
|
|
462
|
+
if (!el.current) return;
|
|
463
|
+
if (!onClick) return;
|
|
464
|
+
var current = el.current;
|
|
465
|
+
|
|
466
|
+
var listener = function listener(e) {
|
|
467
|
+
onClick();
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
current.addEventListener('_click', listener);
|
|
471
|
+
return function () {
|
|
472
|
+
current.removeEventListener('_click', listener);
|
|
473
|
+
};
|
|
474
|
+
}, [el, onClick]);
|
|
475
|
+
return jsxRuntime.jsx("goa-chip", {
|
|
476
|
+
ref: el,
|
|
477
|
+
leadingicon: leadingIcon,
|
|
478
|
+
error: error,
|
|
479
|
+
deletable: deletable,
|
|
480
|
+
content: content
|
|
481
|
+
}, void 0);
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
var GoACircularProgress = function GoACircularProgress(_a) {
|
|
485
|
+
var type = _a.type,
|
|
486
|
+
visible = _a.visible,
|
|
487
|
+
message = _a.message,
|
|
488
|
+
progress = _a.progress,
|
|
489
|
+
variant = _a.variant,
|
|
490
|
+
size = _a.size;
|
|
491
|
+
return jsxRuntime.jsx("goa-circular-progress", {
|
|
492
|
+
type: type,
|
|
493
|
+
visible: visible ? "true" : "false",
|
|
494
|
+
message: message,
|
|
495
|
+
progress: progress,
|
|
496
|
+
variant: variant,
|
|
497
|
+
size: size
|
|
498
|
+
}, void 0);
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
var GoAContainer = function GoAContainer(_a) {
|
|
502
|
+
var headingSize = _a.headingSize,
|
|
503
|
+
title = _a.title,
|
|
504
|
+
_b = _a.colored,
|
|
505
|
+
colored = _b === void 0 ? false : _b,
|
|
506
|
+
children = _a.children,
|
|
507
|
+
actions = _a.actions,
|
|
508
|
+
_c = _a.variant,
|
|
509
|
+
variant = _c === void 0 ? 'default' : _c;
|
|
510
|
+
return jsxRuntime.jsxs("goa-container", __assign({
|
|
511
|
+
variant: variant,
|
|
512
|
+
headingsize: headingSize,
|
|
513
|
+
colored: colored
|
|
514
|
+
}, {
|
|
515
|
+
children: [title && jsxRuntime.jsx("div", __assign({
|
|
516
|
+
slot: "title"
|
|
231
517
|
}, {
|
|
232
|
-
children:
|
|
233
|
-
}), void 0)
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
var css_248z = "goa-button-group > goa-button ~ goa-button {\n margin: 0;\n margin-top: 0.25rem;\n}\n\n@media (min-width: 480px) {\n goa-button-group > goa-button ~ goa-button {\n margin: 0;\n }\n}\n";
|
|
237
|
-
styleInject(css_248z);
|
|
238
|
-
|
|
239
|
-
var GoAButtonGroup = function GoAButtonGroup(_a) {
|
|
240
|
-
var alignment = _a.alignment,
|
|
241
|
-
children = _a.children;
|
|
242
|
-
return jsxRuntime.jsx("goa-button-group", __assign({
|
|
243
|
-
alignment: alignment
|
|
244
|
-
}, {
|
|
245
|
-
children: children
|
|
246
|
-
}), void 0);
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
var GoACallout = function GoACallout(_a) {
|
|
250
|
-
var title = _a.title,
|
|
251
|
-
_b = _a.type,
|
|
252
|
-
type = _b === void 0 ? "information" : _b,
|
|
253
|
-
children = _a.children;
|
|
254
|
-
return jsxRuntime.jsx("goa-callout", __assign({
|
|
255
|
-
title: title,
|
|
256
|
-
type: type
|
|
518
|
+
children: title
|
|
519
|
+
}), void 0), children, actions && jsxRuntime.jsx("div", __assign({
|
|
520
|
+
slot: "actions"
|
|
257
521
|
}, {
|
|
258
|
-
children:
|
|
259
|
-
}), void 0)
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
522
|
+
children: actions
|
|
523
|
+
}), void 0)]
|
|
524
|
+
}), void 0);
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
var GoADropdownOption = function GoADropdownOption(props) {
|
|
528
|
+
return jsxRuntime.jsx("goa-dropdown-item", __assign({
|
|
529
|
+
"data-testid": props.testId,
|
|
530
|
+
name: props.name,
|
|
531
|
+
value: props.value,
|
|
532
|
+
label: props.label
|
|
533
|
+
}, {
|
|
534
|
+
children: props.children
|
|
535
|
+
}), void 0);
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
var GoADropdown = function GoADropdown(props) {
|
|
539
|
+
var el = react.useRef(null);
|
|
540
|
+
react.useEffect(function () {
|
|
541
|
+
if (!el.current) {
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
278
544
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
return
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
var GoADropdown = function GoADropdown(props) {
|
|
390
|
-
var el = react.useRef(null);
|
|
391
|
-
react.useEffect(function () {
|
|
392
|
-
if (!el.current) {
|
|
393
|
-
return;
|
|
394
|
-
}
|
|
545
|
+
var current = el.current;
|
|
546
|
+
|
|
547
|
+
var handler = function handler(state) {
|
|
548
|
+
var _a = state.detail,
|
|
549
|
+
name = _a.name,
|
|
550
|
+
value = _a.value,
|
|
551
|
+
values = _a.values;
|
|
552
|
+
props.onChange(name, props.multiselect ? values : value);
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
current.addEventListener('_change', handler);
|
|
556
|
+
return function () {
|
|
557
|
+
current.removeEventListener('_change', handler);
|
|
558
|
+
};
|
|
559
|
+
}, [el, props]);
|
|
560
|
+
return jsxRuntime.jsx("goa-dropdown", __assign({
|
|
561
|
+
ref: el,
|
|
562
|
+
name: props.name,
|
|
563
|
+
value: JSON.stringify(props.value),
|
|
564
|
+
leadingicon: props.leadingIcon,
|
|
565
|
+
maxheight: props.maxHeight,
|
|
566
|
+
placeholder: props.placeholder,
|
|
567
|
+
filterable: props.filterable,
|
|
568
|
+
disabled: props.disabled,
|
|
569
|
+
multiselect: props.multiselect,
|
|
570
|
+
error: props.error,
|
|
571
|
+
testid: props.testId,
|
|
572
|
+
width: props.width
|
|
573
|
+
}, {
|
|
574
|
+
children: props.children
|
|
575
|
+
}), void 0);
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
var GoAFlexRow = function GoAFlexRow(_a) {
|
|
579
|
+
var gap = _a.gap,
|
|
580
|
+
children = _a.children;
|
|
581
|
+
return jsxRuntime.jsx("goa-flex-row", __assign({
|
|
582
|
+
gap: gap
|
|
583
|
+
}, {
|
|
584
|
+
children: children
|
|
585
|
+
}), void 0);
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
var GoAFormItem = function GoAFormItem(_a) {
|
|
589
|
+
var children = _a.children,
|
|
590
|
+
helpText = _a.helpText,
|
|
591
|
+
error = _a.error,
|
|
592
|
+
optional = _a.optional,
|
|
593
|
+
label = _a.label;
|
|
594
|
+
return jsxRuntime.jsx("goa-form-item", __assign({
|
|
595
|
+
label: label,
|
|
596
|
+
error: error,
|
|
597
|
+
optional: optional,
|
|
598
|
+
helptext: helpText
|
|
599
|
+
}, {
|
|
600
|
+
children: children
|
|
601
|
+
}), void 0);
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
var GoAHeroBanner = function GoAHeroBanner(_a) {
|
|
605
|
+
var title = _a.title,
|
|
606
|
+
backgroundUrl = _a.backgroundUrl,
|
|
607
|
+
children = _a.children;
|
|
608
|
+
return jsxRuntime.jsx("goa-hero-banner", __assign({
|
|
609
|
+
title: title,
|
|
610
|
+
backgroundurl: backgroundUrl
|
|
611
|
+
}, {
|
|
612
|
+
children: children
|
|
613
|
+
}), void 0);
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
var GoAHeroBannerActions = function GoAHeroBannerActions(_a) {
|
|
617
|
+
var children = _a.children;
|
|
618
|
+
return jsxRuntime.jsx("div", __assign({
|
|
619
|
+
slot: "actions"
|
|
620
|
+
}, {
|
|
621
|
+
children: children
|
|
622
|
+
}), void 0);
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
function GoAIcon(_a) {
|
|
626
|
+
var type = _a.type,
|
|
627
|
+
_b = _a.theme,
|
|
628
|
+
theme = _b === void 0 ? 'outline' : _b,
|
|
629
|
+
_c = _a.size,
|
|
630
|
+
size = _c === void 0 ? 'medium' : _c;
|
|
631
|
+
return jsxRuntime.jsx("goa-icon", {
|
|
632
|
+
type: type,
|
|
633
|
+
theme: theme,
|
|
634
|
+
size: size
|
|
635
|
+
}, void 0);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
var GoAIconButton = function GoAIconButton(_a) {
|
|
639
|
+
var type = _a.type,
|
|
640
|
+
disabled = _a.disabled,
|
|
641
|
+
_b = _a.variant,
|
|
642
|
+
variant = _b === void 0 ? 'primary' : _b,
|
|
643
|
+
onClick = _a.onClick,
|
|
644
|
+
_c = _a.size,
|
|
645
|
+
size = _c === void 0 ? 'medium' : _c,
|
|
646
|
+
title = _a.title,
|
|
647
|
+
children = _a.children;
|
|
648
|
+
var ref = react.useRef(null);
|
|
649
|
+
react.useEffect(function () {
|
|
650
|
+
if (!ref.current) {
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
395
653
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
var
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
label = _a.label;
|
|
444
|
-
return jsxRuntime.jsx("goa-form-item", __assign({
|
|
445
|
-
label: label,
|
|
446
|
-
error: error,
|
|
447
|
-
optional: optional,
|
|
448
|
-
helptext: helpText
|
|
449
|
-
}, {
|
|
450
|
-
children: children
|
|
451
|
-
}), void 0);
|
|
452
|
-
};
|
|
453
|
-
|
|
454
|
-
var GoAHeroBanner = function GoAHeroBanner(_a) {
|
|
455
|
-
var title = _a.title,
|
|
456
|
-
backgroundUrl = _a.backgroundUrl,
|
|
457
|
-
children = _a.children;
|
|
458
|
-
return jsxRuntime.jsx("goa-hero-banner", __assign({
|
|
459
|
-
title: title,
|
|
460
|
-
backgroundurl: backgroundUrl
|
|
461
|
-
}, {
|
|
462
|
-
children: children
|
|
463
|
-
}), void 0);
|
|
464
|
-
};
|
|
654
|
+
var current = ref.current;
|
|
655
|
+
|
|
656
|
+
var listener = function listener(e) {
|
|
657
|
+
onClick();
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
current.addEventListener('_click', listener);
|
|
661
|
+
return function () {
|
|
662
|
+
current.removeEventListener('_click', listener);
|
|
663
|
+
};
|
|
664
|
+
}, [ref, onClick]);
|
|
665
|
+
return jsxRuntime.jsx("goa-icon-button", __assign({
|
|
666
|
+
ref: ref,
|
|
667
|
+
type: type,
|
|
668
|
+
disabled: disabled,
|
|
669
|
+
variant: variant,
|
|
670
|
+
size: size,
|
|
671
|
+
title: title
|
|
672
|
+
}, {
|
|
673
|
+
children: children
|
|
674
|
+
}), void 0);
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
var GoAMicrositeHeader = function GoAMicrositeHeader(_a) {
|
|
678
|
+
var level = _a.level,
|
|
679
|
+
version = _a.version,
|
|
680
|
+
feedbackUrl = _a.feedbackUrl;
|
|
681
|
+
return jsxRuntime.jsx("goa-microsite-header", {
|
|
682
|
+
level: level,
|
|
683
|
+
version: version,
|
|
684
|
+
feedbackurl: feedbackUrl
|
|
685
|
+
}, void 0);
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
var GoAModal = function GoAModal(_a) {
|
|
689
|
+
var heading = _a.heading,
|
|
690
|
+
children = _a.children,
|
|
691
|
+
open = _a.open,
|
|
692
|
+
width = _a.width,
|
|
693
|
+
actions = _a.actions,
|
|
694
|
+
transition = _a.transition,
|
|
695
|
+
onClose = _a.onClose;
|
|
696
|
+
var el = react.useRef(null);
|
|
697
|
+
react.useEffect(function () {
|
|
698
|
+
if (!el.current) {
|
|
699
|
+
return;
|
|
700
|
+
}
|
|
465
701
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
702
|
+
var current = el.current;
|
|
703
|
+
|
|
704
|
+
var listener = function listener(e) {
|
|
705
|
+
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
current.addEventListener('_close', listener);
|
|
709
|
+
return function () {
|
|
710
|
+
current.removeEventListener('_close', listener);
|
|
711
|
+
};
|
|
712
|
+
}, [el, onClose]);
|
|
713
|
+
return jsxRuntime.jsxs("goa-modal", __assign({
|
|
714
|
+
ref: el,
|
|
715
|
+
heading: heading,
|
|
716
|
+
open: open,
|
|
717
|
+
closable: !!onClose,
|
|
718
|
+
scrollable: true,
|
|
719
|
+
width: width,
|
|
720
|
+
transition: transition
|
|
721
|
+
}, {
|
|
722
|
+
children: [actions && jsxRuntime.jsx("div", __assign({
|
|
469
723
|
slot: "actions"
|
|
470
724
|
}, {
|
|
471
|
-
children:
|
|
472
|
-
}), void 0)
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
variant = _b === void 0 ? 'goa' : _b,
|
|
535
|
-
focused = _a.focused,
|
|
536
|
-
disabled = _a.disabled,
|
|
537
|
-
readonly = _a.readonly,
|
|
538
|
-
value = _a.value,
|
|
539
|
-
placeholder = _a.placeholder,
|
|
540
|
-
error = _a.error,
|
|
541
|
-
width = _a.width,
|
|
542
|
-
showCounter = _a.showCounter,
|
|
543
|
-
maxCharCount = _a.maxCharCount,
|
|
544
|
-
testId = _a.testId,
|
|
545
|
-
onTrailingIconClick = _a.onTrailingIconClick,
|
|
546
|
-
onChange = _a.onChange;
|
|
547
|
-
var ref = react.useRef(null);
|
|
548
|
-
react.useEffect(function () {
|
|
549
|
-
if (!ref.current) {
|
|
550
|
-
return;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
var current = ref.current;
|
|
554
|
-
|
|
555
|
-
var changeListener = function changeListener(e) {
|
|
556
|
-
var _a = e.detail,
|
|
557
|
-
name = _a.name,
|
|
558
|
-
value = _a.value;
|
|
559
|
-
onChange(name, value);
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
var clickListener = function clickListener(e) {
|
|
563
|
-
onTrailingIconClick === null || onTrailingIconClick === void 0 ? void 0 : onTrailingIconClick();
|
|
564
|
-
};
|
|
565
|
-
|
|
566
|
-
current.addEventListener('_change', changeListener);
|
|
567
|
-
current.addEventListener('_trailingIconClick', clickListener);
|
|
568
|
-
return function () {
|
|
569
|
-
current.removeEventListener('_change', changeListener);
|
|
570
|
-
current.removeEventListener('_trailingIconClick', clickListener);
|
|
571
|
-
};
|
|
572
|
-
}, [ref, onChange, onTrailingIconClick]);
|
|
573
|
-
return jsxRuntime.jsx("goa-input", {
|
|
574
|
-
ref: ref,
|
|
575
|
-
focused: focused,
|
|
576
|
-
type: type,
|
|
577
|
-
name: name,
|
|
578
|
-
id: id,
|
|
579
|
-
leadingicon: leadingIcon,
|
|
580
|
-
trailingicon: trailingIcon,
|
|
581
|
-
variant: variant,
|
|
582
|
-
disabled: disabled,
|
|
583
|
-
readonly: readonly,
|
|
584
|
-
placeholder: placeholder,
|
|
585
|
-
error: error,
|
|
586
|
-
"data-testid": testId,
|
|
587
|
-
value: value,
|
|
588
|
-
width: width,
|
|
589
|
-
showcounter: showCounter,
|
|
590
|
-
maxcharcount: maxCharCount,
|
|
591
|
-
handletrailingiconclick: !!onTrailingIconClick
|
|
592
|
-
}, void 0);
|
|
593
|
-
};
|
|
594
|
-
var GoAInputText = function GoAInputText(props) {
|
|
595
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
596
|
-
type: "text"
|
|
597
|
-
}), void 0);
|
|
598
|
-
};
|
|
599
|
-
var GoAInputPassword = function GoAInputPassword(props) {
|
|
600
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
601
|
-
type: "password"
|
|
602
|
-
}), void 0);
|
|
603
|
-
};
|
|
604
|
-
var GoAInputDate = function GoAInputDate(props) {
|
|
605
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
606
|
-
type: "date"
|
|
607
|
-
}), void 0);
|
|
608
|
-
};
|
|
609
|
-
var GoAInputTime = function GoAInputTime(props) {
|
|
610
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
611
|
-
type: "time"
|
|
612
|
-
}), void 0);
|
|
613
|
-
};
|
|
614
|
-
var GoAInputDateTime = function GoAInputDateTime(props) {
|
|
615
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
616
|
-
type: "datetime-local"
|
|
617
|
-
}), void 0);
|
|
618
|
-
};
|
|
619
|
-
var GoAInputEmail = function GoAInputEmail(props) {
|
|
620
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
621
|
-
type: "email"
|
|
622
|
-
}), void 0);
|
|
623
|
-
};
|
|
624
|
-
var GoAInputSearch = function GoAInputSearch(props) {
|
|
625
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
626
|
-
type: "search",
|
|
627
|
-
trailingIcon: "search"
|
|
628
|
-
}), void 0);
|
|
629
|
-
};
|
|
630
|
-
var GoAInputUrl = function GoAInputUrl(props) {
|
|
631
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
632
|
-
type: "url"
|
|
633
|
-
}), void 0);
|
|
634
|
-
};
|
|
635
|
-
var GoAInputTel = function GoAInputTel(props) {
|
|
636
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
637
|
-
type: "tel"
|
|
638
|
-
}), void 0);
|
|
639
|
-
};
|
|
640
|
-
var GoAInputFile = function GoAInputFile(props) {
|
|
641
|
-
return jsxRuntime.jsx("input", {
|
|
642
|
-
id: props.id,
|
|
643
|
-
name: props.name,
|
|
644
|
-
type: "file",
|
|
645
|
-
onChange: function (e) {
|
|
646
|
-
return props.onChange(e.target.name, e.target.value);
|
|
647
|
-
},
|
|
648
|
-
style: {
|
|
649
|
-
backgroundColor: 'revert'
|
|
650
|
-
}
|
|
651
|
-
}, void 0);
|
|
652
|
-
};
|
|
653
|
-
var GoAInputMonth = function GoAInputMonth(props) {
|
|
654
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
655
|
-
type: "month"
|
|
656
|
-
}), void 0);
|
|
657
|
-
};
|
|
658
|
-
var GoAInputNumber = function GoAInputNumber(props) {
|
|
659
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
660
|
-
type: "number"
|
|
661
|
-
}), void 0);
|
|
662
|
-
};
|
|
663
|
-
var GoAInputRange = function GoAInputRange(_a) {
|
|
664
|
-
_a.step;
|
|
665
|
-
var props = __rest(_a, ["step"]);
|
|
666
|
-
|
|
667
|
-
return jsxRuntime.jsx(GoAInput, __assign({}, props, {
|
|
668
|
-
type: "range"
|
|
669
|
-
}), void 0);
|
|
670
|
-
};
|
|
671
|
-
|
|
672
|
-
var GoAMicrositeHeader = function GoAMicrositeHeader(_a) {
|
|
673
|
-
var level = _a.level,
|
|
674
|
-
version = _a.version,
|
|
675
|
-
feedbackUrl = _a.feedbackUrl;
|
|
676
|
-
return jsxRuntime.jsx("goa-microsite-header", {
|
|
677
|
-
level: level,
|
|
678
|
-
version: version,
|
|
679
|
-
feedbackurl: feedbackUrl
|
|
680
|
-
}, void 0);
|
|
681
|
-
};
|
|
682
|
-
|
|
683
|
-
var GoAModal = function GoAModal(_a) {
|
|
684
|
-
var heading = _a.heading,
|
|
685
|
-
children = _a.children,
|
|
686
|
-
open = _a.open,
|
|
687
|
-
width = _a.width,
|
|
688
|
-
actions = _a.actions,
|
|
689
|
-
transition = _a.transition,
|
|
690
|
-
onClose = _a.onClose;
|
|
691
|
-
var el = react.useRef(null);
|
|
692
|
-
react.useEffect(function () {
|
|
693
|
-
if (!el.current) {
|
|
694
|
-
return;
|
|
695
|
-
}
|
|
725
|
+
children: actions
|
|
726
|
+
}), void 0), children]
|
|
727
|
+
}), void 0);
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
var GoANotification = function GoANotification(_a) {
|
|
731
|
+
var _b = _a.type,
|
|
732
|
+
type = _b === void 0 ? "information" : _b,
|
|
733
|
+
children = _a.children;
|
|
734
|
+
return jsxRuntime.jsx("goa-notification", __assign({
|
|
735
|
+
type: type
|
|
736
|
+
}, {
|
|
737
|
+
children: children
|
|
738
|
+
}), void 0);
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
var GoAPageBlock = function GoAPageBlock(props) {
|
|
742
|
+
return jsxRuntime.jsx("goa-page-block", __assign({
|
|
743
|
+
width: props.width
|
|
744
|
+
}, {
|
|
745
|
+
children: props.children
|
|
746
|
+
}), void 0);
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
var GoARadioItem = function GoARadioItem(_a) {
|
|
750
|
+
var name = _a.name,
|
|
751
|
+
label = _a.label,
|
|
752
|
+
value = _a.value,
|
|
753
|
+
disabled = _a.disabled,
|
|
754
|
+
checked = _a.checked,
|
|
755
|
+
error = _a.error,
|
|
756
|
+
testId = _a.testId,
|
|
757
|
+
children = _a.children;
|
|
758
|
+
return jsxRuntime.jsx("goa-radio-item", __assign({
|
|
759
|
+
name: name,
|
|
760
|
+
label: label,
|
|
761
|
+
value: value,
|
|
762
|
+
error: error,
|
|
763
|
+
disabled: disabled,
|
|
764
|
+
checked: checked,
|
|
765
|
+
"data-testid": testId
|
|
766
|
+
}, {
|
|
767
|
+
children: children
|
|
768
|
+
}), void 0);
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
var GoARadioGroup = function GoARadioGroup(_a) {
|
|
772
|
+
var name = _a.name,
|
|
773
|
+
value = _a.value,
|
|
774
|
+
children = _a.children,
|
|
775
|
+
_b = _a.orientation,
|
|
776
|
+
orientation = _b === void 0 ? 'vertical' : _b,
|
|
777
|
+
_c = _a.disabled,
|
|
778
|
+
disabled = _c === void 0 ? false : _c,
|
|
779
|
+
_d = _a.error,
|
|
780
|
+
error = _d === void 0 ? false : _d,
|
|
781
|
+
testId = _a.testId,
|
|
782
|
+
onChange = _a.onChange;
|
|
783
|
+
var el = react.useRef(null);
|
|
784
|
+
react.useEffect(function () {
|
|
785
|
+
if (!el.current) {
|
|
786
|
+
return;
|
|
787
|
+
}
|
|
696
788
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
701
|
-
};
|
|
702
|
-
|
|
703
|
-
current.addEventListener('_close', listener);
|
|
704
|
-
return function () {
|
|
705
|
-
current.removeEventListener('_close', listener);
|
|
706
|
-
};
|
|
707
|
-
}, [el, onClose]);
|
|
708
|
-
return jsxRuntime.jsxs("goa-modal", __assign({
|
|
709
|
-
ref: el,
|
|
710
|
-
heading: heading,
|
|
711
|
-
open: open,
|
|
712
|
-
closable: !!onClose,
|
|
713
|
-
scrollable: true,
|
|
714
|
-
width: width,
|
|
715
|
-
transition: transition
|
|
716
|
-
}, {
|
|
717
|
-
children: [actions && jsxRuntime.jsx("div", __assign({
|
|
718
|
-
slot: "actions"
|
|
719
|
-
}, {
|
|
720
|
-
children: actions
|
|
721
|
-
}), void 0), children]
|
|
722
|
-
}), void 0);
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
var GoANotification = function GoANotification(_a) {
|
|
726
|
-
var _b = _a.type,
|
|
727
|
-
type = _b === void 0 ? "information" : _b,
|
|
728
|
-
children = _a.children;
|
|
729
|
-
return jsxRuntime.jsx("goa-notification", __assign({
|
|
730
|
-
type: type
|
|
731
|
-
}, {
|
|
732
|
-
children: children
|
|
733
|
-
}), void 0);
|
|
734
|
-
};
|
|
735
|
-
|
|
736
|
-
var GoAPageBlock = function GoAPageBlock(_a) {
|
|
737
|
-
var children = _a.children;
|
|
738
|
-
return jsxRuntime.jsx("goa-page-block", {
|
|
739
|
-
children: children
|
|
740
|
-
}, void 0);
|
|
741
|
-
};
|
|
742
|
-
|
|
743
|
-
var GoARadioItem = function GoARadioItem(_a) {
|
|
744
|
-
var name = _a.name,
|
|
745
|
-
label = _a.label,
|
|
746
|
-
value = _a.value,
|
|
747
|
-
disabled = _a.disabled,
|
|
748
|
-
checked = _a.checked,
|
|
749
|
-
error = _a.error,
|
|
750
|
-
testId = _a.testId,
|
|
751
|
-
children = _a.children;
|
|
752
|
-
return jsxRuntime.jsx("goa-radio-item", __assign({
|
|
753
|
-
name: name,
|
|
754
|
-
label: label,
|
|
755
|
-
value: value,
|
|
756
|
-
error: error,
|
|
757
|
-
disabled: disabled,
|
|
758
|
-
checked: checked,
|
|
759
|
-
"data-testid": testId
|
|
760
|
-
}, {
|
|
761
|
-
children: children
|
|
762
|
-
}), void 0);
|
|
763
|
-
};
|
|
764
|
-
|
|
765
|
-
var GoARadioGroup = function GoARadioGroup(_a) {
|
|
766
|
-
var name = _a.name,
|
|
767
|
-
value = _a.value,
|
|
768
|
-
children = _a.children,
|
|
769
|
-
_b = _a.orientation,
|
|
770
|
-
orientation = _b === void 0 ? 'vertical' : _b,
|
|
771
|
-
_c = _a.disabled,
|
|
772
|
-
disabled = _c === void 0 ? false : _c,
|
|
773
|
-
_d = _a.error,
|
|
774
|
-
error = _d === void 0 ? false : _d,
|
|
775
|
-
testId = _a.testId,
|
|
776
|
-
onChange = _a.onChange;
|
|
777
|
-
var el = react.useRef(null);
|
|
778
|
-
react.useEffect(function () {
|
|
779
|
-
if (!el.current) {
|
|
789
|
+
var listener = function listener(e) {
|
|
790
|
+
if (!onChange) {
|
|
791
|
+
console.warn("Missing onChange function");
|
|
780
792
|
return;
|
|
781
793
|
}
|
|
782
794
|
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
size
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
var el = react.useRef(null);
|
|
848
|
-
react.useEffect(function () {
|
|
849
|
-
if (!el.current) {
|
|
850
|
-
return;
|
|
851
|
-
}
|
|
795
|
+
onChange(name, e.detail.value);
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
var currentEl = el.current;
|
|
799
|
+
currentEl.addEventListener("_change", listener);
|
|
800
|
+
return function () {
|
|
801
|
+
currentEl.removeEventListener("_change", listener);
|
|
802
|
+
};
|
|
803
|
+
}, []);
|
|
804
|
+
return jsxRuntime.jsx("goa-radio-group", __assign({
|
|
805
|
+
"data-testid": testId,
|
|
806
|
+
ref: el,
|
|
807
|
+
name: name,
|
|
808
|
+
value: value,
|
|
809
|
+
orientation: orientation,
|
|
810
|
+
disabled: disabled,
|
|
811
|
+
error: error
|
|
812
|
+
}, {
|
|
813
|
+
children: children
|
|
814
|
+
}), void 0);
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
var GoASkeleton = function GoASkeleton(_a) {
|
|
818
|
+
var type = _a.type,
|
|
819
|
+
_b = _a.size,
|
|
820
|
+
size = _b === void 0 ? 1 : _b;
|
|
821
|
+
return jsxRuntime.jsx("goa-skeleton", {
|
|
822
|
+
type: type,
|
|
823
|
+
size: size
|
|
824
|
+
}, void 0);
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
var GoASpinner = function GoASpinner(_a) {
|
|
828
|
+
var type = _a.type,
|
|
829
|
+
size = _a.size,
|
|
830
|
+
progress = _a.progress,
|
|
831
|
+
invert = _a.invert,
|
|
832
|
+
testId = _a.testId;
|
|
833
|
+
return jsxRuntime.jsx("goa-spinner", {
|
|
834
|
+
type: type,
|
|
835
|
+
size: size,
|
|
836
|
+
progress: progress,
|
|
837
|
+
invert: invert,
|
|
838
|
+
testid: testId
|
|
839
|
+
}, void 0);
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
var GoATextArea = function GoATextArea(_a) {
|
|
843
|
+
var name = _a.name,
|
|
844
|
+
value = _a.value,
|
|
845
|
+
placeholder = _a.placeholder,
|
|
846
|
+
rows = _a.rows,
|
|
847
|
+
disabled = _a.disabled,
|
|
848
|
+
showCounter = _a.showCounter,
|
|
849
|
+
maxCharCount = _a.maxCharCount,
|
|
850
|
+
width = _a.width,
|
|
851
|
+
testId = _a.testId,
|
|
852
|
+
error = _a.error,
|
|
853
|
+
onChange = _a.onChange;
|
|
854
|
+
var el = react.useRef(null);
|
|
855
|
+
react.useEffect(function () {
|
|
856
|
+
if (!el.current) {
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
852
859
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
};
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
860
|
+
var current = el.current;
|
|
861
|
+
|
|
862
|
+
var listener = function listener(e) {
|
|
863
|
+
var _a = e.detail,
|
|
864
|
+
name = _a.name,
|
|
865
|
+
value = _a.value;
|
|
866
|
+
onChange(name, value);
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
current.addEventListener('_change', listener);
|
|
870
|
+
return function () {
|
|
871
|
+
current.removeEventListener('_change', listener);
|
|
872
|
+
};
|
|
873
|
+
}, [el, onChange]);
|
|
874
|
+
return jsxRuntime.jsx("goa-textarea", {
|
|
875
|
+
ref: el,
|
|
876
|
+
name: name,
|
|
877
|
+
placeholder: placeholder,
|
|
878
|
+
value: value,
|
|
879
|
+
rows: rows,
|
|
880
|
+
disabled: disabled,
|
|
881
|
+
showcounter: showCounter,
|
|
882
|
+
maxcharcount: maxCharCount,
|
|
883
|
+
width: width,
|
|
884
|
+
error: error,
|
|
885
|
+
"data-testid": testId
|
|
886
|
+
}, void 0);
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
var GoAFlexCol = function GoAFlexCol(_a) {
|
|
890
|
+
var gap = _a.gap,
|
|
891
|
+
children = _a.children;
|
|
892
|
+
return jsxRuntime.jsx("goa-flex-col", __assign({
|
|
893
|
+
gap: gap
|
|
894
|
+
}, {
|
|
895
|
+
children: children
|
|
896
|
+
}), void 0);
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
function GoAPage(props) {
|
|
900
|
+
return jsxRuntime.jsx("goa-page", {
|
|
901
|
+
children: props.children
|
|
902
|
+
}, void 0);
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
function GoADivider(props) {
|
|
906
|
+
return jsxRuntime.jsx("goa-divider", {
|
|
907
|
+
spacing: props.spacing
|
|
908
|
+
}, void 0);
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
exports.GoAAppFooter = GoAAppFooter;
|
|
912
|
+
exports.GoAAppHeader = GoAAppHeader;
|
|
913
|
+
exports.GoABadge = GoABadge;
|
|
914
|
+
exports.GoAButton = GoAButton;
|
|
915
|
+
exports.GoAButtonGroup = GoAButtonGroup;
|
|
916
|
+
exports.GoACallout = GoACallout;
|
|
917
|
+
exports.GoACheckbox = GoACheckbox;
|
|
918
|
+
exports.GoAChip = GoAChip;
|
|
919
|
+
exports.GoACircularProgress = GoACircularProgress;
|
|
920
|
+
exports.GoAContainer = GoAContainer;
|
|
921
|
+
exports.GoADivider = GoADivider;
|
|
922
|
+
exports.GoADropdown = GoADropdown;
|
|
923
|
+
exports.GoADropdownOption = GoADropdownOption;
|
|
924
|
+
exports.GoAEmergencyBadge = GoAEmergencyBadge;
|
|
925
|
+
exports.GoAFlexCol = GoAFlexCol;
|
|
926
|
+
exports.GoAFlexRow = GoAFlexRow;
|
|
927
|
+
exports.GoAFormItem = GoAFormItem;
|
|
928
|
+
exports.GoAHeroBanner = GoAHeroBanner;
|
|
929
|
+
exports.GoAHeroBannerActions = GoAHeroBannerActions;
|
|
930
|
+
exports.GoAIcon = GoAIcon;
|
|
931
|
+
exports.GoAIconButton = GoAIconButton;
|
|
932
|
+
exports.GoAInfoBadge = GoAInfoBadge;
|
|
933
|
+
exports.GoAInput = GoAInput;
|
|
934
|
+
exports.GoAInputDate = GoAInputDate;
|
|
935
|
+
exports.GoAInputDateTime = GoAInputDateTime;
|
|
936
|
+
exports.GoAInputEmail = GoAInputEmail;
|
|
937
|
+
exports.GoAInputFile = GoAInputFile;
|
|
938
|
+
exports.GoAInputMonth = GoAInputMonth;
|
|
939
|
+
exports.GoAInputNumber = GoAInputNumber;
|
|
940
|
+
exports.GoAInputPassword = GoAInputPassword;
|
|
941
|
+
exports.GoAInputRange = GoAInputRange;
|
|
942
|
+
exports.GoAInputSearch = GoAInputSearch;
|
|
943
|
+
exports.GoAInputTel = GoAInputTel;
|
|
944
|
+
exports.GoAInputText = GoAInputText;
|
|
945
|
+
exports.GoAInputTime = GoAInputTime;
|
|
946
|
+
exports.GoAInputUrl = GoAInputUrl;
|
|
947
|
+
exports.GoAMetaLink = GoAMetaLink;
|
|
948
|
+
exports.GoAMicrositeHeader = GoAMicrositeHeader;
|
|
949
|
+
exports.GoAModal = GoAModal;
|
|
950
|
+
exports.GoANavigationLink = GoANavigationLink;
|
|
951
|
+
exports.GoANotification = GoANotification;
|
|
952
|
+
exports.GoAPage = GoAPage;
|
|
953
|
+
exports.GoAPageBlock = GoAPageBlock;
|
|
954
|
+
exports.GoARadioGroup = GoARadioGroup;
|
|
955
|
+
exports.GoARadioItem = GoARadioItem;
|
|
956
|
+
exports.GoASkeleton = GoASkeleton;
|
|
957
|
+
exports.GoASpinner = GoASpinner;
|
|
958
|
+
exports.GoASuccessBadge = GoASuccessBadge;
|
|
959
|
+
exports.GoATextArea = GoATextArea;
|
|
960
|
+
exports.GoAWarningBadge = GoAWarningBadge;
|
|
961
|
+
|
|
962
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
930
963
|
|
|
931
964
|
}));
|