@nova-ui/bits 20.0.4 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/css/styles-css-variables.css +1 -1
- package/bundles/css/styles.css +1 -1
- package/fesm2022/nova-ui-bits.mjs +7315 -6599
- package/fesm2022/nova-ui-bits.mjs.map +1 -1
- package/package.json +15 -22
- package/sdk/atoms-playwright/atom.js +5 -3
- package/sdk/atoms-playwright/atom.js.map +1 -1
- package/sdk/atoms-playwright/components/checkbox/checkbox.atom.d.ts +0 -1
- package/sdk/atoms-playwright/components/checkbox/checkbox.atom.js +9 -6
- package/sdk/atoms-playwright/components/checkbox/checkbox.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/chips/chips.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/dialog/dialog.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/menu/menu.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/menu-popup/menu-popup.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/paginator/paginator.atom.d.ts +1 -0
- package/sdk/atoms-playwright/components/paginator/paginator.atom.js +14 -17
- package/sdk/atoms-playwright/components/paginator/paginator.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/popover/popover.atom.js +4 -1
- package/sdk/atoms-playwright/components/popover/popover.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/public_api.d.ts +1 -0
- package/sdk/atoms-playwright/components/public_api.js +1 -0
- package/sdk/atoms-playwright/components/public_api.js.map +1 -1
- package/sdk/atoms-playwright/components/range-filter/range-filter.atom.d.ts +20 -0
- package/sdk/atoms-playwright/components/range-filter/range-filter.atom.js +70 -0
- package/sdk/atoms-playwright/components/range-filter/range-filter.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/select/basic-select.atom.js +4 -2
- package/sdk/atoms-playwright/components/select/basic-select.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/select/select.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/table/table.atom.js +10 -6
- package/sdk/atoms-playwright/components/table/table.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js +3 -1
- package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js.map +1 -1
- package/sdk/atoms-playwright/setup.js +3 -1
- package/sdk/atoms-playwright/setup.js.map +1 -1
- package/sdk/atoms-playwright/virtual-camera/camera-engine.js +3 -1
- package/sdk/atoms-playwright/virtual-camera/camera-engine.js.map +1 -1
- package/sdk/less/nui-framework-colors-dark.less +1 -1
- package/sdk/less/nui-framework-colors.less +15 -15
- package/sdk/schematics/filter-group/index.spec.js +1 -1
- package/sdk/schematics/filter-group/index.spec.js.map +1 -1
- package/sdk/schematics/ng-add/index.spec.js +1 -1
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
- package/{index.d.ts → types/nova-ui-bits.d.ts} +285 -150
- package/sdk/atoms/atom.d.ts +0 -48
- package/sdk/atoms/atom.js +0 -179
- package/sdk/atoms/atom.js.map +0 -1
- package/sdk/atoms/atoms/base-select-v2.atom.d.ts +0 -30
- package/sdk/atoms/atoms/base-select-v2.atom.js +0 -125
- package/sdk/atoms/atoms/base-select-v2.atom.js.map +0 -1
- package/sdk/atoms/atoms/basic-select.atom.d.ts +0 -21
- package/sdk/atoms/atoms/basic-select.atom.js +0 -56
- package/sdk/atoms/atoms/basic-select.atom.js.map +0 -1
- package/sdk/atoms/atoms/breadcrumb.atom.d.ts +0 -11
- package/sdk/atoms/atoms/breadcrumb.atom.js +0 -46
- package/sdk/atoms/atoms/breadcrumb.atom.js.map +0 -1
- package/sdk/atoms/atoms/busy.atom.d.ts +0 -12
- package/sdk/atoms/atoms/busy.atom.js +0 -41
- package/sdk/atoms/atoms/busy.atom.js.map +0 -1
- package/sdk/atoms/atoms/button.atom.d.ts +0 -19
- package/sdk/atoms/atoms/button.atom.js +0 -63
- package/sdk/atoms/atoms/button.atom.js.map +0 -1
- package/sdk/atoms/atoms/cdk-drop-item.atom.d.ts +0 -10
- package/sdk/atoms/atoms/cdk-drop-item.atom.js +0 -58
- package/sdk/atoms/atoms/cdk-drop-item.atom.js.map +0 -1
- package/sdk/atoms/atoms/cdk-drop-list.atom.d.ts +0 -8
- package/sdk/atoms/atoms/cdk-drop-list.atom.js +0 -42
- package/sdk/atoms/atoms/cdk-drop-list.atom.js.map +0 -1
- package/sdk/atoms/atoms/checkbox-group.atom.d.ts +0 -11
- package/sdk/atoms/atoms/checkbox-group.atom.js +0 -69
- package/sdk/atoms/atoms/checkbox-group.atom.js.map +0 -1
- package/sdk/atoms/atoms/checkbox.atom.d.ts +0 -30
- package/sdk/atoms/atoms/checkbox.atom.js +0 -94
- package/sdk/atoms/atoms/checkbox.atom.js.map +0 -1
- package/sdk/atoms/atoms/chips.atom.d.ts +0 -32
- package/sdk/atoms/atoms/chips.atom.js +0 -93
- package/sdk/atoms/atoms/chips.atom.js.map +0 -1
- package/sdk/atoms/atoms/combobox-v2.atom.d.ts +0 -22
- package/sdk/atoms/atoms/combobox-v2.atom.js +0 -100
- package/sdk/atoms/atoms/combobox-v2.atom.js.map +0 -1
- package/sdk/atoms/atoms/combobox.atom.d.ts +0 -29
- package/sdk/atoms/atoms/combobox.atom.js +0 -67
- package/sdk/atoms/atoms/combobox.atom.js.map +0 -1
- package/sdk/atoms/atoms/content.atom.d.ts +0 -6
- package/sdk/atoms/atoms/content.atom.js +0 -40
- package/sdk/atoms/atoms/content.atom.js.map +0 -1
- package/sdk/atoms/atoms/datepicker.atom.d.ts +0 -57
- package/sdk/atoms/atoms/datepicker.atom.js +0 -204
- package/sdk/atoms/atoms/datepicker.atom.js.map +0 -1
- package/sdk/atoms/atoms/datetimepicker.atom.d.ts +0 -9
- package/sdk/atoms/atoms/datetimepicker.atom.js +0 -43
- package/sdk/atoms/atoms/datetimepicker.atom.js.map +0 -1
- package/sdk/atoms/atoms/dialog.atom.d.ts +0 -18
- package/sdk/atoms/atoms/dialog.atom.js +0 -77
- package/sdk/atoms/atoms/dialog.atom.js.map +0 -1
- package/sdk/atoms/atoms/divider.atom.d.ts +0 -6
- package/sdk/atoms/atoms/divider.atom.js +0 -45
- package/sdk/atoms/atoms/divider.atom.js.map +0 -1
- package/sdk/atoms/atoms/expander.atom.d.ts +0 -19
- package/sdk/atoms/atoms/expander.atom.js +0 -90
- package/sdk/atoms/atoms/expander.atom.js.map +0 -1
- package/sdk/atoms/atoms/form-field.atom.d.ts +0 -12
- package/sdk/atoms/atoms/form-field.atom.js +0 -73
- package/sdk/atoms/atoms/form-field.atom.js.map +0 -1
- package/sdk/atoms/atoms/freetype-query-builder.atom.d.ts +0 -9
- package/sdk/atoms/atoms/freetype-query-builder.atom.js +0 -51
- package/sdk/atoms/atoms/freetype-query-builder.atom.js.map +0 -1
- package/sdk/atoms/atoms/icon.atom.d.ts +0 -21
- package/sdk/atoms/atoms/icon.atom.js +0 -91
- package/sdk/atoms/atoms/icon.atom.js.map +0 -1
- package/sdk/atoms/atoms/image.atom.d.ts +0 -8
- package/sdk/atoms/atoms/image.atom.js +0 -61
- package/sdk/atoms/atoms/image.atom.js.map +0 -1
- package/sdk/atoms/atoms/layout-sheet-group.atom.d.ts +0 -14
- package/sdk/atoms/atoms/layout-sheet-group.atom.js +0 -91
- package/sdk/atoms/atoms/layout-sheet-group.atom.js.map +0 -1
- package/sdk/atoms/atoms/layout-sheet.atom.d.ts +0 -6
- package/sdk/atoms/atoms/layout-sheet.atom.js +0 -45
- package/sdk/atoms/atoms/layout-sheet.atom.js.map +0 -1
- package/sdk/atoms/atoms/menu-item.atom.d.ts +0 -13
- package/sdk/atoms/atoms/menu-item.atom.js +0 -117
- package/sdk/atoms/atoms/menu-item.atom.js.map +0 -1
- package/sdk/atoms/atoms/menu-popup.atom.d.ts +0 -11
- package/sdk/atoms/atoms/menu-popup.atom.js +0 -57
- package/sdk/atoms/atoms/menu-popup.atom.js.map +0 -1
- package/sdk/atoms/atoms/menu.atom.d.ts +0 -43
- package/sdk/atoms/atoms/menu.atom.js +0 -116
- package/sdk/atoms/atoms/menu.atom.js.map +0 -1
- package/sdk/atoms/atoms/message.atom.d.ts +0 -16
- package/sdk/atoms/atoms/message.atom.js +0 -51
- package/sdk/atoms/atoms/message.atom.js.map +0 -1
- package/sdk/atoms/atoms/overlay-content.atom.d.ts +0 -7
- package/sdk/atoms/atoms/overlay-content.atom.js +0 -35
- package/sdk/atoms/atoms/overlay-content.atom.js.map +0 -1
- package/sdk/atoms/atoms/overlay.atom.d.ts +0 -11
- package/sdk/atoms/atoms/overlay.atom.js +0 -41
- package/sdk/atoms/atoms/overlay.atom.js.map +0 -1
- package/sdk/atoms/atoms/paginator.atom.d.ts +0 -29
- package/sdk/atoms/atoms/paginator.atom.js +0 -199
- package/sdk/atoms/atoms/paginator.atom.js.map +0 -1
- package/sdk/atoms/atoms/panel.atom.d.ts +0 -29
- package/sdk/atoms/atoms/panel.atom.js +0 -120
- package/sdk/atoms/atoms/panel.atom.js.map +0 -1
- package/sdk/atoms/atoms/popover.atom.d.ts +0 -28
- package/sdk/atoms/atoms/popover.atom.js +0 -94
- package/sdk/atoms/atoms/popover.atom.js.map +0 -1
- package/sdk/atoms/atoms/popup.atom.d.ts +0 -16
- package/sdk/atoms/atoms/popup.atom.js +0 -68
- package/sdk/atoms/atoms/popup.atom.js.map +0 -1
- package/sdk/atoms/atoms/progress.atom.d.ts +0 -14
- package/sdk/atoms/atoms/progress.atom.js +0 -65
- package/sdk/atoms/atoms/progress.atom.js.map +0 -1
- package/sdk/atoms/atoms/public_api.d.ts +0 -65
- package/sdk/atoms/atoms/public_api.js +0 -69
- package/sdk/atoms/atoms/public_api.js.map +0 -1
- package/sdk/atoms/atoms/quick-picker.atom.d.ts +0 -8
- package/sdk/atoms/atoms/quick-picker.atom.js +0 -49
- package/sdk/atoms/atoms/quick-picker.atom.js.map +0 -1
- package/sdk/atoms/atoms/radio-group.atom.d.ts +0 -13
- package/sdk/atoms/atoms/radio-group.atom.js +0 -76
- package/sdk/atoms/atoms/radio-group.atom.js.map +0 -1
- package/sdk/atoms/atoms/repeat.atom.d.ts +0 -27
- package/sdk/atoms/atoms/repeat.atom.js +0 -123
- package/sdk/atoms/atoms/repeat.atom.js.map +0 -1
- package/sdk/atoms/atoms/resizer.atom.d.ts +0 -12
- package/sdk/atoms/atoms/resizer.atom.js +0 -52
- package/sdk/atoms/atoms/resizer.atom.js.map +0 -1
- package/sdk/atoms/atoms/search.atom.d.ts +0 -12
- package/sdk/atoms/atoms/search.atom.js +0 -81
- package/sdk/atoms/atoms/search.atom.js.map +0 -1
- package/sdk/atoms/atoms/select-v2-option.atom.d.ts +0 -7
- package/sdk/atoms/atoms/select-v2-option.atom.js +0 -44
- package/sdk/atoms/atoms/select-v2-option.atom.js.map +0 -1
- package/sdk/atoms/atoms/select-v2.atom.d.ts +0 -5
- package/sdk/atoms/atoms/select-v2.atom.js +0 -34
- package/sdk/atoms/atoms/select-v2.atom.js.map +0 -1
- package/sdk/atoms/atoms/select.atom.d.ts +0 -10
- package/sdk/atoms/atoms/select.atom.js +0 -37
- package/sdk/atoms/atoms/select.atom.js.map +0 -1
- package/sdk/atoms/atoms/selector.atom.d.ts +0 -22
- package/sdk/atoms/atoms/selector.atom.js +0 -90
- package/sdk/atoms/atoms/selector.atom.js.map +0 -1
- package/sdk/atoms/atoms/sorter.atom.d.ts +0 -33
- package/sdk/atoms/atoms/sorter.atom.js +0 -123
- package/sdk/atoms/atoms/sorter.atom.js.map +0 -1
- package/sdk/atoms/atoms/spinner.atom.d.ts +0 -12
- package/sdk/atoms/atoms/spinner.atom.js +0 -45
- package/sdk/atoms/atoms/spinner.atom.js.map +0 -1
- package/sdk/atoms/atoms/switch.atom.d.ts +0 -14
- package/sdk/atoms/atoms/switch.atom.js +0 -73
- package/sdk/atoms/atoms/switch.atom.js.map +0 -1
- package/sdk/atoms/atoms/tab-heading-group.atom.d.ts +0 -16
- package/sdk/atoms/atoms/tab-heading-group.atom.js +0 -108
- package/sdk/atoms/atoms/tab-heading-group.atom.js.map +0 -1
- package/sdk/atoms/atoms/tab-heading.atom.d.ts +0 -8
- package/sdk/atoms/atoms/tab-heading.atom.js +0 -52
- package/sdk/atoms/atoms/tab-heading.atom.js.map +0 -1
- package/sdk/atoms/atoms/table.atom.d.ts +0 -73
- package/sdk/atoms/atoms/table.atom.js +0 -210
- package/sdk/atoms/atoms/table.atom.js.map +0 -1
- package/sdk/atoms/atoms/textbox-number.atom.d.ts +0 -18
- package/sdk/atoms/atoms/textbox-number.atom.js +0 -53
- package/sdk/atoms/atoms/textbox-number.atom.js.map +0 -1
- package/sdk/atoms/atoms/textbox.atom.d.ts +0 -22
- package/sdk/atoms/atoms/textbox.atom.js +0 -59
- package/sdk/atoms/atoms/textbox.atom.js.map +0 -1
- package/sdk/atoms/atoms/time-frame-bar.atom.d.ts +0 -22
- package/sdk/atoms/atoms/time-frame-bar.atom.js +0 -84
- package/sdk/atoms/atoms/time-frame-bar.atom.js.map +0 -1
- package/sdk/atoms/atoms/time-frame-picker.atom.d.ts +0 -7
- package/sdk/atoms/atoms/time-frame-picker.atom.js +0 -36
- package/sdk/atoms/atoms/time-frame-picker.atom.js.map +0 -1
- package/sdk/atoms/atoms/timepicker.atom.d.ts +0 -18
- package/sdk/atoms/atoms/timepicker.atom.js +0 -64
- package/sdk/atoms/atoms/timepicker.atom.js.map +0 -1
- package/sdk/atoms/atoms/toast.atom.d.ts +0 -28
- package/sdk/atoms/atoms/toast.atom.js +0 -67
- package/sdk/atoms/atoms/toast.atom.js.map +0 -1
- package/sdk/atoms/atoms/toolbar.atom.d.ts +0 -18
- package/sdk/atoms/atoms/toolbar.atom.js +0 -87
- package/sdk/atoms/atoms/toolbar.atom.js.map +0 -1
- package/sdk/atoms/atoms/tooltip.atom.d.ts +0 -9
- package/sdk/atoms/atoms/tooltip.atom.js +0 -38
- package/sdk/atoms/atoms/tooltip.atom.js.map +0 -1
- package/sdk/atoms/atoms/tree.atom.d.ts +0 -17
- package/sdk/atoms/atoms/tree.atom.js +0 -87
- package/sdk/atoms/atoms/tree.atom.js.map +0 -1
- package/sdk/atoms/atoms/wizard-step.atom.d.ts +0 -11
- package/sdk/atoms/atoms/wizard-step.atom.js +0 -52
- package/sdk/atoms/atoms/wizard-step.atom.js.map +0 -1
- package/sdk/atoms/atoms/wizard-v2-footer.atom.d.ts +0 -7
- package/sdk/atoms/atoms/wizard-v2-footer.atom.js +0 -36
- package/sdk/atoms/atoms/wizard-v2-footer.atom.js.map +0 -1
- package/sdk/atoms/atoms/wizard-v2-step-header.atom.d.ts +0 -7
- package/sdk/atoms/atoms/wizard-v2-step-header.atom.js +0 -41
- package/sdk/atoms/atoms/wizard-v2-step-header.atom.js.map +0 -1
- package/sdk/atoms/atoms/wizard-v2-step.atom.d.ts +0 -5
- package/sdk/atoms/atoms/wizard-v2-step.atom.js +0 -32
- package/sdk/atoms/atoms/wizard-v2-step.atom.js.map +0 -1
- package/sdk/atoms/atoms/wizard-v2.atom.d.ts +0 -18
- package/sdk/atoms/atoms/wizard-v2.atom.js +0 -85
- package/sdk/atoms/atoms/wizard-v2.atom.js.map +0 -1
- package/sdk/atoms/atoms/wizard.atom.d.ts +0 -22
- package/sdk/atoms/atoms/wizard.atom.js +0 -91
- package/sdk/atoms/atoms/wizard.atom.js.map +0 -1
- package/sdk/atoms/helpers.d.ts +0 -39
- package/sdk/atoms/helpers.js +0 -234
- package/sdk/atoms/helpers.js.map +0 -1
- package/sdk/atoms/index.d.ts +0 -4
- package/sdk/atoms/index.js +0 -30
- package/sdk/atoms/index.js.map +0 -1
- package/sdk/atoms/virtual-camera/Camera.d.ts +0 -21
- package/sdk/atoms/virtual-camera/Camera.js +0 -54
- package/sdk/atoms/virtual-camera/Camera.js.map +0 -1
- package/sdk/atoms/virtual-camera/camera-engine.d.ts +0 -13
- package/sdk/atoms/virtual-camera/camera-engine.js +0 -81
- package/sdk/atoms/virtual-camera/camera-engine.js.map +0 -1
- package/sdk/atoms/virtual-camera/camera-settings.d.ts +0 -10
- package/sdk/atoms/virtual-camera/camera-settings.js +0 -59
- package/sdk/atoms/virtual-camera/camera-settings.js.map +0 -1
- package/sdk/atoms/virtual-camera/camera-toggle.d.ts +0 -7
- package/sdk/atoms/virtual-camera/camera-toggle.js +0 -40
- package/sdk/atoms/virtual-camera/camera-toggle.js.map +0 -1
- package/sdk/atoms/virtual-camera/percy-lens.d.ts +0 -17
- package/sdk/atoms/virtual-camera/percy-lens.js +0 -84
- package/sdk/atoms/virtual-camera/percy-lens.js.map +0 -1
- package/sdk/atoms/virtual-camera/public_api.d.ts +0 -2
- package/sdk/atoms/virtual-camera/public_api.js +0 -25
- package/sdk/atoms/virtual-camera/public_api.js.map +0 -1
- package/sdk/atoms/virtual-camera/types.d.ts +0 -35
- package/sdk/atoms/virtual-camera/types.js +0 -50
- package/sdk/atoms/virtual-camera/types.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/toolbar.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,2CAAoD;AAEpD,kCAA+B;AAC/B,+CAA2C;AAC3C,2CAAuC;AACvC,6CAAyC;AAEzC,MAAa,WAAY,SAAQ,WAAI;IAArC;;QAGW,UAAK,GAAG,WAAI,CAAC,MAAM,CAAC,sBAAS,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IA+C7D,CAAC;IA7CgB,SAAS;;;;;YAClB,OAAO,OAAM,UAAU,YAAG,SAAS,EAAE,CAAC;QAC1C,CAAC;KAAA;IAEO,kBAAkB;QACtB,OAAO,K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
2
|
-
export declare class TooltipAtom extends Atom {
|
|
3
|
-
static CSS_CLASS: string;
|
|
4
|
-
static animationDuration: number;
|
|
5
|
-
private root;
|
|
6
|
-
waitToBeDisplayed: (delay?: number) => Promise<void>;
|
|
7
|
-
isTooltipDisplayed: () => Promise<boolean>;
|
|
8
|
-
getTooltipText: () => Promise<string>;
|
|
9
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.TooltipAtom = void 0;
|
|
23
|
-
const tslib_1 = require("tslib");
|
|
24
|
-
const protractor_1 = require("protractor");
|
|
25
|
-
const atom_1 = require("../atom");
|
|
26
|
-
class TooltipAtom extends atom_1.Atom {
|
|
27
|
-
constructor() {
|
|
28
|
-
super(...arguments);
|
|
29
|
-
this.root = this.getElement();
|
|
30
|
-
this.waitToBeDisplayed = (...args_1) => tslib_1.__awaiter(this, [...args_1], void 0, function* (delay = TooltipAtom.animationDuration * 1.5) { return protractor_1.browser.wait(protractor_1.ExpectedConditions.visibilityOf(this.root), delay); });
|
|
31
|
-
this.isTooltipDisplayed = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.isPresent(); });
|
|
32
|
-
this.getTooltipText = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.getText(); });
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.TooltipAtom = TooltipAtom;
|
|
36
|
-
TooltipAtom.CSS_CLASS = "nui-tooltip-body";
|
|
37
|
-
TooltipAtom.animationDuration = 200; // packages\bits\src\animations\fadeIn.ts#10
|
|
38
|
-
//# sourceMappingURL=tooltip.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/tooltip.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,2CAAyD;AAEzD,kCAA+B;AAE/B,MAAa,WAAY,SAAQ,WAAI;IAArC;;QAIY,SAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAE1B,sBAAiB,GAAG,YAEV,EAAE,yDADf,QAAgB,WAAW,CAAC,iBAAiB,GAAG,GAAG,IAEnD,OAAA,oBAAO,CAAC,IAAI,CAAC,+BAAkB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAA,GAAA,CAAC;QAE7D,uBAAkB,GAAG,GAA2B,EAAE,wDAAC,OAAA,IAAI,CAAC,SAAS,EAAE,CAAA,GAAA,CAAC;QAEpE,mBAAc,GAAG,GAA0B,EAAE,wDAAC,OAAA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAA,GAAA,CAAC;IAC7E,CAAC;;AAdD,kCAcC;AAbiB,qBAAS,GAAG,kBAAkB,AAArB,CAAsB;AAC/B,6BAAiB,GAAG,GAAG,AAAN,CAAO,CAAC,4CAA4C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ElementArrayFinder, ElementFinder } from "protractor";
|
|
2
|
-
import { Atom } from "../atom";
|
|
3
|
-
export declare class TreeAtom extends Atom {
|
|
4
|
-
static CSS_CLASS: string;
|
|
5
|
-
static NESTED_NODE_TAG: string;
|
|
6
|
-
root: ElementFinder;
|
|
7
|
-
getNestedNodes(el?: ElementFinder): Promise<ElementFinder[]>;
|
|
8
|
-
isExpanded(el: ElementFinder): Promise<boolean>;
|
|
9
|
-
getNodesByName(name: string): Promise<ElementFinder[]>;
|
|
10
|
-
expandAll(el?: ElementFinder): Promise<void>;
|
|
11
|
-
expandLevel(): Promise<void>;
|
|
12
|
-
getBranchCheckboxNodes(): ElementArrayFinder;
|
|
13
|
-
getLeafCheckboxNodes(): ElementArrayFinder;
|
|
14
|
-
getAllHeaders(context?: ElementFinder): ElementArrayFinder;
|
|
15
|
-
private getAllNestedNodes;
|
|
16
|
-
private getCollapsedExpanders;
|
|
17
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.TreeAtom = void 0;
|
|
23
|
-
const tslib_1 = require("tslib");
|
|
24
|
-
const protractor_1 = require("protractor");
|
|
25
|
-
const atom_1 = require("../atom");
|
|
26
|
-
class TreeAtom extends atom_1.Atom {
|
|
27
|
-
constructor() {
|
|
28
|
-
super(...arguments);
|
|
29
|
-
this.root = this.getElement();
|
|
30
|
-
this.getCollapsedExpanders = () => this.root.all(protractor_1.by.css("cdk-nested-tree-node[aria-expanded=false] .nui-tree__header"));
|
|
31
|
-
}
|
|
32
|
-
getNestedNodes() {
|
|
33
|
-
return tslib_1.__awaiter(this, arguments, void 0, function* (el = this.root) {
|
|
34
|
-
return yield this.getAllNestedNodes(el).reduce((acc, item) => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield item.isDisplayed()) ? acc.concat(item) : acc; }), []);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
isExpanded(el) {
|
|
38
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
return (yield el.getAttribute("aria-expanded")) === "true";
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
getNodesByName(name) {
|
|
43
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
44
|
-
return this.getAllNestedNodes().filter((item) => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield item.getText()) === name; }));
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
expandAll() {
|
|
48
|
-
return tslib_1.__awaiter(this, arguments, void 0, function* (el = this.root) {
|
|
49
|
-
for (const expander of yield this.getNestedNodes(el)) {
|
|
50
|
-
const expanded = yield this.isExpanded(expander);
|
|
51
|
-
if (!expanded) {
|
|
52
|
-
yield expander.click();
|
|
53
|
-
const nestedNodes = yield this.getNestedNodes(expander);
|
|
54
|
-
if (nestedNodes.length > 0) {
|
|
55
|
-
yield this.expandAll(expander);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
expandLevel() {
|
|
62
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
63
|
-
yield this.getCollapsedExpanders().each((i) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
const displayed = yield (i === null || i === void 0 ? void 0 : i.isDisplayed());
|
|
65
|
-
if (displayed) {
|
|
66
|
-
yield (i === null || i === void 0 ? void 0 : i.click());
|
|
67
|
-
}
|
|
68
|
-
}));
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
getBranchCheckboxNodes() {
|
|
72
|
-
return this.root.all(protractor_1.by.css(".branch-control"));
|
|
73
|
-
}
|
|
74
|
-
getLeafCheckboxNodes() {
|
|
75
|
-
return this.root.all(protractor_1.by.css(".leaf-control"));
|
|
76
|
-
}
|
|
77
|
-
getAllHeaders(context = this.root) {
|
|
78
|
-
return context.all(protractor_1.by.css("[cdkTreeNodeToggle]"));
|
|
79
|
-
}
|
|
80
|
-
getAllNestedNodes(context = this.root) {
|
|
81
|
-
return context.all(protractor_1.by.tagName(TreeAtom.NESTED_NODE_TAG));
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
exports.TreeAtom = TreeAtom;
|
|
85
|
-
TreeAtom.CSS_CLASS = "cdk-tree";
|
|
86
|
-
TreeAtom.NESTED_NODE_TAG = "cdk-nested-tree-node";
|
|
87
|
-
//# sourceMappingURL=tree.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tree.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/tree.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,2CAAmE;AAEnE,kCAA+B;AAE/B,MAAa,QAAS,SAAQ,WAAI;IAAlC;;QAIW,SAAI,GAAkB,IAAI,CAAC,UAAU,EAAE,CAAC;QAiEvC,0BAAqB,GAAG,GAAG,EAAE,CACjC,IAAI,CAAC,IAAI,CAAC,GAAG,CACT,eAAE,CAAC,GAAG,CACF,6DAA6D,CAChE,CACJ,CAAC;IACV,CAAC;IArEgB,cAAc;qEACvB,KAAoB,IAAI,CAAC,IAAI;YAE7B,OAAO,MAAM,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAA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GAAG,MAAM,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,WAAW,EAAE,CAAA,CAAC;gBACzC,IAAI,SAAS,EAAE,CAAC;oBACZ,MAAM,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,KAAK,EAAE,CAAA,CAAC;gBACrB,CAAC;YACL,CAAC,CAAA,CACJ,CAAC;QACN,CAAC;KAAA;IAEM,sBAAsB;QACzB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,eAAE,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACpD,CAAC;IAEM,oBAAoB;QACvB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,eAAE,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,aAAa,CAChB,UAAyB,IAAI,CAAC,IAAI;QAElC,OAAO,OAAO,CAAC,GAAG,CAAC,eAAE,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC;IACtD,CAAC;IACO,iBAAiB,CACrB,UAAyB,IAAI,CAAC,IAAI;QAElC,OAAO,OAAO,CAAC,GAAG,CAAC,eAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7D,CAAC;;AAnEL,4BA2EC;AA1EiB,kBAAS,GAAG,UAAU,AAAb,CAAc;AACvB,wBAAe,GAAG,sBAAsB,AAAzB,CAA0B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Atom } from "../atom";
|
|
2
|
-
import { BusyAtom } from "./busy.atom";
|
|
3
|
-
import { IconAtom } from "./icon.atom";
|
|
4
|
-
export declare class WizardStepAtom extends Atom {
|
|
5
|
-
static CSS_CLASS: string;
|
|
6
|
-
private root;
|
|
7
|
-
icon: IconAtom;
|
|
8
|
-
busy: BusyAtom;
|
|
9
|
-
private stepTitle;
|
|
10
|
-
getStepTitle: () => Promise<string>;
|
|
11
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.WizardStepAtom = void 0;
|
|
23
|
-
const tslib_1 = require("tslib");
|
|
24
|
-
const protractor_1 = require("protractor");
|
|
25
|
-
const atom_1 = require("../atom");
|
|
26
|
-
const busy_atom_1 = require("./busy.atom");
|
|
27
|
-
const icon_atom_1 = require("./icon.atom");
|
|
28
|
-
class WizardStepAtom extends atom_1.Atom {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(...arguments);
|
|
31
|
-
this.root = this.getElement();
|
|
32
|
-
// step header
|
|
33
|
-
this.icon = atom_1.Atom.findIn(icon_atom_1.IconAtom, this.root);
|
|
34
|
-
// step body
|
|
35
|
-
this.busy = atom_1.Atom.findIn(busy_atom_1.BusyAtom, this.root);
|
|
36
|
-
this.stepTitle = this.root
|
|
37
|
-
.all(protractor_1.by.className("nui-wizard__step-title"))
|
|
38
|
-
.first();
|
|
39
|
-
this.getStepTitle = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.stepTitle.getText(); });
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.WizardStepAtom = WizardStepAtom;
|
|
43
|
-
WizardStepAtom.CSS_CLASS = "nui-wizard__step";
|
|
44
|
-
// WARNING!!!
|
|
45
|
-
// it will never be able to return both header and body pillars at the same time
|
|
46
|
-
// this atom should be split into WizardStepHeaderAtom and WizardStepBodyAtom
|
|
47
|
-
// Tests should operate with IWizardStep
|
|
48
|
-
// export interface IWizardStep {
|
|
49
|
-
// header: WizardStepHeaderAtom;
|
|
50
|
-
// body: WizardStepBodyAtom;
|
|
51
|
-
// }
|
|
52
|
-
//# sourceMappingURL=wizard-step.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-step.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/wizard-step.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,2CAA+C;AAE/C,kCAA+B;AAC/B,2CAAuC;AACvC,2CAAuC;AAEvC,MAAa,cAAe,SAAQ,WAAI;IAAxC;;QAGY,SAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAEjC,cAAc;QACP,SAAI,GAAa,WAAI,CAAC,MAAM,CAAC,oBAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAEzD,YAAY;QACL,SAAI,GAAa,WAAI,CAAC,MAAM,CAAC,oBAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,cAAS,GAAkB,IAAI,CAAC,IAAI;aACvC,GAAG,CAAC,eAAE,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;aAC3C,KAAK,EAAE,CAAC;QACN,iBAAY,GAAG,GAA0B,EAAE,wDAAC,OAAA,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAA,GAAA,CAAC;IAChF,CAAC;;AAdD,wCAcC;AAbiB,wBAAS,GAAG,kBAAkB,AAArB,CAAsB;AAejD,aAAa;AACb,gFAAgF;AAChF,6EAA6E;AAC7E,wCAAwC;AAExC,iCAAiC;AACjC,oCAAoC;AACpC,gCAAgC;AAChC,IAAI"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.WizardV2FooterAtom = void 0;
|
|
23
|
-
const protractor_1 = require("protractor");
|
|
24
|
-
const button_atom_1 = require("./button.atom");
|
|
25
|
-
const atom_1 = require("../atom");
|
|
26
|
-
class WizardV2FooterAtom extends atom_1.Atom {
|
|
27
|
-
get nextButton() {
|
|
28
|
-
return new button_atom_1.ButtonAtom(this.getElement().element(protractor_1.by.css("button[nuiwizardnext]")));
|
|
29
|
-
}
|
|
30
|
-
get previousButton() {
|
|
31
|
-
return new button_atom_1.ButtonAtom(this.getElement().element(protractor_1.by.css("button[nuiwizardprevious]")));
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.WizardV2FooterAtom = WizardV2FooterAtom;
|
|
35
|
-
WizardV2FooterAtom.CSS_CLASS = "nui-wizard-horizontal-footer-container";
|
|
36
|
-
//# sourceMappingURL=wizard-v2-footer.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-v2-footer.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/wizard-v2-footer.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,2CAAgC;AAEhC,+CAA2C;AAC3C,kCAA+B;AAE/B,MAAa,kBAAmB,SAAQ,WAAI;IAGxC,IAAW,UAAU;QACjB,OAAO,IAAI,wBAAU,CACjB,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,eAAE,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC,CAC7D,CAAC;IACN,CAAC;IAED,IAAW,cAAc;QACrB,OAAO,IAAI,wBAAU,CACjB,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,eAAE,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC,CACjE,CAAC;IACN,CAAC;;AAbL,gDAcC;AAbiB,4BAAS,GAAG,wCAAwC,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.WizardV2StepHeaderAtom = void 0;
|
|
23
|
-
const tslib_1 = require("tslib");
|
|
24
|
-
const protractor_1 = require("protractor");
|
|
25
|
-
const atom_1 = require("../atom");
|
|
26
|
-
class WizardV2StepHeaderAtom extends atom_1.Atom {
|
|
27
|
-
constructor() {
|
|
28
|
-
super(...arguments);
|
|
29
|
-
this.root = this.getElement();
|
|
30
|
-
this.click = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.click(); });
|
|
31
|
-
}
|
|
32
|
-
getLabelText() {
|
|
33
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
const label = this.root.element(protractor_1.by.className("nui-wizard-step-header__text-label"));
|
|
35
|
-
return label.getText();
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.WizardV2StepHeaderAtom = WizardV2StepHeaderAtom;
|
|
40
|
-
WizardV2StepHeaderAtom.CSS_CLASS = "nui-wizard-step-header";
|
|
41
|
-
//# sourceMappingURL=wizard-v2-step-header.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-v2-step-header.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/wizard-v2-step-header.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,2CAAgC;AAEhC,kCAA+B;AAE/B,MAAa,sBAAuB,SAAQ,WAAI;IAAhD;;QAGY,SAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAE1B,UAAK,GAAG,GAAwB,EAAE,wDAAC,OAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAA,GAAA,CAAC;IAShE,CAAC;IAPgB,YAAY;;YACrB,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAC3B,eAAE,CAAC,SAAS,CAAC,oCAAoC,CAAC,CACrD,CAAC;YAEF,OAAO,KAAK,CAAC,OAAO,EAAE,CAAC;QAC3B,CAAC;KAAA;;AAbL,wDAcC;AAbiB,gCAAS,GAAG,wBAAwB,AAA3B,CAA4B"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.WizardV2StepAtom = void 0;
|
|
23
|
-
const atom_1 = require("../atom");
|
|
24
|
-
class WizardV2StepAtom extends atom_1.Atom {
|
|
25
|
-
constructor() {
|
|
26
|
-
super(...arguments);
|
|
27
|
-
this.root = this.getElement();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.WizardV2StepAtom = WizardV2StepAtom;
|
|
31
|
-
WizardV2StepAtom.CSS_CLASS = "nui-wizard-horizontal-content";
|
|
32
|
-
//# sourceMappingURL=wizard-v2-step.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-v2-step.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/wizard-v2-step.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,kCAA+B;AAE/B,MAAa,gBAAiB,SAAQ,WAAI;IAA1C;;QAGY,SAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;IACrC,CAAC;;AAJD,4CAIC;AAHiB,0BAAS,GAAG,+BAA+B,AAAlC,CAAmC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElementFinder, ElementArrayFinder } from "protractor";
|
|
2
|
-
import { WizardV2FooterAtom } from "./wizard-v2-footer.atom";
|
|
3
|
-
import { WizardV2StepHeaderAtom } from "./wizard-v2-step-header.atom";
|
|
4
|
-
import { WizardV2StepAtom } from "./wizard-v2-step.atom";
|
|
5
|
-
import { Atom } from "../atom";
|
|
6
|
-
export declare class WizardV2Atom extends Atom {
|
|
7
|
-
static CSS_CLASS: string;
|
|
8
|
-
private root;
|
|
9
|
-
isPresent(): Promise<boolean>;
|
|
10
|
-
get steps(): ElementArrayFinder;
|
|
11
|
-
getStep(index: number): WizardV2StepAtom;
|
|
12
|
-
getHeader(index: number): WizardV2StepHeaderAtom;
|
|
13
|
-
get footer(): WizardV2FooterAtom;
|
|
14
|
-
get leftOverflowElement(): ElementFinder;
|
|
15
|
-
get rightOverflowElement(): ElementFinder;
|
|
16
|
-
selectStep(index: number): Promise<void>;
|
|
17
|
-
moveToFinalStep(): Promise<void>;
|
|
18
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.WizardV2Atom = void 0;
|
|
23
|
-
const tslib_1 = require("tslib");
|
|
24
|
-
const protractor_1 = require("protractor");
|
|
25
|
-
const wizard_v2_footer_atom_1 = require("./wizard-v2-footer.atom");
|
|
26
|
-
const wizard_v2_step_header_atom_1 = require("./wizard-v2-step-header.atom");
|
|
27
|
-
const wizard_v2_step_atom_1 = require("./wizard-v2-step.atom");
|
|
28
|
-
const atom_1 = require("../atom");
|
|
29
|
-
class WizardV2Atom extends atom_1.Atom {
|
|
30
|
-
constructor() {
|
|
31
|
-
super(...arguments);
|
|
32
|
-
this.root = this.getElement();
|
|
33
|
-
}
|
|
34
|
-
isPresent() {
|
|
35
|
-
const _super = Object.create(null, {
|
|
36
|
-
getElement: { get: () => super.getElement }
|
|
37
|
-
});
|
|
38
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
return _super.getElement.call(this).isPresent();
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
get steps() {
|
|
43
|
-
return this.root.all(protractor_1.by.css(".nui-wizard-horizontal-content-container > .nui-wizard-horizontal-content"));
|
|
44
|
-
}
|
|
45
|
-
getStep(index) {
|
|
46
|
-
const steps = this.root.all(protractor_1.by.css(".nui-wizard-horizontal-content-container > .nui-wizard-horizontal-content"));
|
|
47
|
-
const step = steps.get(index);
|
|
48
|
-
return new wizard_v2_step_atom_1.WizardV2StepAtom(step);
|
|
49
|
-
}
|
|
50
|
-
getHeader(index) {
|
|
51
|
-
const headers = this.root.all(protractor_1.by.css(".nui-wizard-step-header"));
|
|
52
|
-
const header = headers.get(index);
|
|
53
|
-
return new wizard_v2_step_header_atom_1.WizardV2StepHeaderAtom(header);
|
|
54
|
-
}
|
|
55
|
-
get footer() {
|
|
56
|
-
const footer = this.root.element(protractor_1.by.className("nui-wizard-horizontal-footer-container"));
|
|
57
|
-
return new wizard_v2_footer_atom_1.WizardV2FooterAtom(footer);
|
|
58
|
-
}
|
|
59
|
-
get leftOverflowElement() {
|
|
60
|
-
return this.root.element(protractor_1.by.css(".overflow-left"));
|
|
61
|
-
}
|
|
62
|
-
get rightOverflowElement() {
|
|
63
|
-
return this.root.element(protractor_1.by.css(".overflow-right"));
|
|
64
|
-
}
|
|
65
|
-
selectStep(index) {
|
|
66
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
67
|
-
const header = this.getHeader(index);
|
|
68
|
-
yield header.click();
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
moveToFinalStep() {
|
|
72
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
const count = yield this.steps.count();
|
|
74
|
-
for (let i = 0; i < count; i++) {
|
|
75
|
-
if (!(yield this.footer.nextButton.isPresent())) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
yield this.footer.nextButton.click();
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.WizardV2Atom = WizardV2Atom;
|
|
84
|
-
WizardV2Atom.CSS_CLASS = "nui-wizard-horizontal-layout";
|
|
85
|
-
//# sourceMappingURL=wizard-v2.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-v2.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/wizard-v2.atom.ts"],"names":[],"m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AM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAC5B,eAAE,CAAC,SAAS,CAAC,wCAAwC,CAAC,CACzD,CAAC;QAEF,OAAO,IAAI,0CAAkB,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,IAAW,oBAAoB;QAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACxD,CAAC;IAEY,UAAU,CAAC,KAAa;;YACjC,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAErC,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACzB,CAAC;KAAA;IAEY,eAAe;;YACxB,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACvC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC7B,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC;oBAC9C,OAAO;gBACX,CAAC;gBACD,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;YACzC,CAAC;QACL,CAAC;KAAA;;AAjEL,oCAkEC;AAjEiB,sBAAS,GAAG,8BAA8B,AAAjC,CAAkC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ElementFinder } from "protractor";
|
|
2
|
-
import { Atom } from "../atom";
|
|
3
|
-
import { ButtonAtom } from "./button.atom";
|
|
4
|
-
import { WizardStepAtom } from "./wizard-step.atom";
|
|
5
|
-
export declare class WizardAtom extends Atom {
|
|
6
|
-
static CSS_CLASS: string;
|
|
7
|
-
private root;
|
|
8
|
-
backButton: ButtonAtom;
|
|
9
|
-
nextButton: ButtonAtom;
|
|
10
|
-
finishButton: ButtonAtom;
|
|
11
|
-
cancelButton: ButtonAtom;
|
|
12
|
-
back: () => Promise<void>;
|
|
13
|
-
cancel: () => Promise<void>;
|
|
14
|
-
finish: () => Promise<void>;
|
|
15
|
-
getHeader: () => ElementFinder;
|
|
16
|
-
getActiveStep: () => ElementFinder;
|
|
17
|
-
next: () => Promise<void>;
|
|
18
|
-
getHeaderSteps(): Promise<any[]>;
|
|
19
|
-
getSteps(): Promise<WizardStepAtom[]>;
|
|
20
|
-
getContainerHeight(): Promise<number>;
|
|
21
|
-
goToStep(index: number): Promise<void>;
|
|
22
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
// of this software and associated documentation files (the "Software"), to
|
|
6
|
-
// deal in the Software without restriction, including without limitation the
|
|
7
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
// furnished to do so, subject to the following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included in
|
|
12
|
-
// all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
// THE SOFTWARE.
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.WizardAtom = void 0;
|
|
23
|
-
const tslib_1 = require("tslib");
|
|
24
|
-
const protractor_1 = require("protractor");
|
|
25
|
-
const atom_1 = require("../atom");
|
|
26
|
-
const button_atom_1 = require("./button.atom");
|
|
27
|
-
const wizard_step_atom_1 = require("./wizard-step.atom");
|
|
28
|
-
class WizardAtom extends atom_1.Atom {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(...arguments);
|
|
31
|
-
this.root = this.getElement();
|
|
32
|
-
this.backButton = new button_atom_1.ButtonAtom(this.root.element(protractor_1.by.className("nui-wizard__back-button")));
|
|
33
|
-
this.nextButton = new button_atom_1.ButtonAtom(this.root.element(protractor_1.by.className("nui-wizard__next-button")));
|
|
34
|
-
this.finishButton = new button_atom_1.ButtonAtom(this.root.element(protractor_1.by.className("nui-wizard__finish-button")));
|
|
35
|
-
this.cancelButton = new button_atom_1.ButtonAtom(this.root.element(protractor_1.by.className("nui-wizard__cancel-button")));
|
|
36
|
-
this.back = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.backButton.click(); });
|
|
37
|
-
this.cancel = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.cancelButton.click(); });
|
|
38
|
-
this.finish = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.finishButton.click(); });
|
|
39
|
-
this.getHeader = () => this.root.element(protractor_1.by.css(".nui-wizard__header"));
|
|
40
|
-
this.getActiveStep = () => this.root.element(protractor_1.by.css(".nui-wizard__header-step--active"));
|
|
41
|
-
this.next = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.nextButton.click(); });
|
|
42
|
-
}
|
|
43
|
-
getHeaderSteps() {
|
|
44
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
45
|
-
const stepsEl = this.root.element(protractor_1.by.className("nui-wizard__header-steps"));
|
|
46
|
-
return stepsEl
|
|
47
|
-
.all(protractor_1.by.className("nui-wizard__header-step"))
|
|
48
|
-
.map((el) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
if (!el) {
|
|
50
|
-
throw new Error("elementFinder is not defined");
|
|
51
|
-
}
|
|
52
|
-
return el
|
|
53
|
-
.all(protractor_1.by.className("nui-wizard__header-step-title"))
|
|
54
|
-
.first()
|
|
55
|
-
.getText();
|
|
56
|
-
}));
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
getSteps() {
|
|
60
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
61
|
-
const stepsEl = this.root.element(protractor_1.by.className("nui-wizard__header"));
|
|
62
|
-
// this should really be a map operation. However, map has a bug- if you put an element finder
|
|
63
|
-
// in it, it will try to resolve EVERYTHING, and causes node to go into an infinite loop
|
|
64
|
-
return stepsEl
|
|
65
|
-
.all(protractor_1.by.className("nui-wizard__header-step-container"))
|
|
66
|
-
.reduce((accumulator, el) => {
|
|
67
|
-
accumulator.push(new wizard_step_atom_1.WizardStepAtom(el));
|
|
68
|
-
return accumulator;
|
|
69
|
-
}, []);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
getContainerHeight() {
|
|
73
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
74
|
-
return this.root
|
|
75
|
-
.element(protractor_1.by.className("nui-wizard__container"))
|
|
76
|
-
.getSize()
|
|
77
|
-
.then((elemSize) => elemSize.height);
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
goToStep(index) {
|
|
81
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
82
|
-
return this.root
|
|
83
|
-
.all(protractor_1.by.className("nui-wizard__header-step"))
|
|
84
|
-
.get(index)
|
|
85
|
-
.click();
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
exports.WizardAtom = WizardAtom;
|
|
90
|
-
WizardAtom.CSS_CLASS = "nui-wizard";
|
|
91
|
-
//# sourceMappingURL=wizard.atom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wizard.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/wizard.atom.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,2CAA+C;AAG/C,kCAA+B;AAC/B,+CAA2C;AAC3C,yDAAoD;AAEpD,MAAa,UAAW,SAAQ,WAAI;IAApC;;QAGY,SAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAE1B,eAAU,GAAG,IAAI,wBAAU,CAC9B,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC,CAC7D,CAAC;QACK,eAAU,GAAG,IAAI,wBAAU,CAC9B,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC,CAC7D,CAAC;QACK,iBAAY,GAAG,IAAI,wBAAU,CAChC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,SAAS,CAAC,2BAA2B,CAAC,CAAC,CAC/D,CAAC;QACK,iBAAY,GAAG,IAAI,wBAAU,CAChC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,SAAS,CAAC,2BAA2B,CAAC,CAAC,CAC/D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