@nova-ui/bits 19.0.2 → 20.0.2-6712
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 +1 -1
- package/fesm2022/nova-ui-bits.mjs +886 -847
- package/fesm2022/nova-ui-bits.mjs.map +1 -1
- package/index.d.ts +9397 -3
- package/package.json +9 -1
- package/sdk/atoms/atom.js.map +1 -1
- package/sdk/atoms/atoms/base-select-v2.atom.d.ts +30 -0
- package/sdk/atoms/atoms/base-select-v2.atom.js +125 -0
- package/sdk/atoms/atoms/base-select-v2.atom.js.map +1 -0
- package/sdk/atoms/atoms/basic-select.atom.d.ts +21 -0
- package/sdk/atoms/atoms/basic-select.atom.js +56 -0
- package/sdk/atoms/atoms/basic-select.atom.js.map +1 -0
- package/sdk/atoms/atoms/breadcrumb.atom.d.ts +11 -0
- package/sdk/atoms/atoms/breadcrumb.atom.js +46 -0
- package/sdk/atoms/atoms/breadcrumb.atom.js.map +1 -0
- package/sdk/atoms/atoms/busy.atom.d.ts +12 -0
- package/sdk/atoms/atoms/busy.atom.js +41 -0
- package/sdk/atoms/atoms/busy.atom.js.map +1 -0
- package/sdk/atoms/atoms/button.atom.d.ts +19 -0
- package/sdk/atoms/atoms/button.atom.js +63 -0
- package/sdk/atoms/atoms/button.atom.js.map +1 -0
- package/sdk/atoms/atoms/cdk-drop-item.atom.d.ts +10 -0
- package/sdk/atoms/atoms/cdk-drop-item.atom.js +58 -0
- package/sdk/atoms/atoms/cdk-drop-item.atom.js.map +1 -0
- package/sdk/atoms/atoms/cdk-drop-list.atom.d.ts +8 -0
- package/sdk/atoms/atoms/cdk-drop-list.atom.js +42 -0
- package/sdk/atoms/atoms/cdk-drop-list.atom.js.map +1 -0
- package/sdk/atoms/atoms/checkbox-group.atom.d.ts +11 -0
- package/sdk/atoms/atoms/checkbox-group.atom.js +69 -0
- package/sdk/atoms/atoms/checkbox-group.atom.js.map +1 -0
- package/sdk/atoms/atoms/checkbox.atom.d.ts +30 -0
- package/sdk/atoms/atoms/checkbox.atom.js +94 -0
- package/sdk/atoms/atoms/checkbox.atom.js.map +1 -0
- package/sdk/atoms/atoms/chips.atom.d.ts +32 -0
- package/sdk/atoms/atoms/chips.atom.js +93 -0
- package/sdk/atoms/atoms/chips.atom.js.map +1 -0
- package/sdk/atoms/atoms/combobox-v2.atom.d.ts +22 -0
- package/sdk/atoms/atoms/combobox-v2.atom.js +100 -0
- package/sdk/atoms/atoms/combobox-v2.atom.js.map +1 -0
- package/sdk/atoms/atoms/combobox.atom.d.ts +29 -0
- package/sdk/atoms/atoms/combobox.atom.js +67 -0
- package/sdk/atoms/atoms/combobox.atom.js.map +1 -0
- package/sdk/atoms/atoms/content.atom.d.ts +6 -0
- package/sdk/atoms/atoms/content.atom.js +40 -0
- package/sdk/atoms/atoms/content.atom.js.map +1 -0
- package/sdk/atoms/atoms/datepicker.atom.d.ts +57 -0
- package/sdk/atoms/atoms/datepicker.atom.js +204 -0
- package/sdk/atoms/atoms/datepicker.atom.js.map +1 -0
- package/sdk/atoms/atoms/datetimepicker.atom.d.ts +9 -0
- package/sdk/atoms/atoms/datetimepicker.atom.js +43 -0
- package/sdk/atoms/atoms/datetimepicker.atom.js.map +1 -0
- package/sdk/atoms/atoms/dialog.atom.d.ts +18 -0
- package/sdk/atoms/atoms/dialog.atom.js +77 -0
- package/sdk/atoms/atoms/dialog.atom.js.map +1 -0
- package/sdk/atoms/atoms/divider.atom.d.ts +6 -0
- package/sdk/atoms/atoms/divider.atom.js +45 -0
- package/sdk/atoms/atoms/divider.atom.js.map +1 -0
- package/sdk/atoms/atoms/expander.atom.d.ts +19 -0
- package/sdk/atoms/atoms/expander.atom.js +90 -0
- package/sdk/atoms/atoms/expander.atom.js.map +1 -0
- package/sdk/atoms/atoms/form-field.atom.d.ts +12 -0
- package/sdk/atoms/atoms/form-field.atom.js +73 -0
- package/sdk/atoms/atoms/form-field.atom.js.map +1 -0
- package/sdk/atoms/atoms/freetype-query-builder.atom.d.ts +9 -0
- package/sdk/atoms/atoms/freetype-query-builder.atom.js +51 -0
- package/sdk/atoms/atoms/freetype-query-builder.atom.js.map +1 -0
- package/sdk/atoms/atoms/icon.atom.d.ts +21 -0
- package/sdk/atoms/atoms/icon.atom.js +91 -0
- package/sdk/atoms/atoms/icon.atom.js.map +1 -0
- package/sdk/atoms/atoms/image.atom.d.ts +8 -0
- package/sdk/atoms/atoms/image.atom.js +61 -0
- package/sdk/atoms/atoms/image.atom.js.map +1 -0
- package/sdk/atoms/atoms/layout-sheet-group.atom.d.ts +14 -0
- package/sdk/atoms/atoms/layout-sheet-group.atom.js +91 -0
- package/sdk/atoms/atoms/layout-sheet-group.atom.js.map +1 -0
- package/sdk/atoms/atoms/layout-sheet.atom.d.ts +6 -0
- package/sdk/atoms/atoms/layout-sheet.atom.js +45 -0
- package/sdk/atoms/atoms/layout-sheet.atom.js.map +1 -0
- package/sdk/atoms/atoms/menu-item.atom.d.ts +13 -0
- package/sdk/atoms/atoms/menu-item.atom.js +117 -0
- package/sdk/atoms/atoms/menu-item.atom.js.map +1 -0
- package/sdk/atoms/atoms/menu-popup.atom.d.ts +11 -0
- package/sdk/atoms/atoms/menu-popup.atom.js +57 -0
- package/sdk/atoms/atoms/menu-popup.atom.js.map +1 -0
- package/sdk/atoms/atoms/menu.atom.d.ts +43 -0
- package/sdk/atoms/atoms/menu.atom.js +116 -0
- package/sdk/atoms/atoms/menu.atom.js.map +1 -0
- package/sdk/atoms/atoms/message.atom.d.ts +16 -0
- package/sdk/atoms/atoms/message.atom.js +51 -0
- package/sdk/atoms/atoms/message.atom.js.map +1 -0
- package/sdk/atoms/atoms/overlay-content.atom.d.ts +7 -0
- package/sdk/atoms/atoms/overlay-content.atom.js +35 -0
- package/sdk/atoms/atoms/overlay-content.atom.js.map +1 -0
- package/sdk/atoms/atoms/overlay.atom.d.ts +11 -0
- package/sdk/atoms/atoms/overlay.atom.js +41 -0
- package/sdk/atoms/atoms/overlay.atom.js.map +1 -0
- package/sdk/atoms/atoms/paginator.atom.d.ts +29 -0
- package/sdk/atoms/atoms/paginator.atom.js +199 -0
- package/sdk/atoms/atoms/paginator.atom.js.map +1 -0
- package/sdk/atoms/atoms/panel.atom.d.ts +29 -0
- package/sdk/atoms/atoms/panel.atom.js +120 -0
- package/sdk/atoms/atoms/panel.atom.js.map +1 -0
- package/sdk/atoms/atoms/popover.atom.d.ts +28 -0
- package/sdk/atoms/atoms/popover.atom.js +94 -0
- package/sdk/atoms/atoms/popover.atom.js.map +1 -0
- package/sdk/atoms/atoms/popup.atom.d.ts +16 -0
- package/sdk/atoms/atoms/popup.atom.js +68 -0
- package/sdk/atoms/atoms/popup.atom.js.map +1 -0
- package/sdk/atoms/atoms/progress.atom.d.ts +14 -0
- package/sdk/atoms/atoms/progress.atom.js +65 -0
- package/sdk/atoms/atoms/progress.atom.js.map +1 -0
- package/sdk/atoms/atoms/public_api.d.ts +65 -0
- package/sdk/atoms/atoms/public_api.js +69 -0
- package/sdk/atoms/atoms/public_api.js.map +1 -0
- package/sdk/atoms/atoms/quick-picker.atom.d.ts +8 -0
- package/sdk/atoms/atoms/quick-picker.atom.js +49 -0
- package/sdk/atoms/atoms/quick-picker.atom.js.map +1 -0
- package/sdk/atoms/atoms/radio-group.atom.d.ts +13 -0
- package/sdk/atoms/atoms/radio-group.atom.js +76 -0
- package/sdk/atoms/atoms/radio-group.atom.js.map +1 -0
- package/sdk/atoms/atoms/repeat.atom.d.ts +27 -0
- package/sdk/atoms/atoms/repeat.atom.js +123 -0
- package/sdk/atoms/atoms/repeat.atom.js.map +1 -0
- package/sdk/atoms/atoms/resizer.atom.d.ts +12 -0
- package/sdk/atoms/atoms/resizer.atom.js +52 -0
- package/sdk/atoms/atoms/resizer.atom.js.map +1 -0
- package/sdk/atoms/atoms/search.atom.d.ts +12 -0
- package/sdk/atoms/atoms/search.atom.js +81 -0
- package/sdk/atoms/atoms/search.atom.js.map +1 -0
- package/sdk/atoms/atoms/select-v2-option.atom.d.ts +7 -0
- package/sdk/atoms/atoms/select-v2-option.atom.js +44 -0
- package/sdk/atoms/atoms/select-v2-option.atom.js.map +1 -0
- package/sdk/atoms/atoms/select-v2.atom.js.map +1 -0
- package/sdk/atoms/atoms/select.atom.js.map +1 -0
- package/sdk/atoms/atoms/selector.atom.d.ts +22 -0
- package/sdk/atoms/atoms/selector.atom.js +90 -0
- package/sdk/atoms/atoms/selector.atom.js.map +1 -0
- package/sdk/atoms/atoms/sorter.atom.d.ts +33 -0
- package/sdk/atoms/atoms/sorter.atom.js +123 -0
- package/sdk/atoms/atoms/sorter.atom.js.map +1 -0
- package/sdk/atoms/atoms/spinner.atom.d.ts +12 -0
- package/sdk/atoms/atoms/spinner.atom.js +45 -0
- package/sdk/atoms/atoms/spinner.atom.js.map +1 -0
- package/sdk/atoms/atoms/switch.atom.d.ts +14 -0
- package/sdk/atoms/atoms/switch.atom.js +73 -0
- package/sdk/atoms/atoms/switch.atom.js.map +1 -0
- package/sdk/atoms/atoms/tab-heading-group.atom.d.ts +16 -0
- package/sdk/atoms/atoms/tab-heading-group.atom.js +108 -0
- package/sdk/atoms/atoms/tab-heading-group.atom.js.map +1 -0
- package/sdk/atoms/atoms/tab-heading.atom.d.ts +8 -0
- package/sdk/atoms/atoms/tab-heading.atom.js +52 -0
- package/sdk/atoms/atoms/tab-heading.atom.js.map +1 -0
- package/sdk/atoms/atoms/table.atom.d.ts +73 -0
- package/sdk/atoms/atoms/table.atom.js +210 -0
- package/sdk/atoms/atoms/table.atom.js.map +1 -0
- package/sdk/atoms/atoms/textbox-number.atom.d.ts +18 -0
- package/sdk/atoms/atoms/textbox-number.atom.js +53 -0
- package/sdk/atoms/atoms/textbox-number.atom.js.map +1 -0
- package/sdk/atoms/atoms/textbox.atom.d.ts +22 -0
- package/sdk/atoms/atoms/textbox.atom.js +59 -0
- package/sdk/atoms/atoms/textbox.atom.js.map +1 -0
- package/sdk/atoms/atoms/time-frame-bar.atom.d.ts +22 -0
- package/sdk/atoms/atoms/time-frame-bar.atom.js +84 -0
- package/sdk/atoms/atoms/time-frame-bar.atom.js.map +1 -0
- package/sdk/atoms/atoms/time-frame-picker.atom.d.ts +7 -0
- package/sdk/atoms/atoms/time-frame-picker.atom.js +36 -0
- package/sdk/atoms/atoms/time-frame-picker.atom.js.map +1 -0
- package/sdk/atoms/atoms/timepicker.atom.d.ts +18 -0
- package/sdk/atoms/atoms/timepicker.atom.js +64 -0
- package/sdk/atoms/atoms/timepicker.atom.js.map +1 -0
- package/sdk/atoms/atoms/toast.atom.d.ts +28 -0
- package/sdk/atoms/atoms/toast.atom.js +67 -0
- package/sdk/atoms/atoms/toast.atom.js.map +1 -0
- package/sdk/atoms/atoms/toolbar.atom.d.ts +18 -0
- package/sdk/atoms/atoms/toolbar.atom.js +87 -0
- package/sdk/atoms/atoms/toolbar.atom.js.map +1 -0
- package/sdk/atoms/atoms/tooltip.atom.d.ts +9 -0
- package/sdk/atoms/atoms/tooltip.atom.js +38 -0
- package/sdk/atoms/atoms/tooltip.atom.js.map +1 -0
- package/sdk/atoms/atoms/tree.atom.d.ts +17 -0
- package/sdk/atoms/atoms/tree.atom.js +87 -0
- package/sdk/atoms/atoms/tree.atom.js.map +1 -0
- package/sdk/atoms/atoms/wizard-step.atom.d.ts +11 -0
- package/sdk/atoms/atoms/wizard-step.atom.js +52 -0
- package/sdk/atoms/atoms/wizard-step.atom.js.map +1 -0
- package/sdk/atoms/atoms/wizard-v2-footer.atom.d.ts +7 -0
- package/sdk/atoms/atoms/wizard-v2-footer.atom.js +36 -0
- package/sdk/atoms/atoms/wizard-v2-footer.atom.js.map +1 -0
- package/sdk/atoms/atoms/wizard-v2-step-header.atom.d.ts +7 -0
- package/sdk/atoms/atoms/wizard-v2-step-header.atom.js +41 -0
- package/sdk/atoms/atoms/wizard-v2-step-header.atom.js.map +1 -0
- package/sdk/atoms/atoms/wizard-v2-step.atom.d.ts +5 -0
- package/sdk/atoms/atoms/wizard-v2-step.atom.js +32 -0
- package/sdk/atoms/atoms/wizard-v2-step.atom.js.map +1 -0
- package/sdk/atoms/atoms/wizard-v2.atom.d.ts +18 -0
- package/sdk/atoms/atoms/wizard-v2.atom.js +85 -0
- package/sdk/atoms/atoms/wizard-v2.atom.js.map +1 -0
- package/sdk/atoms/atoms/wizard.atom.d.ts +22 -0
- package/sdk/atoms/atoms/wizard.atom.js +91 -0
- package/sdk/atoms/atoms/wizard.atom.js.map +1 -0
- package/sdk/atoms/index.d.ts +1 -2
- package/sdk/atoms/index.js +1 -2
- package/sdk/atoms/index.js.map +1 -1
- package/sdk/atoms-playwright/atom.d.ts +37 -0
- package/sdk/atoms-playwright/atom.js +102 -0
- package/sdk/atoms-playwright/atom.js.map +1 -0
- package/sdk/atoms-playwright/components/breadcrumb/breadcrumb.atom.d.ts +8 -0
- package/sdk/atoms-playwright/components/breadcrumb/breadcrumb.atom.js +18 -0
- package/sdk/atoms-playwright/components/breadcrumb/breadcrumb.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/busy/busy.atom.d.ts +12 -0
- package/sdk/atoms-playwright/components/busy/busy.atom.js +45 -0
- package/sdk/atoms-playwright/components/busy/busy.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/button/button.atom.d.ts +16 -0
- package/sdk/atoms-playwright/components/button/button.atom.js +38 -0
- package/sdk/atoms-playwright/components/button/button.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/checkbox/checkbox.atom.d.ts +33 -0
- package/sdk/atoms-playwright/components/checkbox/checkbox.atom.js +67 -0
- package/sdk/atoms-playwright/components/checkbox/checkbox.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/checkbox-group/checkbox-group.atom.d.ts +13 -0
- package/sdk/atoms-playwright/components/checkbox-group/checkbox-group.atom.js +67 -0
- package/sdk/atoms-playwright/components/checkbox-group/checkbox-group.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/chips/chips.atom.d.ts +20 -0
- package/sdk/atoms-playwright/components/chips/chips.atom.js +49 -0
- package/sdk/atoms-playwright/components/chips/chips.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/datepicker/datepicker.atom.d.ts +56 -0
- package/sdk/atoms-playwright/components/datepicker/datepicker.atom.js +166 -0
- package/sdk/atoms-playwright/components/datepicker/datepicker.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/datetimepicker/datetimepicker.atom.d.ts +9 -0
- package/sdk/atoms-playwright/components/datetimepicker/datetimepicker.atom.js +36 -0
- package/sdk/atoms-playwright/components/datetimepicker/datetimepicker.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/dialog/dialog.atom.d.ts +19 -0
- package/sdk/atoms-playwright/components/dialog/dialog.atom.js +69 -0
- package/sdk/atoms-playwright/components/dialog/dialog.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/icon/icon.atom.d.ts +20 -0
- package/sdk/atoms-playwright/components/icon/icon.atom.js +43 -0
- package/sdk/atoms-playwright/components/icon/icon.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/menu/menu-item.atom.d.ts +13 -0
- package/sdk/atoms-playwright/components/menu/menu-item.atom.js +66 -0
- package/sdk/atoms-playwright/components/menu/menu-item.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/menu/menu.atom.d.ts +36 -0
- package/sdk/atoms-playwright/components/menu/menu.atom.js +150 -0
- package/sdk/atoms-playwright/components/menu/menu.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/menu-popup/menu-popup.atom.d.ts +11 -0
- package/sdk/atoms-playwright/components/menu-popup/menu-popup.atom.js +29 -0
- package/sdk/atoms-playwright/components/menu-popup/menu-popup.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/overlay/overlay.atom.d.ts +14 -0
- package/sdk/atoms-playwright/components/overlay/overlay.atom.js +27 -0
- package/sdk/atoms-playwright/components/overlay/overlay.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/paginator/paginator.atom.d.ts +29 -0
- package/sdk/atoms-playwright/components/paginator/paginator.atom.js +137 -0
- package/sdk/atoms-playwright/components/paginator/paginator.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/popover/popover.atom.d.ts +27 -0
- package/sdk/atoms-playwright/components/popover/popover.atom.js +103 -0
- package/sdk/atoms-playwright/components/popover/popover.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/popup/overlay-content.atom.d.ts +6 -0
- package/sdk/atoms-playwright/components/popup/overlay-content.atom.js +9 -0
- package/sdk/atoms-playwright/components/popup/overlay-content.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/popup/popup.atom.d.ts +18 -0
- package/sdk/atoms-playwright/components/popup/popup.atom.js +49 -0
- package/sdk/atoms-playwright/components/popup/popup.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/progress/progress.atom.d.ts +16 -0
- package/sdk/atoms-playwright/components/progress/progress.atom.js +64 -0
- package/sdk/atoms-playwright/components/progress/progress.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/public_api.d.ts +32 -0
- package/sdk/atoms-playwright/components/public_api.js +52 -0
- package/sdk/atoms-playwright/components/public_api.js.map +1 -0
- package/sdk/atoms-playwright/components/search/search.atom.d.ts +14 -0
- package/sdk/atoms-playwright/components/search/search.atom.js +59 -0
- package/sdk/atoms-playwright/components/search/search.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/select/basic-select.atom.d.ts +23 -0
- package/sdk/atoms-playwright/components/select/basic-select.atom.js +78 -0
- package/sdk/atoms-playwright/components/select/basic-select.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/select/select.atom.d.ts +11 -0
- package/sdk/atoms-playwright/components/select/select.atom.js +45 -0
- package/sdk/atoms-playwright/components/select/select.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.d.ts +38 -0
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.js +122 -0
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/select-v2/select-v2-option.atom.d.ts +6 -0
- package/sdk/atoms-playwright/components/select-v2/select-v2-option.atom.js +30 -0
- package/sdk/atoms-playwright/components/select-v2/select-v2-option.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/select-v2/select-v2.atom.d.ts +4 -0
- package/sdk/atoms-playwright/components/select-v2/select-v2.atom.js +24 -0
- package/sdk/atoms-playwright/components/select-v2/select-v2.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/selector/selector.atom.d.ts +24 -0
- package/sdk/atoms-playwright/components/selector/selector.atom.js +62 -0
- package/sdk/atoms-playwright/components/selector/selector.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/spinner/spinner.atom.d.ts +14 -0
- package/sdk/atoms-playwright/components/spinner/spinner.atom.js +48 -0
- package/sdk/atoms-playwright/components/spinner/spinner.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/switch/switch.atom.d.ts +16 -0
- package/sdk/atoms-playwright/components/switch/switch.atom.js +57 -0
- package/sdk/atoms-playwright/components/switch/switch.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/table/table.atom.d.ts +84 -0
- package/sdk/atoms-playwright/components/table/table.atom.js +189 -0
- package/sdk/atoms-playwright/components/table/table.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/textbox/textbox.atom.d.ts +16 -0
- package/sdk/atoms-playwright/components/textbox/textbox.atom.js +25 -0
- package/sdk/atoms-playwright/components/textbox/textbox.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/textbox-number/textbox-number.atom.d.ts +21 -0
- package/sdk/atoms-playwright/components/textbox-number/textbox-number.atom.js +73 -0
- package/sdk/atoms-playwright/components/textbox-number/textbox-number.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/timepicker/timepicker.atom.d.ts +19 -0
- package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js +63 -0
- package/sdk/atoms-playwright/components/timepicker/timepicker.atom.js.map +1 -0
- package/sdk/atoms-playwright/index.d.ts +4 -0
- package/sdk/atoms-playwright/index.js +5 -0
- package/sdk/atoms-playwright/index.js.map +1 -0
- package/sdk/atoms-playwright/setup.d.ts +41 -0
- package/sdk/atoms-playwright/setup.js +174 -0
- package/sdk/atoms-playwright/setup.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/Camera.d.ts +21 -0
- package/sdk/atoms-playwright/virtual-camera/Camera.js +50 -0
- package/sdk/atoms-playwright/virtual-camera/Camera.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/camera-engine.d.ts +13 -0
- package/sdk/atoms-playwright/virtual-camera/camera-engine.js +68 -0
- package/sdk/atoms-playwright/virtual-camera/camera-engine.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/camera-settings.d.ts +10 -0
- package/sdk/atoms-playwright/virtual-camera/camera-settings.js +46 -0
- package/sdk/atoms-playwright/virtual-camera/camera-settings.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/camera-toggle.d.ts +7 -0
- package/sdk/atoms-playwright/virtual-camera/camera-toggle.js +31 -0
- package/sdk/atoms-playwright/virtual-camera/camera-toggle.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/eyes-lens.d.ts +15 -0
- package/sdk/atoms-playwright/virtual-camera/eyes-lens.js +45 -0
- package/sdk/atoms-playwright/virtual-camera/eyes-lens.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/percy-lens.d.ts +17 -0
- package/sdk/atoms-playwright/virtual-camera/percy-lens.js +58 -0
- package/sdk/atoms-playwright/virtual-camera/percy-lens.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/public_api.d.ts +2 -0
- package/sdk/atoms-playwright/virtual-camera/public_api.js +22 -0
- package/sdk/atoms-playwright/virtual-camera/public_api.js.map +1 -0
- package/sdk/atoms-playwright/virtual-camera/types.d.ts +35 -0
- package/sdk/atoms-playwright/virtual-camera/types.js +46 -0
- package/sdk/atoms-playwright/virtual-camera/types.js.map +1 -0
- package/sdk/schematics/ng-add/index.js +2 -1
- package/sdk/schematics/ng-add/index.js.map +1 -1
- package/sdk/schematics/utility/schematics-helper.d.ts +2 -1
- package/sdk/schematics/utility/schematics-helper.js +7 -1
- package/sdk/schematics/utility/schematics-helper.js.map +1 -1
- package/animations/expand.d.ts +0 -6
- package/animations/fadeIn.d.ts +0 -7
- package/common/common.module.d.ts +0 -24
- package/common/directives/click-filter/click-filter.directive.d.ts +0 -15
- package/common/directives/click-filter/public-api.d.ts +0 -5
- package/common/directives/click-interceptor/click-interceptor.directive.d.ts +0 -19
- package/common/directives/clipboard/clipboard.directive.d.ts +0 -38
- package/common/directives/dragdrop/drag-and-drop.service.d.ts +0 -17
- package/common/directives/dragdrop/dragdrop.constants.d.ts +0 -8
- package/common/directives/dragdrop/draggable.directive.d.ts +0 -70
- package/common/directives/dragdrop/droppable.directive.d.ts +0 -80
- package/common/directives/dragdrop/public-api.d.ts +0 -24
- package/common/directives/index.d.ts +0 -10
- package/common/directives/public-api.d.ts +0 -3
- package/common/directives/resize/resize.directive.d.ts +0 -64
- package/common/directives/resize-observer/resize-observer.directive.d.ts +0 -19
- package/common/directives/resizer/public-api.d.ts +0 -25
- package/common/directives/resizer/resizer.directive.d.ts +0 -90
- package/common/directives/set-focus/set-focus.directive.d.ts +0 -39
- package/common/directives/zoom-content/zoom-content.directive.d.ts +0 -49
- package/constants/button.constants.d.ts +0 -10
- package/constants/color-picker.constants.d.ts +0 -5
- package/constants/dragdrop.constants.d.ts +0 -8
- package/constants/event.constants.d.ts +0 -6
- package/constants/images.constants.d.ts +0 -3
- package/constants/images.d.ts +0 -7
- package/constants/interaction.constants.d.ts +0 -4
- package/constants/keycode.constants.d.ts +0 -40
- package/constants/path.constants.d.ts +0 -3
- package/constants/popover.constants.d.ts +0 -5
- package/constants/public-api.d.ts +0 -12
- package/constants/regex.constants.d.ts +0 -4
- package/constants/resize.constants.d.ts +0 -1
- package/constants/unit-conversion.constants.d.ts +0 -26
- package/constants/wizard.constants.d.ts +0 -5
- package/environment.d.ts +0 -27
- package/functions/color.helper.d.ts +0 -1
- package/functions/immutable-set.d.ts +0 -8
- package/functions/nameof.d.ts +0 -7
- package/functions/public-api.d.ts +0 -6
- package/functions/remove-errors.d.ts +0 -8
- package/functions/traverse.d.ts +0 -3
- package/functions/uuid.d.ts +0 -1
- package/lib/breadcrumb/breadcrumb-state.service.d.ts +0 -13
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -11
- package/lib/breadcrumb/breadcrumb.module.d.ts +0 -12
- package/lib/breadcrumb/public-api.d.ts +0 -5
- package/lib/busy/busy.component.d.ts +0 -28
- package/lib/busy/busy.module.d.ts +0 -12
- package/lib/busy/public-api.d.ts +0 -9
- package/lib/button/button.component.d.ts +0 -82
- package/lib/button/button.module.d.ts +0 -12
- package/lib/button/public-api.d.ts +0 -5
- package/lib/checkbox/checkbox-group.component.d.ts +0 -50
- package/lib/checkbox/checkbox.component.d.ts +0 -96
- package/lib/checkbox/checkbox.module.d.ts +0 -12
- package/lib/checkbox/public-api.d.ts +0 -20
- package/lib/chips/chip/chip.component.d.ts +0 -33
- package/lib/chips/chips-overflow/chips-overflow.component.d.ts +0 -17
- package/lib/chips/chips-overflow.service.d.ts +0 -31
- package/lib/chips/chips.component.d.ts +0 -98
- package/lib/chips/chips.module.d.ts +0 -15
- package/lib/chips/public-api.d.ts +0 -23
- package/lib/color-picker/color-picker.component.d.ts +0 -56
- package/lib/color-picker/color-picker.module.d.ts +0 -13
- package/lib/color-picker/color.service.d.ts +0 -8
- package/lib/content/content.component.d.ts +0 -11
- package/lib/content/content.module.d.ts +0 -11
- package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +0 -67
- package/lib/convenience/time-frame-bar/time-frame-bar.module.d.ts +0 -19
- package/lib/date-picker/date-picker-day-picker.component.d.ts +0 -18
- package/lib/date-picker/date-picker-inner.component.d.ts +0 -74
- package/lib/date-picker/date-picker-month-picker.component.d.ts +0 -14
- package/lib/date-picker/date-picker-year-picker.component.d.ts +0 -14
- package/lib/date-picker/date-picker.component.d.ts +0 -114
- package/lib/date-picker/date-picker.module.d.ts +0 -19
- package/lib/date-picker/public-api.d.ts +0 -32
- package/lib/date-time-picker/date-time-picker.component.d.ts +0 -54
- package/lib/date-time-picker/date-time-picker.module.d.ts +0 -13
- package/lib/dialog/confirmation-dialog.component.d.ts +0 -26
- package/lib/dialog/dialog-backdrop.component.d.ts +0 -8
- package/lib/dialog/dialog-footer.component.d.ts +0 -8
- package/lib/dialog/dialog-header.component.d.ts +0 -26
- package/lib/dialog/dialog-ref.d.ts +0 -27
- package/lib/dialog/dialog-stack.service.d.ts +0 -27
- package/lib/dialog/dialog.component.d.ts +0 -46
- package/lib/dialog/dialog.module.d.ts +0 -18
- package/lib/dialog/dialog.service.d.ts +0 -20
- package/lib/dialog/public-api.d.ts +0 -69
- package/lib/divider/divider.component.d.ts +0 -21
- package/lib/divider/divider.module.d.ts +0 -11
- package/lib/divider/public-api.d.ts +0 -2
- package/lib/dnd/dnd-drop-target.directive.d.ts +0 -22
- package/lib/dnd/dnd.module.d.ts +0 -11
- package/lib/dnd/public-api.d.ts +0 -2
- package/lib/docs/copy-text/copy-text.component.d.ts +0 -12
- package/lib/docs/docs.module.d.ts +0 -26
- package/lib/docs/example-code/example-code.component.d.ts +0 -43
- package/lib/docs/example-wrapper/code-sandbox-files.d.ts +0 -15
- package/lib/docs/example-wrapper/code-sandbox.service.d.ts +0 -12
- package/lib/docs/example-wrapper/example-wrapper.component.d.ts +0 -23
- package/lib/docs/live-example-files/angular.json.d.ts +0 -1
- package/lib/docs/live-example-files/app.component.d.ts +0 -1
- package/lib/docs/live-example-files/app.module.d.ts +0 -1
- package/lib/docs/live-example-files/index.html.d.ts +0 -1
- package/lib/docs/live-example-files/main.d.ts +0 -1
- package/lib/docs/live-example-files/package.json.d.ts +0 -33
- package/lib/docs/live-example-files/polyfills.d.ts +0 -1
- package/lib/docs/live-example-files/tsconfig.json.d.ts +0 -1
- package/lib/docs/public-api.d.ts +0 -1
- package/lib/docs/services/sources.service.d.ts +0 -21
- package/lib/docs/srlc-indicator/public-api.d.ts +0 -16
- package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +0 -16
- package/lib/docs/theme-switcher/theme-switcher.component.d.ts +0 -12
- package/lib/dragdrop/dragdrop.module.d.ts +0 -13
- package/lib/dragdrop/draggable.component.d.ts +0 -21
- package/lib/dragdrop/droppable.component.d.ts +0 -16
- package/lib/dragdrop/public-api.d.ts +0 -2
- package/lib/expander/expander.component.d.ts +0 -44
- package/lib/expander/expander.module.d.ts +0 -12
- package/lib/form-field/form-field.component.d.ts +0 -49
- package/lib/form-field/form-field.module.d.ts +0 -13
- package/lib/form-field/public-api.d.ts +0 -12
- package/lib/form-field/touched-changes-helper.d.ts +0 -12
- package/lib/freetype-query-builder/freetype-query-builder.component.d.ts +0 -87
- package/lib/freetype-query-builder/freetype-query-builder.module.d.ts +0 -21
- package/lib/freetype-query-builder/helpers/freetype-query-utils.service.d.ts +0 -9
- package/lib/freetype-query-builder/helpers/window.d.ts +0 -3
- package/lib/freetype-query-builder/models.d.ts +0 -44
- package/lib/freetype-query-builder/public-api.d.ts +0 -1
- package/lib/freetype-query-builder/text-highlight-overlay/text-highlight-overlay-component.d.ts +0 -35
- package/lib/icon/icon.component.d.ts +0 -37
- package/lib/icon/icon.module.d.ts +0 -11
- package/lib/icon/icon.service.d.ts +0 -23
- package/lib/icon/icons.d.ts +0 -6
- package/lib/icon/public-api.d.ts +0 -1
- package/lib/icon/types.d.ts +0 -92
- package/lib/image/image.component.d.ts +0 -61
- package/lib/image/image.module.d.ts +0 -11
- package/lib/image/public-api.d.ts +0 -8
- package/lib/layout/card/card.component.d.ts +0 -11
- package/lib/layout/card-group/card-group.component.d.ts +0 -11
- package/lib/layout/layout-resizer/layout-resizer.component.d.ts +0 -31
- package/lib/layout/layout.module.d.ts +0 -12
- package/lib/layout/public-api.d.ts +0 -4
- package/lib/layout/sheet/sheet.component.d.ts +0 -17
- package/lib/layout/sheet-group/sheet-group.component.d.ts +0 -52
- package/lib/menu/index.d.ts +0 -9
- package/lib/menu/menu/menu.component.d.ts +0 -84
- package/lib/menu/menu-item/menu-action/menu-action.component.d.ts +0 -26
- package/lib/menu/menu-item/menu-group/menu-group.component.d.ts +0 -8
- package/lib/menu/menu-item/menu-item/menu-item-base.d.ts +0 -32
- package/lib/menu/menu-item/menu-item/menu-item.component.d.ts +0 -19
- package/lib/menu/menu-item/menu-link/menu-link.component.d.ts +0 -31
- package/lib/menu/menu-item/menu-option/menu-option.component.d.ts +0 -33
- package/lib/menu/menu-item/menu-switch/menu-switch.component.d.ts +0 -26
- package/lib/menu/menu-key-control.service.d.ts +0 -42
- package/lib/menu/menu-popup/menu-popup.component.d.ts +0 -25
- package/lib/menu/menu.module.d.ts +0 -24
- package/lib/menu/public-api.d.ts +0 -31
- package/lib/message/message.component.d.ts +0 -33
- package/lib/message/message.module.d.ts +0 -13
- package/lib/overlay/arrow-component/overlay-arrow.component.d.ts +0 -9
- package/lib/overlay/constants.d.ts +0 -7
- package/lib/overlay/overlay-additions.module.d.ts +0 -11
- package/lib/overlay/overlay-component/overlay.component.d.ts +0 -60
- package/lib/overlay/overlay-container.service.d.ts +0 -17
- package/lib/overlay/overlay-custom-container.d.ts +0 -19
- package/lib/overlay/overlay-item/overlay-item.component.d.ts +0 -23
- package/lib/overlay/overlay-position.service.d.ts +0 -26
- package/lib/overlay/overlay-utilities.service.d.ts +0 -10
- package/lib/overlay/overlay.module.d.ts +0 -13
- package/lib/overlay/overlay.service.d.ts +0 -36
- package/lib/overlay/public-api.d.ts +0 -8
- package/lib/overlay/types.d.ts +0 -54
- package/lib/paginator/paginator.component.d.ts +0 -164
- package/lib/paginator/paginator.module.d.ts +0 -15
- package/lib/paginator/public-api.d.ts +0 -11
- package/lib/panel/panel.component.d.ts +0 -123
- package/lib/panel/panel.module.d.ts +0 -12
- package/lib/panel/public-api.d.ts +0 -19
- package/lib/popover/popover-modal.component.d.ts +0 -62
- package/lib/popover/popover-modal.service.d.ts +0 -45
- package/lib/popover/popover-position.service.d.ts +0 -23
- package/lib/popover/popover.component.d.ts +0 -150
- package/lib/popover/popover.module.d.ts +0 -15
- package/lib/popover/public-api.d.ts +0 -12
- package/lib/popup/popup-container.component.d.ts +0 -26
- package/lib/popup/popup-container.service.d.ts +0 -8
- package/lib/popup/popup-toggle.directive.d.ts +0 -15
- package/lib/popup/popup.component.d.ts +0 -84
- package/lib/popup/popup.module.d.ts +0 -15
- package/lib/popup-adapter/popup-adapter.component.d.ts +0 -59
- package/lib/popup-adapter/popup-adapter.module.d.ts +0 -12
- package/lib/progress/progress.component.d.ts +0 -31
- package/lib/progress/progress.module.d.ts +0 -13
- package/lib/public-api.d.ts +0 -36
- package/lib/radio/radio-group.component.d.ts +0 -98
- package/lib/radio/radio.module.d.ts +0 -11
- package/lib/repeat/public-api.d.ts +0 -1
- package/lib/repeat/repeat-item/repeat-item.component.d.ts +0 -16
- package/lib/repeat/repeat.component.d.ts +0 -180
- package/lib/repeat/repeat.module.d.ts +0 -16
- package/lib/repeat/types.d.ts +0 -31
- package/lib/risk-score/risk-score.component.d.ts +0 -25
- package/lib/risk-score/risk-score.module.d.ts +0 -11
- package/lib/search/search.component.d.ts +0 -66
- package/lib/search/search.module.d.ts +0 -14
- package/lib/select/base-select.d.ts +0 -104
- package/lib/select/combobox/combobox.component.d.ts +0 -70
- package/lib/select/index.d.ts +0 -2
- package/lib/select/public-api.d.ts +0 -8
- package/lib/select/select.component.d.ts +0 -41
- package/lib/select/select.module.d.ts +0 -16
- package/lib/select-v2/base-select-v2.d.ts +0 -138
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +0 -64
- package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +0 -23
- package/lib/select-v2/constants.d.ts +0 -5
- package/lib/select-v2/mark-as-selected-item.directive.d.ts +0 -13
- package/lib/select-v2/option/select-v2-option.component.d.ts +0 -31
- package/lib/select-v2/option-group/select-v2-option-group.component.d.ts +0 -19
- package/lib/select-v2/option-key-control.service.d.ts +0 -27
- package/lib/select-v2/select/select-v2.component.d.ts +0 -32
- package/lib/select-v2/select-v2.module.d.ts +0 -23
- package/lib/select-v2/selected-items-key-control.service.d.ts +0 -31
- package/lib/select-v2/types.d.ts +0 -11
- package/lib/selector/public-api.d.ts +0 -11
- package/lib/selector/selector.component.d.ts +0 -54
- package/lib/selector/selector.module.d.ts +0 -15
- package/lib/selector/selector.service.d.ts +0 -65
- package/lib/sorter/constants.d.ts +0 -2
- package/lib/sorter/public-api.d.ts +0 -13
- package/lib/sorter/sorter-keyboard.service.d.ts +0 -23
- package/lib/sorter/sorter.component.d.ts +0 -62
- package/lib/sorter/sorter.module.d.ts +0 -14
- package/lib/spinner/public-api.d.ts +0 -8
- package/lib/spinner/spinner.component.d.ts +0 -41
- package/lib/spinner/spinner.module.d.ts +0 -13
- package/lib/switch/switch.component.d.ts +0 -25
- package/lib/switch/switch.module.d.ts +0 -11
- package/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.d.ts +0 -13
- package/lib/tabgroup/tab/tab-heading.directive.d.ts +0 -11
- package/lib/tabgroup/tab/tab.component.d.ts +0 -25
- package/lib/tabgroup/tab-group/tab-group.component.d.ts +0 -37
- package/lib/tabgroup/tab-heading/tab-heading.component.d.ts +0 -24
- package/lib/tabgroup/tab-heading-group/tab-heading-group.component.d.ts +0 -44
- package/lib/tabgroup/tabs.module.d.ts +0 -17
- package/lib/table/constants.d.ts +0 -4
- package/lib/table/public-api.d.ts +0 -5
- package/lib/table/table-cell/table-cell-def.directive.d.ts +0 -12
- package/lib/table/table-cell/table-cell.directive.d.ts +0 -30
- package/lib/table/table-cell/table-column-def.directive.d.ts +0 -20
- package/lib/table/table-cell/table-footer-cell-def.directive.d.ts +0 -12
- package/lib/table/table-cell/table-footer-cell.directive.d.ts +0 -11
- package/lib/table/table-cell/table-header-cell-def.directive.d.ts +0 -12
- package/lib/table/table-cell/table-header-cell.component.d.ts +0 -58
- package/lib/table/table-resizer/table-resizer.directive.d.ts +0 -21
- package/lib/table/table-row/table-row.component.d.ts +0 -118
- package/lib/table/table-state-handler.service.d.ts +0 -280
- package/lib/table/table-virtual-scroll/slice-range.pipe.d.ts +0 -10
- package/lib/table/table-virtual-scroll/table-sticky-header.directive.d.ts +0 -44
- package/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.d.ts +0 -75
- package/lib/table/table-virtual-scroll/table-virtual-scroll.directive.d.ts +0 -42
- package/lib/table/table.component.d.ts +0 -62
- package/lib/table/table.module.d.ts +0 -29
- package/lib/table/types.d.ts +0 -23
- package/lib/textbox/textbox-number/textbox-number.component.d.ts +0 -88
- package/lib/textbox/textbox.component.d.ts +0 -96
- package/lib/textbox/textbox.module.d.ts +0 -16
- package/lib/time-frame-picker/public-api.d.ts +0 -21
- package/lib/time-frame-picker/quick-picker/quick-picker.component.d.ts +0 -22
- package/lib/time-frame-picker/services/timeframe.service.d.ts +0 -87
- package/lib/time-frame-picker/time-frame-format.pipe.d.ts +0 -30
- package/lib/time-frame-picker/time-frame-picker.component.d.ts +0 -37
- package/lib/time-frame-picker/time-frame-picker.module.d.ts +0 -15
- package/lib/time-picker/time-picker-keyboard.service.d.ts +0 -22
- package/lib/time-picker/time-picker.component.d.ts +0 -83
- package/lib/time-picker/time-picker.module.d.ts +0 -15
- package/lib/toast/public-api.d.ts +0 -123
- package/lib/toast/toast-container.service.d.ts +0 -34
- package/lib/toast/toast-injector.d.ts +0 -10
- package/lib/toast/toast-package.d.ts +0 -22
- package/lib/toast/toast-ref.d.ts +0 -30
- package/lib/toast/toast.component.d.ts +0 -69
- package/lib/toast/toast.directive.d.ts +0 -26
- package/lib/toast/toast.module.d.ts +0 -14
- package/lib/toast/toast.service.d.ts +0 -77
- package/lib/toast/toast.servicebase.d.ts +0 -16
- package/lib/toolbar/public-api.d.ts +0 -18
- package/lib/toolbar/toolbar-group.component.d.ts +0 -12
- package/lib/toolbar/toolbar-item.component.d.ts +0 -22
- package/lib/toolbar/toolbar-keyboard.service.d.ts +0 -16
- package/lib/toolbar/toolbar-message.component.d.ts +0 -8
- package/lib/toolbar/toolbar-splitter.component.d.ts +0 -8
- package/lib/toolbar/toolbar.component.d.ts +0 -64
- package/lib/toolbar/toolbar.module.d.ts +0 -19
- package/lib/tooltip/public-api.d.ts +0 -3
- package/lib/tooltip/tooltip.component.d.ts +0 -62
- package/lib/tooltip/tooltip.directive.d.ts +0 -68
- package/lib/tooltip/tooltip.module.d.ts +0 -13
- package/lib/validation-message/custom-validation-message/custom-validation-message.component.d.ts +0 -19
- package/lib/validation-message/public-api.d.ts +0 -2
- package/lib/validation-message/validation-message.component.d.ts +0 -19
- package/lib/validation-message/validation-message.module.d.ts +0 -13
- package/lib/wizard/public-api.d.ts +0 -30
- package/lib/wizard/wizard-step.component.d.ts +0 -84
- package/lib/wizard/wizard.component.d.ts +0 -98
- package/lib/wizard/wizard.module.d.ts +0 -16
- package/lib/wizard-v2/error-state-matcher.provider.d.ts +0 -7
- package/lib/wizard-v2/public-api.d.ts +0 -12
- package/lib/wizard-v2/types.d.ts +0 -13
- package/lib/wizard-v2/wizard-button/wizard-button.d.ts +0 -18
- package/lib/wizard-v2/wizard-footer/wizard-footer.component.d.ts +0 -20
- package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +0 -59
- package/lib/wizard-v2/wizard-overflow/wizard-overflow.component.d.ts +0 -13
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +0 -29
- package/lib/wizard-v2/wizard-step-footer.directive.d.ts +0 -8
- package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +0 -46
- package/lib/wizard-v2/wizard-step-label.directive.d.ts +0 -8
- package/lib/wizard-v2/wizard-vertical/wizard-vertical.component.d.ts +0 -18
- package/lib/wizard-v2/wizard.directive.d.ts +0 -48
- package/lib/wizard-v2/wizard.module.d.ts +0 -23
- package/nui-api.d.ts +0 -59
- package/pipes/highlight.pipe.d.ts +0 -37
- package/pipes/limit-to.pipe.d.ts +0 -21
- package/pipes/map-key-value.pipe.d.ts +0 -22
- package/pipes/unit-conversion.pipe.d.ts +0 -28
- package/public_api.d.ts +0 -167
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.d.ts +0 -11
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js +0 -46
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js.map +0 -1
- package/sdk/atoms/components/busy/busy.atom.d.ts +0 -12
- package/sdk/atoms/components/busy/busy.atom.js +0 -41
- package/sdk/atoms/components/busy/busy.atom.js.map +0 -1
- package/sdk/atoms/components/button/button.atom.d.ts +0 -19
- package/sdk/atoms/components/button/button.atom.js +0 -63
- package/sdk/atoms/components/button/button.atom.js.map +0 -1
- package/sdk/atoms/components/checkbox/checkbox.atom.d.ts +0 -30
- package/sdk/atoms/components/checkbox/checkbox.atom.js +0 -94
- package/sdk/atoms/components/checkbox/checkbox.atom.js.map +0 -1
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.d.ts +0 -11
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +0 -69
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js.map +0 -1
- package/sdk/atoms/components/chips/chips.atom.d.ts +0 -32
- package/sdk/atoms/components/chips/chips.atom.js +0 -93
- package/sdk/atoms/components/chips/chips.atom.js.map +0 -1
- package/sdk/atoms/components/combobox/combobox.atom.d.ts +0 -29
- package/sdk/atoms/components/combobox/combobox.atom.js +0 -67
- package/sdk/atoms/components/combobox/combobox.atom.js.map +0 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.d.ts +0 -22
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +0 -100
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js.map +0 -1
- package/sdk/atoms/components/content/content.atom.d.ts +0 -6
- package/sdk/atoms/components/content/content.atom.js +0 -40
- package/sdk/atoms/components/content/content.atom.js.map +0 -1
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.d.ts +0 -22
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +0 -84
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js.map +0 -1
- package/sdk/atoms/components/datepicker/datepicker.atom.d.ts +0 -57
- package/sdk/atoms/components/datepicker/datepicker.atom.js +0 -204
- package/sdk/atoms/components/datepicker/datepicker.atom.js.map +0 -1
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.d.ts +0 -9
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js +0 -43
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js.map +0 -1
- package/sdk/atoms/components/dialog/dialog.atom.d.ts +0 -18
- package/sdk/atoms/components/dialog/dialog.atom.js +0 -77
- package/sdk/atoms/components/dialog/dialog.atom.js.map +0 -1
- package/sdk/atoms/components/divider/divider.atom.d.ts +0 -6
- package/sdk/atoms/components/divider/divider.atom.js +0 -45
- package/sdk/atoms/components/divider/divider.atom.js.map +0 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.d.ts +0 -10
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js +0 -58
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js.map +0 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.d.ts +0 -8
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js +0 -42
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js.map +0 -1
- package/sdk/atoms/components/expander/expander.atom.d.ts +0 -19
- package/sdk/atoms/components/expander/expander.atom.js +0 -90
- package/sdk/atoms/components/expander/expander.atom.js.map +0 -1
- package/sdk/atoms/components/form-field/form-field.atom.d.ts +0 -12
- package/sdk/atoms/components/form-field/form-field.atom.js +0 -73
- package/sdk/atoms/components/form-field/form-field.atom.js.map +0 -1
- package/sdk/atoms/components/freetype-query-builder/freetype-query-builder.atom.d.ts +0 -9
- package/sdk/atoms/components/freetype-query-builder/freetype-query-builder.atom.js +0 -51
- package/sdk/atoms/components/freetype-query-builder/freetype-query-builder.atom.js.map +0 -1
- package/sdk/atoms/components/icon/icon.atom.d.ts +0 -21
- package/sdk/atoms/components/icon/icon.atom.js +0 -91
- package/sdk/atoms/components/icon/icon.atom.js.map +0 -1
- package/sdk/atoms/components/image/image.atom.d.ts +0 -8
- package/sdk/atoms/components/image/image.atom.js +0 -61
- package/sdk/atoms/components/image/image.atom.js.map +0 -1
- package/sdk/atoms/components/layout/index.d.ts +0 -2
- package/sdk/atoms/components/layout/index.js +0 -25
- package/sdk/atoms/components/layout/index.js.map +0 -1
- package/sdk/atoms/components/layout/layout-sheet-group.atom.d.ts +0 -14
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js +0 -91
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js.map +0 -1
- package/sdk/atoms/components/layout/layout-sheet.atom.d.ts +0 -6
- package/sdk/atoms/components/layout/layout-sheet.atom.js +0 -45
- package/sdk/atoms/components/layout/layout-sheet.atom.js.map +0 -1
- package/sdk/atoms/components/menu/menu-item.atom.d.ts +0 -13
- package/sdk/atoms/components/menu/menu-item.atom.js +0 -117
- package/sdk/atoms/components/menu/menu-item.atom.js.map +0 -1
- package/sdk/atoms/components/menu/menu.atom.d.ts +0 -43
- package/sdk/atoms/components/menu/menu.atom.js +0 -116
- package/sdk/atoms/components/menu/menu.atom.js.map +0 -1
- package/sdk/atoms/components/menu-popup/menu-popup.atom.d.ts +0 -11
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js +0 -57
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js.map +0 -1
- package/sdk/atoms/components/message/message.atom.d.ts +0 -16
- package/sdk/atoms/components/message/message.atom.js +0 -51
- package/sdk/atoms/components/message/message.atom.js.map +0 -1
- package/sdk/atoms/components/overlay/overlay.atom.d.ts +0 -11
- package/sdk/atoms/components/overlay/overlay.atom.js +0 -41
- package/sdk/atoms/components/overlay/overlay.atom.js.map +0 -1
- package/sdk/atoms/components/paginator/paginator.atom.d.ts +0 -29
- package/sdk/atoms/components/paginator/paginator.atom.js +0 -199
- package/sdk/atoms/components/paginator/paginator.atom.js.map +0 -1
- package/sdk/atoms/components/panel/panel.atom.d.ts +0 -29
- package/sdk/atoms/components/panel/panel.atom.js +0 -120
- package/sdk/atoms/components/panel/panel.atom.js.map +0 -1
- package/sdk/atoms/components/popover/popover.atom.d.ts +0 -28
- package/sdk/atoms/components/popover/popover.atom.js +0 -94
- package/sdk/atoms/components/popover/popover.atom.js.map +0 -1
- package/sdk/atoms/components/popup/overlay-content.atom.d.ts +0 -7
- package/sdk/atoms/components/popup/overlay-content.atom.js +0 -35
- package/sdk/atoms/components/popup/overlay-content.atom.js.map +0 -1
- package/sdk/atoms/components/popup/popup.atom.d.ts +0 -16
- package/sdk/atoms/components/popup/popup.atom.js +0 -68
- package/sdk/atoms/components/popup/popup.atom.js.map +0 -1
- package/sdk/atoms/components/progress/progress.atom.d.ts +0 -14
- package/sdk/atoms/components/progress/progress.atom.js +0 -65
- package/sdk/atoms/components/progress/progress.atom.js.map +0 -1
- package/sdk/atoms/components/public_api.d.ts +0 -55
- package/sdk/atoms/components/public_api.js +0 -78
- package/sdk/atoms/components/public_api.js.map +0 -1
- package/sdk/atoms/components/radio-group/radio-group.atom.d.ts +0 -13
- package/sdk/atoms/components/radio-group/radio-group.atom.js +0 -76
- package/sdk/atoms/components/radio-group/radio-group.atom.js.map +0 -1
- package/sdk/atoms/components/repeat/repeat.atom.d.ts +0 -27
- package/sdk/atoms/components/repeat/repeat.atom.js +0 -123
- package/sdk/atoms/components/repeat/repeat.atom.js.map +0 -1
- package/sdk/atoms/components/search/search.atom.d.ts +0 -12
- package/sdk/atoms/components/search/search.atom.js +0 -81
- package/sdk/atoms/components/search/search.atom.js.map +0 -1
- package/sdk/atoms/components/select/basic-select.atom.d.ts +0 -21
- package/sdk/atoms/components/select/basic-select.atom.js +0 -56
- package/sdk/atoms/components/select/basic-select.atom.js.map +0 -1
- package/sdk/atoms/components/select/select.atom.js.map +0 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.d.ts +0 -30
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js +0 -125
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js.map +0 -1
- package/sdk/atoms/components/select-v2/select-v2-option.atom.d.ts +0 -7
- package/sdk/atoms/components/select-v2/select-v2-option.atom.js +0 -44
- package/sdk/atoms/components/select-v2/select-v2-option.atom.js.map +0 -1
- package/sdk/atoms/components/select-v2/select-v2.atom.js.map +0 -1
- package/sdk/atoms/components/selector/selector.atom.d.ts +0 -17
- package/sdk/atoms/components/selector/selector.atom.js +0 -83
- package/sdk/atoms/components/selector/selector.atom.js.map +0 -1
- package/sdk/atoms/components/selector/selector.e2e.d.ts +0 -6
- package/sdk/atoms/components/selector/selector.e2e.js +0 -92
- package/sdk/atoms/components/selector/selector.e2e.js.map +0 -1
- package/sdk/atoms/components/sorter/sorter.atom.d.ts +0 -33
- package/sdk/atoms/components/sorter/sorter.atom.js +0 -123
- package/sdk/atoms/components/sorter/sorter.atom.js.map +0 -1
- package/sdk/atoms/components/spinner/spinner.atom.d.ts +0 -12
- package/sdk/atoms/components/spinner/spinner.atom.js +0 -45
- package/sdk/atoms/components/spinner/spinner.atom.js.map +0 -1
- package/sdk/atoms/components/switch/switch.atom.d.ts +0 -14
- package/sdk/atoms/components/switch/switch.atom.js +0 -73
- package/sdk/atoms/components/switch/switch.atom.js.map +0 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.d.ts +0 -16
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js +0 -108
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js.map +0 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.d.ts +0 -8
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js +0 -52
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js.map +0 -1
- package/sdk/atoms/components/table/table.atom.d.ts +0 -73
- package/sdk/atoms/components/table/table.atom.js +0 -210
- package/sdk/atoms/components/table/table.atom.js.map +0 -1
- package/sdk/atoms/components/textbox/textbox.atom.d.ts +0 -22
- package/sdk/atoms/components/textbox/textbox.atom.js +0 -59
- package/sdk/atoms/components/textbox/textbox.atom.js.map +0 -1
- package/sdk/atoms/components/textbox-number/textbox-number.atom.d.ts +0 -18
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js +0 -53
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js.map +0 -1
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.d.ts +0 -8
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js +0 -49
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js.map +0 -1
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.d.ts +0 -7
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js +0 -36
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js.map +0 -1
- package/sdk/atoms/components/timepicker/timepicker.atom.d.ts +0 -18
- package/sdk/atoms/components/timepicker/timepicker.atom.js +0 -64
- package/sdk/atoms/components/timepicker/timepicker.atom.js.map +0 -1
- package/sdk/atoms/components/toolbar/toolbar.atom.d.ts +0 -18
- package/sdk/atoms/components/toolbar/toolbar.atom.js +0 -87
- package/sdk/atoms/components/toolbar/toolbar.atom.js.map +0 -1
- package/sdk/atoms/components/wizard/wizard-step.atom.d.ts +0 -11
- package/sdk/atoms/components/wizard/wizard-step.atom.js +0 -52
- package/sdk/atoms/components/wizard/wizard-step.atom.js.map +0 -1
- package/sdk/atoms/components/wizard/wizard.atom.d.ts +0 -22
- package/sdk/atoms/components/wizard/wizard.atom.js +0 -91
- package/sdk/atoms/components/wizard/wizard.atom.js.map +0 -1
- package/sdk/atoms/directives/public_api.d.ts +0 -3
- package/sdk/atoms/directives/public_api.js +0 -26
- package/sdk/atoms/directives/public_api.js.map +0 -1
- package/sdk/atoms/directives/resizer/resizer.atom.d.ts +0 -12
- package/sdk/atoms/directives/resizer/resizer.atom.js +0 -52
- package/sdk/atoms/directives/resizer/resizer.atom.js.map +0 -1
- package/sdk/atoms/directives/toast/toast.atom.d.ts +0 -28
- package/sdk/atoms/directives/toast/toast.atom.js +0 -67
- package/sdk/atoms/directives/toast/toast.atom.js.map +0 -1
- package/sdk/atoms/directives/tooltip/tooltip.atom.d.ts +0 -9
- package/sdk/atoms/directives/tooltip/tooltip.atom.js +0 -38
- package/sdk/atoms/directives/tooltip/tooltip.atom.js.map +0 -1
- package/services/content-ref.d.ts +0 -8
- package/services/data-filter.service.d.ts +0 -23
- package/services/data-source/client-side-data-source.service.d.ts +0 -25
- package/services/data-source/data-source-features.d.ts +0 -10
- package/services/data-source/data-source.service.d.ts +0 -31
- package/services/data-source/local-filtering-data-source.service.d.ts +0 -45
- package/services/data-source/noop-data-source.service.d.ts +0 -8
- package/services/data-source/public-api.d.ts +0 -137
- package/services/data-source/server-side-source.service.d.ts +0 -23
- package/services/dom-util.service.d.ts +0 -20
- package/services/edge-detection.service.d.ts +0 -32
- package/services/event-bus.d.ts +0 -18
- package/services/event-bus.service.d.ts +0 -15
- package/services/event-propagation.service.d.ts +0 -35
- package/services/history-storage.d.ts +0 -47
- package/services/list.service.d.ts +0 -41
- package/services/log-service.d.ts +0 -48
- package/services/notification-args.d.ts +0 -14
- package/services/notification-service.d.ts +0 -24
- package/services/position.service.d.ts +0 -37
- package/services/public-api.d.ts +0 -120
- package/services/search.service.d.ts +0 -49
- package/services/tab-navigation.service.d.ts +0 -15
- package/services/theme-switch.service.d.ts +0 -42
- package/services/transient-cache.service.d.ts +0 -18
- package/services/unit-conversion.service.d.ts +0 -94
- package/services/util.service.d.ts +0 -76
- package/services/virtual-viewport-manager.service.d.ts +0 -42
- package/types.d.ts +0 -22
- package/validators/index.d.ts +0 -1
- package/validators/nui-validators.d.ts +0 -20
- /package/sdk/atoms/{components/select-v2 → atoms}/select-v2.atom.d.ts +0 -0
- /package/sdk/atoms/{components/select-v2 → atoms}/select-v2.atom.js +0 -0
- /package/sdk/atoms/{components/select → atoms}/select.atom.d.ts +0 -0
- /package/sdk/atoms/{components/select → atoms}/select.atom.js +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Atom } from "../../atom";
|
|
2
|
+
import { Helpers } from "../../setup";
|
|
3
|
+
export class BreadcrumbAtom extends Atom {
|
|
4
|
+
static { this.CSS_CLASS = "nui-breadcrumb"; }
|
|
5
|
+
getAllItems() {
|
|
6
|
+
return super
|
|
7
|
+
.getLocator()
|
|
8
|
+
.locator(Helpers.page.locator(".nui-breadcrumb__wrapper"));
|
|
9
|
+
}
|
|
10
|
+
getLink(link) {
|
|
11
|
+
return link.locator(".nui-breadcrumb__crumb");
|
|
12
|
+
}
|
|
13
|
+
getUrlState() {
|
|
14
|
+
const fullUrl = Helpers.page.url();
|
|
15
|
+
return fullUrl.split("#")[1];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=breadcrumb.atom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.atom.js","sourceRoot":"","sources":["../../../../../e2e/components/breadcrumb/breadcrumb.atom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,OAAO,cAAe,SAAQ,IAAI;aACtB,cAAS,GAAG,gBAAgB,CAAC;IAEpC,WAAW;QACd,OAAO,KAAK;aACP,UAAU,EAAE;aACZ,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;IACnE,CAAC;IAEM,OAAO,CAAC,IAAa;QACxB,OAAO,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAClD,CAAC;IAEM,WAAW;QACd,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACjC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Atom } from "../../atom";
|
|
2
|
+
import { ProgressAtom } from "../progress/progress.atom";
|
|
3
|
+
import { SpinnerAtom } from "../spinner/spinner.atom";
|
|
4
|
+
export declare class BusyAtom extends Atom {
|
|
5
|
+
static CSS_CLASS: string;
|
|
6
|
+
private get root();
|
|
7
|
+
isAppended(): Promise<boolean>;
|
|
8
|
+
isDisplayed(): Promise<boolean>;
|
|
9
|
+
isBusy(): Promise<boolean>;
|
|
10
|
+
getProgress(): ProgressAtom;
|
|
11
|
+
getSpinner(): SpinnerAtom;
|
|
12
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { Atom } from "../../atom";
|
|
21
|
+
import { ProgressAtom } from "../progress/progress.atom";
|
|
22
|
+
import { SpinnerAtom } from "../spinner/spinner.atom";
|
|
23
|
+
export class BusyAtom extends Atom {
|
|
24
|
+
static { this.CSS_CLASS = "nui-nova-busy"; }
|
|
25
|
+
get root() {
|
|
26
|
+
return this.getLocator();
|
|
27
|
+
}
|
|
28
|
+
async isAppended() {
|
|
29
|
+
return ((await this.root.locator(".nui-nova-busy__container").count()) > 0);
|
|
30
|
+
}
|
|
31
|
+
async isDisplayed() {
|
|
32
|
+
const container = this.root.locator(".nui-nova-busy__container");
|
|
33
|
+
return await container.isVisible();
|
|
34
|
+
}
|
|
35
|
+
async isBusy() {
|
|
36
|
+
return (await this.root.locator(".nui-nova-busy__overlay").count()) > 0;
|
|
37
|
+
}
|
|
38
|
+
getProgress() {
|
|
39
|
+
return Atom.findIn(ProgressAtom, this.root);
|
|
40
|
+
}
|
|
41
|
+
getSpinner() {
|
|
42
|
+
return Atom.findIn(SpinnerAtom, this.root);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=busy.atom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"busy.atom.js","sourceRoot":"","sources":["../../../../../e2e/components/busy/busy.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,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,OAAO,QAAS,SAAQ,IAAI;aAChB,cAAS,GAAG,eAAe,CAAC;IAE1C,IAAY,IAAI;QACZ,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC;IAEM,KAAK,CAAC,UAAU;QACnB,OAAO,CACH,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CACrE,CAAC;IACN,CAAC;IAEM,KAAK,CAAC,WAAW;QACpB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC;QACjE,OAAO,MAAM,SAAS,CAAC,SAAS,EAAE,CAAC;IACvC,CAAC;IAEM,KAAK,CAAC,MAAM;QACf,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;IAC5E,CAAC;IAEM,WAAW;QACd,OAAO,IAAI,CAAC,MAAM,CAAe,YAAY,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;IAEM,UAAU;QACb,OAAO,IAAI,CAAC,MAAM,CAAc,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Locator } from "playwright-core";
|
|
2
|
+
import { Atom, IAtomClass } from "../../atom";
|
|
3
|
+
import { IconAtom } from "../icon/icon.atom";
|
|
4
|
+
export declare class ButtonAtom extends Atom {
|
|
5
|
+
static CSS_CLASS: string;
|
|
6
|
+
static findIn<T extends Atom>(atomClass: IAtomClass<T>, parentLocator: Locator, root?: boolean): T;
|
|
7
|
+
isIconShown: () => Promise<boolean>;
|
|
8
|
+
isNotBusy: () => Promise<void>;
|
|
9
|
+
isBusy: () => Promise<void>;
|
|
10
|
+
click: () => Promise<void>;
|
|
11
|
+
hover: () => Promise<void>;
|
|
12
|
+
mouseDown: () => Promise<void>;
|
|
13
|
+
mouseUp: () => Promise<void>;
|
|
14
|
+
isDisabled(): Promise<boolean>;
|
|
15
|
+
getIcon: () => IconAtom;
|
|
16
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Atom } from "../../atom";
|
|
2
|
+
import { Helpers } from "../../setup";
|
|
3
|
+
import { IconAtom } from "../icon/icon.atom";
|
|
4
|
+
export class ButtonAtom extends Atom {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments);
|
|
7
|
+
this.isIconShown = async () => await this.getLocator()
|
|
8
|
+
.locator(Helpers.page.locator("nui-icon"))
|
|
9
|
+
.isVisible();
|
|
10
|
+
this.isNotBusy = async () => await this.toNotContainClass("is-busy");
|
|
11
|
+
this.isBusy = async () => await this.toContainClass("is-busy");
|
|
12
|
+
this.click = async () => this.getLocator().click();
|
|
13
|
+
// New interaction helpers for visual tests
|
|
14
|
+
this.hover = async () => {
|
|
15
|
+
await this.getLocator().hover();
|
|
16
|
+
};
|
|
17
|
+
this.mouseDown = async () => {
|
|
18
|
+
const box = await this.getLocator().boundingBox();
|
|
19
|
+
if (box) {
|
|
20
|
+
await Helpers.page.mouse.move(box.x + box.width / 2, box.y + box.height / 2);
|
|
21
|
+
await Helpers.page.mouse.down();
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
this.mouseUp = async () => {
|
|
25
|
+
await Helpers.page.mouse.up();
|
|
26
|
+
};
|
|
27
|
+
this.getIcon = () => Atom.findIn(IconAtom, this.getLocator());
|
|
28
|
+
}
|
|
29
|
+
static { this.CSS_CLASS = "nui-button"; }
|
|
30
|
+
static findIn(atomClass, parentLocator, root = true) {
|
|
31
|
+
return Atom.findIn(atomClass, parentLocator, root);
|
|
32
|
+
}
|
|
33
|
+
async isDisabled() {
|
|
34
|
+
const disabled = await this.getLocator().getAttribute("disabled");
|
|
35
|
+
return disabled !== null;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=button.atom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.atom.js","sourceRoot":"","sources":["../../../../../e2e/components/button/button.atom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAc,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,OAAO,UAAW,SAAQ,IAAI;IAApC;;QAWW,gBAAW,GAAG,KAAK,IAAsB,EAAE,CAC9C,MAAM,IAAI,CAAC,UAAU,EAAE;aAClB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;aACzC,SAAS,EAAE,CAAC;QAEd,cAAS,GAAG,KAAK,IAAmB,EAAE,CACzC,MAAM,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QACrC,WAAM,GAAG,KAAK,IAAmB,EAAE,CACtC,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QAClC,UAAK,GAAG,KAAK,IAAmB,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC;QAEpE,2CAA2C;QACpC,UAAK,GAAG,KAAK,IAAmB,EAAE;YACrC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC;QACpC,CAAC,CAAC;QAEK,cAAS,GAAG,KAAK,IAAmB,EAAE;YACzC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,WAAW,EAAE,CAAC;YAClD,IAAI,GAAG,EAAE,CAAC;gBACN,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CACzB,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,KAAK,GAAG,CAAC,EACrB,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CACzB,CAAC;gBACF,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;YACpC,CAAC;QACL,CAAC,CAAC;QAEK,YAAO,GAAG,KAAK,IAAmB,EAAE;YACvC,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;QAClC,CAAC,CAAC;QAMK,YAAO,GAAG,GAAa,EAAE,CAC5B,IAAI,CAAC,MAAM,CAAW,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IAC3D,CAAC;aA/CiB,cAAS,GAAG,YAAY,AAAf,CAAgB;IAEhC,MAAM,CAAC,MAAM,CAChB,SAAwB,EACxB,aAAsB,EACtB,IAAI,GAAG,IAAI;QAEX,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;IAiCM,KAAK,CAAC,UAAU;QACnB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAClE,OAAO,QAAQ,KAAK,IAAI,CAAC;IAC7B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Locator } from "@playwright/test";
|
|
2
|
+
import { Atom } from "../../atom";
|
|
3
|
+
export declare class CheckboxAtom extends Atom {
|
|
4
|
+
static CSS_CLASS: string;
|
|
5
|
+
get getInputElement(): Locator;
|
|
6
|
+
get getLabel(): Locator;
|
|
7
|
+
get getContent(): Locator;
|
|
8
|
+
get getHelpHintText(): Locator;
|
|
9
|
+
hoverLink: () => Promise<void>;
|
|
10
|
+
isIndeterminate: () => Promise<void>;
|
|
11
|
+
isRequired: () => Promise<boolean>;
|
|
12
|
+
isDisabled: () => Promise<boolean>;
|
|
13
|
+
isChecked: () => Promise<boolean>;
|
|
14
|
+
toBeChecked: () => Promise<void>;
|
|
15
|
+
toNotBeChecked: () => Promise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Toggle the checkbox value
|
|
18
|
+
*
|
|
19
|
+
* @returns {Promise<void>}
|
|
20
|
+
*/
|
|
21
|
+
toggle: () => Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the checkbox value to the given value
|
|
24
|
+
*
|
|
25
|
+
* @param {boolean} checked
|
|
26
|
+
* @returns {Promise<void>}
|
|
27
|
+
*/
|
|
28
|
+
setChecked(checked: boolean): Promise<void>;
|
|
29
|
+
private getMark;
|
|
30
|
+
private getLink;
|
|
31
|
+
toBeDisabled(): Promise<void>;
|
|
32
|
+
toBeEnabled(): Promise<void>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Atom } from "../../atom";
|
|
2
|
+
import { expect } from "../../setup";
|
|
3
|
+
export class CheckboxAtom extends Atom {
|
|
4
|
+
constructor() {
|
|
5
|
+
super(...arguments);
|
|
6
|
+
this.hoverLink = async () => {
|
|
7
|
+
await this.getLink().hover();
|
|
8
|
+
};
|
|
9
|
+
this.isIndeterminate = async () => {
|
|
10
|
+
// broken in application code, needs to be fixed there
|
|
11
|
+
// await expect(this.getInputElement).toHaveAttribute("indeterminate");
|
|
12
|
+
console.log("Checkbox indeterminate state cannot be tested due to application code issue.");
|
|
13
|
+
};
|
|
14
|
+
this.isRequired = async () => (await this.getInputElement.getAttribute("required")) === "true";
|
|
15
|
+
this.isDisabled = async () => !(await this.getInputElement.isEnabled());
|
|
16
|
+
this.isChecked = async () => (await this.getInputElement.getAttribute("checked")) === "true";
|
|
17
|
+
this.toBeChecked = async () => {
|
|
18
|
+
await expect(this.getInputElement).toBeChecked();
|
|
19
|
+
};
|
|
20
|
+
this.toNotBeChecked = async () => {
|
|
21
|
+
await expect(this.getInputElement).not.toBeChecked();
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Toggle the checkbox value
|
|
25
|
+
*
|
|
26
|
+
* @returns {Promise<void>}
|
|
27
|
+
*/
|
|
28
|
+
this.toggle = async () => this.getMark().click();
|
|
29
|
+
}
|
|
30
|
+
static { this.CSS_CLASS = "nui-checkbox"; }
|
|
31
|
+
get getInputElement() {
|
|
32
|
+
return super.getLocator().locator(".nui-checkbox__input");
|
|
33
|
+
}
|
|
34
|
+
get getLabel() {
|
|
35
|
+
return super.getLocator().locator(".nui-checkbox__label");
|
|
36
|
+
}
|
|
37
|
+
get getContent() {
|
|
38
|
+
return super.getLocator().locator(".nui-checkbox__transclude");
|
|
39
|
+
}
|
|
40
|
+
get getHelpHintText() {
|
|
41
|
+
return super.getLocator().locator(".nui-help-hint");
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Sets the checkbox value to the given value
|
|
45
|
+
*
|
|
46
|
+
* @param {boolean} checked
|
|
47
|
+
* @returns {Promise<void>}
|
|
48
|
+
*/
|
|
49
|
+
async setChecked(checked) {
|
|
50
|
+
if ((await this.isChecked()) !== checked) {
|
|
51
|
+
return await this.toggle();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
getMark() {
|
|
55
|
+
return super.getLocator().locator(".nui-checkbox__mark");
|
|
56
|
+
}
|
|
57
|
+
getLink() {
|
|
58
|
+
return super.getLocator().locator(".link-in-checkbox");
|
|
59
|
+
}
|
|
60
|
+
async toBeDisabled() {
|
|
61
|
+
await expect(this.getInputElement).toBeDisabled();
|
|
62
|
+
}
|
|
63
|
+
async toBeEnabled() {
|
|
64
|
+
await expect(this.getInputElement).toBeEnabled();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=checkbox.atom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.atom.js","sourceRoot":"","sources":["../../../../../e2e/components/checkbox/checkbox.atom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,OAAO,YAAa,SAAQ,IAAI;IAAtC;;QAmBW,cAAS,GAAG,KAAK,IAAmB,EAAE;YACzC,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC;QACjC,CAAC,CAAC;QAEK,oBAAe,GAAG,KAAK,IAAmB,EAAE;YAC/C,sDAAsD;YACtD,uEAAuE;YACvE,OAAO,CAAC,GAAG,CACP,8EAA8E,CACjF,CAAC;QACN,CAAC,CAAC;QAEK,eAAU,GAAG,KAAK,IAAsB,EAAE,CAC7C,CAAC,MAAM,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,KAAK,MAAM,CAAC;QAE9D,eAAU,GAAG,KAAK,IAAsB,EAAE,CAC7C,CAAC,CAAC,MAAM,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,CAAC,CAAC;QAEvC,cAAS,GAAG,KAAK,IAAsB,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,KAAK,MAAM,CAAC;QAE1G,gBAAW,GAAG,KAAK,IAAmB,EAAE;YAC3C,MAAM,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,WAAW,EAAE,CAAC;QACrD,CAAC,CAAC;QAEK,mBAAc,GAAG,KAAK,IAAmB,EAAE;YAC9C,MAAM,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;QACzD,CAAC,CAAC;QAEF;;;;WAIG;QACI,WAAM,GAAG,KAAK,IAAmB,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC;IA6BtE,CAAC;aAhFiB,cAAS,GAAG,cAAc,AAAjB,CAAkB;IAEzC,IAAW,eAAe;QACtB,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC9D,CAAC;IAED,IAAW,QAAQ;QACf,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC9D,CAAC;IAED,IAAW,UAAU;QACjB,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACnE,CAAC;IAED,IAAW,eAAe;QACtB,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACxD,CAAC;IAqCD;;;;;OAKG;IACI,KAAK,CAAC,UAAU,CAAC,OAAgB;QACpC,IAAI,CAAC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,KAAK,OAAO,EAAE,CAAC;YACvC,OAAO,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC;QAC/B,CAAC;IACL,CAAC;IAEO,OAAO;QACX,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC7D,CAAC;IAEO,OAAO;QACX,OAAO,KAAK,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC3D,CAAC;IAEM,KAAK,CAAC,YAAY;QACrB,MAAM,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,YAAY,EAAE,CAAC;IACtD,CAAC;IAEM,KAAK,CAAC,WAAW;QACpB,MAAM,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,WAAW,EAAE,CAAC;IACrD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Locator } from "playwright-core";
|
|
2
|
+
import { Atom } from "../../atom";
|
|
3
|
+
import { CheckboxAtom } from "../checkbox/checkbox.atom";
|
|
4
|
+
export declare class CheckboxGroupAtom extends Atom {
|
|
5
|
+
static CSS_CLASS: string;
|
|
6
|
+
get checkboxes(): CheckboxAtom;
|
|
7
|
+
getCheckbox(title: string): CheckboxAtom;
|
|
8
|
+
getCheckboxByIndex: (index: number) => CheckboxAtom;
|
|
9
|
+
getFirst: () => Locator;
|
|
10
|
+
isDisabled(): Promise<boolean>;
|
|
11
|
+
toBeDisabled(): Promise<void>;
|
|
12
|
+
toBeEnabled(): Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { Atom } from "../../atom";
|
|
21
|
+
import { expect } from "../../setup";
|
|
22
|
+
import { CheckboxAtom } from "../checkbox/checkbox.atom";
|
|
23
|
+
export class CheckboxGroupAtom extends Atom {
|
|
24
|
+
constructor() {
|
|
25
|
+
super(...arguments);
|
|
26
|
+
this.getCheckboxByIndex = (index) => this.checkboxes.nth(CheckboxAtom, index);
|
|
27
|
+
this.getFirst = () => this.checkboxes.getLocator().first();
|
|
28
|
+
}
|
|
29
|
+
static { this.CSS_CLASS = "nui-checkbox-group"; }
|
|
30
|
+
get checkboxes() {
|
|
31
|
+
return Atom.findIn(CheckboxAtom, this.getLocator());
|
|
32
|
+
}
|
|
33
|
+
// Used to return specific checkbox element from the group
|
|
34
|
+
getCheckbox(title) {
|
|
35
|
+
return this.checkboxes.filter(CheckboxAtom, {
|
|
36
|
+
hasText: title,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
async isDisabled() {
|
|
40
|
+
const childCount = await this.checkboxes.getLocator().count();
|
|
41
|
+
if (childCount === 0) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
for (let i = 0; i < childCount; i++) {
|
|
45
|
+
const checkbox = this.getCheckboxByIndex(i);
|
|
46
|
+
if (!(await checkbox.isDisabled())) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
async toBeDisabled() {
|
|
53
|
+
const inputs = this.getLocator().locator(".nui-checkbox__input");
|
|
54
|
+
const count = await inputs.count();
|
|
55
|
+
for (let i = 0; i < count; i++) {
|
|
56
|
+
await expect(inputs.nth(i)).toBeDisabled();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
async toBeEnabled() {
|
|
60
|
+
const inputs = this.getLocator().locator(".nui-checkbox__input");
|
|
61
|
+
const count = await inputs.count();
|
|
62
|
+
for (let i = 0; i < count; i++) {
|
|
63
|
+
await expect(inputs.nth(i)).toBeEnabled();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=checkbox-group.atom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-group.atom.js","sourceRoot":"","sources":["../../../../../e2e/components/checkbox-group/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,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,MAAM,OAAO,iBAAkB,SAAQ,IAAI;IAA3C;;QAcW,uBAAkB,GAAG,CAAC,KAAa,EAAgB,EAAE,CACxD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAe,YAAY,EAAE,KAAK,CAAC,CAAC;QAEpD,aAAQ,GAAG,GAAY,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC;IAgC1E,CAAC;aAhDiB,cAAS,GAAG,oBAAoB,AAAvB,CAAwB;IAE/C,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,MAAM,CAAe,YAAY,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,0DAA0D;IACnD,WAAW,CAAC,KAAa;QAC5B,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAe,YAAY,EAAE;YACtD,OAAO,EAAE,KAAK;SACjB,CAAC,CAAC;IACP,CAAC;IAOM,KAAK,CAAC,UAAU;QACnB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC;QAC9D,IAAI,UAAU,KAAK,CAAC,EAAE,CAAC;YACnB,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;YAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;YAC5C,IAAI,CAAC,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC;gBACjC,OAAO,KAAK,CAAC;YACjB,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,KAAK,CAAC,YAAY;QACrB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QACjE,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;YAC7B,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC;QAC/C,CAAC;IACL,CAAC;IAEM,KAAK,CAAC,WAAW;QACpB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QACjE,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;YAC7B,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9C,CAAC;IACL,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Locator } from "playwright-core";
|
|
2
|
+
import { Atom } from "../../atom";
|
|
3
|
+
export declare class ChipsAtom extends Atom {
|
|
4
|
+
static CSS_CLASS: string;
|
|
5
|
+
static qtyLabelClass: string;
|
|
6
|
+
static itemClass: string;
|
|
7
|
+
static itemRemoveIconClass: string;
|
|
8
|
+
static groupNameClass: string;
|
|
9
|
+
static clearAllLinkClass: string;
|
|
10
|
+
static chipsoverflowedClass: string;
|
|
11
|
+
get groups(): Locator;
|
|
12
|
+
get getChipElements(): Locator;
|
|
13
|
+
getChipElement(index: number): Locator;
|
|
14
|
+
removeItem: (index: number) => Promise<void>;
|
|
15
|
+
clearAll: () => Promise<void>;
|
|
16
|
+
getChipsQuantityFromLabel(): Promise<number>;
|
|
17
|
+
click: () => Promise<void>;
|
|
18
|
+
get getChipsOverflow(): Locator;
|
|
19
|
+
get popup(): Locator;
|
|
20
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Atom } from "../../atom";
|
|
2
|
+
import { Helpers } from "../../setup";
|
|
3
|
+
export class ChipsAtom extends Atom {
|
|
4
|
+
constructor() {
|
|
5
|
+
super(...arguments);
|
|
6
|
+
this.removeItem = async (index) => this.getLocator()
|
|
7
|
+
.locator(Helpers.page.locator(`.${ChipsAtom.itemRemoveIconClass}`))
|
|
8
|
+
.nth(index)
|
|
9
|
+
.click();
|
|
10
|
+
this.clearAll = async () => {
|
|
11
|
+
await this.getLocator()
|
|
12
|
+
.locator(`.${ChipsAtom.clearAllLinkClass}`)
|
|
13
|
+
.click();
|
|
14
|
+
};
|
|
15
|
+
this.click = async () => this.getLocator().click();
|
|
16
|
+
}
|
|
17
|
+
static { this.CSS_CLASS = "nui-chips"; }
|
|
18
|
+
static { this.qtyLabelClass = "nui-chips__count"; }
|
|
19
|
+
static { this.itemClass = "nui-chip__value"; }
|
|
20
|
+
static { this.itemRemoveIconClass = "nui-chip__value-remove"; }
|
|
21
|
+
static { this.groupNameClass = "nui-chips__group-name"; }
|
|
22
|
+
static { this.clearAllLinkClass = "nui-chips__clear"; }
|
|
23
|
+
static { this.chipsoverflowedClass = "nui-chips-overflowed__counter"; }
|
|
24
|
+
get groups() {
|
|
25
|
+
return this.getLocator().locator(Helpers.page.locator(`.${ChipsAtom.groupNameClass}`));
|
|
26
|
+
}
|
|
27
|
+
get getChipElements() {
|
|
28
|
+
return this.getLocator().locator(`.${ChipsAtom.itemClass}`);
|
|
29
|
+
}
|
|
30
|
+
getChipElement(index) {
|
|
31
|
+
return this.getLocator().locator(`.${ChipsAtom.itemClass}`).nth(index);
|
|
32
|
+
}
|
|
33
|
+
async getChipsQuantityFromLabel() {
|
|
34
|
+
const t = await this.getLocator()
|
|
35
|
+
.locator(`.${ChipsAtom.qtyLabelClass}`)
|
|
36
|
+
.textContent();
|
|
37
|
+
if (!t) {
|
|
38
|
+
return Promise.resolve(-1);
|
|
39
|
+
}
|
|
40
|
+
return +t.slice(1, -1);
|
|
41
|
+
}
|
|
42
|
+
get getChipsOverflow() {
|
|
43
|
+
return this.getLocator().locator(Helpers.page.locator(`.${ChipsAtom.chipsoverflowedClass}`));
|
|
44
|
+
}
|
|
45
|
+
get popup() {
|
|
46
|
+
return Helpers.page.locator(`.nui-popover-container__content`);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=chips.atom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chips.atom.js","sourceRoot":"","sources":["../../../../../e2e/components/chips/chips.atom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,OAAO,SAAU,SAAQ,IAAI;IAAnC;;QAuBW,eAAU,GAAG,KAAK,EAAE,KAAa,EAAiB,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE;aACpE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,mBAAmB,EAAE,CAAC,CAAC;aAClE,GAAG,CAAC,KAAK,CAAC;aACV,KAAK,EAAE,CAAC;QAEV,aAAQ,GAAG,KAAK,IAAmB,EAAE;YACxC,MAAM,IAAI,CAAC,UAAU,EAAE;iBAClB,OAAO,CAAC,IAAI,SAAS,CAAC,iBAAiB,EAAE,CAAC;iBAC1C,KAAK,EAAE,CAAC;QACjB,CAAC,CAAC;QAaK,UAAK,GAAG,KAAK,IAAmB,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC;IAWxE,CAAC;aAvDiB,cAAS,GAAG,WAAW,AAAd,CAAe;aACxB,kBAAa,GAAG,kBAAkB,AAArB,CAAsB;aACnC,cAAS,GAAG,iBAAiB,AAApB,CAAqB;aAC9B,wBAAmB,GAAG,wBAAwB,AAA3B,CAA4B;aAC/C,mBAAc,GAAG,uBAAuB,AAA1B,CAA2B;aACzC,sBAAiB,GAAG,kBAAkB,AAArB,CAAsB;aACvC,yBAAoB,GAAG,+BAA+B,AAAlC,CAAmC;IAErE,IAAW,MAAM;QACb,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAC5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,cAAc,EAAE,CAAC,CACvD,CAAC;IACN,CAAC;IAED,IAAW,eAAe;QACtB,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC;IAChE,CAAC;IAEM,cAAc,CAAC,KAAa;QAC/B,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC3E,CAAC;IAaM,KAAK,CAAC,yBAAyB;QAClC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE;aAC5B,OAAO,CAAC,IAAI,SAAS,CAAC,aAAa,EAAE,CAAC;aACtC,WAAW,EAAE,CAAC;QAEnB,IAAI,CAAC,CAAC,EAAE,CAAC;YACL,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/B,CAAC;QACD,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAID,IAAW,gBAAgB;QACvB,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAC5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,oBAAoB,EAAE,CAAC,CAC7D,CAAC;IACN,CAAC;IAED,IAAW,KAAK;QACZ,OAAO,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;IACnE,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Moment } from "moment/moment";
|
|
2
|
+
import { Locator } from "playwright-core";
|
|
3
|
+
import { Atom } from "../../atom";
|
|
4
|
+
import { OverlayAtom } from "../overlay/overlay.atom";
|
|
5
|
+
import { TextboxAtom } from "../textbox/textbox.atom";
|
|
6
|
+
export declare class DatepickerAtom extends Atom {
|
|
7
|
+
static EXPECTED_FORMAT: string;
|
|
8
|
+
static CSS_CLASS: string;
|
|
9
|
+
static MONTHNAMES_SHORT: string[];
|
|
10
|
+
static MONTHNAMES_LONG: string[];
|
|
11
|
+
get getOverlay(): OverlayAtom;
|
|
12
|
+
get textbox(): TextboxAtom;
|
|
13
|
+
selectDate: (day: number) => Promise<void>;
|
|
14
|
+
selectMonth: (month: string) => Promise<void>;
|
|
15
|
+
selectYear: (year: number) => Promise<void>;
|
|
16
|
+
get getInput(): Locator;
|
|
17
|
+
formatDate(date: Moment, localeDateStringFormat: string): string;
|
|
18
|
+
toHaveValue: (value: string) => Promise<void>;
|
|
19
|
+
acceptText: (text: string) => Promise<void>;
|
|
20
|
+
clearText: () => Promise<void>;
|
|
21
|
+
getMonthElement: (month: string, index?: number) => Locator;
|
|
22
|
+
getYearElement: (year: string, index?: number) => Locator;
|
|
23
|
+
deleteTextManually: () => Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Gets title which will be after current title is clicked.
|
|
26
|
+
* For example, when daypicker mode is enabled then it gets title of monthpicker.
|
|
27
|
+
* In monthpicker mode gets title of yearpicker.
|
|
28
|
+
* @returns {Promise<string>}
|
|
29
|
+
*/
|
|
30
|
+
getLargerPeriodTitle(): Promise<string>;
|
|
31
|
+
clickTitle(): Promise<void>;
|
|
32
|
+
clickTodayButton: () => Promise<void>;
|
|
33
|
+
/** @deprecated As of Nova v11, use 'toggle' method instead. Removal: NUI-5865 */
|
|
34
|
+
clickCalendarIcon: () => Promise<void>;
|
|
35
|
+
toggle: () => Promise<void>;
|
|
36
|
+
clickChangeModeButton: () => Promise<void>;
|
|
37
|
+
clickFirstCalendarDate: () => Promise<void>;
|
|
38
|
+
isInputValid: () => Promise<boolean>;
|
|
39
|
+
isNotInputValid: () => Promise<boolean>;
|
|
40
|
+
get getActiveDay(): Locator;
|
|
41
|
+
get getActiveDayText(): Locator;
|
|
42
|
+
get getTitleText(): Locator;
|
|
43
|
+
goNext(): Promise<void>;
|
|
44
|
+
goBack(): Promise<void>;
|
|
45
|
+
clickInput: () => Promise<void>;
|
|
46
|
+
get todayButton(): Locator;
|
|
47
|
+
getMonthFromTitle: () => Promise<string>;
|
|
48
|
+
getPreviousMonthTitle(currentMonth: string, format?: string): string;
|
|
49
|
+
getNextMonthTitle(currentMonth: string, format?: string): string;
|
|
50
|
+
private clickCalendarItem;
|
|
51
|
+
private selectButton;
|
|
52
|
+
private selectDayButtonByIndex;
|
|
53
|
+
private getLocatorByCss;
|
|
54
|
+
toBeDisabled(): Promise<void>;
|
|
55
|
+
toBeEnabled(): Promise<void>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import moment from "moment/moment";
|
|
2
|
+
import { Atom } from "../../atom";
|
|
3
|
+
import { expect, Helpers } from "../../setup";
|
|
4
|
+
import { OverlayAtom } from "../overlay/overlay.atom";
|
|
5
|
+
import { TextboxAtom } from "../textbox/textbox.atom";
|
|
6
|
+
export class DatepickerAtom extends Atom {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.selectDate = async (day) => this.clickCalendarItem(day.toString());
|
|
10
|
+
this.selectMonth = async (month) => this.clickCalendarItem(month);
|
|
11
|
+
this.selectYear = async (year) => this.clickCalendarItem(year.toString());
|
|
12
|
+
this.toHaveValue = async (value) => {
|
|
13
|
+
const el = this.getInput;
|
|
14
|
+
await el.isVisible();
|
|
15
|
+
await expect(el).toHaveValue(value);
|
|
16
|
+
};
|
|
17
|
+
this.acceptText = async (text) => {
|
|
18
|
+
await this.getInput.fill(text);
|
|
19
|
+
await Helpers.page.waitForTimeout(1000); // Wait for time frame picker to process the change and update min date of end date picker
|
|
20
|
+
await this.getInput.press("Enter");
|
|
21
|
+
};
|
|
22
|
+
this.clearText = async () => this.getInput.clear();
|
|
23
|
+
this.getMonthElement = (month, index) => this.selectButton(month, index);
|
|
24
|
+
this.getYearElement = (year, index) => this.selectButton(year, index);
|
|
25
|
+
this.deleteTextManually = async () => {
|
|
26
|
+
await this.getInput.press("Control+a");
|
|
27
|
+
await this.getInput.press("Delete");
|
|
28
|
+
};
|
|
29
|
+
this.clickTodayButton = async () => this.getLocatorByCss("button.today-button").click();
|
|
30
|
+
/** @deprecated As of Nova v11, use 'toggle' method instead. Removal: NUI-5865 */
|
|
31
|
+
this.clickCalendarIcon = async () => this.toggle();
|
|
32
|
+
this.toggle = async () => {
|
|
33
|
+
const el = this.getLocatorByCss(".nui-datepicker__icon");
|
|
34
|
+
await el.isVisible();
|
|
35
|
+
await el.click();
|
|
36
|
+
};
|
|
37
|
+
this.clickChangeModeButton = async () => this.getLocatorByCss(".change-mode-button").click();
|
|
38
|
+
this.clickFirstCalendarDate = async () => this.selectDayButtonByIndex(0).click();
|
|
39
|
+
this.isInputValid = async () => await this.textbox.toNotContainClass("has-error");
|
|
40
|
+
this.isNotInputValid = async () => await this.textbox.toContainClass("has-error");
|
|
41
|
+
this.clickInput = async () => this.getInput.click();
|
|
42
|
+
this.getMonthFromTitle = async () => ((await this.getTitleText.textContent()) ?? "").split(" ")[0];
|
|
43
|
+
}
|
|
44
|
+
static { this.EXPECTED_FORMAT = "DD MMM YYYY"; }
|
|
45
|
+
static { this.CSS_CLASS = "nui-datepicker"; }
|
|
46
|
+
static { this.MONTHNAMES_SHORT = [
|
|
47
|
+
"Jan",
|
|
48
|
+
"Feb",
|
|
49
|
+
"Mar",
|
|
50
|
+
"Apr",
|
|
51
|
+
"May",
|
|
52
|
+
"Jun",
|
|
53
|
+
"Jul",
|
|
54
|
+
"Aug",
|
|
55
|
+
"Sep",
|
|
56
|
+
"Oct",
|
|
57
|
+
"Nov",
|
|
58
|
+
"Dec",
|
|
59
|
+
]; }
|
|
60
|
+
static { this.MONTHNAMES_LONG = [
|
|
61
|
+
"January",
|
|
62
|
+
"February",
|
|
63
|
+
"March",
|
|
64
|
+
"April",
|
|
65
|
+
"May",
|
|
66
|
+
"June",
|
|
67
|
+
"July",
|
|
68
|
+
"August",
|
|
69
|
+
"September",
|
|
70
|
+
"October",
|
|
71
|
+
"November",
|
|
72
|
+
"December",
|
|
73
|
+
]; }
|
|
74
|
+
get getOverlay() {
|
|
75
|
+
return Atom.findIn(OverlayAtom, this.getLocator());
|
|
76
|
+
}
|
|
77
|
+
get textbox() {
|
|
78
|
+
return Atom.findIn(TextboxAtom, this.getLocator());
|
|
79
|
+
}
|
|
80
|
+
get getInput() {
|
|
81
|
+
return this.getLocator().locator(`input.form-control`);
|
|
82
|
+
}
|
|
83
|
+
formatDate(date, localeDateStringFormat) {
|
|
84
|
+
return date
|
|
85
|
+
.locale(localeDateStringFormat)
|
|
86
|
+
.format(DatepickerAtom.EXPECTED_FORMAT);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Gets title which will be after current title is clicked.
|
|
90
|
+
* For example, when daypicker mode is enabled then it gets title of monthpicker.
|
|
91
|
+
* In monthpicker mode gets title of yearpicker.
|
|
92
|
+
* @returns {Promise<string>}
|
|
93
|
+
*/
|
|
94
|
+
async getLargerPeriodTitle() {
|
|
95
|
+
let newTitle = "";
|
|
96
|
+
const currentTitle = await this.getTitleText.textContent();
|
|
97
|
+
if (currentTitle && currentTitle.length === 4) {
|
|
98
|
+
const currentYear = Math.floor(parseInt(currentTitle, 10));
|
|
99
|
+
const rangeStart = currentYear;
|
|
100
|
+
const rangeEnd = currentYear + 19;
|
|
101
|
+
newTitle = `${rangeStart} - ${rangeEnd}`;
|
|
102
|
+
}
|
|
103
|
+
else if (currentTitle) {
|
|
104
|
+
newTitle = currentTitle.substring(currentTitle.length - 4);
|
|
105
|
+
}
|
|
106
|
+
return newTitle;
|
|
107
|
+
}
|
|
108
|
+
async clickTitle() {
|
|
109
|
+
return super.getLocator().locator(`button[id*='title']`).click();
|
|
110
|
+
}
|
|
111
|
+
get getActiveDay() {
|
|
112
|
+
return this.getLocatorByCss(".btn.selected");
|
|
113
|
+
}
|
|
114
|
+
get getActiveDayText() {
|
|
115
|
+
return this.getLocatorByCss(".btn.selected");
|
|
116
|
+
}
|
|
117
|
+
get getTitleText() {
|
|
118
|
+
return super.getLocator().locator("button[id*='title']");
|
|
119
|
+
}
|
|
120
|
+
async goNext() {
|
|
121
|
+
return super.getLocator().locator("button[icon='caret-right']").click();
|
|
122
|
+
}
|
|
123
|
+
async goBack() {
|
|
124
|
+
return super.getLocator().locator("button[icon='caret-left']").click();
|
|
125
|
+
}
|
|
126
|
+
get todayButton() {
|
|
127
|
+
return this.getLocator().locator("button.today-button");
|
|
128
|
+
}
|
|
129
|
+
getPreviousMonthTitle(currentMonth, format = "MMMM") {
|
|
130
|
+
const previousMonth = moment().month(currentMonth).subtract(1, "month");
|
|
131
|
+
return previousMonth.format(format);
|
|
132
|
+
}
|
|
133
|
+
getNextMonthTitle(currentMonth, format = "MMMM") {
|
|
134
|
+
const nextMonth = moment().month(currentMonth).add(1, "month");
|
|
135
|
+
return nextMonth.format(format);
|
|
136
|
+
}
|
|
137
|
+
async clickCalendarItem(buttonText) {
|
|
138
|
+
const button = super
|
|
139
|
+
.getLocator()
|
|
140
|
+
.locator(`tbody button span:not(.text-muted)`)
|
|
141
|
+
.filter({ hasText: buttonText })
|
|
142
|
+
.first();
|
|
143
|
+
return button.click();
|
|
144
|
+
}
|
|
145
|
+
selectButton(identifier, index = 0) {
|
|
146
|
+
return super
|
|
147
|
+
.getLocator()
|
|
148
|
+
.locator(".nui-button span")
|
|
149
|
+
.filter({ hasText: identifier })
|
|
150
|
+
.nth(index);
|
|
151
|
+
}
|
|
152
|
+
selectDayButtonByIndex(index = 0) {
|
|
153
|
+
return super.getLocator().locator("td.day .nui-button").nth(index);
|
|
154
|
+
}
|
|
155
|
+
getLocatorByCss(identifier) {
|
|
156
|
+
// if deep is passed then look in shadow DOM
|
|
157
|
+
return super.getLocator().locator(identifier);
|
|
158
|
+
}
|
|
159
|
+
async toBeDisabled() {
|
|
160
|
+
await expect(this.getInput).toBeDisabled();
|
|
161
|
+
}
|
|
162
|
+
async toBeEnabled() {
|
|
163
|
+
await expect(this.getInput).toBeEnabled();
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
//# sourceMappingURL=datepicker.atom.js.map
|