@cloudscape-design/components 3.0.216 → 3.0.217
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/internal/environment.js +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/test-utils/dom/alert/index.js +20 -40
- package/test-utils/dom/alert/index.js.map +1 -1
- package/test-utils/dom/annotation/index.js +24 -44
- package/test-utils/dom/annotation/index.js.map +1 -1
- package/test-utils/dom/app-layout/index.js +27 -47
- package/test-utils/dom/app-layout/index.js.map +1 -1
- package/test-utils/dom/area-chart/index.js +12 -32
- package/test-utils/dom/area-chart/index.js.map +1 -1
- package/test-utils/dom/attribute-editor/index.js +32 -57
- package/test-utils/dom/attribute-editor/index.js.map +1 -1
- package/test-utils/dom/autosuggest/index.js +76 -114
- package/test-utils/dom/autosuggest/index.js.map +1 -1
- package/test-utils/dom/badge/index.js +5 -25
- package/test-utils/dom/badge/index.js.map +1 -1
- package/test-utils/dom/bar-chart/index.js +5 -25
- package/test-utils/dom/bar-chart/index.js.map +1 -1
- package/test-utils/dom/box/index.js +5 -25
- package/test-utils/dom/box/index.js.map +1 -1
- package/test-utils/dom/breadcrumb-group/index.js +17 -37
- package/test-utils/dom/breadcrumb-group/index.js.map +1 -1
- package/test-utils/dom/button/index.js +16 -36
- package/test-utils/dom/button/index.js.map +1 -1
- package/test-utils/dom/button-dropdown/index.js +38 -59
- package/test-utils/dom/button-dropdown/index.js.map +1 -1
- package/test-utils/dom/calendar/index.js +20 -40
- package/test-utils/dom/calendar/index.js.map +1 -1
- package/test-utils/dom/cards/index.js +55 -83
- package/test-utils/dom/cards/index.js.map +1 -1
- package/test-utils/dom/checkbox/index.js +14 -34
- package/test-utils/dom/checkbox/index.js.map +1 -1
- package/test-utils/dom/code-editor/index.js +33 -53
- package/test-utils/dom/code-editor/index.js.map +1 -1
- package/test-utils/dom/collection-preferences/index.js +40 -65
- package/test-utils/dom/collection-preferences/index.js.map +1 -1
- package/test-utils/dom/collection-preferences/page-size-preference.js +12 -32
- package/test-utils/dom/collection-preferences/page-size-preference.js.map +1 -1
- package/test-utils/dom/collection-preferences/visible-content-preference.js +18 -38
- package/test-utils/dom/collection-preferences/visible-content-preference.js.map +1 -1
- package/test-utils/dom/column-layout/index.js +5 -25
- package/test-utils/dom/column-layout/index.js.map +1 -1
- package/test-utils/dom/container/index.js +11 -31
- package/test-utils/dom/container/index.js.map +1 -1
- package/test-utils/dom/content-layout/index.js +9 -29
- package/test-utils/dom/content-layout/index.js.map +1 -1
- package/test-utils/dom/date-input/index.js +5 -25
- package/test-utils/dom/date-input/index.js.map +1 -1
- package/test-utils/dom/date-picker/index.js +26 -47
- package/test-utils/dom/date-picker/index.js.map +1 -1
- package/test-utils/dom/date-range-picker/index.js +87 -119
- package/test-utils/dom/date-range-picker/index.js.map +1 -1
- package/test-utils/dom/expandable-section/index.js +15 -35
- package/test-utils/dom/expandable-section/index.js.map +1 -1
- package/test-utils/dom/flashbar/flash.js +18 -38
- package/test-utils/dom/flashbar/flash.js.map +1 -1
- package/test-utils/dom/flashbar/index.js +9 -29
- package/test-utils/dom/flashbar/index.js.map +1 -1
- package/test-utils/dom/form/index.js +15 -35
- package/test-utils/dom/form/index.js.map +1 -1
- package/test-utils/dom/form-field/index.js +21 -41
- package/test-utils/dom/form-field/index.js.map +1 -1
- package/test-utils/dom/grid/index.js +8 -28
- package/test-utils/dom/grid/index.js.map +1 -1
- package/test-utils/dom/header/index.js +15 -35
- package/test-utils/dom/header/index.js.map +1 -1
- package/test-utils/dom/help-panel/index.js +11 -31
- package/test-utils/dom/help-panel/index.js.map +1 -1
- package/test-utils/dom/hotspot/index.js +12 -32
- package/test-utils/dom/hotspot/index.js.map +1 -1
- package/test-utils/dom/icon/index.js +5 -25
- package/test-utils/dom/icon/index.js.map +1 -1
- package/test-utils/dom/index.js +133 -134
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/input/base-input.js +35 -57
- package/test-utils/dom/input/base-input.js.map +1 -1
- package/test-utils/dom/input/index.js +7 -27
- package/test-utils/dom/input/index.js.map +1 -1
- package/test-utils/dom/internal/abstract-switch.js +12 -32
- package/test-utils/dom/internal/abstract-switch.js.map +1 -1
- package/test-utils/dom/internal/autosuggest-input.js +14 -34
- package/test-utils/dom/internal/autosuggest-input.js.map +1 -1
- package/test-utils/dom/internal/chart-filter.js +11 -31
- package/test-utils/dom/internal/chart-filter.js.map +1 -1
- package/test-utils/dom/internal/chart-legend.js +13 -33
- package/test-utils/dom/internal/chart-legend.js.map +1 -1
- package/test-utils/dom/internal/chart-popover.js +14 -34
- package/test-utils/dom/internal/chart-popover.js.map +1 -1
- package/test-utils/dom/internal/charts.js +20 -40
- package/test-utils/dom/internal/charts.js.map +1 -1
- package/test-utils/dom/internal/dropdown-host.js +89 -125
- package/test-utils/dom/internal/dropdown-host.js.map +1 -1
- package/test-utils/dom/internal/dropdown.js +7 -27
- package/test-utils/dom/internal/dropdown.js.map +1 -1
- package/test-utils/dom/internal/filtering-token.js +13 -33
- package/test-utils/dom/internal/filtering-token.js.map +1 -1
- package/test-utils/dom/internal/option.js +13 -33
- package/test-utils/dom/internal/option.js.map +1 -1
- package/test-utils/dom/internal/options-list.js +5 -25
- package/test-utils/dom/internal/options-list.js.map +1 -1
- package/test-utils/dom/line-chart/index.js +5 -25
- package/test-utils/dom/line-chart/index.js.map +1 -1
- package/test-utils/dom/link/index.js +5 -25
- package/test-utils/dom/link/index.js.map +1 -1
- package/test-utils/dom/mixed-line-bar-chart/index.js +29 -54
- package/test-utils/dom/mixed-line-bar-chart/index.js.map +1 -1
- package/test-utils/dom/modal/index.js +18 -38
- package/test-utils/dom/modal/index.js.map +1 -1
- package/test-utils/dom/multiselect/index.js +38 -61
- package/test-utils/dom/multiselect/index.js.map +1 -1
- package/test-utils/dom/pagination/index.js +19 -39
- package/test-utils/dom/pagination/index.js.map +1 -1
- package/test-utils/dom/pie-chart/index.js +22 -42
- package/test-utils/dom/pie-chart/index.js.map +1 -1
- package/test-utils/dom/popover/index.js +16 -39
- package/test-utils/dom/popover/index.js.map +1 -1
- package/test-utils/dom/progress-bar/index.js +13 -33
- package/test-utils/dom/progress-bar/index.js.map +1 -1
- package/test-utils/dom/property-filter/index.js +15 -35
- package/test-utils/dom/property-filter/index.js.map +1 -1
- package/test-utils/dom/radio-group/index.js +13 -33
- package/test-utils/dom/radio-group/index.js.map +1 -1
- package/test-utils/dom/radio-group/radio-button.js +12 -32
- package/test-utils/dom/radio-group/radio-button.js.map +1 -1
- package/test-utils/dom/s3-resource-selector/index.js +40 -70
- package/test-utils/dom/s3-resource-selector/index.js.map +1 -1
- package/test-utils/dom/segmented-control/index.js +9 -29
- package/test-utils/dom/segmented-control/index.js.map +1 -1
- package/test-utils/dom/select/index.js +28 -51
- package/test-utils/dom/select/index.js.map +1 -1
- package/test-utils/dom/side-navigation/index.js +41 -66
- package/test-utils/dom/side-navigation/index.js.map +1 -1
- package/test-utils/dom/space-between/index.js +5 -25
- package/test-utils/dom/space-between/index.js.map +1 -1
- package/test-utils/dom/spinner/index.js +5 -25
- package/test-utils/dom/spinner/index.js.map +1 -1
- package/test-utils/dom/split-panel/index.js +25 -45
- package/test-utils/dom/split-panel/index.js.map +1 -1
- package/test-utils/dom/status-indicator/index.js +5 -25
- package/test-utils/dom/status-indicator/index.js.map +1 -1
- package/test-utils/dom/table/index.js +76 -94
- package/test-utils/dom/table/index.js.map +1 -1
- package/test-utils/dom/tabs/index.js +19 -39
- package/test-utils/dom/tabs/index.js.map +1 -1
- package/test-utils/dom/tag-editor/index.js +19 -44
- package/test-utils/dom/tag-editor/index.js.map +1 -1
- package/test-utils/dom/text-content/index.js +5 -25
- package/test-utils/dom/text-content/index.js.map +1 -1
- package/test-utils/dom/text-filter/index.js +10 -30
- package/test-utils/dom/text-filter/index.js.map +1 -1
- package/test-utils/dom/textarea/index.js +16 -36
- package/test-utils/dom/textarea/index.js.map +1 -1
- package/test-utils/dom/tiles/index.js +17 -37
- package/test-utils/dom/tiles/index.js.map +1 -1
- package/test-utils/dom/tiles/tile.js +16 -36
- package/test-utils/dom/tiles/tile.js.map +1 -1
- package/test-utils/dom/time-input/index.js +5 -25
- package/test-utils/dom/time-input/index.js.map +1 -1
- package/test-utils/dom/toggle/index.js +14 -34
- package/test-utils/dom/toggle/index.js.map +1 -1
- package/test-utils/dom/token-group/index.js +14 -34
- package/test-utils/dom/token-group/index.js.map +1 -1
- package/test-utils/dom/token-group/token.js +12 -32
- package/test-utils/dom/token-group/token.js.map +1 -1
- package/test-utils/dom/top-navigation/1.0-beta/index.js +56 -91
- package/test-utils/dom/top-navigation/1.0-beta/index.js.map +1 -1
- package/test-utils/dom/top-navigation/index.js +73 -108
- package/test-utils/dom/top-navigation/index.js.map +1 -1
- package/test-utils/dom/tutorial-panel/index.js +38 -63
- package/test-utils/dom/tutorial-panel/index.js.map +1 -1
- package/test-utils/dom/tutorial-panel/tutorial.js +29 -49
- package/test-utils/dom/tutorial-panel/tutorial.js.map +1 -1
- package/test-utils/dom/wizard/index.js +33 -53
- package/test-utils/dom/wizard/index.js.map +1 -1
- package/test-utils/selectors/alert/index.js +20 -40
- package/test-utils/selectors/alert/index.js.map +1 -1
- package/test-utils/selectors/annotation/index.js +24 -44
- package/test-utils/selectors/annotation/index.js.map +1 -1
- package/test-utils/selectors/app-layout/index.js +27 -47
- package/test-utils/selectors/app-layout/index.js.map +1 -1
- package/test-utils/selectors/area-chart/index.js +12 -32
- package/test-utils/selectors/area-chart/index.js.map +1 -1
- package/test-utils/selectors/attribute-editor/index.js +32 -57
- package/test-utils/selectors/attribute-editor/index.js.map +1 -1
- package/test-utils/selectors/autosuggest/index.js +69 -103
- package/test-utils/selectors/autosuggest/index.js.map +1 -1
- package/test-utils/selectors/badge/index.js +5 -25
- package/test-utils/selectors/badge/index.js.map +1 -1
- package/test-utils/selectors/bar-chart/index.js +5 -25
- package/test-utils/selectors/bar-chart/index.js.map +1 -1
- package/test-utils/selectors/box/index.js +5 -25
- package/test-utils/selectors/box/index.js.map +1 -1
- package/test-utils/selectors/breadcrumb-group/index.js +17 -37
- package/test-utils/selectors/breadcrumb-group/index.js.map +1 -1
- package/test-utils/selectors/button/index.js +11 -31
- package/test-utils/selectors/button/index.js.map +1 -1
- package/test-utils/selectors/button-dropdown/index.js +30 -50
- package/test-utils/selectors/button-dropdown/index.js.map +1 -1
- package/test-utils/selectors/calendar/index.js +20 -40
- package/test-utils/selectors/calendar/index.js.map +1 -1
- package/test-utils/selectors/cards/index.js +55 -83
- package/test-utils/selectors/cards/index.js.map +1 -1
- package/test-utils/selectors/checkbox/index.js +14 -34
- package/test-utils/selectors/checkbox/index.js.map +1 -1
- package/test-utils/selectors/code-editor/index.js +25 -45
- package/test-utils/selectors/code-editor/index.js.map +1 -1
- package/test-utils/selectors/collection-preferences/index.js +40 -65
- package/test-utils/selectors/collection-preferences/index.js.map +1 -1
- package/test-utils/selectors/collection-preferences/page-size-preference.js +12 -32
- package/test-utils/selectors/collection-preferences/page-size-preference.js.map +1 -1
- package/test-utils/selectors/collection-preferences/visible-content-preference.js +18 -38
- package/test-utils/selectors/collection-preferences/visible-content-preference.js.map +1 -1
- package/test-utils/selectors/column-layout/index.js +5 -25
- package/test-utils/selectors/column-layout/index.js.map +1 -1
- package/test-utils/selectors/container/index.js +11 -31
- package/test-utils/selectors/container/index.js.map +1 -1
- package/test-utils/selectors/content-layout/index.js +9 -29
- package/test-utils/selectors/content-layout/index.js.map +1 -1
- package/test-utils/selectors/date-input/index.js +5 -25
- package/test-utils/selectors/date-input/index.js.map +1 -1
- package/test-utils/selectors/date-picker/index.js +22 -43
- package/test-utils/selectors/date-picker/index.js.map +1 -1
- package/test-utils/selectors/date-range-picker/index.js +81 -112
- package/test-utils/selectors/date-range-picker/index.js.map +1 -1
- package/test-utils/selectors/expandable-section/index.js +15 -35
- package/test-utils/selectors/expandable-section/index.js.map +1 -1
- package/test-utils/selectors/flashbar/flash.js +18 -38
- package/test-utils/selectors/flashbar/flash.js.map +1 -1
- package/test-utils/selectors/flashbar/index.js +9 -29
- package/test-utils/selectors/flashbar/index.js.map +1 -1
- package/test-utils/selectors/form/index.js +15 -35
- package/test-utils/selectors/form/index.js.map +1 -1
- package/test-utils/selectors/form-field/index.js +21 -41
- package/test-utils/selectors/form-field/index.js.map +1 -1
- package/test-utils/selectors/grid/index.js +8 -28
- package/test-utils/selectors/grid/index.js.map +1 -1
- package/test-utils/selectors/header/index.js +15 -35
- package/test-utils/selectors/header/index.js.map +1 -1
- package/test-utils/selectors/help-panel/index.js +11 -31
- package/test-utils/selectors/help-panel/index.js.map +1 -1
- package/test-utils/selectors/hotspot/index.js +12 -32
- package/test-utils/selectors/hotspot/index.js.map +1 -1
- package/test-utils/selectors/icon/index.js +5 -25
- package/test-utils/selectors/icon/index.js.map +1 -1
- package/test-utils/selectors/index.js +133 -134
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/input/base-input.js +7 -27
- package/test-utils/selectors/input/base-input.js.map +1 -1
- package/test-utils/selectors/input/index.js +7 -27
- package/test-utils/selectors/input/index.js.map +1 -1
- package/test-utils/selectors/internal/abstract-switch.js +12 -32
- package/test-utils/selectors/internal/abstract-switch.js.map +1 -1
- package/test-utils/selectors/internal/autosuggest-input.js +14 -34
- package/test-utils/selectors/internal/autosuggest-input.js.map +1 -1
- package/test-utils/selectors/internal/chart-filter.js +11 -31
- package/test-utils/selectors/internal/chart-filter.js.map +1 -1
- package/test-utils/selectors/internal/chart-legend.js +13 -33
- package/test-utils/selectors/internal/chart-legend.js.map +1 -1
- package/test-utils/selectors/internal/chart-popover.js +14 -34
- package/test-utils/selectors/internal/chart-popover.js.map +1 -1
- package/test-utils/selectors/internal/charts.js +20 -40
- package/test-utils/selectors/internal/charts.js.map +1 -1
- package/test-utils/selectors/internal/dropdown-host.js +59 -91
- package/test-utils/selectors/internal/dropdown-host.js.map +1 -1
- package/test-utils/selectors/internal/dropdown.js +7 -27
- package/test-utils/selectors/internal/dropdown.js.map +1 -1
- package/test-utils/selectors/internal/filtering-token.js +13 -33
- package/test-utils/selectors/internal/filtering-token.js.map +1 -1
- package/test-utils/selectors/internal/option.js +13 -33
- package/test-utils/selectors/internal/option.js.map +1 -1
- package/test-utils/selectors/internal/options-list.js +5 -25
- package/test-utils/selectors/internal/options-list.js.map +1 -1
- package/test-utils/selectors/line-chart/index.js +5 -25
- package/test-utils/selectors/line-chart/index.js.map +1 -1
- package/test-utils/selectors/link/index.js +5 -25
- package/test-utils/selectors/link/index.js.map +1 -1
- package/test-utils/selectors/mixed-line-bar-chart/index.js +29 -54
- package/test-utils/selectors/mixed-line-bar-chart/index.js.map +1 -1
- package/test-utils/selectors/modal/index.js +13 -33
- package/test-utils/selectors/modal/index.js.map +1 -1
- package/test-utils/selectors/multiselect/index.js +38 -61
- package/test-utils/selectors/multiselect/index.js.map +1 -1
- package/test-utils/selectors/pagination/index.js +19 -39
- package/test-utils/selectors/pagination/index.js.map +1 -1
- package/test-utils/selectors/pie-chart/index.js +22 -42
- package/test-utils/selectors/pie-chart/index.js.map +1 -1
- package/test-utils/selectors/popover/index.js +22 -45
- package/test-utils/selectors/popover/index.js.map +1 -1
- package/test-utils/selectors/progress-bar/index.js +13 -33
- package/test-utils/selectors/progress-bar/index.js.map +1 -1
- package/test-utils/selectors/property-filter/index.js +15 -35
- package/test-utils/selectors/property-filter/index.js.map +1 -1
- package/test-utils/selectors/radio-group/index.js +13 -33
- package/test-utils/selectors/radio-group/index.js.map +1 -1
- package/test-utils/selectors/radio-group/radio-button.js +12 -32
- package/test-utils/selectors/radio-group/radio-button.js.map +1 -1
- package/test-utils/selectors/s3-resource-selector/index.js +40 -70
- package/test-utils/selectors/s3-resource-selector/index.js.map +1 -1
- package/test-utils/selectors/segmented-control/index.js +9 -29
- package/test-utils/selectors/segmented-control/index.js.map +1 -1
- package/test-utils/selectors/select/index.js +28 -51
- package/test-utils/selectors/select/index.js.map +1 -1
- package/test-utils/selectors/side-navigation/index.js +41 -66
- package/test-utils/selectors/side-navigation/index.js.map +1 -1
- package/test-utils/selectors/space-between/index.js +5 -25
- package/test-utils/selectors/space-between/index.js.map +1 -1
- package/test-utils/selectors/spinner/index.js +5 -25
- package/test-utils/selectors/spinner/index.js.map +1 -1
- package/test-utils/selectors/split-panel/index.js +25 -45
- package/test-utils/selectors/split-panel/index.js.map +1 -1
- package/test-utils/selectors/status-indicator/index.js +5 -25
- package/test-utils/selectors/status-indicator/index.js.map +1 -1
- package/test-utils/selectors/table/index.js +76 -94
- package/test-utils/selectors/table/index.js.map +1 -1
- package/test-utils/selectors/tabs/index.js +19 -39
- package/test-utils/selectors/tabs/index.js.map +1 -1
- package/test-utils/selectors/tag-editor/index.js +19 -44
- package/test-utils/selectors/tag-editor/index.js.map +1 -1
- package/test-utils/selectors/text-content/index.js +5 -25
- package/test-utils/selectors/text-content/index.js.map +1 -1
- package/test-utils/selectors/text-filter/index.js +10 -30
- package/test-utils/selectors/text-filter/index.js.map +1 -1
- package/test-utils/selectors/textarea/index.js +7 -27
- package/test-utils/selectors/textarea/index.js.map +1 -1
- package/test-utils/selectors/tiles/index.js +17 -37
- package/test-utils/selectors/tiles/index.js.map +1 -1
- package/test-utils/selectors/tiles/tile.js +16 -36
- package/test-utils/selectors/tiles/tile.js.map +1 -1
- package/test-utils/selectors/time-input/index.js +5 -25
- package/test-utils/selectors/time-input/index.js.map +1 -1
- package/test-utils/selectors/toggle/index.js +14 -34
- package/test-utils/selectors/toggle/index.js.map +1 -1
- package/test-utils/selectors/token-group/index.js +14 -34
- package/test-utils/selectors/token-group/index.js.map +1 -1
- package/test-utils/selectors/token-group/token.js +12 -32
- package/test-utils/selectors/token-group/token.js.map +1 -1
- package/test-utils/selectors/top-navigation/1.0-beta/index.js +56 -91
- package/test-utils/selectors/top-navigation/1.0-beta/index.js.map +1 -1
- package/test-utils/selectors/top-navigation/index.js +73 -108
- package/test-utils/selectors/top-navigation/index.js.map +1 -1
- package/test-utils/selectors/tutorial-panel/index.js +38 -63
- package/test-utils/selectors/tutorial-panel/index.js.map +1 -1
- package/test-utils/selectors/tutorial-panel/tutorial.js +29 -49
- package/test-utils/selectors/tutorial-panel/tutorial.js.map +1 -1
- package/test-utils/selectors/wizard/index.js +33 -53
- package/test-utils/selectors/wizard/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
package/test-utils/dom/index.js
CHANGED
|
@@ -2,531 +2,530 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SpaceBetweenWrapper = exports.SideNavigationWrapper = exports.SelectWrapper = exports.SegmentedControlWrapper = exports.S3ResourceSelectorWrapper = exports.RadioGroupWrapper = exports.PropertyFilterWrapper = exports.ProgressBarWrapper = exports.PopoverWrapper = exports.PieChartWrapper = exports.PaginationWrapper = exports.MultiselectWrapper = exports.ModalWrapper = exports.MixedLineBarChartWrapper = exports.LinkWrapper = exports.LineChartWrapper = exports.InputWrapper = exports.IconWrapper = exports.HotspotWrapper = exports.HelpPanelWrapper = exports.HeaderWrapper = exports.GridWrapper = exports.FormFieldWrapper = exports.FormWrapper = exports.FlashbarWrapper = exports.ExpandableSectionWrapper = exports.DateRangePickerWrapper = exports.DatePickerWrapper = exports.DateInputWrapper = exports.ContentLayoutWrapper = exports.ContainerWrapper = exports.ColumnLayoutWrapper = exports.CollectionPreferencesWrapper = exports.CodeEditorWrapper = exports.CheckboxWrapper = exports.CardsWrapper = exports.CalendarWrapper = exports.ButtonDropdownWrapper = exports.ButtonWrapper = exports.BreadcrumbGroupWrapper = exports.BoxWrapper = exports.BarChartWrapper = exports.BadgeWrapper = exports.AutosuggestWrapper = exports.AttributeEditorWrapper = exports.AreaChartWrapper = exports.AppLayoutWrapper = exports.AnnotationWrapper = exports.AlertWrapper = exports.ElementWrapper = void 0;
|
|
4
4
|
exports.WizardWrapper = exports.TutorialPanelWrapper = exports.TopNavigationWrapper = exports.TokenGroupWrapper = exports.ToggleWrapper = exports.TimeInputWrapper = exports.TilesWrapper = exports.TextareaWrapper = exports.TextFilterWrapper = exports.TextContentWrapper = exports.TagEditorWrapper = exports.TabsWrapper = exports.TableWrapper = exports.StatusIndicatorWrapper = exports.SplitPanelWrapper = exports.SpinnerWrapper = void 0;
|
|
5
|
-
|
|
5
|
+
const dom_1 = require("@cloudscape-design/test-utils-core/dom");
|
|
6
6
|
Object.defineProperty(exports, "ElementWrapper", { enumerable: true, get: function () { return dom_1.ElementWrapper; } });
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const utils_1 = require("@cloudscape-design/test-utils-core/utils");
|
|
8
|
+
const alert_1 = require("./alert");
|
|
9
9
|
exports.AlertWrapper = alert_1.default;
|
|
10
|
-
|
|
10
|
+
const annotation_1 = require("./annotation");
|
|
11
11
|
exports.AnnotationWrapper = annotation_1.default;
|
|
12
|
-
|
|
12
|
+
const app_layout_1 = require("./app-layout");
|
|
13
13
|
exports.AppLayoutWrapper = app_layout_1.default;
|
|
14
|
-
|
|
14
|
+
const area_chart_1 = require("./area-chart");
|
|
15
15
|
exports.AreaChartWrapper = area_chart_1.default;
|
|
16
|
-
|
|
16
|
+
const attribute_editor_1 = require("./attribute-editor");
|
|
17
17
|
exports.AttributeEditorWrapper = attribute_editor_1.default;
|
|
18
|
-
|
|
18
|
+
const autosuggest_1 = require("./autosuggest");
|
|
19
19
|
exports.AutosuggestWrapper = autosuggest_1.default;
|
|
20
|
-
|
|
20
|
+
const badge_1 = require("./badge");
|
|
21
21
|
exports.BadgeWrapper = badge_1.default;
|
|
22
|
-
|
|
22
|
+
const bar_chart_1 = require("./bar-chart");
|
|
23
23
|
exports.BarChartWrapper = bar_chart_1.default;
|
|
24
|
-
|
|
24
|
+
const box_1 = require("./box");
|
|
25
25
|
exports.BoxWrapper = box_1.default;
|
|
26
|
-
|
|
26
|
+
const breadcrumb_group_1 = require("./breadcrumb-group");
|
|
27
27
|
exports.BreadcrumbGroupWrapper = breadcrumb_group_1.default;
|
|
28
|
-
|
|
28
|
+
const button_1 = require("./button");
|
|
29
29
|
exports.ButtonWrapper = button_1.default;
|
|
30
|
-
|
|
30
|
+
const button_dropdown_1 = require("./button-dropdown");
|
|
31
31
|
exports.ButtonDropdownWrapper = button_dropdown_1.default;
|
|
32
|
-
|
|
32
|
+
const calendar_1 = require("./calendar");
|
|
33
33
|
exports.CalendarWrapper = calendar_1.default;
|
|
34
|
-
|
|
34
|
+
const cards_1 = require("./cards");
|
|
35
35
|
exports.CardsWrapper = cards_1.default;
|
|
36
|
-
|
|
36
|
+
const checkbox_1 = require("./checkbox");
|
|
37
37
|
exports.CheckboxWrapper = checkbox_1.default;
|
|
38
|
-
|
|
38
|
+
const code_editor_1 = require("./code-editor");
|
|
39
39
|
exports.CodeEditorWrapper = code_editor_1.default;
|
|
40
|
-
|
|
40
|
+
const collection_preferences_1 = require("./collection-preferences");
|
|
41
41
|
exports.CollectionPreferencesWrapper = collection_preferences_1.default;
|
|
42
|
-
|
|
42
|
+
const column_layout_1 = require("./column-layout");
|
|
43
43
|
exports.ColumnLayoutWrapper = column_layout_1.default;
|
|
44
|
-
|
|
44
|
+
const container_1 = require("./container");
|
|
45
45
|
exports.ContainerWrapper = container_1.default;
|
|
46
|
-
|
|
46
|
+
const content_layout_1 = require("./content-layout");
|
|
47
47
|
exports.ContentLayoutWrapper = content_layout_1.default;
|
|
48
|
-
|
|
48
|
+
const date_input_1 = require("./date-input");
|
|
49
49
|
exports.DateInputWrapper = date_input_1.default;
|
|
50
|
-
|
|
50
|
+
const date_picker_1 = require("./date-picker");
|
|
51
51
|
exports.DatePickerWrapper = date_picker_1.default;
|
|
52
|
-
|
|
52
|
+
const date_range_picker_1 = require("./date-range-picker");
|
|
53
53
|
exports.DateRangePickerWrapper = date_range_picker_1.default;
|
|
54
|
-
|
|
54
|
+
const expandable_section_1 = require("./expandable-section");
|
|
55
55
|
exports.ExpandableSectionWrapper = expandable_section_1.default;
|
|
56
|
-
|
|
56
|
+
const flashbar_1 = require("./flashbar");
|
|
57
57
|
exports.FlashbarWrapper = flashbar_1.default;
|
|
58
|
-
|
|
58
|
+
const form_1 = require("./form");
|
|
59
59
|
exports.FormWrapper = form_1.default;
|
|
60
|
-
|
|
60
|
+
const form_field_1 = require("./form-field");
|
|
61
61
|
exports.FormFieldWrapper = form_field_1.default;
|
|
62
|
-
|
|
62
|
+
const grid_1 = require("./grid");
|
|
63
63
|
exports.GridWrapper = grid_1.default;
|
|
64
|
-
|
|
64
|
+
const header_1 = require("./header");
|
|
65
65
|
exports.HeaderWrapper = header_1.default;
|
|
66
|
-
|
|
66
|
+
const help_panel_1 = require("./help-panel");
|
|
67
67
|
exports.HelpPanelWrapper = help_panel_1.default;
|
|
68
|
-
|
|
68
|
+
const hotspot_1 = require("./hotspot");
|
|
69
69
|
exports.HotspotWrapper = hotspot_1.default;
|
|
70
|
-
|
|
70
|
+
const icon_1 = require("./icon");
|
|
71
71
|
exports.IconWrapper = icon_1.default;
|
|
72
|
-
|
|
72
|
+
const input_1 = require("./input");
|
|
73
73
|
exports.InputWrapper = input_1.default;
|
|
74
|
-
|
|
74
|
+
const line_chart_1 = require("./line-chart");
|
|
75
75
|
exports.LineChartWrapper = line_chart_1.default;
|
|
76
|
-
|
|
76
|
+
const link_1 = require("./link");
|
|
77
77
|
exports.LinkWrapper = link_1.default;
|
|
78
|
-
|
|
78
|
+
const mixed_line_bar_chart_1 = require("./mixed-line-bar-chart");
|
|
79
79
|
exports.MixedLineBarChartWrapper = mixed_line_bar_chart_1.default;
|
|
80
|
-
|
|
80
|
+
const modal_1 = require("./modal");
|
|
81
81
|
exports.ModalWrapper = modal_1.default;
|
|
82
|
-
|
|
82
|
+
const multiselect_1 = require("./multiselect");
|
|
83
83
|
exports.MultiselectWrapper = multiselect_1.default;
|
|
84
|
-
|
|
84
|
+
const pagination_1 = require("./pagination");
|
|
85
85
|
exports.PaginationWrapper = pagination_1.default;
|
|
86
|
-
|
|
86
|
+
const pie_chart_1 = require("./pie-chart");
|
|
87
87
|
exports.PieChartWrapper = pie_chart_1.default;
|
|
88
|
-
|
|
88
|
+
const popover_1 = require("./popover");
|
|
89
89
|
exports.PopoverWrapper = popover_1.default;
|
|
90
|
-
|
|
90
|
+
const progress_bar_1 = require("./progress-bar");
|
|
91
91
|
exports.ProgressBarWrapper = progress_bar_1.default;
|
|
92
|
-
|
|
92
|
+
const property_filter_1 = require("./property-filter");
|
|
93
93
|
exports.PropertyFilterWrapper = property_filter_1.default;
|
|
94
|
-
|
|
94
|
+
const radio_group_1 = require("./radio-group");
|
|
95
95
|
exports.RadioGroupWrapper = radio_group_1.default;
|
|
96
|
-
|
|
96
|
+
const s3_resource_selector_1 = require("./s3-resource-selector");
|
|
97
97
|
exports.S3ResourceSelectorWrapper = s3_resource_selector_1.default;
|
|
98
|
-
|
|
98
|
+
const segmented_control_1 = require("./segmented-control");
|
|
99
99
|
exports.SegmentedControlWrapper = segmented_control_1.default;
|
|
100
|
-
|
|
100
|
+
const select_1 = require("./select");
|
|
101
101
|
exports.SelectWrapper = select_1.default;
|
|
102
|
-
|
|
102
|
+
const side_navigation_1 = require("./side-navigation");
|
|
103
103
|
exports.SideNavigationWrapper = side_navigation_1.default;
|
|
104
|
-
|
|
104
|
+
const space_between_1 = require("./space-between");
|
|
105
105
|
exports.SpaceBetweenWrapper = space_between_1.default;
|
|
106
|
-
|
|
106
|
+
const spinner_1 = require("./spinner");
|
|
107
107
|
exports.SpinnerWrapper = spinner_1.default;
|
|
108
|
-
|
|
108
|
+
const split_panel_1 = require("./split-panel");
|
|
109
109
|
exports.SplitPanelWrapper = split_panel_1.default;
|
|
110
|
-
|
|
110
|
+
const status_indicator_1 = require("./status-indicator");
|
|
111
111
|
exports.StatusIndicatorWrapper = status_indicator_1.default;
|
|
112
|
-
|
|
112
|
+
const table_1 = require("./table");
|
|
113
113
|
exports.TableWrapper = table_1.default;
|
|
114
|
-
|
|
114
|
+
const tabs_1 = require("./tabs");
|
|
115
115
|
exports.TabsWrapper = tabs_1.default;
|
|
116
|
-
|
|
116
|
+
const tag_editor_1 = require("./tag-editor");
|
|
117
117
|
exports.TagEditorWrapper = tag_editor_1.default;
|
|
118
|
-
|
|
118
|
+
const text_content_1 = require("./text-content");
|
|
119
119
|
exports.TextContentWrapper = text_content_1.default;
|
|
120
|
-
|
|
120
|
+
const text_filter_1 = require("./text-filter");
|
|
121
121
|
exports.TextFilterWrapper = text_filter_1.default;
|
|
122
|
-
|
|
122
|
+
const textarea_1 = require("./textarea");
|
|
123
123
|
exports.TextareaWrapper = textarea_1.default;
|
|
124
|
-
|
|
124
|
+
const tiles_1 = require("./tiles");
|
|
125
125
|
exports.TilesWrapper = tiles_1.default;
|
|
126
|
-
|
|
126
|
+
const time_input_1 = require("./time-input");
|
|
127
127
|
exports.TimeInputWrapper = time_input_1.default;
|
|
128
|
-
|
|
128
|
+
const toggle_1 = require("./toggle");
|
|
129
129
|
exports.ToggleWrapper = toggle_1.default;
|
|
130
|
-
|
|
130
|
+
const token_group_1 = require("./token-group");
|
|
131
131
|
exports.TokenGroupWrapper = token_group_1.default;
|
|
132
|
-
|
|
132
|
+
const top_navigation_1 = require("./top-navigation");
|
|
133
133
|
exports.TopNavigationWrapper = top_navigation_1.default;
|
|
134
|
-
|
|
134
|
+
const tutorial_panel_1 = require("./tutorial-panel");
|
|
135
135
|
exports.TutorialPanelWrapper = tutorial_panel_1.default;
|
|
136
|
-
|
|
136
|
+
const wizard_1 = require("./wizard");
|
|
137
137
|
exports.WizardWrapper = wizard_1.default;
|
|
138
138
|
dom_1.ElementWrapper.prototype.findAlert = function (selector) {
|
|
139
|
-
|
|
139
|
+
const rootSelector = `.${alert_1.default.rootSelector}`;
|
|
140
140
|
// casting to 'any' is needed to avoid this issue with generics
|
|
141
141
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
142
142
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, alert_1.default);
|
|
143
143
|
};
|
|
144
144
|
dom_1.ElementWrapper.prototype.findAnnotation = function (selector) {
|
|
145
|
-
|
|
145
|
+
const rootSelector = `.${annotation_1.default.rootSelector}`;
|
|
146
146
|
// casting to 'any' is needed to avoid this issue with generics
|
|
147
147
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
148
148
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, annotation_1.default);
|
|
149
149
|
};
|
|
150
150
|
dom_1.ElementWrapper.prototype.findAppLayout = function (selector) {
|
|
151
|
-
|
|
151
|
+
const rootSelector = `.${app_layout_1.default.rootSelector}`;
|
|
152
152
|
// casting to 'any' is needed to avoid this issue with generics
|
|
153
153
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
154
154
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, app_layout_1.default);
|
|
155
155
|
};
|
|
156
156
|
dom_1.ElementWrapper.prototype.findAreaChart = function (selector) {
|
|
157
|
-
|
|
157
|
+
const rootSelector = `.${area_chart_1.default.rootSelector}`;
|
|
158
158
|
// casting to 'any' is needed to avoid this issue with generics
|
|
159
159
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
160
160
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, area_chart_1.default);
|
|
161
161
|
};
|
|
162
162
|
dom_1.ElementWrapper.prototype.findAttributeEditor = function (selector) {
|
|
163
|
-
|
|
163
|
+
const rootSelector = `.${attribute_editor_1.default.rootSelector}`;
|
|
164
164
|
// casting to 'any' is needed to avoid this issue with generics
|
|
165
165
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
166
166
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, attribute_editor_1.default);
|
|
167
167
|
};
|
|
168
168
|
dom_1.ElementWrapper.prototype.findAutosuggest = function (selector) {
|
|
169
|
-
|
|
169
|
+
const rootSelector = `.${autosuggest_1.default.rootSelector}`;
|
|
170
170
|
// casting to 'any' is needed to avoid this issue with generics
|
|
171
171
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
172
172
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, autosuggest_1.default);
|
|
173
173
|
};
|
|
174
174
|
dom_1.ElementWrapper.prototype.findBadge = function (selector) {
|
|
175
|
-
|
|
175
|
+
const rootSelector = `.${badge_1.default.rootSelector}`;
|
|
176
176
|
// casting to 'any' is needed to avoid this issue with generics
|
|
177
177
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
178
178
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, badge_1.default);
|
|
179
179
|
};
|
|
180
180
|
dom_1.ElementWrapper.prototype.findBarChart = function (selector) {
|
|
181
|
-
|
|
181
|
+
const rootSelector = `.${bar_chart_1.default.rootSelector}`;
|
|
182
182
|
// casting to 'any' is needed to avoid this issue with generics
|
|
183
183
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
184
184
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, bar_chart_1.default);
|
|
185
185
|
};
|
|
186
186
|
dom_1.ElementWrapper.prototype.findBox = function (selector) {
|
|
187
|
-
|
|
187
|
+
const rootSelector = `.${box_1.default.rootSelector}`;
|
|
188
188
|
// casting to 'any' is needed to avoid this issue with generics
|
|
189
189
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
190
190
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, box_1.default);
|
|
191
191
|
};
|
|
192
192
|
dom_1.ElementWrapper.prototype.findBreadcrumbGroup = function (selector) {
|
|
193
|
-
|
|
193
|
+
const rootSelector = `.${breadcrumb_group_1.default.rootSelector}`;
|
|
194
194
|
// casting to 'any' is needed to avoid this issue with generics
|
|
195
195
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
196
196
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, breadcrumb_group_1.default);
|
|
197
197
|
};
|
|
198
198
|
dom_1.ElementWrapper.prototype.findButton = function (selector) {
|
|
199
|
-
|
|
199
|
+
const rootSelector = `.${button_1.default.rootSelector}`;
|
|
200
200
|
// casting to 'any' is needed to avoid this issue with generics
|
|
201
201
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
202
202
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, button_1.default);
|
|
203
203
|
};
|
|
204
204
|
dom_1.ElementWrapper.prototype.findButtonDropdown = function (selector) {
|
|
205
|
-
|
|
205
|
+
const rootSelector = `.${button_dropdown_1.default.rootSelector}`;
|
|
206
206
|
// casting to 'any' is needed to avoid this issue with generics
|
|
207
207
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
208
208
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, button_dropdown_1.default);
|
|
209
209
|
};
|
|
210
210
|
dom_1.ElementWrapper.prototype.findCalendar = function (selector) {
|
|
211
|
-
|
|
211
|
+
const rootSelector = `.${calendar_1.default.rootSelector}`;
|
|
212
212
|
// casting to 'any' is needed to avoid this issue with generics
|
|
213
213
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
214
214
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, calendar_1.default);
|
|
215
215
|
};
|
|
216
216
|
dom_1.ElementWrapper.prototype.findCards = function (selector) {
|
|
217
|
-
|
|
217
|
+
const rootSelector = `.${cards_1.default.rootSelector}`;
|
|
218
218
|
// casting to 'any' is needed to avoid this issue with generics
|
|
219
219
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
220
220
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, cards_1.default);
|
|
221
221
|
};
|
|
222
222
|
dom_1.ElementWrapper.prototype.findCheckbox = function (selector) {
|
|
223
|
-
|
|
223
|
+
const rootSelector = `.${checkbox_1.default.rootSelector}`;
|
|
224
224
|
// casting to 'any' is needed to avoid this issue with generics
|
|
225
225
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
226
226
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, checkbox_1.default);
|
|
227
227
|
};
|
|
228
228
|
dom_1.ElementWrapper.prototype.findCodeEditor = function (selector) {
|
|
229
|
-
|
|
229
|
+
const rootSelector = `.${code_editor_1.default.rootSelector}`;
|
|
230
230
|
// casting to 'any' is needed to avoid this issue with generics
|
|
231
231
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
232
232
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, code_editor_1.default);
|
|
233
233
|
};
|
|
234
234
|
dom_1.ElementWrapper.prototype.findCollectionPreferences = function (selector) {
|
|
235
|
-
|
|
235
|
+
const rootSelector = `.${collection_preferences_1.default.rootSelector}`;
|
|
236
236
|
// casting to 'any' is needed to avoid this issue with generics
|
|
237
237
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
238
238
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, collection_preferences_1.default);
|
|
239
239
|
};
|
|
240
240
|
dom_1.ElementWrapper.prototype.findColumnLayout = function (selector) {
|
|
241
|
-
|
|
241
|
+
const rootSelector = `.${column_layout_1.default.rootSelector}`;
|
|
242
242
|
// casting to 'any' is needed to avoid this issue with generics
|
|
243
243
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
244
244
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, column_layout_1.default);
|
|
245
245
|
};
|
|
246
246
|
dom_1.ElementWrapper.prototype.findContainer = function (selector) {
|
|
247
|
-
|
|
247
|
+
const rootSelector = `.${container_1.default.rootSelector}`;
|
|
248
248
|
// casting to 'any' is needed to avoid this issue with generics
|
|
249
249
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
250
250
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, container_1.default);
|
|
251
251
|
};
|
|
252
252
|
dom_1.ElementWrapper.prototype.findContentLayout = function (selector) {
|
|
253
|
-
|
|
253
|
+
const rootSelector = `.${content_layout_1.default.rootSelector}`;
|
|
254
254
|
// casting to 'any' is needed to avoid this issue with generics
|
|
255
255
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
256
256
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, content_layout_1.default);
|
|
257
257
|
};
|
|
258
258
|
dom_1.ElementWrapper.prototype.findDateInput = function (selector) {
|
|
259
|
-
|
|
259
|
+
const rootSelector = `.${date_input_1.default.rootSelector}`;
|
|
260
260
|
// casting to 'any' is needed to avoid this issue with generics
|
|
261
261
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
262
262
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, date_input_1.default);
|
|
263
263
|
};
|
|
264
264
|
dom_1.ElementWrapper.prototype.findDatePicker = function (selector) {
|
|
265
|
-
|
|
265
|
+
const rootSelector = `.${date_picker_1.default.rootSelector}`;
|
|
266
266
|
// casting to 'any' is needed to avoid this issue with generics
|
|
267
267
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
268
268
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, date_picker_1.default);
|
|
269
269
|
};
|
|
270
270
|
dom_1.ElementWrapper.prototype.findDateRangePicker = function (selector) {
|
|
271
|
-
|
|
271
|
+
const rootSelector = `.${date_range_picker_1.default.rootSelector}`;
|
|
272
272
|
// casting to 'any' is needed to avoid this issue with generics
|
|
273
273
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
274
274
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, date_range_picker_1.default);
|
|
275
275
|
};
|
|
276
276
|
dom_1.ElementWrapper.prototype.findExpandableSection = function (selector) {
|
|
277
|
-
|
|
277
|
+
const rootSelector = `.${expandable_section_1.default.rootSelector}`;
|
|
278
278
|
// casting to 'any' is needed to avoid this issue with generics
|
|
279
279
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
280
280
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, expandable_section_1.default);
|
|
281
281
|
};
|
|
282
282
|
dom_1.ElementWrapper.prototype.findFlashbar = function (selector) {
|
|
283
|
-
|
|
283
|
+
const rootSelector = `.${flashbar_1.default.rootSelector}`;
|
|
284
284
|
// casting to 'any' is needed to avoid this issue with generics
|
|
285
285
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
286
286
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, flashbar_1.default);
|
|
287
287
|
};
|
|
288
288
|
dom_1.ElementWrapper.prototype.findForm = function (selector) {
|
|
289
|
-
|
|
289
|
+
const rootSelector = `.${form_1.default.rootSelector}`;
|
|
290
290
|
// casting to 'any' is needed to avoid this issue with generics
|
|
291
291
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
292
292
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, form_1.default);
|
|
293
293
|
};
|
|
294
294
|
dom_1.ElementWrapper.prototype.findFormField = function (selector) {
|
|
295
|
-
|
|
295
|
+
const rootSelector = `.${form_field_1.default.rootSelector}`;
|
|
296
296
|
// casting to 'any' is needed to avoid this issue with generics
|
|
297
297
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
298
298
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, form_field_1.default);
|
|
299
299
|
};
|
|
300
300
|
dom_1.ElementWrapper.prototype.findGrid = function (selector) {
|
|
301
|
-
|
|
301
|
+
const rootSelector = `.${grid_1.default.rootSelector}`;
|
|
302
302
|
// casting to 'any' is needed to avoid this issue with generics
|
|
303
303
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
304
304
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, grid_1.default);
|
|
305
305
|
};
|
|
306
306
|
dom_1.ElementWrapper.prototype.findHeader = function (selector) {
|
|
307
|
-
|
|
307
|
+
const rootSelector = `.${header_1.default.rootSelector}`;
|
|
308
308
|
// casting to 'any' is needed to avoid this issue with generics
|
|
309
309
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
310
310
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, header_1.default);
|
|
311
311
|
};
|
|
312
312
|
dom_1.ElementWrapper.prototype.findHelpPanel = function (selector) {
|
|
313
|
-
|
|
313
|
+
const rootSelector = `.${help_panel_1.default.rootSelector}`;
|
|
314
314
|
// casting to 'any' is needed to avoid this issue with generics
|
|
315
315
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
316
316
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, help_panel_1.default);
|
|
317
317
|
};
|
|
318
318
|
dom_1.ElementWrapper.prototype.findHotspot = function (selector) {
|
|
319
|
-
|
|
319
|
+
const rootSelector = `.${hotspot_1.default.rootSelector}`;
|
|
320
320
|
// casting to 'any' is needed to avoid this issue with generics
|
|
321
321
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
322
322
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, hotspot_1.default);
|
|
323
323
|
};
|
|
324
324
|
dom_1.ElementWrapper.prototype.findIcon = function (selector) {
|
|
325
|
-
|
|
325
|
+
const rootSelector = `.${icon_1.default.rootSelector}`;
|
|
326
326
|
// casting to 'any' is needed to avoid this issue with generics
|
|
327
327
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
328
328
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, icon_1.default);
|
|
329
329
|
};
|
|
330
330
|
dom_1.ElementWrapper.prototype.findInput = function (selector) {
|
|
331
|
-
|
|
331
|
+
const rootSelector = `.${input_1.default.rootSelector}`;
|
|
332
332
|
// casting to 'any' is needed to avoid this issue with generics
|
|
333
333
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
334
334
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, input_1.default);
|
|
335
335
|
};
|
|
336
336
|
dom_1.ElementWrapper.prototype.findLineChart = function (selector) {
|
|
337
|
-
|
|
337
|
+
const rootSelector = `.${line_chart_1.default.rootSelector}`;
|
|
338
338
|
// casting to 'any' is needed to avoid this issue with generics
|
|
339
339
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
340
340
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, line_chart_1.default);
|
|
341
341
|
};
|
|
342
342
|
dom_1.ElementWrapper.prototype.findLink = function (selector) {
|
|
343
|
-
|
|
343
|
+
const rootSelector = `.${link_1.default.rootSelector}`;
|
|
344
344
|
// casting to 'any' is needed to avoid this issue with generics
|
|
345
345
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
346
346
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, link_1.default);
|
|
347
347
|
};
|
|
348
348
|
dom_1.ElementWrapper.prototype.findMixedLineBarChart = function (selector) {
|
|
349
|
-
|
|
349
|
+
const rootSelector = `.${mixed_line_bar_chart_1.default.rootSelector}`;
|
|
350
350
|
// casting to 'any' is needed to avoid this issue with generics
|
|
351
351
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
352
352
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, mixed_line_bar_chart_1.default);
|
|
353
353
|
};
|
|
354
354
|
dom_1.ElementWrapper.prototype.findModal = function (selector) {
|
|
355
|
-
|
|
355
|
+
const rootSelector = `.${modal_1.default.rootSelector}`;
|
|
356
356
|
// casting to 'any' is needed to avoid this issue with generics
|
|
357
357
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
358
358
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, modal_1.default);
|
|
359
359
|
};
|
|
360
360
|
dom_1.ElementWrapper.prototype.findMultiselect = function (selector) {
|
|
361
|
-
|
|
361
|
+
const rootSelector = `.${multiselect_1.default.rootSelector}`;
|
|
362
362
|
// casting to 'any' is needed to avoid this issue with generics
|
|
363
363
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
364
364
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, multiselect_1.default);
|
|
365
365
|
};
|
|
366
366
|
dom_1.ElementWrapper.prototype.findPagination = function (selector) {
|
|
367
|
-
|
|
367
|
+
const rootSelector = `.${pagination_1.default.rootSelector}`;
|
|
368
368
|
// casting to 'any' is needed to avoid this issue with generics
|
|
369
369
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
370
370
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, pagination_1.default);
|
|
371
371
|
};
|
|
372
372
|
dom_1.ElementWrapper.prototype.findPieChart = function (selector) {
|
|
373
|
-
|
|
373
|
+
const rootSelector = `.${pie_chart_1.default.rootSelector}`;
|
|
374
374
|
// casting to 'any' is needed to avoid this issue with generics
|
|
375
375
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
376
376
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, pie_chart_1.default);
|
|
377
377
|
};
|
|
378
378
|
dom_1.ElementWrapper.prototype.findPopover = function (selector) {
|
|
379
|
-
|
|
379
|
+
const rootSelector = `.${popover_1.default.rootSelector}`;
|
|
380
380
|
// casting to 'any' is needed to avoid this issue with generics
|
|
381
381
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
382
382
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, popover_1.default);
|
|
383
383
|
};
|
|
384
384
|
dom_1.ElementWrapper.prototype.findProgressBar = function (selector) {
|
|
385
|
-
|
|
385
|
+
const rootSelector = `.${progress_bar_1.default.rootSelector}`;
|
|
386
386
|
// casting to 'any' is needed to avoid this issue with generics
|
|
387
387
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
388
388
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, progress_bar_1.default);
|
|
389
389
|
};
|
|
390
390
|
dom_1.ElementWrapper.prototype.findPropertyFilter = function (selector) {
|
|
391
|
-
|
|
391
|
+
const rootSelector = `.${property_filter_1.default.rootSelector}`;
|
|
392
392
|
// casting to 'any' is needed to avoid this issue with generics
|
|
393
393
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
394
394
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, property_filter_1.default);
|
|
395
395
|
};
|
|
396
396
|
dom_1.ElementWrapper.prototype.findRadioGroup = function (selector) {
|
|
397
|
-
|
|
397
|
+
const rootSelector = `.${radio_group_1.default.rootSelector}`;
|
|
398
398
|
// casting to 'any' is needed to avoid this issue with generics
|
|
399
399
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
400
400
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, radio_group_1.default);
|
|
401
401
|
};
|
|
402
402
|
dom_1.ElementWrapper.prototype.findS3ResourceSelector = function (selector) {
|
|
403
|
-
|
|
403
|
+
const rootSelector = `.${s3_resource_selector_1.default.rootSelector}`;
|
|
404
404
|
// casting to 'any' is needed to avoid this issue with generics
|
|
405
405
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
406
406
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, s3_resource_selector_1.default);
|
|
407
407
|
};
|
|
408
408
|
dom_1.ElementWrapper.prototype.findSegmentedControl = function (selector) {
|
|
409
|
-
|
|
409
|
+
const rootSelector = `.${segmented_control_1.default.rootSelector}`;
|
|
410
410
|
// casting to 'any' is needed to avoid this issue with generics
|
|
411
411
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
412
412
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, segmented_control_1.default);
|
|
413
413
|
};
|
|
414
414
|
dom_1.ElementWrapper.prototype.findSelect = function (selector) {
|
|
415
|
-
|
|
415
|
+
const rootSelector = `.${select_1.default.rootSelector}`;
|
|
416
416
|
// casting to 'any' is needed to avoid this issue with generics
|
|
417
417
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
418
418
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, select_1.default);
|
|
419
419
|
};
|
|
420
420
|
dom_1.ElementWrapper.prototype.findSideNavigation = function (selector) {
|
|
421
|
-
|
|
421
|
+
const rootSelector = `.${side_navigation_1.default.rootSelector}`;
|
|
422
422
|
// casting to 'any' is needed to avoid this issue with generics
|
|
423
423
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
424
424
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, side_navigation_1.default);
|
|
425
425
|
};
|
|
426
426
|
dom_1.ElementWrapper.prototype.findSpaceBetween = function (selector) {
|
|
427
|
-
|
|
427
|
+
const rootSelector = `.${space_between_1.default.rootSelector}`;
|
|
428
428
|
// casting to 'any' is needed to avoid this issue with generics
|
|
429
429
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
430
430
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, space_between_1.default);
|
|
431
431
|
};
|
|
432
432
|
dom_1.ElementWrapper.prototype.findSpinner = function (selector) {
|
|
433
|
-
|
|
433
|
+
const rootSelector = `.${spinner_1.default.rootSelector}`;
|
|
434
434
|
// casting to 'any' is needed to avoid this issue with generics
|
|
435
435
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
436
436
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, spinner_1.default);
|
|
437
437
|
};
|
|
438
438
|
dom_1.ElementWrapper.prototype.findSplitPanel = function (selector) {
|
|
439
|
-
|
|
439
|
+
const rootSelector = `.${split_panel_1.default.rootSelector}`;
|
|
440
440
|
// casting to 'any' is needed to avoid this issue with generics
|
|
441
441
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
442
442
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, split_panel_1.default);
|
|
443
443
|
};
|
|
444
444
|
dom_1.ElementWrapper.prototype.findStatusIndicator = function (selector) {
|
|
445
|
-
|
|
445
|
+
const rootSelector = `.${status_indicator_1.default.rootSelector}`;
|
|
446
446
|
// casting to 'any' is needed to avoid this issue with generics
|
|
447
447
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
448
448
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, status_indicator_1.default);
|
|
449
449
|
};
|
|
450
450
|
dom_1.ElementWrapper.prototype.findTable = function (selector) {
|
|
451
|
-
|
|
451
|
+
const rootSelector = `.${table_1.default.rootSelector}`;
|
|
452
452
|
// casting to 'any' is needed to avoid this issue with generics
|
|
453
453
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
454
454
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, table_1.default);
|
|
455
455
|
};
|
|
456
456
|
dom_1.ElementWrapper.prototype.findTabs = function (selector) {
|
|
457
|
-
|
|
457
|
+
const rootSelector = `.${tabs_1.default.rootSelector}`;
|
|
458
458
|
// casting to 'any' is needed to avoid this issue with generics
|
|
459
459
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
460
460
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tabs_1.default);
|
|
461
461
|
};
|
|
462
462
|
dom_1.ElementWrapper.prototype.findTagEditor = function (selector) {
|
|
463
|
-
|
|
463
|
+
const rootSelector = `.${tag_editor_1.default.rootSelector}`;
|
|
464
464
|
// casting to 'any' is needed to avoid this issue with generics
|
|
465
465
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
466
466
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tag_editor_1.default);
|
|
467
467
|
};
|
|
468
468
|
dom_1.ElementWrapper.prototype.findTextContent = function (selector) {
|
|
469
|
-
|
|
469
|
+
const rootSelector = `.${text_content_1.default.rootSelector}`;
|
|
470
470
|
// casting to 'any' is needed to avoid this issue with generics
|
|
471
471
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
472
472
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, text_content_1.default);
|
|
473
473
|
};
|
|
474
474
|
dom_1.ElementWrapper.prototype.findTextFilter = function (selector) {
|
|
475
|
-
|
|
475
|
+
const rootSelector = `.${text_filter_1.default.rootSelector}`;
|
|
476
476
|
// casting to 'any' is needed to avoid this issue with generics
|
|
477
477
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
478
478
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, text_filter_1.default);
|
|
479
479
|
};
|
|
480
480
|
dom_1.ElementWrapper.prototype.findTextarea = function (selector) {
|
|
481
|
-
|
|
481
|
+
const rootSelector = `.${textarea_1.default.rootSelector}`;
|
|
482
482
|
// casting to 'any' is needed to avoid this issue with generics
|
|
483
483
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
484
484
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, textarea_1.default);
|
|
485
485
|
};
|
|
486
486
|
dom_1.ElementWrapper.prototype.findTiles = function (selector) {
|
|
487
|
-
|
|
487
|
+
const rootSelector = `.${tiles_1.default.rootSelector}`;
|
|
488
488
|
// casting to 'any' is needed to avoid this issue with generics
|
|
489
489
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
490
490
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tiles_1.default);
|
|
491
491
|
};
|
|
492
492
|
dom_1.ElementWrapper.prototype.findTimeInput = function (selector) {
|
|
493
|
-
|
|
493
|
+
const rootSelector = `.${time_input_1.default.rootSelector}`;
|
|
494
494
|
// casting to 'any' is needed to avoid this issue with generics
|
|
495
495
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
496
496
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, time_input_1.default);
|
|
497
497
|
};
|
|
498
498
|
dom_1.ElementWrapper.prototype.findToggle = function (selector) {
|
|
499
|
-
|
|
499
|
+
const rootSelector = `.${toggle_1.default.rootSelector}`;
|
|
500
500
|
// casting to 'any' is needed to avoid this issue with generics
|
|
501
501
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
502
502
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, toggle_1.default);
|
|
503
503
|
};
|
|
504
504
|
dom_1.ElementWrapper.prototype.findTokenGroup = function (selector) {
|
|
505
|
-
|
|
505
|
+
const rootSelector = `.${token_group_1.default.rootSelector}`;
|
|
506
506
|
// casting to 'any' is needed to avoid this issue with generics
|
|
507
507
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
508
508
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, token_group_1.default);
|
|
509
509
|
};
|
|
510
510
|
dom_1.ElementWrapper.prototype.findTopNavigation = function (selector) {
|
|
511
|
-
|
|
511
|
+
const rootSelector = `.${top_navigation_1.default.rootSelector}`;
|
|
512
512
|
// casting to 'any' is needed to avoid this issue with generics
|
|
513
513
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
514
514
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, top_navigation_1.default);
|
|
515
515
|
};
|
|
516
516
|
dom_1.ElementWrapper.prototype.findTutorialPanel = function (selector) {
|
|
517
|
-
|
|
517
|
+
const rootSelector = `.${tutorial_panel_1.default.rootSelector}`;
|
|
518
518
|
// casting to 'any' is needed to avoid this issue with generics
|
|
519
519
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
520
520
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, tutorial_panel_1.default);
|
|
521
521
|
};
|
|
522
522
|
dom_1.ElementWrapper.prototype.findWizard = function (selector) {
|
|
523
|
-
|
|
523
|
+
const rootSelector = `.${wizard_1.default.rootSelector}`;
|
|
524
524
|
// casting to 'any' is needed to avoid this issue with generics
|
|
525
525
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
526
526
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, wizard_1.default);
|
|
527
527
|
};
|
|
528
|
-
function wrapper(root) {
|
|
529
|
-
if (root === void 0) { root = document.body; }
|
|
528
|
+
function wrapper(root = document.body) {
|
|
530
529
|
if (document && document.body && !document.body.contains(root)) {
|
|
531
530
|
console.warn('[AwsUi] [test-utils] provided element is not part of the document body, interactions may work incorrectly');
|
|
532
531
|
}
|