@things-factory/sales 10.1.258 → 10.1.260
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/dist-client/list-filters.d.ts +23 -0
- package/dist-client/list-filters.js +58 -0
- package/dist-client/list-filters.js.map +1 -0
- package/dist-client/pages/opportunity-list.d.ts +9 -10
- package/dist-client/pages/opportunity-list.js +49 -78
- package/dist-client/pages/opportunity-list.js.map +1 -1
- package/dist-client/pages/quotation-list.d.ts +3 -4
- package/dist-client/pages/quotation-list.js +33 -47
- package/dist-client/pages/quotation-list.js.map +1 -1
- package/dist-client/pages/sales-product-list.d.ts +7 -4
- package/dist-client/pages/sales-product-list.js +68 -50
- package/dist-client/pages/sales-product-list.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/translations/en.json +1 -1
- package/translations/es.json +1 -1
- package/translations/ja.json +1 -1
- package/translations/ko.json +1 -1
- package/translations/ms.json +1 -1
- package/translations/zh.json +1 -1
- package/dist-client/headroom-choice.d.ts +0 -10
- package/dist-client/headroom-choice.js +0 -22
- package/dist-client/headroom-choice.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/sales",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.260",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@material/web": "^2.0.0",
|
|
33
|
-
"@operato/data-grist": "^10.29.
|
|
33
|
+
"@operato/data-grist": "^10.29.71",
|
|
34
34
|
"@operato/graphql": "^10.29.69",
|
|
35
35
|
"@operato/i18n": "^10.0.0",
|
|
36
36
|
"@operato/input": "^10.0.0",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@operato/shell": "^10.29.69",
|
|
41
41
|
"@operato/styles": "^10.29.1",
|
|
42
42
|
"@operato/utils": "^10.0.0",
|
|
43
|
-
"@things-factory/ai-assistant": "^10.1.
|
|
44
|
-
"@things-factory/auth-base": "^10.1.
|
|
45
|
-
"@things-factory/biz-base": "^10.1.
|
|
46
|
-
"@things-factory/invoice": "^10.1.
|
|
47
|
-
"@things-factory/shell": "^10.1.
|
|
43
|
+
"@things-factory/ai-assistant": "^10.1.260",
|
|
44
|
+
"@things-factory/auth-base": "^10.1.260",
|
|
45
|
+
"@things-factory/biz-base": "^10.1.260",
|
|
46
|
+
"@things-factory/invoice": "^10.1.260",
|
|
47
|
+
"@things-factory/shell": "^10.1.260"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "72de583ba0394dcf8195ef723b0ee4217507e0e5"
|
|
50
50
|
}
|
package/translations/en.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"text.sales-product-active": "Offered",
|
|
130
130
|
"text.sales-product-inactive": "Not offered",
|
|
131
131
|
"text.sales-product-empty": "No products yet",
|
|
132
|
-
"text.sales-product-empty-description": "Press Add
|
|
132
|
+
"text.sales-product-empty-description": "Press 「Add row」, enter the product, then save. Quotation lines are picked from here.",
|
|
133
133
|
"text.sales-product-saved": "Products saved.",
|
|
134
134
|
"text.sales-product-delete-confirm": "Delete {count} products? Lines of quotations already written stay as they are.",
|
|
135
135
|
"text.sales-product-search": "Find by product code or name",
|
package/translations/es.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"text.sales-product-active": "Ofrecido",
|
|
130
130
|
"text.sales-product-inactive": "No ofrecido",
|
|
131
131
|
"text.sales-product-empty": "Aún no hay productos",
|
|
132
|
-
"text.sales-product-empty-description": "Pulse
|
|
132
|
+
"text.sales-product-empty-description": "Pulse «Agregar fila», introduzca el producto y guarde. Las líneas de presupuesto se eligen aquí.",
|
|
133
133
|
"text.sales-product-saved": "Productos guardados.",
|
|
134
134
|
"text.sales-product-delete-confirm": "¿Eliminar {count} productos? Las líneas de presupuestos ya redactados no cambian.",
|
|
135
135
|
"text.sales-product-search": "Buscar por código o nombre",
|
package/translations/ja.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"text.sales-product-active": "使用中",
|
|
130
130
|
"text.sales-product-inactive": "使用しない",
|
|
131
131
|
"text.sales-product-empty": "登録した商品はありません",
|
|
132
|
-
"text.sales-product-empty-description": "
|
|
132
|
+
"text.sales-product-empty-description": "「行を追加」を押して商品を入力し、保存してください。見積の品目はここから選びます。",
|
|
133
133
|
"text.sales-product-saved": "商品を保存しました。",
|
|
134
134
|
"text.sales-product-delete-confirm": "商品{count}件を削除します。作成済みの見積の品目はそのまま残ります。",
|
|
135
135
|
"text.sales-product-search": "商品コード・名前で検索",
|
package/translations/ko.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"text.sales-product-active": "사용 중",
|
|
130
130
|
"text.sales-product-inactive": "사용 안 함",
|
|
131
131
|
"text.sales-product-empty": "등록한 상품이 없습니다",
|
|
132
|
-
"text.sales-product-empty-description": "
|
|
132
|
+
"text.sales-product-empty-description": "「행 추가」를 눌러 상품 정보를 입력한 후 저장하세요. 등록한 상품은 견적 작성 시 품목으로 선택할 수 있습니다.",
|
|
133
133
|
"text.sales-product-saved": "상품을 저장했습니다.",
|
|
134
134
|
"text.sales-product-delete-confirm": "상품 {count}개를 삭제합니다. 이미 작성한 견적의 품목은 그대로 남습니다.",
|
|
135
135
|
"text.sales-product-search": "상품 코드·이름으로 찾기",
|
package/translations/ms.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"text.sales-product-active": "Ditawarkan",
|
|
130
130
|
"text.sales-product-inactive": "Tidak ditawarkan",
|
|
131
131
|
"text.sales-product-empty": "Belum ada produk",
|
|
132
|
-
"text.sales-product-empty-description": "Tekan Tambah
|
|
132
|
+
"text.sales-product-empty-description": "Tekan «Tambah baris», masukkan produk, kemudian simpan. Baris sebut harga dipilih dari sini.",
|
|
133
133
|
"text.sales-product-saved": "Produk disimpan.",
|
|
134
134
|
"text.sales-product-delete-confirm": "Padam {count} produk? Baris sebut harga yang sudah ditulis kekal.",
|
|
135
135
|
"text.sales-product-search": "Cari mengikut kod atau nama produk",
|
package/translations/zh.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"text.sales-product-active": "使用中",
|
|
130
130
|
"text.sales-product-inactive": "未使用",
|
|
131
131
|
"text.sales-product-empty": "尚无商品",
|
|
132
|
-
"text.sales-product-empty-description": "
|
|
132
|
+
"text.sales-product-empty-description": "点击「添加行」输入商品后保存。报价明细从这里选取。",
|
|
133
133
|
"text.sales-product-saved": "商品已保存。",
|
|
134
134
|
"text.sales-product-delete-confirm": "删除 {count} 个商品?已填写的报价明细保持不变。",
|
|
135
135
|
"text.sales-product-search": "按商品编码或名称查找",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import '@operato/input/ox-select.js';
|
|
2
|
-
import '@operato/popup/ox-popup-list.js';
|
|
3
|
-
/**
|
|
4
|
-
* One choice of a list's headroom - the select the invoice list narrows by, labelled by what it narrows and showing the
|
|
5
|
-
* choice made. `set` hears only a value other than the one shown.
|
|
6
|
-
*/
|
|
7
|
-
export declare function headroomChoice(label: string, value: string, choices: {
|
|
8
|
-
value: string;
|
|
9
|
-
display: string;
|
|
10
|
-
}[], set: (value: string) => void): import("lit-html").TemplateResult<1>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import '@operato/input/ox-select.js';
|
|
2
|
-
import '@operato/popup/ox-popup-list.js';
|
|
3
|
-
import { html } from 'lit';
|
|
4
|
-
/**
|
|
5
|
-
* One choice of a list's headroom - the select the invoice list narrows by, labelled by what it narrows and showing the
|
|
6
|
-
* choice made. `set` hears only a value other than the one shown.
|
|
7
|
-
*/
|
|
8
|
-
export function headroomChoice(label, value, choices, set) {
|
|
9
|
-
return html `<ox-select
|
|
10
|
-
.value=${value}
|
|
11
|
-
aria-label=${label}
|
|
12
|
-
@change=${(e) => {
|
|
13
|
-
const next = String(e.detail ?? '');
|
|
14
|
-
if (next !== value)
|
|
15
|
-
set(next);
|
|
16
|
-
}}
|
|
17
|
-
>
|
|
18
|
-
<span slot="label">${choices.find(one => one.value === value)?.display}</span>
|
|
19
|
-
<ox-popup-list align-left nowrap>${choices.map(one => html `<div option value=${one.value}>${one.display}</div>`)}</ox-popup-list>
|
|
20
|
-
</ox-select>`;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=headroom-choice.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"headroom-choice.js","sourceRoot":"","sources":["../client/headroom-choice.ts"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAA;AACpC,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE1B;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,KAAa,EAAE,KAAa,EAAE,OAA6C,EAAE,GAA4B;IACtI,OAAO,IAAI,CAAA;aACA,KAAK;iBACD,KAAK;cACR,CAAC,CAAc,EAAE,EAAE;QAC3B,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAA;QACnC,IAAI,IAAI,KAAK,KAAK;YAAE,GAAG,CAAC,IAAI,CAAC,CAAA;IAC/B,CAAC;;yBAEoB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,KAAK,KAAK,CAAC,EAAE,OAAO;uCACnC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAA,qBAAqB,GAAG,CAAC,KAAK,IAAI,GAAG,CAAC,OAAO,QAAQ,CAAC;eACrG,CAAA;AACf,CAAC","sourcesContent":["import '@operato/input/ox-select.js'\nimport '@operato/popup/ox-popup-list.js'\n\nimport { html } from 'lit'\n\n/**\n * One choice of a list's headroom - the select the invoice list narrows by, labelled by what it narrows and showing the\n * choice made. `set` hears only a value other than the one shown.\n */\nexport function headroomChoice(label: string, value: string, choices: { value: string; display: string }[], set: (value: string) => void) {\n return html`<ox-select\n .value=${value}\n aria-label=${label}\n @change=${(e: CustomEvent) => {\n const next = String(e.detail ?? '')\n if (next !== value) set(next)\n }}\n >\n <span slot=\"label\">${choices.find(one => one.value === value)?.display}</span>\n <ox-popup-list align-left nowrap>${choices.map(one => html`<div option value=${one.value}>${one.display}</div>`)}</ox-popup-list>\n </ox-select>`\n}\n"]}
|