@pisell/private-materials 6.3.97 → 6.3.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -10
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Date/state.js +3 -1
- package/es/components/appointmentBooking/locales.d.ts +606 -0
- package/es/components/appointmentBooking/locales.js +276 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/es/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +27 -9
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/editBookingModal/locales.d.ts +33 -0
- package/es/components/booking/editBookingModal/locales.js +12 -0
- package/es/components/booking/editBookingModal/mock.d.ts +991 -0
- package/es/components/booking/editBookingModal/mock.js +22 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/es/components/booking/info2/service/addService/mock.js +4 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/locales.d.ts +628 -0
- package/es/components/booking/locales.js +722 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +7 -0
- package/es/components/ecocup/cupList/const.d.ts +133 -0
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/es/components/ecocup/cupProject/const.d.ts +7 -0
- package/es/components/ecocup/hooks.d.ts +49 -0
- package/es/components/ecocup/locales.d.ts +563 -0
- package/es/components/ecocup/locales.js +228 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/device.d.ts +9 -0
- package/es/components/eftpos/hooks.d.ts +33 -0
- package/es/components/eftpos/index.d.ts +47 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftpos/locales.js +80 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/linkly/const.d.ts +23 -0
- package/es/components/eftposPay/locales.d.ts +572 -0
- package/es/components/eftposPay/locales.js +326 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/const.d.ts +26 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/const.d.ts +17 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/const.d.ts +119 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
- package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/locales.d.ts +408 -0
- package/es/components/eventBooking/locales.js +186 -0
- package/es/components/kioskSkuDetail/index.js +39 -10
- package/es/components/kioskSkuDetail/locales.d.ts +21 -0
- package/es/components/kioskSkuDetail/locales.js +24 -3
- package/es/components/login/locales.d.ts +38 -0
- package/es/components/login/locales.js +14 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pay/toC/locales.js +244 -0
- package/es/components/pay/toC/model.d.ts +40 -0
- package/es/components/pay/toC/serve.d.ts +2 -0
- package/es/components/pinModal/locales.d.ts +43 -0
- package/es/components/pinModal/locales.js +16 -0
- package/es/components/pinVerifyModal/locales.d.ts +38 -0
- package/es/components/pinVerifyModal/locales.js +14 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/pisellSelectCustomerModal/locales.js +52 -0
- package/es/components/productExtension/locales.d.ts +78 -0
- package/es/components/productExtension/locales.js +30 -0
- package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/components/productSelect/locales.d.ts +38 -0
- package/es/components/productSelect/locales.js +23 -3
- package/es/components/ruleSetting/locales.d.ts +30 -0
- package/es/components/ruleSetting/locales.js +30 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/locales.js +56 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/shoppingCart/locales.d.ts +53 -0
- package/es/components/shoppingCart/locales.js +24 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/stepController/locales.d.ts +43 -0
- package/es/components/stepController/locales.js +20 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/subTotal/locales.js +26 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +169 -35
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/es/components/systemSettings/registry/index.js +20 -16
- package/es/components/systemSettings/registry/index.less +6 -7
- package/es/components/systemSettings/registry/locales.d.ts +525 -0
- package/es/components/systemSettings/registry/locales.js +262 -3
- package/es/components/systemSettings/registry/services.d.ts +97 -0
- package/es/components/systemSettings/registry/types.d.ts +139 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/taxSelect/locales.js +14 -0
- package/es/components/ticketBooking/locales.d.ts +304 -0
- package/es/components/ticketBooking/locales.js +156 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/es/components/ticketBooking/utils/formatTime.js +8 -2
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.js +10 -0
- package/es/components/walletList/locales.d.ts +43 -0
- package/es/components/walletList/locales.js +16 -0
- package/es/components/walletList/types/index.d.ts +196 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/hooks/useEngineContext.d.ts +11 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clientCard/locales.d.ts +28 -0
- package/es/plus/clientCard/locales.js +10 -0
- package/es/plus/clinetSearch/locales.d.ts +178 -0
- package/es/plus/clinetSearch/locales.js +70 -0
- package/es/plus/contactInfo/locales.d.ts +23 -0
- package/es/plus/contactInfo/locales.js +8 -0
- package/es/plus/contactInfoModal/locales.d.ts +108 -0
- package/es/plus/contactInfoModal/locales.js +42 -0
- package/es/plus/orderList/locales.d.ts +246 -0
- package/es/plus/orderList/locales.js +274 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/plus/productSelect/locales.d.ts +38 -0
- package/es/plus/productSelect/locales.js +23 -3
- package/es/plus/saasAttendance/locales.d.ts +591 -0
- package/es/plus/saasAttendance/locales.js +234 -0
- package/es/plus/saasAttendance/settings/components/MapField.js +4 -2
- package/es/plus/saasAttendance/settings/types.d.ts +136 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/es/plus/saasCreateOrganization/locales.js +8 -0
- package/es/plus/saasLogin/locales.d.ts +83 -0
- package/es/plus/saasLogin/locales.js +32 -0
- package/es/plus/saasRegister/locales.d.ts +193 -0
- package/es/plus/saasRegister/locales.js +76 -0
- package/es/plus/saasRole/locales.d.ts +319 -0
- package/es/plus/saasRole/locales.js +126 -0
- package/es/plus/saasRole/types.d.ts +177 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/saasTeamMembers/locales.js +216 -0
- package/es/plus/saasTeamMembers/type.d.ts +158 -0
- package/es/plus/selectHolder/locales.d.ts +35 -0
- package/es/plus/selectHolder/locales.js +17 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/es/plus/skuOptionsSelection/locales.js +20 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/es/plus/walletEditor/locales.d.ts +223 -0
- package/es/plus/walletEditor/locales.js +100 -0
- package/es/plus/walletEditor/types.d.ts +54 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passDetail/index.js +2 -26
- package/es/plus/walletPassGallery/components/passList/index.js +8 -1
- package/es/plus/walletPassGallery/index.js +0 -31
- package/es/plus/walletPassGallery/locales.d.ts +473 -0
- package/es/plus/walletPassGallery/locales.js +192 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/locales.js +360 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/es/pro/Selector/locales.d.ts +22 -0
- package/es/pro/Selector/locales.js +58 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/locales.js +8 -0
- package/es/pro/keyboards/locales.d.ts +14 -0
- package/es/pro/keyboards/locales.js +22 -0
- package/es/pro/numberKeyboard/locales.d.ts +18 -0
- package/es/pro/numberKeyboard/locales.js +6 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/es/pro/pisellPhoneKeyboard/locales.js +6 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Date/state.js +3 -1
- package/lib/components/appointmentBooking/locales.d.ts +606 -0
- package/lib/components/appointmentBooking/locales.js +240 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
- package/lib/components/booking/editBookingModal/locales.js +12 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
- package/lib/components/booking/editBookingModal/mock.js +22 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/lib/components/booking/info2/service/addService/mock.js +4 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/locales.d.ts +628 -0
- package/lib/components/booking/locales.js +680 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +7 -0
- package/lib/components/ecocup/cupList/const.d.ts +133 -0
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/lib/components/ecocup/cupProject/const.d.ts +7 -0
- package/lib/components/ecocup/hooks.d.ts +49 -0
- package/lib/components/ecocup/locales.d.ts +563 -0
- package/lib/components/ecocup/locales.js +224 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/device.d.ts +9 -0
- package/lib/components/eftpos/hooks.d.ts +33 -0
- package/lib/components/eftpos/index.d.ts +47 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftpos/locales.js +76 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/linkly/const.d.ts +23 -0
- package/lib/components/eftposPay/locales.d.ts +572 -0
- package/lib/components/eftposPay/locales.js +250 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/const.d.ts +26 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/const.d.ts +17 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/const.d.ts +119 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/locales.d.ts +408 -0
- package/lib/components/eventBooking/locales.js +162 -0
- package/lib/components/kioskSkuDetail/index.js +27 -3
- package/lib/components/kioskSkuDetail/locales.d.ts +21 -0
- package/lib/components/kioskSkuDetail/locales.js +24 -3
- package/lib/components/login/locales.d.ts +38 -0
- package/lib/components/login/locales.js +14 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pay/toC/locales.js +204 -0
- package/lib/components/pay/toC/model.d.ts +40 -0
- package/lib/components/pay/toC/serve.d.ts +2 -0
- package/lib/components/pinModal/locales.d.ts +43 -0
- package/lib/components/pinModal/locales.js +16 -0
- package/lib/components/pinVerifyModal/locales.d.ts +38 -0
- package/lib/components/pinVerifyModal/locales.js +14 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
- package/lib/components/productExtension/locales.d.ts +78 -0
- package/lib/components/productExtension/locales.js +30 -0
- package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/components/productSelect/locales.d.ts +38 -0
- package/lib/components/productSelect/locales.js +23 -3
- package/lib/components/ruleSetting/locales.d.ts +30 -0
- package/lib/components/ruleSetting/locales.js +30 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/locales.js +56 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/shoppingCart/locales.d.ts +53 -0
- package/lib/components/shoppingCart/locales.js +20 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/stepController/locales.d.ts +43 -0
- package/lib/components/stepController/locales.js +16 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/subTotal/locales.js +26 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +294 -225
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/lib/components/systemSettings/registry/index.js +20 -16
- package/lib/components/systemSettings/registry/index.less +6 -7
- package/lib/components/systemSettings/registry/locales.d.ts +525 -0
- package/lib/components/systemSettings/registry/locales.js +262 -3
- package/lib/components/systemSettings/registry/services.d.ts +97 -0
- package/lib/components/systemSettings/registry/types.d.ts +139 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/taxSelect/locales.js +14 -0
- package/lib/components/ticketBooking/locales.d.ts +304 -0
- package/lib/components/ticketBooking/locales.js +136 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/lib/components/ticketBooking/utils/formatTime.js +8 -2
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.js +10 -0
- package/lib/components/walletList/locales.d.ts +43 -0
- package/lib/components/walletList/locales.js +16 -0
- package/lib/components/walletList/types/index.d.ts +196 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/hooks/useEngineContext.d.ts +11 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clientCard/locales.d.ts +28 -0
- package/lib/plus/clientCard/locales.js +10 -0
- package/lib/plus/clinetSearch/locales.d.ts +178 -0
- package/lib/plus/clinetSearch/locales.js +70 -0
- package/lib/plus/contactInfo/locales.d.ts +23 -0
- package/lib/plus/contactInfo/locales.js +8 -0
- package/lib/plus/contactInfoModal/locales.d.ts +108 -0
- package/lib/plus/contactInfoModal/locales.js +42 -0
- package/lib/plus/orderList/locales.d.ts +246 -0
- package/lib/plus/orderList/locales.js +266 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/plus/productSelect/locales.d.ts +38 -0
- package/lib/plus/productSelect/locales.js +23 -3
- package/lib/plus/saasAttendance/locales.d.ts +591 -0
- package/lib/plus/saasAttendance/locales.js +210 -0
- package/lib/plus/saasAttendance/settings/components/MapField.js +2 -2
- package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/lib/plus/saasCreateOrganization/locales.js +8 -0
- package/lib/plus/saasLogin/locales.d.ts +83 -0
- package/lib/plus/saasLogin/locales.js +32 -0
- package/lib/plus/saasRegister/locales.d.ts +193 -0
- package/lib/plus/saasRegister/locales.js +76 -0
- package/lib/plus/saasRole/locales.d.ts +319 -0
- package/lib/plus/saasRole/locales.js +126 -0
- package/lib/plus/saasRole/types.d.ts +177 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/saasTeamMembers/locales.js +216 -0
- package/lib/plus/saasTeamMembers/type.d.ts +158 -0
- package/lib/plus/selectHolder/locales.d.ts +35 -0
- package/lib/plus/selectHolder/locales.js +13 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/lib/plus/skuOptionsSelection/locales.js +20 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/lib/plus/walletEditor/locales.d.ts +223 -0
- package/lib/plus/walletEditor/locales.js +100 -0
- package/lib/plus/walletEditor/types.d.ts +54 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.js +1 -16
- package/lib/plus/walletPassGallery/components/passList/index.js +9 -3
- package/lib/plus/walletPassGallery/index.js +0 -29
- package/lib/plus/walletPassGallery/locales.d.ts +473 -0
- package/lib/plus/walletPassGallery/locales.js +192 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/locales.js +360 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/lib/pro/Selector/locales.d.ts +22 -0
- package/lib/pro/Selector/locales.js +50 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/locales.js +8 -0
- package/lib/pro/keyboards/locales.d.ts +14 -0
- package/lib/pro/keyboards/locales.js +14 -0
- package/lib/pro/numberKeyboard/locales.d.ts +18 -0
- package/lib/pro/numberKeyboard/locales.js +6 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/lib/pro/pisellPhoneKeyboard/locales.js +6 -0
- package/lib/test/setup.d.ts +1 -0
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/systemSettings/registry/components/DataSourceTreeSelect/serve.ts
|
|
20
|
+
var serve_exports = {};
|
|
21
|
+
__export(serve_exports, {
|
|
22
|
+
getAllDataSources: () => getAllDataSources,
|
|
23
|
+
getNocobaseDataSource: () => getNocobaseDataSource,
|
|
24
|
+
getNocobaseDataSourceOptions: () => getNocobaseDataSourceOptions,
|
|
25
|
+
getNocobaseMainDataSource: () => getNocobaseMainDataSource,
|
|
26
|
+
getNocobaseMenuDataSource: () => getNocobaseMenuDataSource,
|
|
27
|
+
mergeDataSources: () => mergeDataSources
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(serve_exports);
|
|
30
|
+
var import_utils = require("../../../../../utils");
|
|
31
|
+
var get = async (url, params = {}, config = {}) => {
|
|
32
|
+
try {
|
|
33
|
+
const req = import_utils.request.getRequest();
|
|
34
|
+
const response = await req.get(url, params, config);
|
|
35
|
+
return response;
|
|
36
|
+
} catch (error) {
|
|
37
|
+
console.error("GET request failed:", error);
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var post = async (url, data = {}, config = {}) => {
|
|
42
|
+
try {
|
|
43
|
+
const req = import_utils.request.getRequest();
|
|
44
|
+
const response = await req.post(url, data, config);
|
|
45
|
+
return response;
|
|
46
|
+
} catch (error) {
|
|
47
|
+
console.error("POST request failed:", error);
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
var getNocobaseDataSource = async () => {
|
|
52
|
+
try {
|
|
53
|
+
const res = await post(
|
|
54
|
+
"/dataSources:listEnabled?paginate=false&appends%5B%5D=collections",
|
|
55
|
+
{},
|
|
56
|
+
{
|
|
57
|
+
isNocobase: true
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
const data = Array.isArray(res) ? res : (res == null ? void 0 : res.data) || [];
|
|
61
|
+
return data;
|
|
62
|
+
} catch (error) {
|
|
63
|
+
console.error("Failed to fetch nocobase data sources:", error);
|
|
64
|
+
return [];
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
var getNocobaseMainDataSource = async () => {
|
|
68
|
+
try {
|
|
69
|
+
const res = await post(
|
|
70
|
+
"/collections:list?paginate=false&appends%5B%5D=fields&sort%5B%5D=sort&filter=%7B%7D",
|
|
71
|
+
{},
|
|
72
|
+
{
|
|
73
|
+
isNocobase: true
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
const data = Array.isArray(res) ? res : (res == null ? void 0 : res.data) || [];
|
|
77
|
+
return data;
|
|
78
|
+
} catch (error) {
|
|
79
|
+
console.error("Failed to fetch nocobase main data source:", error);
|
|
80
|
+
return [];
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
var getNocobaseDataSourceOptions = async () => {
|
|
84
|
+
try {
|
|
85
|
+
const res = await post(
|
|
86
|
+
"/dataSources:list?appends=collections",
|
|
87
|
+
{},
|
|
88
|
+
{
|
|
89
|
+
isNocobase: true
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
const data = Array.isArray(res) ? res : (res == null ? void 0 : res.data) || [];
|
|
93
|
+
return data;
|
|
94
|
+
} catch (error) {
|
|
95
|
+
console.error("Failed to fetch nocobase data source options:", error);
|
|
96
|
+
return [];
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
var mergeDataSources = (main, other, options) => {
|
|
100
|
+
const safeMain = Array.isArray(main) ? main : [];
|
|
101
|
+
const safeOther = Array.isArray(other) ? other : [];
|
|
102
|
+
const safeOptions = Array.isArray(options) ? options : [];
|
|
103
|
+
const optionsMap = safeOptions.reduce((acc, item) => {
|
|
104
|
+
if (item && item.key) {
|
|
105
|
+
acc[item.key] = item;
|
|
106
|
+
}
|
|
107
|
+
return acc;
|
|
108
|
+
}, {});
|
|
109
|
+
const otherDataSource = safeOther.map((item) => ({
|
|
110
|
+
...item,
|
|
111
|
+
options: optionsMap[item.key]
|
|
112
|
+
}));
|
|
113
|
+
return [
|
|
114
|
+
{
|
|
115
|
+
displayName: "主数据源",
|
|
116
|
+
key: "main",
|
|
117
|
+
type: "main",
|
|
118
|
+
collections: safeMain
|
|
119
|
+
},
|
|
120
|
+
...otherDataSource
|
|
121
|
+
];
|
|
122
|
+
};
|
|
123
|
+
var getAllDataSources = async () => {
|
|
124
|
+
try {
|
|
125
|
+
const [other, main, options] = await Promise.all([
|
|
126
|
+
getNocobaseDataSource(),
|
|
127
|
+
getNocobaseMainDataSource(),
|
|
128
|
+
getNocobaseDataSourceOptions()
|
|
129
|
+
]);
|
|
130
|
+
console.log("Data sources fetched:", {
|
|
131
|
+
other: Array.isArray(other) ? `${other.length} items` : typeof other,
|
|
132
|
+
main: Array.isArray(main) ? `${main.length} items` : typeof main,
|
|
133
|
+
options: Array.isArray(options) ? `${options.length} items` : typeof options
|
|
134
|
+
});
|
|
135
|
+
const merged = mergeDataSources(main, other, options);
|
|
136
|
+
console.log("Merged data sources:", merged.length, "items");
|
|
137
|
+
return merged;
|
|
138
|
+
} catch (error) {
|
|
139
|
+
console.error("Failed to fetch all data sources:", error);
|
|
140
|
+
return [];
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
var getNocobaseMenuDataSource = async () => {
|
|
144
|
+
try {
|
|
145
|
+
const res = await get(
|
|
146
|
+
"/navigation_menu:list",
|
|
147
|
+
{
|
|
148
|
+
page: 1,
|
|
149
|
+
pageSize: 100,
|
|
150
|
+
filter: {}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
isNocobase: true,
|
|
154
|
+
headers: {
|
|
155
|
+
"x-data-source": "pisell2"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
);
|
|
159
|
+
const data = Array.isArray(res) ? res : (res == null ? void 0 : res.data) || [];
|
|
160
|
+
console.log("Menu data source fetched:", {
|
|
161
|
+
type: typeof res,
|
|
162
|
+
isArray: Array.isArray(res),
|
|
163
|
+
dataLength: data.length
|
|
164
|
+
});
|
|
165
|
+
return {
|
|
166
|
+
title: "菜单",
|
|
167
|
+
value: "menu",
|
|
168
|
+
selectable: false,
|
|
169
|
+
children: data.map((item) => {
|
|
170
|
+
var _a;
|
|
171
|
+
return {
|
|
172
|
+
title: ((_a = item.name) == null ? void 0 : _a["original"]) || item.name || "Untitled",
|
|
173
|
+
value: `{{global.value.menu.${item.code}}}`
|
|
174
|
+
};
|
|
175
|
+
})
|
|
176
|
+
};
|
|
177
|
+
} catch (error) {
|
|
178
|
+
console.error("Failed to fetch menu data source:", error);
|
|
179
|
+
return {
|
|
180
|
+
title: "菜单",
|
|
181
|
+
value: "menu",
|
|
182
|
+
selectable: false,
|
|
183
|
+
children: []
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
188
|
+
0 && (module.exports = {
|
|
189
|
+
getAllDataSources,
|
|
190
|
+
getNocobaseDataSource,
|
|
191
|
+
getNocobaseDataSourceOptions,
|
|
192
|
+
getNocobaseMainDataSource,
|
|
193
|
+
getNocobaseMenuDataSource,
|
|
194
|
+
mergeDataSources
|
|
195
|
+
});
|