@coolon/angular-ui-powerups 12.4.0-alpha.29 → 12.4.0-alpha.3
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/assets/form.scss +2 -5
- package/assets/interaction.scss +7 -6
- package/assets/styles.scss +0 -3
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js +298 -715
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +116 -596
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/cypress/components/aup-command-face.d.ts +8 -2
- package/cypress/components/aup-command.d.ts +1 -2
- package/cypress/components/aup-input.d.ts +5 -11
- package/cypress/components/aup-more-menu.d.ts +4 -0
- package/cypress/components/aup-popup-menu.d.ts +7 -0
- package/cypress/components/aup-table.d.ts +18 -5
- package/cypress/components/button-mixin.d.ts +19 -0
- package/cypress/components/button.d.ts +7 -11
- package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
- package/cypress/exports.d.ts +4 -25
- package/cypress/page-element.d.ts +12 -12
- package/cypress/page.d.ts +33 -5
- package/cypress/section.d.ts +51 -0
- package/esm2015/cypress/components/aup-command-face.js +22 -11
- package/esm2015/cypress/components/aup-command-face.js.map +1 -1
- package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
- package/esm2015/cypress/components/aup-command.js +6 -12
- package/esm2015/cypress/components/aup-command.js.map +1 -1
- package/esm2015/cypress/components/aup-command.metadata.json +1 -1
- package/esm2015/cypress/components/aup-input.js +5 -17
- package/esm2015/cypress/components/aup-input.js.map +1 -1
- package/esm2015/cypress/components/aup-input.metadata.json +1 -1
- package/esm2015/cypress/components/aup-more-menu.js +7 -0
- package/esm2015/cypress/components/aup-more-menu.js.map +1 -0
- package/esm2015/cypress/components/aup-more-menu.metadata.json +1 -0
- package/esm2015/cypress/components/aup-navigation.js +1 -1
- package/esm2015/cypress/components/aup-navigation.js.map +1 -1
- package/esm2015/cypress/components/aup-popup-menu.js +19 -0
- package/esm2015/cypress/components/aup-popup-menu.js.map +1 -0
- package/esm2015/cypress/components/aup-popup-menu.metadata.json +1 -0
- package/esm2015/cypress/components/aup-table.js +33 -5
- package/esm2015/cypress/components/aup-table.js.map +1 -1
- package/esm2015/cypress/components/aup-table.metadata.json +1 -1
- package/esm2015/cypress/components/button-mixin.js +15 -0
- package/esm2015/cypress/components/button-mixin.js.map +1 -0
- package/esm2015/cypress/components/button-mixin.metadata.json +1 -0
- package/esm2015/cypress/components/button.js +10 -4
- package/esm2015/cypress/components/button.js.map +1 -1
- package/esm2015/cypress/components/button.metadata.json +1 -1
- package/esm2015/cypress/exports.js +4 -25
- package/esm2015/cypress/exports.js.map +1 -1
- package/esm2015/cypress/exports.metadata.json +1 -1
- package/esm2015/cypress/page-element.js +19 -26
- package/esm2015/cypress/page-element.js.map +1 -1
- package/esm2015/cypress/page-element.metadata.json +1 -1
- package/esm2015/cypress/page.js +10 -8
- package/esm2015/cypress/page.js.map +1 -1
- package/esm2015/cypress/page.metadata.json +1 -1
- package/esm2015/cypress/path.js +1 -3
- package/esm2015/cypress/path.js.map +1 -1
- package/esm2015/cypress/section.js +58 -0
- package/esm2015/cypress/section.js.map +1 -0
- package/esm2015/cypress/section.metadata.json +1 -0
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/{cards/card-container → card-container}/card-container.component.js +22 -11
- package/esm2015/lib/components/card-container/card-container.component.js.map +1 -0
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -0
- package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/{labelled-value/labelled-value.component.scss.shim.ngstyle.js.map → card-container/card-container.component.scss.shim.ngstyle.js.map} +1 -1
- package/esm2015/lib/components/components.module.js +24 -32
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
- package/esm2015/lib/components/exports.js +1 -4
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.js +0 -1
- package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +11 -17
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +0 -4
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +1 -4
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +1 -4
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +1 -4
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +2 -6
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +43 -0
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +1 -0
- package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +2 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +2 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +1 -0
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -3
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +4 -3
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
- package/esm2015/lib/interaction/exports.js +3 -5
- package/esm2015/lib/interaction/exports.js.map +1 -1
- package/esm2015/lib/interaction/exports.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.js +4 -10
- package/esm2015/lib/interaction/interaction.module.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place-router.js +8 -3
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place-router.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.js +7 -1
- package/esm2015/lib/place/url-snapshot.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
- package/fesm2015/coolon-angular-ui-powerups-cypress.js +219 -532
- package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +91 -489
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/{cards/card-container → card-container}/card-container.component.d.ts +10 -9
- package/lib/components/exports.d.ts +1 -4
- package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -0
- package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +3 -14
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +0 -1
- package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +12 -0
- package/lib/interaction/components/input-activities/input-activity-data.d.ts +11 -0
- package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +8 -0
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +3 -11
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +2 -2
- package/lib/interaction/exports.d.ts +3 -5
- package/package.json +1 -1
- package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
- package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +3 -5
- package/assets/cards.scss +0 -13
- package/assets/empty-state.scss +0 -11
- package/cypress/component-builder.d.ts +0 -71
- package/cypress/components/aup-abstract-activity.d.ts +0 -31
- package/cypress/components/aup-abstract-table.d.ts +0 -18
- package/cypress/components/aup-activity.d.ts +0 -9
- package/cypress/components/aup-alert-dialog.d.ts +0 -27
- package/cypress/components/aup-alert.d.ts +0 -9
- package/cypress/components/aup-confirm-dialog.d.ts +0 -27
- package/cypress/components/aup-confirm.d.ts +0 -11
- package/cypress/components/aup-empty-state.d.ts +0 -4
- package/cypress/components/aup-modal-activity.d.ts +0 -24
- package/cypress/components/aup-modal-mixin.d.ts +0 -23
- package/cypress/components/aup-tree-table.d.ts +0 -16
- package/cypress/components/form-element-mixin.d.ts +0 -22
- package/cypress/components/mat-checkbox.d.ts +0 -31
- package/cypress/components/popup/aup-abstract-popup-menu.d.ts +0 -15
- package/cypress/components/popup/aup-more-menu.d.ts +0 -5
- package/cypress/components/popup/aup-popup-menu-panel.d.ts +0 -3
- package/cypress/components/popup/aup-popup-menu.d.ts +0 -7
- package/cypress/components/table/aup-table-cell.d.ts +0 -9
- package/cypress/components/table/aup-table-column.d.ts +0 -10
- package/cypress/components/table/aup-table-row.d.ts +0 -17
- package/cypress/components/table/aup-table-selection-cell.d.ts +0 -5
- package/cypress/components/table/aup-table-selection-column.d.ts +0 -5
- package/cypress/element-locator.d.ts +0 -8
- package/cypress/page-builder.d.ts +0 -9
- package/esm2015/cypress/component-builder.js +0 -92
- package/esm2015/cypress/component-builder.js.map +0 -1
- package/esm2015/cypress/component-builder.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
- package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-table.js +0 -50
- package/esm2015/cypress/components/aup-abstract-table.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-table.metadata.json +0 -1
- package/esm2015/cypress/components/aup-activity.js +0 -13
- package/esm2015/cypress/components/aup-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.js +0 -8
- package/esm2015/cypress/components/aup-alert-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert.js +0 -13
- package/esm2015/cypress/components/aup-alert.js.map +0 -1
- package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.js +0 -8
- package/esm2015/cypress/components/aup-confirm-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm.js +0 -19
- package/esm2015/cypress/components/aup-confirm.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm.metadata.json +0 -1
- package/esm2015/cypress/components/aup-empty-state.js +0 -7
- package/esm2015/cypress/components/aup-empty-state.js.map +0 -1
- package/esm2015/cypress/components/aup-empty-state.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-activity.js +0 -5
- package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.js +0 -18
- package/esm2015/cypress/components/aup-modal-mixin.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/aup-tree-table.js +0 -34
- package/esm2015/cypress/components/aup-tree-table.js.map +0 -1
- package/esm2015/cypress/components/aup-tree-table.metadata.json +0 -1
- package/esm2015/cypress/components/form-element-mixin.js +0 -11
- package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
- package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/mat-checkbox.js +0 -34
- package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
- package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +0 -33
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.js +0 -8
- package/esm2015/cypress/components/popup/aup-more-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +0 -4
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.js +0 -12
- package/esm2015/cypress/components/popup/aup-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.js +0 -14
- package/esm2015/cypress/components/table/aup-table-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-column.js +0 -19
- package/esm2015/cypress/components/table/aup-table-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-column.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-row.js +0 -28
- package/esm2015/cypress/components/table/aup-table-row.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-row.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +0 -1
- package/esm2015/cypress/element-locator.js +0 -16
- package/esm2015/cypress/element-locator.js.map +0 -1
- package/esm2015/cypress/element-locator.metadata.json +0 -1
- package/esm2015/cypress/page-builder.js +0 -16
- package/esm2015/cypress/page-builder.js.map +0 -1
- package/esm2015/cypress/page-builder.metadata.json +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.js +0 -29
- package/esm2015/lib/components/cards/abstract-card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +0 -72
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.js +0 -22
- package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +0 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +0 -75
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/edit-context.js +0 -2
- package/esm2015/lib/interaction/components/editors/edit-context.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +0 -28
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +0 -160
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.js +0 -71
- package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +0 -1
- package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +0 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +0 -11
- package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -63
- package/lib/components/labelled-value/labelled-value.component.d.ts +0 -7
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +0 -38
- package/lib/interaction/components/editors/edit-context.d.ts +0 -3
- package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +0 -18
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +0 -56
- package/lib/interaction/components/input-activities/input-activity.d.ts +0 -33
package/lib/components/{cards/card-container → card-container}/card-container.component.d.ts
RENAMED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Command } from '@coolon/pectin';
|
|
3
|
+
import { CommandFace } from '../commands/command-face';
|
|
4
|
+
import { DisposableComponent } from '../disposable-component';
|
|
2
5
|
/**
|
|
3
6
|
* @example
|
|
4
7
|
* // basic usage
|
|
@@ -16,13 +19,6 @@ import { AbstractCardContainerComponent } from '../abstract-card-container.compo
|
|
|
16
19
|
* <my-card *ngFor="..."></my-card>
|
|
17
20
|
* </aup-card-container>
|
|
18
21
|
*
|
|
19
|
-
* // use the aup-add-card-activity to display as the new card place holder and to run
|
|
20
|
-
* // the activity inside teh card
|
|
21
|
-
* <aup-card-container [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
22
|
-
* <my-card *ngFor="..."></my-card>
|
|
23
|
-
* <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
|
|
24
|
-
* </aup-card-container>
|
|
25
|
-
*
|
|
26
22
|
* // adds an add card component using the specified template. The template
|
|
27
23
|
* // will fill it's container in the grid.
|
|
28
24
|
* <aup-card-container>
|
|
@@ -60,5 +56,10 @@ import { AbstractCardContainerComponent } from '../abstract-card-container.compo
|
|
|
60
56
|
* --card-background: var(--card-background, #fcfcfb);
|
|
61
57
|
* }
|
|
62
58
|
*/
|
|
63
|
-
export declare class CardContainerComponent extends
|
|
59
|
+
export declare class CardContainerComponent extends DisposableComponent implements OnInit {
|
|
60
|
+
addCardCommand: Command<any>;
|
|
61
|
+
addCardFace: CommandFace;
|
|
62
|
+
addCardTemplate: TemplateRef<any>;
|
|
63
|
+
constructor();
|
|
64
|
+
ngOnInit(): void;
|
|
64
65
|
}
|
|
@@ -8,9 +8,7 @@ export * from "./focusable.component";
|
|
|
8
8
|
export * from "./resize-aware.component";
|
|
9
9
|
export * from "./track-by";
|
|
10
10
|
export * from "./busy-overlay/busy-overlay.component";
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./cards/card-container/card-container.component";
|
|
13
|
-
export * from "./cards/card-stack/card-stack.component";
|
|
11
|
+
export * from "./card-container/card-container.component";
|
|
14
12
|
export * from "./commands/command-face";
|
|
15
13
|
export * from "./commands/flex.component";
|
|
16
14
|
export * from "./commands/separator.component";
|
|
@@ -38,7 +36,6 @@ export * from "./forms/select-input/select-input.component";
|
|
|
38
36
|
export * from "./forms/string-input/string-input.component";
|
|
39
37
|
export * from "./forms/text-input/text-input.component";
|
|
40
38
|
export * from "./icon/icon.component";
|
|
41
|
-
export * from "./labelled-value/labelled-value.component";
|
|
42
39
|
export * from "./noop/noop.component";
|
|
43
40
|
export * from "./scroll-container/scroll-container.component";
|
|
44
41
|
export * from "./section-header/section-header.component";
|
|
@@ -6,6 +6,7 @@ export declare class FlattenedTreeListModel<T> extends ComputedListModel<Decorat
|
|
|
6
6
|
private readonly childRef;
|
|
7
7
|
readonly expansionModel: TreeExpansionModel<DecoratedTreeNode<T>>;
|
|
8
8
|
constructor(source: ListModel<T>, childRef: (node: T) => T[], expansionModel: TreeExpansionModel<DecoratedTreeNode<T>>);
|
|
9
|
+
getIdentityOf(item: DecoratedTreeNode<T>): any;
|
|
9
10
|
compute(values: T[]): DecoratedTreeNode<T>[];
|
|
10
11
|
private addNodeAndVisibleChildren;
|
|
11
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ListModel, MutableValueModel, SelectionModel, ValueModel } from '@coolon/pectin';
|
|
2
2
|
import { AbstractTableModel } from '../abstract-table-model';
|
|
3
3
|
import { SelectionColumnModel } from '../table/column-model';
|
|
4
|
+
import { DecoratedTreeNode } from './decorated-tree-node';
|
|
4
5
|
import { TreeExpansionModel } from './tree-expansion-model';
|
|
5
6
|
import { TreeLabelColumnModel } from './tree-label-column-model';
|
|
6
7
|
export declare type ChildArrayPropertiesOf<T> = {
|
|
@@ -11,10 +12,10 @@ export declare class TreeTableModel<Row> extends AbstractTableModel<Row> {
|
|
|
11
12
|
private readonly flattenedDataSource;
|
|
12
13
|
constructor(source: ListModel<Row>, childAccessor: ChildArrayPropertiesOf<Row> | ((node: Row) => Row[]), builder?: (model: TreeTableModel<Row>) => void);
|
|
13
14
|
treeControlColumn(builder: (column: TreeLabelColumnModel<Row>) => void): void;
|
|
14
|
-
expand(node: Row): void;
|
|
15
|
-
collapse(node: Row): void;
|
|
16
|
-
isCollapsed(node: Row): boolean;
|
|
17
|
-
ensureAncestorsAndSelfVisible(node: Row): void;
|
|
15
|
+
expand(node: DecoratedTreeNode<Row>): void;
|
|
16
|
+
collapse(node: DecoratedTreeNode<Row>): void;
|
|
17
|
+
isCollapsed(node: DecoratedTreeNode<Row>): boolean;
|
|
18
|
+
ensureAncestorsAndSelfVisible(node: DecoratedTreeNode<Row>): void;
|
|
18
19
|
addSelectionColumn(selectionModel?: SelectionModel<Row>, showSelectionColumn?: ValueModel<boolean> | boolean): SelectionColumnModel<Row>;
|
|
19
20
|
}
|
|
20
21
|
export declare namespace TreeTableModel {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { Command } from '@coolon/pectin';
|
|
3
|
-
import { Enum } from 'typescript-string-enums';
|
|
4
3
|
import { CommandFace } from '../../../components/commands/command-face';
|
|
5
4
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
6
5
|
/**
|
|
@@ -41,8 +40,9 @@ export declare class ActivityActionsComponent extends DisposableComponent implem
|
|
|
41
40
|
* @deprecated use #faces instead.
|
|
42
41
|
*/
|
|
43
42
|
set style(style: ActivityActionsComponent.Style);
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
align: 'start' | 'end' | 'stretch';
|
|
44
|
+
get alignEnd(): boolean;
|
|
45
|
+
get alignStretch(): boolean;
|
|
46
46
|
constructor(cdr: ChangeDetectorRef);
|
|
47
47
|
ngOnInit(): void;
|
|
48
48
|
hasConfirmFace(): boolean;
|
|
@@ -53,17 +53,6 @@ export declare class ActivityActionsComponent extends DisposableComponent implem
|
|
|
53
53
|
}): void;
|
|
54
54
|
}
|
|
55
55
|
export declare namespace ActivityActionsComponent {
|
|
56
|
-
const Layout: {
|
|
57
|
-
INLINE: "inline";
|
|
58
|
-
BLOCK: "block";
|
|
59
|
-
};
|
|
60
|
-
type Layout = Enum<typeof Layout>;
|
|
61
|
-
const Align: {
|
|
62
|
-
START: "start";
|
|
63
|
-
END: "end";
|
|
64
|
-
STRETCH: "stretch";
|
|
65
|
-
};
|
|
66
|
-
type Align = Enum<typeof Align>;
|
|
67
56
|
interface Style {
|
|
68
57
|
confirm: CommandFace;
|
|
69
58
|
cancel: CommandFace;
|
package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class AbstractActivityTriggerComponent<D = any, R = any, E = any>
|
|
|
14
14
|
faceModel: ValueModel<CommandFace>;
|
|
15
15
|
alignFace: HorizontalAlignment;
|
|
16
16
|
readonly startActivityCommand: Command<unknown>;
|
|
17
|
-
|
|
17
|
+
interactionContext: InteractionContext;
|
|
18
18
|
confirmEvent: EventEmitter<R>;
|
|
19
19
|
cancelEvent: EventEmitter<E>;
|
|
20
20
|
constructor();
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { InteractionContext } from '../../../interaction-context';
|
|
2
2
|
import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.component';
|
|
3
3
|
export declare class InlineActivityTriggerComponent<D = any, R = any, E = any> extends AbstractActivityTriggerComponent<D, R, E> {
|
|
4
|
-
|
|
5
|
-
get interactionContext(): InteractionContext;
|
|
4
|
+
interactionContext: InteractionContext;
|
|
6
5
|
constructor();
|
|
7
6
|
}
|
|
@@ -2,7 +2,6 @@ import { InteractionContext } from '../../../interaction-context';
|
|
|
2
2
|
import { InteractionService } from '../../../services/interaction.service';
|
|
3
3
|
import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.component';
|
|
4
4
|
export declare class ModalActivityTriggerComponent<D = any, R = any, E = any> extends AbstractActivityTriggerComponent<D, R, E> {
|
|
5
|
-
|
|
6
|
-
get interactionContext(): InteractionContext;
|
|
5
|
+
interactionContext: InteractionContext;
|
|
7
6
|
constructor(interactionService: InteractionService);
|
|
8
7
|
}
|
|
@@ -3,7 +3,6 @@ import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.c
|
|
|
3
3
|
export declare class PopupActivityTriggerComponent<D = any, R = any, E = any> extends AbstractActivityTriggerComponent<D, R, E> {
|
|
4
4
|
anchorX: 'start' | 'end';
|
|
5
5
|
anchorY: 'top' | 'bottom';
|
|
6
|
-
|
|
6
|
+
interactionContext: InteractionContext;
|
|
7
7
|
constructor();
|
|
8
|
-
get interactionContext(): InteractionContext;
|
|
9
8
|
}
|
|
@@ -29,7 +29,6 @@ export declare class InPlaceInteractionContextComponent<D, R, E> extends Disposa
|
|
|
29
29
|
*/
|
|
30
30
|
animateFirstActivity: boolean;
|
|
31
31
|
get animationDuration(): string;
|
|
32
|
-
get active(): boolean;
|
|
33
32
|
constructor(interactionService: InteractionService, tabConfig: MatTabsConfig);
|
|
34
33
|
ngAfterViewInit(): void;
|
|
35
34
|
initialise(id: string, api: InteractionService.Api): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Command, Form } from '@coolon/pectin';
|
|
2
|
+
import { Activity } from '../../activity';
|
|
3
|
+
import { InputActivityData } from './input-activity-data';
|
|
4
|
+
export declare class AbstractInputActivity<T, D extends InputActivityData<T> = InputActivityData<T>> extends Activity<D, T> {
|
|
5
|
+
readonly data: D;
|
|
6
|
+
readonly confirmCommand: Command<void>;
|
|
7
|
+
readonly cancelCommand: Command<void>;
|
|
8
|
+
readonly valueModel: Form.ValueModelBase<T>;
|
|
9
|
+
class: string;
|
|
10
|
+
constructor(data: D);
|
|
11
|
+
onActivityReady(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Form, Validator } from '@coolon/pectin';
|
|
2
|
+
import { InteractionContext } from '../../interaction-context';
|
|
3
|
+
import { ActivityActionsComponent } from '../activity-actions/activity-actions.component';
|
|
4
|
+
export interface InputActivityData<T> {
|
|
5
|
+
initialValue: T;
|
|
6
|
+
buttonStyle: ActivityActionsComponent.Style;
|
|
7
|
+
label?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
validators?: Validator<T>[];
|
|
10
|
+
save?(valueModel: Form.ValueModelBase<T>, interactionContext?: InteractionContext): void | Promise<unknown>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ListModel } from '@coolon/pectin';
|
|
2
|
+
import { InputActivityData } from './input-activity-data';
|
|
3
|
+
export interface SelectInputActivityData<T> extends InputActivityData<T> {
|
|
4
|
+
options?: T[];
|
|
5
|
+
optionsModel?: ListModel<T>;
|
|
6
|
+
optionLabel?: keyof T;
|
|
7
|
+
optionLabelFormat?: (option: T) => any;
|
|
8
|
+
}
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare class SelectInputActivity<T> extends
|
|
1
|
+
import { AbstractInputActivity } from './abstract-input-activity';
|
|
2
|
+
import { SelectInputActivityData } from './select-input-activity-data';
|
|
3
|
+
export declare class SelectInputActivity<T> extends AbstractInputActivity<T, SelectInputActivityData<T>> {
|
|
4
4
|
readonly defaultOptionLabelFormat: (option: T) => T | T[keyof T];
|
|
5
5
|
get optionLabelFormat(): (option: T) => any;
|
|
6
6
|
get options(): T[];
|
|
7
7
|
}
|
|
8
|
-
export declare namespace SelectInputActivity {
|
|
9
|
-
interface Data<T> extends InputActivity.Data<T> {
|
|
10
|
-
options?: T[];
|
|
11
|
-
optionsModel?: ListModel<T>;
|
|
12
|
-
optionLabel?: keyof T;
|
|
13
|
-
optionLabelFormat?: (option: T) => any;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class StringInputActivity extends
|
|
1
|
+
import { AbstractInputActivity } from './abstract-input-activity';
|
|
2
|
+
export declare class StringInputActivity extends AbstractInputActivity<string> {
|
|
3
3
|
}
|
|
@@ -19,16 +19,14 @@ export * from "./components/activity-triggers/abstract-activity-trigger.componen
|
|
|
19
19
|
export * from "./components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component";
|
|
20
20
|
export * from "./components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component";
|
|
21
21
|
export * from "./components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component";
|
|
22
|
-
export * from "./components/add-card-activity/add-card-activity.component";
|
|
23
22
|
export * from "./components/add-item-interaction-context/add-item-interaction-context.component";
|
|
24
23
|
export * from "./components/alert-dialog/alert-dialog.component";
|
|
25
24
|
export * from "./components/confirm-then-dialog/confirm-then-dialog.component";
|
|
26
25
|
export * from "./components/confirmation-dialog/confirmation-dialog.component";
|
|
27
|
-
export * from "./components/editors/edit-context";
|
|
28
|
-
export * from "./components/editors/inline-string-editor/inline-editor-model";
|
|
29
|
-
export * from "./components/editors/inline-string-editor/inline-string-editor.component";
|
|
30
26
|
export * from "./components/inplace-interaction-context/in-place-interaction-context.component";
|
|
31
|
-
export * from "./components/input-activities/input-activity";
|
|
27
|
+
export * from "./components/input-activities/abstract-input-activity";
|
|
28
|
+
export * from "./components/input-activities/input-activity-data";
|
|
29
|
+
export * from "./components/input-activities/select-input-activity-data";
|
|
32
30
|
export * from "./components/input-activities/select-input-activity";
|
|
33
31
|
export * from "./components/input-activities/string-input-activity";
|
|
34
32
|
export * from "./components/popup-interaction-context/popup-interaction-context.component";
|
package/package.json
CHANGED
|
@@ -8,11 +8,11 @@ import { I18n } from '<%=pathToRoot%>/i18n';
|
|
|
8
8
|
templateUrl: './<%=dasherize(name)%>.component.html',
|
|
9
9
|
styleUrls: ['./<%=dasherize(name)%>.component.scss'],
|
|
10
10
|
})
|
|
11
|
-
export class <%=capitalize(camelize(name))%>Component extends Activity<<%=capitalize(camelize(name))
|
|
11
|
+
export class <%=capitalize(camelize(name))%>Component extends Activity<<%=capitalize(camelize(name))%>.Data, void> implements OnInit {
|
|
12
12
|
|
|
13
13
|
readonly i18n = <%=i18nNamespace%>;
|
|
14
14
|
|
|
15
|
-
constructor(@Inject(ACTIVITY_DATA) private readonly data: <%=capitalize(camelize(name))
|
|
15
|
+
constructor(@Inject(ACTIVITY_DATA) private readonly data: <%=capitalize(camelize(name))%>.Data) {
|
|
16
16
|
super();
|
|
17
17
|
const {chain} = Dsl.disposeWith(this);
|
|
18
18
|
|
|
@@ -22,8 +22,6 @@ export class <%=capitalize(camelize(name))%>Component extends Activity<<%=capita
|
|
|
22
22
|
this.cancelCommand = Command.create(() => {
|
|
23
23
|
this.cancel();
|
|
24
24
|
});
|
|
25
|
-
|
|
26
|
-
this.busyWhile(this.confirmCommand.busy);
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
ngOnInit() {
|
|
@@ -31,7 +29,7 @@ export class <%=capitalize(camelize(name))%>Component extends Activity<<%=capita
|
|
|
31
29
|
|
|
32
30
|
}
|
|
33
31
|
|
|
34
|
-
export namespace <%=capitalize(camelize(name))%>
|
|
32
|
+
export namespace <%=capitalize(camelize(name))%> {
|
|
35
33
|
export interface Data {
|
|
36
34
|
}
|
|
37
35
|
}
|
package/assets/cards.scss
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@use "~@angular/material" as mat;
|
|
2
|
-
@use "sass:map";
|
|
3
|
-
|
|
4
|
-
@mixin apply-theme($color-config, $typography-config) {
|
|
5
|
-
aup-add-card-activity {
|
|
6
|
-
aup-command-face {
|
|
7
|
-
// this isn't working... need to dig deeper
|
|
8
|
-
//@include mat.button-typography($typography-config);
|
|
9
|
-
//@include mat.button-theme($color-config);
|
|
10
|
-
//color: black;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
package/assets/empty-state.scss
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { Constructable } from '@coolon/pectin';
|
|
3
|
-
import { AupCommand } from './components/aup-command';
|
|
4
|
-
import { AupEmptyState } from './components/aup-empty-state';
|
|
5
|
-
import { AupInput } from './components/aup-input';
|
|
6
|
-
import { AupMoreMenu } from './components/popup/aup-more-menu';
|
|
7
|
-
import { AupNavigation } from './components/aup-navigation';
|
|
8
|
-
import { AupTable } from './components/aup-table';
|
|
9
|
-
import { AupTreeTable } from './components/aup-tree-table';
|
|
10
|
-
import { Button } from './components/button';
|
|
11
|
-
import { MatCheckbox } from './components/mat-checkbox';
|
|
12
|
-
import { Types } from './components/types';
|
|
13
|
-
import { ElementLocator } from './element-locator';
|
|
14
|
-
import { PageElement } from './page-element';
|
|
15
|
-
export declare class ComponentBuilder {
|
|
16
|
-
readonly parentPageElement: PageElement;
|
|
17
|
-
constructor(parentPageElement: PageElement);
|
|
18
|
-
find(selector: string): PageElement;
|
|
19
|
-
section<T extends object>(selector: string, builder: ComponentBuilder.ContainerCallback<T>): T & PageElement;
|
|
20
|
-
contains(text: string): PageElement;
|
|
21
|
-
button(text: string): Button;
|
|
22
|
-
matCheckbox(text: string): MatCheckbox;
|
|
23
|
-
aupStringInput(selector?: string): AupInput<string>;
|
|
24
|
-
aupTextInput(selector?: string): AupInput<string>;
|
|
25
|
-
aupPasswordInput(selector?: string): AupInput<string>;
|
|
26
|
-
aupNumberInput(selector?: string): AupInput<number>;
|
|
27
|
-
aupCommand(selector: string): AupCommand;
|
|
28
|
-
aupCommand(face: Types.CommandFace): AupCommand;
|
|
29
|
-
aupTabbedNavigation<T extends object>(): AupNavigation;
|
|
30
|
-
aupSideNavigation<T extends object>(): AupNavigation;
|
|
31
|
-
aupMoreMenu<T extends object>(selector?: string): AupMoreMenu;
|
|
32
|
-
aupTable(selector?: string): AupTable;
|
|
33
|
-
aupTable<T extends object>(builder: ComponentBuilder.ContainerCallback<T, AupTable>): AupTable & T;
|
|
34
|
-
aupTable<T extends object>(selector: string, builder: ComponentBuilder.ContainerCallback<T, AupTable>): AupTable & T;
|
|
35
|
-
aupTreeTable(selector?: string): AupTreeTable;
|
|
36
|
-
aupTreeTable<T extends object>(builder: ComponentBuilder.ContainerCallback<T, AupTreeTable>): AupTreeTable & T;
|
|
37
|
-
aupTreeTable<T extends object>(selector: string, builder: ComponentBuilder.ContainerCallback<T, AupTreeTable>): AupTreeTable & T;
|
|
38
|
-
aupEmptyState(selector?: string): AupEmptyState;
|
|
39
|
-
aupEmptyState<T extends object>(builder: ComponentBuilder.ContainerCallback<T, AupEmptyState>): AupEmptyState & T;
|
|
40
|
-
aupEmptyState<T extends object>(selector: string, builder: ComponentBuilder.ContainerCallback<T, AupEmptyState>): AupEmptyState & T;
|
|
41
|
-
component<E extends PageElement>(klass: Constructable<E>, selector: string): E;
|
|
42
|
-
component<T extends object, E extends PageElement>(klass: Constructable<E>, builder: ComponentBuilder.ContainerCallback<T, E>): E & T;
|
|
43
|
-
component<T extends object, E extends PageElement>(klass: Constructable<E>, selector: string, builder: ComponentBuilder.ContainerCallback<T, E>): E & T;
|
|
44
|
-
component<T extends object, E extends PageElement>(klass: Constructable<E>, selectorOrBuilder?: string | ComponentBuilder.ContainerCallback<T, E>, optionalBuilder?: ComponentBuilder.ContainerCallback<T, E>): E & T;
|
|
45
|
-
}
|
|
46
|
-
export declare namespace ComponentBuilder {
|
|
47
|
-
type ElementCallback<T, E extends PageElement = PageElement> = (section: E) => T;
|
|
48
|
-
type ContainerCallback<T, E extends PageElement = PageElement, B extends ComponentBuilder = ComponentBuilder> = (section: B & E) => T;
|
|
49
|
-
interface HasBuilder {
|
|
50
|
-
readonly builder: ComponentBuilder;
|
|
51
|
-
}
|
|
52
|
-
function Mixin<T, BC extends Constructable<PageElement>>(Base: BC): {
|
|
53
|
-
new (...args: any[]): {
|
|
54
|
-
readonly builder: ComponentBuilder;
|
|
55
|
-
readonly domElementLocator: ElementLocator;
|
|
56
|
-
readonly parent: PageElement<any>;
|
|
57
|
-
getDefaultElementLocator(): ElementLocator;
|
|
58
|
-
getDefaultElementSelector(): string;
|
|
59
|
-
dom(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
60
|
-
find(selector: string): PageElement<PageElement<any>>;
|
|
61
|
-
click(text?: string): void;
|
|
62
|
-
readonly should: any;
|
|
63
|
-
getShoulder(element: Cypress.Chainable<JQuery<HTMLElement>>): any;
|
|
64
|
-
getShouldElement(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
65
|
-
shouldBeVisible(): void;
|
|
66
|
-
shouldNotBeVisible(): void;
|
|
67
|
-
shouldExist(): void;
|
|
68
|
-
shouldNotExist(): void;
|
|
69
|
-
};
|
|
70
|
-
} & BC;
|
|
71
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { ComponentBuilder } from '../component-builder';
|
|
3
|
-
import { ElementLocator } from '../element-locator';
|
|
4
|
-
import { PageElement } from '../page-element';
|
|
5
|
-
import { AupCommand } from './aup-command';
|
|
6
|
-
declare const AupAbstractActivity_base: {
|
|
7
|
-
new (...args: any[]): {
|
|
8
|
-
readonly builder: ComponentBuilder;
|
|
9
|
-
readonly domElementLocator: ElementLocator;
|
|
10
|
-
readonly parent: PageElement<any>;
|
|
11
|
-
getDefaultElementLocator(): ElementLocator;
|
|
12
|
-
getDefaultElementSelector(): string;
|
|
13
|
-
dom(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
14
|
-
find(selector: string): PageElement<PageElement<any>>;
|
|
15
|
-
click(text?: string): void;
|
|
16
|
-
readonly should: any;
|
|
17
|
-
getShoulder(element: Cypress.Chainable<JQuery<HTMLElement>>): any;
|
|
18
|
-
getShouldElement(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
19
|
-
shouldBeVisible(): void;
|
|
20
|
-
shouldNotBeVisible(): void;
|
|
21
|
-
shouldExist(): void;
|
|
22
|
-
shouldNotExist(): void;
|
|
23
|
-
};
|
|
24
|
-
} & typeof PageElement;
|
|
25
|
-
export declare class AupAbstractActivity extends AupAbstractActivity_base {
|
|
26
|
-
protected _confirmCommand: AupCommand;
|
|
27
|
-
protected _cancelCommand: AupCommand;
|
|
28
|
-
readonly title: PageElement;
|
|
29
|
-
constructor(parent: PageElement, selector: string | ElementLocator);
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElementLocator } from '../element-locator';
|
|
2
|
-
import { PageElement } from '../page-element';
|
|
3
|
-
import { AupTableColumn } from './table/aup-table-column';
|
|
4
|
-
import { AupTableRow } from './table/aup-table-row';
|
|
5
|
-
import { AupTableSelectionColumn } from './table/aup-table-selection-column';
|
|
6
|
-
export declare abstract class AupAbstractTable<TR extends AupTableRow> extends PageElement {
|
|
7
|
-
row(rowId: any): TR;
|
|
8
|
-
rowNumber(rowNumber: number): TR;
|
|
9
|
-
column(columnId: string): AupTableColumn<TR>;
|
|
10
|
-
get selectionColumn(): AupTableSelectionColumn<TR>;
|
|
11
|
-
abstract createRow(locator: ElementLocator): TR;
|
|
12
|
-
}
|
|
13
|
-
export declare namespace AupAbstractTable {
|
|
14
|
-
function cssSelectorForTableRowById(rowId: string): string;
|
|
15
|
-
function cssSelectorForNthTableRow(rowNumber: number): string;
|
|
16
|
-
function cssSelectorForColumnCellRendererById(columnOrId: AupTableColumn<any> | string): string;
|
|
17
|
-
function cssSelectorForCell(rowId: string, columnOrId: string | AupTableColumn<any>): string;
|
|
18
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementLocator } from '../element-locator';
|
|
2
|
-
import { PageElement } from '../page-element';
|
|
3
|
-
import { AupAbstractActivity } from './aup-abstract-activity';
|
|
4
|
-
import { AupCommand } from './aup-command';
|
|
5
|
-
export declare class AupActivity extends AupAbstractActivity {
|
|
6
|
-
constructor(parent: PageElement, selector: string | ElementLocator);
|
|
7
|
-
get confirmCommand(): AupCommand;
|
|
8
|
-
get cancelCommand(): AupCommand;
|
|
9
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { ElementLocator } from '../element-locator';
|
|
3
|
-
import { PageElement } from '../page-element';
|
|
4
|
-
import { AupAlert } from './aup-alert';
|
|
5
|
-
declare const AupAlertDialog_base: {
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
getDefaultElementLocator(): ElementLocator;
|
|
8
|
-
clickBackdrop(): void;
|
|
9
|
-
readonly domElementLocator: ElementLocator;
|
|
10
|
-
readonly parent: PageElement<any>;
|
|
11
|
-
getDefaultElementSelector(): string;
|
|
12
|
-
dom(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
-
find(selector: string): PageElement<PageElement<any>>;
|
|
14
|
-
click(text?: string): void;
|
|
15
|
-
readonly should: any;
|
|
16
|
-
getShoulder(element: Cypress.Chainable<JQuery<HTMLElement>>): any;
|
|
17
|
-
getShouldElement(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
18
|
-
shouldBeVisible(): void;
|
|
19
|
-
shouldNotBeVisible(): void;
|
|
20
|
-
shouldExist(): void;
|
|
21
|
-
shouldNotExist(): void;
|
|
22
|
-
};
|
|
23
|
-
} & typeof AupAlert;
|
|
24
|
-
export declare class AupAlertDialog extends AupAlertDialog_base {
|
|
25
|
-
constructor(parent: PageElement, selector: string | ElementLocator);
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementLocator } from '../element-locator';
|
|
2
|
-
import { PageElement } from '../page-element';
|
|
3
|
-
import { AupAbstractActivity } from './aup-abstract-activity';
|
|
4
|
-
import { AupCommand } from './aup-command';
|
|
5
|
-
export declare class AupAlert extends AupAbstractActivity {
|
|
6
|
-
constructor(parent: PageElement, selector: string | ElementLocator);
|
|
7
|
-
get closeCommand(): AupCommand;
|
|
8
|
-
clickClose(): void;
|
|
9
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { ElementLocator } from '../element-locator';
|
|
3
|
-
import { PageElement } from '../page-element';
|
|
4
|
-
import { AupConfirm } from './aup-confirm';
|
|
5
|
-
declare const AupConfirmDialog_base: {
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
getDefaultElementLocator(): ElementLocator;
|
|
8
|
-
clickBackdrop(): void;
|
|
9
|
-
readonly domElementLocator: ElementLocator;
|
|
10
|
-
readonly parent: PageElement<any>;
|
|
11
|
-
getDefaultElementSelector(): string;
|
|
12
|
-
dom(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
-
find(selector: string): PageElement<PageElement<any>>;
|
|
14
|
-
click(text?: string): void;
|
|
15
|
-
readonly should: any;
|
|
16
|
-
getShoulder(element: Cypress.Chainable<JQuery<HTMLElement>>): any;
|
|
17
|
-
getShouldElement(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
18
|
-
shouldBeVisible(): void;
|
|
19
|
-
shouldNotBeVisible(): void;
|
|
20
|
-
shouldExist(): void;
|
|
21
|
-
shouldNotExist(): void;
|
|
22
|
-
};
|
|
23
|
-
} & typeof AupConfirm;
|
|
24
|
-
export declare class AupConfirmDialog extends AupConfirmDialog_base {
|
|
25
|
-
constructor(parent: PageElement, selector: string | ElementLocator);
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ElementLocator } from '../element-locator';
|
|
2
|
-
import { PageElement } from '../page-element';
|
|
3
|
-
import { AupAbstractActivity } from './aup-abstract-activity';
|
|
4
|
-
import { AupCommand } from './aup-command';
|
|
5
|
-
export declare class AupConfirm extends AupAbstractActivity {
|
|
6
|
-
constructor(parent: PageElement, selector: string | ElementLocator);
|
|
7
|
-
get confirmCommand(): AupCommand;
|
|
8
|
-
clickConfirm(): void;
|
|
9
|
-
get cancelCommand(): AupCommand;
|
|
10
|
-
clickCancel(): void;
|
|
11
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { AupActivity } from './aup-activity';
|
|
3
|
-
declare const AupModalActivity_base: {
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
getDefaultElementLocator(): import("../element-locator").ElementLocator;
|
|
6
|
-
clickBackdrop(): void;
|
|
7
|
-
readonly domElementLocator: import("../element-locator").ElementLocator;
|
|
8
|
-
readonly parent: import("../page-element").PageElement<any>;
|
|
9
|
-
getDefaultElementSelector(): string;
|
|
10
|
-
dom(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
11
|
-
find(selector: string): import("../page-element").PageElement<import("../page-element").PageElement<any>>;
|
|
12
|
-
click(text?: string): void;
|
|
13
|
-
readonly should: any;
|
|
14
|
-
getShoulder(element: Cypress.Chainable<JQuery<HTMLElement>>): any;
|
|
15
|
-
getShouldElement(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
16
|
-
shouldBeVisible(): void;
|
|
17
|
-
shouldNotBeVisible(): void;
|
|
18
|
-
shouldExist(): void;
|
|
19
|
-
shouldNotExist(): void;
|
|
20
|
-
};
|
|
21
|
-
} & typeof AupActivity;
|
|
22
|
-
export declare class AupModalActivity extends AupModalActivity_base {
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
import { Constructable } from '@coolon/pectin';
|
|
3
|
-
import { ElementLocator } from '../element-locator';
|
|
4
|
-
import { PageElement } from '../page-element';
|
|
5
|
-
export declare function AupModalMixin<T, BC extends Constructable<PageElement>>(Base: BC): {
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
getDefaultElementLocator(): ElementLocator;
|
|
8
|
-
clickBackdrop(): void;
|
|
9
|
-
readonly domElementLocator: ElementLocator;
|
|
10
|
-
readonly parent: PageElement<any>;
|
|
11
|
-
getDefaultElementSelector(): string;
|
|
12
|
-
dom(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
13
|
-
find(selector: string): PageElement<PageElement<any>>;
|
|
14
|
-
click(text?: string): void;
|
|
15
|
-
readonly should: any;
|
|
16
|
-
getShoulder(element: Cypress.Chainable<JQuery<HTMLElement>>): any;
|
|
17
|
-
getShouldElement(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
18
|
-
shouldBeVisible(): void;
|
|
19
|
-
shouldNotBeVisible(): void;
|
|
20
|
-
shouldExist(): void;
|
|
21
|
-
shouldNotExist(): void;
|
|
22
|
-
};
|
|
23
|
-
} & BC;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ElementLocator } from '../element-locator';
|
|
2
|
-
import { AupAbstractTable } from './aup-abstract-table';
|
|
3
|
-
import { AupTableColumn } from './table/aup-table-column';
|
|
4
|
-
import { AupTableRow } from './table/aup-table-row';
|
|
5
|
-
export declare class AupTreeTable extends AupAbstractTable<AupTreeTable.Row> {
|
|
6
|
-
get treeControlColumn(): AupTreeTable.TreeControlColumn;
|
|
7
|
-
createRow(locator: ElementLocator): AupTreeTable.Row;
|
|
8
|
-
}
|
|
9
|
-
export declare namespace AupTreeTable {
|
|
10
|
-
class Row extends AupTableRow {
|
|
11
|
-
shouldBeExpanded(): void;
|
|
12
|
-
shouldBeCollapsed(): void;
|
|
13
|
-
}
|
|
14
|
-
class TreeControlColumn extends AupTableColumn<Row> {
|
|
15
|
-
}
|
|
16
|
-
}
|