@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
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
platform: 'pc' | 'h5' | '' | undefined;
|
|
4
3
|
order: any;
|
|
@@ -30,11 +29,4 @@ export interface PayGroup {
|
|
|
30
29
|
_order: any;
|
|
31
30
|
front_order_uuid?: string;
|
|
32
31
|
}
|
|
33
|
-
export declare const Provider:
|
|
34
|
-
state: FormState;
|
|
35
|
-
} & {
|
|
36
|
-
dispatch: (params: {
|
|
37
|
-
type: string;
|
|
38
|
-
payload: any;
|
|
39
|
-
}) => void;
|
|
40
|
-
}>;
|
|
32
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
3
2
|
import dayjs from "dayjs";
|
|
4
3
|
export interface FormState {
|
|
@@ -69,11 +68,4 @@ export interface FormState {
|
|
|
69
68
|
};
|
|
70
69
|
setGlobalState: Function | null;
|
|
71
70
|
}
|
|
72
|
-
export declare const Provider:
|
|
73
|
-
state: FormState;
|
|
74
|
-
} & {
|
|
75
|
-
dispatch: (params: {
|
|
76
|
-
type: string;
|
|
77
|
-
payload: any;
|
|
78
|
-
}) => void;
|
|
79
|
-
}>;
|
|
71
|
+
export declare const Provider: any, Context: any;
|
|
@@ -28,7 +28,7 @@ var Option = Select.Option;
|
|
|
28
28
|
var TextArea = Input.TextArea;
|
|
29
29
|
|
|
30
30
|
// 作用域选项
|
|
31
|
-
var
|
|
31
|
+
var DefaultScopeOptions = [{
|
|
32
32
|
value: 'system',
|
|
33
33
|
label: 'registry.scope.systemDefault'
|
|
34
34
|
}, {
|
|
@@ -48,6 +48,18 @@ var scopeOptions = [{
|
|
|
48
48
|
label: 'registry.scope.board'
|
|
49
49
|
}];
|
|
50
50
|
|
|
51
|
+
// device作用域选项
|
|
52
|
+
var DeviceScopeOptions = [{
|
|
53
|
+
value: 'system',
|
|
54
|
+
label: 'registry.scope.systemDefault'
|
|
55
|
+
}, {
|
|
56
|
+
value: 'profile',
|
|
57
|
+
label: 'registry.scope.profile'
|
|
58
|
+
}, {
|
|
59
|
+
value: 'instance',
|
|
60
|
+
label: 'registry.scope.instance'
|
|
61
|
+
}];
|
|
62
|
+
|
|
51
63
|
// 字段类型选项
|
|
52
64
|
var fieldTypeOptions = [{
|
|
53
65
|
value: 'string',
|
|
@@ -113,7 +125,10 @@ var ItemModal = function ItemModal(_ref) {
|
|
|
113
125
|
data = _ref.data,
|
|
114
126
|
section = _ref.section,
|
|
115
127
|
onOk = _ref.onOk,
|
|
116
|
-
onCancel = _ref.onCancel
|
|
128
|
+
onCancel = _ref.onCancel,
|
|
129
|
+
scene = _ref.scene;
|
|
130
|
+
var isDevice = scene === 'device';
|
|
131
|
+
var scopeOptions = isDevice ? DeviceScopeOptions : DefaultScopeOptions;
|
|
117
132
|
var _Form$useForm = Form.useForm(),
|
|
118
133
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
119
134
|
form = _Form$useForm2[0];
|
|
@@ -39,7 +39,9 @@ var scopeKeyMapping = {
|
|
|
39
39
|
'organization': 'registry.scope.organization',
|
|
40
40
|
'business': 'registry.scope.business',
|
|
41
41
|
'channel': 'registry.scope.channel',
|
|
42
|
-
'board': 'registry.scope.board'
|
|
42
|
+
'board': 'registry.scope.board',
|
|
43
|
+
'profile': 'registry.scope.profile',
|
|
44
|
+
'instance': 'registry.scope.instance'
|
|
43
45
|
};
|
|
44
46
|
|
|
45
47
|
// 工具函数:获取多语言文本的显示值
|
|
@@ -41,7 +41,8 @@ var Registry = function Registry(_ref) {
|
|
|
41
41
|
sections = _ref$sections === void 0 ? [] : _ref$sections,
|
|
42
42
|
selectedSectionId = _ref.selectedSectionId,
|
|
43
43
|
onSectionSelect = _ref.onSectionSelect,
|
|
44
|
-
onDataChange = _ref.onDataChange
|
|
44
|
+
onDataChange = _ref.onDataChange,
|
|
45
|
+
scene = _ref.scene;
|
|
45
46
|
var context = useEngineContext();
|
|
46
47
|
var request = context.appHelper.utils.request;
|
|
47
48
|
var _useState = useState(sections),
|
|
@@ -125,7 +126,7 @@ var Registry = function Registry(_ref) {
|
|
|
125
126
|
case 0:
|
|
126
127
|
_context.prev = 0;
|
|
127
128
|
_context.next = 3;
|
|
128
|
-
return createGroup(request, params);
|
|
129
|
+
return createGroup(request, params, scene);
|
|
129
130
|
case 3:
|
|
130
131
|
response = _context.sent;
|
|
131
132
|
if (!currentSectionId) {
|
|
@@ -169,7 +170,7 @@ var Registry = function Registry(_ref) {
|
|
|
169
170
|
case 0:
|
|
170
171
|
_context2.prev = 0;
|
|
171
172
|
_context2.next = 3;
|
|
172
|
-
return updateGroup(request, params);
|
|
173
|
+
return updateGroup(request, params, scene);
|
|
173
174
|
case 3:
|
|
174
175
|
response = _context2.sent;
|
|
175
176
|
if (!currentSectionId) {
|
|
@@ -212,7 +213,7 @@ var Registry = function Registry(_ref) {
|
|
|
212
213
|
case 0:
|
|
213
214
|
_context3.prev = 0;
|
|
214
215
|
_context3.next = 3;
|
|
215
|
-
return deleteGroup(request, params);
|
|
216
|
+
return deleteGroup(request, params, scene);
|
|
216
217
|
case 3:
|
|
217
218
|
response = _context3.sent;
|
|
218
219
|
if (!currentSectionId) {
|
|
@@ -255,7 +256,7 @@ var Registry = function Registry(_ref) {
|
|
|
255
256
|
case 0:
|
|
256
257
|
_context4.prev = 0;
|
|
257
258
|
_context4.next = 3;
|
|
258
|
-
return createItem(request, params);
|
|
259
|
+
return createItem(request, params, scene);
|
|
259
260
|
case 3:
|
|
260
261
|
response = _context4.sent;
|
|
261
262
|
if (!currentSectionId) {
|
|
@@ -298,7 +299,7 @@ var Registry = function Registry(_ref) {
|
|
|
298
299
|
case 0:
|
|
299
300
|
_context5.prev = 0;
|
|
300
301
|
_context5.next = 3;
|
|
301
|
-
return updateItem(request, params);
|
|
302
|
+
return updateItem(request, params, scene);
|
|
302
303
|
case 3:
|
|
303
304
|
response = _context5.sent;
|
|
304
305
|
if (!currentSectionId) {
|
|
@@ -341,7 +342,7 @@ var Registry = function Registry(_ref) {
|
|
|
341
342
|
case 0:
|
|
342
343
|
_context6.prev = 0;
|
|
343
344
|
_context6.next = 3;
|
|
344
|
-
return deleteItem(request, params);
|
|
345
|
+
return deleteItem(request, params, scene);
|
|
345
346
|
case 3:
|
|
346
347
|
response = _context6.sent;
|
|
347
348
|
if (!currentSectionId) {
|
|
@@ -399,7 +400,7 @@ var Registry = function Registry(_ref) {
|
|
|
399
400
|
return sortGroups(request, {
|
|
400
401
|
section_code: _currentSection7.code,
|
|
401
402
|
group_ids: groupIds
|
|
402
|
-
});
|
|
403
|
+
}, scene);
|
|
403
404
|
case 6:
|
|
404
405
|
// API调用成功后,更新本地状态
|
|
405
406
|
reorderedGroups = groupIds.map(function (id) {
|
|
@@ -488,7 +489,7 @@ var Registry = function Registry(_ref) {
|
|
|
488
489
|
id: itemId,
|
|
489
490
|
group_id: targetGroupId.toString(),
|
|
490
491
|
item_ids: sortedItemIds
|
|
491
|
-
});
|
|
492
|
+
}, scene);
|
|
492
493
|
case 10:
|
|
493
494
|
// API调用成功后,重新加载组数据以获取最新状态
|
|
494
495
|
_currentSection9 = localSections.find(function (s) {
|
|
@@ -535,6 +536,7 @@ var Registry = function Registry(_ref) {
|
|
|
535
536
|
var loadGroupData = useCallback( /*#__PURE__*/function () {
|
|
536
537
|
var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(sectionCode) {
|
|
537
538
|
var forceRefresh,
|
|
539
|
+
dedupKey,
|
|
538
540
|
response,
|
|
539
541
|
newGroups,
|
|
540
542
|
_args9 = arguments;
|
|
@@ -542,16 +544,18 @@ var Registry = function Registry(_ref) {
|
|
|
542
544
|
while (1) switch (_context9.prev = _context9.next) {
|
|
543
545
|
case 0:
|
|
544
546
|
forceRefresh = _args9.length > 1 && _args9[1] !== undefined ? _args9[1] : false;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
+
// 把 scene 纳入去重 key,避免切换 scene 时复用旧缓存
|
|
548
|
+
dedupKey = "".concat(scene !== null && scene !== void 0 ? scene : '', "::").concat(sectionCode); // 防止重复加载相同的section(除非是强制刷新)
|
|
549
|
+
if (!(groupLoading || !forceRefresh && lastLoadedSectionCodeRef.current === dedupKey)) {
|
|
550
|
+
_context9.next = 4;
|
|
547
551
|
break;
|
|
548
552
|
}
|
|
549
553
|
return _context9.abrupt("return");
|
|
550
|
-
case
|
|
551
|
-
lastLoadedSectionCodeRef.current =
|
|
554
|
+
case 4:
|
|
555
|
+
lastLoadedSectionCodeRef.current = dedupKey;
|
|
552
556
|
setGroupLoading(true);
|
|
553
|
-
_context9.prev =
|
|
554
|
-
_context9.next =
|
|
557
|
+
_context9.prev = 6;
|
|
558
|
+
_context9.next = 9;
|
|
555
559
|
return getGroupList(request, {
|
|
556
560
|
page: 1,
|
|
557
561
|
pageSize: 100,
|
|
@@ -559,33 +563,33 @@ var Registry = function Registry(_ref) {
|
|
|
559
563
|
filter: {
|
|
560
564
|
section_code: sectionCode
|
|
561
565
|
}
|
|
562
|
-
});
|
|
563
|
-
case
|
|
566
|
+
}, scene);
|
|
567
|
+
case 9:
|
|
564
568
|
response = _context9.sent;
|
|
565
569
|
newGroups = response.data || [];
|
|
566
570
|
setGroupList(newGroups);
|
|
567
|
-
_context9.next =
|
|
571
|
+
_context9.next = 18;
|
|
568
572
|
break;
|
|
569
|
-
case
|
|
570
|
-
_context9.prev =
|
|
571
|
-
_context9.t0 = _context9["catch"](
|
|
573
|
+
case 14:
|
|
574
|
+
_context9.prev = 14;
|
|
575
|
+
_context9.t0 = _context9["catch"](6);
|
|
572
576
|
console.error('Failed to load group data:', _context9.t0);
|
|
573
577
|
// message.error(locales.getText('registry.message.load.failed'));
|
|
574
578
|
setGroupList([]);
|
|
575
|
-
case
|
|
576
|
-
_context9.prev =
|
|
579
|
+
case 18:
|
|
580
|
+
_context9.prev = 18;
|
|
577
581
|
setGroupLoading(false);
|
|
578
|
-
return _context9.finish(
|
|
579
|
-
case
|
|
582
|
+
return _context9.finish(18);
|
|
583
|
+
case 21:
|
|
580
584
|
case "end":
|
|
581
585
|
return _context9.stop();
|
|
582
586
|
}
|
|
583
|
-
}, _callee9, null, [[
|
|
587
|
+
}, _callee9, null, [[6, 14, 18, 21]]);
|
|
584
588
|
}));
|
|
585
589
|
return function (_x11) {
|
|
586
590
|
return _ref10.apply(this, arguments);
|
|
587
591
|
};
|
|
588
|
-
}(), []); //
|
|
592
|
+
}(), [scene]); // scene 变化时需要重建
|
|
589
593
|
|
|
590
594
|
// 加载区块数据
|
|
591
595
|
var loadSectionData = useCallback( /*#__PURE__*/function () {
|
|
@@ -613,7 +617,7 @@ var Registry = function Registry(_ref) {
|
|
|
613
617
|
page: page,
|
|
614
618
|
pageSize: pageSize,
|
|
615
619
|
filter: {}
|
|
616
|
-
});
|
|
620
|
+
}, scene);
|
|
617
621
|
case 7:
|
|
618
622
|
response = _context10.sent;
|
|
619
623
|
newSections = response.data || [];
|
|
@@ -664,7 +668,7 @@ var Registry = function Registry(_ref) {
|
|
|
664
668
|
return function (_x12) {
|
|
665
669
|
return _ref11.apply(this, arguments);
|
|
666
670
|
};
|
|
667
|
-
}(), [loading, pageSize, currentSectionId]); // 移除 onDataChange 依赖
|
|
671
|
+
}(), [loading, pageSize, currentSectionId, scene]); // 移除 onDataChange 依赖
|
|
668
672
|
|
|
669
673
|
// 加载更多数据
|
|
670
674
|
var handleLoadMore = useCallback(function () {
|
|
@@ -1059,7 +1063,8 @@ var Registry = function Registry(_ref) {
|
|
|
1059
1063
|
onOk: handleItemSubmit,
|
|
1060
1064
|
onCancel: function onCancel() {
|
|
1061
1065
|
return setItemModalOpen(false);
|
|
1062
|
-
}
|
|
1066
|
+
},
|
|
1067
|
+
scene: scene
|
|
1063
1068
|
}));
|
|
1064
1069
|
};
|
|
1065
1070
|
export default Registry;
|
|
@@ -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;
|
|
@@ -100,6 +100,8 @@ export default {
|
|
|
100
100
|
'registry.scope.business': 'Business',
|
|
101
101
|
'registry.scope.channel': 'Channel',
|
|
102
102
|
'registry.scope.board': 'Board',
|
|
103
|
+
'registry.scope.profile': 'Profile',
|
|
104
|
+
'registry.scope.instance': 'Instance',
|
|
103
105
|
// 选项数据源
|
|
104
106
|
'registry.optionDataSource.type.title': 'Options Data Source Type',
|
|
105
107
|
'registry.optionDataSource.type.desc': 'Configure where the options for this field come from.',
|
|
@@ -231,6 +233,8 @@ export default {
|
|
|
231
233
|
'registry.scope.business': '业务级',
|
|
232
234
|
'registry.scope.channel': '渠道级',
|
|
233
235
|
'registry.scope.board': '业务×渠道',
|
|
236
|
+
'registry.scope.profile': '配置方案',
|
|
237
|
+
'registry.scope.instance': '个体实例',
|
|
234
238
|
// 选项数据源
|
|
235
239
|
'registry.optionDataSource.type.title': '选项数据源类型',
|
|
236
240
|
'registry.optionDataSource.type.desc': '配置此字段的选项来源。',
|
|
@@ -354,6 +358,8 @@ export default {
|
|
|
354
358
|
'registry.scope.business': '業務級',
|
|
355
359
|
'registry.scope.channel': '渠道級',
|
|
356
360
|
'registry.scope.board': '業務×渠道',
|
|
361
|
+
'registry.scope.profile': '配置方案',
|
|
362
|
+
'registry.scope.instance': '個體實例',
|
|
357
363
|
// 选项数据源
|
|
358
364
|
'registry.optionDataSource.type.title': '選項數據源類型',
|
|
359
365
|
'registry.optionDataSource.type.desc': '配置此字段的選項來源。',
|
|
@@ -474,7 +480,9 @@ export default {
|
|
|
474
480
|
'registry.scope.organization': '組織',
|
|
475
481
|
'registry.scope.business': 'ビジネス',
|
|
476
482
|
'registry.scope.channel': 'チャネル',
|
|
477
|
-
'registry.scope.board': 'ボード'
|
|
483
|
+
'registry.scope.board': 'ボード',
|
|
484
|
+
'registry.scope.profile': '設定方案',
|
|
485
|
+
'registry.scope.instance': '個体実例'
|
|
478
486
|
},
|
|
479
487
|
pt: {
|
|
480
488
|
'registry.title': 'Registro de Configurações',
|
|
@@ -566,6 +574,8 @@ export default {
|
|
|
566
574
|
'registry.scope.organization': 'Organização',
|
|
567
575
|
'registry.scope.business': 'Negócio',
|
|
568
576
|
'registry.scope.channel': 'Canal',
|
|
569
|
-
'registry.scope.board': 'Quadro'
|
|
577
|
+
'registry.scope.board': 'Quadro',
|
|
578
|
+
'registry.scope.profile': '設定方案',
|
|
579
|
+
'registry.scope.instance': '個体実例'
|
|
570
580
|
}
|
|
571
581
|
};
|