@pisell/private-materials 3.4.96 → 3.4.98

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 (474) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +153 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +12 -12
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +12 -12
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  17. package/es/components/appointmentBooking/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/index.js +6 -3
  19. package/es/components/booking/addons/model.d.ts +1 -10
  20. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  21. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  22. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  23. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  24. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  25. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  26. package/es/components/booking/deposit/index.d.ts +1 -0
  27. package/es/components/booking/forms/model.d.ts +1 -10
  28. package/es/components/booking/forms/single/index.d.ts +1 -0
  29. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  30. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  31. package/es/components/booking/info/date/index.d.ts +1 -0
  32. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  33. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  34. package/es/components/booking/info/index.d.ts +1 -0
  35. package/es/components/booking/info/model.d.ts +1 -10
  36. package/es/components/booking/info/notes/index.d.ts +1 -0
  37. package/es/components/booking/info/service/Lists.d.ts +1 -0
  38. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  39. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  40. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  41. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  42. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  43. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  44. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  45. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  46. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  47. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  48. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  49. package/es/components/booking/model.d.ts +1 -9
  50. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  51. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  52. package/es/components/booking/notes/model.d.ts +1 -10
  53. package/es/components/booking/payments/model.d.ts +1 -10
  54. package/es/components/booking/utils.d.ts +2 -2
  55. package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
  56. package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -0
  57. package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  58. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  59. package/es/components/eftpos/form/index.d.ts +1 -0
  60. package/es/components/eftpos/hooks.d.ts +1 -0
  61. package/es/components/eftpos/index.d.ts +1 -0
  62. package/es/components/eftpos/pos.d.ts +1 -0
  63. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  64. package/es/components/eftposPay/amount.d.ts +1 -0
  65. package/es/components/eftposPay/app.d.ts +2 -1
  66. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  67. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  68. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  69. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  70. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  71. package/es/components/eftposPay/device.d.ts +1 -0
  72. package/es/components/eftposPay/hooks.d.ts +1 -1
  73. package/es/components/eftposPay/index.d.ts +1 -0
  74. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  75. package/es/components/eftposPay/pay.d.ts +1 -0
  76. package/es/components/eftposPay/payo/config.d.ts +1 -0
  77. package/es/components/eftposPay/store/index.d.ts +1 -1
  78. package/es/components/eftposPay/tip.d.ts +1 -0
  79. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  80. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  81. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  83. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  84. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  85. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  86. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  87. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  88. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  89. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  90. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  91. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  92. package/es/components/eventBooking/index.d.ts +1 -0
  93. package/es/components/login/index.d.ts +1 -0
  94. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  95. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  97. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  98. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  99. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  100. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  101. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  102. package/es/components/pay/toC/model.d.ts +1 -9
  103. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  104. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  105. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  106. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  107. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  108. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  109. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  110. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  111. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  112. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  113. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  114. package/es/components/productExtension/index.d.ts +1 -0
  115. package/es/components/ruleSetting/index.d.ts +1 -0
  116. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  117. package/es/components/schedules/calendar/index.d.ts +1 -0
  118. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  119. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  120. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  121. package/es/components/schedules/model.d.ts +1 -9
  122. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  123. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  124. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  125. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  126. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  127. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  128. package/es/components/schedules/products/index.d.ts +1 -0
  129. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  130. package/es/components/schedules/products/list/index.d.ts +1 -0
  131. package/es/components/schedules/resources/index.d.ts +1 -0
  132. package/es/components/schedules/resources/list/index.d.ts +1 -0
  133. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  134. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  135. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  136. package/es/components/schedules/schedules/index.d.ts +1 -0
  137. package/es/components/shoppingCart/index.d.ts +1 -0
  138. package/es/components/systemSettings/registry/components/ItemModal.js +17 -2
  139. package/es/components/systemSettings/registry/components/SettingsTable.js +3 -1
  140. package/es/components/systemSettings/registry/index.js +35 -30
  141. package/es/components/systemSettings/registry/locales.d.ts +10 -0
  142. package/es/components/systemSettings/registry/locales.js +12 -2
  143. package/es/components/systemSettings/registry/services.d.ts +11 -11
  144. package/es/components/systemSettings/registry/services.js +75 -33
  145. package/es/components/systemSettings/registry/types.d.ts +2 -0
  146. package/es/components/taxSelect/index.d.ts +1 -0
  147. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  148. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  149. package/es/hooks/usePaymentLogger.d.ts +1 -0
  150. package/es/index.d.ts +4 -0
  151. package/es/index.js +2 -0
  152. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  153. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  154. package/es/plus/orderList/components/HandleActions.d.ts +0 -1
  155. package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
  156. package/es/plus/orderList/components/Reset.d.ts +0 -1
  157. package/es/plus/orderList/components/Toolbar.d.ts +0 -1
  158. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  159. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  160. package/es/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.d.ts +16 -0
  161. package/es/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.js +267 -0
  162. package/es/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.less +85 -0
  163. package/es/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.d.ts +12 -0
  164. package/es/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.js +48 -0
  165. package/es/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.d.ts +16 -0
  166. package/es/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.js +72 -0
  167. package/es/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.less +30 -0
  168. package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.d.ts +14 -0
  169. package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.js +101 -0
  170. package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.less +151 -0
  171. package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.d.ts +25 -0
  172. package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +175 -0
  173. package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +98 -0
  174. package/es/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.d.ts +16 -0
  175. package/es/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.js +165 -0
  176. package/es/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.less +11 -0
  177. package/es/plus/saasDevice/devicePlanning/components/WorkAreaList/index.d.ts +18 -0
  178. package/es/plus/saasDevice/devicePlanning/components/WorkAreaList/index.js +137 -0
  179. package/es/plus/saasDevice/devicePlanning/components/WorkAreaList/index.less +85 -0
  180. package/es/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.d.ts +14 -0
  181. package/es/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.js +98 -0
  182. package/es/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
  183. package/es/plus/saasDevice/devicePlanning/constants.js +42 -0
  184. package/es/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
  185. package/es/plus/saasDevice/devicePlanning/hooks.js +9 -0
  186. package/es/plus/saasDevice/devicePlanning/index.d.ts +5 -0
  187. package/es/plus/saasDevice/devicePlanning/index.js +804 -0
  188. package/es/plus/saasDevice/devicePlanning/index.less +52 -0
  189. package/es/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
  190. package/es/plus/saasDevice/devicePlanning/locales.js +487 -0
  191. package/es/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
  192. package/es/plus/saasDevice/devicePlanning/serve.js +197 -0
  193. package/es/plus/saasDevice/devicePlanning/types.d.ts +138 -0
  194. package/es/plus/saasDevice/devicePlanning/types.js +50 -0
  195. package/es/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.d.ts +16 -0
  196. package/es/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.js +381 -0
  197. package/es/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.less +131 -0
  198. package/es/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.d.ts +16 -0
  199. package/es/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.js +96 -0
  200. package/es/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.less +109 -0
  201. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.d.ts +16 -0
  202. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.js +157 -0
  203. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/index.d.ts +12 -0
  204. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/index.js +290 -0
  205. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/index.less +94 -0
  206. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
  207. package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.js +25 -0
  208. package/es/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.d.ts +15 -0
  209. package/es/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.js +56 -0
  210. package/es/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.less +28 -0
  211. package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.d.ts +11 -0
  212. package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.js +33 -0
  213. package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +40 -0
  214. package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
  215. package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.js +18 -0
  216. package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.less +14 -0
  217. package/es/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
  218. package/es/plus/saasDevice/deviceProfile/hooks.js +8 -0
  219. package/es/plus/saasDevice/deviceProfile/index.d.ts +5 -0
  220. package/es/plus/saasDevice/deviceProfile/index.js +611 -0
  221. package/es/plus/saasDevice/deviceProfile/index.less +54 -0
  222. package/es/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
  223. package/es/plus/saasDevice/deviceProfile/locales.js +387 -0
  224. package/es/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
  225. package/es/plus/saasDevice/deviceProfile/serve.js +148 -0
  226. package/es/plus/saasDevice/deviceProfile/types.d.ts +190 -0
  227. package/es/plus/saasDevice/deviceProfile/types.js +46 -0
  228. package/es/plus/saasDevice/index.d.ts +0 -0
  229. package/es/plus/saasDevice/index.js +0 -0
  230. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  231. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  232. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  233. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  234. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  235. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  236. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  237. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  238. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  239. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  240. package/es/pro/Selector/demo.d.ts +1 -0
  241. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  242. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  243. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  244. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  245. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  246. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
  247. package/lib/components/appointmentBooking/index.d.ts +1 -0
  248. package/lib/components/appointmentBooking/index.js +2 -1
  249. package/lib/components/booking/addons/model.d.ts +1 -10
  250. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  251. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  252. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  253. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  254. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  255. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  256. package/lib/components/booking/deposit/index.d.ts +1 -0
  257. package/lib/components/booking/forms/model.d.ts +1 -10
  258. package/lib/components/booking/forms/single/index.d.ts +1 -0
  259. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  260. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  261. package/lib/components/booking/info/date/index.d.ts +1 -0
  262. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  263. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  264. package/lib/components/booking/info/index.d.ts +1 -0
  265. package/lib/components/booking/info/model.d.ts +1 -10
  266. package/lib/components/booking/info/notes/index.d.ts +1 -0
  267. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  268. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  269. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  270. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  271. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  272. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  273. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  274. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  275. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  276. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  277. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  278. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  279. package/lib/components/booking/model.d.ts +1 -9
  280. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  281. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  282. package/lib/components/booking/notes/model.d.ts +1 -10
  283. package/lib/components/booking/payments/model.d.ts +1 -10
  284. package/lib/components/booking/utils.d.ts +2 -2
  285. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
  286. package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -0
  287. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  288. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  289. package/lib/components/eftpos/form/index.d.ts +1 -0
  290. package/lib/components/eftpos/hooks.d.ts +1 -0
  291. package/lib/components/eftpos/index.d.ts +1 -0
  292. package/lib/components/eftpos/pos.d.ts +1 -0
  293. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  294. package/lib/components/eftposPay/amount.d.ts +1 -0
  295. package/lib/components/eftposPay/app.d.ts +2 -1
  296. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  297. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  298. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  299. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  300. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  301. package/lib/components/eftposPay/device.d.ts +1 -0
  302. package/lib/components/eftposPay/hooks.d.ts +1 -1
  303. package/lib/components/eftposPay/index.d.ts +1 -0
  304. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  305. package/lib/components/eftposPay/pay.d.ts +1 -0
  306. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  307. package/lib/components/eftposPay/store/index.d.ts +1 -1
  308. package/lib/components/eftposPay/tip.d.ts +1 -0
  309. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  310. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  311. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  312. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  313. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  314. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  315. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  316. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  317. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  318. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  319. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  320. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  321. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  322. package/lib/components/eventBooking/index.d.ts +1 -0
  323. package/lib/components/login/index.d.ts +1 -0
  324. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  325. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  326. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  327. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  328. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  329. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  330. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  331. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  332. package/lib/components/pay/toC/model.d.ts +1 -9
  333. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  334. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  335. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  336. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  337. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  338. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  339. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  340. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  341. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  342. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  343. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  344. package/lib/components/productExtension/index.d.ts +1 -0
  345. package/lib/components/ruleSetting/index.d.ts +1 -0
  346. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  347. package/lib/components/schedules/calendar/index.d.ts +1 -0
  348. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  349. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  350. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  351. package/lib/components/schedules/model.d.ts +1 -9
  352. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  353. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  354. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  355. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  356. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  357. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  358. package/lib/components/schedules/products/index.d.ts +1 -0
  359. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  360. package/lib/components/schedules/products/list/index.d.ts +1 -0
  361. package/lib/components/schedules/resources/index.d.ts +1 -0
  362. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  363. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  364. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  365. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  366. package/lib/components/schedules/schedules/index.d.ts +1 -0
  367. package/lib/components/shoppingCart/index.d.ts +1 -0
  368. package/lib/components/systemSettings/registry/components/ItemModal.js +10 -2
  369. package/lib/components/systemSettings/registry/components/SettingsTable.js +3 -1
  370. package/lib/components/systemSettings/registry/index.js +19 -16
  371. package/lib/components/systemSettings/registry/locales.d.ts +10 -0
  372. package/lib/components/systemSettings/registry/locales.js +12 -2
  373. package/lib/components/systemSettings/registry/services.d.ts +11 -11
  374. package/lib/components/systemSettings/registry/services.js +49 -22
  375. package/lib/components/systemSettings/registry/types.d.ts +2 -0
  376. package/lib/components/taxSelect/index.d.ts +1 -0
  377. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  378. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  379. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  380. package/lib/index.d.ts +4 -0
  381. package/lib/index.js +6 -0
  382. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  383. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  384. package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
  385. package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
  386. package/lib/plus/orderList/components/Reset.d.ts +0 -1
  387. package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
  388. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  389. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  390. package/lib/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.d.ts +16 -0
  391. package/lib/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.js +228 -0
  392. package/lib/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.less +85 -0
  393. package/lib/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.d.ts +12 -0
  394. package/lib/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.js +86 -0
  395. package/lib/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.d.ts +16 -0
  396. package/lib/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.js +108 -0
  397. package/lib/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.less +30 -0
  398. package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.d.ts +14 -0
  399. package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.js +91 -0
  400. package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.less +151 -0
  401. package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.d.ts +25 -0
  402. package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +193 -0
  403. package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +98 -0
  404. package/lib/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.d.ts +16 -0
  405. package/lib/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.js +186 -0
  406. package/lib/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.less +11 -0
  407. package/lib/plus/saasDevice/devicePlanning/components/WorkAreaList/index.d.ts +18 -0
  408. package/lib/plus/saasDevice/devicePlanning/components/WorkAreaList/index.js +174 -0
  409. package/lib/plus/saasDevice/devicePlanning/components/WorkAreaList/index.less +85 -0
  410. package/lib/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.d.ts +14 -0
  411. package/lib/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.js +105 -0
  412. package/lib/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
  413. package/lib/plus/saasDevice/devicePlanning/constants.js +62 -0
  414. package/lib/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
  415. package/lib/plus/saasDevice/devicePlanning/hooks.js +47 -0
  416. package/lib/plus/saasDevice/devicePlanning/index.d.ts +5 -0
  417. package/lib/plus/saasDevice/devicePlanning/index.js +562 -0
  418. package/lib/plus/saasDevice/devicePlanning/index.less +52 -0
  419. package/lib/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
  420. package/lib/plus/saasDevice/devicePlanning/locales.js +511 -0
  421. package/lib/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
  422. package/lib/plus/saasDevice/devicePlanning/serve.js +117 -0
  423. package/lib/plus/saasDevice/devicePlanning/types.d.ts +138 -0
  424. package/lib/plus/saasDevice/devicePlanning/types.js +61 -0
  425. package/lib/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.d.ts +16 -0
  426. package/lib/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.js +343 -0
  427. package/lib/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.less +131 -0
  428. package/lib/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.d.ts +16 -0
  429. package/lib/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.js +96 -0
  430. package/lib/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.less +109 -0
  431. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.d.ts +16 -0
  432. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.js +216 -0
  433. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/index.d.ts +12 -0
  434. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/index.js +232 -0
  435. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/index.less +94 -0
  436. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
  437. package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.js +44 -0
  438. package/lib/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.d.ts +15 -0
  439. package/lib/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.js +85 -0
  440. package/lib/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.less +28 -0
  441. package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.d.ts +11 -0
  442. package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.js +73 -0
  443. package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +40 -0
  444. package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
  445. package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.js +46 -0
  446. package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.less +14 -0
  447. package/lib/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
  448. package/lib/plus/saasDevice/deviceProfile/hooks.js +44 -0
  449. package/lib/plus/saasDevice/deviceProfile/index.d.ts +5 -0
  450. package/lib/plus/saasDevice/deviceProfile/index.js +556 -0
  451. package/lib/plus/saasDevice/deviceProfile/index.less +54 -0
  452. package/lib/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
  453. package/lib/plus/saasDevice/deviceProfile/locales.js +411 -0
  454. package/lib/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
  455. package/lib/plus/saasDevice/deviceProfile/serve.js +81 -0
  456. package/lib/plus/saasDevice/deviceProfile/types.d.ts +190 -0
  457. package/lib/plus/saasDevice/deviceProfile/types.js +53 -0
  458. package/lib/plus/saasDevice/index.d.ts +0 -0
  459. package/lib/plus/saasDevice/index.js +0 -0
  460. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  461. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  462. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  463. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  464. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  465. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  466. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  467. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  468. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  469. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  470. package/lib/pro/Selector/demo.d.ts +1 -0
  471. package/lowcode/saas-device-planning/meta.ts +35 -0
  472. package/lowcode/saas-device-profile/meta.ts +67 -0
  473. package/lowcode/settings-registry/meta.ts +40 -0
  474. package/package.json +4 -4
