@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,44 +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-action-bar {
|
|
24
|
-
width: 100%;
|
|
25
|
-
}
|
|
26
|
-
.om-component-ui-action-bar-actions {
|
|
27
|
-
gap: var(--form-layout-action-gap, 12px);
|
|
28
|
-
}
|
|
29
|
-
.om-component-ui-action-bar-actions > button {
|
|
30
|
-
white-space: nowrap;
|
|
31
|
-
}
|
|
32
|
-
.om-component-ui-action-bar-fill .om-component-ui-action-bar-actions > button {
|
|
33
|
-
flex: 1 1 0;
|
|
34
|
-
}
|
|
35
|
-
.om-component-ui-action-bar-compact .om-component-ui-action-bar-actions {
|
|
36
|
-
justify-content: flex-start;
|
|
37
|
-
}
|
|
38
|
-
.om-component-ui-action-bar-vertical .om-component-ui-action-bar-actions > button {
|
|
39
|
-
flex: none;
|
|
40
|
-
width: 100%;
|
|
41
|
-
}
|
|
42
|
-
.om-component-ui-action-bar-footnote a {
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './ActionBar.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvQWN0aW9uQmFyL3NyYy9jb21wb25lbnRzL0FjdGlvbkJhci9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLGtCQUFrQiIsImZpbGUiOiJjb21wb25lbnRzL0FjdGlvbkJhci9zdHlsZS9jc3MuanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './ActionBar.css';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import './ActionBar.css';
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvQWN0aW9uQmFyL3NyYy9jb21wb25lbnRzL0FjdGlvbkJhci9zdHlsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLGtCQUFrQiIsImZpbGUiOiJjb21wb25lbnRzL0FjdGlvbkJhci9zdHlsZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { FC, ReactNode } from 'react';
|
|
2
|
-
import type { FormLayoutProps } from './interface';
|
|
3
|
-
import './style';
|
|
4
|
-
export interface FormRowProps {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export type FormCellProps = FormRowProps;
|
|
9
|
-
/**
|
|
10
|
-
* One multi-column row inside the fields region. Cells share the row evenly;
|
|
11
|
-
* the gutter reads the SAME css variable the layout sets, so it follows the
|
|
12
|
-
* variant density automatically. Full-width fields don't need a FormRow —
|
|
13
|
-
* they are direct children of the layout. Rows and full-width children mix
|
|
14
|
-
* freely. Also available as `FormLayout.Row`.
|
|
15
|
-
*/
|
|
16
|
-
export declare const FormRow: FC<FormRowProps>;
|
|
17
|
-
/**
|
|
18
|
-
* One cell of a FormRow; cells split the row evenly and clip long content.
|
|
19
|
-
* Also available as `FormLayout.Cell`.
|
|
20
|
-
*/
|
|
21
|
-
export declare const FormCell: FC<FormCellProps>;
|
|
22
|
-
export declare const FormLayout: import("react").NamedExoticComponent<FormLayoutProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
23
|
-
Row: FC<FormRowProps>;
|
|
24
|
-
Cell: FC<FormRowProps>;
|
|
25
|
-
};
|
|
@@ -1,128 +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 { forwardRef, memo, useEffect, useRef, useState } from 'react';
|
|
12
|
-
import { Typography } from '../Typography';
|
|
13
|
-
import { default as classnames, joinCls } from '../../utils/classnames';
|
|
14
|
-
import { FORM_LAYOUT_PREFIX, FORM_LAYOUT_SLOT, formLayoutCssVars, resolveFormLayoutConfig } from './config';
|
|
15
|
-
import { FormControlSizeContext } from './context';
|
|
16
|
-
import './style';
|
|
17
|
-
var SCROLL_FADE_DELAY = 1000;
|
|
18
|
-
var FormLayoutBase = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
19
|
-
var _a$variant = _a.variant,
|
|
20
|
-
variant = _a$variant === void 0 ? 'page' : _a$variant,
|
|
21
|
-
_a$size = _a.size,
|
|
22
|
-
size = _a$size === void 0 ? 'large' : _a$size,
|
|
23
|
-
scroll = _a.scroll,
|
|
24
|
-
title = _a.title,
|
|
25
|
-
extra = _a.extra,
|
|
26
|
-
children = _a.children,
|
|
27
|
-
footer = _a.footer,
|
|
28
|
-
width = _a.width,
|
|
29
|
-
maxHeight = _a.maxHeight,
|
|
30
|
-
_a$prefixCls = _a.prefixCls,
|
|
31
|
-
prefixCls = _a$prefixCls === void 0 ? FORM_LAYOUT_PREFIX : _a$prefixCls,
|
|
32
|
-
className = _a.className,
|
|
33
|
-
style = _a.style,
|
|
34
|
-
rest = __rest(_a, ["variant", "size", "scroll", "title", "extra", "children", "footer", "width", "maxHeight", "prefixCls", "className", "style"]);
|
|
35
|
-
var classes = classnames(prefixCls);
|
|
36
|
-
var resolvedWidth = typeof width === 'number' ? "".concat(width, "px") : width;
|
|
37
|
-
// While a scroll is in flight the content carries a `-scrolling` class so
|
|
38
|
-
// the (otherwise invisible) overlay scrollbar thumb shows, fading out one
|
|
39
|
-
// second after the last scroll event — ported from the app's PopupForm.
|
|
40
|
-
// Scroll policy: the variant supplies the default (modal → true,
|
|
41
|
-
// page → false); an explicit `scroll` prop overrides it.
|
|
42
|
-
var scrollable = scroll !== null && scroll !== void 0 ? scroll : variant === 'modal';
|
|
43
|
-
var _useState = useState(false),
|
|
44
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
45
|
-
scrolling = _useState2[0],
|
|
46
|
-
setScrolling = _useState2[1];
|
|
47
|
-
var fadeTimer = useRef(undefined);
|
|
48
|
-
useEffect(function () {
|
|
49
|
-
return function () {
|
|
50
|
-
return clearTimeout(fadeTimer.current);
|
|
51
|
-
};
|
|
52
|
-
}, []);
|
|
53
|
-
var handleScroll = scrollable ? function () {
|
|
54
|
-
setScrolling(true);
|
|
55
|
-
clearTimeout(fadeTimer.current);
|
|
56
|
-
fadeTimer.current = setTimeout(function () {
|
|
57
|
-
return setScrolling(false);
|
|
58
|
-
}, SCROLL_FADE_DELAY);
|
|
59
|
-
} : undefined;
|
|
60
|
-
var titleNode = typeof title === 'string' || typeof title === 'number' ? _jsx(Typography.Headline, {
|
|
61
|
-
size: 'sm',
|
|
62
|
-
as: 'h2',
|
|
63
|
-
color: 'default',
|
|
64
|
-
children: title
|
|
65
|
-
}) : title;
|
|
66
|
-
return _jsx(FormControlSizeContext.Provider, {
|
|
67
|
-
value: resolveFormLayoutConfig(variant, size).controlSize,
|
|
68
|
-
children: _jsxs("div", Object.assign({}, rest, {
|
|
69
|
-
ref: ref,
|
|
70
|
-
className: joinCls(classes(), classes(variant), scrollable && classes('scrollable'), className),
|
|
71
|
-
style: Object.assign(Object.assign(Object.assign(Object.assign({}, formLayoutCssVars(variant, size)), resolvedWidth ? {
|
|
72
|
-
width: resolvedWidth
|
|
73
|
-
} : null), maxHeight != null ? {
|
|
74
|
-
maxHeight: typeof maxHeight === 'number' ? "".concat(maxHeight, "px") : maxHeight
|
|
75
|
-
} : null), style),
|
|
76
|
-
children: [(title != null || extra != null) && _jsxs("div", {
|
|
77
|
-
className: classes(FORM_LAYOUT_SLOT.header),
|
|
78
|
-
children: [title != null && _jsx("div", {
|
|
79
|
-
className: classes(FORM_LAYOUT_SLOT.title),
|
|
80
|
-
children: titleNode
|
|
81
|
-
}), extra != null && _jsx("div", {
|
|
82
|
-
className: classes(FORM_LAYOUT_SLOT.extra),
|
|
83
|
-
children: extra
|
|
84
|
-
})]
|
|
85
|
-
}), children != null && _jsx("div", {
|
|
86
|
-
className: joinCls(classes(FORM_LAYOUT_SLOT.content), scrolling && classes("".concat(FORM_LAYOUT_SLOT.content, "-scrolling"))),
|
|
87
|
-
onScroll: handleScroll,
|
|
88
|
-
children: children
|
|
89
|
-
}), footer != null && _jsx("div", {
|
|
90
|
-
className: classes(FORM_LAYOUT_SLOT.footer),
|
|
91
|
-
children: footer
|
|
92
|
-
})]
|
|
93
|
-
}))
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
FormLayoutBase.displayName = 'FormLayout';
|
|
97
|
-
/**
|
|
98
|
-
* One multi-column row inside the fields region. Cells share the row evenly;
|
|
99
|
-
* the gutter reads the SAME css variable the layout sets, so it follows the
|
|
100
|
-
* variant density automatically. Full-width fields don't need a FormRow —
|
|
101
|
-
* they are direct children of the layout. Rows and full-width children mix
|
|
102
|
-
* freely. Also available as `FormLayout.Row`.
|
|
103
|
-
*/
|
|
104
|
-
export var FormRow = function FormRow(_ref) {
|
|
105
|
-
var children = _ref.children,
|
|
106
|
-
className = _ref.className;
|
|
107
|
-
return _jsx("div", {
|
|
108
|
-
className: joinCls(classnames(FORM_LAYOUT_PREFIX)('row'), className),
|
|
109
|
-
children: children
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* One cell of a FormRow; cells split the row evenly and clip long content.
|
|
114
|
-
* Also available as `FormLayout.Cell`.
|
|
115
|
-
*/
|
|
116
|
-
export var FormCell = function FormCell(_ref2) {
|
|
117
|
-
var children = _ref2.children,
|
|
118
|
-
className = _ref2.className;
|
|
119
|
-
return _jsx("div", {
|
|
120
|
-
className: joinCls(classnames(FORM_LAYOUT_PREFIX)('cell'), className),
|
|
121
|
-
children: children
|
|
122
|
-
});
|
|
123
|
-
};
|
|
124
|
-
export var FormLayout = Object.assign(/*#__PURE__*/memo(FormLayoutBase), {
|
|
125
|
-
Row: FormRow,
|
|
126
|
-
Cell: FormCell
|
|
127
|
-
});
|
|
128
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvRm9ybUxheW91dC9Gb3JtTGF5b3V0LmpzIiwiY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9Gb3JtTGF5b3V0L0Zvcm1MYXlvdXQudHN4Il0sIm5hbWVzIjpbIl9fcmVzdCIsInMiLCJlIiwidCIsInAiLCJPYmplY3QiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpbmRleE9mIiwiZ2V0T3duUHJvcGVydHlTeW1ib2xzIiwiaSIsImxlbmd0aCIsInByb3BlcnR5SXNFbnVtZXJhYmxlIiwianN4IiwiX2pzeCIsImpzeHMiLCJfanN4cyIsImZvcndhcmRSZWYiLCJtZW1vIiwidXNlRWZmZWN0IiwidXNlUmVmIiwidXNlU3RhdGUiLCJUeXBvZ3JhcGh5IiwiZGVmYXVsdCIsImNsYXNzbmFtZXMiLCJqb2luQ2xzIiwiRk9STV9MQVlPVVRfUFJFRklYIiwiRk9STV9MQVlPVVRfU0xPVCIsImZvcm1MYXlvdXRDc3NWYXJzIiwicmVzb2x2ZUZvcm1MYXlvdXRDb25maWciLCJGb3JtQ29udHJvbFNpemVDb250ZXh0IiwiU0NST0xMX0ZBREVfREVMQVkiLCJGb3JtTGF5b3V0QmFzZSIsIl9hIiwicmVmIiwiX2EkdmFyaWFudCIsInZhcmlhbnQiLCJfYSRzaXplIiwic2l6ZSIsInNjcm9sbCIsInRpdGxlIiwiZXh0cmEiLCJjaGlsZHJlbiIsImZvb3RlciIsIndpZHRoIiwibWF4SGVpZ2h0IiwiX2EkcHJlZml4Q2xzIiwicHJlZml4Q2xzIiwiY2xhc3NOYW1lIiwic3R5bGUiLCJyZXN0Iiwi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lOiBqb2luQ2xzKGNsYXNzbmFtZXMoRk9STV9MQVlPVVRfUFJFRklYKSgnY2VsbCcpLCBjbGFzc05hbWUpLCBjaGlsZHJlbjogY2hpbGRyZW4gfSkpO1xuZXhwb3J0IGNvbnN0IEZvcm1MYXlvdXQgPSBPYmplY3QuYXNzaWduKG1lbW8oRm9ybUxheW91dEJhc2UpLCB7XG4gICAgUm93OiBGb3JtUm93LFxuICAgIENlbGw6IEZvcm1DZWxsLFxufSk7IixudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'react';
|
|
2
|
-
export declare const FORM_LAYOUT_PREFIX = "form-layout";
|
|
3
|
-
/**
|
|
4
|
-
* THE density table for form surfaces — the single thing to edit when the
|
|
5
|
-
* design changes or a new density is added. Every value is consumed through
|
|
6
|
-
* CSS custom properties (container spacing) or read by the form preset
|
|
7
|
-
* (row gap / column gutter for ProForm), so adding a variant here is the
|
|
8
|
-
* whole job.
|
|
9
|
-
*
|
|
10
|
-
* Source: 1Money Design System (Beta) — "Dialog Body" (node 39743-4634)
|
|
11
|
-
* for `modal`; page usage (node 39956-9712) for `page`.
|
|
12
|
-
*/
|
|
13
|
-
export declare const FORM_LAYOUT_CONFIG: {
|
|
14
|
-
/** Inside a dialog: tighter density. */
|
|
15
|
-
readonly modal: {
|
|
16
|
-
/** Default panel width (px); the `width` prop overrides. */
|
|
17
|
-
readonly width: 640;
|
|
18
|
-
/** Panel padding (px). */
|
|
19
|
-
readonly padding: 24;
|
|
20
|
-
/** Vertical gap between field rows (px). */
|
|
21
|
-
readonly rowGap: 12;
|
|
22
|
-
/** Horizontal gutter between columns in a row (px). */
|
|
23
|
-
readonly colGutter: 12;
|
|
24
|
-
/** Gap between the header / fields / footer regions (px). */
|
|
25
|
-
readonly regionGap: 16;
|
|
26
|
-
/** Gap between footer action buttons (px); ActionBar reads it via var. */
|
|
27
|
-
readonly actionGap: 12;
|
|
28
|
-
/** Control size cascaded to every field via ProForm `size`. */
|
|
29
|
-
readonly controlSize: "small";
|
|
30
|
-
};
|
|
31
|
-
/** Standalone on a page: roomier density. */
|
|
32
|
-
readonly page: {
|
|
33
|
-
readonly width: 738;
|
|
34
|
-
readonly padding: 32;
|
|
35
|
-
readonly rowGap: 24;
|
|
36
|
-
readonly colGutter: 24;
|
|
37
|
-
readonly regionGap: 24;
|
|
38
|
-
readonly actionGap: 12;
|
|
39
|
-
readonly controlSize: "large";
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export type FormLayoutVariant = keyof typeof FORM_LAYOUT_CONFIG;
|
|
43
|
-
export declare const FORM_LAYOUT_VARIANTS: FormLayoutVariant[];
|
|
44
|
-
export declare const FORM_LAYOUT_SIZES: readonly ["large", "small"];
|
|
45
|
-
export type FormLayoutSize = (typeof FORM_LAYOUT_SIZES)[number];
|
|
46
|
-
/**
|
|
47
|
-
* Per-size density overrides on a variant's baseline (the baseline IS the
|
|
48
|
-
* `large` size). Only `page/small` exists today — a narrower page (448,
|
|
49
|
-
* matching the app's sign-in card); padding and gaps mirror the page baseline
|
|
50
|
-
* (32 / 24 / 24) and are spelled out so the size's full density reads in one
|
|
51
|
-
* place. A variant/size with no entry uses the baseline unchanged, so `large`
|
|
52
|
-
* never needs an entry. `modal` intentionally has no `small`: the 380
|
|
53
|
-
* confirm/result dialog is BaseDialog, which is not a form surface and does
|
|
54
|
-
* not use FormLayout.
|
|
55
|
-
*/
|
|
56
|
-
export declare const FORM_LAYOUT_SIZE: {
|
|
57
|
-
readonly page: {
|
|
58
|
-
readonly small: {
|
|
59
|
-
readonly width: 448;
|
|
60
|
-
readonly padding: 32;
|
|
61
|
-
readonly rowGap: 24;
|
|
62
|
-
readonly colGutter: 24;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Baseline density for a variant merged with the requested size's deviations.
|
|
68
|
-
* The single lookup both the surface (FormLayout) and the form preset
|
|
69
|
-
* (BaseProForm) read, so width / padding / gaps / control size never diverge.
|
|
70
|
-
*/
|
|
71
|
-
export declare const resolveFormLayoutConfig: (variant: FormLayoutVariant, size?: FormLayoutSize) => {
|
|
72
|
-
width: 640 | 448;
|
|
73
|
-
padding: 32 | 24;
|
|
74
|
-
rowGap: 12 | 24;
|
|
75
|
-
colGutter: 12 | 24;
|
|
76
|
-
regionGap: 16;
|
|
77
|
-
actionGap: 12;
|
|
78
|
-
controlSize: "small";
|
|
79
|
-
} | {
|
|
80
|
-
width: 738 | 448;
|
|
81
|
-
padding: 32;
|
|
82
|
-
rowGap: 24;
|
|
83
|
-
colGutter: 24;
|
|
84
|
-
regionGap: 24;
|
|
85
|
-
actionGap: 12;
|
|
86
|
-
controlSize: "large";
|
|
87
|
-
};
|
|
88
|
-
export declare const FORM_LAYOUT_SLOT: {
|
|
89
|
-
readonly header: "header";
|
|
90
|
-
readonly title: "title";
|
|
91
|
-
readonly extra: "extra";
|
|
92
|
-
readonly content: "content";
|
|
93
|
-
readonly footer: "footer";
|
|
94
|
-
};
|
|
95
|
-
/** Bridge the resolved (variant, size) numbers into CSS custom properties. */
|
|
96
|
-
export declare const formLayoutCssVars: (variant: FormLayoutVariant, size?: FormLayoutSize) => CSSProperties;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export var FORM_LAYOUT_PREFIX = 'form-layout';
|
|
2
|
-
/**
|
|
3
|
-
* THE density table for form surfaces — the single thing to edit when the
|
|
4
|
-
* design changes or a new density is added. Every value is consumed through
|
|
5
|
-
* CSS custom properties (container spacing) or read by the form preset
|
|
6
|
-
* (row gap / column gutter for ProForm), so adding a variant here is the
|
|
7
|
-
* whole job.
|
|
8
|
-
*
|
|
9
|
-
* Source: 1Money Design System (Beta) — "Dialog Body" (node 39743-4634)
|
|
10
|
-
* for `modal`; page usage (node 39956-9712) for `page`.
|
|
11
|
-
*/
|
|
12
|
-
export var FORM_LAYOUT_CONFIG = {
|
|
13
|
-
/** Inside a dialog: tighter density. */
|
|
14
|
-
modal: {
|
|
15
|
-
/** Default panel width (px); the `width` prop overrides. */
|
|
16
|
-
width: 640,
|
|
17
|
-
/** Panel padding (px). */
|
|
18
|
-
padding: 24,
|
|
19
|
-
/** Vertical gap between field rows (px). */
|
|
20
|
-
rowGap: 12,
|
|
21
|
-
/** Horizontal gutter between columns in a row (px). */
|
|
22
|
-
colGutter: 12,
|
|
23
|
-
/** Gap between the header / fields / footer regions (px). */
|
|
24
|
-
regionGap: 16,
|
|
25
|
-
/** Gap between footer action buttons (px); ActionBar reads it via var. */
|
|
26
|
-
actionGap: 12,
|
|
27
|
-
/** Control size cascaded to every field via ProForm `size`. */
|
|
28
|
-
controlSize: 'small'
|
|
29
|
-
},
|
|
30
|
-
/** Standalone on a page: roomier density. */
|
|
31
|
-
page: {
|
|
32
|
-
width: 738,
|
|
33
|
-
padding: 32,
|
|
34
|
-
rowGap: 24,
|
|
35
|
-
colGutter: 24,
|
|
36
|
-
regionGap: 24,
|
|
37
|
-
actionGap: 12,
|
|
38
|
-
controlSize: 'large'
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
export var FORM_LAYOUT_VARIANTS = Object.keys(FORM_LAYOUT_CONFIG);
|
|
42
|
-
export var FORM_LAYOUT_SIZES = ['large', 'small'];
|
|
43
|
-
/**
|
|
44
|
-
* Per-size density overrides on a variant's baseline (the baseline IS the
|
|
45
|
-
* `large` size). Only `page/small` exists today — a narrower page (448,
|
|
46
|
-
* matching the app's sign-in card); padding and gaps mirror the page baseline
|
|
47
|
-
* (32 / 24 / 24) and are spelled out so the size's full density reads in one
|
|
48
|
-
* place. A variant/size with no entry uses the baseline unchanged, so `large`
|
|
49
|
-
* never needs an entry. `modal` intentionally has no `small`: the 380
|
|
50
|
-
* confirm/result dialog is BaseDialog, which is not a form surface and does
|
|
51
|
-
* not use FormLayout.
|
|
52
|
-
*/
|
|
53
|
-
export var FORM_LAYOUT_SIZE = {
|
|
54
|
-
page: {
|
|
55
|
-
small: {
|
|
56
|
-
width: 448,
|
|
57
|
-
padding: 32,
|
|
58
|
-
rowGap: 24,
|
|
59
|
-
colGutter: 24
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Baseline density for a variant merged with the requested size's deviations.
|
|
65
|
-
* The single lookup both the surface (FormLayout) and the form preset
|
|
66
|
-
* (BaseProForm) read, so width / padding / gaps / control size never diverge.
|
|
67
|
-
*/
|
|
68
|
-
export var resolveFormLayoutConfig = function resolveFormLayoutConfig(variant) {
|
|
69
|
-
var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'large';
|
|
70
|
-
var overrides = FORM_LAYOUT_SIZE[variant];
|
|
71
|
-
var override = overrides ? overrides[size] : undefined;
|
|
72
|
-
return Object.assign(Object.assign({}, FORM_LAYOUT_CONFIG[variant]), override);
|
|
73
|
-
};
|
|
74
|
-
export var FORM_LAYOUT_SLOT = {
|
|
75
|
-
header: 'header',
|
|
76
|
-
title: 'title',
|
|
77
|
-
extra: 'extra',
|
|
78
|
-
content: 'content',
|
|
79
|
-
footer: 'footer'
|
|
80
|
-
};
|
|
81
|
-
/** Bridge the resolved (variant, size) numbers into CSS custom properties. */
|
|
82
|
-
export var formLayoutCssVars = function formLayoutCssVars(variant) {
|
|
83
|
-
var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'large';
|
|
84
|
-
var config = resolveFormLayoutConfig(variant, size);
|
|
85
|
-
return {
|
|
86
|
-
'--form-layout-width': "".concat(config.width, "px"),
|
|
87
|
-
'--form-layout-padding': "".concat(config.padding, "px"),
|
|
88
|
-
'--form-layout-row-gap': "".concat(config.rowGap, "px"),
|
|
89
|
-
'--form-layout-region-gap': "".concat(config.regionGap, "px"),
|
|
90
|
-
'--form-layout-action-gap': "".concat(config.actionGap, "px")
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
//# sourceMappingURL=data:application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IHByb3BlcnRpZXMuICovXG5leHBvcnQgY29uc3QgZm9ybUxheW91dENzc1ZhcnMgPSAodmFyaWFudCwgc2l6ZSA9ICdsYXJnZScpID0+IHtcbiAgICBjb25zdCBjb25maWcgPSByZXNvbHZlRm9ybUxheW91dENvbmZpZyh2YXJpYW50LCBzaXplKTtcbiAgICByZXR1cm4ge1xuICAgICAgICAnLS1mb3JtLWxheW91dC13aWR0aCc6IGAke2NvbmZpZy53aWR0aH1weGAsXG4gICAgICAgICctLWZvcm0tbGF5b3V0LXBhZGRpbmcnOiBgJHtjb25maWcucGFkZGluZ31weGAsXG4gICAgICAgICctLWZvcm0tbGF5b3V0LXJvdy1nYXAnOiBgJHtjb25maWcucm93R2FwfXB4YCxcbiAgICAgICAgJy0tZm9ybS1sYXlvdXQtcmVnaW9uLWdhcCc6IGAke2NvbmZpZy5yZWdpb25HYXB9cHhgLFxuICAgICAgICAnLS1mb3JtLWxheW91dC1hY3Rpb24tZ2FwJzogYCR7Y29uZmlnLmFjdGlvbkdhcH1weGAsXG4gICAgfTtcbn07Il0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default control size a FormLayout broadcasts to BARE controls inside it
|
|
3
|
-
* (`modal` → small, `page` → large). Input/Select read it when no explicit
|
|
4
|
-
* `size` prop is given, so shell-only migrations (no ProForm) get the
|
|
5
|
-
* variant's control size for free. An explicit `size` always wins; outside
|
|
6
|
-
* a FormLayout the components keep their own `'large'` default.
|
|
7
|
-
*/
|
|
8
|
-
export declare const FormControlSizeContext: import("react").Context<"small" | "large" | undefined>;
|
|
9
|
-
export declare const useFormControlSize: () => "small" | "large" | undefined;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { createContext, useContext } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Default control size a FormLayout broadcasts to BARE controls inside it
|
|
4
|
-
* (`modal` → small, `page` → large). Input/Select read it when no explicit
|
|
5
|
-
* `size` prop is given, so shell-only migrations (no ProForm) get the
|
|
6
|
-
* variant's control size for free. An explicit `size` always wins; outside
|
|
7
|
-
* a FormLayout the components keep their own `'large'` default.
|
|
8
|
-
*/
|
|
9
|
-
export var FormControlSizeContext = /*#__PURE__*/createContext(undefined);
|
|
10
|
-
export var useFormControlSize = function useFormControlSize() {
|
|
11
|
-
return useContext(FormControlSizeContext);
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRm9ybUxheW91dC9jb250ZXh0LnRzIiwiY29tcG9uZW50cy9Gb3JtTGF5b3V0L2NvbnRleHQuanMiXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsInVzZUNvbnRleHQiLCJGb3JtQ29udHJvbFNpemVDb250ZXh0IiwidW5kZWZpbmVkIiwidXNlRm9ybUNvbnRyb2xTaXplIl0sIm1hcHBpbmdzIjoiQUFBQSxTQUFTQSxhQUFhLEVBQUVDLFVBQVUsUUFBUSxPQUFPO0FBRWpEO0FDQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FERUEsT0FBTyxJQUFNQyxzQkFBc0IsZ0JBQUdGLGFBQWEsQ0FBZ0NHLFNBQVMsQ0FBQztBQUU3RixPQUFPLElBQU1DLGtCQUFrQixHQUFHLFNBQXJCQSxrQkFBa0JBLENBQUE7RUFBQSxPQUFTSCxVQUFVLENBQUNDLHNCQUFzQixDQUFDO0FBQUEiLCJmaWxlIjoiY29tcG9uZW50cy9Gb3JtTGF5b3V0L2NvbnRleHQuanMiLCJzb3VyY2VzQ29udGVudCI6W251bGwsImltcG9ydCB7IGNyZWF0ZUNvbnRleHQsIHVzZUNvbnRleHQgfSBmcm9tICdyZWFjdCc7XG4vKipcbiAqIERlZmF1bHQgY29udHJvbCBzaXplIGEgRm9ybUxheW91dCBicm9hZGNhc3RzIHRvIEJBUkUgY29udHJvbHMgaW5zaWRlIGl0XG4gKiAoYG1vZGFsYCDihpIgc21hbGwsIGBwYWdlYCDihpIgbGFyZ2UpLiBJbnB1dC9TZWxlY3QgcmVhZCBpdCB3aGVuIG5vIGV4cGxpY2l0XG4gKiBgc2l6ZWAgcHJvcCBpcyBnaXZlbiwgc28gc2hlbGwtb25seSBtaWdyYXRpb25zIChubyBQcm9Gb3JtKSBnZXQgdGhlXG4gKiB2YXJpYW50J3MgY29udHJvbCBzaXplIGZvciBmcmVlLiBBbiBleHBsaWNpdCBgc2l6ZWAgYWx3YXlzIHdpbnM7IG91dHNpZGVcbiAqIGEgRm9ybUxheW91dCB0aGUgY29tcG9uZW50cyBrZWVwIHRoZWlyIG93biBgJ2xhcmdlJ2AgZGVmYXVsdC5cbiAqL1xuZXhwb3J0IGNvbnN0IEZvcm1Db250cm9sU2l6ZUNvbnRleHQgPSBjcmVhdGVDb250ZXh0KHVuZGVmaW5lZCk7XG5leHBvcnQgY29uc3QgdXNlRm9ybUNvbnRyb2xTaXplID0gKCkgPT4gdXNlQ29udGV4dChGb3JtQ29udHJvbFNpemVDb250ZXh0KTsiXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FormLayout } from './FormLayout';
|
|
2
|
-
export { FormLayout, FormRow, FormCell } from './FormLayout';
|
|
3
|
-
export type { FormRowProps, FormCellProps } from './FormLayout';
|
|
4
|
-
export default FormLayout;
|
|
5
|
-
export * from './interface';
|
|
6
|
-
export { FORM_LAYOUT_CONFIG, FORM_LAYOUT_SIZE, FORM_LAYOUT_SIZES, FORM_LAYOUT_VARIANTS, formLayoutCssVars, resolveFormLayoutConfig, } from './config';
|
|
7
|
-
export { FormControlSizeContext, useFormControlSize } from './context';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FormLayout } from './FormLayout';
|
|
2
|
-
export { FormLayout, FormRow, FormCell } from './FormLayout';
|
|
3
|
-
export default FormLayout;
|
|
4
|
-
export * from './interface';
|
|
5
|
-
export { FORM_LAYOUT_CONFIG, FORM_LAYOUT_SIZE, FORM_LAYOUT_SIZES, FORM_LAYOUT_VARIANTS, formLayoutCssVars, resolveFormLayoutConfig } from './config';
|
|
6
|
-
export { FormControlSizeContext, useFormControlSize } from './context';
|
|
7
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRm9ybUxheW91dC9pbmRleC50cyJdLCJuYW1lcyI6WyJGb3JtTGF5b3V0IiwiRm9ybVJvdyIsIkZvcm1DZWxsIiwiRk9STV9MQVlPVVRfQ09ORklHIiwiRk9STV9MQVlPVVRfU0laRSIsIkZPUk1fTEFZT1VUX1NJWkVTIiwiRk9STV9MQVlPVVRfVkFSSUFOVFMiLCJmb3JtTGF5b3V0Q3NzVmFycyIsInJlc29sdmVGb3JtTGF5b3V0Q29uZmlnIiwiRm9ybUNvbnRyb2xTaXplQ29udGV4dCIsInVzZUZvcm1Db250cm9sU2l6ZSJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsVUFBVSxRQUFRLGNBQWM7QUFFekMsU0FBU0EsVUFBVSxFQUFFQyxPQUFPLEVBQUVDLFFBQVEsUUFBUSxjQUFjO0FBRzVELGVBQWVGLFVBQVU7QUFFekIsY0FBYyxhQUFhO0FBQzNCLFNBQ0VHLGtCQUFrQixFQUNsQkMsZ0JBQWdCLEVBQ2hCQyxpQkFBaUIsRUFDakJDLG9CQUFvQixFQUNwQkMsaUJBQWlCLEVBQ2pCQyx1QkFBdUIsUUFDbEIsVUFBVTtBQUNqQixTQUFTQyxzQkFBc0IsRUFBRUMsa0JBQWtCLFFBQVEsV0FBVyIsImZpbGUiOiJjb21wb25lbnRzL0Zvcm1MYXlvdXQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import type { FormLayoutSize, FormLayoutVariant } from './config';
|
|
3
|
-
export type { FormLayoutSize, FormLayoutVariant } from './config';
|
|
4
|
-
/**
|
|
5
|
-
* Form-only surface layout: panel chrome (white surface, hairline border,
|
|
6
|
-
* radius) + three regions (header with title/extra, fields content, footer)
|
|
7
|
-
* with variant-driven density. Used directly on pages (`variant="page"`) and
|
|
8
|
-
* nested inside Dialog for form dialogs (`variant="modal"`).
|
|
9
|
-
*
|
|
10
|
-
* Scroll policy is owned here: `modal` pins header/footer and scrolls the
|
|
11
|
-
* fields region when height-constrained (scrollbar rides the middle of the
|
|
12
|
-
* right padding); `page` never scrolls internally — content grows the panel.
|
|
13
|
-
*/
|
|
14
|
-
export interface FormLayoutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
15
|
-
/** Density + scroll-policy variant. */
|
|
16
|
-
variant?: FormLayoutVariant;
|
|
17
|
-
/**
|
|
18
|
-
* Panel size within the variant. `large` (default) is the variant baseline;
|
|
19
|
-
* `small` layers a deviation. Only `page/small` deviates today — a narrower
|
|
20
|
-
* 448 page (padding and gaps stay on the page baseline); other variant/size
|
|
21
|
-
* combos fall back to the baseline.
|
|
22
|
-
*/
|
|
23
|
-
size?: FormLayoutSize;
|
|
24
|
-
/**
|
|
25
|
-
* Override the variant's scroll policy (modal → `true`, page → `false`).
|
|
26
|
-
* When `true` the fields region scrolls IF height-constrained (header and
|
|
27
|
-
* footer stay pinned); when `false` content always grows the panel.
|
|
28
|
-
*/
|
|
29
|
-
scroll?: boolean;
|
|
30
|
-
/** Heading; a plain string renders as Headline/md (24px). */
|
|
31
|
-
title?: ReactNode;
|
|
32
|
-
/** Trailing slot on the title row (e.g. an environment switcher). */
|
|
33
|
-
extra?: ReactNode;
|
|
34
|
-
/** Fields region content. */
|
|
35
|
-
children?: ReactNode;
|
|
36
|
-
/** Footer region, typically the action buttons. */
|
|
37
|
-
footer?: ReactNode;
|
|
38
|
-
/**
|
|
39
|
-
* Panel width (number → px). Defaults to the variant's configured width
|
|
40
|
-
* (modal → 640, page → 738), capped at 100% of the container.
|
|
41
|
-
*/
|
|
42
|
-
width?: number | string;
|
|
43
|
-
/**
|
|
44
|
-
* Explicit height cap (number → px) for standalone usage. Inside a Dialog
|
|
45
|
-
* the constraint arrives from the panel's own max-height instead — no
|
|
46
|
-
* measuring or calculation is involved in either path.
|
|
47
|
-
*/
|
|
48
|
-
maxHeight?: number | string;
|
|
49
|
-
/** CSS class prefix. */
|
|
50
|
-
prefixCls?: string;
|
|
51
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9Gb3JtTGF5b3V0L2ludGVyZmFjZS5qcyIsIm5hbWVzIjpbXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9Gb3JtTGF5b3V0L2ludGVyZmFjZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge307Il0sIm1hcHBpbmdzIjoiQUFBQSIsImlnbm9yZUxpc3QiOltdfQ==
|