@1money/component-ui 0.0.90-alpha.4 → 0.0.90
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/es/business/Dialog/ResultDialog/ResultDialog.d.ts +3 -0
- package/es/business/Dialog/ResultDialog/ResultDialog.js +126 -0
- package/es/business/Dialog/ResultDialog/constants.d.ts +27 -0
- package/es/business/Dialog/ResultDialog/constants.js +24 -0
- package/es/business/Dialog/ResultDialog/index.d.ts +3 -0
- package/es/business/Dialog/ResultDialog/index.js +4 -0
- package/es/business/Dialog/ResultDialog/interface.d.ts +95 -0
- package/es/business/Dialog/ResultDialog/interface.js +2 -0
- package/es/business/Dialog/ResultDialog/presets.d.ts +178 -0
- package/es/business/Dialog/ResultDialog/presets.js +139 -0
- package/es/{components/Dialog/style/DialogBare.css → business/Dialog/ResultDialog/style/ResultDialog.css} +5 -10
- package/es/business/Dialog/ResultDialog/style/css.js +2 -0
- package/es/business/Dialog/ResultDialog/style/index.d.ts +1 -0
- package/es/business/Dialog/ResultDialog/style/index.js +2 -0
- package/es/business/Dialog/TransactionDialog/TransactionDialog.d.ts +3 -0
- package/es/business/Dialog/TransactionDialog/TransactionDialog.js +174 -0
- package/es/business/Dialog/TransactionDialog/constants.d.ts +34 -0
- package/es/business/Dialog/TransactionDialog/constants.js +33 -0
- package/es/business/Dialog/TransactionDialog/index.d.ts +3 -0
- package/es/business/Dialog/TransactionDialog/index.js +4 -0
- package/es/business/Dialog/TransactionDialog/interface.d.ts +116 -0
- package/es/business/Dialog/TransactionDialog/interface.js +2 -0
- package/es/business/Dialog/TransactionDialog/presets.d.ts +89 -0
- package/es/business/Dialog/TransactionDialog/presets.js +62 -0
- package/{lib/business/Dialog/FormDialog/style/FormDialog.css → es/business/Dialog/TransactionDialog/style/TransactionDialog.css} +12 -7
- package/es/business/Dialog/TransactionDialog/style/css.js +2 -0
- package/es/business/Dialog/TransactionDialog/style/index.d.ts +1 -0
- package/es/business/Dialog/TransactionDialog/style/index.js +2 -0
- package/es/business/Dialog/VerificationDialog/ResendRow.d.ts +14 -0
- package/es/business/Dialog/VerificationDialog/ResendRow.js +65 -0
- package/es/business/Dialog/VerificationDialog/VerificationDialog.js +95 -203
- package/es/business/Dialog/VerificationDialog/constants.d.ts +35 -8
- package/es/business/Dialog/VerificationDialog/constants.js +30 -8
- package/es/business/Dialog/VerificationDialog/hooks/index.d.ts +4 -0
- package/es/business/Dialog/VerificationDialog/hooks/index.js +3 -0
- package/es/business/Dialog/VerificationDialog/hooks/useOtpVerification.d.ts +50 -0
- package/es/business/Dialog/VerificationDialog/hooks/useOtpVerification.js +138 -0
- package/es/business/Dialog/VerificationDialog/hooks/useResendCountdown.d.ts +26 -0
- package/es/business/Dialog/VerificationDialog/hooks/useResendCountdown.js +103 -0
- package/es/business/Dialog/VerificationDialog/index.d.ts +1 -2
- package/es/business/Dialog/VerificationDialog/index.js +2 -3
- package/es/business/Dialog/VerificationDialog/interface.d.ts +106 -42
- package/es/business/Dialog/VerificationDialog/interface.js +1 -1
- package/es/business/Dialog/VerificationDialog/style/VerificationDialog.css +6 -19
- package/es/business/Dialog/VerificationDialog/style/css.js +1 -1
- package/es/business/Dialog/VerificationDialog/style/index.js +1 -1
- package/es/business/Dialog/index.d.ts +2 -4
- package/es/business/Dialog/index.js +3 -8
- package/es/business/Filter/Account/Account.js +1 -1
- package/es/business/Filter/Account/index.js +1 -1
- package/es/business/Filter/Account/interface.js +1 -1
- package/es/business/Filter/Account/style/css.js +1 -1
- package/es/business/Filter/Account/style/index.js +1 -1
- package/es/business/Filter/Asset/Asset.js +1 -1
- package/es/business/Filter/Asset/index.js +1 -1
- package/es/business/Filter/Asset/interface.js +1 -1
- package/es/business/Filter/Asset/style/css.js +1 -1
- package/es/business/Filter/Asset/style/index.js +1 -1
- package/es/business/Filter/DateRange/DateRange.js +1 -1
- package/es/business/Filter/DateRange/index.js +1 -1
- package/es/business/Filter/DateRange/interface.js +1 -1
- package/es/business/Filter/DateRange/style/css.js +1 -1
- package/es/business/Filter/DateRange/style/index.js +1 -1
- package/es/business/Filter/Option/Option.js +1 -1
- package/es/business/Filter/Option/index.js +1 -1
- package/es/business/Filter/Option/interface.js +1 -1
- package/es/business/Filter/Option/style/css.js +1 -1
- package/es/business/Filter/Option/style/index.js +1 -1
- package/es/business/Filter/index.js +1 -1
- package/es/business/Select/Asset/AssetSelect.js +1 -1
- package/es/business/Select/Asset/index.js +1 -1
- package/es/business/Select/Asset/interface.js +1 -1
- package/es/business/Select/Asset/style/css.js +1 -1
- package/es/business/Select/Asset/style/index.js +1 -1
- package/es/business/Select/Country/CountrySelect.js +1 -1
- package/es/business/Select/Country/index.js +1 -1
- package/es/business/Select/Country/interface.js +1 -1
- package/es/business/Select/Currency/CurrencySelect.js +1 -1
- package/es/business/Select/Currency/index.js +1 -1
- package/es/business/Select/Currency/interface.js +1 -1
- package/es/business/Select/Currency/style/css.js +1 -1
- package/es/business/Select/Currency/style/index.js +1 -1
- package/es/business/Select/Network/NetworkSelect.js +8 -2
- package/es/business/Select/Network/index.js +1 -1
- package/es/business/Select/Network/interface.d.ts +1 -1
- package/es/business/Select/Network/interface.js +1 -1
- package/es/business/Select/Network/style/css.js +1 -1
- package/es/business/Select/Network/style/index.js +1 -1
- package/es/business/Select/PaymentMethod/PaymentMethodSelect.js +1 -1
- package/es/business/Select/PaymentMethod/index.js +1 -1
- package/es/business/Select/PaymentMethod/interface.js +1 -1
- package/es/business/Select/PaymentMethod/style/css.js +1 -1
- package/es/business/Select/PaymentMethod/style/index.js +1 -1
- package/es/business/Select/index.js +1 -1
- package/es/business/index.d.ts +0 -3
- package/es/business/index.js +1 -3
- package/es/components/Accordion/Accordion.js +1 -1
- package/es/components/Accordion/constants.js +1 -1
- package/es/components/Accordion/index.js +1 -1
- package/es/components/Accordion/interface.js +1 -1
- package/es/components/Accordion/style/css.js +1 -1
- package/es/components/Accordion/style/index.js +1 -1
- package/es/components/Alert/Alert.js +1 -1
- package/es/components/Alert/index.js +1 -1
- package/es/components/Alert/interface.js +1 -1
- package/es/components/Alert/style/css.js +1 -1
- package/es/components/Alert/style/index.js +1 -1
- package/es/components/Button/Button.js +1 -1
- package/es/components/Button/constants.js +1 -1
- package/es/components/Button/index.js +1 -1
- package/es/components/Button/interface.js +1 -1
- package/es/components/Button/style/css.js +1 -1
- package/es/components/Button/style/index.js +1 -1
- package/es/components/Calendar/Calendar.js +1 -1
- package/es/components/Calendar/constants.js +1 -1
- package/es/components/Calendar/index.js +1 -1
- package/es/components/Calendar/interface.js +1 -1
- package/es/components/Calendar/style/css.js +1 -1
- package/es/components/Calendar/style/index.js +1 -1
- package/es/components/Carousel/Carousel.js +1 -1
- package/es/components/Carousel/index.js +1 -1
- package/es/components/Carousel/interface.js +1 -1
- package/es/components/Carousel/style/css.js +1 -1
- package/es/components/Carousel/style/index.js +1 -1
- package/es/components/Cell/Cell.js +1 -1
- package/es/components/Cell/index.js +1 -1
- package/es/components/Cell/interface.js +1 -1
- package/es/components/Cell/style/css.js +1 -1
- package/es/components/Cell/style/index.js +1 -1
- package/es/components/Checkbox/BaseCheckbox.js +1 -1
- package/es/components/Checkbox/Checkbox.js +1 -1
- package/es/components/Checkbox/CheckboxGroup.js +1 -1
- package/es/components/Checkbox/CheckboxGroupContext.js +1 -1
- package/es/components/Checkbox/constants.js +1 -1
- package/es/components/Checkbox/index.js +1 -1
- package/es/components/Checkbox/interface.js +1 -1
- package/es/components/Checkbox/style/css.js +1 -1
- package/es/components/Checkbox/style/index.js +1 -1
- package/es/components/CoachMark/CoachMark.js +1 -1
- package/es/components/CoachMark/index.js +1 -1
- package/es/components/CoachMark/interface.js +1 -1
- package/es/components/CoachMark/style/css.js +1 -1
- package/es/components/CoachMark/style/index.js +1 -1
- package/es/components/Copy/Clipboard.js +1 -1
- package/es/components/Copy/Copy.js +1 -1
- package/es/components/Copy/index.js +1 -1
- package/es/components/Copy/interface.js +1 -1
- package/es/components/Copy/style/css.js +1 -1
- package/es/components/Copy/style/index.js +1 -1
- package/es/components/Dialog/Dialog.js +6 -8
- package/es/components/Dialog/DialogContent.js +1 -1
- package/es/components/Dialog/DialogControls.js +1 -1
- package/es/components/Dialog/className.js +1 -1
- package/es/components/Dialog/constants.js +1 -1
- package/es/components/Dialog/hooks.js +1 -1
- package/es/components/Dialog/index.js +1 -1
- package/es/components/Dialog/interface.d.ts +0 -7
- package/es/components/Dialog/interface.js +1 -1
- package/es/components/Dialog/style/Dialog.css +4 -4
- package/es/components/Dialog/style/css.js +1 -2
- package/es/components/Dialog/style/index.d.ts +0 -1
- package/es/components/Dialog/style/index.js +1 -2
- package/es/components/Dialog/types.js +1 -1
- package/es/components/Divider/Divider.js +1 -1
- package/es/components/Divider/constants.js +1 -1
- package/es/components/Divider/index.js +1 -1
- package/es/components/Divider/interface.js +1 -1
- package/es/components/Divider/style/css.js +1 -1
- package/es/components/Divider/style/index.js +1 -1
- package/es/components/Drawer/Drawer.js +1 -1
- package/es/components/Drawer/constants.js +1 -1
- package/es/components/Drawer/hooks/index.js +1 -1
- package/es/components/Drawer/hooks/useBodyScrollLock.js +1 -1
- package/es/components/Drawer/hooks/useDialogFocus.js +1 -1
- package/es/components/Drawer/hooks/useDrawerTransition.js +1 -1
- package/es/components/Drawer/hooks/useEscapeClose.js +1 -1
- package/es/components/Drawer/index.js +1 -1
- package/es/components/Drawer/interface.js +1 -1
- package/es/components/Drawer/style/css.js +1 -1
- package/es/components/Drawer/style/index.js +1 -1
- package/es/components/Dropdown/Dropdown.js +1 -1
- package/es/components/Dropdown/index.js +1 -1
- package/es/components/Dropdown/interface.js +1 -1
- package/es/components/Dropdown/style/css.js +1 -1
- package/es/components/Dropdown/style/index.js +1 -1
- package/es/components/Empty/Empty.js +1 -1
- package/es/components/Empty/index.js +1 -1
- package/es/components/Empty/interface.js +1 -1
- package/es/components/Empty/style/css.js +1 -1
- package/es/components/Empty/style/index.js +1 -1
- package/es/components/Filter/Filter.js +1 -1
- package/es/components/Filter/index.js +1 -1
- package/es/components/Filter/interface.js +1 -1
- package/es/components/Filter/style/css.js +1 -1
- package/es/components/Filter/style/index.js +1 -1
- package/es/components/Flex/Flex.js +1 -1
- package/es/components/Flex/constants.js +1 -1
- package/es/components/Flex/index.js +1 -1
- package/es/components/Flex/interface.js +1 -1
- package/es/components/Flex/style/css.js +1 -1
- package/es/components/Flex/style/index.js +1 -1
- package/es/components/Grid/Col.d.ts +0 -1
- package/es/components/Grid/Col.js +1 -2
- package/es/components/Grid/Grid.js +1 -1
- package/es/components/Grid/Row.d.ts +0 -1
- package/es/components/Grid/Row.js +1 -2
- package/es/components/Grid/constants.js +1 -1
- package/es/components/Grid/helper.js +1 -1
- package/es/components/Grid/index.js +1 -1
- package/es/components/Grid/interface.js +1 -1
- package/es/components/Grid/style/css.js +1 -1
- package/es/components/Grid/style/index.js +1 -1
- package/es/components/Icons/Icons.js +1 -1
- package/es/components/Icons/Illustrations.js +1 -1
- package/es/components/Icons/Logo.js +1 -1
- package/es/components/Icons/SVGs.js +1 -1
- package/es/components/Icons/Wrapper.js +1 -1
- package/es/components/Icons/constants.js +1 -1
- package/es/components/Icons/index.js +1 -1
- package/es/components/Icons/interface.js +1 -1
- package/es/components/Icons/style/css.js +1 -1
- package/es/components/Icons/style/index.js +1 -1
- package/es/components/Input/Amount/Amount.js +1 -1
- package/es/components/Input/Amount/helper.js +1 -1
- package/es/components/Input/Amount/index.js +1 -1
- package/es/components/Input/Amount/style/css.js +1 -1
- package/es/components/Input/Amount/style/index.js +1 -1
- package/es/components/Input/FieldShell/FieldShell.js +1 -1
- package/es/components/Input/FieldShell/index.js +1 -1
- package/es/components/Input/Input/Input.js +3 -8
- package/es/components/Input/Input/index.js +1 -1
- package/es/components/Input/Mask/Mask.js +1 -1
- package/es/components/Input/Mask/index.js +1 -1
- package/es/components/Input/OTP/OTP.js +1 -1
- package/es/components/Input/OTP/index.js +1 -1
- package/es/components/Input/Password/Password.js +1 -1
- package/es/components/Input/Password/index.js +1 -1
- package/es/components/Input/Search/Search.js +1 -1
- package/es/components/Input/Search/index.js +1 -1
- package/es/components/Input/TextArea/TextArea.js +1 -1
- package/es/components/Input/TextArea/index.js +1 -1
- package/es/components/Input/Trade/Trade.js +1 -1
- package/es/components/Input/Trade/index.js +1 -1
- package/es/components/Input/constants.js +1 -1
- package/es/components/Input/index.js +1 -1
- package/es/components/Input/interface.js +1 -1
- package/es/components/Input/style/css.js +1 -1
- package/es/components/Input/style/index.js +1 -1
- package/es/components/Input/useAmountInput.js +1 -1
- package/es/components/Input/useSyncRef.js +1 -1
- package/es/components/Link/Link.js +1 -1
- package/es/components/Link/constants.js +1 -1
- package/es/components/Link/index.js +1 -1
- package/es/components/Link/interface.js +1 -1
- package/es/components/Link/style/css.js +1 -1
- package/es/components/Link/style/index.js +1 -1
- package/es/components/Navigation/Nav.js +1 -1
- package/es/components/Navigation/Navigation.js +1 -1
- package/es/components/Navigation/NavigationLogo.js +1 -1
- package/es/components/Navigation/NavigationStepper.js +1 -1
- package/es/components/Navigation/index.js +1 -1
- package/es/components/Navigation/interface.js +1 -1
- package/es/components/Navigation/style/css.js +1 -1
- package/es/components/Navigation/style/index.js +1 -1
- package/es/components/Notification/Notification.js +1 -1
- package/es/components/Notification/NotificationStatic.js +1 -1
- package/es/components/Notification/constants.js +1 -1
- package/es/components/Notification/index.js +1 -1
- package/es/components/Notification/interface.js +1 -1
- package/es/components/Notification/style/css.js +1 -1
- package/es/components/Notification/style/index.js +1 -1
- package/es/components/Pagination/Pagination.js +1 -1
- package/es/components/Pagination/constants.js +1 -1
- package/es/components/Pagination/index.js +1 -1
- package/es/components/Pagination/interface.js +1 -1
- package/es/components/Pagination/style/css.js +1 -1
- package/es/components/Pagination/style/index.js +1 -1
- package/es/components/Pagination/usePagination.js +1 -1
- package/es/components/Popconfirm/Popconfirm.js +1 -1
- package/es/components/Popconfirm/constants.js +1 -1
- package/es/components/Popconfirm/index.js +1 -1
- package/es/components/Popconfirm/interface.js +1 -1
- package/es/components/Popconfirm/style/css.js +1 -1
- package/es/components/Popconfirm/style/index.js +1 -1
- package/es/components/Portal/Portal.js +1 -1
- package/es/components/Portal/index.js +1 -1
- package/es/components/Portal/interface.js +1 -1
- package/es/components/ProForm/ProForm.js +1 -1
- package/es/components/ProForm/ProFormDependency.js +1 -1
- package/es/components/ProForm/ProFormGroup.js +1 -1
- package/es/components/ProForm/ProFormItem.js +1 -1
- package/es/components/ProForm/ProFormList.js +1 -1
- package/es/components/ProForm/SchemaForm.js +1 -1
- package/es/components/ProForm/Submitter.js +1 -1
- package/es/components/ProForm/constants.js +1 -1
- package/es/components/ProForm/context.js +1 -1
- package/es/components/ProForm/core/constants.js +1 -1
- package/es/components/ProForm/core/devWarning.js +1 -1
- package/es/components/ProForm/core/formStore.js +1 -1
- package/es/components/ProForm/core/hooks/useForm.js +1 -1
- package/es/components/ProForm/core/hooks/useFormCore.js +1 -1
- package/es/components/ProForm/core/index.js +1 -1
- package/es/components/ProForm/core/interface.js +1 -1
- package/es/components/ProForm/core/namePathType.js +1 -1
- package/es/components/ProForm/core/pathUtils.js +1 -1
- package/es/components/ProForm/core/runRules.js +1 -1
- package/es/components/ProForm/core/useFormItem.js +1 -1
- package/es/components/ProForm/core/validationError.js +1 -1
- package/es/components/ProForm/fields/ProFormCheckbox.js +1 -1
- package/es/components/ProForm/fields/ProFormCheckboxGroup.js +1 -1
- package/es/components/ProForm/fields/ProFormDatePicker.js +1 -1
- package/es/components/ProForm/fields/ProFormFieldSet.js +1 -1
- package/es/components/ProForm/fields/ProFormPassword.js +1 -1
- package/es/components/ProForm/fields/ProFormRadioGroup.js +1 -1
- package/es/components/ProForm/fields/ProFormSelect.js +1 -1
- package/es/components/ProForm/fields/ProFormSlider.js +1 -1
- package/es/components/ProForm/fields/ProFormSwitch.js +1 -1
- package/es/components/ProForm/fields/ProFormText.js +1 -1
- package/es/components/ProForm/fields/ProFormTextArea.js +1 -1
- package/es/components/ProForm/fields/ProFormUpload.js +1 -1
- package/es/components/ProForm/fields/createProFormField.js +1 -1
- package/es/components/ProForm/fields/index.js +1 -1
- package/es/components/ProForm/hooks/useFieldRequest.js +1 -1
- package/es/components/ProForm/hooks/useUrlSync.js +1 -1
- package/es/components/ProForm/index.js +1 -1
- package/es/components/ProForm/interface.js +1 -1
- package/es/components/ProForm/layouts/DialogForm.js +1 -1
- package/es/components/ProForm/layouts/DrawerForm.js +1 -1
- package/es/components/ProForm/layouts/QueryFilter.js +1 -1
- package/es/components/ProForm/layouts/index.js +1 -1
- package/es/components/ProForm/layouts/useOverlayForm.js +1 -1
- package/es/components/ProForm/style/css.js +1 -1
- package/es/components/ProForm/style/index.js +1 -1
- package/es/components/ProForm/utils.js +1 -1
- package/es/components/ProTable/ProTable.js +1 -1
- package/es/components/ProTable/constants.js +1 -1
- package/es/components/ProTable/core/genColumns.js +1 -1
- package/es/components/ProTable/core/genSearchFields.js +1 -1
- package/es/components/ProTable/core/useAwaitableReload.js +1 -1
- package/es/components/ProTable/core/utils.js +1 -1
- package/es/components/ProTable/index.js +1 -1
- package/es/components/ProTable/interface.js +1 -1
- package/es/components/ProTable/style/css.js +1 -1
- package/es/components/ProTable/style/index.js +1 -1
- package/es/components/ProTable/useFetchData.js +1 -1
- package/es/components/Progress/Progress.js +1 -1
- package/es/components/Progress/constants.js +1 -1
- package/es/components/Progress/index.js +1 -1
- package/es/components/Progress/interface.js +1 -1
- package/es/components/Progress/style/css.js +1 -1
- package/es/components/Progress/style/index.js +1 -1
- package/es/components/Radio/BaseRadio.js +1 -1
- package/es/components/Radio/Radio.js +1 -1
- package/es/components/Radio/RadioGroup.js +1 -1
- package/es/components/Radio/RadioGroupContext.js +1 -1
- package/es/components/Radio/constants.js +1 -1
- package/es/components/Radio/index.js +1 -1
- package/es/components/Radio/interface.js +1 -1
- package/es/components/Radio/style/css.js +1 -1
- package/es/components/Radio/style/index.js +1 -1
- package/es/components/ResizeObserver/Collection.js +1 -1
- package/es/components/ResizeObserver/ResizeObserver.js +1 -1
- package/es/components/ResizeObserver/SingleObserver/index.js +1 -1
- package/es/components/ResizeObserver/index.js +1 -1
- package/es/components/ResizeObserver/interface.js +1 -1
- package/es/components/ResizeObserver/useResizeObserver.js +1 -1
- package/es/components/ResizeObserver/utils/observerUtil.js +1 -1
- package/es/components/ResizeObserver/utils/reactUtil.js +1 -1
- package/es/components/Segment/Segment.js +1 -1
- package/es/components/Segment/index.js +1 -1
- package/es/components/Segment/interface.js +1 -1
- package/es/components/Segment/style/css.js +1 -1
- package/es/components/Segment/style/index.js +1 -1
- package/es/components/Select/Select.js +3 -8
- package/es/components/Select/SelectCustom.js +1 -1
- package/es/components/Select/SelectFieldShell.js +1 -1
- package/es/components/Select/SelectOptionContent.js +1 -1
- package/es/components/Select/SelectSearchControl.js +1 -1
- package/es/components/Select/SelectValueContent.js +1 -1
- package/es/components/Select/constants.js +1 -1
- package/es/components/Select/index.js +1 -1
- package/es/components/Select/interface.js +1 -1
- package/es/components/Select/style/css.js +1 -1
- package/es/components/Select/style/index.js +1 -1
- package/es/components/Select/useSelectShell.js +1 -1
- package/es/components/Select/utils.js +1 -1
- package/es/components/Skeleton/Skeleton.js +1 -1
- package/es/components/Skeleton/index.js +1 -1
- package/es/components/Skeleton/interface.js +1 -1
- package/es/components/Skeleton/style/css.js +1 -1
- package/es/components/Skeleton/style/index.js +1 -1
- package/es/components/Slider/Slider.js +1 -1
- package/es/components/Slider/index.js +1 -1
- package/es/components/Slider/interface.js +1 -1
- package/es/components/Slider/style/css.js +1 -1
- package/es/components/Slider/style/index.js +1 -1
- package/es/components/Space/Space.js +1 -1
- package/es/components/Space/constants.js +1 -1
- package/es/components/Space/index.js +1 -1
- package/es/components/Space/interface.js +1 -1
- package/es/components/Space/style/css.js +1 -1
- package/es/components/Space/style/index.js +1 -1
- package/es/components/Spinner/Spinner.js +1 -1
- package/es/components/Spinner/index.js +1 -1
- package/es/components/Spinner/interface.js +1 -1
- package/es/components/Spinner/style/css.js +1 -1
- package/es/components/Spinner/style/index.js +1 -1
- package/es/components/Step/Step.js +1 -1
- package/es/components/Step/constants.js +1 -1
- package/es/components/Step/index.js +1 -1
- package/es/components/Step/interface.js +1 -1
- package/es/components/Step/style/css.js +1 -1
- package/es/components/Step/style/index.js +1 -1
- package/es/components/Switch/Switch.js +1 -1
- package/es/components/Switch/constants.js +1 -1
- package/es/components/Switch/index.js +1 -1
- package/es/components/Switch/interface.js +1 -1
- package/es/components/Switch/style/css.js +1 -1
- package/es/components/Switch/style/index.js +1 -1
- package/es/components/Table/Table.js +1 -1
- package/es/components/Table/VirtualTable.js +1 -1
- package/es/components/Table/constants.js +1 -1
- package/es/components/Table/core/columnUtil.js +1 -1
- package/es/components/Table/core/useTableColumns.js +1 -1
- package/es/components/Table/core/useTableDataPipeline.js +1 -1
- package/es/components/Table/core/useTableExpand.js +1 -1
- package/es/components/Table/core/useTableSelection.js +1 -1
- package/es/components/Table/core/useTableSetup.js +1 -1
- package/es/components/Table/features/ExpandTrigger.js +1 -1
- package/es/components/Table/features/FilterTrigger.js +1 -1
- package/es/components/Table/features/SelectionColumn.js +1 -1
- package/es/components/Table/features/SortTrigger.js +1 -1
- package/es/components/Table/index.js +1 -1
- package/es/components/Table/interface.js +1 -1
- package/es/components/Table/internal/index.js +1 -1
- package/es/components/Table/internal/kernel/Body/BodyRow.js +1 -1
- package/es/components/Table/internal/kernel/Body/ExpandedRow.js +1 -1
- package/es/components/Table/internal/kernel/Body/MeasureCell.js +1 -1
- package/es/components/Table/internal/kernel/Body/MeasureRow.js +1 -1
- package/es/components/Table/internal/kernel/Body/index.js +1 -1
- package/es/components/Table/internal/kernel/Cell/index.js +1 -1
- package/es/components/Table/internal/kernel/Cell/useCellRender.js +1 -1
- package/es/components/Table/internal/kernel/Cell/useHoverState.js +1 -1
- package/es/components/Table/internal/kernel/ColGroup.js +1 -1
- package/es/components/Table/internal/kernel/FixedHolder/index.js +1 -1
- package/es/components/Table/internal/kernel/Footer/Cell.js +1 -1
- package/es/components/Table/internal/kernel/Footer/Row.js +1 -1
- package/es/components/Table/internal/kernel/Footer/Summary.js +1 -1
- package/es/components/Table/internal/kernel/Footer/SummaryContext.js +1 -1
- package/es/components/Table/internal/kernel/Footer/index.js +1 -1
- package/es/components/Table/internal/kernel/Header/Header.js +1 -1
- package/es/components/Table/internal/kernel/Header/HeaderRow.js +1 -1
- package/es/components/Table/internal/kernel/Panel/index.js +1 -1
- package/es/components/Table/internal/kernel/Table.js +1 -1
- package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +1 -1
- package/es/components/Table/internal/kernel/VirtualTable/BodyLine.js +1 -1
- package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.js +1 -1
- package/es/components/Table/internal/kernel/VirtualTable/context.js +1 -1
- package/es/components/Table/internal/kernel/VirtualTable/index.js +1 -1
- package/es/components/Table/internal/kernel/constant.js +1 -1
- package/es/components/Table/internal/kernel/context/PerfContext.js +1 -1
- package/es/components/Table/internal/kernel/context/TableContext.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useColumns/index.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useExpand.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useFixedInfo.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useFlattenRecords.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useFrame.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useHover.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useRenderTimes.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useRowInfo.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useSticky.js +1 -1
- package/es/components/Table/internal/kernel/hooks/useStickyOffsets.js +1 -1
- package/es/components/Table/internal/kernel/index.js +1 -1
- package/es/components/Table/internal/kernel/interface.js +1 -1
- package/es/components/Table/internal/kernel/namePathType.js +1 -1
- package/es/components/Table/internal/kernel/selector-context/Immutable.js +1 -1
- package/es/components/Table/internal/kernel/selector-context/context.js +1 -1
- package/es/components/Table/internal/kernel/selector-context/index.js +1 -1
- package/es/components/Table/internal/kernel/selector-context/isEqual.js +1 -1
- package/es/components/Table/internal/kernel/stickyScrollBar.js +1 -1
- package/es/components/Table/internal/kernel/sugar/Column.js +1 -1
- package/es/components/Table/internal/kernel/sugar/ColumnGroup.js +1 -1
- package/es/components/Table/internal/kernel/utils/dom/canUseDom.js +1 -1
- package/es/components/Table/internal/kernel/utils/dom/isVisible.js +1 -1
- package/es/components/Table/internal/kernel/utils/expandUtil.js +1 -1
- package/es/components/Table/internal/kernel/utils/fixUtil.js +1 -1
- package/es/components/Table/internal/kernel/utils/get.js +1 -1
- package/es/components/Table/internal/kernel/utils/getScrollBarSize.js +1 -1
- package/es/components/Table/internal/kernel/utils/legacyUtil.js +1 -1
- package/es/components/Table/internal/kernel/utils/offsetUtil.js +1 -1
- package/es/components/Table/internal/kernel/utils/pickAttrs.js +1 -1
- package/es/components/Table/internal/kernel/utils/useMemo.js +1 -1
- package/es/components/Table/internal/kernel/utils/valueUtil.js +1 -1
- package/es/components/Table/internal/kernel/utils/warning.js +1 -1
- package/es/components/Table/renderers/BodyCell.js +1 -1
- package/es/components/Table/renderers/CellContent.js +1 -1
- package/es/components/Table/renderers/EmptyState.js +1 -1
- package/es/components/Table/renderers/ExpandedRowContainer.js +1 -1
- package/es/components/Table/renderers/HeaderCell.js +1 -1
- package/es/components/Table/renderers/TableShell.js +1 -1
- package/es/components/Table/style/css.js +1 -1
- package/es/components/Table/style/index.js +1 -1
- package/es/components/Tabs/Tabs.js +1 -1
- package/es/components/Tabs/index.js +1 -1
- package/es/components/Tabs/interface.js +1 -1
- package/es/components/Tabs/style/css.js +1 -1
- package/es/components/Tabs/style/index.js +1 -1
- package/es/components/Tag/Tag.js +1 -1
- package/es/components/Tag/constants.js +1 -1
- package/es/components/Tag/index.js +1 -1
- package/es/components/Tag/interface.js +1 -1
- package/es/components/Tag/style/css.js +1 -1
- package/es/components/Tag/style/index.js +1 -1
- package/es/components/Tooltip/Tooltip.js +1 -1
- package/es/components/Tooltip/index.js +1 -1
- package/es/components/Tooltip/interface.js +1 -1
- package/es/components/Tooltip/style/css.js +1 -1
- package/es/components/Tooltip/style/index.js +1 -1
- package/es/components/Tour/Tour.js +1 -1
- package/es/components/Tour/index.js +1 -1
- package/es/components/Tour/interface.js +1 -1
- package/es/components/Trigger/Trigger.js +1 -1
- package/es/components/Trigger/index.js +1 -1
- package/es/components/Trigger/interface.js +1 -1
- package/es/components/Trigger/style/css.js +1 -1
- package/es/components/Trigger/style/index.js +1 -1
- package/es/components/Typography/Typography.js +1 -1
- package/es/components/Typography/constants.js +1 -1
- package/es/components/Typography/index.js +1 -1
- package/es/components/Typography/interface.js +1 -1
- package/es/components/Typography/render.js +1 -1
- package/es/components/Typography/style/css.js +1 -1
- package/es/components/Typography/style/index.js +1 -1
- package/es/components/Typography/useTypographyEnhancements.js +1 -1
- package/es/components/Typography/utils.js +1 -1
- package/es/components/Upload/Upload.js +1 -1
- package/es/components/Upload/UploadFileBar.js +1 -1
- package/es/components/Upload/index.js +1 -1
- package/es/components/Upload/interface.js +1 -1
- package/es/components/Upload/style/css.js +1 -1
- package/es/components/Upload/style/index.js +1 -1
- package/es/components/VirtualList/Filler.js +1 -1
- package/es/components/VirtualList/Item.js +1 -1
- package/es/components/VirtualList/ScrollBar.js +1 -1
- package/es/components/VirtualList/VirtualList.js +1 -1
- package/es/components/VirtualList/constants.js +1 -1
- package/es/components/VirtualList/hooks/useChildren.js +1 -1
- package/es/components/VirtualList/hooks/useDiffItem.js +1 -1
- package/es/components/VirtualList/hooks/useFrameWheel.js +1 -1
- package/es/components/VirtualList/hooks/useGetSize.js +1 -1
- package/es/components/VirtualList/hooks/useHeights.js +1 -1
- package/es/components/VirtualList/hooks/useMobileTouchMove.js +1 -1
- package/es/components/VirtualList/hooks/useOriginScroll.js +1 -1
- package/es/components/VirtualList/hooks/useScrollDrag.js +1 -1
- package/es/components/VirtualList/hooks/useScrollTo.js +1 -1
- package/es/components/VirtualList/index.js +1 -1
- package/es/components/VirtualList/interface.js +1 -1
- package/es/components/VirtualList/style/css.js +1 -1
- package/es/components/VirtualList/style/index.js +1 -1
- package/es/components/VirtualList/utils/CacheMap.js +1 -1
- package/es/components/VirtualList/utils/algorithmUtil.js +1 -1
- package/es/components/VirtualList/utils/isFirefox.js +1 -1
- package/es/components/VirtualList/utils/raf.js +1 -1
- package/es/components/VirtualList/utils/scrollbarUtil.js +1 -1
- package/es/hooks/index.js +1 -1
- package/es/hooks/useFloatingAnimation.js +1 -1
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -5
- package/es/index.js +1 -3
- package/es/stories/docs/ComponentDocsPage.js +1 -1
- package/es/stories/docs/componentDocMeta.js +1 -1
- package/es/utils/classnames.js +1 -1
- package/es/utils/clipboard.js +1 -1
- package/es/utils/devWarn.js +1 -1
- package/es/utils/ref.js +1 -1
- package/es/utils/uuid.js +1 -1
- package/lib/business/Dialog/ResultDialog/ResultDialog.d.ts +3 -0
- package/lib/business/Dialog/ResultDialog/ResultDialog.js +132 -0
- package/lib/business/Dialog/ResultDialog/constants.d.ts +27 -0
- package/lib/business/Dialog/ResultDialog/constants.js +30 -0
- package/lib/business/Dialog/ResultDialog/index.d.ts +3 -0
- package/lib/business/Dialog/ResultDialog/index.js +40 -0
- package/lib/business/Dialog/ResultDialog/interface.d.ts +95 -0
- package/lib/business/Dialog/ResultDialog/interface.js +6 -0
- package/lib/business/Dialog/ResultDialog/presets.d.ts +178 -0
- package/lib/business/Dialog/ResultDialog/presets.js +145 -0
- package/lib/{components/Dialog/style/DialogBare.css → business/Dialog/ResultDialog/style/ResultDialog.css} +5 -10
- package/lib/business/Dialog/ResultDialog/style/css.js +4 -0
- package/lib/business/Dialog/ResultDialog/style/index.d.ts +1 -0
- package/lib/business/Dialog/ResultDialog/style/index.js +4 -0
- package/lib/business/Dialog/TransactionDialog/TransactionDialog.d.ts +3 -0
- package/lib/business/Dialog/TransactionDialog/TransactionDialog.js +180 -0
- package/lib/business/Dialog/TransactionDialog/constants.d.ts +34 -0
- package/lib/business/Dialog/TransactionDialog/constants.js +39 -0
- package/lib/business/Dialog/TransactionDialog/index.d.ts +3 -0
- package/lib/business/Dialog/TransactionDialog/index.js +40 -0
- package/lib/business/Dialog/TransactionDialog/interface.d.ts +116 -0
- package/lib/business/Dialog/TransactionDialog/interface.js +6 -0
- package/lib/business/Dialog/TransactionDialog/presets.d.ts +89 -0
- package/lib/business/Dialog/TransactionDialog/presets.js +68 -0
- package/{es/business/Dialog/FormDialog/style/FormDialog.css → lib/business/Dialog/TransactionDialog/style/TransactionDialog.css} +12 -7
- package/lib/business/Dialog/TransactionDialog/style/css.js +4 -0
- package/lib/business/Dialog/TransactionDialog/style/index.d.ts +1 -0
- package/lib/business/Dialog/TransactionDialog/style/index.js +4 -0
- package/lib/business/Dialog/VerificationDialog/ResendRow.d.ts +14 -0
- package/lib/business/Dialog/VerificationDialog/ResendRow.js +71 -0
- package/lib/business/Dialog/VerificationDialog/VerificationDialog.js +92 -204
- package/lib/business/Dialog/VerificationDialog/constants.d.ts +35 -8
- package/lib/business/Dialog/VerificationDialog/constants.js +31 -9
- package/lib/business/Dialog/VerificationDialog/hooks/index.d.ts +4 -0
- package/lib/business/Dialog/VerificationDialog/hooks/index.js +20 -0
- package/lib/business/Dialog/VerificationDialog/hooks/useOtpVerification.d.ts +50 -0
- package/lib/business/Dialog/VerificationDialog/hooks/useOtpVerification.js +145 -0
- package/lib/business/Dialog/VerificationDialog/hooks/useResendCountdown.d.ts +26 -0
- package/lib/business/Dialog/VerificationDialog/hooks/useResendCountdown.js +110 -0
- package/lib/business/Dialog/VerificationDialog/index.d.ts +1 -2
- package/lib/business/Dialog/VerificationDialog/index.js +17 -4
- package/lib/business/Dialog/VerificationDialog/interface.d.ts +106 -42
- package/lib/business/Dialog/VerificationDialog/interface.js +1 -1
- package/lib/business/Dialog/VerificationDialog/style/VerificationDialog.css +6 -19
- package/lib/business/Dialog/VerificationDialog/style/css.js +1 -1
- package/lib/business/Dialog/VerificationDialog/style/index.js +1 -1
- package/lib/business/Dialog/index.d.ts +2 -4
- package/lib/business/Dialog/index.js +9 -31
- package/lib/business/Filter/Account/Account.js +1 -1
- package/lib/business/Filter/Account/index.js +1 -1
- package/lib/business/Filter/Account/interface.js +1 -1
- package/lib/business/Filter/Account/style/css.js +1 -1
- package/lib/business/Filter/Account/style/index.js +1 -1
- package/lib/business/Filter/Asset/Asset.js +1 -1
- package/lib/business/Filter/Asset/index.js +1 -1
- package/lib/business/Filter/Asset/interface.js +1 -1
- package/lib/business/Filter/Asset/style/css.js +1 -1
- package/lib/business/Filter/Asset/style/index.js +1 -1
- package/lib/business/Filter/DateRange/DateRange.js +1 -1
- package/lib/business/Filter/DateRange/index.js +1 -1
- package/lib/business/Filter/DateRange/interface.js +1 -1
- package/lib/business/Filter/DateRange/style/css.js +1 -1
- package/lib/business/Filter/DateRange/style/index.js +1 -1
- package/lib/business/Filter/Option/Option.js +1 -1
- package/lib/business/Filter/Option/index.js +1 -1
- package/lib/business/Filter/Option/interface.js +1 -1
- package/lib/business/Filter/Option/style/css.js +1 -1
- package/lib/business/Filter/Option/style/index.js +1 -1
- package/lib/business/Filter/index.js +1 -1
- package/lib/business/Select/Asset/AssetSelect.js +1 -1
- package/lib/business/Select/Asset/index.js +1 -1
- package/lib/business/Select/Asset/interface.js +1 -1
- package/lib/business/Select/Asset/style/css.js +1 -1
- package/lib/business/Select/Asset/style/index.js +1 -1
- package/lib/business/Select/Country/CountrySelect.js +1 -1
- package/lib/business/Select/Country/index.js +1 -1
- package/lib/business/Select/Country/interface.js +1 -1
- package/lib/business/Select/Currency/CurrencySelect.js +1 -1
- package/lib/business/Select/Currency/index.js +1 -1
- package/lib/business/Select/Currency/interface.js +1 -1
- package/lib/business/Select/Currency/style/css.js +1 -1
- package/lib/business/Select/Currency/style/index.js +1 -1
- package/lib/business/Select/Network/NetworkSelect.js +8 -2
- package/lib/business/Select/Network/index.js +1 -1
- package/lib/business/Select/Network/interface.d.ts +1 -1
- package/lib/business/Select/Network/interface.js +1 -1
- package/lib/business/Select/Network/style/css.js +1 -1
- package/lib/business/Select/Network/style/index.js +1 -1
- package/lib/business/Select/PaymentMethod/PaymentMethodSelect.js +1 -1
- package/lib/business/Select/PaymentMethod/index.js +1 -1
- package/lib/business/Select/PaymentMethod/interface.js +1 -1
- package/lib/business/Select/PaymentMethod/style/css.js +1 -1
- package/lib/business/Select/PaymentMethod/style/index.js +1 -1
- package/lib/business/Select/index.js +1 -1
- package/lib/business/index.d.ts +0 -3
- package/lib/business/index.js +1 -27
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/constants.js +1 -1
- package/lib/components/Accordion/index.js +1 -1
- package/lib/components/Accordion/interface.js +1 -1
- package/lib/components/Accordion/style/css.js +1 -1
- package/lib/components/Accordion/style/index.js +1 -1
- package/lib/components/Alert/Alert.js +1 -1
- package/lib/components/Alert/index.js +1 -1
- package/lib/components/Alert/interface.js +1 -1
- package/lib/components/Alert/style/css.js +1 -1
- package/lib/components/Alert/style/index.js +1 -1
- package/lib/components/Button/Button.js +1 -1
- package/lib/components/Button/constants.js +1 -1
- package/lib/components/Button/index.js +1 -1
- package/lib/components/Button/interface.js +1 -1
- package/lib/components/Button/style/css.js +1 -1
- package/lib/components/Button/style/index.js +1 -1
- package/lib/components/Calendar/Calendar.js +1 -1
- package/lib/components/Calendar/constants.js +1 -1
- package/lib/components/Calendar/index.js +1 -1
- package/lib/components/Calendar/interface.js +1 -1
- package/lib/components/Calendar/style/css.js +1 -1
- package/lib/components/Calendar/style/index.js +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/index.js +1 -1
- package/lib/components/Carousel/interface.js +1 -1
- package/lib/components/Carousel/style/css.js +1 -1
- package/lib/components/Carousel/style/index.js +1 -1
- package/lib/components/Cell/Cell.js +1 -1
- package/lib/components/Cell/index.js +1 -1
- package/lib/components/Cell/interface.js +1 -1
- package/lib/components/Cell/style/css.js +1 -1
- package/lib/components/Cell/style/index.js +1 -1
- package/lib/components/Checkbox/BaseCheckbox.js +1 -1
- package/lib/components/Checkbox/Checkbox.js +1 -1
- package/lib/components/Checkbox/CheckboxGroup.js +1 -1
- package/lib/components/Checkbox/CheckboxGroupContext.js +1 -1
- package/lib/components/Checkbox/constants.js +1 -1
- package/lib/components/Checkbox/index.js +1 -1
- package/lib/components/Checkbox/interface.js +1 -1
- package/lib/components/Checkbox/style/css.js +1 -1
- package/lib/components/Checkbox/style/index.js +1 -1
- package/lib/components/CoachMark/CoachMark.js +1 -1
- package/lib/components/CoachMark/index.js +1 -1
- package/lib/components/CoachMark/interface.js +1 -1
- package/lib/components/CoachMark/style/css.js +1 -1
- package/lib/components/CoachMark/style/index.js +1 -1
- package/lib/components/Copy/Clipboard.js +1 -1
- package/lib/components/Copy/Copy.js +1 -1
- package/lib/components/Copy/index.js +1 -1
- package/lib/components/Copy/interface.js +1 -1
- package/lib/components/Copy/style/css.js +1 -1
- package/lib/components/Copy/style/index.js +1 -1
- package/lib/components/Dialog/Dialog.js +6 -8
- package/lib/components/Dialog/DialogContent.js +1 -1
- package/lib/components/Dialog/DialogControls.js +1 -1
- package/lib/components/Dialog/className.js +1 -1
- package/lib/components/Dialog/constants.js +1 -1
- package/lib/components/Dialog/hooks.js +1 -1
- package/lib/components/Dialog/index.js +1 -1
- package/lib/components/Dialog/interface.d.ts +0 -7
- package/lib/components/Dialog/interface.js +1 -1
- package/lib/components/Dialog/style/Dialog.css +4 -4
- package/lib/components/Dialog/style/css.js +1 -2
- package/lib/components/Dialog/style/index.d.ts +0 -1
- package/lib/components/Dialog/style/index.js +1 -2
- package/lib/components/Dialog/types.js +1 -1
- package/lib/components/Divider/Divider.js +1 -1
- package/lib/components/Divider/constants.js +1 -1
- package/lib/components/Divider/index.js +1 -1
- package/lib/components/Divider/interface.js +1 -1
- package/lib/components/Divider/style/css.js +1 -1
- package/lib/components/Divider/style/index.js +1 -1
- package/lib/components/Drawer/Drawer.js +1 -1
- package/lib/components/Drawer/constants.js +1 -1
- package/lib/components/Drawer/hooks/index.js +1 -1
- package/lib/components/Drawer/hooks/useBodyScrollLock.js +1 -1
- package/lib/components/Drawer/hooks/useDialogFocus.js +1 -1
- package/lib/components/Drawer/hooks/useDrawerTransition.js +1 -1
- package/lib/components/Drawer/hooks/useEscapeClose.js +1 -1
- package/lib/components/Drawer/index.js +1 -1
- package/lib/components/Drawer/interface.js +1 -1
- package/lib/components/Drawer/style/css.js +1 -1
- package/lib/components/Drawer/style/index.js +1 -1
- package/lib/components/Dropdown/Dropdown.js +1 -1
- package/lib/components/Dropdown/index.js +1 -1
- package/lib/components/Dropdown/interface.js +1 -1
- package/lib/components/Dropdown/style/css.js +1 -1
- package/lib/components/Dropdown/style/index.js +1 -1
- package/lib/components/Empty/Empty.js +1 -1
- package/lib/components/Empty/index.js +1 -1
- package/lib/components/Empty/interface.js +1 -1
- package/lib/components/Empty/style/css.js +1 -1
- package/lib/components/Empty/style/index.js +1 -1
- package/lib/components/Filter/Filter.js +1 -1
- package/lib/components/Filter/index.js +1 -1
- package/lib/components/Filter/interface.js +1 -1
- package/lib/components/Filter/style/css.js +1 -1
- package/lib/components/Filter/style/index.js +1 -1
- package/lib/components/Flex/Flex.js +1 -1
- package/lib/components/Flex/constants.js +1 -1
- package/lib/components/Flex/index.js +1 -1
- package/lib/components/Flex/interface.js +1 -1
- package/lib/components/Flex/style/css.js +1 -1
- package/lib/components/Flex/style/index.js +1 -1
- package/lib/components/Grid/Col.d.ts +0 -1
- package/lib/components/Grid/Col.js +1 -2
- package/lib/components/Grid/Grid.js +1 -1
- package/lib/components/Grid/Row.d.ts +0 -1
- package/lib/components/Grid/Row.js +1 -2
- package/lib/components/Grid/constants.js +1 -1
- package/lib/components/Grid/helper.js +1 -1
- package/lib/components/Grid/index.js +1 -1
- package/lib/components/Grid/interface.js +1 -1
- package/lib/components/Grid/style/css.js +1 -1
- package/lib/components/Grid/style/index.js +1 -1
- package/lib/components/Icons/Icons.js +1 -1
- package/lib/components/Icons/Illustrations.js +1 -1
- package/lib/components/Icons/Logo.js +1 -1
- package/lib/components/Icons/SVGs.js +1 -1
- package/lib/components/Icons/Wrapper.js +1 -1
- package/lib/components/Icons/constants.js +1 -1
- package/lib/components/Icons/index.js +1 -1
- package/lib/components/Icons/interface.js +1 -1
- package/lib/components/Icons/style/css.js +1 -1
- package/lib/components/Icons/style/index.js +1 -1
- package/lib/components/Input/Amount/Amount.js +1 -1
- package/lib/components/Input/Amount/helper.js +1 -1
- package/lib/components/Input/Amount/index.js +1 -1
- package/lib/components/Input/Amount/style/css.js +1 -1
- package/lib/components/Input/Amount/style/index.js +1 -1
- package/lib/components/Input/FieldShell/FieldShell.js +1 -1
- package/lib/components/Input/FieldShell/index.js +1 -1
- package/lib/components/Input/Input/Input.js +3 -8
- package/lib/components/Input/Input/index.js +1 -1
- package/lib/components/Input/Mask/Mask.js +1 -1
- package/lib/components/Input/Mask/index.js +1 -1
- package/lib/components/Input/OTP/OTP.js +1 -1
- package/lib/components/Input/OTP/index.js +1 -1
- package/lib/components/Input/Password/Password.js +1 -1
- package/lib/components/Input/Password/index.js +1 -1
- package/lib/components/Input/Search/Search.js +1 -1
- package/lib/components/Input/Search/index.js +1 -1
- package/lib/components/Input/TextArea/TextArea.js +1 -1
- package/lib/components/Input/TextArea/index.js +1 -1
- package/lib/components/Input/Trade/Trade.js +1 -1
- package/lib/components/Input/Trade/index.js +1 -1
- package/lib/components/Input/constants.js +1 -1
- package/lib/components/Input/index.js +1 -1
- package/lib/components/Input/interface.js +1 -1
- package/lib/components/Input/style/css.js +1 -1
- package/lib/components/Input/style/index.js +1 -1
- package/lib/components/Input/useAmountInput.js +1 -1
- package/lib/components/Input/useSyncRef.js +1 -1
- package/lib/components/Link/Link.js +1 -1
- package/lib/components/Link/constants.js +1 -1
- package/lib/components/Link/index.js +1 -1
- package/lib/components/Link/interface.js +1 -1
- package/lib/components/Link/style/css.js +1 -1
- package/lib/components/Link/style/index.js +1 -1
- package/lib/components/Navigation/Nav.js +1 -1
- package/lib/components/Navigation/Navigation.js +1 -1
- package/lib/components/Navigation/NavigationLogo.js +1 -1
- package/lib/components/Navigation/NavigationStepper.js +1 -1
- package/lib/components/Navigation/index.js +1 -1
- package/lib/components/Navigation/interface.js +1 -1
- package/lib/components/Navigation/style/css.js +1 -1
- package/lib/components/Navigation/style/index.js +1 -1
- package/lib/components/Notification/Notification.js +1 -1
- package/lib/components/Notification/NotificationStatic.js +1 -1
- package/lib/components/Notification/constants.js +1 -1
- package/lib/components/Notification/index.js +1 -1
- package/lib/components/Notification/interface.js +1 -1
- package/lib/components/Notification/style/css.js +1 -1
- package/lib/components/Notification/style/index.js +1 -1
- package/lib/components/Pagination/Pagination.js +1 -1
- package/lib/components/Pagination/constants.js +1 -1
- package/lib/components/Pagination/index.js +1 -1
- package/lib/components/Pagination/interface.js +1 -1
- package/lib/components/Pagination/style/css.js +1 -1
- package/lib/components/Pagination/style/index.js +1 -1
- package/lib/components/Pagination/usePagination.js +1 -1
- package/lib/components/Popconfirm/Popconfirm.js +1 -1
- package/lib/components/Popconfirm/constants.js +1 -1
- package/lib/components/Popconfirm/index.js +1 -1
- package/lib/components/Popconfirm/interface.js +1 -1
- package/lib/components/Popconfirm/style/css.js +1 -1
- package/lib/components/Popconfirm/style/index.js +1 -1
- package/lib/components/Portal/Portal.js +1 -1
- package/lib/components/Portal/index.js +1 -1
- package/lib/components/Portal/interface.js +1 -1
- package/lib/components/ProForm/ProForm.js +1 -1
- package/lib/components/ProForm/ProFormDependency.js +1 -1
- package/lib/components/ProForm/ProFormGroup.js +1 -1
- package/lib/components/ProForm/ProFormItem.js +1 -1
- package/lib/components/ProForm/ProFormList.js +1 -1
- package/lib/components/ProForm/SchemaForm.js +1 -1
- package/lib/components/ProForm/Submitter.js +1 -1
- package/lib/components/ProForm/constants.js +1 -1
- package/lib/components/ProForm/context.js +1 -1
- package/lib/components/ProForm/core/constants.js +1 -1
- package/lib/components/ProForm/core/devWarning.js +1 -1
- package/lib/components/ProForm/core/formStore.js +1 -1
- package/lib/components/ProForm/core/hooks/useForm.js +1 -1
- package/lib/components/ProForm/core/hooks/useFormCore.js +1 -1
- package/lib/components/ProForm/core/index.js +1 -1
- package/lib/components/ProForm/core/interface.js +1 -1
- package/lib/components/ProForm/core/namePathType.js +1 -1
- package/lib/components/ProForm/core/pathUtils.js +1 -1
- package/lib/components/ProForm/core/runRules.js +1 -1
- package/lib/components/ProForm/core/useFormItem.js +1 -1
- package/lib/components/ProForm/core/validationError.js +1 -1
- package/lib/components/ProForm/fields/ProFormCheckbox.js +1 -1
- package/lib/components/ProForm/fields/ProFormCheckboxGroup.js +1 -1
- package/lib/components/ProForm/fields/ProFormDatePicker.js +1 -1
- package/lib/components/ProForm/fields/ProFormFieldSet.js +1 -1
- package/lib/components/ProForm/fields/ProFormPassword.js +1 -1
- package/lib/components/ProForm/fields/ProFormRadioGroup.js +1 -1
- package/lib/components/ProForm/fields/ProFormSelect.js +1 -1
- package/lib/components/ProForm/fields/ProFormSlider.js +1 -1
- package/lib/components/ProForm/fields/ProFormSwitch.js +1 -1
- package/lib/components/ProForm/fields/ProFormText.js +1 -1
- package/lib/components/ProForm/fields/ProFormTextArea.js +1 -1
- package/lib/components/ProForm/fields/ProFormUpload.js +1 -1
- package/lib/components/ProForm/fields/createProFormField.js +1 -1
- package/lib/components/ProForm/fields/index.js +1 -1
- package/lib/components/ProForm/hooks/useFieldRequest.js +1 -1
- package/lib/components/ProForm/hooks/useUrlSync.js +1 -1
- package/lib/components/ProForm/index.js +1 -1
- package/lib/components/ProForm/interface.js +1 -1
- package/lib/components/ProForm/layouts/DialogForm.js +1 -1
- package/lib/components/ProForm/layouts/DrawerForm.js +1 -1
- package/lib/components/ProForm/layouts/QueryFilter.js +1 -1
- package/lib/components/ProForm/layouts/index.js +1 -1
- package/lib/components/ProForm/layouts/useOverlayForm.js +1 -1
- package/lib/components/ProForm/style/css.js +1 -1
- package/lib/components/ProForm/style/index.js +1 -1
- package/lib/components/ProForm/utils.js +1 -1
- package/lib/components/ProTable/ProTable.js +1 -1
- package/lib/components/ProTable/constants.js +1 -1
- package/lib/components/ProTable/core/genColumns.js +1 -1
- package/lib/components/ProTable/core/genSearchFields.js +1 -1
- package/lib/components/ProTable/core/useAwaitableReload.js +1 -1
- package/lib/components/ProTable/core/utils.js +1 -1
- package/lib/components/ProTable/index.js +1 -1
- package/lib/components/ProTable/interface.js +1 -1
- package/lib/components/ProTable/style/css.js +1 -1
- package/lib/components/ProTable/style/index.js +1 -1
- package/lib/components/ProTable/useFetchData.js +1 -1
- package/lib/components/Progress/Progress.js +1 -1
- package/lib/components/Progress/constants.js +1 -1
- package/lib/components/Progress/index.js +1 -1
- package/lib/components/Progress/interface.js +1 -1
- package/lib/components/Progress/style/css.js +1 -1
- package/lib/components/Progress/style/index.js +1 -1
- package/lib/components/Radio/BaseRadio.js +1 -1
- package/lib/components/Radio/Radio.js +1 -1
- package/lib/components/Radio/RadioGroup.js +1 -1
- package/lib/components/Radio/RadioGroupContext.js +1 -1
- package/lib/components/Radio/constants.js +1 -1
- package/lib/components/Radio/index.js +1 -1
- package/lib/components/Radio/interface.js +1 -1
- package/lib/components/Radio/style/css.js +1 -1
- package/lib/components/Radio/style/index.js +1 -1
- package/lib/components/ResizeObserver/Collection.js +1 -1
- package/lib/components/ResizeObserver/ResizeObserver.js +1 -1
- package/lib/components/ResizeObserver/SingleObserver/index.js +1 -1
- package/lib/components/ResizeObserver/index.js +1 -1
- package/lib/components/ResizeObserver/interface.js +1 -1
- package/lib/components/ResizeObserver/useResizeObserver.js +1 -1
- package/lib/components/ResizeObserver/utils/observerUtil.js +1 -1
- package/lib/components/ResizeObserver/utils/reactUtil.js +1 -1
- package/lib/components/Segment/Segment.js +1 -1
- package/lib/components/Segment/index.js +1 -1
- package/lib/components/Segment/interface.js +1 -1
- package/lib/components/Segment/style/css.js +1 -1
- package/lib/components/Segment/style/index.js +1 -1
- package/lib/components/Select/Select.js +3 -8
- package/lib/components/Select/SelectCustom.js +1 -1
- package/lib/components/Select/SelectFieldShell.js +1 -1
- package/lib/components/Select/SelectOptionContent.js +1 -1
- package/lib/components/Select/SelectSearchControl.js +1 -1
- package/lib/components/Select/SelectValueContent.js +1 -1
- package/lib/components/Select/constants.js +1 -1
- package/lib/components/Select/index.js +1 -1
- package/lib/components/Select/interface.js +1 -1
- package/lib/components/Select/style/css.js +1 -1
- package/lib/components/Select/style/index.js +1 -1
- package/lib/components/Select/useSelectShell.js +1 -1
- package/lib/components/Select/utils.js +1 -1
- package/lib/components/Skeleton/Skeleton.js +1 -1
- package/lib/components/Skeleton/index.js +1 -1
- package/lib/components/Skeleton/interface.js +1 -1
- package/lib/components/Skeleton/style/css.js +1 -1
- package/lib/components/Skeleton/style/index.js +1 -1
- package/lib/components/Slider/Slider.js +1 -1
- package/lib/components/Slider/index.js +1 -1
- package/lib/components/Slider/interface.js +1 -1
- package/lib/components/Slider/style/css.js +1 -1
- package/lib/components/Slider/style/index.js +1 -1
- package/lib/components/Space/Space.js +1 -1
- package/lib/components/Space/constants.js +1 -1
- package/lib/components/Space/index.js +1 -1
- package/lib/components/Space/interface.js +1 -1
- package/lib/components/Space/style/css.js +1 -1
- package/lib/components/Space/style/index.js +1 -1
- package/lib/components/Spinner/Spinner.js +1 -1
- package/lib/components/Spinner/index.js +1 -1
- package/lib/components/Spinner/interface.js +1 -1
- package/lib/components/Spinner/style/css.js +1 -1
- package/lib/components/Spinner/style/index.js +1 -1
- package/lib/components/Step/Step.js +1 -1
- package/lib/components/Step/constants.js +1 -1
- package/lib/components/Step/index.js +1 -1
- package/lib/components/Step/interface.js +1 -1
- package/lib/components/Step/style/css.js +1 -1
- package/lib/components/Step/style/index.js +1 -1
- package/lib/components/Switch/Switch.js +1 -1
- package/lib/components/Switch/constants.js +1 -1
- package/lib/components/Switch/index.js +1 -1
- package/lib/components/Switch/interface.js +1 -1
- package/lib/components/Switch/style/css.js +1 -1
- package/lib/components/Switch/style/index.js +1 -1
- package/lib/components/Table/Table.js +1 -1
- package/lib/components/Table/VirtualTable.js +1 -1
- package/lib/components/Table/constants.js +1 -1
- package/lib/components/Table/core/columnUtil.js +1 -1
- package/lib/components/Table/core/useTableColumns.js +1 -1
- package/lib/components/Table/core/useTableDataPipeline.js +1 -1
- package/lib/components/Table/core/useTableExpand.js +1 -1
- package/lib/components/Table/core/useTableSelection.js +1 -1
- package/lib/components/Table/core/useTableSetup.js +1 -1
- package/lib/components/Table/features/ExpandTrigger.js +1 -1
- package/lib/components/Table/features/FilterTrigger.js +1 -1
- package/lib/components/Table/features/SelectionColumn.js +1 -1
- package/lib/components/Table/features/SortTrigger.js +1 -1
- package/lib/components/Table/index.js +1 -1
- package/lib/components/Table/interface.js +1 -1
- package/lib/components/Table/internal/index.js +1 -1
- package/lib/components/Table/internal/kernel/Body/BodyRow.js +1 -1
- package/lib/components/Table/internal/kernel/Body/ExpandedRow.js +1 -1
- package/lib/components/Table/internal/kernel/Body/MeasureCell.js +1 -1
- package/lib/components/Table/internal/kernel/Body/MeasureRow.js +1 -1
- package/lib/components/Table/internal/kernel/Body/index.js +1 -1
- package/lib/components/Table/internal/kernel/Cell/index.js +1 -1
- package/lib/components/Table/internal/kernel/Cell/useCellRender.js +1 -1
- package/lib/components/Table/internal/kernel/Cell/useHoverState.js +1 -1
- package/lib/components/Table/internal/kernel/ColGroup.js +1 -1
- package/lib/components/Table/internal/kernel/FixedHolder/index.js +1 -1
- package/lib/components/Table/internal/kernel/Footer/Cell.js +1 -1
- package/lib/components/Table/internal/kernel/Footer/Row.js +1 -1
- package/lib/components/Table/internal/kernel/Footer/Summary.js +1 -1
- package/lib/components/Table/internal/kernel/Footer/SummaryContext.js +1 -1
- package/lib/components/Table/internal/kernel/Footer/index.js +1 -1
- package/lib/components/Table/internal/kernel/Header/Header.js +1 -1
- package/lib/components/Table/internal/kernel/Header/HeaderRow.js +1 -1
- package/lib/components/Table/internal/kernel/Panel/index.js +1 -1
- package/lib/components/Table/internal/kernel/Table.js +1 -1
- package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +1 -1
- package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.js +1 -1
- package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.js +1 -1
- package/lib/components/Table/internal/kernel/VirtualTable/context.js +1 -1
- package/lib/components/Table/internal/kernel/VirtualTable/index.js +1 -1
- package/lib/components/Table/internal/kernel/constant.js +1 -1
- package/lib/components/Table/internal/kernel/context/PerfContext.js +1 -1
- package/lib/components/Table/internal/kernel/context/TableContext.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useColumns/index.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useExpand.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useFixedInfo.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useFrame.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useHover.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useRenderTimes.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useRowInfo.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useSticky.js +1 -1
- package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.js +1 -1
- package/lib/components/Table/internal/kernel/index.js +1 -1
- package/lib/components/Table/internal/kernel/interface.js +1 -1
- package/lib/components/Table/internal/kernel/namePathType.js +1 -1
- package/lib/components/Table/internal/kernel/selector-context/Immutable.js +1 -1
- package/lib/components/Table/internal/kernel/selector-context/context.js +1 -1
- package/lib/components/Table/internal/kernel/selector-context/index.js +1 -1
- package/lib/components/Table/internal/kernel/selector-context/isEqual.js +1 -1
- package/lib/components/Table/internal/kernel/stickyScrollBar.js +1 -1
- package/lib/components/Table/internal/kernel/sugar/Column.js +1 -1
- package/lib/components/Table/internal/kernel/sugar/ColumnGroup.js +1 -1
- package/lib/components/Table/internal/kernel/utils/dom/canUseDom.js +1 -1
- package/lib/components/Table/internal/kernel/utils/dom/isVisible.js +1 -1
- package/lib/components/Table/internal/kernel/utils/expandUtil.js +1 -1
- package/lib/components/Table/internal/kernel/utils/fixUtil.js +1 -1
- package/lib/components/Table/internal/kernel/utils/get.js +1 -1
- package/lib/components/Table/internal/kernel/utils/getScrollBarSize.js +1 -1
- package/lib/components/Table/internal/kernel/utils/legacyUtil.js +1 -1
- package/lib/components/Table/internal/kernel/utils/offsetUtil.js +1 -1
- package/lib/components/Table/internal/kernel/utils/pickAttrs.js +1 -1
- package/lib/components/Table/internal/kernel/utils/useMemo.js +1 -1
- package/lib/components/Table/internal/kernel/utils/valueUtil.js +1 -1
- package/lib/components/Table/internal/kernel/utils/warning.js +1 -1
- package/lib/components/Table/renderers/BodyCell.js +1 -1
- package/lib/components/Table/renderers/CellContent.js +1 -1
- package/lib/components/Table/renderers/EmptyState.js +1 -1
- package/lib/components/Table/renderers/ExpandedRowContainer.js +1 -1
- package/lib/components/Table/renderers/HeaderCell.js +1 -1
- package/lib/components/Table/renderers/TableShell.js +1 -1
- package/lib/components/Table/style/css.js +1 -1
- package/lib/components/Table/style/index.js +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tabs/index.js +1 -1
- package/lib/components/Tabs/interface.js +1 -1
- package/lib/components/Tabs/style/css.js +1 -1
- package/lib/components/Tabs/style/index.js +1 -1
- package/lib/components/Tag/Tag.js +1 -1
- package/lib/components/Tag/constants.js +1 -1
- package/lib/components/Tag/index.js +1 -1
- package/lib/components/Tag/interface.js +1 -1
- package/lib/components/Tag/style/css.js +1 -1
- package/lib/components/Tag/style/index.js +1 -1
- package/lib/components/Tooltip/Tooltip.js +1 -1
- package/lib/components/Tooltip/index.js +1 -1
- package/lib/components/Tooltip/interface.js +1 -1
- package/lib/components/Tooltip/style/css.js +1 -1
- package/lib/components/Tooltip/style/index.js +1 -1
- package/lib/components/Tour/Tour.js +1 -1
- package/lib/components/Tour/index.js +1 -1
- package/lib/components/Tour/interface.js +1 -1
- package/lib/components/Trigger/Trigger.js +1 -1
- package/lib/components/Trigger/index.js +1 -1
- package/lib/components/Trigger/interface.js +1 -1
- package/lib/components/Trigger/style/css.js +1 -1
- package/lib/components/Trigger/style/index.js +1 -1
- package/lib/components/Typography/Typography.js +1 -1
- package/lib/components/Typography/constants.js +1 -1
- package/lib/components/Typography/index.js +1 -1
- package/lib/components/Typography/interface.js +1 -1
- package/lib/components/Typography/render.js +1 -1
- package/lib/components/Typography/style/css.js +1 -1
- package/lib/components/Typography/style/index.js +1 -1
- package/lib/components/Typography/useTypographyEnhancements.js +1 -1
- package/lib/components/Typography/utils.js +1 -1
- package/lib/components/Upload/Upload.js +1 -1
- package/lib/components/Upload/UploadFileBar.js +1 -1
- package/lib/components/Upload/index.js +1 -1
- package/lib/components/Upload/interface.js +1 -1
- package/lib/components/Upload/style/css.js +1 -1
- package/lib/components/Upload/style/index.js +1 -1
- package/lib/components/VirtualList/Filler.js +1 -1
- package/lib/components/VirtualList/Item.js +1 -1
- package/lib/components/VirtualList/ScrollBar.js +1 -1
- package/lib/components/VirtualList/VirtualList.js +1 -1
- package/lib/components/VirtualList/constants.js +1 -1
- package/lib/components/VirtualList/hooks/useChildren.js +1 -1
- package/lib/components/VirtualList/hooks/useDiffItem.js +1 -1
- package/lib/components/VirtualList/hooks/useFrameWheel.js +1 -1
- package/lib/components/VirtualList/hooks/useGetSize.js +1 -1
- package/lib/components/VirtualList/hooks/useHeights.js +1 -1
- package/lib/components/VirtualList/hooks/useMobileTouchMove.js +1 -1
- package/lib/components/VirtualList/hooks/useOriginScroll.js +1 -1
- package/lib/components/VirtualList/hooks/useScrollDrag.js +1 -1
- package/lib/components/VirtualList/hooks/useScrollTo.js +1 -1
- package/lib/components/VirtualList/index.js +1 -1
- package/lib/components/VirtualList/interface.js +1 -1
- package/lib/components/VirtualList/style/css.js +1 -1
- package/lib/components/VirtualList/style/index.js +1 -1
- package/lib/components/VirtualList/utils/CacheMap.js +1 -1
- package/lib/components/VirtualList/utils/algorithmUtil.js +1 -1
- package/lib/components/VirtualList/utils/isFirefox.js +1 -1
- package/lib/components/VirtualList/utils/raf.js +1 -1
- package/lib/components/VirtualList/utils/scrollbarUtil.js +1 -1
- package/lib/hooks/index.js +1 -1
- package/lib/hooks/useFloatingAnimation.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -5
- package/lib/index.js +1 -33
- package/lib/stories/docs/ComponentDocsPage.js +1 -1
- package/lib/stories/docs/componentDocMeta.js +1 -1
- package/lib/utils/classnames.js +1 -1
- package/lib/utils/clipboard.js +1 -1
- package/lib/utils/devWarn.js +1 -1
- package/lib/utils/ref.js +1 -1
- package/lib/utils/uuid.js +1 -1
- package/package.json +9 -29
- package/scripts/mcp-server/examples.generated.json +0 -84
- package/scripts/mcp-server/index.generated.json +150 -725
- package/es/business/Dialog/BaseDialog/BaseDialog.d.ts +0 -3
- package/es/business/Dialog/BaseDialog/BaseDialog.js +0 -128
- package/es/business/Dialog/BaseDialog/constants.d.ts +0 -12
- package/es/business/Dialog/BaseDialog/constants.js +0 -13
- package/es/business/Dialog/BaseDialog/index.d.ts +0 -4
- package/es/business/Dialog/BaseDialog/index.js +0 -5
- package/es/business/Dialog/BaseDialog/interface.d.ts +0 -63
- package/es/business/Dialog/BaseDialog/interface.js +0 -2
- package/es/business/Dialog/BaseDialog/style/BaseDialog.css +0 -62
- package/es/business/Dialog/BaseDialog/style/css.js +0 -2
- package/es/business/Dialog/BaseDialog/style/index.d.ts +0 -1
- package/es/business/Dialog/BaseDialog/style/index.js +0 -2
- package/es/business/Dialog/Descriptions/Descriptions.d.ts +0 -3
- package/es/business/Dialog/Descriptions/Descriptions.js +0 -102
- package/es/business/Dialog/Descriptions/constants.d.ts +0 -16
- package/es/business/Dialog/Descriptions/constants.js +0 -24
- package/es/business/Dialog/Descriptions/index.d.ts +0 -4
- package/es/business/Dialog/Descriptions/index.js +0 -5
- package/es/business/Dialog/Descriptions/interface.d.ts +0 -58
- package/es/business/Dialog/Descriptions/interface.js +0 -2
- package/es/business/Dialog/Descriptions/style/Descriptions.css +0 -60
- package/es/business/Dialog/Descriptions/style/css.js +0 -2
- package/es/business/Dialog/Descriptions/style/index.d.ts +0 -1
- package/es/business/Dialog/Descriptions/style/index.js +0 -2
- package/es/business/Dialog/DetailsDialog/DetailsDialog.d.ts +0 -3
- package/es/business/Dialog/DetailsDialog/DetailsDialog.js +0 -99
- package/es/business/Dialog/DetailsDialog/index.d.ts +0 -4
- package/es/business/Dialog/DetailsDialog/index.js +0 -5
- package/es/business/Dialog/DetailsDialog/interface.d.ts +0 -29
- package/es/business/Dialog/DetailsDialog/interface.js +0 -2
- package/es/business/Dialog/DetailsDialog/style/DetailsDialog.css +0 -41
- package/es/business/Dialog/DetailsDialog/style/css.js +0 -2
- package/es/business/Dialog/DetailsDialog/style/index.d.ts +0 -1
- package/es/business/Dialog/DetailsDialog/style/index.js +0 -2
- package/es/business/Dialog/FormDialog/FormDialog.d.ts +0 -5
- package/es/business/Dialog/FormDialog/FormDialog.js +0 -100
- package/es/business/Dialog/FormDialog/index.d.ts +0 -6
- package/es/business/Dialog/FormDialog/index.js +0 -6
- package/es/business/Dialog/FormDialog/interface.d.ts +0 -42
- package/es/business/Dialog/FormDialog/interface.js +0 -2
- package/es/business/Dialog/FormDialog/style/css.js +0 -2
- package/es/business/Dialog/FormDialog/style/index.d.ts +0 -1
- package/es/business/Dialog/FormDialog/style/index.js +0 -2
- package/es/business/Dialog/variants/DeleteDialog.d.ts +0 -3
- package/es/business/Dialog/variants/DeleteDialog.js +0 -20
- package/es/business/Dialog/variants/FailureDialog.d.ts +0 -3
- package/es/business/Dialog/variants/FailureDialog.js +0 -20
- package/es/business/Dialog/variants/LoadingDialog.d.ts +0 -33
- package/es/business/Dialog/variants/LoadingDialog.js +0 -162
- package/es/business/Dialog/variants/PendingDialog.d.ts +0 -3
- package/es/business/Dialog/variants/PendingDialog.js +0 -19
- package/es/business/Dialog/variants/SuccessDialog.d.ts +0 -3
- package/es/business/Dialog/variants/SuccessDialog.js +0 -19
- package/es/business/Dialog/variants/index.d.ts +0 -10
- package/es/business/Dialog/variants/index.js +0 -9
- package/es/business/Dialog/variants/style/LoadingDialog.css +0 -62
- package/es/business/Dialog/variants/style/css.js +0 -2
- package/es/business/Dialog/variants/style/index.d.ts +0 -1
- package/es/business/Dialog/variants/style/index.js +0 -2
- package/es/business/FieldList/index.d.ts +0 -30
- package/es/business/FieldList/index.js +0 -52
- package/es/business/FieldList/style/FieldList.css +0 -89
- package/es/business/FieldList/style/css.js +0 -2
- package/es/business/FieldList/style/index.d.ts +0 -1
- package/es/business/FieldList/style/index.js +0 -2
- package/es/business/FormPage/FormPage.d.ts +0 -4
- package/es/business/FormPage/FormPage.js +0 -87
- package/es/business/FormPage/index.d.ts +0 -4
- package/es/business/FormPage/index.js +0 -5
- package/es/business/FormPage/interface.d.ts +0 -42
- package/es/business/FormPage/interface.js +0 -2
- package/es/business/shared/formCore/BaseProForm.d.ts +0 -40
- package/es/business/shared/formCore/BaseProForm.js +0 -87
- package/es/business/shared/formCore/useSubmitAction.d.ts +0 -11
- package/es/business/shared/formCore/useSubmitAction.js +0 -92
- package/es/components/ActionBar/ActionBar.d.ts +0 -3
- package/es/components/ActionBar/ActionBar.js +0 -114
- package/es/components/ActionBar/constants.d.ts +0 -29
- package/es/components/ActionBar/constants.js +0 -30
- package/es/components/ActionBar/index.d.ts +0 -4
- package/es/components/ActionBar/index.js +0 -5
- package/es/components/ActionBar/interface.d.ts +0 -73
- package/es/components/ActionBar/interface.js +0 -2
- package/es/components/ActionBar/style/ActionBar.css +0 -44
- package/es/components/ActionBar/style/css.js +0 -2
- package/es/components/ActionBar/style/index.d.ts +0 -1
- package/es/components/ActionBar/style/index.js +0 -2
- package/es/components/FormLayout/FormLayout.d.ts +0 -25
- package/es/components/FormLayout/FormLayout.js +0 -128
- package/es/components/FormLayout/config.d.ts +0 -96
- package/es/components/FormLayout/config.js +0 -93
- package/es/components/FormLayout/context.d.ts +0 -9
- package/es/components/FormLayout/context.js +0 -13
- package/es/components/FormLayout/index.d.ts +0 -7
- package/es/components/FormLayout/index.js +0 -7
- package/es/components/FormLayout/interface.d.ts +0 -51
- package/es/components/FormLayout/interface.js +0 -2
- package/es/components/FormLayout/style/FormLayout.css +0 -110
- package/es/components/FormLayout/style/css.js +0 -2
- package/es/components/FormLayout/style/index.d.ts +0 -1
- package/es/components/FormLayout/style/index.js +0 -2
- package/lib/business/Dialog/BaseDialog/BaseDialog.d.ts +0 -3
- package/lib/business/Dialog/BaseDialog/BaseDialog.js +0 -137
- package/lib/business/Dialog/BaseDialog/constants.d.ts +0 -12
- package/lib/business/Dialog/BaseDialog/constants.js +0 -19
- package/lib/business/Dialog/BaseDialog/index.d.ts +0 -4
- package/lib/business/Dialog/BaseDialog/index.js +0 -30
- package/lib/business/Dialog/BaseDialog/interface.d.ts +0 -63
- package/lib/business/Dialog/BaseDialog/interface.js +0 -6
- package/lib/business/Dialog/BaseDialog/style/BaseDialog.css +0 -62
- package/lib/business/Dialog/BaseDialog/style/css.js +0 -4
- package/lib/business/Dialog/BaseDialog/style/index.d.ts +0 -1
- package/lib/business/Dialog/BaseDialog/style/index.js +0 -4
- package/lib/business/Dialog/Descriptions/Descriptions.d.ts +0 -3
- package/lib/business/Dialog/Descriptions/Descriptions.js +0 -112
- package/lib/business/Dialog/Descriptions/constants.d.ts +0 -16
- package/lib/business/Dialog/Descriptions/constants.js +0 -30
- package/lib/business/Dialog/Descriptions/index.d.ts +0 -4
- package/lib/business/Dialog/Descriptions/index.js +0 -30
- package/lib/business/Dialog/Descriptions/interface.d.ts +0 -58
- package/lib/business/Dialog/Descriptions/interface.js +0 -6
- package/lib/business/Dialog/Descriptions/style/Descriptions.css +0 -60
- package/lib/business/Dialog/Descriptions/style/css.js +0 -4
- package/lib/business/Dialog/Descriptions/style/index.d.ts +0 -1
- package/lib/business/Dialog/Descriptions/style/index.js +0 -4
- package/lib/business/Dialog/DetailsDialog/DetailsDialog.d.ts +0 -3
- package/lib/business/Dialog/DetailsDialog/DetailsDialog.js +0 -109
- package/lib/business/Dialog/DetailsDialog/index.d.ts +0 -4
- package/lib/business/Dialog/DetailsDialog/index.js +0 -30
- package/lib/business/Dialog/DetailsDialog/interface.d.ts +0 -29
- package/lib/business/Dialog/DetailsDialog/interface.js +0 -6
- package/lib/business/Dialog/DetailsDialog/style/DetailsDialog.css +0 -41
- package/lib/business/Dialog/DetailsDialog/style/css.js +0 -4
- package/lib/business/Dialog/DetailsDialog/style/index.d.ts +0 -1
- package/lib/business/Dialog/DetailsDialog/style/index.js +0 -4
- package/lib/business/Dialog/FormDialog/FormDialog.d.ts +0 -5
- package/lib/business/Dialog/FormDialog/FormDialog.js +0 -109
- package/lib/business/Dialog/FormDialog/index.d.ts +0 -6
- package/lib/business/Dialog/FormDialog/index.js +0 -52
- package/lib/business/Dialog/FormDialog/interface.d.ts +0 -42
- package/lib/business/Dialog/FormDialog/interface.js +0 -6
- package/lib/business/Dialog/FormDialog/style/css.js +0 -4
- package/lib/business/Dialog/FormDialog/style/index.d.ts +0 -1
- package/lib/business/Dialog/FormDialog/style/index.js +0 -4
- package/lib/business/Dialog/variants/DeleteDialog.d.ts +0 -3
- package/lib/business/Dialog/variants/DeleteDialog.js +0 -26
- package/lib/business/Dialog/variants/FailureDialog.d.ts +0 -3
- package/lib/business/Dialog/variants/FailureDialog.js +0 -26
- package/lib/business/Dialog/variants/LoadingDialog.d.ts +0 -33
- package/lib/business/Dialog/variants/LoadingDialog.js +0 -172
- package/lib/business/Dialog/variants/PendingDialog.d.ts +0 -3
- package/lib/business/Dialog/variants/PendingDialog.js +0 -25
- package/lib/business/Dialog/variants/SuccessDialog.d.ts +0 -3
- package/lib/business/Dialog/variants/SuccessDialog.js +0 -25
- package/lib/business/Dialog/variants/index.d.ts +0 -10
- package/lib/business/Dialog/variants/index.js +0 -41
- package/lib/business/Dialog/variants/style/LoadingDialog.css +0 -62
- package/lib/business/Dialog/variants/style/css.js +0 -4
- package/lib/business/Dialog/variants/style/index.d.ts +0 -1
- package/lib/business/Dialog/variants/style/index.js +0 -4
- package/lib/business/FieldList/index.d.ts +0 -30
- package/lib/business/FieldList/index.js +0 -60
- package/lib/business/FieldList/style/FieldList.css +0 -89
- package/lib/business/FieldList/style/css.js +0 -4
- package/lib/business/FieldList/style/index.d.ts +0 -1
- package/lib/business/FieldList/style/index.js +0 -4
- package/lib/business/FormPage/FormPage.d.ts +0 -4
- package/lib/business/FormPage/FormPage.js +0 -93
- package/lib/business/FormPage/index.d.ts +0 -4
- package/lib/business/FormPage/index.js +0 -30
- package/lib/business/FormPage/interface.d.ts +0 -42
- package/lib/business/FormPage/interface.js +0 -6
- package/lib/business/shared/formCore/BaseProForm.d.ts +0 -40
- package/lib/business/shared/formCore/BaseProForm.js +0 -93
- package/lib/business/shared/formCore/useSubmitAction.d.ts +0 -11
- package/lib/business/shared/formCore/useSubmitAction.js +0 -99
- package/lib/components/ActionBar/ActionBar.d.ts +0 -3
- package/lib/components/ActionBar/ActionBar.js +0 -123
- package/lib/components/ActionBar/constants.d.ts +0 -29
- package/lib/components/ActionBar/constants.js +0 -36
- package/lib/components/ActionBar/index.d.ts +0 -4
- package/lib/components/ActionBar/index.js +0 -30
- package/lib/components/ActionBar/interface.d.ts +0 -73
- package/lib/components/ActionBar/interface.js +0 -6
- package/lib/components/ActionBar/style/ActionBar.css +0 -44
- package/lib/components/ActionBar/style/css.js +0 -4
- package/lib/components/ActionBar/style/index.d.ts +0 -1
- package/lib/components/ActionBar/style/index.js +0 -4
- package/lib/components/FormLayout/FormLayout.d.ts +0 -25
- package/lib/components/FormLayout/FormLayout.js +0 -138
- package/lib/components/FormLayout/config.d.ts +0 -96
- package/lib/components/FormLayout/config.js +0 -99
- package/lib/components/FormLayout/context.d.ts +0 -9
- package/lib/components/FormLayout/context.js +0 -19
- package/lib/components/FormLayout/index.d.ts +0 -7
- package/lib/components/FormLayout/index.js +0 -102
- package/lib/components/FormLayout/interface.d.ts +0 -51
- package/lib/components/FormLayout/interface.js +0 -6
- package/lib/components/FormLayout/style/FormLayout.css +0 -110
- package/lib/components/FormLayout/style/css.js +0 -4
- package/lib/components/FormLayout/style/index.d.ts +0 -1
- package/lib/components/FormLayout/style/index.js +0 -4
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieves the spacing value for a given token key.
|
|
3
|
-
*
|
|
4
|
-
* @param {string} $key - The spacing token key (e.g., '100', '200').
|
|
5
|
-
* @return {length|null} The computed spacing value or null if the key is invalid.
|
|
6
|
-
* @example
|
|
7
|
-
* .element {
|
|
8
|
-
* padding: om-spacing-token('200'); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Computes the spacing value based on a token key or a direct length value.
|
|
13
|
-
*
|
|
14
|
-
* @param {string|length} $value - The spacing token key (e.g., '100') or a direct length value (e.g., '16px').
|
|
15
|
-
* @return {length} The computed spacing value.
|
|
16
|
-
* @example
|
|
17
|
-
* .element {
|
|
18
|
-
* margin: om-spacing-value('300'); // Returns 12px if $om-sys-spacing-unit is 4px
|
|
19
|
-
* padding: om-spacing-value(16px); // Returns 16px
|
|
20
|
-
* gap: om-spacing-value(2); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
21
|
-
* }
|
|
22
|
-
*/
|
|
23
|
-
.om-component-ui-descriptions {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
width: 100%;
|
|
27
|
-
}
|
|
28
|
-
.om-component-ui-descriptions-row {
|
|
29
|
-
display: flex;
|
|
30
|
-
gap: var(--om-spacing-600, 24px);
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: space-between;
|
|
33
|
-
padding: var(--om-spacing-500, 20px) 0;
|
|
34
|
-
}
|
|
35
|
-
.om-component-ui-descriptions-row:not(:last-child) {
|
|
36
|
-
border-bottom: 1px solid var(--om-border-neutral, #e3e4e4);
|
|
37
|
-
}
|
|
38
|
-
.om-component-ui-descriptions-row-highlight {
|
|
39
|
-
padding-inline: var(--om-spacing-300, 12px);
|
|
40
|
-
margin-inline: calc(var(--om-spacing-300, 12px) * -1);
|
|
41
|
-
background-color: var(--om-bg-warning-tertiary-hover, rgba(244, 198, 0, 0.1));
|
|
42
|
-
border-radius: var(--om-radius-300, 12px);
|
|
43
|
-
}
|
|
44
|
-
.om-component-ui-descriptions-row-highlight:not(:last-child) {
|
|
45
|
-
border-bottom: none;
|
|
46
|
-
}
|
|
47
|
-
.om-component-ui-descriptions-label {
|
|
48
|
-
flex-shrink: 0;
|
|
49
|
-
}
|
|
50
|
-
.om-component-ui-descriptions-value {
|
|
51
|
-
display: flex;
|
|
52
|
-
gap: var(--om-spacing-300, 12px);
|
|
53
|
-
align-items: center;
|
|
54
|
-
min-width: 0;
|
|
55
|
-
text-align: right;
|
|
56
|
-
overflow-wrap: break-word;
|
|
57
|
-
}
|
|
58
|
-
.om-component-ui-descriptions-value .om-component-ui-copy {
|
|
59
|
-
color: var(--om-icon-default-tertiary, #646465);
|
|
60
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './Descriptions.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9EZXNjcmlwdGlvbnMvc3JjL2J1c2luZXNzL0RpYWxvZy9EZXNjcmlwdGlvbnMvc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxxQkFBcUIiLCJmaWxlIjoiYnVzaW5lc3MvRGlhbG9nL0Rlc2NyaXB0aW9ucy9zdHlsZS9jc3MuanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './Descriptions.css';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './Descriptions.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9EZXNjcmlwdGlvbnMvc3JjL2J1c2luZXNzL0RpYWxvZy9EZXNjcmlwdGlvbnMvc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxxQkFBcUIiLCJmaWxlIjoiYnVzaW5lc3MvRGlhbG9nL0Rlc2NyaXB0aW9ucy9zdHlsZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
6
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { memo, useState } from 'react';
|
|
12
|
-
import { Icons } from '../../../components/Icons';
|
|
13
|
-
import { default as classnames, joinCls } from '../../../utils/classnames';
|
|
14
|
-
import { BaseDialog } from '../BaseDialog';
|
|
15
|
-
import { Descriptions } from '../Descriptions';
|
|
16
|
-
import './style';
|
|
17
|
-
var PREFIX = 'details-dialog';
|
|
18
|
-
var DOWNLOAD_ICON_SIZE = 20;
|
|
19
|
-
/**
|
|
20
|
-
* Fill the details-family default download CTA — icon, label, and secondary
|
|
21
|
-
* tone — leaving any explicitly-set field untouched. The consumer usually
|
|
22
|
-
* only wires `onClick`.
|
|
23
|
-
*/
|
|
24
|
-
var withDownloadDefaults = function withDownloadDefaults(action) {
|
|
25
|
-
return action && Object.assign({
|
|
26
|
-
icon: _jsx(Icons, {
|
|
27
|
-
name: 'menuDeposit',
|
|
28
|
-
size: DOWNLOAD_ICON_SIZE
|
|
29
|
-
}),
|
|
30
|
-
color: 'secondary',
|
|
31
|
-
label: 'Download'
|
|
32
|
-
}, action);
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Wraps an action so a Promise-returning `onClick` drives the button's
|
|
36
|
-
* loading state until it settles (errors are rethrown to the console — the
|
|
37
|
-
* caller owns surfacing them).
|
|
38
|
-
*/
|
|
39
|
-
var useAsyncAction = function useAsyncAction(action) {
|
|
40
|
-
var _a;
|
|
41
|
-
var _useState = useState(false),
|
|
42
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
43
|
-
busy = _useState2[0],
|
|
44
|
-
setBusy = _useState2[1];
|
|
45
|
-
if (!action) return undefined;
|
|
46
|
-
return Object.assign(Object.assign({}, action), {
|
|
47
|
-
loading: (_a = action.loading) !== null && _a !== void 0 ? _a : busy,
|
|
48
|
-
onClick: function onClick() {
|
|
49
|
-
var _a;
|
|
50
|
-
var result = (_a = action.onClick) === null || _a === void 0 ? void 0 : _a.call(action);
|
|
51
|
-
if (result instanceof Promise) {
|
|
52
|
-
setBusy(true);
|
|
53
|
-
void result["finally"](function () {
|
|
54
|
-
return setBusy(false);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Read-only details scenario shell — `BaseDialog` + `Descriptions`, with the
|
|
62
|
-
* details-family spec (Figma 39956-9897) scoped on top: title↔rows gap 0 and
|
|
63
|
-
* compact rows. Mirrors the legacy `Modal/Details` contract used by the
|
|
64
|
-
* Transactions receipts: arbitrary ReactNode row values, a before-rows slot,
|
|
65
|
-
* and async-loading CTAs. Copyable rows surface `onCopySuccess`/`onCopyError`
|
|
66
|
-
* — the shell shows no toast itself.
|
|
67
|
-
*/
|
|
68
|
-
var DetailsDialogBase = function DetailsDialogBase(_a) {
|
|
69
|
-
var rows = _a.rows,
|
|
70
|
-
beforeRows = _a.beforeRows,
|
|
71
|
-
primary = _a.primary,
|
|
72
|
-
secondary = _a.secondary,
|
|
73
|
-
className = _a.className,
|
|
74
|
-
children = _a.children,
|
|
75
|
-
_a$showCloseIcon = _a.showCloseIcon,
|
|
76
|
-
showCloseIcon = _a$showCloseIcon === void 0 ? true : _a$showCloseIcon,
|
|
77
|
-
onCopySuccess = _a.onCopySuccess,
|
|
78
|
-
onCopyError = _a.onCopyError,
|
|
79
|
-
_a$fixed = _a.fixed,
|
|
80
|
-
fixed = _a$fixed === void 0 ? true : _a$fixed,
|
|
81
|
-
rest = __rest(_a, ["rows", "beforeRows", "primary", "secondary", "className", "children", "showCloseIcon", "onCopySuccess", "onCopyError", "fixed"]);
|
|
82
|
-
var classes = classnames(PREFIX);
|
|
83
|
-
var resolvedPrimary = useAsyncAction(withDownloadDefaults(primary));
|
|
84
|
-
var resolvedSecondary = useAsyncAction(secondary);
|
|
85
|
-
return _jsxs(BaseDialog, Object.assign({}, rest, {
|
|
86
|
-
showCloseIcon: showCloseIcon,
|
|
87
|
-
fixed: fixed,
|
|
88
|
-
className: joinCls(classes(), className),
|
|
89
|
-
primary: resolvedPrimary,
|
|
90
|
-
secondary: resolvedSecondary,
|
|
91
|
-
children: [beforeRows, _jsx(Descriptions, {
|
|
92
|
-
rows: rows,
|
|
93
|
-
onCopySuccess: onCopySuccess,
|
|
94
|
-
onCopyError: onCopyError
|
|
95
|
-
}), children]
|
|
96
|
-
}));
|
|
97
|
-
};
|
|
98
|
-
export var DetailsDialog = /*#__PURE__*/memo(DetailsDialogBase);
|
|
99
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9EZXRhaWxzRGlhbG9nL0RldGFpbHNEaWFsb2cuanMiLCJidXNpbmVzcy9EaWFsb2cvc3JjL2J1c2luZXNzL0RpYWxvZy9EZXRhaWxzRGlhbG9nL0RldGFpbHNEaWFsb2cudHN4Il0sIm5hbWVzIjpbIl9fcmVzdCIsInMiLCJlIiwidCIsInAiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbmRleE9mIiwiZ2V0T3duUHJvcGVydHlTeW1ib2xzIiwiaSIsImxlbmd0aCIsInByb3BlcnR5SXNFbnVtZXJhYmxlIiwianN4IiwiX2pzeCIsImpzeHMiLCJfanN4cyIsIm1lbW8iLCJ1c2VTdGF0ZSIsIkljb25zIiwiZGVmYXVsdCIsImNsYXNzbmFtZXMiLCJqb2luQ2xzIiwiQmFzZURpYWxvZyIsIkRlc2NyaXB0aW9ucyIsIlBSRUZJWCIsIkRPV05MT0FEX0lDT05fU0laRSIsIndpdGhEb3dubG9hZERlZmF1bHRzIiwiYWN0aW9uIiwiYXNzaWduIiwiaWNvbiIsIm5hbWUiLCJzaXplIiwiY29sb3IiLCJsYWJlbCIsInVzZUFzeW5jQWN0aW9uIiwiX2EiLCJfdXNlU3RhdGUiLCJfdXNlU3RhdGUyIiwiX3NsaWNlZFRvQXJyYXkiLCJidXN5Iiwic2V0QnVzeSIsInVuZGVmaW5lZCIsImxvYWRpbmciLCJvbkNsaWNrIiwicmVzdWx0IiwiUHJvbWlzZSIsIkRldGFpbHNEaWFsb2dCYXNlIiwicm93cyIsImJlZm9yZVJvd3MiLCJwcmltYXJ5Iiwic2Vjb25kYXJ5IiwiY2xhc3NOYW1lIiwiY2hpbGRyZW4i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db3B5U3VjY2Vzcywgb25Db3B5RXJyb3I6IG9uQ29weUVycm9yIH0pLCBjaGlsZHJlbl0gfSkpKTtcbn07XG5leHBvcnQgY29uc3QgRGV0YWlsc0RpYWxvZyA9IG1lbW8oRGV0YWlsc0RpYWxvZ0Jhc2UpOyIsbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DetailsDialog } from './DetailsDialog';
|
|
2
|
-
export { DetailsDialog } from './DetailsDialog';
|
|
3
|
-
export default DetailsDialog;
|
|
4
|
-
export * from './interface';
|
|
5
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9zcmMvYnVzaW5lc3MvRGlhbG9nL0RldGFpbHNEaWFsb2cvaW5kZXgudHMiXSwibmFtZXMiOlsiRGV0YWlsc0RpYWxvZyJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsYUFBYSxRQUFRLGlCQUFpQjtBQUUvQyxTQUFTQSxhQUFhLFFBQVEsaUJBQWlCO0FBRS9DLGVBQWVBLGFBQWE7QUFFNUIsY0FBYyxhQUFhIiwiZmlsZSI6ImJ1c2luZXNzL0RpYWxvZy9EZXRhaWxzRGlhbG9nL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { ActionBarAction } from "../../../components/ActionBar";
|
|
3
|
-
import type { BaseDialogProps } from '../BaseDialog';
|
|
4
|
-
import type { DescriptionsRow } from '../Descriptions';
|
|
5
|
-
/**
|
|
6
|
-
* An action whose `onClick` may return a Promise — the dialog then drives
|
|
7
|
-
* the button's loading spinner until it settles (legacy DetailsModal CTA
|
|
8
|
-
* behavior, e.g. the async PDF "Download").
|
|
9
|
-
*/
|
|
10
|
-
export interface DetailsDialogAction extends Omit<ActionBarAction, 'onClick'> {
|
|
11
|
-
onClick?: () => void | Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export interface DetailsDialogProps extends Omit<BaseDialogProps, 'preset' | 'primary' | 'secondary'> {
|
|
14
|
-
/** The detail rows (Descriptions engine: copyable/tone/tag/emphasis/highlight). */
|
|
15
|
-
rows: DescriptionsRow[];
|
|
16
|
-
/** Content rendered between the description and the rows (alerts, QR cards…). */
|
|
17
|
-
beforeRows?: ReactNode;
|
|
18
|
-
/** Primary action; an async `onClick` shows the built-in loading spinner. */
|
|
19
|
-
primary?: DetailsDialogAction;
|
|
20
|
-
/** Secondary action; same async-loading contract. */
|
|
21
|
-
secondary?: DetailsDialogAction;
|
|
22
|
-
/**
|
|
23
|
-
* Fires after a row copies successfully, with the copied text. The dialog
|
|
24
|
-
* shows no toast itself — wire feedback here (e.g. `notification.success`).
|
|
25
|
-
*/
|
|
26
|
-
onCopySuccess?: (value: string) => void;
|
|
27
|
-
/** Fires when a row copy fails, with the attempted text. */
|
|
28
|
-
onCopyError?: (value: string) => void;
|
|
29
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzaW5lc3MvRGlhbG9nL0RldGFpbHNEaWFsb2cvaW50ZXJmYWNlLmpzIiwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIiwic291cmNlcyI6WyJidXNpbmVzcy9EaWFsb2cvRGV0YWlsc0RpYWxvZy9pbnRlcmZhY2UuanMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHt9OyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJpZ25vcmVMaXN0IjpbXX0=
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieves the spacing value for a given token key.
|
|
3
|
-
*
|
|
4
|
-
* @param {string} $key - The spacing token key (e.g., '100', '200').
|
|
5
|
-
* @return {length|null} The computed spacing value or null if the key is invalid.
|
|
6
|
-
* @example
|
|
7
|
-
* .element {
|
|
8
|
-
* padding: om-spacing-token('200'); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Computes the spacing value based on a token key or a direct length value.
|
|
13
|
-
*
|
|
14
|
-
* @param {string|length} $value - The spacing token key (e.g., '100') or a direct length value (e.g., '16px').
|
|
15
|
-
* @return {length} The computed spacing value.
|
|
16
|
-
* @example
|
|
17
|
-
* .element {
|
|
18
|
-
* margin: om-spacing-value('300'); // Returns 12px if $om-sys-spacing-unit is 4px
|
|
19
|
-
* padding: om-spacing-value(16px); // Returns 16px
|
|
20
|
-
* gap: om-spacing-value(2); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
21
|
-
* }
|
|
22
|
-
*/
|
|
23
|
-
.om-component-ui-details-dialog .om-component-ui-dialog-content {
|
|
24
|
-
padding-top: 0;
|
|
25
|
-
}
|
|
26
|
-
.om-component-ui-details-dialog .om-component-ui-descriptions-row {
|
|
27
|
-
gap: var(--om-spacing-400, 16px);
|
|
28
|
-
padding: var(--om-spacing-200, 8px) 0;
|
|
29
|
-
line-height: 16px;
|
|
30
|
-
}
|
|
31
|
-
.om-component-ui-details-dialog .om-component-ui-descriptions-label {
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
}
|
|
35
|
-
.om-component-ui-details-dialog .om-component-ui-descriptions-label .om-component-ui-typography {
|
|
36
|
-
color: var(--om-text-default, #131313);
|
|
37
|
-
}
|
|
38
|
-
.om-component-ui-details-dialog .om-component-ui-descriptions-value {
|
|
39
|
-
max-width: 50%;
|
|
40
|
-
gap: var(--om-spacing-200, 8px);
|
|
41
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './DetailsDialog.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9EZXRhaWxzRGlhbG9nL3NyYy9idXNpbmVzcy9EaWFsb2cvRGV0YWlsc0RpYWxvZy9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLHNCQUFzQiIsImZpbGUiOiJidXNpbmVzcy9EaWFsb2cvRGV0YWlsc0RpYWxvZy9zdHlsZS9jc3MuanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './DetailsDialog.css';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './DetailsDialog.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9EZXRhaWxzRGlhbG9nL3NyYy9idXNpbmVzcy9EaWFsb2cvRGV0YWlsc0RpYWxvZy9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLHNCQUFzQiIsImZpbGUiOiJidXNpbmVzcy9EaWFsb2cvRGV0YWlsc0RpYWxvZy9zdHlsZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { FormDialogProps } from './interface';
|
|
2
|
-
import './style';
|
|
3
|
-
export declare const FormDialog: (<Values extends Record<string, any> = Record<string, any>>({ open, maskClosable, className, title, extra, description, width, children, initialValues, onSubmit, submitText, secondary, footnote, onClose, formRef, formProps, showCloseIcon, }: FormDialogProps<Values>) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
-
Field: ({ half, children }: import("../../shared/formCore/BaseProForm").FormFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useRef } from 'react';
|
|
3
|
-
import { ActionBar } from '../../../components/ActionBar';
|
|
4
|
-
import { Dialog } from '../../../components/Dialog';
|
|
5
|
-
import { FORM_LAYOUT_CONFIG, FormLayout } from '../../../components/FormLayout';
|
|
6
|
-
import { Typography } from '../../../components/Typography';
|
|
7
|
-
import { default as classnames, joinCls } from '../../../utils/classnames';
|
|
8
|
-
import { BaseProForm, FormField } from '../../shared/formCore/BaseProForm';
|
|
9
|
-
import { useSubmitAction } from '../../shared/formCore/useSubmitAction';
|
|
10
|
-
import './style';
|
|
11
|
-
/**
|
|
12
|
-
* Form dialog scenario shell — the full assembly:
|
|
13
|
-
*
|
|
14
|
-
* Dialog(bare) overlay machinery only (mask, Esc, close, max-height)
|
|
15
|
-
* └─ FormLayout(modal) panel chrome + density config + pinned header/footer
|
|
16
|
-
* ├─ BaseProForm single ProForm config point (spacing from the same table)
|
|
17
|
-
* └─ ActionBar(compact) footer engine; submit drives `submitForm()`
|
|
18
|
-
*
|
|
19
|
-
* Business code supplies copy, fields, and callbacks — nothing else.
|
|
20
|
-
*/
|
|
21
|
-
var FormDialogInner = function FormDialogInner(_ref) {
|
|
22
|
-
var open = _ref.open,
|
|
23
|
-
maskClosable = _ref.maskClosable,
|
|
24
|
-
className = _ref.className,
|
|
25
|
-
title = _ref.title,
|
|
26
|
-
extra = _ref.extra,
|
|
27
|
-
description = _ref.description,
|
|
28
|
-
width = _ref.width,
|
|
29
|
-
children = _ref.children,
|
|
30
|
-
initialValues = _ref.initialValues,
|
|
31
|
-
onSubmit = _ref.onSubmit,
|
|
32
|
-
submitText = _ref.submitText,
|
|
33
|
-
secondary = _ref.secondary,
|
|
34
|
-
footnote = _ref.footnote,
|
|
35
|
-
onClose = _ref.onClose,
|
|
36
|
-
formRef = _ref.formRef,
|
|
37
|
-
formProps = _ref.formProps,
|
|
38
|
-
_ref$showCloseIcon = _ref.showCloseIcon,
|
|
39
|
-
showCloseIcon = _ref$showCloseIcon === void 0 ? true : _ref$showCloseIcon;
|
|
40
|
-
var innerRef = useRef(undefined);
|
|
41
|
-
var _useSubmitAction = useSubmitAction(onSubmit, onClose),
|
|
42
|
-
submitting = _useSubmitAction.submitting,
|
|
43
|
-
handleFinish = _useSubmitAction.handleFinish;
|
|
44
|
-
useEffect(function () {
|
|
45
|
-
if (formRef) formRef.current = innerRef.current;
|
|
46
|
-
});
|
|
47
|
-
var resolvedSecondary = secondary === false ? undefined : secondary !== null && secondary !== void 0 ? secondary : onClose ? {
|
|
48
|
-
onClick: onClose
|
|
49
|
-
} : undefined;
|
|
50
|
-
// The PANEL carries the width (explicit prop or the modal config default);
|
|
51
|
-
// the FormLayout fills it. Sizing the bare panel by its child would hit
|
|
52
|
-
// the shrink-to-fit percentage circularity instead.
|
|
53
|
-
var panelWidth = width !== null && width !== void 0 ? width : FORM_LAYOUT_CONFIG.modal.width;
|
|
54
|
-
return _jsx(Dialog, {
|
|
55
|
-
bare: true,
|
|
56
|
-
open: open,
|
|
57
|
-
width: panelWidth,
|
|
58
|
-
maskClosable: maskClosable,
|
|
59
|
-
showCloseIcon: showCloseIcon,
|
|
60
|
-
className: className,
|
|
61
|
-
onCancel: onClose,
|
|
62
|
-
children: _jsxs(FormLayout, {
|
|
63
|
-
variant: 'modal',
|
|
64
|
-
width: '100%',
|
|
65
|
-
className: joinCls(classnames('form-dialog')()),
|
|
66
|
-
title: title,
|
|
67
|
-
extra: extra,
|
|
68
|
-
footer: _jsx(ActionBar, {
|
|
69
|
-
layout: 'compact',
|
|
70
|
-
secondary: resolvedSecondary,
|
|
71
|
-
primary: {
|
|
72
|
-
label: submitText,
|
|
73
|
-
loading: submitting,
|
|
74
|
-
onClick: function onClick() {
|
|
75
|
-
var _a;
|
|
76
|
-
return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.submitForm();
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
footnote: footnote
|
|
80
|
-
}),
|
|
81
|
-
children: [description && _jsx(Typography.Body, {
|
|
82
|
-
as: 'p',
|
|
83
|
-
size: 'md',
|
|
84
|
-
strong: true,
|
|
85
|
-
color: 'default-secondary',
|
|
86
|
-
children: description
|
|
87
|
-
}), _jsx(BaseProForm, Object.assign({}, formProps, {
|
|
88
|
-
variant: 'modal',
|
|
89
|
-
formRef: innerRef,
|
|
90
|
-
initialValues: initialValues,
|
|
91
|
-
onFinish: handleFinish,
|
|
92
|
-
children: children
|
|
93
|
-
}))]
|
|
94
|
-
})
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
export var FormDialog = Object.assign(FormDialogInner, {
|
|
98
|
-
Field: FormField
|
|
99
|
-
});
|
|
100
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9Gb3JtRGlhbG9nL0Zvcm1EaWFsb2cuanMiLCJidXNpbmVzcy9EaWFsb2cvc3JjL2J1c2luZXNzL0RpYWxvZy9Gb3JtRGlhbG9nL0Zvcm1EaWFsb2cudHN4Il0sIm5hbWVzIjpbImpzeCIsIl9qc3giLCJqc3hzIiwiX2pzeHMiLCJ1c2VFZmZlY3QiLCJ1c2VSZWYiLCJBY3Rpb25CYXIiLCJEaWFsb2ciLCJGT1JNX0xBWU9VVF9DT05GSUciLCJGb3JtTGF5b3V0IiwiVHlwb2dyYXBoeSIsImRlZmF1bHQiLCJjbGFzc25h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YmIChfanN4KFR5cG9ncmFwaHkuQm9keSwgeyBhczogJ3AnLCBzaXplOiAnbWQnLCBzdHJvbmc6IHRydWUsIGNvbG9yOiAnZGVmYXVsdC1zZWNvbmRhcnknLCBjaGlsZHJlbjogZGVzY3JpcHRpb24gfSkpLCBfanN4KEJhc2VQcm9Gb3JtLCBPYmplY3QuYXNzaWduKHt9LCBmb3JtUHJvcHMsIHsgdmFyaWFudDogJ21vZGFsJywgZm9ybVJlZjogaW5uZXJSZWYsIGluaXRpYWxWYWx1ZXM6IGluaXRpYWxWYWx1ZXMsIG9uRmluaXNoOiBoYW5kbGVGaW5pc2gsIGNoaWxkcmVuOiBjaGlsZHJlbiB9KSldIH0pIH0pKTtcbn07XG5leHBvcnQgY29uc3QgRm9ybURpYWxvZyA9IE9iamVjdC5hc3NpZ24oRm9ybURpYWxvZ0lubmVyLCB7IEZpZWxkOiBGb3JtRmllbGQgfSk7IixudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FormDialog } from './FormDialog';
|
|
2
|
-
export { FormDialog } from './FormDialog';
|
|
3
|
-
export default FormDialog;
|
|
4
|
-
export * from './interface';
|
|
5
|
-
export { FormField, BaseProForm, LOCKED_FORM_PROPS } from '../../shared/formCore/BaseProForm';
|
|
6
|
-
export type { FormFieldProps, BaseProFormProps } from '../../shared/formCore/BaseProForm';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FormDialog } from './FormDialog';
|
|
2
|
-
export { FormDialog } from './FormDialog';
|
|
3
|
-
export default FormDialog;
|
|
4
|
-
export * from './interface';
|
|
5
|
-
export { FormField, BaseProForm, LOCKED_FORM_PROPS } from '../../shared/formCore/BaseProForm';
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9zcmMvYnVzaW5lc3MvRGlhbG9nL0Zvcm1EaWFsb2cvaW5kZXgudHMiXSwibmFtZXMiOlsiRm9ybURpYWxvZyIsIkZvcm1GaWVsZCIsIkJhc2VQcm9Gb3JtIiwiTE9DS0VEX0ZPUk1fUFJPUFMiXSwibWFwcGluZ3MiOiJBQUFBLFNBQVNBLFVBQVUsUUFBUSxjQUFjO0FBRXpDLFNBQVNBLFVBQVUsUUFBUSxjQUFjO0FBRXpDLGVBQWVBLFVBQVU7QUFFekIsY0FBYyxhQUFhO0FBQzNCLFNBQVNDLFNBQVMsRUFBRUMsV0FBVyxFQUFFQyxpQkFBaUIsUUFBUSxtQ0FBbUMiLCJmaWxlIjoiYnVzaW5lc3MvRGlhbG9nL0Zvcm1EaWFsb2cvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, RefObject } from 'react';
|
|
2
|
-
import type { ActionBarAction, ActionBarFootnote } from "../../../components/ActionBar";
|
|
3
|
-
import type { DialogProps } from "../../../components/Dialog";
|
|
4
|
-
import type { FormLayoutProps } from "../../../components/FormLayout";
|
|
5
|
-
import type { ProFormFormInstance } from "../../../components/ProForm";
|
|
6
|
-
import type { BaseProFormProps } from '../../shared/formCore/BaseProForm';
|
|
7
|
-
import type { SubmitHandler } from '../../shared/formCore/useSubmitAction';
|
|
8
|
-
export interface FormDialogProps<Values extends Record<string, any> = Record<string, any>> extends Pick<DialogProps, 'open' | 'maskClosable' | 'showCloseIcon' | 'className'> {
|
|
9
|
-
/** Dialog heading (FormLayout header). */
|
|
10
|
-
title?: ReactNode;
|
|
11
|
-
/** Trailing slot on the title row. */
|
|
12
|
-
extra?: ReactNode;
|
|
13
|
-
/** Supporting copy rendered above the fields. */
|
|
14
|
-
description?: ReactNode;
|
|
15
|
-
/** Panel width override (defaults to the modal variant's 640). */
|
|
16
|
-
width?: FormLayoutProps['width'];
|
|
17
|
-
/** ProForm fields — wrap each in `FormDialog.Field` for half/full width. */
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
/** Initial form values. */
|
|
20
|
-
initialValues?: BaseProFormProps<Values>['initialValues'];
|
|
21
|
-
/**
|
|
22
|
-
* Validated-submit handler. Resolving (or returning `true`/`void`) closes
|
|
23
|
-
* the dialog; returning `false` or throwing keeps it open with form state
|
|
24
|
-
* intact — surface the error yourself (field feedback, toast, …).
|
|
25
|
-
*/
|
|
26
|
-
onSubmit?: SubmitHandler<Values>;
|
|
27
|
-
/** Submit button label override (defaults to the generic 'Confirm'). */
|
|
28
|
-
submitText?: ReactNode;
|
|
29
|
-
/**
|
|
30
|
-
* Secondary (left) action. Defaults to a Cancel button wired to `onClose`;
|
|
31
|
-
* pass `false` to render the submit button alone.
|
|
32
|
-
*/
|
|
33
|
-
secondary?: ActionBarAction | false;
|
|
34
|
-
/** Optional centered footnote row below the actions. */
|
|
35
|
-
footnote?: ActionBarFootnote;
|
|
36
|
-
/** Fires from the close icon, mask click, Escape, and the default Cancel. */
|
|
37
|
-
onClose?: () => void;
|
|
38
|
-
/** Imperative form instance (validate, set values, …). */
|
|
39
|
-
formRef?: RefObject<ProFormFormInstance<Values> | undefined>;
|
|
40
|
-
/** Extra ProForm props (layout props are locked and stripped). */
|
|
41
|
-
formProps?: Omit<BaseProFormProps<Values>, 'variant' | 'initialValues' | 'onFinish' | 'formRef' | 'children'>;
|
|
42
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzaW5lc3MvRGlhbG9nL0Zvcm1EaWFsb2cvaW50ZXJmYWNlLmpzIiwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIiwic291cmNlcyI6WyJidXNpbmVzcy9EaWFsb2cvRm9ybURpYWxvZy9pbnRlcmZhY2UuanMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHt9OyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJpZ25vcmVMaXN0IjpbXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './FormDialog.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9Gb3JtRGlhbG9nL3NyYy9idXNpbmVzcy9EaWFsb2cvRm9ybURpYWxvZy9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLG1CQUFtQiIsImZpbGUiOiJidXNpbmVzcy9EaWFsb2cvRm9ybURpYWxvZy9zdHlsZS9jc3MuanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './FormDialog.css';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './FormDialog.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy9Gb3JtRGlhbG9nL3NyYy9idXNpbmVzcy9EaWFsb2cvRm9ybURpYWxvZy9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLG1CQUFtQiIsImZpbGUiOiJidXNpbmVzcy9EaWFsb2cvRm9ybURpYWxvZy9zdHlsZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { BaseDialog } from '../BaseDialog';
|
|
4
|
-
// Shape only — error illustration + danger-toned confirm (Figma 39958-10166
|
|
5
|
-
// "Delete bank account?": Cancel grey left, danger Confirm right).
|
|
6
|
-
var PRESET = {
|
|
7
|
-
illustration: 'illusError',
|
|
8
|
-
primaryColor: 'danger'
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* `BaseDialog` preset for destructive confirms. Explicit props — including
|
|
12
|
-
* per-action `color` — win over the preset.
|
|
13
|
-
*/
|
|
14
|
-
var DeleteDialogBase = function DeleteDialogBase(props) {
|
|
15
|
-
return _jsx(BaseDialog, Object.assign({}, props, {
|
|
16
|
-
preset: PRESET
|
|
17
|
-
}));
|
|
18
|
-
};
|
|
19
|
-
export var DeleteDialog = /*#__PURE__*/memo(DeleteDialogBase);
|
|
20
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxvZy92YXJpYW50cy9EZWxldGVEaWFsb2cuanMiLCJidXNpbmVzcy9EaWFsb2cvc3JjL2J1c2luZXNzL0RpYWxvZy92YXJpYW50cy9EZWxldGVEaWFsb2cudHN4Il0sIm5hbWVzIjpbImpzeCIsIl9qc3giLCJtZW1vIiwiQmFzZURpYWxvZyIsIlBSRVNFVCIsImlsbHVzdHJhdGlvbiIsInByaW1hcnlDb2xvciIsIkRlbGV0ZURpYWxvZ0Jhc2UiLCJwcm9wcyIsIk9iamVjdCIsImFzc2lnbiIsInByZXNldCIsIkRlbGV0ZURpYWxvZyJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsR0FBRyxJQUFJQyxJQUFJLFFBQVEsbUJBQW1CO0FDQS9DLFNBQVNDLElBQUksUUFBUSxPQUFPO0FBQzVCL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XG4gKiBgQmFzZURpYWxvZ2AgcHJlc2V0IGZvciBkZXN0cnVjdGl2ZSBjb25maXJtcy4gRXhwbGljaXQgcHJvcHMg4oCUIGluY2x1ZGluZ1xuICogcGVyLWFjdGlvbiBgY29sb3JgIOKAlCB3aW4gb3ZlciB0aGUgcHJlc2V0LlxuICovXG5jb25zdCBEZWxldGVEaWFsb2dCYXNlID0gKHByb3BzKSA9PiAoX2pzeChCYXNlRGlhbG9nLCBPYmplY3QuYXNzaWduKHt9LCBwcm9wcywgeyBwcmVzZXQ6IFBSRVNFVCB9KSkpO1xuZXhwb3J0IGNvbnN0IERlbGV0ZURpYWxvZyA9IG1lbW8oRGVsZXRlRGlhbG9nQmFzZSk7IixudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo } from 'react';
|
|
3
|
-
import { BaseDialog } from '../BaseDialog';
|
|
4
|
-
// Shape only — error illustration (Figma 39958-10339 "Transaction failed").
|
|
5
|
-
// Unlike DeleteDialog, actions keep their normal tones (e.g. secondary
|
|
6
|
-
// "Contact Support" + primary "Try Again").
|
|
7
|
-
var PRESET = {
|
|
8
|
-
illustration: 'illusError'
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* `BaseDialog` preset for failure results. Explicit props win over the
|
|
12
|
-
* preset.
|
|
13
|
-
*/
|
|
14
|
-
var FailureDialogBase = function FailureDialogBase(props) {
|
|
15
|
-
return _jsx(BaseDialog, Object.assign({}, props, {
|
|
16
|
-
preset: PRESET
|
|
17
|
-
}));
|
|
18
|
-
};
|
|
19
|
-
export var FailureDialog = /*#__PURE__*/memo(FailureDialogBase);
|
|
20
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1c2luZXNzL0RpYWxv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SBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBCYXNlRGlhbG9nIH0gZnJvbSAnLi4vQmFzZURpYWxvZyc7XG4vLyBTaGFwZSBvbmx5IOKAlCBlcnJvciBpbGx1c3RyYXRpb24gKEZpZ21hIDM5OTU4LTEwMzM5IFwiVHJhbnNhY3Rpb24gZmFpbGVkXCIpLlxuLy8gVW5saWtlIERlbGV0ZURpYWxvZywgYWN0aW9ucyBrZWVwIHRoZWlyIG5vcm1hbCB0b25lcyAoZS5nLiBzZWNvbmRhcnlcbi8vIFwiQ29udGFjdCBTdXBwb3J0XCIgKyBwcmltYXJ5IFwiVHJ5IEFnYWluXCIpLlxuY29uc3QgUFJFU0VUID0ge1xuICAgIGlsbHVzdHJhdGlvbjogJ2lsbHVzRXJyb3InLFxufTtcbi8qKlxuICogYEJhc2VEaWFsb2dgIHByZXNldCBmb3IgZmFpbHVyZSByZXN1bHRzLiBFeHBsaWNpdCBwcm9wcyB3aW4gb3ZlciB0aGVcbiAqIHByZXNldC5cbiAqL1xuY29uc3QgRmFpbHVyZURpYWxvZ0Jhc2UgPSAocHJvcHMpID0+IChfanN4KEJhc2VEaWFsb2csIE9iamVjdC5hc3NpZ24oe30sIHByb3BzLCB7IHByZXNldDogUFJFU0VUIH0pKSk7XG5leHBvcnQgY29uc3QgRmFpbHVyZURpYWxvZyA9IG1lbW8oRmFpbHVyZURpYWxvZ0Jhc2UpOyIsbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import './style';
|
|
2
|
-
export type LoadingPollStatus = 'success' | 'pending' | 'failed';
|
|
3
|
-
export interface LoadingPollResult<T = any> {
|
|
4
|
-
status: LoadingPollStatus;
|
|
5
|
-
data?: T;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Fixed waiting surface — mirrors the legacy `Modal/Loading` structure: the
|
|
9
|
-
* content is NOT configurable (spinning brand logo + pulsing "Loading..." +
|
|
10
|
-
* hint, all centered), there are no slots, no actions, no close, and the
|
|
11
|
-
* mask never dismisses. Only the polling orchestration and the icon size
|
|
12
|
-
* are parameters.
|
|
13
|
-
*/
|
|
14
|
-
export interface LoadingDialogProps<T = any> {
|
|
15
|
-
open?: boolean;
|
|
16
|
-
/** Spinning brand logo size (legacy default 74). */
|
|
17
|
-
iconSize?: number;
|
|
18
|
-
/**
|
|
19
|
-
* Polling orchestration (ported verbatim from the legacy LoadingModal):
|
|
20
|
-
* runs on mount and every `pollInterval` ms. `success`/`failed` results
|
|
21
|
-
* stop polling and fire the matching callback with `result.data`; a throw
|
|
22
|
-
* fires `onFailed(error)`; `pending` keeps polling until `pollTimeout`,
|
|
23
|
-
* which stops and fires `onPending()`.
|
|
24
|
-
*/
|
|
25
|
-
pollFn?: () => Promise<LoadingPollResult<T>>;
|
|
26
|
-
pollInterval?: number;
|
|
27
|
-
pollTimeout?: number;
|
|
28
|
-
onSuccess?: (data?: T) => void;
|
|
29
|
-
onPending?: (data?: T) => void;
|
|
30
|
-
onFailed?: (error?: any) => void;
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
export declare const LoadingDialog: import("react").NamedExoticComponent<LoadingDialogProps<any>>;
|