@pisell/private-materials 6.3.114 → 6.3.115
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/meta.js +1 -1
- package/package.json +2 -2
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -5
- package/es/components/appointmentBooking/locales.d.ts +0 -366
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/footer/amount.d.ts +0 -25
- package/es/components/booking/components/footer/index.d.ts +0 -12
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucher/index.d.ts +0 -4
- package/es/components/booking/dashboard/index.d.ts +0 -20
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/es/components/booking/deposit/index.d.ts +0 -3
- package/es/components/booking/editBookingModal/locales.d.ts +0 -21
- package/es/components/booking/editBookingModal/mock.d.ts +0 -807
- package/es/components/booking/forms/forms.d.ts +0 -30
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.d.ts +0 -6
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/date/index.d.ts +0 -5
- package/es/components/booking/info/header/index.d.ts +0 -4
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/es/components/booking/info/index.d.ts +0 -4
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/pet/index.d.ts +0 -14
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -3
- package/es/components/booking/info/service/addService/index.d.ts +0 -12
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service/serve.d.ts +0 -20
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -4
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/Lists.d.ts +0 -3
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -214
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/es/components/booking/info2/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/es/components/booking/locales.d.ts +0 -846
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -17
- package/es/components/booking/notes/addNote/index.d.ts +0 -4
- package/es/components/booking/utils.d.ts +0 -175
- package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/es/components/eftpos/PairModal/index.d.ts +0 -11
- package/es/components/eftpos/SettlementModal/Action.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/index.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/es/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/es/components/eftpos/const.d.ts +0 -66
- package/es/components/eftpos/device.d.ts +0 -11
- package/es/components/eftpos/hooks.d.ts +0 -46
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftpos/locales.d.ts +0 -138
- package/es/components/eftpos/table.d.ts +0 -21
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -101
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/es/components/eftposPay/app.d.ts +0 -11
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/es/components/eftposPay/component/fail/index.d.ts +0 -4
- package/es/components/eftposPay/const.d.ts +0 -191
- package/es/components/eftposPay/device.d.ts +0 -24
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/index.d.ts +0 -3
- package/es/components/eftposPay/locales.d.ts +0 -333
- package/es/components/eftposPay/manufacturer.d.ts +0 -8
- package/es/components/eftposPay/mx51/Action.d.ts +0 -7
- package/es/components/eftposPay/mx51/Result.d.ts +0 -5
- package/es/components/eftposPay/mx51/const.d.ts +0 -5
- package/es/components/eftposPay/mx51/index.d.ts +0 -6
- package/es/components/eftposPay/mx51/types.d.ts +0 -138
- package/es/components/eftposPay/mx51/utils.d.ts +0 -10
- package/es/components/eftposPay/pay.d.ts +0 -21
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/const.d.ts +0 -26
- package/es/components/eftposPay/store/index.d.ts +0 -355
- package/es/components/eftposPay/tyro/const.d.ts +0 -17
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/windcave/const.d.ts +0 -119
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/es/components/eventBooking/locales.d.ts +0 -246
- package/es/components/kioskSkuDetail/locales.d.ts +0 -27
- package/es/components/login/locales.d.ts +0 -24
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -11
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/locales.d.ts +0 -307
- package/es/components/pay/toC/model.d.ts +0 -40
- package/es/components/pay/toC/serve.d.ts +0 -62
- package/es/components/pay/toC/utils.d.ts +0 -57
- package/es/components/pinModal/locales.d.ts +0 -27
- package/es/components/pinVerifyModal/locales.d.ts +0 -24
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -81
- package/es/components/productExtension/locales.d.ts +0 -48
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -3
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/es/components/productSelect/locales.d.ts +0 -18
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/schedules/locales.d.ts +0 -87
- package/es/components/shoppingCart/Provider.d.ts +0 -3
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/stepController/locales.d.ts +0 -27
- package/es/components/subTotal/index.d.ts +0 -24
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/index.d.ts +0 -5
- package/es/components/systemSettings/registry/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/taxSelect/locales.d.ts +0 -24
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/es/components/ticketBooking/index.d.ts +0 -8
- package/es/components/ticketBooking/locales.d.ts +0 -174
- package/es/components/ticketBooking/serve.d.ts +0 -287
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/index.d.ts +0 -25
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/index.d.ts +0 -4
- package/es/components/walletList/locales.d.ts +0 -27
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/hooks/useLocale.d.ts +0 -2
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/index.d.ts +0 -66
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/es/plus/contactInfo/locales.d.ts +0 -15
- package/es/plus/contactInfoModal/locales.d.ts +0 -66
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
- package/es/plus/productSelect/index.d.ts +0 -32
- package/es/plus/productSelect/locales.d.ts +0 -18
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -15
- package/es/plus/saasLogin/locales.d.ts +0 -51
- package/es/plus/saasRegister/locales.d.ts +0 -117
- package/es/plus/selectHolder/index.d.ts +0 -7
- package/es/plus/selectHolder/locales.d.ts +0 -21
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -11
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -33
- package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/es/plus/skuOptionsSelection/types.d.ts +0 -429
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/es/plus/walletEditor/locales.d.ts +0 -135
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -10
- package/es/plus/walletPassGallery/index.d.ts +0 -7
- package/es/plus/walletPassGallery/locales.d.ts +0 -285
- package/es/plus/walletPassGallery/serve.d.ts +0 -243
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -60
- package/es/pro/Login2.0/Login2.d.ts +0 -61
- package/es/pro/Login2.0/locales.d.ts +0 -543
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/NumericStepper/index.d.ts +0 -43
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Item.d.ts +0 -14
- package/es/pro/Selector/Selector.d.ts +0 -14
- package/es/pro/Selector/SelectorGroup.d.ts +0 -11
- package/es/pro/Selector/components/Card/index.d.ts +0 -57
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/es/pro/Selector/components/Media/index.d.ts +0 -6
- package/es/pro/Selector/demo.d.ts +0 -3
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/Selector/locales.d.ts +0 -36
- package/es/pro/Selector/types.d.ts +0 -173
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/skuDetailModal/index.d.ts +0 -4
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -5
- package/lib/components/appointmentBooking/locales.d.ts +0 -366
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/footer/amount.d.ts +0 -25
- package/lib/components/booking/components/footer/index.d.ts +0 -12
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucher/index.d.ts +0 -4
- package/lib/components/booking/dashboard/index.d.ts +0 -20
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/lib/components/booking/deposit/index.d.ts +0 -3
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
- package/lib/components/booking/forms/forms.d.ts +0 -30
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.d.ts +0 -6
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/date/index.d.ts +0 -5
- package/lib/components/booking/info/header/index.d.ts +0 -4
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/lib/components/booking/info/index.d.ts +0 -4
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/pet/index.d.ts +0 -14
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -3
- package/lib/components/booking/info/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service/serve.d.ts +0 -20
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -4
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/Lists.d.ts +0 -3
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -214
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/lib/components/booking/locales.d.ts +0 -846
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -17
- package/lib/components/booking/notes/addNote/index.d.ts +0 -4
- package/lib/components/booking/utils.d.ts +0 -175
- package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/lib/components/eftpos/PairModal/index.d.ts +0 -11
- package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/index.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/lib/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/lib/components/eftpos/const.d.ts +0 -66
- package/lib/components/eftpos/device.d.ts +0 -11
- package/lib/components/eftpos/hooks.d.ts +0 -46
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftpos/locales.d.ts +0 -138
- package/lib/components/eftpos/table.d.ts +0 -21
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -101
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/lib/components/eftposPay/app.d.ts +0 -11
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -4
- package/lib/components/eftposPay/const.d.ts +0 -191
- package/lib/components/eftposPay/device.d.ts +0 -24
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/index.d.ts +0 -3
- package/lib/components/eftposPay/locales.d.ts +0 -333
- package/lib/components/eftposPay/manufacturer.d.ts +0 -8
- package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
- package/lib/components/eftposPay/mx51/Result.d.ts +0 -5
- package/lib/components/eftposPay/mx51/const.d.ts +0 -5
- package/lib/components/eftposPay/mx51/index.d.ts +0 -6
- package/lib/components/eftposPay/mx51/types.d.ts +0 -138
- package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
- package/lib/components/eftposPay/pay.d.ts +0 -21
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/const.d.ts +0 -26
- package/lib/components/eftposPay/store/index.d.ts +0 -355
- package/lib/components/eftposPay/tyro/const.d.ts +0 -17
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/windcave/const.d.ts +0 -119
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/lib/components/eventBooking/locales.d.ts +0 -246
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -27
- package/lib/components/login/locales.d.ts +0 -24
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -11
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/locales.d.ts +0 -307
- package/lib/components/pay/toC/model.d.ts +0 -40
- package/lib/components/pay/toC/serve.d.ts +0 -62
- package/lib/components/pay/toC/utils.d.ts +0 -57
- package/lib/components/pinModal/locales.d.ts +0 -27
- package/lib/components/pinVerifyModal/locales.d.ts +0 -24
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -81
- package/lib/components/productExtension/locales.d.ts +0 -48
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -3
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/lib/components/productSelect/locales.d.ts +0 -18
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/schedules/locales.d.ts +0 -87
- package/lib/components/shoppingCart/Provider.d.ts +0 -3
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/stepController/locales.d.ts +0 -27
- package/lib/components/subTotal/index.d.ts +0 -24
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/index.d.ts +0 -5
- package/lib/components/systemSettings/registry/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/taxSelect/locales.d.ts +0 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/lib/components/ticketBooking/index.d.ts +0 -8
- package/lib/components/ticketBooking/locales.d.ts +0 -174
- package/lib/components/ticketBooking/serve.d.ts +0 -287
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/index.d.ts +0 -25
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/index.d.ts +0 -4
- package/lib/components/walletList/locales.d.ts +0 -27
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/hooks/useLocale.d.ts +0 -2
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/index.d.ts +0 -66
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/lib/plus/contactInfo/locales.d.ts +0 -15
- package/lib/plus/contactInfoModal/locales.d.ts +0 -66
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
- package/lib/plus/productSelect/index.d.ts +0 -32
- package/lib/plus/productSelect/locales.d.ts +0 -18
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -15
- package/lib/plus/saasLogin/locales.d.ts +0 -51
- package/lib/plus/saasRegister/locales.d.ts +0 -117
- package/lib/plus/selectHolder/index.d.ts +0 -7
- package/lib/plus/selectHolder/locales.d.ts +0 -21
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -11
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -33
- package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -429
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/lib/plus/walletEditor/locales.d.ts +0 -135
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/index.d.ts +0 -7
- package/lib/plus/walletPassGallery/locales.d.ts +0 -285
- package/lib/plus/walletPassGallery/serve.d.ts +0 -243
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -60
- package/lib/pro/Login2.0/Login2.d.ts +0 -61
- package/lib/pro/Login2.0/locales.d.ts +0 -543
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/NumericStepper/index.d.ts +0 -43
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Item.d.ts +0 -14
- package/lib/pro/Selector/Selector.d.ts +0 -14
- package/lib/pro/Selector/SelectorGroup.d.ts +0 -11
- package/lib/pro/Selector/components/Card/index.d.ts +0 -57
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/lib/pro/Selector/components/Media/index.d.ts +0 -6
- package/lib/pro/Selector/demo.d.ts +0 -3
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/Selector/locales.d.ts +0 -36
- package/lib/pro/Selector/types.d.ts +0 -173
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/skuDetailModal/index.d.ts +0 -4
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ExprRule {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}
|
|
5
|
-
export interface RuleConfig {
|
|
6
|
-
autoValidate?: boolean;
|
|
7
|
-
required?: 0 | 1;
|
|
8
|
-
min?: number;
|
|
9
|
-
max?: number;
|
|
10
|
-
mutex?: Array<Array<OptionKey>>;
|
|
11
|
-
customValidator?: (value: SelectionValue) => Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export interface GroupItem {
|
|
14
|
-
id?: number;
|
|
15
|
-
title?: string;
|
|
16
|
-
mode?: 'single' | 'multiple';
|
|
17
|
-
valueType?: 'primitive' | 'object';
|
|
18
|
-
preserve?: boolean;
|
|
19
|
-
fieldNames?: {
|
|
20
|
-
label?: string;
|
|
21
|
-
value?: string;
|
|
22
|
-
cover?: string;
|
|
23
|
-
};
|
|
24
|
-
ruleConfig?: RuleConfig;
|
|
25
|
-
dataSource?: OptionItem[];
|
|
26
|
-
}
|
|
27
|
-
export interface OptionItem {
|
|
28
|
-
id?: number;
|
|
29
|
-
title?: string;
|
|
30
|
-
label?: string;
|
|
31
|
-
value?: OptionKey;
|
|
32
|
-
cover?: string;
|
|
33
|
-
groups?: GroupItem[];
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
ruleConfig?: {
|
|
36
|
-
min?: number;
|
|
37
|
-
max?: number;
|
|
38
|
-
};
|
|
39
|
-
[key: string]: any;
|
|
40
|
-
}
|
|
41
|
-
export declare type OptionKey = number | string;
|
|
42
|
-
/** 原始值类型:单选时为id,多选时为id[] */
|
|
43
|
-
export declare type SelectionValuePrimitive<T = OptionKey> = T | T[];
|
|
44
|
-
/** 复杂对象值类型:包含id、数量等额外信息 */
|
|
45
|
-
export interface SelectionValueObject<T = OptionKey> {
|
|
46
|
-
value?: T;
|
|
47
|
-
quantity?: number;
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
}
|
|
50
|
-
/** 单选值类型 */
|
|
51
|
-
export declare type SelectionValueSingle<T = OptionKey> = T | SelectionValueObject<T>;
|
|
52
|
-
/** 多选值类型 */
|
|
53
|
-
export declare type SelectionValueMultiple<T = OptionKey> = T[] | SelectionValueObject<T>[];
|
|
54
|
-
/** 选择器值类型 */
|
|
55
|
-
export declare type SelectionValue<T = OptionKey> = SelectionValueSingle<T> | SelectionValueMultiple<T>;
|
|
56
|
-
export declare type RenderItemProps = {
|
|
57
|
-
dataSource: OptionItem;
|
|
58
|
-
actions: any;
|
|
59
|
-
optionItemValue?: any;
|
|
60
|
-
indicator: React.ReactNode;
|
|
61
|
-
numberSelector: React.ReactNode;
|
|
62
|
-
values: any;
|
|
63
|
-
quantityInfo: {
|
|
64
|
-
maxReached: boolean;
|
|
65
|
-
remainingCount: number;
|
|
66
|
-
selectedCount: number;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
export declare type ItemProps = {
|
|
70
|
-
layout?: 'vertical' | 'horizontal';
|
|
71
|
-
renderContent?: (props: {
|
|
72
|
-
dataSource: OptionItem;
|
|
73
|
-
}) => React.ReactNode;
|
|
74
|
-
styles?: {
|
|
75
|
-
[key: string]: React.CSSProperties;
|
|
76
|
-
};
|
|
77
|
-
[key: string]: any;
|
|
78
|
-
};
|
|
79
|
-
export declare type LayoutType = 'antdGrid' | 'custom';
|
|
80
|
-
export declare type LayoutConfig = {
|
|
81
|
-
type?: LayoutType;
|
|
82
|
-
className?: string;
|
|
83
|
-
containerStyle?: React.CSSProperties;
|
|
84
|
-
columns?: number;
|
|
85
|
-
gutter?: number | object | Array<number>;
|
|
86
|
-
align?: 'top' | 'middle' | 'bottom' | 'stretch';
|
|
87
|
-
justify?: 'start' | 'end' | 'center' | 'space-between' | 'space-around';
|
|
88
|
-
wrap?: boolean;
|
|
89
|
-
colConfig?: {
|
|
90
|
-
[key: string]: any;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
export interface PresetConfig {
|
|
94
|
-
variant?: '1' | '2' | '3' | '4' | '5';
|
|
95
|
-
}
|
|
96
|
-
export declare type ItemLayout = 'vertical' | 'horizontal';
|
|
97
|
-
export declare type SelectorVariant = 'default' | 'select' | 'card' | 'media';
|
|
98
|
-
export declare type HeaderProps = {
|
|
99
|
-
visible?: boolean;
|
|
100
|
-
style?: React.CSSProperties;
|
|
101
|
-
title?: {
|
|
102
|
-
visible?: boolean;
|
|
103
|
-
text?: React.ReactNode;
|
|
104
|
-
style?: React.CSSProperties;
|
|
105
|
-
};
|
|
106
|
-
icon?: {
|
|
107
|
-
visible?: boolean;
|
|
108
|
-
icon?: React.ReactNode;
|
|
109
|
-
style?: React.CSSProperties;
|
|
110
|
-
};
|
|
111
|
-
tip?: {
|
|
112
|
-
visible?: boolean;
|
|
113
|
-
text?: React.ReactNode;
|
|
114
|
-
style?: React.CSSProperties;
|
|
115
|
-
};
|
|
116
|
-
renderExtra?: (props: {
|
|
117
|
-
dataSource: OptionItem;
|
|
118
|
-
values: SelectionValue;
|
|
119
|
-
}) => React.ReactNode;
|
|
120
|
-
};
|
|
121
|
-
export interface SelectorProps<T = OptionKey> extends GroupItem {
|
|
122
|
-
className?: string;
|
|
123
|
-
value?: SelectionValue<T>;
|
|
124
|
-
defaultValue?: SelectionValue<T>;
|
|
125
|
-
onChange?: (value: SelectionValue<T>) => void;
|
|
126
|
-
onClear?: () => void;
|
|
127
|
-
disabled?: boolean;
|
|
128
|
-
variant?: SelectorVariant;
|
|
129
|
-
itemLayout?: ItemLayout;
|
|
130
|
-
preset?: PresetConfig;
|
|
131
|
-
layout?: LayoutConfig;
|
|
132
|
-
renderItem?: (props: RenderItemProps) => React.ReactNode;
|
|
133
|
-
itemProps?: ItemProps;
|
|
134
|
-
indicatorProps?: {
|
|
135
|
-
show?: boolean;
|
|
136
|
-
variant?: 'outlined' | 'filled';
|
|
137
|
-
render?: (props: {
|
|
138
|
-
option: OptionItem;
|
|
139
|
-
selected: boolean;
|
|
140
|
-
disabled: boolean;
|
|
141
|
-
actions: any;
|
|
142
|
-
}) => React.ReactNode;
|
|
143
|
-
[key: string]: any;
|
|
144
|
-
};
|
|
145
|
-
showStepper?: true | false | 'auto';
|
|
146
|
-
stepperProps?: {
|
|
147
|
-
size?: 'small' | 'middle' | 'large';
|
|
148
|
-
shape?: 'round' | 'square';
|
|
149
|
-
};
|
|
150
|
-
style?: React.CSSProperties;
|
|
151
|
-
/**
|
|
152
|
-
* @deprecated
|
|
153
|
-
*/
|
|
154
|
-
titleProps?: HeaderProps;
|
|
155
|
-
headerProps?: HeaderProps;
|
|
156
|
-
}
|
|
157
|
-
export interface SelectorGroupProps {
|
|
158
|
-
allowedValuesPolicy?: 'relaxed' | 'strict';
|
|
159
|
-
className?: string;
|
|
160
|
-
customScrollParent?: HTMLElement | string;
|
|
161
|
-
dataSource: GroupItem[];
|
|
162
|
-
defaultValue?: Record<string, SelectionValue>;
|
|
163
|
-
linkageRules?: ExprRule[] | Record<string, any>;
|
|
164
|
-
onChange?: (values: Record<string, SelectionValue>) => void;
|
|
165
|
-
preserve?: boolean;
|
|
166
|
-
tabProps?: {
|
|
167
|
-
visible?: boolean;
|
|
168
|
-
};
|
|
169
|
-
style?: React.CSSProperties;
|
|
170
|
-
value?: Record<string, SelectionValue>;
|
|
171
|
-
scrollToFirstError?: boolean;
|
|
172
|
-
[key: string]: any;
|
|
173
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { SelectionValue, GroupItem } from '../types';
|
|
2
|
-
export declare type OptionEffects = Record<string, {
|
|
3
|
-
allowOnly?: Set<any>;
|
|
4
|
-
requireOneOf?: {
|
|
5
|
-
values: Set<any>;
|
|
6
|
-
message?: string;
|
|
7
|
-
};
|
|
8
|
-
}>;
|
|
9
|
-
export interface Cond {
|
|
10
|
-
groupId: string;
|
|
11
|
-
in?: any[];
|
|
12
|
-
op?: 'in' | 'notIn' | 'eq' | 'neq' | 'contains' | 'range' | 'exists';
|
|
13
|
-
value?: any;
|
|
14
|
-
values?: any[];
|
|
15
|
-
min?: number;
|
|
16
|
-
max?: number;
|
|
17
|
-
}
|
|
18
|
-
export interface Expr {
|
|
19
|
-
allOf?: Array<Cond | Expr>;
|
|
20
|
-
anyOf?: Array<Cond | Expr>;
|
|
21
|
-
noneOf?: Array<Cond | Expr>;
|
|
22
|
-
and?: Array<Cond | Expr>;
|
|
23
|
-
or?: Array<Cond | Expr>;
|
|
24
|
-
not?: Array<Cond | Expr>;
|
|
25
|
-
}
|
|
26
|
-
export interface Action {
|
|
27
|
-
type: 'show' | 'allowOnly' | 'requireOneOf';
|
|
28
|
-
groupId: string;
|
|
29
|
-
values?: any[];
|
|
30
|
-
message?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface Rule {
|
|
33
|
-
type?: 'expr';
|
|
34
|
-
when?: Expr;
|
|
35
|
-
then?: Action[];
|
|
36
|
-
elseThen?: Action[];
|
|
37
|
-
priority?: number;
|
|
38
|
-
stopAfterApply?: boolean;
|
|
39
|
-
}
|
|
40
|
-
export declare const normalizeRules: (linkageRules: any) => Rule[];
|
|
41
|
-
export declare const getSelectedSet: (val: SelectionValue) => Set<any>;
|
|
42
|
-
export declare const evaluateExpr: (expr: Expr | undefined, valuesMap: Record<string, SelectionValue>) => boolean;
|
|
43
|
-
export declare const computeAutoHiddenGroups: (rules: Rule[]) => Set<string>;
|
|
44
|
-
export declare const computeEffects: (dataSource?: GroupItem[], rawRules?: Rule[], valuesMap?: Record<string, SelectionValue>) => {
|
|
45
|
-
visibleGroups: Record<string, boolean>;
|
|
46
|
-
optionEffects: OptionEffects;
|
|
47
|
-
};
|
|
48
|
-
export declare const pruneValuesByAllowOnly: (valuesMap: Record<string, SelectionValue>, effects: OptionEffects) => Record<string, SelectionValue>;
|
|
49
|
-
export declare const generateSimpleUUID: () => string;
|