@pisell/private-materials 6.3.95 → 6.3.96

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 (315) 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 +1 -1
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +2 -2
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +2 -2
  11. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  12. package/es/plus/orderList/config.d.ts +2 -2
  13. package/es/plus/saasAttendance/locales.d.ts +63 -0
  14. package/es/plus/saasAttendance/locales.js +71 -2
  15. package/es/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  16. package/es/plus/saasAttendance/settings/PermissonTab.js +79 -0
  17. package/es/plus/saasAttendance/settings/ShiftScheduleTab.js +9 -3
  18. package/es/plus/saasAttendance/settings/components/MapField.js +69 -33
  19. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  20. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +149 -0
  21. package/es/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  22. package/es/plus/saasAttendance/settings/index.js +7 -0
  23. package/es/plus/saasAttendance/settings/index.less +15 -0
  24. package/es/plus/saasAttendance/settings/types.d.ts +6 -0
  25. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  26. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  27. package/lib/plus/orderList/config.d.ts +2 -2
  28. package/lib/plus/saasAttendance/locales.d.ts +63 -0
  29. package/lib/plus/saasAttendance/locales.js +65 -2
  30. package/lib/plus/saasAttendance/settings/PermissonTab.d.ts +5 -0
  31. package/lib/plus/saasAttendance/settings/PermissonTab.js +128 -0
  32. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.js +2 -1
  33. package/lib/plus/saasAttendance/settings/components/MapField.js +50 -11
  34. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.d.ts +7 -0
  35. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.js +150 -0
  36. package/lib/plus/saasAttendance/settings/components/shiftModal/ShiftPreview.less +119 -0
  37. package/lib/plus/saasAttendance/settings/index.js +12 -0
  38. package/lib/plus/saasAttendance/settings/index.less +15 -0
  39. package/lib/plus/saasAttendance/settings/types.d.ts +6 -0
  40. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  41. package/package.json +2 -2
  42. package/es/components/Sales/Cart/index.d.ts +0 -53
  43. package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
  44. package/es/components/appointmentBooking/locales.d.ts +0 -366
  45. package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  46. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
  47. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  48. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  49. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  50. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  51. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  52. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  53. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  54. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  55. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  56. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
  57. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  58. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  59. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  60. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  61. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  62. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  63. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  64. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  65. package/es/components/booking/addons/index.d.ts +0 -17
  66. package/es/components/booking/components/footer/amount.d.ts +0 -25
  67. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  68. package/es/components/booking/dashboard/serve.d.ts +0 -1
  69. package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
  70. package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
  71. package/es/components/booking/deposit/index.d.ts +0 -3
  72. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  73. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  74. package/es/components/booking/forms/forms.d.ts +0 -30
  75. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  76. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
  77. package/es/components/booking/info/client/index.d.ts +0 -4
  78. package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
  79. package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  80. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  81. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  82. package/es/components/booking/info/index.d.ts +0 -4
  83. package/es/components/booking/info/main.d.ts +0 -12
  84. package/es/components/booking/info/model.d.ts +0 -14
  85. package/es/components/booking/info/service/Lists.d.ts +0 -3
  86. package/es/components/booking/info/service/addService/index.d.ts +0 -12
  87. package/es/components/booking/info/service/serve.d.ts +0 -20
  88. package/es/components/booking/info/service/serviceList/index.d.ts +0 -6
  89. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  90. package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
  91. package/es/components/booking/info/service2/Lists.d.ts +0 -3
  92. package/es/components/booking/info/service2/utils.d.ts +0 -248
  93. package/es/components/booking/info/utils.d.ts +0 -50
  94. package/es/components/booking/info2/index.d.ts +0 -12
  95. package/es/components/booking/info2/service/addService/index.d.ts +0 -12
  96. package/es/components/booking/info2/service/addService/mock.d.ts +0 -214
  97. package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
  98. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
  99. package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
  100. package/es/components/booking/info2/service/index.d.ts +0 -4
  101. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -6
  102. package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
  103. package/es/components/booking/locales.d.ts +0 -846
  104. package/es/components/booking/notes/addNote/index.d.ts +0 -4
  105. package/es/components/booking/utils.d.ts +0 -175
  106. package/es/components/eftpos/locales.d.ts +0 -99
  107. package/es/components/eftposPay/app.d.ts +0 -11
  108. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -4
  109. package/es/components/eftposPay/component/fail/index.d.ts +0 -4
  110. package/es/components/eftposPay/const.d.ts +0 -184
  111. package/es/components/eftposPay/device.d.ts +0 -24
  112. package/es/components/eftposPay/hooks.d.ts +0 -35
  113. package/es/components/eftposPay/index.d.ts +0 -5
  114. package/es/components/eftposPay/locales.d.ts +0 -330
  115. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  116. package/es/components/eftposPay/pay.d.ts +0 -21
  117. package/es/components/eftposPay/store/index.d.ts +0 -355
  118. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  119. package/es/components/eventBooking/locales.d.ts +0 -246
  120. package/es/components/login/locales.d.ts +0 -24
  121. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  122. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  123. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  124. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  125. package/es/components/pay/toC/locales.d.ts +0 -307
  126. package/es/components/pay/toC/serve.d.ts +0 -62
  127. package/es/components/pinModal/locales.d.ts +0 -27
  128. package/es/components/pinVerifyModal/locales.d.ts +0 -24
  129. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  130. package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  131. package/es/components/productExtension/locales.d.ts +0 -48
  132. package/es/components/productSelect/locales.d.ts +0 -18
  133. package/es/components/ruleSetting/locales.d.ts +0 -48
  134. package/es/components/schedules/locales.d.ts +0 -87
  135. package/es/components/shoppingCart/locales.d.ts +0 -33
  136. package/es/components/shoppingCart/type.d.ts +0 -48
  137. package/es/components/stepController/locales.d.ts +0 -27
  138. package/es/components/subTotal/locales.d.ts +0 -42
  139. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  140. package/es/components/systemSettings/registry/types.d.ts +0 -126
  141. package/es/components/taxSelect/locales.d.ts +0 -24
  142. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
  143. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
  144. package/es/components/ticketBooking/index.d.ts +0 -8
  145. package/es/components/ticketBooking/locales.d.ts +0 -174
  146. package/es/components/ticketBooking/serve.d.ts +0 -287
  147. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  148. package/es/components/ticketBooking/utils/index.d.ts +0 -25
  149. package/es/components/wallet/utils.d.ts +0 -48
  150. package/es/components/walletList/locales.d.ts +0 -27
  151. package/es/components/walletList/types/index.d.ts +0 -194
  152. package/es/hooks/useEngineContext.d.ts +0 -11
  153. package/es/hooks/useWindowSize.d.ts +0 -5
  154. package/es/plus/clientCard/locales.d.ts +0 -18
  155. package/es/plus/clientCard/types.d.ts +0 -135
  156. package/es/plus/clinetSearch/locales.d.ts +0 -108
  157. package/es/plus/contactInfo/locales.d.ts +0 -15
  158. package/es/plus/contactInfoModal/locales.d.ts +0 -66
  159. package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
  160. package/es/plus/productSelect/locales.d.ts +0 -18
  161. package/es/plus/saasCreateOrganization/locales.d.ts +0 -15
  162. package/es/plus/saasLogin/locales.d.ts +0 -51
  163. package/es/plus/saasRegister/locales.d.ts +0 -117
  164. package/es/plus/saasRole/locales.d.ts +0 -193
  165. package/es/plus/saasRole/types.d.ts +0 -175
  166. package/es/plus/saasTeamMembers/locales.d.ts +0 -330
  167. package/es/plus/saasTeamMembers/type.d.ts +0 -156
  168. package/es/plus/selectHolder/locales.d.ts +0 -27
  169. package/es/plus/walletEditor/locales.d.ts +0 -135
  170. package/es/plus/walletEditor/types.d.ts +0 -52
  171. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  172. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  173. package/es/pro/Login2.0/locales.d.ts +0 -543
  174. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  175. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
  176. package/es/pro/comprehensiveSearch/locales.d.ts +0 -15
  177. package/es/pro/numberKeyboard/locales.d.ts +0 -12
  178. package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  179. package/lib/components/Sales/Cart/index.d.ts +0 -53
  180. package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
  181. package/lib/components/appointmentBooking/locales.d.ts +0 -366
  182. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  183. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
  184. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  185. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  186. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
  187. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  188. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  189. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  190. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  191. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  192. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  193. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
  194. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  195. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  196. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  197. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  198. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  199. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  200. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  201. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  202. package/lib/components/booking/addons/index.d.ts +0 -17
  203. package/lib/components/booking/components/footer/amount.d.ts +0 -25
  204. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  205. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  206. package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
  207. package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
  208. package/lib/components/booking/deposit/index.d.ts +0 -3
  209. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  210. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  211. package/lib/components/booking/forms/forms.d.ts +0 -30
  212. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  213. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
  214. package/lib/components/booking/info/client/index.d.ts +0 -4
  215. package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
  216. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  217. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  218. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  219. package/lib/components/booking/info/index.d.ts +0 -4
  220. package/lib/components/booking/info/main.d.ts +0 -12
  221. package/lib/components/booking/info/model.d.ts +0 -14
  222. package/lib/components/booking/info/service/Lists.d.ts +0 -3
  223. package/lib/components/booking/info/service/addService/index.d.ts +0 -12
  224. package/lib/components/booking/info/service/serve.d.ts +0 -20
  225. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -6
  226. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  227. package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
  228. package/lib/components/booking/info/service2/Lists.d.ts +0 -3
  229. package/lib/components/booking/info/service2/utils.d.ts +0 -248
  230. package/lib/components/booking/info/utils.d.ts +0 -50
  231. package/lib/components/booking/info2/index.d.ts +0 -12
  232. package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
  233. package/lib/components/booking/info2/service/addService/mock.d.ts +0 -214
  234. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
  235. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
  236. package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
  237. package/lib/components/booking/info2/service/index.d.ts +0 -4
  238. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -6
  239. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
  240. package/lib/components/booking/locales.d.ts +0 -846
  241. package/lib/components/booking/notes/addNote/index.d.ts +0 -4
  242. package/lib/components/booking/utils.d.ts +0 -175
  243. package/lib/components/eftpos/locales.d.ts +0 -99
  244. package/lib/components/eftposPay/app.d.ts +0 -11
  245. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -4
  246. package/lib/components/eftposPay/component/fail/index.d.ts +0 -4
  247. package/lib/components/eftposPay/const.d.ts +0 -184
  248. package/lib/components/eftposPay/device.d.ts +0 -24
  249. package/lib/components/eftposPay/hooks.d.ts +0 -35
  250. package/lib/components/eftposPay/index.d.ts +0 -5
  251. package/lib/components/eftposPay/locales.d.ts +0 -330
  252. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  253. package/lib/components/eftposPay/pay.d.ts +0 -21
  254. package/lib/components/eftposPay/store/index.d.ts +0 -355
  255. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  256. package/lib/components/eventBooking/locales.d.ts +0 -246
  257. package/lib/components/login/locales.d.ts +0 -24
  258. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  259. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  260. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  261. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  262. package/lib/components/pay/toC/locales.d.ts +0 -307
  263. package/lib/components/pay/toC/serve.d.ts +0 -62
  264. package/lib/components/pinModal/locales.d.ts +0 -27
  265. package/lib/components/pinVerifyModal/locales.d.ts +0 -24
  266. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
  267. package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  268. package/lib/components/productExtension/locales.d.ts +0 -48
  269. package/lib/components/productSelect/locales.d.ts +0 -18
  270. package/lib/components/ruleSetting/locales.d.ts +0 -48
  271. package/lib/components/schedules/locales.d.ts +0 -87
  272. package/lib/components/shoppingCart/locales.d.ts +0 -33
  273. package/lib/components/shoppingCart/type.d.ts +0 -48
  274. package/lib/components/stepController/locales.d.ts +0 -27
  275. package/lib/components/subTotal/locales.d.ts +0 -42
  276. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  277. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  278. package/lib/components/taxSelect/locales.d.ts +0 -24
  279. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
  280. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
  281. package/lib/components/ticketBooking/index.d.ts +0 -8
  282. package/lib/components/ticketBooking/locales.d.ts +0 -174
  283. package/lib/components/ticketBooking/serve.d.ts +0 -287
  284. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  285. package/lib/components/ticketBooking/utils/index.d.ts +0 -25
  286. package/lib/components/wallet/utils.d.ts +0 -48
  287. package/lib/components/walletList/locales.d.ts +0 -27
  288. package/lib/components/walletList/types/index.d.ts +0 -194
  289. package/lib/hooks/useEngineContext.d.ts +0 -11
  290. package/lib/hooks/useWindowSize.d.ts +0 -5
  291. package/lib/plus/clientCard/locales.d.ts +0 -18
  292. package/lib/plus/clientCard/types.d.ts +0 -135
  293. package/lib/plus/clinetSearch/locales.d.ts +0 -108
  294. package/lib/plus/contactInfo/locales.d.ts +0 -15
  295. package/lib/plus/contactInfoModal/locales.d.ts +0 -66
  296. package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
  297. package/lib/plus/productSelect/locales.d.ts +0 -18
  298. package/lib/plus/saasCreateOrganization/locales.d.ts +0 -15
  299. package/lib/plus/saasLogin/locales.d.ts +0 -51
  300. package/lib/plus/saasRegister/locales.d.ts +0 -117
  301. package/lib/plus/saasRole/locales.d.ts +0 -193
  302. package/lib/plus/saasRole/types.d.ts +0 -175
  303. package/lib/plus/saasTeamMembers/locales.d.ts +0 -330
  304. package/lib/plus/saasTeamMembers/type.d.ts +0 -156
  305. package/lib/plus/selectHolder/locales.d.ts +0 -27
  306. package/lib/plus/walletEditor/locales.d.ts +0 -135
  307. package/lib/plus/walletEditor/types.d.ts +0 -52
  308. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  309. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  310. package/lib/pro/Login2.0/locales.d.ts +0 -543
  311. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  312. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
  313. package/lib/pro/comprehensiveSearch/locales.d.ts +0 -15
  314. package/lib/pro/numberKeyboard/locales.d.ts +0 -12
  315. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ShiftScheduleItem } from './index';
