@pisell/private-materials 6.3.220 → 6.3.222

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.
Files changed (125) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +13 -13
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +13 -13
  9. package/es/components/kioskSkuDetail/index.js +7 -7
  10. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +53 -26
  11. package/es/components/scanOrder/components/Content/index.js +14 -2
  12. package/es/components/scanOrder/components/ExitConfirmModal/index.js +84 -0
  13. package/es/components/scanOrder/components/ExitConfirmModal/index.less +182 -0
  14. package/es/components/scanOrder/locales.js +20 -0
  15. package/es/index.d.ts +9 -1
  16. package/es/index.js +6 -2
  17. package/es/plus/inventory/BindingModal.js +94 -0
  18. package/es/plus/inventory/InventoryItemManagement.d.ts +7 -0
  19. package/es/plus/inventory/InventoryItemManagement.js +204 -0
  20. package/es/plus/inventory/InventoryLocationManagement.d.ts +7 -0
  21. package/es/plus/inventory/InventoryLocationManagement.js +296 -0
  22. package/es/plus/inventory/InventoryUnitManagement.d.ts +7 -0
  23. package/es/plus/inventory/InventoryUnitManagement.js +144 -0
  24. package/es/plus/inventory/ItemDrawer.js +266 -0
  25. package/es/plus/inventory/RecordDialog.js +141 -0
  26. package/es/plus/inventory/StockList.js +132 -0
  27. package/es/plus/inventory/api.js +66 -0
  28. package/es/plus/inventory/components.js +172 -0
  29. package/es/plus/inventory/context.js +118 -0
  30. package/es/plus/inventory/forms.js +46 -0
  31. package/es/plus/inventory/hooks.js +235 -0
  32. package/es/plus/inventory/index.less +559 -0
  33. package/es/plus/inventory/locales.js +277 -0
  34. package/es/plus/inventory/types.d.ts +10 -0
  35. package/es/plus/inventory/utils.js +24 -0
  36. package/es/plus/panpacificTask/JobCard.js +22 -0
  37. package/es/plus/panpacificTask/JobDrawer.js +366 -0
  38. package/es/plus/panpacificTask/JobForm.js +312 -0
  39. package/es/plus/panpacificTask/JobStatus.js +29 -0
  40. package/es/plus/panpacificTask/PanpacificTask.d.ts +7 -0
  41. package/es/plus/panpacificTask/PanpacificTask.js +552 -0
  42. package/es/plus/panpacificTask/PhotoPreview.js +37 -0
  43. package/es/plus/panpacificTask/README.md +114 -0
  44. package/es/plus/panpacificTask/attachments.js +64 -0
  45. package/es/plus/panpacificTask/index.d.ts +2 -0
  46. package/es/plus/panpacificTask/index.less +539 -0
  47. package/es/plus/panpacificTask/locales.js +586 -0
  48. package/es/plus/panpacificTask/model.js +260 -0
  49. package/es/plus/panpacificTask/saveJob.js +68 -0
  50. package/es/plus/panpacificTask/serve.js +243 -0
  51. package/es/plus/panpacificTask/tenant.js +16 -0
  52. package/es/plus/panpacificTask/types.d.ts +19 -0
  53. package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
  54. package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
  55. package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
  56. package/es/plus/pisellSupersetDashboard/README.md +291 -0
  57. package/es/plus/pisellSupersetDashboard/index.d.ts +15 -0
  58. package/es/plus/pisellSupersetDashboard/index.js +187 -0
  59. package/es/plus/pisellSupersetDashboard/index.less +83 -0
  60. package/es/plus/pisellSupersetDashboard/locales.js +36 -0
  61. package/es/plus/pisellSupersetDashboard/serve.js +51 -0
  62. package/es/plus/pisellSupersetDashboard/types.d.ts +17 -0
  63. package/es/plus/skuOptionsSelection/store/createStore.js +2 -2
  64. package/es/private-materials/lowcode/authmodal/meta.d.ts +1 -0
  65. package/es/pro/Login2.0/AuthModal.d.ts +1 -1
  66. package/es/pro/Login2.0/index.d.ts +1 -2
  67. package/es/pro/Login2.0/shared/types.d.ts +1 -1
  68. package/lib/components/kioskSkuDetail/index.js +7 -7
  69. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +53 -26
  70. package/lib/components/scanOrder/components/Content/index.js +14 -2
  71. package/lib/components/scanOrder/components/ExitConfirmModal/index.js +86 -0
  72. package/lib/components/scanOrder/components/ExitConfirmModal/index.less +182 -0
  73. package/lib/components/scanOrder/locales.js +20 -0
  74. package/lib/index.d.ts +9 -1
  75. package/lib/index.js +136 -126
  76. package/lib/plus/inventory/BindingModal.js +96 -0
  77. package/lib/plus/inventory/InventoryItemManagement.d.ts +7 -0
  78. package/lib/plus/inventory/InventoryItemManagement.js +206 -0
  79. package/lib/plus/inventory/InventoryLocationManagement.d.ts +7 -0
  80. package/lib/plus/inventory/InventoryLocationManagement.js +298 -0
  81. package/lib/plus/inventory/InventoryUnitManagement.d.ts +7 -0
  82. package/lib/plus/inventory/InventoryUnitManagement.js +146 -0
  83. package/lib/plus/inventory/ItemDrawer.js +268 -0
  84. package/lib/plus/inventory/RecordDialog.js +143 -0
  85. package/lib/plus/inventory/StockList.js +134 -0
  86. package/lib/plus/inventory/api.js +66 -0
  87. package/lib/plus/inventory/components.js +181 -0
  88. package/lib/plus/inventory/context.js +121 -0
  89. package/lib/plus/inventory/forms.js +50 -0
  90. package/lib/plus/inventory/hooks.js +240 -0
  91. package/lib/plus/inventory/index.less +559 -0
  92. package/lib/plus/inventory/locales.js +277 -0
  93. package/lib/plus/inventory/types.d.ts +10 -0
  94. package/lib/plus/inventory/utils.js +30 -0
  95. package/lib/plus/panpacificTask/JobCard.js +24 -0
  96. package/lib/plus/panpacificTask/JobDrawer.js +368 -0
  97. package/lib/plus/panpacificTask/JobForm.js +314 -0
  98. package/lib/plus/panpacificTask/JobStatus.js +33 -0
  99. package/lib/plus/panpacificTask/PanpacificTask.d.ts +7 -0
  100. package/lib/plus/panpacificTask/PanpacificTask.js +555 -0
  101. package/lib/plus/panpacificTask/PhotoPreview.js +39 -0
  102. package/lib/plus/panpacificTask/README.md +114 -0
  103. package/lib/plus/panpacificTask/attachments.js +66 -0
  104. package/lib/plus/panpacificTask/index.d.ts +2 -0
  105. package/lib/plus/panpacificTask/index.less +539 -0
  106. package/lib/plus/panpacificTask/locales.js +586 -0
  107. package/lib/plus/panpacificTask/model.js +289 -0
  108. package/lib/plus/panpacificTask/saveJob.js +68 -0
  109. package/lib/plus/panpacificTask/serve.js +260 -0
  110. package/lib/plus/panpacificTask/tenant.js +17 -0
  111. package/lib/plus/panpacificTask/types.d.ts +19 -0
  112. package/lib/plus/pisellSupersetDashboard/README.md +291 -0
  113. package/lib/plus/pisellSupersetDashboard/index.d.ts +15 -0
  114. package/lib/plus/pisellSupersetDashboard/index.js +189 -0
  115. package/lib/plus/pisellSupersetDashboard/index.less +83 -0
  116. package/lib/plus/pisellSupersetDashboard/locales.js +36 -0
  117. package/lib/plus/pisellSupersetDashboard/serve.js +52 -0
  118. package/lib/plus/pisellSupersetDashboard/types.d.ts +17 -0
  119. package/lowcode/inventory-item-management/meta.ts +20 -0
  120. package/lowcode/inventory-location-management/meta.ts +20 -0
  121. package/lowcode/inventory-unit-management/meta.ts +20 -0
  122. package/lowcode/panpacific-task/meta.ts +51 -0
  123. package/lowcode/pisell-superset-dashboard/meta.ts +75 -0
  124. package/package.json +4 -2
  125. package/es/plus/pisellReservation/index.js +0 -17
