2607-preview_icon #464

Merged
carlosjr merged 2 commits from 2607-preview_icon into dev 2020-11-24 09:33:49 +00:00
21 changed files with 23 additions and 23 deletions
Showing only changes of commit 80bae4de0a - Show all commits

View File

@ -168,12 +168,12 @@ let actions = {
},
reloadSection: async function(state) {
await this.click('vn-icon[icon="desktop_windows"]');
await this.click('vn-icon[icon="preview"]');
await this.accessToSection(state);
},
forceReloadSection: async function(sectionRoute) {
await this.waitToClick('vn-icon[icon="desktop_windows"]');
await this.waitToClick('vn-icon[icon="preview"]');
await this.waitToClick('button[response="accept"]');
await this.wait('vn-card.summary');
await this.waitToClick(`vn-left-menu li > a[ui-sref="${sectionRoute}"]`);

View File

@ -211,7 +211,7 @@ export default {
newClassificationStartingDate: 'vn-client-credit-insurance-create vn-date-picker[ng-model="$ctrl.creditClassification.started"]',
newInsuranceStartingDate: 'vn-client-credit-insurance-insurance-create vn-date-picker[ng-model="$ctrl.insurance.created"]',
endCurrentContract: 'vn-client-credit-insurance-index vn-icon-button[icon="lock"]',
firstContratViewCreditButton: 'vn-client-credit-insurance-index vn-card > vn-horizontal:nth-child(1) vn-icon-button[icon="desktop_windows"]',
firstContratViewCreditButton: 'vn-client-credit-insurance-index vn-card > vn-horizontal:nth-child(1) vn-icon-button[icon="preview"]',
addNewCredit: 'vn-client-credit-insurance-insurance-index vn-float-button vn-icon[icon="add"]',
saveNewContract: 'vn-client-credit-insurance-create vn-submit',
saveNewInsuranceCredit: 'vn-client-credit-insurance-insurance-create button[type="submit"]',
@ -228,7 +228,7 @@ export default {
createItemButton: `vn-float-button`,
firstSearchResult: 'vn-item-index a:nth-child(1)',
searchResult: 'vn-item-index a.vn-tr',
firstResultPreviewButton: 'vn-item-index vn-tbody > :nth-child(1) .buttons > [icon="desktop_windows"]',
firstResultpreviewButton: 'vn-item-index vn-tbody > :nth-child(1) .buttons > [icon="preview"]',
searchResultCloneButton: 'vn-item-index .buttons > [icon="icon-clone"]',
acceptClonationAlertButton: '.vn-confirm.shown [response="accept"]',
closeItemSummaryPreview: '.vn-popup.shown',

View File

@ -15,7 +15,7 @@
<a
translate-attr="{title: 'Preview'}"
ui-sref="{{::$ctrl.summaryState}}({id: $ctrl.descriptor.id})">
<vn-icon icon="desktop_windows"></vn-icon>
<vn-icon icon="preview"></vn-icon>
</a>
<vn-icon-button ng-if="$ctrl.$transclude.isSlotFilled('menu')"
ng-class="::{invisible: !$ctrl.$transclude.isSlotFilled('menu')}"

View File

@ -20,7 +20,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(alias)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-item-section>
</a>

View File

@ -26,7 +26,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(user)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-item-section>
</a>

View File

@ -21,7 +21,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(role)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-item-section>
</a>

View File

@ -11,7 +11,7 @@
{"state": "account.alias", "icon": "email"},
{"state": "account.accounts", "icon": "accessibility"},
{"state": "account.ldap", "icon": "account_tree"},
{"state": "account.samba", "icon": "desktop_windows"},
{"state": "account.samba", "icon": "preview"},
{"state": "account.acl", "icon": "check"},
{"state": "account.connections", "icon": "share"}
],

View File

@ -46,7 +46,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(claim)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-td>
</a>

View File

@ -42,7 +42,7 @@
</vn-horizontal>
</vn-vertical>
<a vn-auto ui-sref="client.card.creditInsurance.insurance.index({classificationId: {{classification.id}}})">
<vn-icon-button icon="desktop_windows" vn-tooltip="View credits"></vn-icon-button>
<vn-icon-button icon="preview" vn-tooltip="View credits"></vn-icon-button>
</a>
</vn-horizontal>
</vn-one>

View File

@ -47,7 +47,7 @@
<vn-icon-button
ng-click="$ctrl.openSummary(client, $event)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-item-section>
</a>

View File

@ -49,7 +49,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(invoiceOut)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-td>
</a>

View File

@ -94,7 +94,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(item)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-horizontal>
</vn-td>

View File

@ -58,7 +58,7 @@
<vn-td shrink>
<vn-icon-button
vn-click-stop="$ctrl.preview(order)"
icon="desktop_windows"
icon="preview"
vn-tooltip="Preview">
</vn-icon-button>
</vn-td>

View File

@ -50,7 +50,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(route)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-td>
</a>

View File

@ -47,7 +47,7 @@
<vn-icon-button
ng-click="$ctrl.openSummary(supplier, $event)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-item-section>
</a>

View File

@ -133,7 +133,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(ticket)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-td>
</a>

View File

@ -52,7 +52,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(travel)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-horizontal>
</vn-td>

View File

@ -35,7 +35,7 @@
<vn-icon-button
ng-click="$ctrl.preview($event, worker)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-item-section>
</a>

View File

@ -90,7 +90,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(zone)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-horizontal>
</vn-td>

View File

@ -38,7 +38,7 @@
<vn-icon-button
vn-click-stop="$ctrl.preview(zone)"
vn-tooltip="Preview"
icon="desktop_windows">
icon="preview">
</vn-icon-button>
</vn-horizontal>
</vn-td>

2
package-lock.json generated
View File

@ -23078,7 +23078,7 @@
},
"sha.js": {
"version": "2.4.11",
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
"resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
"dev": true,
"requires": {