@nova-ui/bits 20.0.3 → 21.0.0

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.
Files changed (263) hide show
  1. package/bundles/css/styles.css +1 -1
  2. package/fesm2022/nova-ui-bits.mjs +1937 -1537
  3. package/fesm2022/nova-ui-bits.mjs.map +1 -1
  4. package/package.json +15 -22
  5. package/sdk/atoms-playwright/atom.js +5 -3
  6. package/sdk/atoms-playwright/atom.js.map +1 -1
  7. package/sdk/atoms-playwright/components/checkbox/checkbox.atom.d.ts +0 -1
  8. package/sdk/atoms-playwright/components/checkbox/checkbox.atom.js +9 -6
  9. package/sdk/atoms-playwright/components/checkbox/checkbox.atom.js.map +1 -1
  10. package/sdk/atoms-playwright/components/chips/chips.atom.js.map +1 -1
  11. package/sdk/atoms-playwright/components/dialog/dialog.atom.js.map +1 -1
  12. package/sdk/atoms-playwright/components/menu/menu.atom.js.map +1 -1
  13. package/sdk/atoms-playwright/components/menu-popup/menu-popup.atom.js.map +1 -1
  14. package/sdk/atoms-playwright/components/paginator/paginator.atom.d.ts +1 -0
  15. package/sdk/atoms-playwright/components/paginator/paginator.atom.js +14 -17
  16. package/sdk/atoms-playwright/components/paginator/paginator.atom.js.map +1 -1
  17. package/sdk/atoms-playwright/components/popover/popover.atom.js +4 -1
  18. package/sdk/atoms-playwright/components/popover/popover.atom.js.map +1 -1
  19. package/sdk/atoms-playwright/components/select/basic-select.atom.js +4 -2
  20. package/sdk/atoms-playwright/components/select/basic-select.atom.js.map +1 -1
  21. package/sdk/atoms-playwright/components/select/select.atom.js.map +1 -1
  22. package/sdk/atoms-playwright/components/table/table.atom.js +10 -6
  23. package/sdk/atoms-playwright/components/table/table.atom.js.map +1 -1
  24. package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js +3 -1
  25. package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js.map +1 -1
  26. package/sdk/atoms-playwright/setup.js +3 -1
  27. package/sdk/atoms-playwright/setup.js.map +1 -1
  28. package/sdk/atoms-playwright/virtual-camera/camera-engine.js +3 -1
  29. package/sdk/atoms-playwright/virtual-camera/camera-engine.js.map +1 -1
  30. package/sdk/less/nui-framework-colors.less +13 -13
  31. package/sdk/schematics/filter-group/index.spec.js +1 -1
  32. package/sdk/schematics/filter-group/index.spec.js.map +1 -1
  33. package/sdk/schematics/ng-add/index.spec.js +1 -1
  34. package/sdk/schematics/ng-add/index.spec.js.map +1 -1
  35. package/{index.d.ts → types/nova-ui-bits.d.ts} +208 -146
  36. package/sdk/atoms/atom.d.ts +0 -48
  37. package/sdk/atoms/atom.js +0 -179
  38. package/sdk/atoms/atom.js.map +0 -1
  39. package/sdk/atoms/atoms/base-select-v2.atom.d.ts +0 -30
  40. package/sdk/atoms/atoms/base-select-v2.atom.js +0 -125
  41. package/sdk/atoms/atoms/base-select-v2.atom.js.map +0 -1
  42. package/sdk/atoms/atoms/basic-select.atom.d.ts +0 -21
  43. package/sdk/atoms/atoms/basic-select.atom.js +0 -56
  44. package/sdk/atoms/atoms/basic-select.atom.js.map +0 -1
  45. package/sdk/atoms/atoms/breadcrumb.atom.d.ts +0 -11
  46. package/sdk/atoms/atoms/breadcrumb.atom.js +0 -46
  47. package/sdk/atoms/atoms/breadcrumb.atom.js.map +0 -1
  48. package/sdk/atoms/atoms/busy.atom.d.ts +0 -12
  49. package/sdk/atoms/atoms/busy.atom.js +0 -41
  50. package/sdk/atoms/atoms/busy.atom.js.map +0 -1
  51. package/sdk/atoms/atoms/button.atom.d.ts +0 -19
  52. package/sdk/atoms/atoms/button.atom.js +0 -63
  53. package/sdk/atoms/atoms/button.atom.js.map +0 -1
  54. package/sdk/atoms/atoms/cdk-drop-item.atom.d.ts +0 -10
  55. package/sdk/atoms/atoms/cdk-drop-item.atom.js +0 -58
  56. package/sdk/atoms/atoms/cdk-drop-item.atom.js.map +0 -1
  57. package/sdk/atoms/atoms/cdk-drop-list.atom.d.ts +0 -8
  58. package/sdk/atoms/atoms/cdk-drop-list.atom.js +0 -42
  59. package/sdk/atoms/atoms/cdk-drop-list.atom.js.map +0 -1
  60. package/sdk/atoms/atoms/checkbox-group.atom.d.ts +0 -11
  61. package/sdk/atoms/atoms/checkbox-group.atom.js +0 -69
  62. package/sdk/atoms/atoms/checkbox-group.atom.js.map +0 -1
  63. package/sdk/atoms/atoms/checkbox.atom.d.ts +0 -30
  64. package/sdk/atoms/atoms/checkbox.atom.js +0 -94
  65. package/sdk/atoms/atoms/checkbox.atom.js.map +0 -1
  66. package/sdk/atoms/atoms/chips.atom.d.ts +0 -32
  67. package/sdk/atoms/atoms/chips.atom.js +0 -93
  68. package/sdk/atoms/atoms/chips.atom.js.map +0 -1
  69. package/sdk/atoms/atoms/combobox-v2.atom.d.ts +0 -22
  70. package/sdk/atoms/atoms/combobox-v2.atom.js +0 -100
  71. package/sdk/atoms/atoms/combobox-v2.atom.js.map +0 -1
  72. package/sdk/atoms/atoms/combobox.atom.d.ts +0 -29
  73. package/sdk/atoms/atoms/combobox.atom.js +0 -67
  74. package/sdk/atoms/atoms/combobox.atom.js.map +0 -1
  75. package/sdk/atoms/atoms/content.atom.d.ts +0 -6
  76. package/sdk/atoms/atoms/content.atom.js +0 -40
  77. package/sdk/atoms/atoms/content.atom.js.map +0 -1
  78. package/sdk/atoms/atoms/datepicker.atom.d.ts +0 -57
  79. package/sdk/atoms/atoms/datepicker.atom.js +0 -204
  80. package/sdk/atoms/atoms/datepicker.atom.js.map +0 -1
  81. package/sdk/atoms/atoms/datetimepicker.atom.d.ts +0 -9
  82. package/sdk/atoms/atoms/datetimepicker.atom.js +0 -43
  83. package/sdk/atoms/atoms/datetimepicker.atom.js.map +0 -1
  84. package/sdk/atoms/atoms/dialog.atom.d.ts +0 -18
  85. package/sdk/atoms/atoms/dialog.atom.js +0 -77
  86. package/sdk/atoms/atoms/dialog.atom.js.map +0 -1
  87. package/sdk/atoms/atoms/divider.atom.d.ts +0 -6
  88. package/sdk/atoms/atoms/divider.atom.js +0 -45
  89. package/sdk/atoms/atoms/divider.atom.js.map +0 -1
  90. package/sdk/atoms/atoms/expander.atom.d.ts +0 -19
  91. package/sdk/atoms/atoms/expander.atom.js +0 -90
  92. package/sdk/atoms/atoms/expander.atom.js.map +0 -1
  93. package/sdk/atoms/atoms/form-field.atom.d.ts +0 -12
  94. package/sdk/atoms/atoms/form-field.atom.js +0 -73
  95. package/sdk/atoms/atoms/form-field.atom.js.map +0 -1
  96. package/sdk/atoms/atoms/freetype-query-builder.atom.d.ts +0 -9
  97. package/sdk/atoms/atoms/freetype-query-builder.atom.js +0 -51
  98. package/sdk/atoms/atoms/freetype-query-builder.atom.js.map +0 -1
  99. package/sdk/atoms/atoms/icon.atom.d.ts +0 -21
  100. package/sdk/atoms/atoms/icon.atom.js +0 -91
  101. package/sdk/atoms/atoms/icon.atom.js.map +0 -1
  102. package/sdk/atoms/atoms/image.atom.d.ts +0 -8
  103. package/sdk/atoms/atoms/image.atom.js +0 -61
  104. package/sdk/atoms/atoms/image.atom.js.map +0 -1
  105. package/sdk/atoms/atoms/layout-sheet-group.atom.d.ts +0 -14
  106. package/sdk/atoms/atoms/layout-sheet-group.atom.js +0 -91
  107. package/sdk/atoms/atoms/layout-sheet-group.atom.js.map +0 -1
  108. package/sdk/atoms/atoms/layout-sheet.atom.d.ts +0 -6
  109. package/sdk/atoms/atoms/layout-sheet.atom.js +0 -45
  110. package/sdk/atoms/atoms/layout-sheet.atom.js.map +0 -1
  111. package/sdk/atoms/atoms/menu-item.atom.d.ts +0 -13
  112. package/sdk/atoms/atoms/menu-item.atom.js +0 -117
  113. package/sdk/atoms/atoms/menu-item.atom.js.map +0 -1
  114. package/sdk/atoms/atoms/menu-popup.atom.d.ts +0 -11
  115. package/sdk/atoms/atoms/menu-popup.atom.js +0 -57
  116. package/sdk/atoms/atoms/menu-popup.atom.js.map +0 -1
  117. package/sdk/atoms/atoms/menu.atom.d.ts +0 -43
  118. package/sdk/atoms/atoms/menu.atom.js +0 -116
  119. package/sdk/atoms/atoms/menu.atom.js.map +0 -1
  120. package/sdk/atoms/atoms/message.atom.d.ts +0 -16
  121. package/sdk/atoms/atoms/message.atom.js +0 -51
  122. package/sdk/atoms/atoms/message.atom.js.map +0 -1
  123. package/sdk/atoms/atoms/overlay-content.atom.d.ts +0 -7
  124. package/sdk/atoms/atoms/overlay-content.atom.js +0 -35
  125. package/sdk/atoms/atoms/overlay-content.atom.js.map +0 -1
  126. package/sdk/atoms/atoms/overlay.atom.d.ts +0 -11
  127. package/sdk/atoms/atoms/overlay.atom.js +0 -41
  128. package/sdk/atoms/atoms/overlay.atom.js.map +0 -1
  129. package/sdk/atoms/atoms/paginator.atom.d.ts +0 -29
  130. package/sdk/atoms/atoms/paginator.atom.js +0 -199
  131. package/sdk/atoms/atoms/paginator.atom.js.map +0 -1
  132. package/sdk/atoms/atoms/panel.atom.d.ts +0 -29
  133. package/sdk/atoms/atoms/panel.atom.js +0 -120
  134. package/sdk/atoms/atoms/panel.atom.js.map +0 -1
  135. package/sdk/atoms/atoms/popover.atom.d.ts +0 -28
  136. package/sdk/atoms/atoms/popover.atom.js +0 -94
  137. package/sdk/atoms/atoms/popover.atom.js.map +0 -1
  138. package/sdk/atoms/atoms/popup.atom.d.ts +0 -16
  139. package/sdk/atoms/atoms/popup.atom.js +0 -68
  140. package/sdk/atoms/atoms/popup.atom.js.map +0 -1
  141. package/sdk/atoms/atoms/progress.atom.d.ts +0 -14
  142. package/sdk/atoms/atoms/progress.atom.js +0 -65
  143. package/sdk/atoms/atoms/progress.atom.js.map +0 -1
  144. package/sdk/atoms/atoms/public_api.d.ts +0 -65
  145. package/sdk/atoms/atoms/public_api.js +0 -69
  146. package/sdk/atoms/atoms/public_api.js.map +0 -1
  147. package/sdk/atoms/atoms/quick-picker.atom.d.ts +0 -8
  148. package/sdk/atoms/atoms/quick-picker.atom.js +0 -49
  149. package/sdk/atoms/atoms/quick-picker.atom.js.map +0 -1
  150. package/sdk/atoms/atoms/radio-group.atom.d.ts +0 -13
  151. package/sdk/atoms/atoms/radio-group.atom.js +0 -76
  152. package/sdk/atoms/atoms/radio-group.atom.js.map +0 -1
  153. package/sdk/atoms/atoms/repeat.atom.d.ts +0 -27
  154. package/sdk/atoms/atoms/repeat.atom.js +0 -123
  155. package/sdk/atoms/atoms/repeat.atom.js.map +0 -1
  156. package/sdk/atoms/atoms/resizer.atom.d.ts +0 -12
  157. package/sdk/atoms/atoms/resizer.atom.js +0 -52
  158. package/sdk/atoms/atoms/resizer.atom.js.map +0 -1
  159. package/sdk/atoms/atoms/search.atom.d.ts +0 -12
  160. package/sdk/atoms/atoms/search.atom.js +0 -81
  161. package/sdk/atoms/atoms/search.atom.js.map +0 -1
  162. package/sdk/atoms/atoms/select-v2-option.atom.d.ts +0 -7
  163. package/sdk/atoms/atoms/select-v2-option.atom.js +0 -44
  164. package/sdk/atoms/atoms/select-v2-option.atom.js.map +0 -1
  165. package/sdk/atoms/atoms/select-v2.atom.d.ts +0 -5
  166. package/sdk/atoms/atoms/select-v2.atom.js +0 -34
  167. package/sdk/atoms/atoms/select-v2.atom.js.map +0 -1
  168. package/sdk/atoms/atoms/select.atom.d.ts +0 -10
  169. package/sdk/atoms/atoms/select.atom.js +0 -37
  170. package/sdk/atoms/atoms/select.atom.js.map +0 -1
  171. package/sdk/atoms/atoms/selector.atom.d.ts +0 -22
  172. package/sdk/atoms/atoms/selector.atom.js +0 -90
  173. package/sdk/atoms/atoms/selector.atom.js.map +0 -1
  174. package/sdk/atoms/atoms/sorter.atom.d.ts +0 -33
  175. package/sdk/atoms/atoms/sorter.atom.js +0 -123
  176. package/sdk/atoms/atoms/sorter.atom.js.map +0 -1
  177. package/sdk/atoms/atoms/spinner.atom.d.ts +0 -12
  178. package/sdk/atoms/atoms/spinner.atom.js +0 -45
  179. package/sdk/atoms/atoms/spinner.atom.js.map +0 -1
  180. package/sdk/atoms/atoms/switch.atom.d.ts +0 -14
  181. package/sdk/atoms/atoms/switch.atom.js +0 -73
  182. package/sdk/atoms/atoms/switch.atom.js.map +0 -1
  183. package/sdk/atoms/atoms/tab-heading-group.atom.d.ts +0 -16
  184. package/sdk/atoms/atoms/tab-heading-group.atom.js +0 -108
  185. package/sdk/atoms/atoms/tab-heading-group.atom.js.map +0 -1
  186. package/sdk/atoms/atoms/tab-heading.atom.d.ts +0 -8
  187. package/sdk/atoms/atoms/tab-heading.atom.js +0 -52
  188. package/sdk/atoms/atoms/tab-heading.atom.js.map +0 -1
  189. package/sdk/atoms/atoms/table.atom.d.ts +0 -73
  190. package/sdk/atoms/atoms/table.atom.js +0 -210
  191. package/sdk/atoms/atoms/table.atom.js.map +0 -1
  192. package/sdk/atoms/atoms/textbox-number.atom.d.ts +0 -18
  193. package/sdk/atoms/atoms/textbox-number.atom.js +0 -53
  194. package/sdk/atoms/atoms/textbox-number.atom.js.map +0 -1
  195. package/sdk/atoms/atoms/textbox.atom.d.ts +0 -22
  196. package/sdk/atoms/atoms/textbox.atom.js +0 -59
  197. package/sdk/atoms/atoms/textbox.atom.js.map +0 -1
  198. package/sdk/atoms/atoms/time-frame-bar.atom.d.ts +0 -22
  199. package/sdk/atoms/atoms/time-frame-bar.atom.js +0 -84
  200. package/sdk/atoms/atoms/time-frame-bar.atom.js.map +0 -1
  201. package/sdk/atoms/atoms/time-frame-picker.atom.d.ts +0 -7
  202. package/sdk/atoms/atoms/time-frame-picker.atom.js +0 -36
  203. package/sdk/atoms/atoms/time-frame-picker.atom.js.map +0 -1
  204. package/sdk/atoms/atoms/timepicker.atom.d.ts +0 -18
  205. package/sdk/atoms/atoms/timepicker.atom.js +0 -64
  206. package/sdk/atoms/atoms/timepicker.atom.js.map +0 -1
  207. package/sdk/atoms/atoms/toast.atom.d.ts +0 -28
  208. package/sdk/atoms/atoms/toast.atom.js +0 -67
  209. package/sdk/atoms/atoms/toast.atom.js.map +0 -1
  210. package/sdk/atoms/atoms/toolbar.atom.d.ts +0 -18
  211. package/sdk/atoms/atoms/toolbar.atom.js +0 -87
  212. package/sdk/atoms/atoms/toolbar.atom.js.map +0 -1
  213. package/sdk/atoms/atoms/tooltip.atom.d.ts +0 -9
  214. package/sdk/atoms/atoms/tooltip.atom.js +0 -38
  215. package/sdk/atoms/atoms/tooltip.atom.js.map +0 -1
  216. package/sdk/atoms/atoms/tree.atom.d.ts +0 -17
  217. package/sdk/atoms/atoms/tree.atom.js +0 -87
  218. package/sdk/atoms/atoms/tree.atom.js.map +0 -1
  219. package/sdk/atoms/atoms/wizard-step.atom.d.ts +0 -11
  220. package/sdk/atoms/atoms/wizard-step.atom.js +0 -52
  221. package/sdk/atoms/atoms/wizard-step.atom.js.map +0 -1
  222. package/sdk/atoms/atoms/wizard-v2-footer.atom.d.ts +0 -7
  223. package/sdk/atoms/atoms/wizard-v2-footer.atom.js +0 -36
  224. package/sdk/atoms/atoms/wizard-v2-footer.atom.js.map +0 -1
  225. package/sdk/atoms/atoms/wizard-v2-step-header.atom.d.ts +0 -7
  226. package/sdk/atoms/atoms/wizard-v2-step-header.atom.js +0 -41
  227. package/sdk/atoms/atoms/wizard-v2-step-header.atom.js.map +0 -1
  228. package/sdk/atoms/atoms/wizard-v2-step.atom.d.ts +0 -5
  229. package/sdk/atoms/atoms/wizard-v2-step.atom.js +0 -32
  230. package/sdk/atoms/atoms/wizard-v2-step.atom.js.map +0 -1
  231. package/sdk/atoms/atoms/wizard-v2.atom.d.ts +0 -18
  232. package/sdk/atoms/atoms/wizard-v2.atom.js +0 -85
  233. package/sdk/atoms/atoms/wizard-v2.atom.js.map +0 -1
  234. package/sdk/atoms/atoms/wizard.atom.d.ts +0 -22
  235. package/sdk/atoms/atoms/wizard.atom.js +0 -91
  236. package/sdk/atoms/atoms/wizard.atom.js.map +0 -1
  237. package/sdk/atoms/helpers.d.ts +0 -39
  238. package/sdk/atoms/helpers.js +0 -234
  239. package/sdk/atoms/helpers.js.map +0 -1
  240. package/sdk/atoms/index.d.ts +0 -4
  241. package/sdk/atoms/index.js +0 -30
  242. package/sdk/atoms/index.js.map +0 -1
  243. package/sdk/atoms/virtual-camera/Camera.d.ts +0 -21
  244. package/sdk/atoms/virtual-camera/Camera.js +0 -54
  245. package/sdk/atoms/virtual-camera/Camera.js.map +0 -1
  246. package/sdk/atoms/virtual-camera/camera-engine.d.ts +0 -13
  247. package/sdk/atoms/virtual-camera/camera-engine.js +0 -81
  248. package/sdk/atoms/virtual-camera/camera-engine.js.map +0 -1
  249. package/sdk/atoms/virtual-camera/camera-settings.d.ts +0 -10
  250. package/sdk/atoms/virtual-camera/camera-settings.js +0 -59
  251. package/sdk/atoms/virtual-camera/camera-settings.js.map +0 -1
  252. package/sdk/atoms/virtual-camera/camera-toggle.d.ts +0 -7
  253. package/sdk/atoms/virtual-camera/camera-toggle.js +0 -40
  254. package/sdk/atoms/virtual-camera/camera-toggle.js.map +0 -1
  255. package/sdk/atoms/virtual-camera/percy-lens.d.ts +0 -17
  256. package/sdk/atoms/virtual-camera/percy-lens.js +0 -84
  257. package/sdk/atoms/virtual-camera/percy-lens.js.map +0 -1
  258. package/sdk/atoms/virtual-camera/public_api.d.ts +0 -2
  259. package/sdk/atoms/virtual-camera/public_api.js +0 -25
  260. package/sdk/atoms/virtual-camera/public_api.js.map +0 -1
  261. package/sdk/atoms/virtual-camera/types.d.ts +0 -35
  262. package/sdk/atoms/virtual-camera/types.js +0 -50
  263. package/sdk/atoms/virtual-camera/types.js.map +0 -1