3
+ import './ShiftPreview.less';
4
+ declare const ShiftPreview: React.FC<{
5
+ value?: ShiftScheduleItem[];
6
+ }>;
7
+ export default ShiftPreview;
@@ -0,0 +1,150 @@
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/saasAttendance/settings/components/shiftModal/ShiftPreview.tsx
30
+ var ShiftPreview_exports = {};
31
+ __export(ShiftPreview_exports, {
32
+ default: () => ShiftPreview_default
33
+ });
34
+ module.exports = __toCommonJS(ShiftPreview_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_utils = require("@pisell/utils");
37
+ var import_ShiftPreview = require("./ShiftPreview.less");
38
+ var WEEKDAYS = [1, 2, 3, 4, 5, 6, 7];
39
+ var getWeekdayText = (weekday) => {
40
+ return import_utils.locales.getText(
41
+ `pisell2.attendance.group-settings.shift-schedule.modal.weekday.${weekday}`
42
+ );
43
+ };
44
+ var parseMinutes = (hhmm) => {
45
+ const [h, m] = (hhmm || "").split(":").map((v) => Number(v));
46
+ if (!Number.isFinite(h) || !Number.isFinite(m)) {
47
+ return null;
48
+ }
49
+ return h * 60 + m;
50
+ };
51
+ var formatClock = (hhmm) => {
52
+ const totalMinutes = parseMinutes(hhmm);
53
+ if (totalMinutes === null) return "";
54
+ const hours24 = Math.floor(totalMinutes / 60) % 24;
55
+ const minutes = totalMinutes % 60;
56
+ const suffix = hours24 >= 12 ? import_utils.locales.getText(
57
+ "pisell2.attendance.group-settings.shift-schedule.preview.period.pm"
58
+ ) : import_utils.locales.getText(
59
+ "pisell2.attendance.group-settings.shift-schedule.preview.period.am"
60
+ );
61
+ const hours12 = hours24 % 12 === 0 ? 12 : hours24 % 12;
62
+ return `${hours12}:${String(minutes).padStart(2, "0")} ${suffix}`;
63
+ };
64
+ var formatWeeklyHours = (totalMinutes) => {
65
+ const hours = totalMinutes / 60;
66
+ if (Number.isInteger(hours)) return `${hours}`;
67
+ return `${hours.toFixed(2)}`.replace(/\.?0+$/, "");
68
+ };
69
+ var formatDuration = (totalMinutes) => {
70
+ const hours = Math.floor(totalMinutes / 60);
71
+ const minutes = totalMinutes % 60;
72
+ return import_utils.locales.getText(
73
+ "pisell2.attendance.group-settings.shift-schedule.preview.duration"
74
+ )(hours, minutes);
75
+ };
76
+ var ShiftPreview = (props) => {
77
+ const schedule = Array.isArray(props.value) ? props.value : [];
78
+ const previewDays = (0, import_react.useMemo)(() => {
79
+ const byWeekday = /* @__PURE__ */ new Map();
80
+ schedule.forEach((item) => {
81
+ if (item && typeof item.weekday === "number") {
82
+ byWeekday.set(item.weekday, item);
83
+ }
84
+ });
85
+ return WEEKDAYS.map((weekday) => {
86
+ const item = byWeekday.get(weekday);
87
+ const times = Array.isArray(item == null ? void 0 : item.times) ? item.times : [];
88
+ const timeRanges = times.map((time) => {
89
+ const startText = formatClock(time == null ? void 0 : time.start);
90
+ const endText = formatClock(time == null ? void 0 : time.end);
91
+ if (!startText || !endText) return null;
92
+ return { startText, endText };
93
+ }).filter(Boolean);
94
+ const totalMinutes = times.reduce((sum, time) => {
95
+ const start = parseMinutes(time == null ? void 0 : time.start);
96
+ const end = parseMinutes(time == null ? void 0 : time.end);
97
+ if (start === null || end === null || end <= start) {
98
+ return sum;
99
+ }
100
+ return sum + (end - start);
101
+ }, 0);
102
+ return {
103
+ weekday,
104
+ timeRanges,
105
+ totalMinutes
106
+ };
107
+ });
108
+ }, [schedule]);
109
+ const workingDays = previewDays.filter((day) => day.totalMinutes > 0).length;
110
+ const weeklyMinutes = previewDays.reduce(
111
+ (sum, day) => sum + day.totalMinutes,
112
+ 0
113
+ );
114
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-preview" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-card" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-label" }, import_utils.locales.getText(
115
+ "pisell2.attendance.group-settings.shift-schedule.preview.working-days"
116
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-value" }, workingDays), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-unit" }, import_utils.locales.getText(
117
+ "pisell2.attendance.group-settings.shift-schedule.preview.days-per-week"
118
+ ))), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-card" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-label" }, import_utils.locales.getText(
119
+ "pisell2.attendance.group-settings.shift-schedule.preview.weekly-hours"
120
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-value" }, formatWeeklyHours(weeklyMinutes)), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-summary-unit" }, import_utils.locales.getText(
121
+ "pisell2.attendance.group-settings.shift-schedule.preview.hours"
122
+ )))), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table-head" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table-cell" }, import_utils.locales.getText(
123
+ "pisell2.attendance.group-settings.shift-schedule.preview.table.day"
124
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table-cell" }, import_utils.locales.getText(
125
+ "pisell2.attendance.group-settings.shift-schedule.preview.table.shift-times"
126
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table-cell" }, import_utils.locales.getText(
127
+ "pisell2.attendance.group-settings.shift-schedule.preview.table.duration"
128
+ ))), previewDays.map((day) => /* @__PURE__ */ import_react.default.createElement(
129
+ "div",
130
+ {
131
+ key: day.weekday,
132
+ className: "saas-attendance-group-settings__shift-table-row"
133
+ },
134
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table-cell" }, getWeekdayText(day.weekday)),
135
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table-cell" }, day.timeRanges.length > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-times" }, day.timeRanges.map((range, index) => /* @__PURE__ */ import_react.default.createElement(
136
+ "div",
137
+ {
138
+ key: `${day.weekday}-${index}`,
139
+ className: "saas-attendance-group-settings__shift-time-tag"
140
+ },
141
+ /* @__PURE__ */ import_react.default.createElement("span", { className: "saas-attendance-group-settings__shift-time-text" }, range.startText),
142
+ /* @__PURE__ */ import_react.default.createElement("span", { className: "saas-attendance-group-settings__shift-time-arrow" }, "→"),
143
+ /* @__PURE__ */ import_react.default.createElement("span", { className: "saas-attendance-group-settings__shift-time-text" }, range.endText)
144
+ ))) : /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-empty" }, import_utils.locales.getText(
145
+ "pisell2.attendance.group-settings.shift-schedule.preview.no-shift"
146
+ ))),
147
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-table-cell" }, day.totalMinutes > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-duration" }, formatDuration(day.totalMinutes)) : /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-attendance-group-settings__shift-duration-empty" }, formatDuration(0)))
148
+ ))));
149
+ };
150
+ var ShiftPreview_default = ShiftPreview;
@@ -0,0 +1,119 @@
1
+ .saas-attendance-group-settings__shift-preview {
2
+ margin-top: 12px;
3
+ }
4
+
5
+ .saas-attendance-group-settings__shift-summary {
6
+ display: grid;
7
+ grid-template-columns: 1fr 1fr;
8
+ gap: 12px;
9
+ margin-top: 12px;
10
+ }
11
+
12
+ .saas-attendance-group-settings__shift-summary-card {
13
+ border: 1px solid #e5e7eb;
14
+ border-radius: 10px;
15
+ background: #ffffff;
16
+ padding: 14px 16px;
17
+ }
18
+
19
+ .saas-attendance-group-settings__shift-summary-label {
20
+ font-size: 12px;
21
+ line-height: 18px;
22
+ color: #6b7280;
23
+ }
24
+
25
+ .saas-attendance-group-settings__shift-summary-value {
26
+ margin-top: 8px;
27
+ font-size: 28px;
28
+ line-height: 32px;
29
+ font-weight: 600;
30
+ color: #111827;
31
+ }
32
+
33
+ .saas-attendance-group-settings__shift-summary-unit {
34
+ margin-top: 4px;
35
+ font-size: 12px;
36
+ line-height: 18px;
37
+ color: #6b7280;
38
+ }
39
+
40
+ .saas-attendance-group-settings__shift-table {
41
+ margin-top: 12px;
42
+ border: 1px solid #e5e7eb;
43
+ border-radius: 10px;
44
+ overflow: hidden;
45
+ background: #ffffff;
46
+ }
47
+
48
+ .saas-attendance-group-settings__shift-table-head {
49
+ display: grid;
50
+ grid-template-columns: 1fr 3fr 1fr;
51
+ gap: 0;
52
+ padding: 12px 16px;
53
+ background: #f9fafb;
54
+ border-bottom: 1px solid #e5e7eb;
55
+ font-size: 12px;
56
+ color: #6b7280;
57
+ }
58
+
59
+ .saas-attendance-group-settings__shift-table-row {
60
+ display: grid;
61
+ grid-template-columns: 1fr 3fr 1fr;
62
+ gap: 0;
63
+ padding: 12px 16px;
64
+ border-bottom: 1px solid #f3f4f6;
65
+ }
66
+
67
+ .saas-attendance-group-settings__shift-table-row:last-child {
68
+ border-bottom: none;
69
+ }
70
+
71
+ .saas-attendance-group-settings__shift-table-cell {
72
+ display: flex;
73
+ align-items: center;
74
+ }
75
+
76
+ .saas-attendance-group-settings__shift-times {
77
+ display: flex;
78
+ flex-direction: column;
79
+ gap: 8px;
80
+ }
81
+
82
+ .saas-attendance-group-settings__shift-time-tag {
83
+ padding: 2px 4px;
84
+ border-radius: 6px;
85
+ background: #f3f4f6;
86
+ color: #374151;
87
+ font-size: 12px;
88
+ font-weight: 500;
89
+ display: inline-flex;
90
+ align-items: center;
91
+ gap: 6px;
92
+ }
93
+
94
+ .saas-attendance-group-settings__shift-time-text {
95
+ color: inherit;
96
+ }
97
+
98
+ .saas-attendance-group-settings__shift-time-arrow {
99
+ color: #6b7280;
100
+ }
101
+
102
+ .saas-attendance-group-settings__shift-empty {
103
+ color: #9ca3af;
104
+ font-size: 12px;
105
+ }
106
+
107
+ .saas-attendance-group-settings__shift-duration {
108
+ padding: 2px 4px;
109
+ border-radius: 2px;
110
+ background: #ecfdf5;
111
+ color: #14532d;
112
+ font-size: 10px;
113
+ font-weight: 600;
114
+ }
115
+
116
+ .saas-attendance-group-settings__shift-duration-empty {
117
+ color: #9ca3af;
118
+ font-size: 12px;
119
+ }
@@ -43,6 +43,7 @@ var import_useEngineContext = __toESM(require("../../../hooks/useEngineContext")
43
43
  var import_utils2 = require("../../../utils");
44
44
  var import_locales = __toESM(require("../locales"));
45
45
  var import_BasicInfoTab = __toESM(require("./BasicInfoTab"));
46
+ var import_PermissonTab = __toESM(require("./PermissonTab"));
46
47
  var import_ShiftScheduleTab = __toESM(require("./ShiftScheduleTab"));
47
48
  var import_ClockInMethodTab = __toESM(require("./ClockInMethodTab"));
48
49
  var import_CorrectionPolicyTab = __toESM(require("./CorrectionPolicyTab"));
@@ -68,6 +69,11 @@ var TAB_CONFIGS = [
68
69
  key: "correction",
69
70
  icon: "pisell2-clock",
70
71
  labelKey: "pisell2.attendance.group-settings.correction-policy"
72
+ },
73
+ {
74
+ key: "permission",
75
+ icon: "pisell2-user-01",
76
+ labelKey: "pisell2.attendance.group-settings.data-permission"
71
77
  }
72
78
  ];
