@things-factory/sales 10.1.302 → 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-assistant-selection-bar
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-assistant-selection-bar
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-assistant-selection-bar
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>
@@ -14,8 +14,8 @@ export * from './sales-product/sales-product-rules';
14
14
  export * from './sales-product/sales-product-service';
15
15
  export * from './sales-product/sales-product-type';
16
16
  export * from './sales-read';
17
- export declare const entities: (typeof import("./sales-product/sales-product").SalesProduct | typeof import("./quotation/quotation").Quotation | typeof import("./quotation/quotation-item").QuotationItem | typeof import("./quotation/quotation-event").QuotationEvent | typeof import("./opportunity/opportunity").Opportunity | typeof import("./opportunity/opportunity-event").OpportunityEvent)[];
17
+ export declare const entities: (typeof import("./opportunity/opportunity").Opportunity | typeof import("./quotation/quotation-item").QuotationItem | typeof import("./quotation/quotation").Quotation | typeof import("./quotation/quotation-event").QuotationEvent | typeof import("./opportunity/opportunity-event").OpportunityEvent | typeof import("./sales-product/sales-product").SalesProduct)[];
18
18
  export declare const subscribers: any[];
19
19
  export declare const schema: {
20
- resolverClasses: (typeof import("./sales-product/sales-product-query").SalesProductQuery | typeof import("./sales-product/sales-product-mutation").SalesProductMutation | typeof import("./quotation/quotation-query").QuotationQuery | typeof import("./quotation/quotation-mutation").QuotationMutation | typeof import("./quotation/quotation-item-query").QuotationItemQuery | typeof import("./quotation/quotation-event-query").QuotationEventQuery | typeof import("./opportunity/opportunity-query").OpportunityQuery | typeof import("./opportunity/opportunity-mutation").OpportunityMutation | typeof import("./opportunity/opportunity-event-query").OpportunityEventQuery)[];
20
+ resolverClasses: (typeof import("./opportunity/opportunity-event-query").OpportunityEventQuery | typeof import("./opportunity/opportunity-mutation").OpportunityMutation | typeof import("./opportunity/opportunity-query").OpportunityQuery | typeof import("./quotation/quotation-event-query").QuotationEventQuery | typeof import("./quotation/quotation-item-query").QuotationItemQuery | typeof import("./quotation/quotation-mutation").QuotationMutation | typeof import("./quotation/quotation-query").QuotationQuery | typeof import("./sales-product/sales-product-mutation").SalesProductMutation | typeof import("./sales-product/sales-product-query").SalesProductQuery)[];
21
21
  };
@@ -4,5 +4,5 @@ import { OpportunityEventQuery } from './opportunity-event-query';
4
4
  import { OpportunityMutation } from './opportunity-mutation';
5
5
  import { OpportunityQuery } from './opportunity-query';
6
6
  export declare const entities: (typeof Opportunity | typeof OpportunityEvent)[];
7
- export declare const resolvers: (typeof OpportunityQuery | typeof OpportunityMutation | typeof OpportunityEventQuery)[];
7
+ export declare const resolvers: (typeof OpportunityEventQuery | typeof OpportunityMutation | typeof OpportunityQuery)[];
8
8
  export declare const subscribers: any[];
@@ -5,6 +5,6 @@ import { QuotationItem } from './quotation-item';
5
5
  import { QuotationItemQuery } from './quotation-item-query';
6
6
  import { QuotationMutation } from './quotation-mutation';
7
7
  import { QuotationQuery } from './quotation-query';
8
- export declare const entities: (typeof Quotation | typeof QuotationItem | typeof QuotationEvent)[];
9
- export declare const resolvers: (typeof QuotationQuery | typeof QuotationMutation | typeof QuotationItemQuery | typeof QuotationEventQuery)[];
8
+ export declare const entities: (typeof QuotationItem | typeof Quotation | typeof QuotationEvent)[];
9
+ export declare const resolvers: (typeof QuotationEventQuery | typeof QuotationItemQuery | typeof QuotationMutation | typeof QuotationQuery)[];
10
10
  export declare const subscribers: any[];
@@ -2,5 +2,5 @@ import { SalesProduct } from './sales-product';
2
2
  import { SalesProductMutation } from './sales-product-mutation';
3
3
  import { SalesProductQuery } from './sales-product-query';
4
4
  export declare const entities: (typeof SalesProduct)[];
5
- export declare const resolvers: (typeof SalesProductQuery | typeof SalesProductMutation)[];
5
+ export declare const resolvers: (typeof SalesProductMutation | typeof SalesProductQuery)[];
6
6
  export declare const subscribers: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/sales",
3
- "version": "10.1.302",
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.302",
60
- "@things-factory/auth-base": "^10.1.302",
61
- "@things-factory/biz-base": "^10.1.302",
62
- "@things-factory/email-base": "^10.1.302",
63
- "@things-factory/invoice": "^10.1.302",
64
- "@things-factory/shell": "^10.1.302"
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": "2e754aaeafcd39f5c6f4b7c8847a6c60ffe0789c"
66
+ "gitHead": "76ce38519069ba90190d69d2a9d6c130bc981cf0"
67
67
  }