@@ -1,63 +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.ButtonAtom = void 0;
23
- const tslib_1 = require("tslib");
24
- const protractor_1 = require("protractor");
25
- const atom_1 = require("../atom");
26
- const icon_atom_1 = require("./icon.atom");
27
- class ButtonAtom extends atom_1.Atom {
28
- constructor() {
29
- super(...arguments);
30
- this.root = this.getElement();
31
- this.click = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.click(); });
32
- this.getText = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.element(protractor_1.by.className("nui-button__content")).getText(); });
33
- this.isDisabled = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return !(yield this.root.isEnabled()); });
34
- this.isVisible = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.isDisplayed(); });
35
- this.isBusy = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.hasClass("is-busy"); });
36
- this.getTextColor = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.getCssValue("color"); });
37
- this.getBackgroundColor = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.getCssValue("background-color"); });
38
- this.getBorderStyle = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.getCssValue("border-color"); });
39
- this.mouseDown = () => tslib_1.__awaiter(this, void 0, void 0, function* () {
40
- const rootWebElement = yield this.root.getWebElement();
41
- yield protractor_1.browser.actions().mouseMove(rootWebElement).perform();
42
- return protractor_1.browser.actions().mouseDown().perform();
43
- });
44
- this.mouseUp = () => tslib_1.__awaiter(this, void 0, void 0, function* () {
45
- const rootWebElement = yield this.root.getWebElement();
46
- yield protractor_1.browser.actions().mouseMove(rootWebElement).perform();
47
- return protractor_1.browser.actions().mouseUp().perform();
48
- });
49
- this.isIconShown = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.root.element(protractor_1.by.className("nui-icon")).isPresent(); });
50
- this.getIcon = () => atom_1.Atom.findIn(icon_atom_1.IconAtom, this.root);
51
- }
52
- mouseDownAndHold(ms) {
53
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
54
- yield this.mouseDown();
55
- yield protractor_1.browser.sleep(ms);
56
- yield this.mouseUp();
57
- return;
58
- });
59
- }
60
- }
61
- exports.ButtonAtom = ButtonAtom;
62
- ButtonAtom.CSS_CLASS = "nui-button";
63
- //# sourceMappingURL=button.atom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/button.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,2CAAyC;AAEzC,kCAA+B;AAC/B,2CAAuC;AAEvC,MAAa,UAAW,SAAQ,WAAI;IAApC;;QAGY,SAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAE1B,UAAK,GAAG,GAAwB,EAAE,wDAAC,OAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAA,GAAA,CAAC;QAErD,YAAO,GAAG,GAA0B,EAAE,wDACzC,OAAA,IAAI,CAAC,IAAI,CAA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AAO,EAAE,CAAC;YAC5D,OAAO,oBAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;QACjD,CAAC,CAAA,CAAC;QAEK,gBAAW,GAAG,GAA2B,EAAE,wDAC9C,OAAA,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAAE,CAAA,GAAA,CAAC;QAErD,YAAO,GAAG,GAAa,EAAE,CAAC,WAAI,CAAC,MAAM,CAAC,oBAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAQtE,CAAC;IANgB,gBAAgB,CAAC,EAAU;;YACpC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;YACvB,MAAM,oBAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACxB,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;YACrB,OAAO;QACX,CAAC;KAAA;;AAhDL,gCAiDC;AAhDiB,oBAAS,GAAG,YAAY,AAAf,CAAgB"}
@@ -1,10 +0,0 @@
1
- import { ILocation, WebElement } from "selenium-webdriver";
2
- import { Atom } from "../atom";
3
- export declare class CdkDraggableItemAtom extends Atom {
4
- static CSS_CLASS: string;
5
- mouseDown(): Promise<void>;
6
- mouseUp(): Promise<void>;
7
- dragSelf(offset?: ILocation): Promise<void>;
8
- dragTo(location: WebElement | ILocation, offset?: ILocation): Promise<void>;
9
- move(location: WebElement | ILocation, offset?: ILocation): Promise<void>;
10
- }
@@ -1,58 +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.CdkDraggableItemAtom = void 0;
23
- const tslib_1 = require("tslib");
24
- const protractor_1 = require("protractor");
25
- const atom_1 = require("../atom");
26
- class CdkDraggableItemAtom extends atom_1.Atom {
27
- mouseDown() {
28
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
29
- yield protractor_1.browser.actions().mouseMove(this.getElement()).perform();
30
- yield protractor_1.browser.actions().mouseDown().perform();
31
- });
32
- }
33
- mouseUp() {
34
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
35
- yield protractor_1.browser.actions().mouseUp().perform();
36
- });
37
- }
38
- dragSelf(offset) {
39
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
40
- yield protractor_1.browser.actions().mouseDown(this.getElement()).perform();
41
- yield protractor_1.browser.actions().mouseMove(this.getElement(), offset).perform();
42
- });
43
- }
44
- dragTo(location, offset) {
45
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
46
- yield protractor_1.browser.actions().mouseDown(this.getElement()).perform();
47
- yield protractor_1.browser.actions().mouseMove(location, offset).perform();
48
- });
49
- }
50
- move(location, offset) {
51
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
52
- yield protractor_1.browser.actions().mouseMove(location, offset).perform();
53
- });
54
- }
55
- }
56
- exports.CdkDraggableItemAtom = CdkDraggableItemAtom;
57
- CdkDraggableItemAtom.CSS_CLASS = "cdk-drag";
58
- //# sourceMappingURL=cdk-drop-item.atom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cdk-drop-item.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/cdk-drop-item.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,2CAAqC;AAGrC,kCAA+B;AAE/B,MAAa,oBAAqB,SAAQ,WAAI;IAG7B,SAAS;;YAClB,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;YAC/D,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE,CAAC;QAClD,CAAC;KAAA;IAEY,OAAO;;YAChB,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;QAChD,CAAC;KAAA;IAEY,QAAQ,CAAC,MAAkB;;YACpC,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;YAC/D,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC;QAC3E,CAAC;KAAA;IAEY,MAAM,CACf,QAAgC,EAChC,MAAkB;;YAElB,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;YAC/D,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC;QAClE,CAAC;KAAA;IAEY,IAAI,CACb,QAAgC,EAChC,MAAkB;;YAElB,MAAM,oBAAO,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC;QAClE,CAAC;KAAA;;AA9BL,oDA+BC;AA9BiB,8BAAS,GAAG,UAAU,CAAC"}
@@ -1,8 +0,0 @@
1
- import { CdkDraggableItemAtom } from "./cdk-drop-item.atom";
2
- import { Atom } from "../atom";
3
- export declare class CdkDropListAtom extends Atom {
4
- static CSS_CLASS: string;
5
- getItems(): Promise<CdkDraggableItemAtom[]>;
6
- itemCount: () => Promise<number>;
7
- getItem: (idx: number) => Promise<CdkDraggableItemAtom>;
8
- }
@@ -1,42 +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.CdkDropListAtom = void 0;
23
- const tslib_1 = require("tslib");
24
- const cdk_drop_item_atom_1 = require("./cdk-drop-item.atom");
25
- const atom_1 = require("../atom");
26
- class CdkDropListAtom extends atom_1.Atom {
27
- constructor() {
28
- super(...arguments);
29
- this.itemCount = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield this.getItems()).length; });
30
- this.getItem = (idx) => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield this.getItems())[idx]; });
31
- }
32
- getItems() {
33
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
34
- return this.getElement()
35
- .all(atom_1.Atom.getLocator(cdk_drop_item_atom_1.CdkDraggableItemAtom))
36
- .reduce((acc, item) => acc.concat(new cdk_drop_item_atom_1.CdkDraggableItemAtom(item)), []);
37
- });
38
- }
39
- }
40
- exports.CdkDropListAtom = CdkDropListAtom;
41
- CdkDropListAtom.CSS_CLASS = "cdk-drop-list";
42
- //# sourceMappingURL=cdk-drop-list.atom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cdk-drop-list.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/cdk-drop-list.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;;;;AAIjB,6DAA4D;AAC5D,kCAA+B;AAE/B,MAAa,eAAgB,SAAQ,WAAI;IAAzC;;QAaW,cAAS,GAAG,GAA0B,EAAE,wDAC3C,OAAA,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAA,GAAA,CAAC;QAE5B,YAAO,GAAG,CAAO,GAAW,EAAiC,EAAE,wDAClE,OAAA,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,GAAG,CAAC,CAAA,GAAA,CAAC;IACrC,CAAC;IAfgB,QAAQ;;YACjB,OAAO,IAAI,CAAC,UAAU,EAAE;iBACnB,GAAG,CAAC,WAAI,CAAC,UAAU,CAAC,yCAAoB,CAAC,CAAC;iBAC1C,MAAM,CACH,CAAC,GAA2B,EAAE,IAAmB,EAAE,EAAE,CACjD,GAAG,CAAC,MAAM,CAAC,IAAI,yCAAoB,CAAC,IAAI,CAAC,CAAC,EAC9C,EAAE,CACL,CAAC;QACV,CAAC;KAAA;;AAXL,0CAkBC;AAjBiB,yBAAS,GAAG,eAAe,AAAlB,CAAmB"}
@@ -1,11 +0,0 @@
1
- import { Atom } from "../atom";
2
- import { CheckboxAtom } from "./checkbox.atom";
3
- export declare class CheckboxGroupAtom extends Atom {
4
- static CSS_CLASS: string;
5
- private root;
6
- private children;
7
- getCheckbox(title: string): Promise<CheckboxAtom | undefined>;
8
- getCheckboxByIndex: (index: number) => CheckboxAtom;
9
- getFirst: () => CheckboxAtom;
10
- isDisabled(): Promise<boolean>;
11
- }
@@ -1,69 +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.CheckboxGroupAtom = void 0;
23
- const tslib_1 = require("tslib");
24
- const atom_1 = require("../atom");
25
- const checkbox_atom_1 = require("./checkbox.atom");
26
- class CheckboxGroupAtom extends atom_1.Atom {
27
- constructor() {
28
- super(...arguments);
29
- this.root = this.getElement();
30
- this.children = this.root.all(atom_1.Atom.getLocator(checkbox_atom_1.CheckboxAtom));
31
- this.getCheckboxByIndex = (index) => atom_1.Atom.findIn(checkbox_atom_1.CheckboxAtom, this.root, index);
32
- this.getFirst = () => this.getCheckboxByIndex(0);
33
- }
34
- // Used to return specific checkbox element from the group
35
- getCheckbox(title) {
36
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
37
- const childCount = yield this.children.count();
38
- if (childCount === 0) {
39
- return undefined;
40
- }
41
- for (let i = 0; i < childCount; i++) {
42
- const checkbox = atom_1.Atom.findIn(checkbox_atom_1.CheckboxAtom, this.root, i);
43
- if ((yield checkbox.getContent()).toLowerCase() ===
44
- title.toLowerCase()) {
45
- return checkbox;
46
- }
47
- }
48
- return undefined;
49
- });
50
- }
51
- isDisabled() {
52
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
53
- const childCount = yield this.children.count();
54
- if (childCount === 0) {
55
- return false;
56
- }
57
- for (let i = 0; i < childCount; i++) {
58
- const checkbox = this.getCheckboxByIndex(i);
59
- if (!(yield checkbox.isDisabled())) {
60
- return false;
61
- }
62
- }
63
- return true;
64
- });
65
- }
66
- }
67
- exports.CheckboxGroupAtom = CheckboxGroupAtom;
68
- CheckboxGroupAtom.CSS_CLASS = "nui-checkbox-group";
69
- //# sourceMappingURL=checkbox-group.atom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox-group.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/checkbox-group.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;;;;AAIjB,kCAA+B;AAC/B,mDAA+C;AAE/C,MAAa,iBAAkB,SAAQ,WAAI;IAA3C;;QAGY,SAAI,GAAkB,IAAI,CAAC,UAAU,EAAE,CAAC;QACxC,aAAQ,GAAuB,IAAI,CAAC,IAAI,CAAC,GAAG,CAChD,WAAI,CAAC,UAAU,CAAC,4BAAY,CAAC,CAChC,CAAC;QAwBK,uBAAkB,GAAG,CAAC,KAAa,EAAgB,EAAE,CACxD,WAAI,CAAC,MAAM,CAAe,4BAAY,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAEvD,aAAQ,GAAG,GAAiB,EAAE,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAgBrE,CAAC;IAzCG,0DAA0D;IAC7C,WAAW,CAAC,KAAa;;YAClC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;YAC/C,IAAI,UAAU,KAAK,CAAC,EAAE,CAAC;gBACnB,OAAO,SAAS,CAAC;YACrB,CAAC;YACD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;gBAClC,MAAM,QAAQ,GAAG,WAAI,CAAC,MAAM,CACxB,4BAAY,EACZ,IAAI,CAAC,IAAI,EACT,CAAC,CACJ,CAAC;gBACF,IACI,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC,WAAW,EAAE;oBAC3C,KAAK,CAAC,WAAW,EAAE,EACrB,CAAC;oBACC,OAAO,QAAQ,CAAC;gBACpB,CAAC;YACL,CAAC;YACD,OAAO,SAAS,CAAC;QACrB,CAAC;KAAA;IAOY,UAAU;;YACnB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;YAC/C,IAAI,UAAU,KAAK,CAAC,EAAE,CAAC;gBACnB,OAAO,KAAK,CAAC;YACjB,CAAC;YACD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;gBAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;gBAC5C,IAAI,CAAC,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC;oBACjC,OAAO,KAAK,CAAC;gBACjB,CAAC;YACL,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;;AAhDL,8CAiDC;AAhDiB,2BAAS,GAAG,oBAAoB,AAAvB,CAAwB"}
@@ -1,30 +0,0 @@
1
- import { ElementFinder } from "protractor";
2
- import { Atom } from "../atom";
3
- export declare class CheckboxAtom extends Atom {
4
- static CSS_CLASS: string;
5
- constructor(element: ElementFinder);
6
- getInputElement(): ElementFinder;
7
- getLabel(): ElementFinder;
8
- getContent(): Promise<string>;
9
- getHelpHintText(): Promise<string>;
10
- hoverLink: () => Promise<void>;
11
- isIndeterminate: () => Promise<boolean>;
12
- isRequired: () => Promise<boolean>;
13
- isDisabled: () => Promise<boolean>;
14
- isChecked: () => Promise<boolean>;
15
- /**
16
- * Toggle the checkbox value
17
- *
18
- * @returns {Promise<void>}
19
- */
20
- toggle: () => Promise<void>;
21
- /**
22
- * Sets the checkbox value to the given value
23
- *
24
- * @param {boolean} checked
25
- * @returns {Promise<void>}
26
- */
27
- setChecked(checked: boolean): Promise<void>;
28
- private getMark;
29
- private getLink;
30
- }
@@ -1,94 +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.CheckboxAtom = void 0;
23
- const tslib_1 = require("tslib");
24
- const protractor_1 = require("protractor");
25
- const atom_1 = require("../atom");
26
- class CheckboxAtom extends atom_1.Atom {
27
- constructor(element) {
28
- super(element);
29
- this.hoverLink = () => tslib_1.__awaiter(this, void 0, void 0, function* () {
30
- return protractor_1.browser
31
- .actions()
32
- .mouseMove(yield this.getLink().getWebElement())
33
- .perform();
34
- });
35
- this.isIndeterminate = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield this.getInputElement().getAttribute("indeterminate")) === "true"; });
36
- this.isRequired = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield this.getInputElement().getAttribute("required")) === "true"; });
37
- this.isDisabled = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return !(yield this.getInputElement().isEnabled()); });
38
- this.isChecked = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield this.getInputElement().getAttribute("checked")) === "true"; });
39
- /**
40
- * Toggle the checkbox value
41
- *
42
- * @returns {Promise<void>}
43
- */
44
- this.toggle = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.getMark().click(); });
45
- }
46
- getInputElement() {
47
- return super.getElement().element(protractor_1.by.className("nui-checkbox__input"));
48
- }
49
- getLabel() {
50
- return super.getElement().element(protractor_1.by.className("nui-checkbox__label"));
51
- }
52
- getContent() {
53
- const _super = Object.create(null, {
54
- getElement: { get: () => super.getElement }
55
- });
56
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
57
- return _super.getElement.call(this)
58
- .element(protractor_1.by.className("nui-checkbox__transclude"))
59
- .getText();
60
- });
61
- }
62
- getHelpHintText() {
63
- const _super = Object.create(null, {
64
- getElement: { get: () => super.getElement }
65
- });
66
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
67
- return _super.getElement.call(this)
68
- .element(protractor_1.by.className("nui-help-hint"))
69
- .getText();
70
- });
71
- }
72
- /**
73
- * Sets the checkbox value to the given value
74
- *
75
- * @param {boolean} checked
76
- * @returns {Promise<void>}
77
- */
78
- setChecked(checked) {
79
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
80
- if ((yield this.isChecked()) !== checked) {
81
- return yield this.toggle();
82
- }
83
- });
84
- }
85
- getMark() {
86
- return super.getElement().element(protractor_1.by.className("nui-checkbox__mark"));
87
- }
88
- getLink() {
89
- return super.getElement().element(protractor_1.by.className("link-in-checkbox"));
90
- }
91
- }
92
- exports.CheckboxAtom = CheckboxAtom;
93
- CheckboxAtom.CSS_CLASS = "nui-checkbox";
94
- //# sourceMappingURL=checkbox.atom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/checkbox.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,2CAAwD;AAGxD,kCAA+B;AAE/B,MAAa,YAAa,SAAQ,WAAI;IAGlC,YAAY,OAAsB;QAC9B,KAAK,CAAC,OAAO,CAAC,CAAC;QAyBZ,cAAS,GAAG,GAAwB,EAAE;YACzC,OAAA,oBAAO;iBACF,OAAO,EAAE;iBACT,SAAS,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,aAAa,EAAE,CAAC;iBAC/C,OAAO,EAAE,CAAA;UAAA,CAAC;QAEZ,oBAAe,GAAG,GAA2B,EAAE,wDAClD,OAAA,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,KAAK,MAAM,CAAA,GAAA,CAAC;QAErE,eAAU,GAAG,GAA2B,EAAE,wDAC7C,OAAA,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,KAAK,MAAM,CAAA,GAAA,CAAC;QAEh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AAC,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC1E,CAAC;IAEO,OAAO;QACX,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,eAAE,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACxE,CAAC;;AAxEL,oCAyEC;AAxEiB,sBAAS,GAAG,cAAc,AAAjB,CAAkB"}
@@ -1,32 +0,0 @@
1
- import { ElementArrayFinder, ElementFinder } from "protractor/built/element";
2
- import { Atom } from "../atom";
3
- export declare class ChipsAtom extends Atom {
4
- static CSS_CLASS: string;
5
- static verticalClass: string;
6
- static qtyLabelClass: string;
7
- static itemClass: string;
8
- static itemNameClass: string;
9
- static itemRemoveIconClass: string;
10
- static groupNameClass: string;
11
- static clearAllLinkClass: string;
12
- static chipsoverflowedClass: string;
13
- private root;
14
- private groups;
15
- isVertical(): Promise<boolean>;
16
- getChipElements: () => ElementArrayFinder;
17
- getChipsCount: () => Promise<number>;
18
- getChipElement: (index: number) => ElementFinder;
19
- getChipName: (element: ElementFinder) => Promise<string>;
20
- getChipsNames: () => Promise<string[]>;
21
- getChipsGroupNames: () => Promise<string[]>;
22
- getGroupsCount: () => Promise<number>;
23
- getGroupName: (element: ElementFinder) => Promise<string>;
24
- removeItem: (index: number) => Promise<void>;
25
- getClearAllLinkElement: () => ElementFinder;
26
- clearAll: () => Promise<void>;
27
- isVisible: () => Promise<boolean>;
28
- getChipsQuantityFromLabel(): Promise<number>;
29
- click: () => Promise<void>;
30
- getChipsOverflowElement: () => ElementFinder;
31
- getChipsOverflowCounter: () => Promise<string>;
32
- }
@@ -1,93 +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.ChipsAtom = void 0;
23
- const tslib_1 = require("tslib");
24
- const protractor_1 = require("protractor");
25
- const atom_1 = require("../atom");
26
- class ChipsAtom extends atom_1.Atom {
27
- constructor() {
28
- super(...arguments);
29
- this.root = this.getElement();
30
- this.groups = this.root.all(protractor_1.by.className(ChipsAtom.groupNameClass));
31
- this.getChipElements = () => this.root.all(protractor_1.by.className(ChipsAtom.itemClass));
32
- this.getChipsCount = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.getChipElements().count(); });
33
- this.getChipElement = (index) => this.getChipElements().get(index);
34
- this.getChipName = (element) => tslib_1.__awaiter(this, void 0, void 0, function* () { return element.all(protractor_1.by.className(ChipsAtom.itemNameClass)).first().getText(); });
35
- this.getChipsNames = () => tslib_1.__awaiter(this, void 0, void 0, function* () {
36
- return this.getChipElements().map((el) => tslib_1.__awaiter(this, void 0, void 0, function* () {
37
- if (!el) {
38
- throw new Error("elementFinder is not defined");
39
- }
40
- return yield this.getChipName(el);
41
- }));
42
- });
43
- this.getChipsGroupNames = () => tslib_1.__awaiter(this, void 0, void 0, function* () {
44
- return this.groups.map((el) => tslib_1.__awaiter(this, void 0, void 0, function* () {
45
- if (!el) {
46
- throw new Error("elementFinder is not defined");
47
- }
48
- return yield this.getGroupName(el);
49
- }));
50
- });
51
- this.getGroupsCount = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.groups.count(); });
52
- this.getGroupName = (element) => tslib_1.__awaiter(this, void 0, void 0, function* () { return element.getText(); });
53
- this.removeItem = (index) => tslib_1.__awaiter(this, void 0, void 0, function* () {
54
- return this.root
55
- .all(protractor_1.by.className(ChipsAtom.itemRemoveIconClass))
56
- .get(index)
57
- .click();
58
- });
59
- this.getClearAllLinkElement = () => this.root.element(protractor_1.by.className(ChipsAtom.clearAllLinkClass));
60
- this.clearAll = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.getClearAllLinkElement().click(); });
61
- this.isVisible = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return (yield this.isPresent()) && (yield this.isDisplayed()); });
62
- this.click = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.getElement().click(); });
63
- this.getChipsOverflowElement = () => this.root.element(protractor_1.by.className(ChipsAtom.chipsoverflowedClass));
64
- this.getChipsOverflowCounter = () => tslib_1.__awaiter(this, void 0, void 0, function* () { return this.getChipsOverflowElement().getText(); });
65
- }
66
- isVertical() {
67
- const _super = Object.create(null, {
68
- hasClass: { get: () => super.hasClass }
69
- });
70
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
71
- return _super.hasClass.call(this, ChipsAtom.verticalClass);
72
- });
73
- }
74
- getChipsQuantityFromLabel() {
75
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
76
- const t = yield this.root
77
- .element(protractor_1.by.className(ChipsAtom.qtyLabelClass))
78
- .getText();
79
- return +t.slice(1, -1);
80
- });
81
- }
82
- }
83
- exports.ChipsAtom = ChipsAtom;
84
- ChipsAtom.CSS_CLASS = "nui-chips";
85
- ChipsAtom.verticalClass = "nui-chips__vertical";
86
- ChipsAtom.qtyLabelClass = "nui-chips__count";
87
- ChipsAtom.itemClass = "nui-chip__value";
88
- ChipsAtom.itemNameClass = "nui-chip__value-name";
89
- ChipsAtom.itemRemoveIconClass = "nui-chip__value-remove";
90
- ChipsAtom.groupNameClass = "nui-chips__group-name";
91
- ChipsAtom.clearAllLinkClass = "nui-chips__clear";
92
- ChipsAtom.chipsoverflowedClass = "nui-chips-overflowed__counter";
93
- //# sourceMappingURL=chips.atom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chips.atom.js","sourceRoot":"","sources":["../../../../spec/atoms/chips.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;AAGhC,kCAA+B;AAE/B,MAAa,SAAU,SAAQ,WAAI;IAAnC;;QAWY,SAAI,GAAkB,IAAI,CAAC,UAAU,EAAE,CAAC;QACxC,WAAM,GAAuB,IAAI,CAAC,IAAI,CAAC,GAAG,CAC9C,eAAE,CAAC,SAAS,CAAC,SAAS,CAAC,cAAc,CAAC,CACzC,CAAC;QAMK,oBAAe,GAAG,GAAuB,EAAE,CAC9C,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,eAAE,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;QAE9C,kBAAa,GAAG,GAA0B,EAAE,wDAC/C,OAAA,IAAI,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,CAAA,GAAA,CAAC;QAE5B,mBAAc,GAAG,CAAC,KAAa,EAAiB,EAAE,CACrD,IAAI,CAAC,eAAe,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAE/B,gB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,kBAAkB,AAArB,CAAsB;AACnC,mBAAS,GAAG,iBAAiB,AAApB,CAAqB;AAC9B,uBAAa,GAAG,sBAAsB,AAAzB,CAA0B;AACvC,6BAAmB,GAAG,wBAAwB,AAA3B,CAA4B;AAC/C,wBAAc,GAAG,uBAAuB,AAA1B,CAA2B;AACzC,2BAAiB,GAAG,kBAAkB,AAArB,CAAsB;AACvC,8BAAoB,GAAG,+BAA+B,AAAlC,CAAmC"}
@@ -1,22 +0,0 @@
1
- import { ElementFinder } from "protractor";
2
- import { OverlayAtom } from "./overlay.atom";
3
- import { BaseSelectV2Atom } from "./base-select-v2.atom";
4
- export declare class ComboboxV2Atom extends BaseSelectV2Atom {
5
- static CSS_CLASS: string;
6
- static type(text: string): Promise<void>;
7
- popup: OverlayAtom;
8
- removeAllButton: ElementFinder;
9
- createOption: ElementFinder;
10
- toggleButton: ElementFinder;
11
- chips: import("protractor").ElementArrayFinder;
12
- activeChip: ElementFinder;
13
- activeOption: ElementFinder;
14
- removeAll(): Promise<void>;
15
- removeChips(amount: number): Promise<void>;
16
- selectAll(): Promise<void>;
17
- selectFirst(numberOfItems?: number): Promise<void>;
18
- getInputValue(): Promise<string>;
19
- getSelectionStart(): Promise<number>;
20
- getSelectionEnd(): Promise<number>;
21
- getSelectionRange(): Promise<number>;
22
- }