@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.
- 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 +2 -2
- package/build/lowcode/preview.js +153 -145
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +12 -12
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +12 -12
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.js +6 -3
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -0
- package/es/components/eftposPay/app.d.ts +2 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/device.d.ts +1 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +17 -2
- package/es/components/systemSettings/registry/components/SettingsTable.js +3 -1
- package/es/components/systemSettings/registry/index.js +35 -30
- package/es/components/systemSettings/registry/locales.d.ts +10 -0
- package/es/components/systemSettings/registry/locales.js +12 -2
- package/es/components/systemSettings/registry/services.d.ts +11 -11
- package/es/components/systemSettings/registry/services.js +75 -33
- package/es/components/systemSettings/registry/types.d.ts +2 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/index.d.ts +4 -0
- package/es/index.js +2 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/orderList/components/HandleActions.d.ts +0 -1
- package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/es/plus/orderList/components/Reset.d.ts +0 -1
- package/es/plus/orderList/components/Toolbar.d.ts +0 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.d.ts +16 -0
- package/es/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.js +267 -0
- package/es/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.less +85 -0
- package/es/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.d.ts +12 -0
- package/es/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.js +48 -0
- package/es/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.d.ts +16 -0
- package/es/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.js +72 -0
- package/es/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.less +30 -0
- package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.d.ts +14 -0
- package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.js +101 -0
- package/es/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.less +151 -0
- package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.d.ts +25 -0
- package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +175 -0
- package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +98 -0
- package/es/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.d.ts +16 -0
- package/es/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.js +165 -0
- package/es/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.less +11 -0
- package/es/plus/saasDevice/devicePlanning/components/WorkAreaList/index.d.ts +18 -0
- package/es/plus/saasDevice/devicePlanning/components/WorkAreaList/index.js +137 -0
- package/es/plus/saasDevice/devicePlanning/components/WorkAreaList/index.less +85 -0
- package/es/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.d.ts +14 -0
- package/es/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.js +98 -0
- package/es/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
- package/es/plus/saasDevice/devicePlanning/constants.js +42 -0
- package/es/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
- package/es/plus/saasDevice/devicePlanning/hooks.js +9 -0
- package/es/plus/saasDevice/devicePlanning/index.d.ts +5 -0
- package/es/plus/saasDevice/devicePlanning/index.js +804 -0
- package/es/plus/saasDevice/devicePlanning/index.less +52 -0
- package/es/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
- package/es/plus/saasDevice/devicePlanning/locales.js +487 -0
- package/es/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
- package/es/plus/saasDevice/devicePlanning/serve.js +197 -0
- package/es/plus/saasDevice/devicePlanning/types.d.ts +138 -0
- package/es/plus/saasDevice/devicePlanning/types.js +50 -0
- package/es/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.d.ts +16 -0
- package/es/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.js +381 -0
- package/es/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.less +131 -0
- package/es/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.d.ts +16 -0
- package/es/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.js +96 -0
- package/es/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.less +109 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.d.ts +16 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.js +157 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/index.d.ts +12 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/index.js +290 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/index.less +94 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.js +25 -0
- package/es/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.d.ts +15 -0
- package/es/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.js +56 -0
- package/es/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.less +28 -0
- package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.d.ts +11 -0
- package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.js +33 -0
- package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +40 -0
- package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
- package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.js +18 -0
- package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.less +14 -0
- package/es/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
- package/es/plus/saasDevice/deviceProfile/hooks.js +8 -0
- package/es/plus/saasDevice/deviceProfile/index.d.ts +5 -0
- package/es/plus/saasDevice/deviceProfile/index.js +611 -0
- package/es/plus/saasDevice/deviceProfile/index.less +54 -0
- package/es/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
- package/es/plus/saasDevice/deviceProfile/locales.js +387 -0
- package/es/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
- package/es/plus/saasDevice/deviceProfile/serve.js +148 -0
- package/es/plus/saasDevice/deviceProfile/types.d.ts +190 -0
- package/es/plus/saasDevice/deviceProfile/types.js +46 -0
- package/es/plus/saasDevice/index.d.ts +0 -0
- package/es/plus/saasDevice/index.js +0 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/es/pro/Selector/demo.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.js +2 -1
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -0
- package/lib/components/eftposPay/app.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/device.d.ts +1 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +10 -2
- package/lib/components/systemSettings/registry/components/SettingsTable.js +3 -1
- package/lib/components/systemSettings/registry/index.js +19 -16
- package/lib/components/systemSettings/registry/locales.d.ts +10 -0
- package/lib/components/systemSettings/registry/locales.js +12 -2
- package/lib/components/systemSettings/registry/services.d.ts +11 -11
- package/lib/components/systemSettings/registry/services.js +49 -22
- package/lib/components/systemSettings/registry/types.d.ts +2 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +6 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
- package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/lib/plus/orderList/components/Reset.d.ts +0 -1
- package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.d.ts +16 -0
- package/lib/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.js +228 -0
- package/lib/plus/saasDevice/devicePlanning/components/AddDeviceModal/index.less +85 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.d.ts +12 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeleteDeviceModal/index.js +86 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.d.ts +16 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.js +108 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeleteWorkAreaModal/index.less +30 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.d.ts +14 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.js +91 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeviceDetailDrawer/index.less +151 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.d.ts +25 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +193 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +98 -0
- package/lib/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.d.ts +16 -0
- package/lib/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.js +186 -0
- package/lib/plus/saasDevice/devicePlanning/components/EditDeviceModal/index.less +11 -0
- package/lib/plus/saasDevice/devicePlanning/components/WorkAreaList/index.d.ts +18 -0
- package/lib/plus/saasDevice/devicePlanning/components/WorkAreaList/index.js +174 -0
- package/lib/plus/saasDevice/devicePlanning/components/WorkAreaList/index.less +85 -0
- package/lib/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.d.ts +14 -0
- package/lib/plus/saasDevice/devicePlanning/components/WorkAreaModal/index.js +105 -0
- package/lib/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
- package/lib/plus/saasDevice/devicePlanning/constants.js +62 -0
- package/lib/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
- package/lib/plus/saasDevice/devicePlanning/hooks.js +47 -0
- package/lib/plus/saasDevice/devicePlanning/index.d.ts +5 -0
- package/lib/plus/saasDevice/devicePlanning/index.js +562 -0
- package/lib/plus/saasDevice/devicePlanning/index.less +52 -0
- package/lib/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
- package/lib/plus/saasDevice/devicePlanning/locales.js +511 -0
- package/lib/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
- package/lib/plus/saasDevice/devicePlanning/serve.js +117 -0
- package/lib/plus/saasDevice/devicePlanning/types.d.ts +138 -0
- package/lib/plus/saasDevice/devicePlanning/types.js +61 -0
- package/lib/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.d.ts +16 -0
- package/lib/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.js +343 -0
- package/lib/plus/saasDevice/deviceProfile/components/CreateProfileModal/index.less +131 -0
- package/lib/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.d.ts +16 -0
- package/lib/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.js +96 -0
- package/lib/plus/saasDevice/deviceProfile/components/DeleteProfileModal/index.less +109 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.d.ts +16 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/BasicForm.js +216 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/index.d.ts +12 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/index.js +232 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/index.less +94 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.js +44 -0
- package/lib/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.d.ts +15 -0
- package/lib/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.js +85 -0
- package/lib/plus/saasDevice/deviceProfile/components/SiderMenuPanel/index.less +28 -0
- package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.d.ts +11 -0
- package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.js +73 -0
- package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +40 -0
- package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
- package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.js +46 -0
- package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.less +14 -0
- package/lib/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
- package/lib/plus/saasDevice/deviceProfile/hooks.js +44 -0
- package/lib/plus/saasDevice/deviceProfile/index.d.ts +5 -0
- package/lib/plus/saasDevice/deviceProfile/index.js +556 -0
- package/lib/plus/saasDevice/deviceProfile/index.less +54 -0
- package/lib/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
- package/lib/plus/saasDevice/deviceProfile/locales.js +411 -0
- package/lib/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
- package/lib/plus/saasDevice/deviceProfile/serve.js +81 -0
- package/lib/plus/saasDevice/deviceProfile/types.d.ts +190 -0
- package/lib/plus/saasDevice/deviceProfile/types.js +53 -0
- package/lib/plus/saasDevice/index.d.ts +0 -0
- package/lib/plus/saasDevice/index.js +0 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/lib/pro/Selector/demo.d.ts +1 -0
- package/lowcode/saas-device-planning/meta.ts +35 -0
- package/lowcode/saas-device-profile/meta.ts +67 -0
- package/lowcode/settings-registry/meta.ts +40 -0
- package/package.json +4 -4
|
@@ -50,7 +50,8 @@ var Registry = ({
|
|
|
50
50
|
sections = [],
|
|
51
51
|
selectedSectionId,
|
|
52
52
|
onSectionSelect,
|
|
53
|
-
onDataChange
|
|
53
|
+
onDataChange,
|
|
54
|
+
scene
|
|
54
55
|
}) => {
|
|
55
56
|
var _a, _b;
|
|
56
57
|
const context = (0, import_useEngineContext.default)();
|
|
@@ -78,7 +79,7 @@ var Registry = ({
|
|
|
78
79
|
const [targetGroupId, setTargetGroupId] = (0, import_react.useState)(0);
|
|
79
80
|
const handleCreateGroup = async (params) => {
|
|
80
81
|
try {
|
|
81
|
-
const response = await (0, import_services.createGroup)(request, params);
|
|
82
|
+
const response = await (0, import_services.createGroup)(request, params, scene);
|
|
82
83
|
if (currentSectionId) {
|
|
83
84
|
const currentSection2 = localSections.find((s) => s.id === currentSectionId);
|
|
84
85
|
if (currentSection2) {
|
|
@@ -94,7 +95,7 @@ var Registry = ({
|
|
|
94
95
|
};
|
|
95
96
|
const handleUpdateGroup = async (params) => {
|
|
96
97
|
try {
|
|
97
|
-
const response = await (0, import_services.updateGroup)(request, params);
|
|
98
|
+
const response = await (0, import_services.updateGroup)(request, params, scene);
|
|
98
99
|
if (currentSectionId) {
|
|
99
100
|
const currentSection2 = localSections.find((s) => s.id === currentSectionId);
|
|
100
101
|
if (currentSection2) {
|
|
@@ -109,7 +110,7 @@ var Registry = ({
|
|
|
109
110
|
};
|
|
110
111
|
const handleDeleteGroup = async (params) => {
|
|
111
112
|
try {
|
|
112
|
-
const response = await (0, import_services.deleteGroup)(request, params);
|
|
113
|
+
const response = await (0, import_services.deleteGroup)(request, params, scene);
|
|
113
114
|
if (currentSectionId) {
|
|
114
115
|
const currentSection2 = localSections.find((s) => s.id === currentSectionId);
|
|
115
116
|
if (currentSection2) {
|
|
@@ -124,7 +125,7 @@ var Registry = ({
|
|
|
124
125
|
};
|
|
125
126
|
const handleCreateItem = async (params) => {
|
|
126
127
|
try {
|
|
127
|
-
const response = await (0, import_services.createItem)(request, params);
|
|
128
|
+
const response = await (0, import_services.createItem)(request, params, scene);
|
|
128
129
|
if (currentSectionId) {
|
|
129
130
|
const currentSection2 = localSections.find((s) => s.id === currentSectionId);
|
|
130
131
|
if (currentSection2) {
|
|
@@ -139,7 +140,7 @@ var Registry = ({
|
|
|
139
140
|
};
|
|
140
141
|
const handleUpdateItem = async (params) => {
|
|
141
142
|
try {
|
|
142
|
-
const response = await (0, import_services.updateItem)(request, params);
|
|
143
|
+
const response = await (0, import_services.updateItem)(request, params, scene);
|
|
143
144
|
if (currentSectionId) {
|
|
144
145
|
const currentSection2 = localSections.find((s) => s.id === currentSectionId);
|
|
145
146
|
if (currentSection2) {
|
|
@@ -154,7 +155,7 @@ var Registry = ({
|
|
|
154
155
|
};
|
|
155
156
|
const handleDeleteItem = async (params) => {
|
|
156
157
|
try {
|
|
157
|
-
const response = await (0, import_services.deleteItem)(request, params);
|
|
158
|
+
const response = await (0, import_services.deleteItem)(request, params, scene);
|
|
158
159
|
if (currentSectionId) {
|
|
159
160
|
const currentSection2 = localSections.find((s) => s.id === currentSectionId);
|
|
160
161
|
if (currentSection2) {
|
|
@@ -177,7 +178,7 @@ var Registry = ({
|
|
|
177
178
|
await (0, import_services.sortGroups)(request, {
|
|
178
179
|
section_code: currentSection2.code,
|
|
179
180
|
group_ids: groupIds
|
|
180
|
-
});
|
|
181
|
+
}, scene);
|
|
181
182
|
const reorderedGroups = groupIds.map((id) => {
|
|
182
183
|
const group = groupList.find((g) => g.id === id);
|
|
183
184
|
return group ? { ...group } : null;
|
|
@@ -215,7 +216,7 @@ var Registry = ({
|
|
|
215
216
|
id: itemId,
|
|
216
217
|
group_id: targetGroupId2.toString(),
|
|
217
218
|
item_ids: sortedItemIds
|
|
218
|
-
});
|
|
219
|
+
}, scene);
|
|
219
220
|
const currentSection2 = localSections.find((s) => s.id === currentSectionId);
|
|
220
221
|
if (currentSection2) {
|
|
221
222
|
await loadGroupData(currentSection2.code, true);
|
|
@@ -230,10 +231,11 @@ var Registry = ({
|
|
|
230
231
|
}
|
|
231
232
|
};
|
|
232
233
|
const loadGroupData = (0, import_react.useCallback)(async (sectionCode, forceRefresh = false) => {
|
|
233
|
-
|
|
234
|
+
const dedupKey = `${scene ?? ""}::${sectionCode}`;
|
|
235
|
+
if (groupLoading || !forceRefresh && lastLoadedSectionCodeRef.current === dedupKey) {
|
|
234
236
|
return;
|
|
235
237
|
}
|
|
236
|
-
lastLoadedSectionCodeRef.current =
|
|
238
|
+
lastLoadedSectionCodeRef.current = dedupKey;
|
|
237
239
|
setGroupLoading(true);
|
|
238
240
|
try {
|
|
239
241
|
const response = await (0, import_services.getGroupList)(request, {
|
|
@@ -241,7 +243,7 @@ var Registry = ({
|
|
|
241
243
|
pageSize: 100,
|
|
242
244
|
// 获取所有组数据
|
|
243
245
|
filter: { section_code: sectionCode }
|
|
244
|
-
});
|
|
246
|
+
}, scene);
|
|
245
247
|
const newGroups = response.data || [];
|
|
246
248
|
setGroupList(newGroups);
|
|
247
249
|
} catch (error) {
|
|
@@ -250,7 +252,7 @@ var Registry = ({
|
|
|
250
252
|
} finally {
|
|
251
253
|
setGroupLoading(false);
|
|
252
254
|
}
|
|
253
|
-
}, []);
|
|
255
|
+
}, [scene]);
|
|
254
256
|
const loadSectionData = (0, import_react.useCallback)(async (page, isLoadMore = false) => {
|
|
255
257
|
var _a2;
|
|
256
258
|
if (loading) return;
|
|
@@ -260,7 +262,7 @@ var Registry = ({
|
|
|
260
262
|
page,
|
|
261
263
|
pageSize,
|
|
262
264
|
filter: {}
|
|
263
|
-
});
|
|
265
|
+
}, scene);
|
|
264
266
|
const newSections = response.data || [];
|
|
265
267
|
if (isLoadMore) {
|
|
266
268
|
setLocalSections((prev) => [...prev, ...newSections]);
|
|
@@ -287,7 +289,7 @@ var Registry = ({
|
|
|
287
289
|
} finally {
|
|
288
290
|
setLoading(false);
|
|
289
291
|
}
|
|
290
|
-
}, [loading, pageSize, currentSectionId]);
|
|
292
|
+
}, [loading, pageSize, currentSectionId, scene]);
|
|
291
293
|
const handleLoadMore = (0, import_react.useCallback)(() => {
|
|
292
294
|
if (!hasMore || loading) return;
|
|
293
295
|
const nextPage = currentPage + 1;
|
|
@@ -528,7 +530,8 @@ var Registry = ({
|
|
|
528
530
|
data: editingItem,
|
|
529
531
|
section: currentSection,
|
|
530
532
|
onOk: handleItemSubmit,
|
|
531
|
-
onCancel: () => setItemModalOpen(false)
|
|
533
|
+
onCancel: () => setItemModalOpen(false),
|
|
534
|
+
scene
|
|
532
535
|
}
|
|
533
536
|
));
|
|
534
537
|
};
|
|
@@ -90,6 +90,8 @@ declare const _default: {
|
|
|
90
90
|
'registry.scope.business': string;
|
|
91
91
|
'registry.scope.channel': string;
|
|
92
92
|
'registry.scope.board': string;
|
|
93
|
+
'registry.scope.profile': string;
|
|
94
|
+
'registry.scope.instance': string;
|
|
93
95
|
'registry.optionDataSource.type.title': string;
|
|
94
96
|
'registry.optionDataSource.type.desc': string;
|
|
95
97
|
'registry.optionDataSource.type.default-label': string;
|
|
@@ -208,6 +210,8 @@ declare const _default: {
|
|
|
208
210
|
'registry.scope.business': string;
|
|
209
211
|
'registry.scope.channel': string;
|
|
210
212
|
'registry.scope.board': string;
|
|
213
|
+
'registry.scope.profile': string;
|
|
214
|
+
'registry.scope.instance': string;
|
|
211
215
|
'registry.optionDataSource.type.title': string;
|
|
212
216
|
'registry.optionDataSource.type.desc': string;
|
|
213
217
|
'registry.optionDataSource.type.default-label': string;
|
|
@@ -319,6 +323,8 @@ declare const _default: {
|
|
|
319
323
|
'registry.scope.business': string;
|
|
320
324
|
'registry.scope.channel': string;
|
|
321
325
|
'registry.scope.board': string;
|
|
326
|
+
'registry.scope.profile': string;
|
|
327
|
+
'registry.scope.instance': string;
|
|
322
328
|
'registry.optionDataSource.type.title': string;
|
|
323
329
|
'registry.optionDataSource.type.desc': string;
|
|
324
330
|
'registry.optionDataSource.type.default-label': string;
|
|
@@ -437,6 +443,8 @@ declare const _default: {
|
|
|
437
443
|
'registry.scope.business': string;
|
|
438
444
|
'registry.scope.channel': string;
|
|
439
445
|
'registry.scope.board': string;
|
|
446
|
+
'registry.scope.profile': string;
|
|
447
|
+
'registry.scope.instance': string;
|
|
440
448
|
};
|
|
441
449
|
pt: {
|
|
442
450
|
'registry.title': string;
|
|
@@ -529,6 +537,8 @@ declare const _default: {
|
|
|
529
537
|
'registry.scope.business': string;
|
|
530
538
|
'registry.scope.channel': string;
|
|
531
539
|
'registry.scope.board': string;
|
|
540
|
+
'registry.scope.profile': string;
|
|
541
|
+
'registry.scope.instance': string;
|
|
532
542
|
};
|
|
533
543
|
};
|
|
534
544
|
export default _default;
|
|
@@ -124,6 +124,8 @@ var locales_default = {
|
|
|
124
124
|
"registry.scope.business": "Business",
|
|
125
125
|
"registry.scope.channel": "Channel",
|
|
126
126
|
"registry.scope.board": "Board",
|
|
127
|
+
"registry.scope.profile": "Profile",
|
|
128
|
+
"registry.scope.instance": "Instance",
|
|
127
129
|
// 选项数据源
|
|
128
130
|
"registry.optionDataSource.type.title": "Options Data Source Type",
|
|
129
131
|
"registry.optionDataSource.type.desc": "Configure where the options for this field come from.",
|
|
@@ -255,6 +257,8 @@ var locales_default = {
|
|
|
255
257
|
"registry.scope.business": "业务级",
|
|
256
258
|
"registry.scope.channel": "渠道级",
|
|
257
259
|
"registry.scope.board": "业务×渠道",
|
|
260
|
+
"registry.scope.profile": "配置方案",
|
|
261
|
+
"registry.scope.instance": "个体实例",
|
|
258
262
|
// 选项数据源
|
|
259
263
|
"registry.optionDataSource.type.title": "选项数据源类型",
|
|
260
264
|
"registry.optionDataSource.type.desc": "配置此字段的选项来源。",
|
|
@@ -378,6 +382,8 @@ var locales_default = {
|
|
|
378
382
|
"registry.scope.business": "業務級",
|
|
379
383
|
"registry.scope.channel": "渠道級",
|
|
380
384
|
"registry.scope.board": "業務×渠道",
|
|
385
|
+
"registry.scope.profile": "配置方案",
|
|
386
|
+
"registry.scope.instance": "個體實例",
|
|
381
387
|
// 选项数据源
|
|
382
388
|
"registry.optionDataSource.type.title": "選項數據源類型",
|
|
383
389
|
"registry.optionDataSource.type.desc": "配置此字段的選項來源。",
|
|
@@ -498,7 +504,9 @@ var locales_default = {
|
|
|
498
504
|
"registry.scope.organization": "組織",
|
|
499
505
|
"registry.scope.business": "ビジネス",
|
|
500
506
|
"registry.scope.channel": "チャネル",
|
|
501
|
-
"registry.scope.board": "ボード"
|
|
507
|
+
"registry.scope.board": "ボード",
|
|
508
|
+
"registry.scope.profile": "設定方案",
|
|
509
|
+
"registry.scope.instance": "個体実例"
|
|
502
510
|
},
|
|
503
511
|
pt: {
|
|
504
512
|
"registry.title": "Registro de Configurações",
|
|
@@ -590,6 +598,8 @@ var locales_default = {
|
|
|
590
598
|
"registry.scope.organization": "Organização",
|
|
591
599
|
"registry.scope.business": "Negócio",
|
|
592
600
|
"registry.scope.channel": "Canal",
|
|
593
|
-
"registry.scope.board": "Quadro"
|
|
601
|
+
"registry.scope.board": "Quadro",
|
|
602
|
+
"registry.scope.profile": "設定方案",
|
|
603
|
+
"registry.scope.instance": "個体実例"
|
|
594
604
|
}
|
|
595
605
|
};
|
|
@@ -19,20 +19,20 @@ export interface SortGroupParams {
|
|
|
19
19
|
section_code: string;
|
|
20
20
|
group_ids: number[];
|
|
21
21
|
}
|
|
22
|
-
export declare const createGroup: (request: any, params: CreateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
23
|
-
export declare const updateGroup: (request: any, params: UpdateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
24
|
-
export declare const deleteGroup: (request: any, params: DeleteGroupParams) => Promise<any>;
|
|
25
|
-
export declare const sortGroups: (request: any, params: SortGroupParams) => Promise<any>;
|
|
22
|
+
export declare const createGroup: (request: any, params: CreateGroupParams, scene?: string) => Promise<ApiResponse<SettingGroup>>;
|
|
23
|
+
export declare const updateGroup: (request: any, params: UpdateGroupParams, scene?: string) => Promise<ApiResponse<SettingGroup>>;
|
|
24
|
+
export declare const deleteGroup: (request: any, params: DeleteGroupParams, scene?: string) => Promise<any>;
|
|
25
|
+
export declare const sortGroups: (request: any, params: SortGroupParams, scene?: string) => Promise<any>;
|
|
26
26
|
export declare const getSectionList: (request: any, params: {
|
|
27
27
|
page?: number;
|
|
28
28
|
pageSize?: number;
|
|
29
29
|
filter?: Record<string, any>;
|
|
30
|
-
}) => Promise<ApiResponse<Section>>;
|
|
30
|
+
}, scene?: string) => Promise<ApiResponse<Section>>;
|
|
31
31
|
export declare const getGroupList: (request: any, params: {
|
|
32
32
|
page?: number;
|
|
33
33
|
pageSize?: number;
|
|
34
34
|
filter?: Record<string, any>;
|
|
35
|
-
}) => Promise<ApiResponse<SettingGroup>>;
|
|
35
|
+
}, scene?: string) => Promise<ApiResponse<SettingGroup>>;
|
|
36
36
|
export interface CreateItemParams {
|
|
37
37
|
section_code: string;
|
|
38
38
|
group_id: number;
|
|
@@ -88,12 +88,12 @@ export interface SortItemParams {
|
|
|
88
88
|
group_id: string;
|
|
89
89
|
item_ids: number[];
|
|
90
90
|
}
|
|
91
|
-
export declare const createItem: (request: any, params: CreateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
92
|
-
export declare const updateItem: (request: any, params: UpdateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
93
|
-
export declare const deleteItem: (request: any, params: DeleteItemParams) => Promise<any>;
|
|
94
|
-
export declare const sortItems: (request: any, params: SortItemParams) => Promise<any>;
|
|
91
|
+
export declare const createItem: (request: any, params: CreateItemParams, scene?: string) => Promise<ApiResponse<SettingItem>>;
|
|
92
|
+
export declare const updateItem: (request: any, params: UpdateItemParams, scene?: string) => Promise<ApiResponse<SettingItem>>;
|
|
93
|
+
export declare const deleteItem: (request: any, params: DeleteItemParams, scene?: string) => Promise<any>;
|
|
94
|
+
export declare const sortItems: (request: any, params: SortItemParams, scene?: string) => Promise<any>;
|
|
95
95
|
export declare const getItemList: (request: any, params: {
|
|
96
96
|
page?: number;
|
|
97
97
|
pageSize?: number;
|
|
98
98
|
filter?: Record<string, any>;
|
|
99
|
-
}) => Promise<ApiResponse<SettingItem>>;
|
|
99
|
+
}, scene?: string) => Promise<ApiResponse<SettingItem>>;
|
|
@@ -32,13 +32,40 @@ __export(services_exports, {
|
|
|
32
32
|
updateItem: () => updateItem
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(services_exports);
|
|
35
|
-
var
|
|
35
|
+
var URL_MAP = {
|
|
36
|
+
default: {
|
|
37
|
+
"group:create": "/api/setting_group:create",
|
|
38
|
+
"group:update": (id) => `/api/setting_group:update?filterByTk=${id}`,
|
|
39
|
+
"group:sort": "/admin/setting/group/sort",
|
|
40
|
+
"section:list": "/api/section:list",
|
|
41
|
+
"group:list": "/api/setting_group:list",
|
|
42
|
+
"item": (id) => `/admin/setting/item${id !== void 0 ? `/${id}` : ""}`,
|
|
43
|
+
"item:sort": (id) => `/admin/setting/item/${id}/sort`,
|
|
44
|
+
"item:list": "/api/setting_item:list"
|
|
45
|
+
},
|
|
46
|
+
device: {
|
|
47
|
+
"group:create": "/api/device_setting_group:create",
|
|
48
|
+
"group:update": (id) => `/api/device_setting_group:update?filterByTk=${id}`,
|
|
49
|
+
"group:sort": "/admin/device/setting/group/sort",
|
|
50
|
+
"section:list": "/api/device_section:list",
|
|
51
|
+
"group:list": "/api/device_setting_group:list",
|
|
52
|
+
"item": (id) => `/admin/device/setting/item${id !== void 0 ? `/${id}` : ""}`,
|
|
53
|
+
"item:sort": (id) => `/admin/device/setting/item/${id}/sort`,
|
|
54
|
+
"item:list": "/api/device_setting_item:list"
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var buildUrl = (scene, key, id) => {
|
|
58
|
+
const sceneMap = scene && URL_MAP[scene] || URL_MAP.default;
|
|
59
|
+
const value = sceneMap[key];
|
|
60
|
+
return typeof value === "function" ? value(id) : value;
|
|
61
|
+
};
|
|
62
|
+
var createGroup = async (request, params, scene) => {
|
|
36
63
|
try {
|
|
37
64
|
if (!params.title || !params.code || !params.section_code || params.sort === void 0) {
|
|
38
65
|
throw new Error("Missing required parameters for group creation");
|
|
39
66
|
}
|
|
40
67
|
const response = await request.post(
|
|
41
|
-
"
|
|
68
|
+
buildUrl(scene, "group:create"),
|
|
42
69
|
params,
|
|
43
70
|
{
|
|
44
71
|
isNocobase: true,
|
|
@@ -53,13 +80,13 @@ var createGroup = async (request, params) => {
|
|
|
53
80
|
throw error;
|
|
54
81
|
}
|
|
55
82
|
};
|
|
56
|
-
var updateGroup = async (request, params) => {
|
|
83
|
+
var updateGroup = async (request, params, scene) => {
|
|
57
84
|
try {
|
|
58
85
|
if (!params.id || !params.title || !params.code) {
|
|
59
86
|
throw new Error("Missing required parameters for group update");
|
|
60
87
|
}
|
|
61
88
|
const response = await request.post(
|
|
62
|
-
|
|
89
|
+
buildUrl(scene, "group:update", params.id),
|
|
63
90
|
params,
|
|
64
91
|
{
|
|
65
92
|
isNocobase: true,
|
|
@@ -74,13 +101,13 @@ var updateGroup = async (request, params) => {
|
|
|
74
101
|
throw error;
|
|
75
102
|
}
|
|
76
103
|
};
|
|
77
|
-
var deleteGroup = async (request, params) => {
|
|
104
|
+
var deleteGroup = async (request, params, scene) => {
|
|
78
105
|
try {
|
|
79
106
|
if (!params.id) {
|
|
80
107
|
throw new Error("Missing required parameters for group deletion");
|
|
81
108
|
}
|
|
82
109
|
const response = await request.post(
|
|
83
|
-
|
|
110
|
+
buildUrl(scene, "group:update", params.id),
|
|
84
111
|
{
|
|
85
112
|
deleted_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
86
113
|
},
|
|
@@ -97,13 +124,13 @@ var deleteGroup = async (request, params) => {
|
|
|
97
124
|
throw error;
|
|
98
125
|
}
|
|
99
126
|
};
|
|
100
|
-
var sortGroups = async (request, params) => {
|
|
127
|
+
var sortGroups = async (request, params, scene) => {
|
|
101
128
|
try {
|
|
102
129
|
if (!params.section_code || !params.group_ids || !Array.isArray(params.group_ids)) {
|
|
103
130
|
throw new Error("Missing required parameters for group sorting");
|
|
104
131
|
}
|
|
105
132
|
const response = await request.post(
|
|
106
|
-
"
|
|
133
|
+
buildUrl(scene, "group:sort"),
|
|
107
134
|
{
|
|
108
135
|
section_code: params.section_code,
|
|
109
136
|
group_ids: params.group_ids
|
|
@@ -120,7 +147,7 @@ var sortGroups = async (request, params) => {
|
|
|
120
147
|
throw error;
|
|
121
148
|
}
|
|
122
149
|
};
|
|
123
|
-
var getSectionList = async (request, params) => {
|
|
150
|
+
var getSectionList = async (request, params, scene) => {
|
|
124
151
|
try {
|
|
125
152
|
const { page = 1, pageSize = 20, filter = {} } = params;
|
|
126
153
|
const filterWithSoftDelete = {
|
|
@@ -133,7 +160,7 @@ var getSectionList = async (request, params) => {
|
|
|
133
160
|
filter: JSON.stringify(filterWithSoftDelete)
|
|
134
161
|
});
|
|
135
162
|
const response = await request.get(
|
|
136
|
-
|
|
163
|
+
`${buildUrl(scene, "section:list")}?${queryParams.toString()}`,
|
|
137
164
|
{},
|
|
138
165
|
{
|
|
139
166
|
isNocobase: true,
|
|
@@ -148,7 +175,7 @@ var getSectionList = async (request, params) => {
|
|
|
148
175
|
throw error;
|
|
149
176
|
}
|
|
150
177
|
};
|
|
151
|
-
var getGroupList = async (request, params) => {
|
|
178
|
+
var getGroupList = async (request, params, scene) => {
|
|
152
179
|
try {
|
|
153
180
|
const { filter = {} } = params;
|
|
154
181
|
const filterWithSoftDelete = {
|
|
@@ -163,7 +190,7 @@ var getGroupList = async (request, params) => {
|
|
|
163
190
|
sort: "sort,id"
|
|
164
191
|
});
|
|
165
192
|
const response = await request.get(
|
|
166
|
-
|
|
193
|
+
`${buildUrl(scene, "group:list")}?${queryParams.toString()}`,
|
|
167
194
|
{},
|
|
168
195
|
{
|
|
169
196
|
isNocobase: true,
|
|
@@ -183,13 +210,13 @@ var getGroupList = async (request, params) => {
|
|
|
183
210
|
throw error;
|
|
184
211
|
}
|
|
185
212
|
};
|
|
186
|
-
var createItem = async (request, params) => {
|
|
213
|
+
var createItem = async (request, params, scene) => {
|
|
187
214
|
try {
|
|
188
215
|
if (!params.section_code || !params.group_id || !params.title || !params.code || !params.type) {
|
|
189
216
|
throw new Error("Missing required parameters for item creation");
|
|
190
217
|
}
|
|
191
218
|
const response = await request.post(
|
|
192
|
-
"
|
|
219
|
+
buildUrl(scene, "item"),
|
|
193
220
|
params
|
|
194
221
|
);
|
|
195
222
|
return response;
|
|
@@ -198,13 +225,13 @@ var createItem = async (request, params) => {
|
|
|
198
225
|
throw error;
|
|
199
226
|
}
|
|
200
227
|
};
|
|
201
|
-
var updateItem = async (request, params) => {
|
|
228
|
+
var updateItem = async (request, params, scene) => {
|
|
202
229
|
try {
|
|
203
230
|
if (!params.id || !params.section_code || !params.group_id || !params.title || !params.code || !params.type) {
|
|
204
231
|
throw new Error("Missing required parameters for item update");
|
|
205
232
|
}
|
|
206
233
|
const response = await request.put(
|
|
207
|
-
|
|
234
|
+
buildUrl(scene, "item", params.id),
|
|
208
235
|
params
|
|
209
236
|
);
|
|
210
237
|
return response;
|
|
@@ -213,14 +240,14 @@ var updateItem = async (request, params) => {
|
|
|
213
240
|
throw error;
|
|
214
241
|
}
|
|
215
242
|
};
|
|
216
|
-
var deleteItem = async (request, params) => {
|
|
243
|
+
var deleteItem = async (request, params, scene) => {
|
|
217
244
|
try {
|
|
218
245
|
console.log(request);
|
|
219
246
|
if (!params.id) {
|
|
220
247
|
throw new Error("Missing required parameters for item deletion");
|
|
221
248
|
}
|
|
222
249
|
const response = await request.remove(
|
|
223
|
-
|
|
250
|
+
buildUrl(scene, "item", params.id),
|
|
224
251
|
{}
|
|
225
252
|
);
|
|
226
253
|
return response;
|
|
@@ -229,13 +256,13 @@ var deleteItem = async (request, params) => {
|
|
|
229
256
|
throw error;
|
|
230
257
|
}
|
|
231
258
|
};
|
|
232
|
-
var sortItems = async (request, params) => {
|
|
259
|
+
var sortItems = async (request, params, scene) => {
|
|
233
260
|
try {
|
|
234
261
|
if (!params.id || !params.group_id || !params.item_ids) {
|
|
235
262
|
throw new Error("Missing required parameters for item sorting");
|
|
236
263
|
}
|
|
237
264
|
const response = await request.post(
|
|
238
|
-
|
|
265
|
+
buildUrl(scene, "item:sort", params.id),
|
|
239
266
|
{
|
|
240
267
|
group_id: params.group_id,
|
|
241
268
|
item_ids: params.item_ids
|
|
@@ -252,7 +279,7 @@ var sortItems = async (request, params) => {
|
|
|
252
279
|
throw error;
|
|
253
280
|
}
|
|
254
281
|
};
|
|
255
|
-
var getItemList = async (request, params) => {
|
|
282
|
+
var getItemList = async (request, params, scene) => {
|
|
256
283
|
try {
|
|
257
284
|
const { page = 1, pageSize = 20, filter = {} } = params;
|
|
258
285
|
const filterWithSoftDelete = {
|
|
@@ -265,7 +292,7 @@ var getItemList = async (request, params) => {
|
|
|
265
292
|
filter: JSON.stringify(filterWithSoftDelete)
|
|
266
293
|
});
|
|
267
294
|
const response = await request.get(
|
|
268
|
-
|
|
295
|
+
`${buildUrl(scene, "item:list")}?${queryParams.toString()}`,
|
|
269
296
|
{}
|
|
270
297
|
);
|
|
271
298
|
return response;
|
|
@@ -67,6 +67,7 @@ export interface RegistryProps {
|
|
|
67
67
|
selectedSectionId?: number;
|
|
68
68
|
onSectionSelect?: (sectionId: number) => void;
|
|
69
69
|
onDataChange?: (sections: Section[]) => void;
|
|
70
|
+
scene?: string;
|
|
70
71
|
}
|
|
71
72
|
export interface SectionListProps {
|
|
72
73
|
sections: Section[];
|
|
@@ -131,6 +132,7 @@ export interface ItemModalProps {
|
|
|
131
132
|
section?: Section;
|
|
132
133
|
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
133
134
|
onCancel: () => void;
|
|
135
|
+
scene?: string;
|
|
134
136
|
}
|
|
135
137
|
export interface ApiResponse<T> {
|
|
136
138
|
data: T[];
|
package/lib/index.d.ts
CHANGED
|
@@ -66,6 +66,10 @@ export { default as SettingsRegistry } from './components/systemSettings/registr
|
|
|
66
66
|
export { default as SaasRole } from './plus/saasRole';
|
|
67
67
|
export { default as SaasTeamMembers } from './plus/saasTeamMembers';
|
|
68
68
|
export type { SaasTeamMembersProps } from './plus/saasTeamMembers/type';
|
|
69
|
+
export { default as SaasDeviceProfile } from './plus/saasDevice/deviceProfile';
|
|
70
|
+
export type { SaasDeviceProfileProps } from './plus/saasDevice/deviceProfile/types';
|
|
71
|
+
export { default as SaasDevicePlanning } from './plus/saasDevice/devicePlanning';
|
|
72
|
+
export type { SaasDevicePlanningProps } from './plus/saasDevice/devicePlanning/types';
|
|
69
73
|
export { default as KioskSkuDetail } from './components/kioskSkuDetail';
|
|
70
74
|
export { default as ProNumberSelector } from './pro/pisellNumberSelector';
|
|
71
75
|
export { default as SKUOptionsSelection } from './plus/skuOptionsSelection';
|
package/lib/index.js
CHANGED
|
@@ -93,6 +93,8 @@ __export(src_exports, {
|
|
|
93
93
|
SaaSManagermentAuth: () => import_admin.SaaSManagermentAuth,
|
|
94
94
|
SaasAttendance: () => import_saasAttendance.default,
|
|
95
95
|
SaasCreateOrganization: () => import_saasCreateOrganization.default,
|
|
96
|
+
SaasDevicePlanning: () => import_devicePlanning.default,
|
|
97
|
+
SaasDeviceProfile: () => import_deviceProfile.default,
|
|
96
98
|
SaasLogin: () => import_saasLogin.default,
|
|
97
99
|
SaasRegister: () => import_saasRegister.default,
|
|
98
100
|
SaasRole: () => import_saasRole.default,
|
|
@@ -186,6 +188,8 @@ var import_passDetail = __toESM(require("./plus/walletPassGallery/components/pas
|
|
|
186
188
|
var import_registry = __toESM(require("./components/systemSettings/registry"));
|
|
187
189
|
var import_saasRole = __toESM(require("./plus/saasRole"));
|
|
188
190
|
var import_saasTeamMembers = __toESM(require("./plus/saasTeamMembers"));
|
|
191
|
+
var import_deviceProfile = __toESM(require("./plus/saasDevice/deviceProfile"));
|
|
192
|
+
var import_devicePlanning = __toESM(require("./plus/saasDevice/devicePlanning"));
|
|
189
193
|
var import_kioskSkuDetail = __toESM(require("./components/kioskSkuDetail"));
|
|
190
194
|
var import_pisellNumberSelector = __toESM(require("./pro/pisellNumberSelector"));
|
|
191
195
|
var import_skuOptionsSelection = __toESM(require("./plus/skuOptionsSelection"));
|
|
@@ -265,6 +269,8 @@ import_dayjs.default.extend(import_localeData.default);
|
|
|
265
269
|
SaaSManagermentAuth,
|
|
266
270
|
SaasAttendance,
|
|
267
271
|
SaasCreateOrganization,
|
|
272
|
+
SaasDevicePlanning,
|
|
273
|
+
SaasDeviceProfile,
|
|
268
274
|
SaasLogin,
|
|
269
275
|
SaasRegister,
|
|
270
276
|
SaasRole,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CreateDevicePayload, DeviceKind, DeviceModelItem, I18nText } from '../../types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface AddDeviceModalProps {
|
|
5
|
+
open: boolean;
|
|
6
|
+
activeKind: DeviceKind;
|
|
7
|
+
models: DeviceModelItem[];
|
|
8
|
+
workAreaId?: number;
|
|
9
|
+
submitting: boolean;
|
|
10
|
+
getText: (key: string) => string;
|
|
11
|
+
translation: (val?: I18nText) => string;
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
onSubmit: (payload: CreateDevicePayload) => void;
|
|
14
|
+
}
|
|
15
|
+
declare const AddDeviceModal: React.FC<AddDeviceModalProps>;
|
|
16
|
+
export default AddDeviceModal;
|