@things-factory/sales 10.1.303 → 10.1.304
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.
|
@@ -67,15 +67,7 @@ let OpportunityList = class OpportunityList extends localize(i18next)(PageView)
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return html `<ox-
|
|
71
|
-
.gridOf=${() => this.grist}
|
|
72
|
-
name=${i18next.t('title.opportunity-list')}
|
|
73
|
-
list="opportunities"
|
|
74
|
-
axis="opportunity"
|
|
75
|
-
.labelOf=${(row) => [row.name, row.counterparty?.name].filter(Boolean).join(' · ')}
|
|
76
|
-
.actions=${[this.editAction]}
|
|
77
|
-
></ox-assistant-selection-bar>
|
|
78
|
-
<ox-grist
|
|
70
|
+
return html `<ox-grist
|
|
79
71
|
class="page-fill"
|
|
80
72
|
search-mode="term"
|
|
81
73
|
.mode=${isMobileDevice() ? 'CARD' : 'GRID'}
|
|
@@ -84,6 +76,15 @@ let OpportunityList = class OpportunityList extends localize(i18next)(PageView)
|
|
|
84
76
|
.countHandler=${this.countHandler.bind(this)}
|
|
85
77
|
?url-params-sensitive=${this.active}
|
|
86
78
|
>
|
|
79
|
+
<ox-assistant-selection-bar
|
|
80
|
+
slot="selection"
|
|
81
|
+
.gridOf=${() => this.grist}
|
|
82
|
+
name=${i18next.t('title.opportunity-list')}
|
|
83
|
+
list="opportunities"
|
|
84
|
+
axis="opportunity"
|
|
85
|
+
.labelOf=${(row) => [row.name, row.counterparty?.name].filter(Boolean).join(' · ')}
|
|
86
|
+
.actions=${[this.editAction]}
|
|
87
|
+
></ox-assistant-selection-bar>
|
|
87
88
|
<div slot="headroom" class="header">
|
|
88
89
|
<div class="filters"><ox-filters-form without-search></ox-filters-form></div>
|
|
89
90
|
</div>
|
|
@@ -61,15 +61,7 @@ let QuotationList = class QuotationList extends localize(i18next)(PageView) {
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return html `<ox-
|
|
65
|
-
.gridOf=${() => this.grist}
|
|
66
|
-
name=${i18next.t('title.quotation-list')}
|
|
67
|
-
list="quotations"
|
|
68
|
-
axis="quotation"
|
|
69
|
-
.labelOf=${(row) => [row.number && `${row.number} v${row.version}`, counterpartOf(row)].filter(Boolean).join(' · ')}
|
|
70
|
-
.actions=${[this.editAction]}
|
|
71
|
-
></ox-assistant-selection-bar>
|
|
72
|
-
<ox-grist
|
|
64
|
+
return html `<ox-grist
|
|
73
65
|
class="page-fill"
|
|
74
66
|
search-mode="term"
|
|
75
67
|
.mode=${isMobileDevice() ? 'CARD' : 'GRID'}
|
|
@@ -78,6 +70,15 @@ let QuotationList = class QuotationList extends localize(i18next)(PageView) {
|
|
|
78
70
|
.countHandler=${this.countHandler.bind(this)}
|
|
79
71
|
?url-params-sensitive=${this.active}
|
|
80
72
|
>
|
|
73
|
+
<ox-assistant-selection-bar
|
|
74
|
+
slot="selection"
|
|
75
|
+
.gridOf=${() => this.grist}
|
|
76
|
+
name=${i18next.t('title.quotation-list')}
|
|
77
|
+
list="quotations"
|
|
78
|
+
axis="quotation"
|
|
79
|
+
.labelOf=${(row) => [row.number && `${row.number} v${row.version}`, counterpartOf(row)].filter(Boolean).join(' · ')}
|
|
80
|
+
.actions=${[this.editAction]}
|
|
81
|
+
></ox-assistant-selection-bar>
|
|
81
82
|
<div slot="headroom" class="header">
|
|
82
83
|
<div class="filters"><ox-filters-form without-search></ox-filters-form></div>
|
|
83
84
|
</div>
|
|
@@ -69,13 +69,7 @@ let SalesProductList = class SalesProductList extends localize(i18next)(PageView
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return html `<ox-
|
|
73
|
-
.gridOf=${() => this.grist}
|
|
74
|
-
name=${i18next.t('title.sales-product-list')}
|
|
75
|
-
.assistant=${false}
|
|
76
|
-
.actions=${[{ id: 'delete', title: i18next.t('button.delete'), icon: 'delete_outline', emphasis: { danger: true }, action: () => this.delete() }]}
|
|
77
|
-
></ox-assistant-selection-bar>
|
|
78
|
-
<ox-grist
|
|
72
|
+
return html `<ox-grist
|
|
79
73
|
class="page-fill"
|
|
80
74
|
search-mode="term"
|
|
81
75
|
.mode=${isMobileDevice() ? 'CARD' : 'GRID'}
|
|
@@ -84,6 +78,13 @@ let SalesProductList = class SalesProductList extends localize(i18next)(PageView
|
|
|
84
78
|
.countHandler=${this.countHandler.bind(this)}
|
|
85
79
|
?url-params-sensitive=${this.active}
|
|
86
80
|
>
|
|
81
|
+
<ox-assistant-selection-bar
|
|
82
|
+
slot="selection"
|
|
83
|
+
.gridOf=${() => this.grist}
|
|
84
|
+
name=${i18next.t('title.sales-product-list')}
|
|
85
|
+
.assistant=${false}
|
|
86
|
+
.actions=${[{ id: 'delete', title: i18next.t('button.delete'), icon: 'delete_outline', emphasis: { danger: true }, action: () => this.delete() }]}
|
|
87
|
+
></ox-assistant-selection-bar>
|
|
87
88
|
<div slot="headroom" class="header">
|
|
88
89
|
<div class="filters">
|
|
89
90
|
<ox-filters-form without-search autofocus></ox-filters-form>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/sales",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.304",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"files": [
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"@operato/shell": "^10.29.69",
|
|
57
57
|
"@operato/styles": "^10.29.1",
|
|
58
58
|
"@operato/utils": "^10.0.0",
|
|
59
|
-
"@things-factory/ai-assistant": "^10.1.
|
|
60
|
-
"@things-factory/auth-base": "^10.1.
|
|
61
|
-
"@things-factory/biz-base": "^10.1.
|
|
62
|
-
"@things-factory/email-base": "^10.1.
|
|
63
|
-
"@things-factory/invoice": "^10.1.
|
|
64
|
-
"@things-factory/shell": "^10.1.
|
|
59
|
+
"@things-factory/ai-assistant": "^10.1.304",
|
|
60
|
+
"@things-factory/auth-base": "^10.1.304",
|
|
61
|
+
"@things-factory/biz-base": "^10.1.304",
|
|
62
|
+
"@things-factory/email-base": "^10.1.304",
|
|
63
|
+
"@things-factory/invoice": "^10.1.304",
|
|
64
|
+
"@things-factory/shell": "^10.1.304"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "76ce38519069ba90190d69d2a9d6c130bc981cf0"
|
|
67
67
|
}
|