73
79
  var generateSimpleUUID = () => {
@@ -272,6 +278,12 @@ var Settings = (0, import_react.forwardRef)((props, ref) => {
272
278
  form,
273
279
  id: `saas-attendance-settings-section-${_uniqueId}-correction`
274
280
  }
281
+ ),
282
+ /* @__PURE__ */ import_react.default.createElement(
283
+ import_PermissonTab.default,
284
+ {
285
+ id: `saas-attendance-settings-section-${_uniqueId}-permission`
286
+ }
275
287
  )
276
288
  )
277
289
  ));
@@ -485,6 +485,21 @@
485
485
  gap: 8px;
486
486
  }
487
487
 
488
+ .saas-attendance-map-field__location-actions {
489
+ display: flex;
490
+ align-items: center;
491
+ gap: 4px;
492
+ }
493
+
494
+ .saas-attendance-map-field__edit-btn {
495
+ color: #9ca3af;
496
+ transition: color 0.2s ease;
497
+
498
+ &:hover {
499
+ color: #7f56d9;
500
+ }
501
+ }
502
+
488
503
  .saas-attendance-map-field__delete-btn {
489
504
  color: #9ca3af;
490
505
  transition: color 0.2s ease;
@@ -65,6 +65,10 @@ export interface AttendanceCorrection {
65
65
  period_type: FrequencyType;
66
66
  period_custom: number | null;
67
67
  }
68
+ export declare type MemberDataViewRange = 'this_week' | 'last_week' | 'this_month';
69
+ export interface AttendancePermission {
70
+ member_data_view_range?: MemberDataViewRange[];
71
+ }
68
72
  /**
69
73
  * 考勤组设置值 - 完整的API数据结构
70
74
  */
@@ -76,6 +80,7 @@ export interface AttendanceGroupSettingsValue {
76
80
  place: AttendancePlace;
77
81
  member_ids: number[];
78
82
  correction: AttendanceCorrection;
83
+ permission?: AttendancePermission;
79
84
  creator_type?: string;
80
85
  creator_id?: number;
81
86
  editor_type?: string;
@@ -90,6 +95,7 @@ export interface BasicInfoTabValue {
90
95
  name: MultiLangName;
91
96
  timezone: string;
92
97
  member_ids: number[];
98
+ permission?: AttendancePermission;
93
99
  }
94
100
  /**
95
101
  * 排班规则Tab的值
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
3
3
  value?: string;
4
4
  onChange?: (val: string) => void;
5
5
  }
6
- export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
6
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
7
7
  declare const ImageUpload: React.FC<ImageUploadProps>;
8
8
  export default ImageUpload;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.95",
3
+ "version": "6.3.96",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -77,8 +77,8 @@
77
77
  "react-resizable": "^3.0.5",
78
78
  "styled-components": "^6.0.0-rc.3",
79
79
  "@pisell/utils": "3.0.5",
80
- "@pisell/icon": "0.0.11",
81
80
  "@pisell/materials": "6.3.26",
81
+ "@pisell/icon": "0.0.11",
82
82
  "@pisell/date-picker": "3.0.8"
83
83
  },
84
84
  "peerDependencies": {
@@ -1,53 +0,0 @@
1
- import React from 'react';
2
- import { TUpdateDisabledCartItem } from './types';
3
- interface CartItem {
4
- _id: string;
5
- [key: string]: any;
6
- }
7
- interface CartData {
8
- cartItems: CartItem[];
9
- currentCartItem: CartItem | null;
10
- }
11
- interface CartContextType {
12
- createCartItem: () => CartItem;
13
- createCartItemFromEvent: (eventItem: any) => CartItem;
14
- createCartItemFromHolder: (holderItem: any) => CartItem;
15
- addToCart: () => void;
16
- updateCartItem: (cartItem: CartItem, updateType?: 'deposit') => CartItem;
17
- deleteCartItem: (cartItem: CartItem) => void;
18
- clickCartItem: (cartItem: CartItem) => void;
19
- updateCurrentCartItem: (cartItem: Partial<CartItem>) => void;
20
- clearCurrentCartItem: () => void;
21
- currentCartItem: CartItem | null;
22
- checkHolder: () => boolean;
23
- cartData: CartData;
24
- openCart: boolean;
25
- onOpenCart: any;
26
- onCloseCart: any;
27
- deleteCartItemByHolder: (holder_id: number) => void;
28
- addHolderToCartItem: (holderItem: any) => void;
29
- cartDataHolderList: any;
30
- addNoteToCartItem: (cartItem: CartItem) => void;
31
- updateDisabledCartItem: TUpdateDisabledCartItem;
32
- getWithoutCartItemsHolderNames: () => Array<string>;
33
- checkBeforeAddToCartResquest: any;
34
- checkBeforeAddToCart: () => Promise<{
35
- result: boolean;
36
- num: number;
37
- }>;
38
- }
39
- interface CartProviderProps {
40
- children: React.ReactNode;
41
- }
42
- export declare const CartContext: React.Context<CartContextType | undefined>;
43
- export declare const CartProvider: React.FC<CartProviderProps>;
44
- /**
45
- * 使用步骤管理的Hook
46
- * @throws {Error} 如果在StepProvider外部使用会抛出错误
47
- * @returns {StepContextType} 步骤管理上下文
48
- */
49
- export declare const useCart: () => CartContextType;
50
- declare const _default: {
51
- defaultState: CartData;
52
- };
53
- export default _default;
@@ -1,63 +0,0 @@
1
- /**
2
- * @title: 获取包括今天的后七天日期
3
- * @description:
4
- * @param {*}
5
- * @return {*}
6
- * @Author: 严文强
7
- * @Date: 2024-02-01 11:00
8
- */
9
- export declare const getNextSevenDaysList: (defaultDay: string) => string[];
10
- /**
11
- * @title: 将年月日信息只展示为天
12
- * @description: 如果为今天 则返回ToDay
13
- * @param {*}
14
- * @return {*}
15
- * @Author: 严文强
16
- * @Date: 2024-02-01 11:00
17
- */
18
- export declare const ShowDayOnly: (date: string) => string;
19
- /**
20
- * @title: 日历星期多语言
21
- * @description:
22
- * @param {*}
23
- * @return {*}
24
- * @Author: 严文强
25
- * @Date: 2024-02-01 18:42
26
- */
27
- export declare const weekListText: string[];
28
- /**
29
- * @title: 不同状态颜色值
30
- * @description:
31
- * @param {*}
32
- * @return {*}
33
- * @Author: xiangxiang.shao
34
- * @Date: 2024-02-19 11:35
35
- */
36
- export declare const statusColor: {
37
- call_to_book: string;
38
- lots_of_space: string;
39
- filling_up_fast: string;
40
- sold_out: string;
41
- };
42
- /**
43
- * @title: 根据预约量数据判断当前状态
44
- * @description:
45
- * @param {*}
46
- * @return {*}
47
- * @Author: xiangxiang.shao
48
- * @Date: 2024-02-19 11:35
49
- */
50
- export declare const getStatus: (dateLimit: any, currentDate: string, cutTime: any) => {
51
- status: string;
52
- disabled: boolean;
53
- };
54
- /**
55
- * @title: 根据当前日期以设定判断当前是否是call_to_book状态
56
- * @description:
57
- * @param {*}
58
- * @return {*}
59
- * @Author: xiangxiang.shao
60
- * @Date: 2024-02-21 10:10
61
- */
62
- export declare const getCallToBookStatus: (currentDate: string, dateLimitData: any, cutTime: any) => boolean;
63
- export declare const localeTypes: any;