@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
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export declare type DeviceKind = 'smart' | 'dumb' | 'integrated';
|
|
3
|
+
export declare type DeviceStatus = 'active' | 'inactive';
|
|
4
|
+
export declare type DeviceProfileScene = 'profile' | 'instance';
|
|
5
|
+
export declare type I18nText = string | {
|
|
6
|
+
original?: string;
|
|
7
|
+
'zh-CN'?: string;
|
|
8
|
+
'zh-HK'?: string;
|
|
9
|
+
en?: string;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
export interface DeviceProfileTemplateItem {
|
|
13
|
+
id: number;
|
|
14
|
+
code: string;
|
|
15
|
+
model_code?: string;
|
|
16
|
+
name: I18nText;
|
|
17
|
+
description?: I18nText;
|
|
18
|
+
setting?: Record<string, unknown>;
|
|
19
|
+
status: DeviceStatus;
|
|
20
|
+
updated_at: string;
|
|
21
|
+
}
|
|
22
|
+
export interface DeviceModelItem {
|
|
23
|
+
id: number;
|
|
24
|
+
code: string;
|
|
25
|
+
name: I18nText;
|
|
26
|
+
active_profile_templates?: DeviceProfileTemplateItem[];
|
|
27
|
+
}
|
|
28
|
+
export interface DeviceTypeItem {
|
|
29
|
+
id: number;
|
|
30
|
+
kind: DeviceKind;
|
|
31
|
+
code: string;
|
|
32
|
+
icon: string | null;
|
|
33
|
+
name: I18nText;
|
|
34
|
+
description: I18nText;
|
|
35
|
+
data: Record<string, unknown> | null;
|
|
36
|
+
status: DeviceStatus;
|
|
37
|
+
sort: number;
|
|
38
|
+
created_at: string;
|
|
39
|
+
updated_at: string;
|
|
40
|
+
active_models?: DeviceModelItem[];
|
|
41
|
+
}
|
|
42
|
+
export interface SaasDeviceProfileProps {
|
|
43
|
+
className?: string;
|
|
44
|
+
style?: React.CSSProperties;
|
|
45
|
+
scene?: DeviceProfileScene;
|
|
46
|
+
showBackButton?: boolean;
|
|
47
|
+
}
|
|
48
|
+
/** 表格行(基于 DeviceProfileItem + 关联 model 信息打平) */
|
|
49
|
+
export interface ProfileRow {
|
|
50
|
+
id: number;
|
|
51
|
+
name: string;
|
|
52
|
+
modelCode: string;
|
|
53
|
+
modelName: string;
|
|
54
|
+
status: DeviceStatus;
|
|
55
|
+
updated_at: string;
|
|
56
|
+
_deviceModel?: DeviceModelItem;
|
|
57
|
+
_deviceType?: DeviceTypeItem;
|
|
58
|
+
_raw?: DeviceProfileItem;
|
|
59
|
+
}
|
|
60
|
+
/** 设备配置(GET /tenant/device/profile 列表项) */
|
|
61
|
+
export interface DeviceProfileItem {
|
|
62
|
+
id: number;
|
|
63
|
+
tenant_id: number;
|
|
64
|
+
model_code: string;
|
|
65
|
+
template_code: string;
|
|
66
|
+
name: I18nText;
|
|
67
|
+
description: I18nText;
|
|
68
|
+
setting: Record<string, unknown> | null;
|
|
69
|
+
status: DeviceStatus;
|
|
70
|
+
created_at: string;
|
|
71
|
+
updated_at: string;
|
|
72
|
+
deleted_at: string | null;
|
|
73
|
+
}
|
|
74
|
+
export interface ListProfileParams {
|
|
75
|
+
page: number;
|
|
76
|
+
size: number;
|
|
77
|
+
search?: string;
|
|
78
|
+
name?: string;
|
|
79
|
+
order_by?: string;
|
|
80
|
+
type_code?: string;
|
|
81
|
+
model_code?: string;
|
|
82
|
+
status?: DeviceStatus;
|
|
83
|
+
}
|
|
84
|
+
export interface ListProfileResponse {
|
|
85
|
+
list: DeviceProfileItem[];
|
|
86
|
+
count: number;
|
|
87
|
+
page: number;
|
|
88
|
+
size: number;
|
|
89
|
+
}
|
|
90
|
+
/** 工作区(GET /tenant/device with=workarea 的 workarea 关系字段) */
|
|
91
|
+
export interface WorkareaItem {
|
|
92
|
+
id: number;
|
|
93
|
+
name: I18nText;
|
|
94
|
+
}
|
|
95
|
+
/** 关联设备实例(精简到 UI 需要) */
|
|
96
|
+
export interface LinkedDeviceItem {
|
|
97
|
+
id: number;
|
|
98
|
+
workarea_id: number;
|
|
99
|
+
type_kind: string;
|
|
100
|
+
type_code: string;
|
|
101
|
+
model_code: string;
|
|
102
|
+
profile_id: number;
|
|
103
|
+
number: string;
|
|
104
|
+
name: I18nText;
|
|
105
|
+
workarea?: WorkareaItem;
|
|
106
|
+
}
|
|
107
|
+
/** GET /tenant/device 关联设备查询参数 */
|
|
108
|
+
export interface ListLinkedDevicesParams {
|
|
109
|
+
profile_id: number;
|
|
110
|
+
type_kind: string;
|
|
111
|
+
with?: string[];
|
|
112
|
+
}
|
|
113
|
+
/** 多语言字典(en/zh-CN/zh-HK/ja/pt) */
|
|
114
|
+
export declare type LangDict = {
|
|
115
|
+
original?: string;
|
|
116
|
+
en?: string;
|
|
117
|
+
'zh-CN'?: string;
|
|
118
|
+
'zh-HK'?: string;
|
|
119
|
+
ja?: string;
|
|
120
|
+
pt?: string;
|
|
121
|
+
};
|
|
122
|
+
/** POST /tenant/device/profile 入参 */
|
|
123
|
+
export interface CreateProfilePayload {
|
|
124
|
+
model_code: string;
|
|
125
|
+
template_code: string;
|
|
126
|
+
name: LangDict;
|
|
127
|
+
description: LangDict;
|
|
128
|
+
setting: Record<string, unknown> | null;
|
|
129
|
+
status: DeviceStatus;
|
|
130
|
+
}
|
|
131
|
+
export interface DeviceStatusMeta {
|
|
132
|
+
value: DeviceStatus;
|
|
133
|
+
/** i18n key,调用侧用 getText(labelKey) 取多语言文案 */
|
|
134
|
+
labelKey: string;
|
|
135
|
+
/** antd Tag 的 color 取值,缺省走 antd 默认灰色 */
|
|
136
|
+
tagColor?: string;
|
|
137
|
+
}
|
|
138
|
+
export declare const DEVICE_STATUSES: DeviceStatusMeta[];
|
|
139
|
+
export interface ProfileTemplateItem {
|
|
140
|
+
id: number;
|
|
141
|
+
model_code: string;
|
|
142
|
+
modelCode: string;
|
|
143
|
+
code: string;
|
|
144
|
+
name: I18nText;
|
|
145
|
+
description: I18nText;
|
|
146
|
+
status: DeviceStatus;
|
|
147
|
+
setting?: Record<string, unknown>;
|
|
148
|
+
created_at: string;
|
|
149
|
+
updated_at: string;
|
|
150
|
+
deleted_at?: string | null;
|
|
151
|
+
_deviceModel?: DeviceModelItem;
|
|
152
|
+
_deviceType?: DeviceTypeItem;
|
|
153
|
+
_raw?: DeviceProfileItem;
|
|
154
|
+
}
|
|
155
|
+
export interface ProfileTemplateFormValues {
|
|
156
|
+
name: I18nText;
|
|
157
|
+
type_code: string;
|
|
158
|
+
model_code: string;
|
|
159
|
+
description?: I18nText;
|
|
160
|
+
status: DeviceStatus;
|
|
161
|
+
}
|
|
162
|
+
export interface DeviceTypeItem {
|
|
163
|
+
id: number;
|
|
164
|
+
kind: DeviceKind;
|
|
165
|
+
code: string;
|
|
166
|
+
icon: string | null;
|
|
167
|
+
name: I18nText;
|
|
168
|
+
description: I18nText;
|
|
169
|
+
data: Record<string, unknown> | null;
|
|
170
|
+
status: DeviceStatus;
|
|
171
|
+
sort: number;
|
|
172
|
+
created_at: string;
|
|
173
|
+
updated_at: string;
|
|
174
|
+
active_models?: DeviceModelItem[];
|
|
175
|
+
}
|
|
176
|
+
export interface DeviceModelItem {
|
|
177
|
+
id: number;
|
|
178
|
+
brand_code: string;
|
|
179
|
+
type_code: string;
|
|
180
|
+
code: string;
|
|
181
|
+
name: I18nText;
|
|
182
|
+
description: I18nText;
|
|
183
|
+
data: any;
|
|
184
|
+
status: DeviceStatus;
|
|
185
|
+
sort: number;
|
|
186
|
+
brand?: any;
|
|
187
|
+
created_at: string;
|
|
188
|
+
updated_at: string;
|
|
189
|
+
}
|
|
190
|
+
export declare const validateI18nRequired: (message: string) => (_rule: unknown, value: I18nText | undefined) => Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/plus/saasDevice/deviceProfile/types.ts
|
|
20
|
+
var types_exports = {};
|
|
21
|
+
__export(types_exports, {
|
|
22
|
+
DEVICE_STATUSES: () => DEVICE_STATUSES,
|
|
23
|
+
validateI18nRequired: () => validateI18nRequired
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(types_exports);
|
|
26
|
+
var DEVICE_STATUSES = [
|
|
27
|
+
{
|
|
28
|
+
value: "active",
|
|
29
|
+
labelKey: "pisell2.saas.device-profile.status.active",
|
|
30
|
+
tagColor: "success"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
value: "inactive",
|
|
34
|
+
labelKey: "pisell2.saas.device-profile.status.inactive"
|
|
35
|
+
}
|
|
36
|
+
];
|
|
37
|
+
var validateI18nRequired = (message) => (_rule, value) => {
|
|
38
|
+
var _a;
|
|
39
|
+
if (!value) return Promise.reject(new Error(message));
|
|
40
|
+
const filled = Object.entries(value).some(
|
|
41
|
+
([k, v]) => k !== "original" && typeof v === "string" && v.trim() !== ""
|
|
42
|
+
);
|
|
43
|
+
if (typeof value === "string") {
|
|
44
|
+
return Promise.resolve();
|
|
45
|
+
}
|
|
46
|
+
const original = typeof (value == null ? void 0 : value.original) === "string" && ((_a = value == null ? void 0 : value.original) == null ? void 0 : _a.trim()) !== "";
|
|
47
|
+
return filled || original ? Promise.resolve() : Promise.reject(new Error(message));
|
|
48
|
+
};
|
|
49
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
+
0 && (module.exports = {
|
|
51
|
+
DEVICE_STATUSES,
|
|
52
|
+
validateI18nRequired
|
|
53
|
+
});
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const SaasDevicePlanningMeta = {
|
|
2
|
+
componentName: 'SaasDevicePlanning',
|
|
3
|
+
title: 'SaasDevicePlanning',
|
|
4
|
+
docUrl: '',
|
|
5
|
+
screenshot: '',
|
|
6
|
+
category: 'SaaS',
|
|
7
|
+
devMode: 'proCode',
|
|
8
|
+
npm: {
|
|
9
|
+
package: '@pisell/private-materials',
|
|
10
|
+
version: '1.0.0',
|
|
11
|
+
exportName: 'SaasDevicePlanning',
|
|
12
|
+
main: 'src/index.tsx',
|
|
13
|
+
destructuring: true,
|
|
14
|
+
subName: '',
|
|
15
|
+
},
|
|
16
|
+
configure: {
|
|
17
|
+
props: [],
|
|
18
|
+
supports: {},
|
|
19
|
+
component: {},
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default {
|
|
24
|
+
...SaasDevicePlanningMeta,
|
|
25
|
+
snippets: [
|
|
26
|
+
{
|
|
27
|
+
title: 'SaasDevicePlanning',
|
|
28
|
+
screenshot: '',
|
|
29
|
+
schema: {
|
|
30
|
+
componentName: 'SaasDevicePlanning',
|
|
31
|
+
props: {},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const SaasDeviceProfileMeta = {
|
|
2
|
+
componentName: 'SaasDeviceProfile',
|
|
3
|
+
title: 'SaasDeviceProfile',
|
|
4
|
+
docUrl: '',
|
|
5
|
+
screenshot: '',
|
|
6
|
+
category: 'SaaS',
|
|
7
|
+
devMode: 'proCode',
|
|
8
|
+
npm: {
|
|
9
|
+
package: '@pisell/private-materials',
|
|
10
|
+
version: '1.0.0',
|
|
11
|
+
exportName: 'SaasDeviceProfile',
|
|
12
|
+
main: 'src/index.tsx',
|
|
13
|
+
destructuring: true,
|
|
14
|
+
subName: '',
|
|
15
|
+
},
|
|
16
|
+
configure: {
|
|
17
|
+
props: [
|
|
18
|
+
{
|
|
19
|
+
name: 'scene',
|
|
20
|
+
title: {
|
|
21
|
+
label: 'Scene',
|
|
22
|
+
tip: 'scene | LowCode render scene',
|
|
23
|
+
},
|
|
24
|
+
setter: {
|
|
25
|
+
componentName: 'RadioGroupSetter',
|
|
26
|
+
props: {
|
|
27
|
+
options: [
|
|
28
|
+
{ label: 'profile', value: 'profile' },
|
|
29
|
+
{ label: 'instance', value: 'instance' },
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
initialValue: 'profile',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'showBackButton',
|
|
37
|
+
title: {
|
|
38
|
+
label: 'Show Back Button',
|
|
39
|
+
tip: 'showBackButton | Show a back button beside the page title',
|
|
40
|
+
},
|
|
41
|
+
setter: {
|
|
42
|
+
componentName: 'BoolSetter',
|
|
43
|
+
initialValue: false,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
supports: {},
|
|
48
|
+
component: {},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
...SaasDeviceProfileMeta,
|
|
54
|
+
snippets: [
|
|
55
|
+
{
|
|
56
|
+
title: 'SaasDeviceProfile',
|
|
57
|
+
screenshot: '',
|
|
58
|
+
schema: {
|
|
59
|
+
componentName: 'SaasDeviceProfile',
|
|
60
|
+
props: {
|
|
61
|
+
scene: 'profile',
|
|
62
|
+
showBackButton: false,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
};
|
|
@@ -18,6 +18,46 @@ const SettingsRegistryMeta: ComponentMetadata = {
|
|
|
18
18
|
},
|
|
19
19
|
props: [],
|
|
20
20
|
configure: {
|
|
21
|
+
props: [
|
|
22
|
+
{
|
|
23
|
+
title: {
|
|
24
|
+
label: {
|
|
25
|
+
type: 'i18n',
|
|
26
|
+
'en-US': 'Scene',
|
|
27
|
+
'zh-CN': '场景',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
display: 'block',
|
|
31
|
+
type: 'group',
|
|
32
|
+
items: [
|
|
33
|
+
{
|
|
34
|
+
name: 'scene',
|
|
35
|
+
title: {
|
|
36
|
+
label: {
|
|
37
|
+
type: 'i18n',
|
|
38
|
+
'en-US': 'Scene',
|
|
39
|
+
'zh-CN': '场景',
|
|
40
|
+
},
|
|
41
|
+
tip: 'scene | 命中 "device" 时调用 device 版本接口',
|
|
42
|
+
},
|
|
43
|
+
propType: 'string',
|
|
44
|
+
setter: [
|
|
45
|
+
{
|
|
46
|
+
componentName: 'SelectSetter',
|
|
47
|
+
props: {
|
|
48
|
+
options: [
|
|
49
|
+
{ title: '默认', value: '' },
|
|
50
|
+
{ title: 'Device', value: 'device' },
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
'StringSetter',
|
|
55
|
+
'VariableSetter',
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
],
|
|
21
61
|
component: {
|
|
22
62
|
isContainer: false,
|
|
23
63
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.98",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"react-resizable": "^3.0.5",
|
|
78
78
|
"styled-components": "^6.0.0-rc.3",
|
|
79
79
|
"@pisell/utils": "3.0.2",
|
|
80
|
-
"@pisell/materials": "3.3.
|
|
81
|
-
"@pisell/
|
|
82
|
-
"@pisell/
|
|
80
|
+
"@pisell/materials": "3.3.94",
|
|
81
|
+
"@pisell/icon": "0.0.11",
|
|
82
|
+
"@pisell/date-picker": "3.0.4"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"react": "^18.0.0",
|