2607-preview_icon #464
|
@ -168,12 +168,12 @@ let actions = {
|
||||||
},
|
},
|
||||||
|
|
||||||
reloadSection: async function(state) {
|
reloadSection: async function(state) {
|
||||||
await this.click('vn-icon[icon="desktop_windows"]');
|
await this.click('vn-icon[icon="preview"]');
|
||||||
await this.accessToSection(state);
|
await this.accessToSection(state);
|
||||||
},
|
},
|
||||||
|
|
||||||
forceReloadSection: async function(sectionRoute) {
|
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.waitToClick('button[response="accept"]');
|
||||||
await this.wait('vn-card.summary');
|
await this.wait('vn-card.summary');
|
||||||
await this.waitToClick(`vn-left-menu li > a[ui-sref="${sectionRoute}"]`);
|
await this.waitToClick(`vn-left-menu li > a[ui-sref="${sectionRoute}"]`);
|
||||||
|
|
|
@ -211,7 +211,7 @@ export default {
|
||||||
newClassificationStartingDate: 'vn-client-credit-insurance-create vn-date-picker[ng-model="$ctrl.creditClassification.started"]',
|
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"]',
|
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"]',
|
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"]',
|
addNewCredit: 'vn-client-credit-insurance-insurance-index vn-float-button vn-icon[icon="add"]',
|
||||||
saveNewContract: 'vn-client-credit-insurance-create vn-submit',
|
saveNewContract: 'vn-client-credit-insurance-create vn-submit',
|
||||||
saveNewInsuranceCredit: 'vn-client-credit-insurance-insurance-create button[type="submit"]',
|
saveNewInsuranceCredit: 'vn-client-credit-insurance-insurance-create button[type="submit"]',
|
||||||
|
@ -228,7 +228,7 @@ export default {
|
||||||
createItemButton: `vn-float-button`,
|
createItemButton: `vn-float-button`,
|
||||||
firstSearchResult: 'vn-item-index a:nth-child(1)',
|
firstSearchResult: 'vn-item-index a:nth-child(1)',
|
||||||
searchResult: 'vn-item-index a.vn-tr',
|
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"]',
|
searchResultCloneButton: 'vn-item-index .buttons > [icon="icon-clone"]',
|
||||||
acceptClonationAlertButton: '.vn-confirm.shown [response="accept"]',
|
acceptClonationAlertButton: '.vn-confirm.shown [response="accept"]',
|
||||||
closeItemSummaryPreview: '.vn-popup.shown',
|
closeItemSummaryPreview: '.vn-popup.shown',
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<a
|
<a
|
||||||
translate-attr="{title: 'Preview'}"
|
translate-attr="{title: 'Preview'}"
|
||||||
ui-sref="{{::$ctrl.summaryState}}({id: $ctrl.descriptor.id})">
|
ui-sref="{{::$ctrl.summaryState}}({id: $ctrl.descriptor.id})">
|
||||||
<vn-icon icon="desktop_windows"></vn-icon>
|
<vn-icon icon="preview"></vn-icon>
|
||||||
</a>
|
</a>
|
||||||
<vn-icon-button ng-if="$ctrl.$transclude.isSlotFilled('menu')"
|
<vn-icon-button ng-if="$ctrl.$transclude.isSlotFilled('menu')"
|
||||||
ng-class="::{invisible: !$ctrl.$transclude.isSlotFilled('menu')}"
|
ng-class="::{invisible: !$ctrl.$transclude.isSlotFilled('menu')}"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(alias)"
|
vn-click-stop="$ctrl.preview(alias)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-item-section>
|
</vn-item-section>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(user)"
|
vn-click-stop="$ctrl.preview(user)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-item-section>
|
</vn-item-section>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(role)"
|
vn-click-stop="$ctrl.preview(role)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-item-section>
|
</vn-item-section>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{"state": "account.alias", "icon": "email"},
|
{"state": "account.alias", "icon": "email"},
|
||||||
{"state": "account.accounts", "icon": "accessibility"},
|
{"state": "account.accounts", "icon": "accessibility"},
|
||||||
{"state": "account.ldap", "icon": "account_tree"},
|
{"state": "account.ldap", "icon": "account_tree"},
|
||||||
{"state": "account.samba", "icon": "desktop_windows"},
|
{"state": "account.samba", "icon": "preview"},
|
||||||
{"state": "account.acl", "icon": "check"},
|
{"state": "account.acl", "icon": "check"},
|
||||||
{"state": "account.connections", "icon": "share"}
|
{"state": "account.connections", "icon": "share"}
|
||||||
],
|
],
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(claim)"
|
vn-click-stop="$ctrl.preview(claim)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
<a vn-auto ui-sref="client.card.creditInsurance.insurance.index({classificationId: {{classification.id}}})">
|
<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>
|
</a>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-one>
|
</vn-one>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
ng-click="$ctrl.openSummary(client, $event)"
|
ng-click="$ctrl.openSummary(client, $event)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-item-section>
|
</vn-item-section>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(invoiceOut)"
|
vn-click-stop="$ctrl.preview(invoiceOut)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(item)"
|
vn-click-stop="$ctrl.preview(item)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
<vn-td shrink>
|
<vn-td shrink>
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(order)"
|
vn-click-stop="$ctrl.preview(order)"
|
||||||
icon="desktop_windows"
|
icon="preview"
|
||||||
vn-tooltip="Preview">
|
vn-tooltip="Preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(route)"
|
vn-click-stop="$ctrl.preview(route)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
ng-click="$ctrl.openSummary(supplier, $event)"
|
ng-click="$ctrl.openSummary(supplier, $event)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-item-section>
|
</vn-item-section>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -133,7 +133,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(ticket)"
|
vn-click-stop="$ctrl.preview(ticket)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(travel)"
|
vn-click-stop="$ctrl.preview(travel)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
ng-click="$ctrl.preview($event, worker)"
|
ng-click="$ctrl.preview($event, worker)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-item-section>
|
</vn-item-section>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(zone)"
|
vn-click-stop="$ctrl.preview(zone)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
vn-click-stop="$ctrl.preview(zone)"
|
vn-click-stop="$ctrl.preview(zone)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
|
@ -23078,7 +23078,7 @@
|
||||||
},
|
},
|
||||||
"sha.js": {
|
"sha.js": {
|
||||||
"version": "2.4.11",
|
"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==",
|
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
|
Loading…
Reference in New Issue