@cloudscape-design/components 3.0.836 → 3.0.837
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/app-layout/utils/use-drawers.d.ts.map +1 -1
- package/app-layout/utils/use-drawers.js +40 -51
- package/app-layout/utils/use-drawers.js.map +1 -1
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +6 -3
- package/container/internal.js.map +1 -1
- package/container/styles.css.js +31 -30
- package/container/styles.scoped.css +59 -56
- package/container/styles.selectors.js +31 -30
- package/container/test-classes/styles.css.js +6 -0
- package/container/test-classes/styles.scoped.css +7 -0
- package/container/test-classes/styles.selectors.js +7 -0
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +23 -17
- package/date-range-picker/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/date-time/format-date-time-with-offset.d.ts +9 -0
- package/internal/utils/date-time/format-date-time-with-offset.d.ts.map +1 -0
- package/internal/utils/date-time/format-date-time-with-offset.js +17 -0
- package/internal/utils/date-time/format-date-time-with-offset.js.map +1 -0
- package/internal/utils/date-time/index.d.ts +1 -1
- package/internal/utils/date-time/index.d.ts.map +1 -1
- package/internal/utils/date-time/index.js +1 -1
- package/internal/utils/date-time/index.js.map +1 -1
- package/package.json +1 -1
- package/test-utils/dom/expandable-section/index.js +11 -10
- package/test-utils/dom/expandable-section/index.js.map +1 -1
- package/test-utils/dom/index.d.ts +1343 -0
- package/test-utils/dom/index.js +237 -0
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/selectors/expandable-section/index.js +11 -10
- package/test-utils/selectors/expandable-section/index.js.map +1 -1
- package/test-utils/selectors/index.d.ts +1185 -0
- package/test-utils/selectors/index.js +237 -0
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/internal/utils/date-time/format-date-range.d.ts +0 -13
- package/internal/utils/date-time/format-date-range.d.ts.map +0 -1
- package/internal/utils/date-time/format-date-range.js +0 -36
- package/internal/utils/date-time/format-date-range.js.map +0 -1
|
@@ -169,474 +169,711 @@ selectors_1.ElementWrapper.prototype.findAlert = function (selector) {
|
|
|
169
169
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
170
170
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, alert_1.default);
|
|
171
171
|
};
|
|
172
|
+
selectors_1.ElementWrapper.prototype.findAllAlerts = function (selector) {
|
|
173
|
+
return this.findAllComponents(alert_1.default, selector);
|
|
174
|
+
};
|
|
172
175
|
selectors_1.ElementWrapper.prototype.findAnchorNavigation = function (selector) {
|
|
173
176
|
const rootSelector = `.${anchor_navigation_1.default.rootSelector}`;
|
|
174
177
|
// casting to 'any' is needed to avoid this issue with generics
|
|
175
178
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
176
179
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, anchor_navigation_1.default);
|
|
177
180
|
};
|
|
181
|
+
selectors_1.ElementWrapper.prototype.findAllAnchorNavigations = function (selector) {
|
|
182
|
+
return this.findAllComponents(anchor_navigation_1.default, selector);
|
|
183
|
+
};
|
|
178
184
|
selectors_1.ElementWrapper.prototype.findAnnotation = function (selector) {
|
|
179
185
|
const rootSelector = `.${annotation_1.default.rootSelector}`;
|
|
180
186
|
// casting to 'any' is needed to avoid this issue with generics
|
|
181
187
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
182
188
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, annotation_1.default);
|
|
183
189
|
};
|
|
190
|
+
selectors_1.ElementWrapper.prototype.findAllAnnotations = function (selector) {
|
|
191
|
+
return this.findAllComponents(annotation_1.default, selector);
|
|
192
|
+
};
|
|
184
193
|
selectors_1.ElementWrapper.prototype.findAppLayout = function (selector) {
|
|
185
194
|
const rootSelector = `.${app_layout_1.default.rootSelector}`;
|
|
186
195
|
// casting to 'any' is needed to avoid this issue with generics
|
|
187
196
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
188
197
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, app_layout_1.default);
|
|
189
198
|
};
|
|
199
|
+
selectors_1.ElementWrapper.prototype.findAllAppLayouts = function (selector) {
|
|
200
|
+
return this.findAllComponents(app_layout_1.default, selector);
|
|
201
|
+
};
|
|
190
202
|
selectors_1.ElementWrapper.prototype.findAreaChart = function (selector) {
|
|
191
203
|
const rootSelector = `.${area_chart_1.default.rootSelector}`;
|
|
192
204
|
// casting to 'any' is needed to avoid this issue with generics
|
|
193
205
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
194
206
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, area_chart_1.default);
|
|
195
207
|
};
|
|
208
|
+
selectors_1.ElementWrapper.prototype.findAllAreaCharts = function (selector) {
|
|
209
|
+
return this.findAllComponents(area_chart_1.default, selector);
|
|
210
|
+
};
|
|
196
211
|
selectors_1.ElementWrapper.prototype.findAttributeEditor = function (selector) {
|
|
197
212
|
const rootSelector = `.${attribute_editor_1.default.rootSelector}`;
|
|
198
213
|
// casting to 'any' is needed to avoid this issue with generics
|
|
199
214
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
200
215
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, attribute_editor_1.default);
|
|
201
216
|
};
|
|
217
|
+
selectors_1.ElementWrapper.prototype.findAllAttributeEditors = function (selector) {
|
|
218
|
+
return this.findAllComponents(attribute_editor_1.default, selector);
|
|
219
|
+
};
|
|
202
220
|
selectors_1.ElementWrapper.prototype.findAutosuggest = function (selector) {
|
|
203
221
|
const rootSelector = `.${autosuggest_1.default.rootSelector}`;
|
|
204
222
|
// casting to 'any' is needed to avoid this issue with generics
|
|
205
223
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
206
224
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, autosuggest_1.default);
|
|
207
225
|
};
|
|
226
|
+
selectors_1.ElementWrapper.prototype.findAllAutosuggests = function (selector) {
|
|
227
|
+
return this.findAllComponents(autosuggest_1.default, selector);
|
|
228
|
+
};
|
|
208
229
|
selectors_1.ElementWrapper.prototype.findBadge = function (selector) {
|
|
209
230
|
const rootSelector = `.${badge_1.default.rootSelector}`;
|
|
210
231
|
// casting to 'any' is needed to avoid this issue with generics
|
|
211
232
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
212
233
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, badge_1.default);
|
|
213
234
|
};
|
|
235
|
+
selectors_1.ElementWrapper.prototype.findAllBadges = function (selector) {
|
|
236
|
+
return this.findAllComponents(badge_1.default, selector);
|
|
237
|
+
};
|
|
214
238
|
selectors_1.ElementWrapper.prototype.findBarChart = function (selector) {
|
|
215
239
|
const rootSelector = `.${bar_chart_1.default.rootSelector}`;
|
|
216
240
|
// casting to 'any' is needed to avoid this issue with generics
|
|
217
241
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
218
242
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, bar_chart_1.default);
|
|
219
243
|
};
|
|
244
|
+
selectors_1.ElementWrapper.prototype.findAllBarCharts = function (selector) {
|
|
245
|
+
return this.findAllComponents(bar_chart_1.default, selector);
|
|
246
|
+
};
|
|
220
247
|
selectors_1.ElementWrapper.prototype.findBox = function (selector) {
|
|
221
248
|
const rootSelector = `.${box_1.default.rootSelector}`;
|
|
222
249
|
// casting to 'any' is needed to avoid this issue with generics
|
|
223
250
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
224
251
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, box_1.default);
|
|
225
252
|
};
|
|
253
|
+
selectors_1.ElementWrapper.prototype.findAllBoxes = function (selector) {
|
|
254
|
+
return this.findAllComponents(box_1.default, selector);
|
|
255
|
+
};
|
|
226
256
|
selectors_1.ElementWrapper.prototype.findBreadcrumbGroup = function (selector) {
|
|
227
257
|
const rootSelector = `.${breadcrumb_group_1.default.rootSelector}`;
|
|
228
258
|
// casting to 'any' is needed to avoid this issue with generics
|
|
229
259
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
230
260
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, breadcrumb_group_1.default);
|
|
231
261
|
};
|
|
262
|
+
selectors_1.ElementWrapper.prototype.findAllBreadcrumbGroups = function (selector) {
|
|
263
|
+
return this.findAllComponents(breadcrumb_group_1.default, selector);
|
|
264
|
+
};
|
|
232
265
|
selectors_1.ElementWrapper.prototype.findButton = function (selector) {
|
|
233
266
|
const rootSelector = `.${button_1.default.rootSelector}`;
|
|
234
267
|
// casting to 'any' is needed to avoid this issue with generics
|
|
235
268
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
236
269
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, button_1.default);
|
|
237
270
|
};
|
|
271
|
+
selectors_1.ElementWrapper.prototype.findAllButtons = function (selector) {
|
|
272
|
+
return this.findAllComponents(button_1.default, selector);
|
|
273
|
+
};
|
|
238
274
|
selectors_1.ElementWrapper.prototype.findButtonDropdown = function (selector) {
|
|
239
275
|
const rootSelector = `.${button_dropdown_1.default.rootSelector}`;
|
|
240
276
|
// casting to 'any' is needed to avoid this issue with generics
|
|
241
277
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
242
278
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, button_dropdown_1.default);
|
|
243
279
|
};
|
|
280
|
+
selectors_1.ElementWrapper.prototype.findAllButtonDropdowns = function (selector) {
|
|
281
|
+
return this.findAllComponents(button_dropdown_1.default, selector);
|
|
282
|
+
};
|
|
244
283
|
selectors_1.ElementWrapper.prototype.findButtonGroup = function (selector) {
|
|
245
284
|
const rootSelector = `.${button_group_1.default.rootSelector}`;
|
|
246
285
|
// casting to 'any' is needed to avoid this issue with generics
|
|
247
286
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
248
287
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, button_group_1.default);
|
|
249
288
|
};
|
|
289
|
+
selectors_1.ElementWrapper.prototype.findAllButtonGroups = function (selector) {
|
|
290
|
+
return this.findAllComponents(button_group_1.default, selector);
|
|
291
|
+
};
|
|
250
292
|
selectors_1.ElementWrapper.prototype.findCalendar = function (selector) {
|
|
251
293
|
const rootSelector = `.${calendar_1.default.rootSelector}`;
|
|
252
294
|
// casting to 'any' is needed to avoid this issue with generics
|
|
253
295
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
254
296
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, calendar_1.default);
|
|
255
297
|
};
|
|
298
|
+
selectors_1.ElementWrapper.prototype.findAllCalendars = function (selector) {
|
|
299
|
+
return this.findAllComponents(calendar_1.default, selector);
|
|
300
|
+
};
|
|
256
301
|
selectors_1.ElementWrapper.prototype.findCards = function (selector) {
|
|
257
302
|
const rootSelector = `.${cards_1.default.rootSelector}`;
|
|
258
303
|
// casting to 'any' is needed to avoid this issue with generics
|
|
259
304
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
260
305
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, cards_1.default);
|
|
261
306
|
};
|
|
307
|
+
selectors_1.ElementWrapper.prototype.findAllCards = function (selector) {
|
|
308
|
+
return this.findAllComponents(cards_1.default, selector);
|
|
309
|
+
};
|
|
262
310
|
selectors_1.ElementWrapper.prototype.findCheckbox = function (selector) {
|
|
263
311
|
const rootSelector = `.${checkbox_1.default.rootSelector}`;
|
|
264
312
|
// casting to 'any' is needed to avoid this issue with generics
|
|
265
313
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
266
314
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, checkbox_1.default);
|
|
267
315
|
};
|
|
316
|
+
selectors_1.ElementWrapper.prototype.findAllCheckboxes = function (selector) {
|
|
317
|
+
return this.findAllComponents(checkbox_1.default, selector);
|
|
318
|
+
};
|
|
268
319
|
selectors_1.ElementWrapper.prototype.findCodeEditor = function (selector) {
|
|
269
320
|
const rootSelector = `.${code_editor_1.default.rootSelector}`;
|
|
270
321
|
// casting to 'any' is needed to avoid this issue with generics
|
|
271
322
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
272
323
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, code_editor_1.default);
|
|
273
324
|
};
|
|
325
|
+
selectors_1.ElementWrapper.prototype.findAllCodeEditors = function (selector) {
|
|
326
|
+
return this.findAllComponents(code_editor_1.default, selector);
|
|
327
|
+
};
|
|
274
328
|
selectors_1.ElementWrapper.prototype.findCollectionPreferences = function (selector) {
|
|
275
329
|
const rootSelector = `.${collection_preferences_1.default.rootSelector}`;
|
|
276
330
|
// casting to 'any' is needed to avoid this issue with generics
|
|
277
331
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
278
332
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, collection_preferences_1.default);
|
|
279
333
|
};
|
|
334
|
+
selectors_1.ElementWrapper.prototype.findAllCollectionPreferences = function (selector) {
|
|
335
|
+
return this.findAllComponents(collection_preferences_1.default, selector);
|
|
336
|
+
};
|
|
280
337
|
selectors_1.ElementWrapper.prototype.findColumnLayout = function (selector) {
|
|
281
338
|
const rootSelector = `.${column_layout_1.default.rootSelector}`;
|
|
282
339
|
// casting to 'any' is needed to avoid this issue with generics
|
|
283
340
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
284
341
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, column_layout_1.default);
|
|
285
342
|
};
|
|
343
|
+
selectors_1.ElementWrapper.prototype.findAllColumnLayouts = function (selector) {
|
|
344
|
+
return this.findAllComponents(column_layout_1.default, selector);
|
|
345
|
+
};
|
|
286
346
|
selectors_1.ElementWrapper.prototype.findContainer = function (selector) {
|
|
287
347
|
const rootSelector = `.${container_1.default.rootSelector}`;
|
|
288
348
|
// casting to 'any' is needed to avoid this issue with generics
|
|
289
349
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
290
350
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, container_1.default);
|
|
291
351
|
};
|
|
352
|
+
selectors_1.ElementWrapper.prototype.findAllContainers = function (selector) {
|
|
353
|
+
return this.findAllComponents(container_1.default, selector);
|
|
354
|
+
};
|
|
292
355
|
selectors_1.ElementWrapper.prototype.findContentLayout = function (selector) {
|
|
293
356
|
const rootSelector = `.${content_layout_1.default.rootSelector}`;
|
|
294
357
|
// casting to 'any' is needed to avoid this issue with generics
|
|
295
358
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
296
359
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, content_layout_1.default);
|
|
297
360
|
};
|
|
361
|
+
selectors_1.ElementWrapper.prototype.findAllContentLayouts = function (selector) {
|
|
362
|
+
return this.findAllComponents(content_layout_1.default, selector);
|
|
363
|
+
};
|
|
298
364
|
selectors_1.ElementWrapper.prototype.findCopyToClipboard = function (selector) {
|
|
299
365
|
const rootSelector = `.${copy_to_clipboard_1.default.rootSelector}`;
|
|
300
366
|
// casting to 'any' is needed to avoid this issue with generics
|
|
301
367
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
302
368
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, copy_to_clipboard_1.default);
|
|
303
369
|
};
|
|
370
|
+
selectors_1.ElementWrapper.prototype.findAllCopyToClipboards = function (selector) {
|
|
371
|
+
return this.findAllComponents(copy_to_clipboard_1.default, selector);
|
|
372
|
+
};
|
|
304
373
|
selectors_1.ElementWrapper.prototype.findDateInput = function (selector) {
|
|
305
374
|
const rootSelector = `.${date_input_1.default.rootSelector}`;
|
|
306
375
|
// casting to 'any' is needed to avoid this issue with generics
|
|
307
376
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
308
377
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, date_input_1.default);
|
|
309
378
|
};
|
|
379
|
+
selectors_1.ElementWrapper.prototype.findAllDateInputs = function (selector) {
|
|
380
|
+
return this.findAllComponents(date_input_1.default, selector);
|
|
381
|
+
};
|
|
310
382
|
selectors_1.ElementWrapper.prototype.findDatePicker = function (selector) {
|
|
311
383
|
const rootSelector = `.${date_picker_1.default.rootSelector}`;
|
|
312
384
|
// casting to 'any' is needed to avoid this issue with generics
|
|
313
385
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
314
386
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, date_picker_1.default);
|
|
315
387
|
};
|
|
388
|
+
selectors_1.ElementWrapper.prototype.findAllDatePickers = function (selector) {
|
|
389
|
+
return this.findAllComponents(date_picker_1.default, selector);
|
|
390
|
+
};
|
|
316
391
|
selectors_1.ElementWrapper.prototype.findDateRangePicker = function (selector) {
|
|
317
392
|
const rootSelector = `.${date_range_picker_1.default.rootSelector}`;
|
|
318
393
|
// casting to 'any' is needed to avoid this issue with generics
|
|
319
394
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
320
395
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, date_range_picker_1.default);
|
|
321
396
|
};
|
|
397
|
+
selectors_1.ElementWrapper.prototype.findAllDateRangePickers = function (selector) {
|
|
398
|
+
return this.findAllComponents(date_range_picker_1.default, selector);
|
|
399
|
+
};
|
|
322
400
|
selectors_1.ElementWrapper.prototype.findDrawer = function (selector) {
|
|
323
401
|
const rootSelector = `.${drawer_1.default.rootSelector}`;
|
|
324
402
|
// casting to 'any' is needed to avoid this issue with generics
|
|
325
403
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
326
404
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, drawer_1.default);
|
|
327
405
|
};
|
|
406
|
+
selectors_1.ElementWrapper.prototype.findAllDrawers = function (selector) {
|
|
407
|
+
return this.findAllComponents(drawer_1.default, selector);
|
|
408
|
+
};
|
|
328
409
|
selectors_1.ElementWrapper.prototype.findExpandableSection = function (selector) {
|
|
329
410
|
const rootSelector = `.${expandable_section_1.default.rootSelector}`;
|
|
330
411
|
// casting to 'any' is needed to avoid this issue with generics
|
|
331
412
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
332
413
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, expandable_section_1.default);
|
|
333
414
|
};
|
|
415
|
+
selectors_1.ElementWrapper.prototype.findAllExpandableSections = function (selector) {
|
|
416
|
+
return this.findAllComponents(expandable_section_1.default, selector);
|
|
417
|
+
};
|
|
334
418
|
selectors_1.ElementWrapper.prototype.findFileDropzone = function (selector) {
|
|
335
419
|
const rootSelector = `.${file_dropzone_1.default.rootSelector}`;
|
|
336
420
|
// casting to 'any' is needed to avoid this issue with generics
|
|
337
421
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
338
422
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, file_dropzone_1.default);
|
|
339
423
|
};
|
|
424
|
+
selectors_1.ElementWrapper.prototype.findAllFileDropzones = function (selector) {
|
|
425
|
+
return this.findAllComponents(file_dropzone_1.default, selector);
|
|
426
|
+
};
|
|
340
427
|
selectors_1.ElementWrapper.prototype.findFileInput = function (selector) {
|
|
341
428
|
const rootSelector = `.${file_input_1.default.rootSelector}`;
|
|
342
429
|
// casting to 'any' is needed to avoid this issue with generics
|
|
343
430
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
344
431
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, file_input_1.default);
|
|
345
432
|
};
|
|
433
|
+
selectors_1.ElementWrapper.prototype.findAllFileInputs = function (selector) {
|
|
434
|
+
return this.findAllComponents(file_input_1.default, selector);
|
|
435
|
+
};
|
|
346
436
|
selectors_1.ElementWrapper.prototype.findFileTokenGroup = function (selector) {
|
|
347
437
|
const rootSelector = `.${file_token_group_1.default.rootSelector}`;
|
|
348
438
|
// casting to 'any' is needed to avoid this issue with generics
|
|
349
439
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
350
440
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, file_token_group_1.default);
|
|
351
441
|
};
|
|
442
|
+
selectors_1.ElementWrapper.prototype.findAllFileTokenGroups = function (selector) {
|
|
443
|
+
return this.findAllComponents(file_token_group_1.default, selector);
|
|
444
|
+
};
|
|
352
445
|
selectors_1.ElementWrapper.prototype.findFileUpload = function (selector) {
|
|
353
446
|
const rootSelector = `.${file_upload_1.default.rootSelector}`;
|
|
354
447
|
// casting to 'any' is needed to avoid this issue with generics
|
|
355
448
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
356
449
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, file_upload_1.default);
|
|
357
450
|
};
|
|
451
|
+
selectors_1.ElementWrapper.prototype.findAllFileUploads = function (selector) {
|
|
452
|
+
return this.findAllComponents(file_upload_1.default, selector);
|
|
453
|
+
};
|
|
358
454
|
selectors_1.ElementWrapper.prototype.findFlashbar = function (selector) {
|
|
359
455
|
const rootSelector = `.${flashbar_1.default.rootSelector}`;
|
|
360
456
|
// casting to 'any' is needed to avoid this issue with generics
|
|
361
457
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
362
458
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, flashbar_1.default);
|
|
363
459
|
};
|
|
460
|
+
selectors_1.ElementWrapper.prototype.findAllFlashbars = function (selector) {
|
|
461
|
+
return this.findAllComponents(flashbar_1.default, selector);
|
|
462
|
+
};
|
|
364
463
|
selectors_1.ElementWrapper.prototype.findForm = function (selector) {
|
|
365
464
|
const rootSelector = `.${form_1.default.rootSelector}`;
|
|
366
465
|
// casting to 'any' is needed to avoid this issue with generics
|
|
367
466
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
368
467
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, form_1.default);
|
|
369
468
|
};
|
|
469
|
+
selectors_1.ElementWrapper.prototype.findAllForms = function (selector) {
|
|
470
|
+
return this.findAllComponents(form_1.default, selector);
|
|
471
|
+
};
|
|
370
472
|
selectors_1.ElementWrapper.prototype.findFormField = function (selector) {
|
|
371
473
|
const rootSelector = `.${form_field_1.default.rootSelector}`;
|
|
372
474
|
// casting to 'any' is needed to avoid this issue with generics
|
|
373
475
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
374
476
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, form_field_1.default);
|
|
375
477
|
};
|
|
478
|
+
selectors_1.ElementWrapper.prototype.findAllFormFields = function (selector) {
|
|
479
|
+
return this.findAllComponents(form_field_1.default, selector);
|
|
480
|
+
};
|
|
376
481
|
selectors_1.ElementWrapper.prototype.findGrid = function (selector) {
|
|
377
482
|
const rootSelector = `.${grid_1.default.rootSelector}`;
|
|
378
483
|
// casting to 'any' is needed to avoid this issue with generics
|
|
379
484
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
380
485
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, grid_1.default);
|
|
381
486
|
};
|
|
487
|
+
selectors_1.ElementWrapper.prototype.findAllGrids = function (selector) {
|
|
488
|
+
return this.findAllComponents(grid_1.default, selector);
|
|
489
|
+
};
|
|
382
490
|
selectors_1.ElementWrapper.prototype.findHeader = function (selector) {
|
|
383
491
|
const rootSelector = `.${header_1.default.rootSelector}`;
|
|
384
492
|
// casting to 'any' is needed to avoid this issue with generics
|
|
385
493
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
386
494
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, header_1.default);
|
|
387
495
|
};
|
|
496
|
+
selectors_1.ElementWrapper.prototype.findAllHeaders = function (selector) {
|
|
497
|
+
return this.findAllComponents(header_1.default, selector);
|
|
498
|
+
};
|
|
388
499
|
selectors_1.ElementWrapper.prototype.findHelpPanel = function (selector) {
|
|
389
500
|
const rootSelector = `.${help_panel_1.default.rootSelector}`;
|
|
390
501
|
// casting to 'any' is needed to avoid this issue with generics
|
|
391
502
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
392
503
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, help_panel_1.default);
|
|
393
504
|
};
|
|
505
|
+
selectors_1.ElementWrapper.prototype.findAllHelpPanels = function (selector) {
|
|
506
|
+
return this.findAllComponents(help_panel_1.default, selector);
|
|
507
|
+
};
|
|
394
508
|
selectors_1.ElementWrapper.prototype.findHotspot = function (selector) {
|
|
395
509
|
const rootSelector = `.${hotspot_1.default.rootSelector}`;
|
|
396
510
|
// casting to 'any' is needed to avoid this issue with generics
|
|
397
511
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
398
512
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, hotspot_1.default);
|
|
399
513
|
};
|
|
514
|
+
selectors_1.ElementWrapper.prototype.findAllHotspots = function (selector) {
|
|
515
|
+
return this.findAllComponents(hotspot_1.default, selector);
|
|
516
|
+
};
|
|
400
517
|
selectors_1.ElementWrapper.prototype.findIcon = function (selector) {
|
|
401
518
|
const rootSelector = `.${icon_1.default.rootSelector}`;
|
|
402
519
|
// casting to 'any' is needed to avoid this issue with generics
|
|
403
520
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
404
521
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, icon_1.default);
|
|
405
522
|
};
|
|
523
|
+
selectors_1.ElementWrapper.prototype.findAllIcons = function (selector) {
|
|
524
|
+
return this.findAllComponents(icon_1.default, selector);
|
|
525
|
+
};
|
|
406
526
|
selectors_1.ElementWrapper.prototype.findInput = function (selector) {
|
|
407
527
|
const rootSelector = `.${input_1.default.rootSelector}`;
|
|
408
528
|
// casting to 'any' is needed to avoid this issue with generics
|
|
409
529
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
410
530
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, input_1.default);
|
|
411
531
|
};
|
|
532
|
+
selectors_1.ElementWrapper.prototype.findAllInputs = function (selector) {
|
|
533
|
+
return this.findAllComponents(input_1.default, selector);
|
|
534
|
+
};
|
|
412
535
|
selectors_1.ElementWrapper.prototype.findKeyValuePairs = function (selector) {
|
|
413
536
|
const rootSelector = `.${key_value_pairs_1.default.rootSelector}`;
|
|
414
537
|
// casting to 'any' is needed to avoid this issue with generics
|
|
415
538
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
416
539
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, key_value_pairs_1.default);
|
|
417
540
|
};
|
|
541
|
+
selectors_1.ElementWrapper.prototype.findAllKeyValuePairs = function (selector) {
|
|
542
|
+
return this.findAllComponents(key_value_pairs_1.default, selector);
|
|
543
|
+
};
|
|
418
544
|
selectors_1.ElementWrapper.prototype.findLineChart = function (selector) {
|
|
419
545
|
const rootSelector = `.${line_chart_1.default.rootSelector}`;
|
|
420
546
|
// casting to 'any' is needed to avoid this issue with generics
|
|
421
547
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
422
548
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, line_chart_1.default);
|
|
423
549
|
};
|
|
550
|
+
selectors_1.ElementWrapper.prototype.findAllLineCharts = function (selector) {
|
|
551
|
+
return this.findAllComponents(line_chart_1.default, selector);
|
|
552
|
+
};
|
|
424
553
|
selectors_1.ElementWrapper.prototype.findLink = function (selector) {
|
|
425
554
|
const rootSelector = `.${link_1.default.rootSelector}`;
|
|
426
555
|
// casting to 'any' is needed to avoid this issue with generics
|
|
427
556
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
428
557
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, link_1.default);
|
|
429
558
|
};
|
|
559
|
+
selectors_1.ElementWrapper.prototype.findAllLinks = function (selector) {
|
|
560
|
+
return this.findAllComponents(link_1.default, selector);
|
|
561
|
+
};
|
|
430
562
|
selectors_1.ElementWrapper.prototype.findLiveRegion = function (selector) {
|
|
431
563
|
const rootSelector = `.${live_region_1.default.rootSelector}`;
|
|
432
564
|
// casting to 'any' is needed to avoid this issue with generics
|
|
433
565
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
434
566
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, live_region_1.default);
|
|
435
567
|
};
|
|
568
|
+
selectors_1.ElementWrapper.prototype.findAllLiveRegions = function (selector) {
|
|
569
|
+
return this.findAllComponents(live_region_1.default, selector);
|
|
570
|
+
};
|
|
436
571
|
selectors_1.ElementWrapper.prototype.findMixedLineBarChart = function (selector) {
|
|
437
572
|
const rootSelector = `.${mixed_line_bar_chart_1.default.rootSelector}`;
|
|
438
573
|
// casting to 'any' is needed to avoid this issue with generics
|
|
439
574
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
440
575
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, mixed_line_bar_chart_1.default);
|
|
441
576
|
};
|
|
577
|
+
selectors_1.ElementWrapper.prototype.findAllMixedLineBarCharts = function (selector) {
|
|
578
|
+
return this.findAllComponents(mixed_line_bar_chart_1.default, selector);
|
|
579
|
+
};
|
|
442
580
|
selectors_1.ElementWrapper.prototype.findModal = function (selector) {
|
|
443
581
|
const rootSelector = `.${modal_1.default.rootSelector}`;
|
|
444
582
|
// casting to 'any' is needed to avoid this issue with generics
|
|
445
583
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
446
584
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, modal_1.default);
|
|
447
585
|
};
|
|
586
|
+
selectors_1.ElementWrapper.prototype.findAllModals = function (selector) {
|
|
587
|
+
return this.findAllComponents(modal_1.default, selector);
|
|
588
|
+
};
|
|
448
589
|
selectors_1.ElementWrapper.prototype.findMultiselect = function (selector) {
|
|
449
590
|
const rootSelector = `.${multiselect_1.default.rootSelector}`;
|
|
450
591
|
// casting to 'any' is needed to avoid this issue with generics
|
|
451
592
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
452
593
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, multiselect_1.default);
|
|
453
594
|
};
|
|
595
|
+
selectors_1.ElementWrapper.prototype.findAllMultiselects = function (selector) {
|
|
596
|
+
return this.findAllComponents(multiselect_1.default, selector);
|
|
597
|
+
};
|
|
454
598
|
selectors_1.ElementWrapper.prototype.findPagination = function (selector) {
|
|
455
599
|
const rootSelector = `.${pagination_1.default.rootSelector}`;
|
|
456
600
|
// casting to 'any' is needed to avoid this issue with generics
|
|
457
601
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
458
602
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, pagination_1.default);
|
|
459
603
|
};
|
|
604
|
+
selectors_1.ElementWrapper.prototype.findAllPaginations = function (selector) {
|
|
605
|
+
return this.findAllComponents(pagination_1.default, selector);
|
|
606
|
+
};
|
|
460
607
|
selectors_1.ElementWrapper.prototype.findPieChart = function (selector) {
|
|
461
608
|
const rootSelector = `.${pie_chart_1.default.rootSelector}`;
|
|
462
609
|
// casting to 'any' is needed to avoid this issue with generics
|
|
463
610
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
464
611
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, pie_chart_1.default);
|
|
465
612
|
};
|
|
613
|
+
selectors_1.ElementWrapper.prototype.findAllPieCharts = function (selector) {
|
|
614
|
+
return this.findAllComponents(pie_chart_1.default, selector);
|
|
615
|
+
};
|
|
466
616
|
selectors_1.ElementWrapper.prototype.findPopover = function (selector) {
|
|
467
617
|
const rootSelector = `.${popover_1.default.rootSelector}`;
|
|
468
618
|
// casting to 'any' is needed to avoid this issue with generics
|
|
469
619
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
470
620
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, popover_1.default);
|
|
471
621
|
};
|
|
622
|
+
selectors_1.ElementWrapper.prototype.findAllPopovers = function (selector) {
|
|
623
|
+
return this.findAllComponents(popover_1.default, selector);
|
|
624
|
+
};
|
|
472
625
|
selectors_1.ElementWrapper.prototype.findProgressBar = function (selector) {
|
|
473
626
|
const rootSelector = `.${progress_bar_1.default.rootSelector}`;
|
|
474
627
|
// casting to 'any' is needed to avoid this issue with generics
|
|
475
628
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
476
629
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, progress_bar_1.default);
|
|
477
630
|
};
|
|
631
|
+
selectors_1.ElementWrapper.prototype.findAllProgressBars = function (selector) {
|
|
632
|
+
return this.findAllComponents(progress_bar_1.default, selector);
|
|
633
|
+
};
|
|
478
634
|
selectors_1.ElementWrapper.prototype.findPromptInput = function (selector) {
|
|
479
635
|
const rootSelector = `.${prompt_input_1.default.rootSelector}`;
|
|
480
636
|
// casting to 'any' is needed to avoid this issue with generics
|
|
481
637
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
482
638
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, prompt_input_1.default);
|
|
483
639
|
};
|
|
640
|
+
selectors_1.ElementWrapper.prototype.findAllPromptInputs = function (selector) {
|
|
641
|
+
return this.findAllComponents(prompt_input_1.default, selector);
|
|
642
|
+
};
|
|
484
643
|
selectors_1.ElementWrapper.prototype.findPropertyFilter = function (selector) {
|
|
485
644
|
const rootSelector = `.${property_filter_1.default.rootSelector}`;
|
|
486
645
|
// casting to 'any' is needed to avoid this issue with generics
|
|
487
646
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
488
647
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, property_filter_1.default);
|
|
489
648
|
};
|
|
649
|
+
selectors_1.ElementWrapper.prototype.findAllPropertyFilters = function (selector) {
|
|
650
|
+
return this.findAllComponents(property_filter_1.default, selector);
|
|
651
|
+
};
|
|
490
652
|
selectors_1.ElementWrapper.prototype.findRadioGroup = function (selector) {
|
|
491
653
|
const rootSelector = `.${radio_group_1.default.rootSelector}`;
|
|
492
654
|
// casting to 'any' is needed to avoid this issue with generics
|
|
493
655
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
494
656
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, radio_group_1.default);
|
|
495
657
|
};
|
|
658
|
+
selectors_1.ElementWrapper.prototype.findAllRadioGroups = function (selector) {
|
|
659
|
+
return this.findAllComponents(radio_group_1.default, selector);
|
|
660
|
+
};
|
|
496
661
|
selectors_1.ElementWrapper.prototype.findS3ResourceSelector = function (selector) {
|
|
497
662
|
const rootSelector = `.${s3_resource_selector_1.default.rootSelector}`;
|
|
498
663
|
// casting to 'any' is needed to avoid this issue with generics
|
|
499
664
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
500
665
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, s3_resource_selector_1.default);
|
|
501
666
|
};
|
|
667
|
+
selectors_1.ElementWrapper.prototype.findAllS3ResourceSelectors = function (selector) {
|
|
668
|
+
return this.findAllComponents(s3_resource_selector_1.default, selector);
|
|
669
|
+
};
|
|
502
670
|
selectors_1.ElementWrapper.prototype.findSegmentedControl = function (selector) {
|
|
503
671
|
const rootSelector = `.${segmented_control_1.default.rootSelector}`;
|
|
504
672
|
// casting to 'any' is needed to avoid this issue with generics
|
|
505
673
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
506
674
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, segmented_control_1.default);
|
|
507
675
|
};
|
|
676
|
+
selectors_1.ElementWrapper.prototype.findAllSegmentedControls = function (selector) {
|
|
677
|
+
return this.findAllComponents(segmented_control_1.default, selector);
|
|
678
|
+
};
|
|
508
679
|
selectors_1.ElementWrapper.prototype.findSelect = function (selector) {
|
|
509
680
|
const rootSelector = `.${select_1.default.rootSelector}`;
|
|
510
681
|
// casting to 'any' is needed to avoid this issue with generics
|
|
511
682
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
512
683
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, select_1.default);
|
|
513
684
|
};
|
|
685
|
+
selectors_1.ElementWrapper.prototype.findAllSelects = function (selector) {
|
|
686
|
+
return this.findAllComponents(select_1.default, selector);
|
|
687
|
+
};
|
|
514
688
|
selectors_1.ElementWrapper.prototype.findSideNavigation = function (selector) {
|
|
515
689
|
const rootSelector = `.${side_navigation_1.default.rootSelector}`;
|
|
516
690
|
// casting to 'any' is needed to avoid this issue with generics
|
|
517
691
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
518
692
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, side_navigation_1.default);
|
|
519
693
|
};
|
|
694
|
+
selectors_1.ElementWrapper.prototype.findAllSideNavigations = function (selector) {
|
|
695
|
+
return this.findAllComponents(side_navigation_1.default, selector);
|
|
696
|
+
};
|
|
520
697
|
selectors_1.ElementWrapper.prototype.findSlider = function (selector) {
|
|
521
698
|
const rootSelector = `.${slider_1.default.rootSelector}`;
|
|
522
699
|
// casting to 'any' is needed to avoid this issue with generics
|
|
523
700
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
524
701
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, slider_1.default);
|
|
525
702
|
};
|
|
703
|
+
selectors_1.ElementWrapper.prototype.findAllSliders = function (selector) {
|
|
704
|
+
return this.findAllComponents(slider_1.default, selector);
|
|
705
|
+
};
|
|
526
706
|
selectors_1.ElementWrapper.prototype.findSpaceBetween = function (selector) {
|
|
527
707
|
const rootSelector = `.${space_between_1.default.rootSelector}`;
|
|
528
708
|
// casting to 'any' is needed to avoid this issue with generics
|
|
529
709
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
530
710
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, space_between_1.default);
|
|
531
711
|
};
|
|
712
|
+
selectors_1.ElementWrapper.prototype.findAllSpaceBetweens = function (selector) {
|
|
713
|
+
return this.findAllComponents(space_between_1.default, selector);
|
|
714
|
+
};
|
|
532
715
|
selectors_1.ElementWrapper.prototype.findSpinner = function (selector) {
|
|
533
716
|
const rootSelector = `.${spinner_1.default.rootSelector}`;
|
|
534
717
|
// casting to 'any' is needed to avoid this issue with generics
|
|
535
718
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
536
719
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, spinner_1.default);
|
|
537
720
|
};
|
|
721
|
+
selectors_1.ElementWrapper.prototype.findAllSpinners = function (selector) {
|
|
722
|
+
return this.findAllComponents(spinner_1.default, selector);
|
|
723
|
+
};
|
|
538
724
|
selectors_1.ElementWrapper.prototype.findSplitPanel = function (selector) {
|
|
539
725
|
const rootSelector = `.${split_panel_1.default.rootSelector}`;
|
|
540
726
|
// casting to 'any' is needed to avoid this issue with generics
|
|
541
727
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
542
728
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, split_panel_1.default);
|
|
543
729
|
};
|
|
730
|
+
selectors_1.ElementWrapper.prototype.findAllSplitPanels = function (selector) {
|
|
731
|
+
return this.findAllComponents(split_panel_1.default, selector);
|
|
732
|
+
};
|
|
544
733
|
selectors_1.ElementWrapper.prototype.findStatusIndicator = function (selector) {
|
|
545
734
|
const rootSelector = `.${status_indicator_1.default.rootSelector}`;
|
|
546
735
|
// casting to 'any' is needed to avoid this issue with generics
|
|
547
736
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
548
737
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, status_indicator_1.default);
|
|
549
738
|
};
|
|
739
|
+
selectors_1.ElementWrapper.prototype.findAllStatusIndicators = function (selector) {
|
|
740
|
+
return this.findAllComponents(status_indicator_1.default, selector);
|
|
741
|
+
};
|
|
550
742
|
selectors_1.ElementWrapper.prototype.findSteps = function (selector) {
|
|
551
743
|
const rootSelector = `.${steps_1.default.rootSelector}`;
|
|
552
744
|
// casting to 'any' is needed to avoid this issue with generics
|
|
553
745
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
554
746
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, steps_1.default);
|
|
555
747
|
};
|
|
748
|
+
selectors_1.ElementWrapper.prototype.findAllSteps = function (selector) {
|
|
749
|
+
return this.findAllComponents(steps_1.default, selector);
|
|
750
|
+
};
|
|
556
751
|
selectors_1.ElementWrapper.prototype.findTable = function (selector) {
|
|
557
752
|
const rootSelector = `.${table_1.default.rootSelector}`;
|
|
558
753
|
// casting to 'any' is needed to avoid this issue with generics
|
|
559
754
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
560
755
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, table_1.default);
|
|
561
756
|
};
|
|
757
|
+
selectors_1.ElementWrapper.prototype.findAllTables = function (selector) {
|
|
758
|
+
return this.findAllComponents(table_1.default, selector);
|
|
759
|
+
};
|
|
562
760
|
selectors_1.ElementWrapper.prototype.findTabs = function (selector) {
|
|
563
761
|
const rootSelector = `.${tabs_1.default.rootSelector}`;
|
|
564
762
|
// casting to 'any' is needed to avoid this issue with generics
|
|
565
763
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
566
764
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tabs_1.default);
|
|
567
765
|
};
|
|
766
|
+
selectors_1.ElementWrapper.prototype.findAllTabs = function (selector) {
|
|
767
|
+
return this.findAllComponents(tabs_1.default, selector);
|
|
768
|
+
};
|
|
568
769
|
selectors_1.ElementWrapper.prototype.findTagEditor = function (selector) {
|
|
569
770
|
const rootSelector = `.${tag_editor_1.default.rootSelector}`;
|
|
570
771
|
// casting to 'any' is needed to avoid this issue with generics
|
|
571
772
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
572
773
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tag_editor_1.default);
|
|
573
774
|
};
|
|
775
|
+
selectors_1.ElementWrapper.prototype.findAllTagEditors = function (selector) {
|
|
776
|
+
return this.findAllComponents(tag_editor_1.default, selector);
|
|
777
|
+
};
|
|
574
778
|
selectors_1.ElementWrapper.prototype.findTextContent = function (selector) {
|
|
575
779
|
const rootSelector = `.${text_content_1.default.rootSelector}`;
|
|
576
780
|
// casting to 'any' is needed to avoid this issue with generics
|
|
577
781
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
578
782
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, text_content_1.default);
|
|
579
783
|
};
|
|
784
|
+
selectors_1.ElementWrapper.prototype.findAllTextContents = function (selector) {
|
|
785
|
+
return this.findAllComponents(text_content_1.default, selector);
|
|
786
|
+
};
|
|
580
787
|
selectors_1.ElementWrapper.prototype.findTextFilter = function (selector) {
|
|
581
788
|
const rootSelector = `.${text_filter_1.default.rootSelector}`;
|
|
582
789
|
// casting to 'any' is needed to avoid this issue with generics
|
|
583
790
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
584
791
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, text_filter_1.default);
|
|
585
792
|
};
|
|
793
|
+
selectors_1.ElementWrapper.prototype.findAllTextFilters = function (selector) {
|
|
794
|
+
return this.findAllComponents(text_filter_1.default, selector);
|
|
795
|
+
};
|
|
586
796
|
selectors_1.ElementWrapper.prototype.findTextarea = function (selector) {
|
|
587
797
|
const rootSelector = `.${textarea_1.default.rootSelector}`;
|
|
588
798
|
// casting to 'any' is needed to avoid this issue with generics
|
|
589
799
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
590
800
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, textarea_1.default);
|
|
591
801
|
};
|
|
802
|
+
selectors_1.ElementWrapper.prototype.findAllTextareas = function (selector) {
|
|
803
|
+
return this.findAllComponents(textarea_1.default, selector);
|
|
804
|
+
};
|
|
592
805
|
selectors_1.ElementWrapper.prototype.findTiles = function (selector) {
|
|
593
806
|
const rootSelector = `.${tiles_1.default.rootSelector}`;
|
|
594
807
|
// casting to 'any' is needed to avoid this issue with generics
|
|
595
808
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
596
809
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tiles_1.default);
|
|
597
810
|
};
|
|
811
|
+
selectors_1.ElementWrapper.prototype.findAllTiles = function (selector) {
|
|
812
|
+
return this.findAllComponents(tiles_1.default, selector);
|
|
813
|
+
};
|
|
598
814
|
selectors_1.ElementWrapper.prototype.findTimeInput = function (selector) {
|
|
599
815
|
const rootSelector = `.${time_input_1.default.rootSelector}`;
|
|
600
816
|
// casting to 'any' is needed to avoid this issue with generics
|
|
601
817
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
602
818
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, time_input_1.default);
|
|
603
819
|
};
|
|
820
|
+
selectors_1.ElementWrapper.prototype.findAllTimeInputs = function (selector) {
|
|
821
|
+
return this.findAllComponents(time_input_1.default, selector);
|
|
822
|
+
};
|
|
604
823
|
selectors_1.ElementWrapper.prototype.findToggle = function (selector) {
|
|
605
824
|
const rootSelector = `.${toggle_1.default.rootSelector}`;
|
|
606
825
|
// casting to 'any' is needed to avoid this issue with generics
|
|
607
826
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
608
827
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, toggle_1.default);
|
|
609
828
|
};
|
|
829
|
+
selectors_1.ElementWrapper.prototype.findAllToggles = function (selector) {
|
|
830
|
+
return this.findAllComponents(toggle_1.default, selector);
|
|
831
|
+
};
|
|
610
832
|
selectors_1.ElementWrapper.prototype.findToggleButton = function (selector) {
|
|
611
833
|
const rootSelector = `.${toggle_button_1.default.rootSelector}`;
|
|
612
834
|
// casting to 'any' is needed to avoid this issue with generics
|
|
613
835
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
614
836
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, toggle_button_1.default);
|
|
615
837
|
};
|
|
838
|
+
selectors_1.ElementWrapper.prototype.findAllToggleButtons = function (selector) {
|
|
839
|
+
return this.findAllComponents(toggle_button_1.default, selector);
|
|
840
|
+
};
|
|
616
841
|
selectors_1.ElementWrapper.prototype.findTokenGroup = function (selector) {
|
|
617
842
|
const rootSelector = `.${token_group_1.default.rootSelector}`;
|
|
618
843
|
// casting to 'any' is needed to avoid this issue with generics
|
|
619
844
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
620
845
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, token_group_1.default);
|
|
621
846
|
};
|
|
847
|
+
selectors_1.ElementWrapper.prototype.findAllTokenGroups = function (selector) {
|
|
848
|
+
return this.findAllComponents(token_group_1.default, selector);
|
|
849
|
+
};
|
|
622
850
|
selectors_1.ElementWrapper.prototype.findTopNavigation = function (selector) {
|
|
623
851
|
const rootSelector = `.${top_navigation_1.default.rootSelector}`;
|
|
624
852
|
// casting to 'any' is needed to avoid this issue with generics
|
|
625
853
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
626
854
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, top_navigation_1.default);
|
|
627
855
|
};
|
|
856
|
+
selectors_1.ElementWrapper.prototype.findAllTopNavigations = function (selector) {
|
|
857
|
+
return this.findAllComponents(top_navigation_1.default, selector);
|
|
858
|
+
};
|
|
628
859
|
selectors_1.ElementWrapper.prototype.findTutorialPanel = function (selector) {
|
|
629
860
|
const rootSelector = `.${tutorial_panel_1.default.rootSelector}`;
|
|
630
861
|
// casting to 'any' is needed to avoid this issue with generics
|
|
631
862
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
632
863
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tutorial_panel_1.default);
|
|
633
864
|
};
|
|
865
|
+
selectors_1.ElementWrapper.prototype.findAllTutorialPanels = function (selector) {
|
|
866
|
+
return this.findAllComponents(tutorial_panel_1.default, selector);
|
|
867
|
+
};
|
|
634
868
|
selectors_1.ElementWrapper.prototype.findWizard = function (selector) {
|
|
635
869
|
const rootSelector = `.${wizard_1.default.rootSelector}`;
|
|
636
870
|
// casting to 'any' is needed to avoid this issue with generics
|
|
637
871
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
638
872
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, wizard_1.default);
|
|
639
873
|
};
|
|
874
|
+
selectors_1.ElementWrapper.prototype.findAllWizards = function (selector) {
|
|
875
|
+
return this.findAllComponents(wizard_1.default, selector);
|
|
876
|
+
};
|
|
640
877
|
function wrapper(root = 'body') { return new selectors_1.ElementWrapper(root); }
|
|
641
878
|
exports.default = wrapper;
|
|
642
879
|
//# sourceMappingURL=index.js.map
|