@@ -0,0 +1,91 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.tsx
30
+ var DeviceDetailDrawer_exports = {};
31
+ __export(DeviceDetailDrawer_exports, {
32
+ default: () => DeviceDetailDrawer_default
33
+ });
34
+ module.exports = __toCommonJS(DeviceDetailDrawer_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_antd = require("antd");
37
+ var import_materials = require("@pisell/materials");
38
+ var import_icons = require("@ant-design/icons");
39
+ var import_classnames = __toESM(require("classnames"));
40
+ var import_index = require("./index.less");
41
+ var DeviceDetailDrawer = ({
42
+ open,
43
+ record,
44
+ getText,
45
+ translation,
46
+ onClose,
47
+ onEdit,
48
+ onDelete
49
+ }) => {
50
+ var _a;
51
+ const device = record == null ? void 0 : record._raw;
52
+ const online = (record == null ? void 0 : record.status) === "online";
53
+ return /* @__PURE__ */ import_react.default.createElement(
54
+ import_antd.Drawer,
55
+ {
56
+ open,
57
+ onClose,
58
+ width: 520,
59
+ maskClosable: true,
60
+ closable: false,
61
+ className: "device-detail-drawer",
62
+ rootClassName: "device-detail-drawer-root",
63
+ styles: {
64
+ body: {
65
+ padding: 0
66
+ }
67
+ },
68
+ bodyStyle: { padding: 0 }
69
+ },
70
+ record ? /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__root" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__header" }, ((_a = device == null ? void 0 : device.type) == null ? void 0 : _a.icon) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__icon" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Icon, { type: device.type.icon })) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__heading" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__name" }, record.name), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__type" }, record.typeName)), /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { type: "text", icon: /* @__PURE__ */ import_react.default.createElement(import_icons.CloseOutlined, null), onClick: onClose })), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__section-title" }, getText("pisell2.saas.device-planning.detail.basic-info")), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-list" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-row" }, /* @__PURE__ */ import_react.default.createElement("span", null, getText("pisell2.saas.device-planning.detail.name")), /* @__PURE__ */ import_react.default.createElement("strong", null, record.name)), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-row" }, /* @__PURE__ */ import_react.default.createElement("span", null, getText("pisell2.saas.device-planning.detail.type")), /* @__PURE__ */ import_react.default.createElement("strong", null, record.typeName)), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-row" }, /* @__PURE__ */ import_react.default.createElement("span", null, getText("pisell2.saas.device-planning.detail.model")), /* @__PURE__ */ import_react.default.createElement("strong", null, record.modelName)), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-two-row" }, /* @__PURE__ */ import_react.default.createElement("span", null, getText("pisell2.saas.device-planning.detail.profile")), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__profile-card" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Icon, { type: "FileTextOutlined" }), record.profileName))), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__section-title" }, getText("pisell2.saas.device-planning.detail.status")), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-list" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-row" }, /* @__PURE__ */ import_react.default.createElement("span", null, getText("pisell2.saas.device-planning.detail.link-status")), /* @__PURE__ */ import_react.default.createElement(
71
+ import_materials.Tag,
72
+ {
73
+ color: record.link === "linked" ? "green" : "gold",
74
+ style: { marginRight: 0 }
75
+ },
76
+ getText(
77
+ `pisell2.saas.device-planning.status.${record.link}`
78
+ ) || record.link
79
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__info-row" }, /* @__PURE__ */ import_react.default.createElement("span", null, getText("pisell2.saas.device-planning.detail.online-status")), /* @__PURE__ */ import_react.default.createElement("span", { className: "device-detail-drawer__online-status" }, /* @__PURE__ */ import_react.default.createElement(
80
+ "span",
81
+ {
82
+ className: (0, import_classnames.default)("device-detail-drawer__status-dot", {
83
+ "is-online": online
84
+ })
85
+ }
86
+ ), getText(
87
+ `pisell2.saas.device-planning.status.${record.status}`
88
+ ) || record.status)))), /* @__PURE__ */ import_react.default.createElement("div", { className: "device-detail-drawer__footer" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { danger: true, size: "large", onClick: onDelete }, getText("pisell2.saas.device-planning.detail.delete")), /* @__PURE__ */ import_react.default.createElement(import_materials.Button, { type: "primary", size: "large", onClick: onEdit }, getText("pisell2.saas.device-planning.detail.edit")))) : null
89
+ );
90
+ };
91
+ var DeviceDetailDrawer_default = DeviceDetailDrawer;
@@ -0,0 +1,151 @@
1
+ .device-detail-drawer-root {
2
+ .ant-drawer-content,
3
+ .ant-drawer-wrapper-body,
4
+ .ant-drawer-body {
5
+ height: 100%;
6
+ }
7
+
8
+ .ant-drawer-body {
9
+ padding: 0;
10
+ }
11
+ }
12
+
13
+ .device-detail-drawer {
14
+ .ant-drawer-body {
15
+ height: 100%;
16
+ padding: 0;
17
+ }
18
+
19
+ &__root {
20
+ display: flex;
21
+ flex-direction: column;
22
+ height: 100%;
23
+ }
24
+
25
+ &__header {
26
+ display: flex;
27
+ align-items: center;
28
+ gap: 12px;
29
+ padding: 16px;
30
+ background: #e6f4ff;
31
+ }
32
+
33
+ &__icon {
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ width: 40px;
38
+ height: 40px;
39
+ border-radius: 8px;
40
+ background: #dbeafe;
41
+ color: #1677ff;
42
+ }
43
+
44
+ &__heading {
45
+ flex: 1;
46
+ min-width: 0;
47
+ }
48
+
49
+ &__name {
50
+ font-size: 15px;
51
+ font-weight: 600;
52
+ color: rgba(0, 0, 0, 0.88);
53
+ }
54
+
55
+ &__type {
56
+ margin-top: 2px;
57
+ font-size: 12px;
58
+ color: rgba(0, 0, 0, 0.45);
59
+ }
60
+
61
+ &__content {
62
+ flex: 1;
63
+ min-height: 0;
64
+ padding: 20px 24px;
65
+ overflow: auto;
66
+ }
67
+
68
+ &__section-title {
69
+ margin: 10px 0 12px;
70
+ font-size: 13px;
71
+ color: rgba(0, 0, 0, 0.45);
72
+ }
73
+
74
+ &__info-list {
75
+ display: flex;
76
+ flex-direction: column;
77
+ gap: 12px;
78
+ }
79
+
80
+ &__info-row {
81
+ display: flex;
82
+ align-items: center;
83
+ justify-content: space-between;
84
+ gap: 16px;
85
+ font-size: 14px;
86
+
87
+ > span:first-child {
88
+ color: rgba(0, 0, 0, 0.55);
89
+ }
90
+
91
+ strong {
92
+ font-weight: 600;
93
+ color: rgba(0, 0, 0, 0.88);
94
+ }
95
+ }
96
+
97
+ &__info-two-row {
98
+ display: flex;
99
+ flex-direction: column;
100
+ align-items: flex-start;
101
+ gap: 8px;
102
+ font-size: 14px;
103
+
104
+ > span:first-child {
105
+ color: rgba(0, 0, 0, 0.55);
106
+ }
107
+
108
+ strong {
109
+ font-weight: 600;
110
+ color: rgba(0, 0, 0, 0.88);
111
+ }
112
+ }
113
+
114
+ &__profile-card {
115
+ width: 100%;
116
+ display: inline-flex;
117
+ align-items: center;
118
+ gap: 8px;
119
+ min-width: 180px;
120
+ padding: 8px 10px;
121
+ border-radius: 6px;
122
+ background: #f5f6f8;
123
+ color: rgba(0, 0, 0, 0.72);
124
+ }
125
+
126
+ &__online-status {
127
+ display: inline-flex;
128
+ align-items: center;
129
+ gap: 6px;
130
+ }
131
+
132
+ &__status-dot {
133
+ width: 6px;
134
+ height: 6px;
135
+ border-radius: 50%;
136
+ background: rgba(0, 0, 0, 0.25);
137
+
138
+ &.is-online {
139
+ background: #16a34a;
140
+ }
141
+ }
142
+
143
+ &__footer {
144
+ display: grid;
145
+ grid-template-columns: auto 1fr;
146
+ gap: 8px;
147
+ padding: 24px;
148
+ border-top: 1px solid #f0f0f0;
149
+ background: #fff;
150
+ }
151
+ }
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import type { DeviceKind, DeviceRow } from '../../types';
3
+ import './index.less';
4
+ interface DeviceTableProps {
5
+ activeKind: DeviceKind;
6
+ data: DeviceRow[];
7
+ loading: boolean;
8
+ search: string;
9
+ typeFilter?: string;
10
+ typeOptions: {
11
+ label: string;
12
+ value: string;
13
+ }[];
14
+ page: number;
15
+ pageSize: number;
16
+ getText: (key: string) => string;
17
+ onSearchChange: (value: string) => void;
18
+ onTypeFilterChange: (value?: string) => void;
19
+ onPageChange: (page: number, pageSize: number) => void;
20
+ onAdd: () => void;
21
+ onSortChange: (orderedRows: DeviceRow[]) => void;
22
+ onRowClick: (record: DeviceRow) => void;
23
+ }
24
+ declare const DeviceTable: React.FC<DeviceTableProps>;
25
+ export default DeviceTable;
@@ -0,0 +1,193 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/plus/saasDevice/devicePlanning/components/DeviceTable/index.tsx
30
+ var DeviceTable_exports = {};
31
+ __export(DeviceTable_exports, {
32
+ default: () => DeviceTable_default
33
+ });
34
+ module.exports = __toCommonJS(DeviceTable_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_materials = require("@pisell/materials");
37
+ var import_icons = require("@ant-design/icons");
38
+ var import_classnames = __toESM(require("classnames"));
39
+ var import_constants = require("../../constants");
40
+ var import_index = require("./index.less");
41
+ var DeviceTable = ({
42
+ activeKind,
43
+ data,
44
+ loading,
45
+ search,
46
+ typeFilter,
47
+ typeOptions,
48
+ page,
49
+ pageSize,
50
+ getText,
51
+ onSearchChange,
52
+ onTypeFilterChange,
53
+ onPageChange,
54
+ onAdd,
55
+ onSortChange,
56
+ onRowClick
57
+ }) => {
58
+ const columns = (0, import_react.useMemo)(
59
+ () => [
60
+ {
61
+ title: getText("pisell2.saas.device-planning.column.name"),
62
+ dataIndex: "name",
63
+ key: "name",
64
+ render: (name, record) => {
65
+ var _a;
66
+ return /* @__PURE__ */ import_react.default.createElement("span", { className: "saas-device-planning-device-table__device-name" }, ((_a = record._raw.type) == null ? void 0 : _a.icon) ? /* @__PURE__ */ import_react.default.createElement(import_materials.Icon, { type: record._raw.type.icon }) : null, name);
67
+ }
68
+ },
69
+ {
70
+ title: getText("pisell2.saas.device-planning.column.device-type"),
71
+ dataIndex: "typeName",
72
+ key: "typeName"
73
+ },
74
+ {
75
+ title: getText("pisell2.saas.device-planning.column.device-model"),
76
+ dataIndex: "modelName",
77
+ key: "modelName"
78
+ },
79
+ {
80
+ title: getText("pisell2.saas.device-planning.column.profile"),
81
+ dataIndex: "profileName",
82
+ key: "profileName"
83
+ },
84
+ {
85
+ title: getText("pisell2.saas.device-planning.column.link-status"),
86
+ dataIndex: "link",
87
+ key: "link",
88
+ width: 140,
89
+ render: (value) => /* @__PURE__ */ import_react.default.createElement(import_materials.Tag, { color: value === "linked" ? "green" : "gold" }, getText(`pisell2.saas.device-planning.status.${value}`) || value)
90
+ },
91
+ {
92
+ title: getText("pisell2.saas.device-planning.column.online-status"),
93
+ dataIndex: "status",
94
+ key: "status",
95
+ width: 140,
96
+ render: (value) => /* @__PURE__ */ import_react.default.createElement("span", { className: "saas-device-planning-device-table__online-status" }, /* @__PURE__ */ import_react.default.createElement(
97
+ "span",
98
+ {
99
+ className: (0, import_classnames.default)(
100
+ "saas-device-planning-device-table__status-dot",
101
+ {
102
+ "is-online": value === "online"
103
+ }
104
+ )
105
+ }
106
+ ), getText(`pisell2.saas.device-planning.status.${value}`) || value)
107
+ }
108
+ ],
109
+ [getText]
110
+ );
111
+ const pagedData = (0, import_react.useMemo)(() => {
112
+ const start = (page - 1) * pageSize;
113
+ return data.slice(start, start + pageSize);
114
+ }, [data, page, pageSize]);
115
+ const handleSortChange = (detail) => {
116
+ const sortedPageData = (detail == null ? void 0 : detail.dataSource) || [];
117
+ const start = (page - 1) * pageSize;
118
+ const nextData = [...data];
119
+ nextData.splice(start, sortedPageData.length, ...sortedPageData);
120
+ onSortChange(nextData);
121
+ return false;
122
+ };
123
+ const emptyContent = /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-device-planning-device-table__empty" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Icon, { type: "SettingOutlined" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-device-planning-device-table__empty-title" }, getText(`pisell2.saas.device-planning.empty.${activeKind}.title`)), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-device-planning-device-table__empty-desc" }, getText(`pisell2.saas.device-planning.empty.${activeKind}.desc`)), /* @__PURE__ */ import_react.default.createElement(
124
+ import_materials.Button,
125
+ {
126
+ type: "primary",
127
+ icon: /* @__PURE__ */ import_react.default.createElement(import_icons.PlusOutlined, null),
128
+ className: "saas-device-planning-device-table__empty-button",
129
+ onClick: onAdd
130
+ },
131
+ getText(import_constants.ADD_BUTTON_KEY[activeKind])
132
+ ));
133
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-device-planning-device-table" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-device-planning-device-table__toolbar" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-device-planning-device-table__filters" }, /* @__PURE__ */ import_react.default.createElement(
134
+ import_materials.Input,
135
+ {
136
+ allowClear: true,
137
+ prefix: /* @__PURE__ */ import_react.default.createElement(import_icons.SearchOutlined, null),
138
+ value: search,
139
+ placeholder: getText(import_constants.SEARCH_PLACEHOLDER_KEY[activeKind]),
140
+ onChange: (event) => onSearchChange(event.target.value),
141
+ style: { width: 260 }
142
+ }
143
+ ), /* @__PURE__ */ import_react.default.createElement(
144
+ import_materials.Select,
145
+ {
146
+ allowClear: true,
147
+ value: typeFilter,
148
+ placeholder: getText("pisell2.saas.device-planning.all-types"),
149
+ options: typeOptions,
150
+ onChange: (value) => onTypeFilterChange(value),
151
+ style: { width: 200 }
152
+ }
153
+ )), /* @__PURE__ */ import_react.default.createElement(
154
+ import_materials.Button,
155
+ {
156
+ type: "primary",
157
+ icon: /* @__PURE__ */ import_react.default.createElement(import_icons.PlusOutlined, null),
158
+ className: "saas-device-planning-device-table__add-button",
159
+ onClick: onAdd
160
+ },
161
+ getText(import_constants.ADD_BUTTON_KEY[activeKind])
162
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-device-planning-device-table__table" }, /* @__PURE__ */ import_react.default.createElement(
163
+ import_materials.Table,
164
+ {
165
+ rowKey: "id",
166
+ dataSource: pagedData,
167
+ columns,
168
+ rowClassName: "saas-device-planning-device-table__row",
169
+ loading,
170
+ dragSort: data.length > 1,
171
+ virtual: false,
172
+ onSortChange: handleSortChange,
173
+ onRow: (record) => ({
174
+ onClick: () => onRowClick(record)
175
+ }),
176
+ pagination: {
177
+ localPagination: false,
178
+ current: page,
179
+ pageSize,
180
+ total: data.length,
181
+ showSizeChanger: true,
182
+ onChange: (value) => {
183
+ onPageChange(value.page || 1, value.size || pageSize);
184
+ }
185
+ },
186
+ showTitle: false,
187
+ showSubTitle: false,
188
+ locale: { emptyText: emptyContent },
189
+ bordered: false
190
+ }
191
+ )));
192
+ };
193
+ var DeviceTable_default = DeviceTable;
@@ -0,0 +1,98 @@
1
+ .saas-device-planning-device-table {
2
+ display: flex;
3
+ flex: 1;
4
+ flex-direction: column;
5
+ min-height: 0;
6
+
7
+ &__toolbar {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: space-between;
11
+ margin: 12px 0 16px;
12
+ }
13
+
14
+ &__filters {
15
+ display: flex;
16
+ align-items: center;
17
+ gap: 12px;
18
+ }
19
+
20
+ &__add-button,
21
+ &__empty-button {
22
+ position: relative;
23
+ z-index: 1;
24
+ }
25
+
26
+ &__table {
27
+ flex: 1;
28
+ min-height: 0;
29
+ overflow: auto;
30
+ background: #fff;
31
+ }
32
+
33
+ &__device-name {
34
+ display: inline-flex;
35
+ align-items: center;
36
+ gap: 8px;
37
+
38
+ .anticon {
39
+ color: #1677ff;
40
+ }
41
+ }
42
+
43
+ &__online-status {
44
+ display: inline-flex;
45
+ align-items: center;
46
+ gap: 6px;
47
+ }
48
+
49
+ &__status-dot {
50
+ width: 6px;
51
+ height: 6px;
52
+ border-radius: 50%;
53
+ background: rgba(0, 0, 0, 0.25);
54
+
55
+ &.is-online {
56
+ background: #16a34a;
57
+ }
58
+ }
59
+
60
+ &__empty {
61
+ display: flex;
62
+ align-items: center;
63
+ justify-content: center;
64
+ flex-direction: column;
65
+ min-height: 220px;
66
+ padding: 32px 16px;
67
+ text-align: center;
68
+ color: rgba(0, 0, 0, 0.45);
69
+
70
+ > .anticon {
71
+ margin-bottom: 12px;
72
+ font-size: 36px;
73
+ color: rgba(0, 0, 0, 0.2);
74
+ }
75
+ }
76
+
77
+ &__empty-title {
78
+ margin-bottom: 4px;
79
+ font-size: 14px;
80
+ font-weight: 600;
81
+ color: rgba(0, 0, 0, 0.72);
82
+ }
83
+
84
+ &__empty-desc {
85
+ margin-bottom: 12px;
86
+ font-size: 13px;
87
+ }
88
+
89
+ :global(.ant-table-wrapper),
90
+ :global(.ant-spin-nested-loading),
91
+ :global(.ant-spin-container) {
92
+ height: 100%;
93
+ }
94
+ }
95
+
96
+ .saas-device-planning-device-table__row {
97
+ cursor: pointer;
98
+ }
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { DeviceModelItem, DeviceRow, I18nText, UpdateDevicePayload, WorkAreaItem } from '../../types';
3
+ import './index.less';
4
+ interface EditDeviceModalProps {
5
+ open: boolean;
6
+ record?: DeviceRow;
7
+ workAreas: WorkAreaItem[];
8
+ models: DeviceModelItem[];
9
+ submitting: boolean;
10
+ getText: (key: string) => string;
11
+ translation: (val?: I18nText) => string;
12
+ onCancel: () => void;
13
+ onSubmit: (id: number, payload: UpdateDevicePayload) => void;
14
+ }
15
+ declare const EditDeviceModal: React.FC<EditDeviceModalProps>;
16
+ export default EditDeviceModal;