@@ -0,0 +1,277 @@
1
+ const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
2
+ //#region src/plus/inventory/locales.ts
3
+ const en = {
4
+ items: "Inventory items",
5
+ units: "Item units",
6
+ locations: "Storage locations",
7
+ item: "Item",
8
+ unit: "Unit",
9
+ location: "Location",
10
+ shelf: "Shelf",
11
+ space: "Space",
12
+ allLocations: "All locations",
13
+ name: "Name",
14
+ status: "Status",
15
+ sort: "Sort order",
16
+ active: "Active",
17
+ inactive: "Inactive",
18
+ allStatuses: "All statuses",
19
+ allUnits: "All units",
20
+ add: "Add",
21
+ edit: "Edit",
22
+ view: "View",
23
+ remove: "Delete",
24
+ save: "Save",
25
+ cancel: "Cancel",
26
+ close: "Close",
27
+ refresh: "Refresh",
28
+ retry: "Retry",
29
+ actions: "Actions",
30
+ updated: "Updated",
31
+ search: "Search by name",
32
+ searchItems: "Search name / SKU / barcode",
33
+ searchHint: "A numeric search of 10 or more digits matches the barcode exactly.",
34
+ sku: "SKU",
35
+ barcode: "Barcode",
36
+ cover: "Cover URL",
37
+ note: "Note",
38
+ stockMode: "Stock mode",
39
+ allStockModes: "All stock modes",
40
+ tracked: "Tracked",
41
+ unlimited: "Unlimited",
42
+ quantity: "Physical stock",
43
+ available: "Available stock",
44
+ totalQuantity: "Total physical stock",
45
+ totalAvailable: "Total available stock",
46
+ stockSummary: "Stock summary",
47
+ basic: "Basic information",
48
+ bindings: "Space bindings",
49
+ bind: "Bind space",
50
+ unbind: "Unbind",
51
+ path: "Location / shelf / space",
52
+ stockReadOnly: "Stock quantities are read-only. Binding a space does not receive or adjust stock.",
53
+ unbindBlocked: "Both physical and available stock must be zero before unbinding.",
54
+ bindHint: "Select a location, shelf and space. An existing binding is kept without changing its quantities.",
55
+ saveFirst: "Save the item before binding spaces.",
56
+ empty: "No records",
57
+ chooseLocation: "Select a location",
58
+ chooseShelf: "Select a shelf",
59
+ chooseSpace: "Select a space",
60
+ loadMore: "Load more",
61
+ loading: "Loading…",
62
+ noUnit: "No unit",
63
+ missing: "Record unavailable",
64
+ required: "This field is required",
65
+ originalRequired: "Enter the original name",
66
+ invalidUrl: "Enter a valid absolute HTTP or HTTPS URL",
67
+ sortHint: "Higher values appear first",
68
+ nonnegative: "Enter a non-negative integer",
69
+ success: "Saved",
70
+ deleted: "Deleted",
71
+ bound: "Space bound",
72
+ unbound: "Space unbound",
73
+ failed: "The request failed. Please try again.",
74
+ noRequest: "The host request service is unavailable.",
75
+ invalidResponse: "The server returned an invalid response.",
76
+ deleteTitle: "Delete this record?",
77
+ deleteHint: "Linked records can prevent deletion. This action does not delete children or remove stock bindings.",
78
+ unbindTitle: "Unbind this space?",
79
+ unbindHint: "Only the empty stock binding will be removed.",
80
+ unsavedTitle: "Discard unsaved changes?",
81
+ unsavedHint: "Your changes have not been saved.",
82
+ discard: "Discard",
83
+ referencedStock: "Items stored here",
84
+ hierarchyHint: "Choose a location or shelf to manage its children.",
85
+ itemHint: "Manage items and the spaces where they are stored.",
86
+ unitHint: "Maintain the units used by inventory items.",
87
+ parentHint: "Changing the parent updates the storage path. It does not change stock quantities.",
88
+ statusHint: "Status changes do not cascade to children or remove existing bindings.",
89
+ count: "Total",
90
+ expand: "Expand shelves",
91
+ collapse: "Collapse shelves",
92
+ viewChildren: "Open children",
93
+ editBasicFirst: "Save or cancel basic information changes before managing bindings."
94
+ };
95
+ const zhCN = {
96
+ items: "货品管理",
97
+ units: "货品单位管理",
98
+ locations: "仓储位置管理",
99
+ item: "货品",
100
+ unit: "单位",
101
+ location: "地点",
102
+ shelf: "货架",
103
+ space: "货位",
104
+ allLocations: "全部地点",
105
+ name: "名称",
106
+ status: "状态",
107
+ sort: "排序",
108
+ active: "启用",
109
+ inactive: "停用",
110
+ allStatuses: "全部状态",
111
+ allUnits: "全部单位",
112
+ add: "新增",
113
+ edit: "编辑",
114
+ view: "查看",
115
+ remove: "删除",
116
+ save: "保存",
117
+ cancel: "取消",
118
+ close: "关闭",
119
+ refresh: "刷新",
120
+ retry: "重试",
121
+ actions: "操作",
122
+ updated: "更新时间",
123
+ search: "搜索名称",
124
+ searchItems: "搜索名称 / SKU / 条码",
125
+ searchHint: "输入 10 位及以上纯数字时,按条码精确查询。",
126
+ sku: "SKU",
127
+ barcode: "条码",
128
+ cover: "封面 URL",
129
+ note: "备注",
130
+ stockMode: "库存模式",
131
+ allStockModes: "全部库存模式",
132
+ tracked: "追踪库存",
133
+ unlimited: "不限库存",
134
+ quantity: "真实库存",
135
+ available: "可用库存",
136
+ totalQuantity: "真实库存合计",
137
+ totalAvailable: "可用库存合计",
138
+ stockSummary: "库存汇总",
139
+ basic: "基本信息",
140
+ bindings: "货位绑定",
141
+ bind: "绑定货位",
142
+ unbind: "解绑",
143
+ path: "地点 / 货架 / 货位",
144
+ stockReadOnly: "库存数量只读,绑定货位不会入库或调整库存。",
145
+ unbindBlocked: "真实库存和可用库存必须同时为零才能解绑。",
146
+ bindHint: "依次选择地点、货架和货位。重复绑定会保留已有记录,不改变库存数量。",
147
+ saveFirst: "请先保存货品,再绑定货位。",
148
+ empty: "暂无记录",
149
+ chooseLocation: "请选择地点",
150
+ chooseShelf: "请选择货架",
151
+ chooseSpace: "请选择货位",
152
+ loadMore: "加载更多",
153
+ loading: "加载中…",
154
+ noUnit: "无单位",
155
+ missing: "记录不存在或已失效",
156
+ required: "请填写此项",
157
+ originalRequired: "请填写原始名称",
158
+ invalidUrl: "请输入有效的 HTTP 或 HTTPS 完整地址",
159
+ sortHint: "数值越大越靠前",
160
+ nonnegative: "请输入非负整数",
161
+ success: "保存成功",
162
+ deleted: "删除成功",
163
+ bound: "绑定成功",
164
+ unbound: "解绑成功",
165
+ failed: "请求失败,请重试。",
166
+ noRequest: "宿主请求服务不可用。",
167
+ invalidResponse: "接口返回格式异常。",
168
+ deleteTitle: "确定删除此记录?",
169
+ deleteHint: "存在引用时可能无法删除。本操作不会删除下级或解除库存关联。",
170
+ unbindTitle: "确定解除此货位绑定?",
171
+ unbindHint: "仅移除这条空库存关联。",
172
+ unsavedTitle: "放弃未保存的修改?",
173
+ unsavedHint: "当前修改尚未保存。",
174
+ discard: "放弃修改",
175
+ referencedStock: "此货位的货品",
176
+ hierarchyHint: "选择地点或货架,维护其下级记录。",
177
+ itemHint: "维护货品资料及其存放货位。",
178
+ unitHint: "维护库存货品使用的计量单位。",
179
+ parentHint: "修改归属将更新仓储路径,不改变库存数量。",
180
+ statusHint: "启停状态不会向下级联动,也不会解除已有绑定。",
181
+ count: "共",
182
+ expand: "展开货架",
183
+ collapse: "收起货架",
184
+ viewChildren: "进入下级",
185
+ editBasicFirst: "请先保存或取消基本信息修改,再维护货位绑定。"
186
+ };
187
+ const zhHK = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, zhCN), {}, {
188
+ items: "貨品管理",
189
+ units: "貨品單位管理",
190
+ locations: "倉儲位置管理",
191
+ item: "貨品",
192
+ unit: "單位",
193
+ shelf: "貨架",
194
+ space: "貨位",
195
+ allLocations: "全部地點",
196
+ location: "地點",
197
+ name: "名稱",
198
+ status: "狀態",
199
+ active: "啟用",
200
+ inactive: "停用",
201
+ allStatuses: "全部狀態",
202
+ allUnits: "全部單位",
203
+ edit: "編輯",
204
+ view: "查看",
205
+ remove: "刪除",
206
+ save: "儲存",
207
+ close: "關閉",
208
+ refresh: "重新整理",
209
+ actions: "操作",
210
+ updated: "更新時間",
211
+ search: "搜尋名稱",
212
+ searchItems: "搜尋名稱 / SKU / 條碼",
213
+ searchHint: "輸入 10 位及以上純數字時,按條碼精確查詢。",
214
+ barcode: "條碼",
215
+ cover: "封面 URL",
216
+ note: "備註",
217
+ stockMode: "庫存模式",
218
+ allStockModes: "全部庫存模式",
219
+ tracked: "追蹤庫存",
220
+ unlimited: "不限庫存",
221
+ quantity: "實際庫存",
222
+ available: "可用庫存",
223
+ totalQuantity: "實際庫存合計",
224
+ totalAvailable: "可用庫存合計",
225
+ stockSummary: "庫存彙總",
226
+ basic: "基本資訊",
227
+ bindings: "貨位綁定",
228
+ bind: "綁定貨位",
229
+ unbind: "解除綁定",
230
+ path: "地點 / 貨架 / 貨位",
231
+ stockReadOnly: "庫存數量唯讀,綁定貨位不會入庫或調整庫存。",
232
+ unbindBlocked: "實際庫存和可用庫存必須同時為零才能解除綁定。",
233
+ bindHint: "依次選擇地點、貨架和貨位。重複綁定會保留已有記錄,不改變庫存數量。",
234
+ saveFirst: "請先儲存貨品,再綁定貨位。",
235
+ empty: "暫無記錄",
236
+ chooseLocation: "請選擇地點",
237
+ chooseShelf: "請選擇貨架",
238
+ chooseSpace: "請選擇貨位",
239
+ loadMore: "載入更多",
240
+ loading: "載入中…",
241
+ noUnit: "無單位",
242
+ missing: "記錄不存在或已失效",
243
+ required: "請填寫此項",
244
+ originalRequired: "請填寫原始名稱",
245
+ invalidUrl: "請輸入有效的 HTTP 或 HTTPS 完整地址",
246
+ sortHint: "數值越大越靠前",
247
+ nonnegative: "請輸入非負整數",
248
+ success: "儲存成功",
249
+ deleted: "刪除成功",
250
+ bound: "綁定成功",
251
+ unbound: "已解除綁定",
252
+ failed: "請求失敗,請重試。",
253
+ noRequest: "宿主請求服務不可用。",
254
+ invalidResponse: "介面返回格式異常。",
255
+ deleteTitle: "確定刪除此記錄?",
256
+ deleteHint: "存在引用時可能無法刪除。本操作不會刪除下級或解除庫存關聯。",
257
+ unbindTitle: "確定解除此貨位綁定?",
258
+ unbindHint: "僅移除這條空庫存關聯。",
259
+ unsavedTitle: "放棄未儲存的修改?",
260
+ unsavedHint: "目前修改尚未儲存。",
261
+ discard: "放棄修改",
262
+ referencedStock: "此貨位的貨品",
263
+ hierarchyHint: "選擇地點或貨架,維護其下級記錄。",
264
+ itemHint: "維護貨品資料及其存放貨位。",
265
+ unitHint: "維護庫存貨品使用的計量單位。",
266
+ parentHint: "修改歸屬將更新倉儲路徑,不改變庫存數量。",
267
+ statusHint: "啟停狀態不會向下級聯動,也不會解除已有綁定。",
268
+ expand: "展開貨架",
269
+ collapse: "收起貨架",
270
+ viewChildren: "進入下級",
271
+ editBasicFirst: "請先儲存或取消基本資訊修改,再維護貨位綁定。",
272
+ retry: "重試",
273
+ count: "共"
274
+ });
275
+ const getInventoryTexts = (locale) => /^(zh-HK|zh-TW|zh-Hant)/i.test(locale) ? zhHK : /^zh/i.test(locale) ? zhCN : en;
276
+ //#endregion
277
+ exports.getInventoryTexts = getInventoryTexts;
@@ -0,0 +1,10 @@
1
+ import { CSSProperties } from "react";
2
+
3
+ //#region src/plus/inventory/types.d.ts
4
+ interface InventoryPageProps {
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ __id?: string;
8
+ }
9
+ //#endregion
10
+ export { InventoryPageProps };
@@ -0,0 +1,30 @@
1
+ const require_runtime = require("../../_virtual/_rolldown/runtime.js");
2
+ let decimal_js = require("decimal.js");
3
+ decimal_js = require_runtime.__toESM(decimal_js);
4
+ //#region src/plus/inventory/utils.ts
5
+ function inventoryName(value, locale) {
6
+ const translated = value === null || value === void 0 ? void 0 : value[locale];
7
+ if (typeof translated === "string" && translated.trim()) return translated;
8
+ return typeof (value === null || value === void 0 ? void 0 : value.original) === "string" && value.original.trim() ? value.original : "—";
9
+ }
10
+ function inventoryQuantity(value) {
11
+ if (typeof value !== "string" || !/^-?\d+(\.\d+)?$/.test(value)) return "—";
12
+ const result = value.includes(".") ? value.replace(/0+$/, "").replace(/\.$/, "") : value;
13
+ return /^-?0$/.test(result) ? "0" : result;
14
+ }
15
+ function canUnbind(stock) {
16
+ return [stock.quantity, stock.available_quantity].every((value) => {
17
+ if (typeof value !== "string" || !/^-?\d+(\.\d+)?$/.test(value)) return false;
18
+ return new decimal_js.default(value).isZero();
19
+ });
20
+ }
21
+ function mergeInventoryRecords(previous, next) {
22
+ return Array.from(new Map([...previous, ...next].map((record) => [record.id, record])).values());
23
+ }
24
+ const optionalText = (value) => (value === null || value === void 0 ? void 0 : value.trim()) || null;
25
+ //#endregion
26
+ exports.canUnbind = canUnbind;
27
+ exports.inventoryName = inventoryName;
28
+ exports.inventoryQuantity = inventoryQuantity;
29
+ exports.mergeInventoryRecords = mergeInventoryRecords;
30
+ exports.optionalText = optionalText;
@@ -0,0 +1,24 @@
1
+ const require_runtime = require("../../_virtual/_rolldown/runtime.js");
2
+ const require_model = require("./model.js");
3
+ const require_JobStatus = require("./JobStatus.js");
4
+ let react = require("react");
5
+ react = require_runtime.__toESM(react);
6
+ //#region src/plus/panpacificTask/JobCard.tsx
7
+ function JobCard({ job, getText, selected, onOpen, onHover }) {
8
+ return /* @__PURE__ */ react.default.createElement("button", {
9
+ type: "button",
10
+ className: "pp-task-job-card",
11
+ "data-job-id": String(job.id),
12
+ "aria-pressed": selected,
13
+ onClick: onOpen,
14
+ onMouseEnter: () => onHover(String(job.id)),
15
+ onMouseLeave: () => onHover(),
16
+ onFocus: () => onHover(String(job.id)),
17
+ onBlur: () => onHover()
18
+ }, /* @__PURE__ */ react.default.createElement(require_JobStatus.JobStatus, {
19
+ job,
20
+ getText
21
+ }), /* @__PURE__ */ react.default.createElement("strong", null, job.job_number || require_model.companyName(job)), /* @__PURE__ */ react.default.createElement("small", null, require_model.companyName(job), " · ", getText("pisell2.panpacific.task.due"), " ", require_model.dateText(job.due_date)));
22
+ }
23
+ //#endregion
24
+ exports.JobCard = JobCard;