@ncds/ui-admin 1.6.4-alpha.1 → 1.7.0
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/dist/cjs/assets/scripts/baseBox.js +148 -0
- package/dist/cjs/assets/scripts/comboBox.js +188 -0
- package/dist/cjs/assets/scripts/datePicker.js +706 -0
- package/dist/cjs/assets/scripts/featuredIcon.js +95 -0
- package/dist/cjs/assets/scripts/fileInput/const/classNames.js +31 -0
- package/dist/cjs/assets/scripts/fileInput/const/index.js +27 -0
- package/dist/cjs/assets/scripts/fileInput/const/types.js +13 -0
- package/dist/cjs/assets/scripts/fileInput/fileInput.js +79 -0
- package/dist/cjs/assets/scripts/fileInput/fileInputModel.js +61 -0
- package/dist/cjs/assets/scripts/fileInput/fileInputView.js +147 -0
- package/dist/cjs/assets/scripts/fileInput/index.js +44 -0
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInput.js +187 -0
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputModel.js +255 -0
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputView.js +354 -0
- package/dist/cjs/assets/scripts/imageFileInput/const/classNames.js +41 -0
- package/dist/cjs/assets/scripts/imageFileInput/const/index.js +27 -0
- package/dist/cjs/assets/scripts/imageFileInput/const/types.js +13 -0
- package/dist/cjs/assets/scripts/imageFileInput/index.js +44 -0
- package/dist/cjs/assets/scripts/index.js +30 -0
- package/dist/cjs/assets/scripts/modal/Modal.js +116 -0
- package/dist/cjs/assets/scripts/modal/ModalActions.js +128 -0
- package/dist/cjs/assets/scripts/modal/ModalContent.js +46 -0
- package/dist/cjs/assets/scripts/modal/ModalHeader.js +115 -0
- package/dist/cjs/assets/scripts/modal/const/classNames.js +41 -0
- package/dist/cjs/assets/scripts/modal/const/index.js +27 -0
- package/dist/cjs/assets/scripts/modal/const/types.js +5 -0
- package/dist/cjs/assets/scripts/modal/index.js +61 -0
- package/dist/cjs/assets/scripts/modal/utils/contentUtils.js +35 -0
- package/dist/cjs/assets/scripts/notification/FloatingNotification.js +180 -0
- package/dist/cjs/assets/scripts/notification/FullWidthNotification.js +120 -0
- package/dist/cjs/assets/scripts/notification/MessageNotification.js +146 -0
- package/dist/cjs/assets/scripts/notification/Notification.js +116 -0
- package/dist/cjs/assets/scripts/notification/const/classNames.js +50 -0
- package/dist/cjs/assets/scripts/notification/const/icons.js +45 -0
- package/dist/cjs/assets/scripts/notification/const/index.js +87 -0
- package/dist/cjs/assets/scripts/notification/const/sizes.js +54 -0
- package/dist/cjs/assets/scripts/notification/const/types.js +14 -0
- package/dist/cjs/assets/scripts/notification/index.js +92 -0
- package/dist/cjs/assets/scripts/notification/utils.js +92 -0
- package/dist/cjs/assets/scripts/progress-bar/ProgressBar.js +272 -0
- package/dist/cjs/assets/scripts/progress-bar/index.js +12 -0
- package/dist/cjs/assets/scripts/selectBox.js +229 -0
- package/dist/cjs/assets/scripts/shared/ButtonCloseX.js +46 -0
- package/dist/cjs/assets/scripts/tab.js +40 -0
- package/dist/cjs/assets/scripts/tag/Tag.js +268 -0
- package/dist/cjs/assets/scripts/tag/const/classNames.js +24 -0
- package/dist/cjs/assets/scripts/tag/const/index.js +38 -0
- package/dist/cjs/assets/scripts/tag/const/sizes.js +13 -0
- package/dist/cjs/assets/scripts/tag/const/types.js +5 -0
- package/dist/cjs/assets/scripts/tag/index.js +44 -0
- package/dist/cjs/assets/scripts/tooltip/Tooltip.js +380 -0
- package/dist/cjs/assets/scripts/tooltip/TooltipLayerManager.js +84 -0
- package/dist/cjs/assets/scripts/tooltip/const/classNames.js +29 -0
- package/dist/cjs/assets/scripts/tooltip/const/constants.js +56 -0
- package/dist/cjs/assets/scripts/tooltip/const/icons.js +15 -0
- package/dist/cjs/assets/scripts/tooltip/const/index.js +123 -0
- package/dist/cjs/assets/scripts/tooltip/const/templates.js +49 -0
- package/dist/cjs/assets/scripts/tooltip/const/types.js +5 -0
- package/dist/cjs/assets/scripts/tooltip/index.js +57 -0
- package/dist/cjs/assets/scripts/tooltip/utils.js +41 -0
- package/dist/cjs/assets/scripts/utils/debounce.js +33 -0
- package/dist/cjs/assets/scripts/utils/unifiedBox/domRenderer.js +384 -0
- package/dist/cjs/assets/scripts/utils/unifiedBox/dropdownModel.js +326 -0
- package/dist/cjs/assets/scripts/utils/unifiedBox/unifiedBoxController.js +649 -0
- package/dist/cjs/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +669 -0
- package/dist/cjs/src/components/badge/Badge.js +1 -1
- package/dist/cjs/src/components/breadcrumb/BreadCrumb.js +1 -1
- package/dist/cjs/src/components/button/Button.js +13 -5
- package/dist/cjs/src/components/button/ButtonGroup.js +4 -4
- package/dist/cjs/src/components/carousel/CarouselArrow.js +2 -2
- package/dist/cjs/src/components/carousel/CarouselNumberGroup.js +4 -5
- package/dist/cjs/src/components/checkbox/CheckboxInput.js +1 -1
- package/dist/cjs/src/components/combobox/ComboBox.js +54 -43
- package/dist/cjs/src/components/date-picker/CustomInput.js +3 -1
- package/dist/cjs/src/components/date-picker/DatePicker.js +85 -65
- package/dist/cjs/src/components/date-picker/RangeDatePicker.js +46 -37
- package/dist/cjs/src/components/divider/Divider.js +1 -1
- package/dist/cjs/src/components/dot/Dot.js +1 -1
- package/dist/cjs/src/components/dropdown/Dropdown.js +3 -2
- package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +1 -1
- package/dist/cjs/src/components/file-input/FileInput.js +3 -3
- package/dist/cjs/src/components/image-file-input/ImageFileInput.js +5 -2
- package/dist/cjs/src/components/input/InputBase.js +3 -2
- package/dist/cjs/src/components/input/NumberInput.js +1 -1
- package/dist/cjs/src/components/notification/index.js +11 -11
- package/dist/cjs/src/components/pagination/NavButton.js +3 -1
- package/dist/cjs/src/components/pagination/Pagination.js +65 -67
- package/dist/cjs/src/components/progress-bar/ProgressBar.js +13 -9
- package/dist/cjs/src/components/progress-bar/components/SegmentBar.js +1 -1
- package/dist/cjs/src/components/progress-bar/components/SegmentLabels.js +1 -1
- package/dist/cjs/src/components/progress-bar/hooks/useProgressBar.js +3 -2
- package/dist/cjs/src/components/progress-bar/utils.js +3 -2
- package/dist/cjs/src/components/progress-circle/ProgressCircle.js +41 -41
- package/dist/cjs/src/components/select/Select.js +2 -2
- package/dist/cjs/src/components/selectbox/SelectBox.js +57 -45
- package/dist/cjs/src/components/spinner/Spinner.js +5 -4
- package/dist/cjs/src/components/spinner/index.js +0 -11
- package/dist/cjs/src/components/switch/Switch.js +15 -10
- package/dist/cjs/src/components/tab/HorizontalTab.js +8 -5
- package/dist/cjs/src/components/tab/TabButton.js +1 -1
- package/dist/cjs/src/components/toggle/Toggle.js +13 -15
- package/dist/cjs/src/components/tooltip/Tooltip.js +28 -13
- package/dist/cjs/src/constant/index.js +8 -8
- package/dist/cjs/src/hooks/dropdown/useDropdownKeyboard.js +47 -56
- package/dist/cjs/src/hooks/dropdown/useScrollLock.js +26 -19
- package/dist/cjs/src/hooks/index.js +4 -4
- package/dist/cjs/src/utils/date-picker.js +14 -7
- package/dist/cjs/src/utils/dropdown/dropdownUtils.js +6 -8
- package/dist/esm/assets/scripts/baseBox.js +143 -0
- package/dist/esm/assets/scripts/comboBox.js +183 -0
- package/dist/esm/assets/scripts/datePicker.js +699 -0
- package/dist/esm/assets/scripts/featuredIcon.js +90 -0
- package/dist/esm/assets/scripts/fileInput/const/classNames.js +22 -0
- package/dist/esm/assets/scripts/fileInput/const/index.js +2 -0
- package/dist/esm/assets/scripts/fileInput/const/types.js +7 -0
- package/dist/esm/assets/scripts/fileInput/fileInput.js +74 -0
- package/dist/esm/assets/scripts/fileInput/fileInputModel.js +56 -0
- package/dist/esm/assets/scripts/fileInput/fileInputView.js +142 -0
- package/dist/esm/assets/scripts/fileInput/index.js +9 -0
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInput.js +182 -0
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputModel.js +250 -0
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputView.js +349 -0
- package/dist/esm/assets/scripts/imageFileInput/const/classNames.js +30 -0
- package/dist/esm/assets/scripts/imageFileInput/const/index.js +2 -0
- package/dist/esm/assets/scripts/imageFileInput/const/types.js +7 -0
- package/dist/esm/assets/scripts/imageFileInput/index.js +9 -0
- package/dist/esm/assets/scripts/index.js +28 -0
- package/dist/esm/assets/scripts/modal/Modal.js +110 -0
- package/dist/esm/assets/scripts/modal/ModalActions.js +123 -0
- package/dist/esm/assets/scripts/modal/ModalContent.js +41 -0
- package/dist/esm/assets/scripts/modal/ModalHeader.js +110 -0
- package/dist/esm/assets/scripts/modal/const/classNames.js +31 -0
- package/dist/esm/assets/scripts/modal/const/index.js +2 -0
- package/dist/esm/assets/scripts/modal/const/types.js +1 -0
- package/dist/esm/assets/scripts/modal/index.js +15 -0
- package/dist/esm/assets/scripts/modal/utils/contentUtils.js +28 -0
- package/dist/esm/assets/scripts/notification/FloatingNotification.js +176 -0
- package/dist/esm/assets/scripts/notification/FullWidthNotification.js +115 -0
- package/dist/esm/assets/scripts/notification/MessageNotification.js +141 -0
- package/dist/esm/assets/scripts/notification/Notification.js +111 -0
- package/dist/esm/assets/scripts/notification/const/classNames.js +44 -0
- package/dist/esm/assets/scripts/notification/const/icons.js +39 -0
- package/dist/esm/assets/scripts/notification/const/index.js +4 -0
- package/dist/esm/assets/scripts/notification/const/sizes.js +48 -0
- package/dist/esm/assets/scripts/notification/const/types.js +8 -0
- package/dist/esm/assets/scripts/notification/index.js +11 -0
- package/dist/esm/assets/scripts/notification/utils.js +79 -0
- package/dist/esm/assets/scripts/progress-bar/ProgressBar.js +267 -0
- package/dist/esm/assets/scripts/progress-bar/index.js +1 -0
- package/dist/esm/assets/scripts/selectBox.js +224 -0
- package/dist/esm/assets/scripts/shared/ButtonCloseX.js +38 -0
- package/dist/esm/assets/scripts/tab.js +35 -0
- package/dist/esm/assets/scripts/tag/Tag.js +263 -0
- package/dist/esm/assets/scripts/tag/const/classNames.js +16 -0
- package/dist/esm/assets/scripts/tag/const/index.js +3 -0
- package/dist/esm/assets/scripts/tag/const/sizes.js +7 -0
- package/dist/esm/assets/scripts/tag/const/types.js +1 -0
- package/dist/esm/assets/scripts/tag/index.js +9 -0
- package/dist/esm/assets/scripts/tooltip/Tooltip.js +375 -0
- package/dist/esm/assets/scripts/tooltip/TooltipLayerManager.js +79 -0
- package/dist/esm/assets/scripts/tooltip/const/classNames.js +23 -0
- package/dist/esm/assets/scripts/tooltip/const/constants.js +50 -0
- package/dist/esm/assets/scripts/tooltip/const/icons.js +9 -0
- package/dist/esm/assets/scripts/tooltip/const/index.js +4 -0
- package/dist/esm/assets/scripts/tooltip/const/templates.js +42 -0
- package/dist/esm/assets/scripts/tooltip/const/types.js +1 -0
- package/dist/esm/assets/scripts/tooltip/index.js +10 -0
- package/dist/esm/assets/scripts/tooltip/utils.js +35 -0
- package/dist/esm/assets/scripts/utils/debounce.js +27 -0
- package/dist/esm/assets/scripts/utils/unifiedBox/domRenderer.js +379 -0
- package/dist/esm/assets/scripts/utils/unifiedBox/dropdownModel.js +320 -0
- package/dist/esm/assets/scripts/utils/unifiedBox/unifiedBoxController.js +644 -0
- package/dist/esm/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +664 -0
- package/dist/esm/src/components/badge/Badge.js +4 -3
- package/dist/esm/src/components/badge/BadgeGroup.js +3 -2
- package/dist/esm/src/components/badge/utils.js +3 -2
- package/dist/esm/src/components/breadcrumb/BreadCrumb.js +4 -3
- package/dist/esm/src/components/button/Button.js +13 -5
- package/dist/esm/src/components/button/ButtonCloseX.js +3 -2
- package/dist/esm/src/components/button/ButtonGroup.js +6 -4
- package/dist/esm/src/components/carousel/CarouselArrow.js +2 -2
- package/dist/esm/src/components/carousel/CarouselNumberGroup.js +4 -5
- package/dist/esm/src/components/checkbox/CheckboxInput.js +1 -1
- package/dist/esm/src/components/combobox/ComboBox.js +58 -46
- package/dist/esm/src/components/date-picker/CustomInput.js +6 -3
- package/dist/esm/src/components/date-picker/DatePicker.js +88 -67
- package/dist/esm/src/components/date-picker/RangeDatePicker.js +49 -39
- package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +3 -2
- package/dist/esm/src/components/divider/Divider.js +1 -1
- package/dist/esm/src/components/dot/Dot.js +4 -3
- package/dist/esm/src/components/dropdown/Dropdown.js +3 -2
- package/dist/esm/src/components/empty-state/EmptyState.js +3 -2
- package/dist/esm/src/components/featured-icon/FeaturedIcon.js +4 -3
- package/dist/esm/src/components/file-input/FileInput.js +3 -3
- package/dist/esm/src/components/image-file-input/ImageFileInput.js +6 -3
- package/dist/esm/src/components/input/InputBase.js +6 -4
- package/dist/esm/src/components/input/NumberInput.js +1 -1
- package/dist/esm/src/components/modal/Modal.js +3 -2
- package/dist/esm/src/components/notification/FloatingNotification.js +3 -2
- package/dist/esm/src/components/notification/FullWidthNotification.js +3 -2
- package/dist/esm/src/components/notification/MessageNotification.js +3 -2
- package/dist/esm/src/components/notification/Notification.js +3 -2
- package/dist/esm/src/components/notification/index.js +2 -2
- package/dist/esm/src/components/pagination/NavButton.js +3 -1
- package/dist/esm/src/components/pagination/Pagination.js +65 -67
- package/dist/esm/src/components/progress-bar/ProgressBar.js +13 -9
- package/dist/esm/src/components/progress-bar/components/SegmentBar.js +1 -1
- package/dist/esm/src/components/progress-bar/components/SegmentLabels.js +5 -4
- package/dist/esm/src/components/progress-bar/hooks/useProgressBar.js +3 -2
- package/dist/esm/src/components/progress-bar/utils.js +7 -5
- package/dist/esm/src/components/progress-circle/ProgressCircle.js +41 -41
- package/dist/esm/src/components/select/Select.js +2 -2
- package/dist/esm/src/components/select-dropdown/SelectDropdown.js +3 -2
- package/dist/esm/src/components/selectbox/SelectBox.js +61 -48
- package/dist/esm/src/components/spinner/Spinner.js +5 -4
- package/dist/esm/src/components/spinner/index.js +1 -2
- package/dist/esm/src/components/switch/Switch.js +19 -13
- package/dist/esm/src/components/tab/HorizontalTab.js +12 -8
- package/dist/esm/src/components/tab/TabButton.js +4 -3
- package/dist/esm/src/components/tag/Tag.js +3 -2
- package/dist/esm/src/components/toggle/Toggle.js +14 -16
- package/dist/esm/src/components/tooltip/Tooltip.js +29 -14
- package/dist/esm/src/constant/index.js +2 -2
- package/dist/esm/src/hooks/dropdown/useDropdownKeyboard.js +47 -56
- package/dist/esm/src/hooks/dropdown/useScrollLock.js +26 -19
- package/dist/esm/src/hooks/index.js +3 -3
- package/dist/esm/src/utils/date-picker.js +14 -7
- package/dist/esm/src/utils/dropdown/dropdownUtils.js +6 -8
- package/dist/temp/assets/scripts/baseBox.d.ts +55 -0
- package/dist/temp/assets/scripts/baseBox.js +144 -0
- package/dist/temp/assets/scripts/comboBox.d.ts +60 -0
- package/dist/temp/assets/scripts/comboBox.js +163 -0
- package/dist/temp/assets/scripts/datePicker.d.ts +86 -0
- package/dist/temp/assets/scripts/datePicker.js +706 -0
- package/dist/temp/assets/scripts/featuredIcon.d.ts +22 -0
- package/dist/temp/assets/scripts/featuredIcon.js +86 -0
- package/dist/temp/assets/scripts/fileInput/const/classNames.d.ts +15 -0
- package/dist/temp/assets/scripts/fileInput/const/classNames.js +20 -0
- package/dist/temp/assets/scripts/fileInput/const/index.d.ts +2 -0
- package/dist/temp/assets/scripts/fileInput/const/index.js +2 -0
- package/dist/temp/assets/scripts/fileInput/const/types.d.ts +88 -0
- package/dist/temp/assets/scripts/fileInput/const/types.js +7 -0
- package/dist/temp/assets/scripts/fileInput/fileInput.d.ts +13 -0
- package/dist/temp/assets/scripts/fileInput/fileInput.js +75 -0
- package/dist/temp/assets/scripts/fileInput/fileInputModel.d.ts +12 -0
- package/dist/temp/assets/scripts/fileInput/fileInputModel.js +45 -0
- package/dist/temp/assets/scripts/fileInput/fileInputView.d.ts +42 -0
- package/dist/temp/assets/scripts/fileInput/fileInputView.js +142 -0
- package/dist/temp/assets/scripts/fileInput/index.d.ts +3 -0
- package/dist/temp/assets/scripts/fileInput/index.js +9 -0
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInput.d.ts +63 -0
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInput.js +186 -0
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +73 -0
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputModel.js +234 -0
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputView.d.ts +79 -0
- package/dist/temp/assets/scripts/imageFileInput/ImageFileInputView.js +348 -0
- package/dist/temp/assets/scripts/imageFileInput/const/classNames.d.ts +19 -0
- package/dist/temp/assets/scripts/imageFileInput/const/classNames.js +24 -0
- package/dist/temp/assets/scripts/imageFileInput/const/index.d.ts +2 -0
- package/dist/temp/assets/scripts/imageFileInput/const/index.js +2 -0
- package/dist/temp/assets/scripts/imageFileInput/const/types.d.ts +125 -0
- package/dist/temp/assets/scripts/imageFileInput/const/types.js +7 -0
- package/dist/temp/assets/scripts/imageFileInput/index.d.ts +3 -0
- package/dist/temp/assets/scripts/imageFileInput/index.js +9 -0
- package/dist/temp/assets/scripts/index.d.ts +32 -0
- package/dist/temp/assets/scripts/index.js +28 -0
- package/dist/temp/assets/scripts/modal/Modal.d.ts +27 -0
- package/dist/temp/assets/scripts/modal/Modal.js +106 -0
- package/dist/temp/assets/scripts/modal/ModalActions.d.ts +18 -0
- package/dist/temp/assets/scripts/modal/ModalActions.js +125 -0
- package/dist/temp/assets/scripts/modal/ModalContent.d.ts +13 -0
- package/dist/temp/assets/scripts/modal/ModalContent.js +41 -0
- package/dist/temp/assets/scripts/modal/ModalHeader.d.ts +15 -0
- package/dist/temp/assets/scripts/modal/ModalHeader.js +102 -0
- package/dist/temp/assets/scripts/modal/const/classNames.d.ts +22 -0
- package/dist/temp/assets/scripts/modal/const/classNames.js +23 -0
- package/dist/temp/assets/scripts/modal/const/index.d.ts +2 -0
- package/dist/temp/assets/scripts/modal/const/index.js +2 -0
- package/dist/temp/assets/scripts/modal/const/types.d.ts +61 -0
- package/dist/temp/assets/scripts/modal/index.d.ts +7 -0
- package/dist/temp/assets/scripts/modal/index.js +15 -0
- package/dist/temp/assets/scripts/modal/utils/contentUtils.d.ts +10 -0
- package/dist/temp/assets/scripts/modal/utils/contentUtils.js +29 -0
- package/dist/temp/assets/scripts/notification/FloatingNotification.d.ts +24 -0
- package/dist/temp/assets/scripts/notification/FloatingNotification.js +154 -0
- package/dist/temp/assets/scripts/notification/FullWidthNotification.d.ts +21 -0
- package/dist/temp/assets/scripts/notification/FullWidthNotification.js +94 -0
- package/dist/temp/assets/scripts/notification/MessageNotification.d.ts +22 -0
- package/dist/temp/assets/scripts/notification/MessageNotification.js +123 -0
- package/dist/temp/assets/scripts/notification/Notification.d.ts +21 -0
- package/dist/temp/assets/scripts/notification/Notification.js +108 -0
- package/dist/temp/assets/scripts/notification/const/classNames.d.ts +43 -0
- package/dist/temp/assets/scripts/notification/const/classNames.js +44 -0
- package/dist/temp/assets/scripts/notification/const/icons.d.ts +25 -0
- package/dist/temp/assets/scripts/notification/const/icons.js +39 -0
- package/dist/temp/assets/scripts/notification/const/index.d.ts +5 -0
- package/dist/temp/assets/scripts/notification/const/index.js +4 -0
- package/dist/temp/assets/scripts/notification/const/sizes.d.ts +32 -0
- package/dist/temp/assets/scripts/notification/const/sizes.js +40 -0
- package/dist/temp/assets/scripts/notification/const/types.d.ts +19 -0
- package/dist/temp/assets/scripts/notification/const/types.js +8 -0
- package/dist/temp/assets/scripts/notification/index.d.ts +7 -0
- package/dist/temp/assets/scripts/notification/index.js +11 -0
- package/dist/temp/assets/scripts/notification/utils.d.ts +8 -0
- package/dist/temp/assets/scripts/notification/utils.js +84 -0
- package/dist/temp/assets/scripts/progress-bar/ProgressBar.d.ts +67 -0
- package/dist/temp/assets/scripts/progress-bar/ProgressBar.js +258 -0
- package/dist/temp/assets/scripts/progress-bar/index.d.ts +1 -0
- package/dist/temp/assets/scripts/progress-bar/index.js +1 -0
- package/dist/temp/assets/scripts/selectBox.d.ts +50 -0
- package/dist/temp/assets/scripts/selectBox.js +194 -0
- package/dist/temp/assets/scripts/shared/ButtonCloseX.d.ts +5 -0
- package/dist/temp/assets/scripts/shared/ButtonCloseX.js +32 -0
- package/dist/temp/assets/scripts/slider.d.ts +41 -0
- package/dist/temp/assets/scripts/slider.js +331 -0
- package/dist/temp/assets/scripts/tab.d.ts +7 -0
- package/dist/temp/assets/scripts/tab.js +35 -0
- package/dist/temp/assets/scripts/tag/Tag.d.ts +27 -0
- package/dist/temp/assets/scripts/tag/Tag.js +267 -0
- package/dist/temp/assets/scripts/tag/const/classNames.d.ts +11 -0
- package/dist/temp/assets/scripts/tag/const/classNames.js +12 -0
- package/dist/temp/assets/scripts/tag/const/index.d.ts +3 -0
- package/dist/temp/assets/scripts/tag/const/index.js +3 -0
- package/dist/temp/assets/scripts/tag/const/sizes.d.ts +7 -0
- package/dist/temp/assets/scripts/tag/const/sizes.js +7 -0
- package/dist/temp/assets/scripts/tag/const/types.d.ts +33 -0
- package/dist/temp/assets/scripts/tag/const/types.js +1 -0
- package/dist/temp/assets/scripts/tag/index.d.ts +3 -0
- package/dist/temp/assets/scripts/tag/index.js +9 -0
- package/dist/temp/assets/scripts/tooltip/Tooltip.d.ts +54 -0
- package/dist/temp/assets/scripts/tooltip/Tooltip.js +360 -0
- package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.d.ts +21 -0
- package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.js +74 -0
- package/dist/temp/assets/scripts/tooltip/const/classNames.d.ts +17 -0
- package/dist/temp/assets/scripts/tooltip/const/classNames.js +23 -0
- package/dist/temp/assets/scripts/tooltip/const/constants.d.ts +33 -0
- package/dist/temp/assets/scripts/tooltip/const/constants.js +46 -0
- package/dist/temp/assets/scripts/tooltip/const/icons.d.ts +4 -0
- package/dist/temp/assets/scripts/tooltip/const/icons.js +9 -0
- package/dist/temp/assets/scripts/tooltip/const/index.d.ts +5 -0
- package/dist/temp/assets/scripts/tooltip/const/index.js +4 -0
- package/dist/temp/assets/scripts/tooltip/const/templates.d.ts +16 -0
- package/dist/temp/assets/scripts/tooltip/const/templates.js +30 -0
- package/dist/temp/assets/scripts/tooltip/const/types.d.ts +14 -0
- package/dist/temp/assets/scripts/tooltip/const/types.js +1 -0
- package/dist/temp/assets/scripts/tooltip/index.d.ts +6 -0
- package/dist/temp/assets/scripts/tooltip/index.js +10 -0
- package/dist/temp/assets/scripts/tooltip/utils.d.ts +2 -0
- package/dist/temp/assets/scripts/tooltip/utils.js +35 -0
- package/dist/temp/assets/scripts/utils/debounce.d.ts +8 -0
- package/dist/temp/assets/scripts/utils/debounce.js +27 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/domRenderer.d.ts +107 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/domRenderer.js +376 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/dropdownModel.d.ts +142 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/dropdownModel.js +311 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts +156 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxController.js +627 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts +95 -0
- package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +559 -0
- package/dist/temp/constant/color.d.ts +36 -0
- package/dist/temp/constant/color.js +34 -0
- package/dist/temp/constant/size.d.ts +1 -0
- package/dist/temp/constant/size.js +1 -0
- package/dist/temp/index.d.ts +29 -0
- package/dist/temp/index.js +29 -0
- package/dist/temp/src/components/badge/Badge.d.ts +18 -0
- package/dist/temp/src/components/badge/Badge.js +23 -0
- package/dist/temp/src/components/badge/BadgeGroup.d.ts +18 -0
- package/dist/temp/src/components/badge/BadgeGroup.js +36 -0
- package/dist/temp/src/components/badge/index.d.ts +2 -0
- package/dist/temp/src/components/badge/index.js +2 -0
- package/dist/temp/src/components/badge/utils.d.ts +8 -0
- package/dist/temp/src/components/badge/utils.js +17 -0
- package/dist/temp/src/components/breadcrumb/BreadCrumb.d.ts +11 -0
- package/dist/temp/src/components/breadcrumb/BreadCrumb.js +33 -0
- package/dist/temp/src/components/breadcrumb/index.d.ts +1 -0
- package/dist/temp/src/components/breadcrumb/index.js +1 -0
- package/dist/temp/src/components/button/Button.d.ts +35 -0
- package/dist/temp/src/components/button/Button.js +69 -0
- package/dist/temp/src/components/button/ButtonCloseX.d.ts +10 -0
- package/dist/temp/src/components/button/ButtonCloseX.js +25 -0
- package/dist/temp/src/components/button/ButtonGroup.d.ts +311 -0
- package/dist/temp/src/components/button/ButtonGroup.js +72 -0
- package/dist/temp/src/components/button/ButtonStepper.d.ts +9 -0
- package/dist/temp/src/components/button/ButtonStepper.js +6 -0
- package/dist/temp/src/components/button/index.d.ts +4 -0
- package/dist/temp/src/components/button/index.js +4 -0
- package/dist/temp/src/components/carousel/CarouselArrow.d.ts +8 -0
- package/dist/temp/src/components/carousel/CarouselArrow.js +24 -0
- package/dist/temp/src/components/carousel/CarouselNumberGroup.d.ts +8 -0
- package/dist/temp/src/components/carousel/CarouselNumberGroup.js +24 -0
- package/dist/temp/src/components/carousel/index.d.ts +2 -0
- package/dist/temp/src/components/carousel/index.js +2 -0
- package/dist/temp/src/components/checkbox/Checkbox.d.ts +7 -0
- package/dist/temp/src/components/checkbox/Checkbox.js +30 -0
- package/dist/temp/src/components/checkbox/CheckboxInput.d.ts +9 -0
- package/dist/temp/src/components/checkbox/CheckboxInput.js +46 -0
- package/dist/temp/src/components/checkbox/index.d.ts +2 -0
- package/dist/temp/src/components/checkbox/index.js +2 -0
- package/dist/temp/src/components/combobox/ComboBox.d.ts +28 -0
- package/dist/temp/src/components/combobox/ComboBox.js +199 -0
- package/dist/temp/src/components/combobox/index.d.ts +2 -0
- package/dist/temp/src/components/combobox/index.js +1 -0
- package/dist/temp/src/components/date-picker/CustomInput.d.ts +10 -0
- package/dist/temp/src/components/date-picker/CustomInput.js +34 -0
- package/dist/temp/src/components/date-picker/DatePicker.d.ts +24 -0
- package/dist/temp/src/components/date-picker/DatePicker.js +326 -0
- package/dist/temp/src/components/date-picker/RangeDatePicker.d.ts +26 -0
- package/dist/temp/src/components/date-picker/RangeDatePicker.js +117 -0
- package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.d.ts +71 -0
- package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.js +55 -0
- package/dist/temp/src/components/date-picker/index.d.ts +4 -0
- package/dist/temp/src/components/date-picker/index.js +4 -0
- package/dist/temp/src/components/date-picker/utils.d.ts +2 -0
- package/dist/temp/src/components/date-picker/utils.js +8 -0
- package/dist/temp/src/components/divider/Divider.d.ts +15 -0
- package/dist/temp/src/components/divider/Divider.js +23 -0
- package/dist/temp/src/components/divider/index.d.ts +1 -0
- package/dist/temp/src/components/divider/index.js +1 -0
- package/dist/temp/src/components/dot/Dot.d.ts +24 -0
- package/dist/temp/src/components/dot/Dot.js +31 -0
- package/dist/temp/src/components/dot/index.d.ts +1 -0
- package/dist/temp/src/components/dot/index.js +1 -0
- package/dist/temp/src/components/dropdown/Dropdown.d.ts +52 -0
- package/dist/temp/src/components/dropdown/Dropdown.js +90 -0
- package/dist/temp/src/components/dropdown/index.d.ts +1 -0
- package/dist/temp/src/components/dropdown/index.js +1 -0
- package/dist/temp/src/components/empty-state/EmptyState.d.ts +14 -0
- package/dist/temp/src/components/empty-state/EmptyState.js +33 -0
- package/dist/temp/src/components/empty-state/index.d.ts +1 -0
- package/dist/temp/src/components/empty-state/index.js +1 -0
- package/dist/temp/src/components/featured-icon/FeaturedIcon.d.ts +15 -0
- package/dist/temp/src/components/featured-icon/FeaturedIcon.js +36 -0
- package/dist/temp/src/components/featured-icon/index.d.ts +1 -0
- package/dist/temp/src/components/featured-icon/index.js +1 -0
- package/dist/temp/src/components/file-input/FileInput.d.ts +61 -0
- package/dist/temp/src/components/file-input/FileInput.js +123 -0
- package/dist/temp/src/components/file-input/index.d.ts +1 -0
- package/dist/temp/src/components/file-input/index.js +1 -0
- package/dist/temp/src/components/image-file-input/ImageFileInput.d.ts +70 -0
- package/dist/temp/src/components/image-file-input/ImageFileInput.js +124 -0
- package/dist/temp/src/components/image-file-input/components/ImagePreview.d.ts +5 -0
- package/dist/temp/src/components/image-file-input/components/ImagePreview.js +18 -0
- package/dist/temp/src/components/image-file-input/index.d.ts +1 -0
- package/dist/temp/src/components/image-file-input/index.js +1 -0
- package/dist/temp/src/components/index.d.ts +33 -0
- package/dist/temp/src/components/index.js +32 -0
- package/dist/temp/src/components/input/InputBase.d.ts +54 -0
- package/dist/temp/src/components/input/InputBase.js +121 -0
- package/dist/temp/src/components/input/NumberInput.d.ts +9 -0
- package/dist/temp/src/components/input/NumberInput.js +93 -0
- package/dist/temp/src/components/input/PasswordInput.d.ts +2 -0
- package/dist/temp/src/components/input/PasswordInput.js +51 -0
- package/dist/temp/src/components/input/Textarea.d.ts +14 -0
- package/dist/temp/src/components/input/Textarea.js +60 -0
- package/dist/temp/src/components/input/index.d.ts +4 -0
- package/dist/temp/src/components/input/index.js +4 -0
- package/dist/temp/src/components/modal/Modal.d.ts +79 -0
- package/dist/temp/src/components/modal/Modal.js +101 -0
- package/dist/temp/src/components/modal/index.d.ts +1 -0
- package/dist/temp/src/components/modal/index.js +1 -0
- package/dist/temp/src/components/notification/FloatingNotification.d.ts +37 -0
- package/dist/temp/src/components/notification/FloatingNotification.js +79 -0
- package/dist/temp/src/components/notification/FullWidthNotification.d.ts +46 -0
- package/dist/temp/src/components/notification/FullWidthNotification.js +79 -0
- package/dist/temp/src/components/notification/MessageNotification.d.ts +41 -0
- package/dist/temp/src/components/notification/MessageNotification.js +57 -0
- package/dist/temp/src/components/notification/Notification.d.ts +72 -0
- package/dist/temp/src/components/notification/Notification.js +42 -0
- package/dist/temp/src/components/notification/index.d.ts +4 -0
- package/dist/temp/src/components/notification/index.js +4 -0
- package/dist/temp/src/components/pagination/NavButton.d.ts +31 -0
- package/dist/temp/src/components/pagination/NavButton.js +66 -0
- package/dist/temp/src/components/pagination/Pagination.d.ts +11 -0
- package/dist/temp/src/components/pagination/Pagination.js +93 -0
- package/dist/temp/src/components/pagination/index.d.ts +2 -0
- package/dist/temp/src/components/pagination/index.js +2 -0
- package/dist/temp/src/components/progress-bar/ProgressBar.d.ts +2 -0
- package/dist/temp/src/components/progress-bar/ProgressBar.js +31 -0
- package/dist/temp/src/components/progress-bar/components/SegmentBar.d.ts +7 -0
- package/dist/temp/src/components/progress-bar/components/SegmentBar.js +10 -0
- package/dist/temp/src/components/progress-bar/components/SegmentLabels.d.ts +15 -0
- package/dist/temp/src/components/progress-bar/components/SegmentLabels.js +45 -0
- package/dist/temp/src/components/progress-bar/hooks/useProgressBar.d.ts +13 -0
- package/dist/temp/src/components/progress-bar/hooks/useProgressBar.js +96 -0
- package/dist/temp/src/components/progress-bar/index.d.ts +2 -0
- package/dist/temp/src/components/progress-bar/index.js +2 -0
- package/dist/temp/src/components/progress-bar/types.d.ts +15 -0
- package/dist/temp/src/components/progress-bar/types.js +1 -0
- package/dist/temp/src/components/progress-bar/utils.d.ts +13 -0
- package/dist/temp/src/components/progress-bar/utils.js +26 -0
- package/dist/temp/src/components/progress-circle/ProgressCircle.d.ts +7 -0
- package/dist/temp/src/components/progress-circle/ProgressCircle.js +21 -0
- package/dist/temp/src/components/progress-circle/index.d.ts +1 -0
- package/dist/temp/src/components/progress-circle/index.js +1 -0
- package/dist/temp/src/components/radio/Radio.d.ts +7 -0
- package/dist/temp/src/components/radio/Radio.js +30 -0
- package/dist/temp/src/components/radio/RadioInput.d.ts +8 -0
- package/dist/temp/src/components/radio/RadioInput.js +29 -0
- package/dist/temp/src/components/radio/index.d.ts +2 -0
- package/dist/temp/src/components/radio/index.js +2 -0
- package/dist/temp/src/components/select/Select.d.ts +16 -0
- package/dist/temp/src/components/select/Select.js +33 -0
- package/dist/temp/src/components/select/index.d.ts +1 -0
- package/dist/temp/src/components/select/index.js +1 -0
- package/dist/temp/src/components/select-dropdown/SelectDropdown.d.ts +29 -0
- package/dist/temp/src/components/select-dropdown/SelectDropdown.js +49 -0
- package/dist/temp/src/components/select-dropdown/index.d.ts +1 -0
- package/dist/temp/src/components/select-dropdown/index.js +1 -0
- package/dist/temp/src/components/selectbox/SelectBox.d.ts +27 -0
- package/dist/temp/src/components/selectbox/SelectBox.js +163 -0
- package/dist/temp/src/components/selectbox/index.d.ts +1 -0
- package/dist/temp/src/components/selectbox/index.js +1 -0
- package/dist/temp/src/components/shared/hintText/HintText.d.ts +7 -0
- package/dist/temp/src/components/shared/hintText/HintText.js +28 -0
- package/dist/temp/src/components/shared/hintText/index.d.ts +1 -0
- package/dist/temp/src/components/shared/hintText/index.js +1 -0
- package/dist/temp/src/components/shared/index.d.ts +2 -0
- package/dist/temp/src/components/shared/index.js +2 -0
- package/dist/temp/src/components/shared/label/Label.d.ts +7 -0
- package/dist/temp/src/components/shared/label/Label.js +28 -0
- package/dist/temp/src/components/shared/label/index.d.ts +1 -0
- package/dist/temp/src/components/shared/label/index.js +1 -0
- package/dist/temp/src/components/slider/Slider.d.ts +14 -0
- package/dist/temp/src/components/slider/Slider.js +44 -0
- package/dist/temp/src/components/slider/index.d.ts +1 -0
- package/dist/temp/src/components/slider/index.js +1 -0
- package/dist/temp/src/components/spinner/Spinner.d.ts +9 -0
- package/dist/temp/src/components/spinner/Spinner.js +21 -0
- package/dist/temp/src/components/spinner/index.d.ts +1 -0
- package/dist/temp/src/components/spinner/index.js +1 -0
- package/dist/temp/src/components/switch/Switch.d.ts +22 -0
- package/dist/temp/src/components/switch/Switch.js +68 -0
- package/dist/temp/src/components/switch/index.d.ts +2 -0
- package/dist/temp/src/components/switch/index.js +1 -0
- package/dist/temp/src/components/tab/HorizontalTab.d.ts +12 -0
- package/dist/temp/src/components/tab/HorizontalTab.js +37 -0
- package/dist/temp/src/components/tab/TabButton.d.ts +23 -0
- package/dist/temp/src/components/tab/TabButton.js +37 -0
- package/dist/temp/src/components/tab/VerticalTab.d.ts +9 -0
- package/dist/temp/src/components/tab/VerticalTab.js +32 -0
- package/dist/temp/src/components/tab/index.d.ts +3 -0
- package/dist/temp/src/components/tab/index.js +3 -0
- package/dist/temp/src/components/tag/Tag.d.ts +17 -0
- package/dist/temp/src/components/tag/Tag.js +110 -0
- package/dist/temp/src/components/tag/index.d.ts +1 -0
- package/dist/temp/src/components/tag/index.js +1 -0
- package/dist/temp/src/components/toggle/Toggle.d.ts +10 -0
- package/dist/temp/src/components/toggle/Toggle.js +30 -0
- package/dist/temp/src/components/toggle/index.d.ts +1 -0
- package/dist/temp/src/components/toggle/index.js +1 -0
- package/dist/temp/src/components/tooltip/Tooltip.d.ts +15 -0
- package/dist/temp/src/components/tooltip/Tooltip.js +122 -0
- package/dist/temp/src/components/tooltip/index.d.ts +1 -0
- package/dist/temp/src/components/tooltip/index.js +1 -0
- package/dist/temp/src/constant/breakpoint.d.ts +6 -0
- package/dist/temp/src/constant/breakpoint.js +6 -0
- package/dist/temp/src/constant/date-picker.d.ts +63 -0
- package/dist/temp/src/constant/date-picker.js +53 -0
- package/dist/temp/src/constant/index.d.ts +2 -0
- package/dist/temp/src/constant/index.js +2 -0
- package/dist/temp/src/constant/size.d.ts +1 -0
- package/dist/temp/src/constant/size.js +1 -0
- package/dist/temp/src/hooks/dropdown/index.d.ts +6 -0
- package/dist/temp/src/hooks/dropdown/index.js +6 -0
- package/dist/temp/src/hooks/dropdown/useDropdown.d.ts +29 -0
- package/dist/temp/src/hooks/dropdown/useDropdown.js +84 -0
- package/dist/temp/src/hooks/dropdown/useDropdownKeyboard.d.ts +10 -0
- package/dist/temp/src/hooks/dropdown/useDropdownKeyboard.js +108 -0
- package/dist/temp/src/hooks/dropdown/useDropdownPosition.d.ts +9 -0
- package/dist/temp/src/hooks/dropdown/useDropdownPosition.js +18 -0
- package/dist/temp/src/hooks/dropdown/useOutsideClick.d.ts +5 -0
- package/dist/temp/src/hooks/dropdown/useOutsideClick.js +23 -0
- package/dist/temp/src/hooks/dropdown/useScrollLock.d.ts +4 -0
- package/dist/temp/src/hooks/dropdown/useScrollLock.js +72 -0
- package/dist/temp/src/hooks/dropdown/useWindowResize.d.ts +7 -0
- package/dist/temp/src/hooks/dropdown/useWindowResize.js +44 -0
- package/dist/temp/src/hooks/index.d.ts +4 -0
- package/dist/temp/src/hooks/index.js +6 -0
- package/dist/temp/src/hooks/useCallbackRef.d.ts +27 -0
- package/dist/temp/src/hooks/useCallbackRef.js +44 -0
- package/dist/temp/src/hooks/useMediaQuery.d.ts +5 -0
- package/dist/temp/src/hooks/useMediaQuery.js +20 -0
- package/dist/temp/src/hooks/useMergeRefs.d.ts +20 -0
- package/dist/temp/src/hooks/useMergeRefs.js +31 -0
- package/dist/temp/src/types/dropdown/dropdown.d.ts +39 -0
- package/dist/temp/src/types/dropdown/dropdown.js +1 -0
- package/dist/temp/src/types/dropdown/index.d.ts +2 -0
- package/dist/temp/src/types/dropdown/index.js +2 -0
- package/dist/temp/src/types/dropdown/option.d.ts +23 -0
- package/dist/temp/src/types/dropdown/option.js +1 -0
- package/dist/temp/src/types/index.d.ts +2 -0
- package/dist/temp/src/types/index.js +2 -0
- package/dist/temp/src/types/side-slot.d.ts +25 -0
- package/dist/temp/src/types/side-slot.js +1 -0
- package/dist/temp/src/utils/date-picker.d.ts +11 -0
- package/dist/temp/src/utils/date-picker.js +51 -0
- package/dist/temp/src/utils/dropdown/dropdownUtils.d.ts +17 -0
- package/dist/temp/src/utils/dropdown/dropdownUtils.js +79 -0
- package/dist/temp/src/utils/dropdown/index.d.ts +2 -0
- package/dist/temp/src/utils/dropdown/index.js +2 -0
- package/dist/temp/src/utils/dropdown/multiSelect.d.ts +31 -0
- package/dist/temp/src/utils/dropdown/multiSelect.js +68 -0
- package/dist/temp/src/utils/index.d.ts +2 -0
- package/dist/temp/src/utils/index.js +4 -0
- package/dist/types/assets/scripts/baseBox.d.ts +55 -0
- package/dist/types/assets/scripts/comboBox.d.ts +60 -0
- package/dist/types/assets/scripts/datePicker.d.ts +86 -0
- package/dist/types/assets/scripts/featuredIcon.d.ts +22 -0
- package/dist/types/assets/scripts/fileInput/const/classNames.d.ts +15 -0
- package/dist/types/assets/scripts/fileInput/const/index.d.ts +2 -0
- package/dist/types/assets/scripts/fileInput/const/types.d.ts +88 -0
- package/dist/types/assets/scripts/fileInput/fileInput.d.ts +13 -0
- package/dist/types/assets/scripts/fileInput/fileInputModel.d.ts +12 -0
- package/dist/types/assets/scripts/fileInput/fileInputView.d.ts +42 -0
- package/dist/types/assets/scripts/fileInput/index.d.ts +3 -0
- package/dist/types/assets/scripts/imageFileInput/ImageFileInput.d.ts +63 -0
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +73 -0
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputView.d.ts +79 -0
- package/dist/types/assets/scripts/imageFileInput/const/classNames.d.ts +19 -0
- package/dist/types/assets/scripts/imageFileInput/const/index.d.ts +2 -0
- package/dist/types/assets/scripts/imageFileInput/const/types.d.ts +125 -0
- package/dist/types/assets/scripts/imageFileInput/index.d.ts +3 -0
- package/dist/types/assets/scripts/index.d.ts +32 -0
- package/dist/types/assets/scripts/modal/Modal.d.ts +27 -0
- package/dist/types/assets/scripts/modal/ModalActions.d.ts +18 -0
- package/dist/types/assets/scripts/modal/ModalContent.d.ts +13 -0
- package/dist/types/assets/scripts/modal/ModalHeader.d.ts +15 -0
- package/dist/types/assets/scripts/modal/const/classNames.d.ts +22 -0
- package/dist/types/assets/scripts/modal/const/index.d.ts +2 -0
- package/dist/types/assets/scripts/modal/const/types.d.ts +61 -0
- package/dist/types/assets/scripts/modal/index.d.ts +7 -0
- package/dist/types/assets/scripts/modal/utils/contentUtils.d.ts +10 -0
- package/dist/types/assets/scripts/notification/FloatingNotification.d.ts +24 -0
- package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +21 -0
- package/dist/types/assets/scripts/notification/MessageNotification.d.ts +22 -0
- package/dist/types/assets/scripts/notification/Notification.d.ts +21 -0
- package/dist/types/assets/scripts/notification/const/classNames.d.ts +43 -0
- package/dist/types/assets/scripts/notification/const/icons.d.ts +25 -0
- package/dist/types/assets/scripts/notification/const/index.d.ts +5 -0
- package/dist/types/assets/scripts/notification/const/sizes.d.ts +32 -0
- package/dist/types/assets/scripts/notification/const/types.d.ts +19 -0
- package/dist/types/assets/scripts/notification/index.d.ts +7 -0
- package/dist/types/assets/scripts/notification/utils.d.ts +8 -0
- package/dist/types/assets/scripts/progress-bar/ProgressBar.d.ts +67 -0
- package/dist/types/assets/scripts/progress-bar/index.d.ts +1 -0
- package/dist/types/assets/scripts/selectBox.d.ts +50 -0
- package/dist/types/assets/scripts/shared/ButtonCloseX.d.ts +5 -0
- package/dist/types/assets/scripts/slider.d.ts +0 -1
- package/dist/types/assets/scripts/tab.d.ts +7 -0
- package/dist/types/assets/scripts/tag/Tag.d.ts +27 -0
- package/dist/types/assets/scripts/tag/const/classNames.d.ts +11 -0
- package/dist/types/assets/scripts/tag/const/index.d.ts +3 -0
- package/dist/types/assets/scripts/tag/const/sizes.d.ts +7 -0
- package/dist/types/assets/scripts/tag/const/types.d.ts +33 -0
- package/dist/types/assets/scripts/tag/index.d.ts +3 -0
- package/dist/types/assets/scripts/tooltip/Tooltip.d.ts +54 -0
- package/dist/types/assets/scripts/tooltip/TooltipLayerManager.d.ts +21 -0
- package/dist/types/assets/scripts/tooltip/const/classNames.d.ts +17 -0
- package/dist/types/assets/scripts/tooltip/const/constants.d.ts +33 -0
- package/dist/types/assets/scripts/tooltip/const/icons.d.ts +4 -0
- package/dist/types/assets/scripts/tooltip/const/index.d.ts +5 -0
- package/dist/types/assets/scripts/tooltip/const/templates.d.ts +16 -0
- package/dist/types/assets/scripts/tooltip/const/types.d.ts +14 -0
- package/dist/types/assets/scripts/tooltip/index.d.ts +6 -0
- package/dist/types/assets/scripts/tooltip/utils.d.ts +2 -0
- package/dist/types/assets/scripts/utils/debounce.d.ts +8 -0
- package/dist/types/assets/scripts/utils/unifiedBox/domRenderer.d.ts +107 -0
- package/dist/types/assets/scripts/utils/unifiedBox/dropdownModel.d.ts +142 -0
- package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts +156 -0
- package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts +95 -0
- package/dist/types/constant/color.d.ts +0 -1
- package/dist/types/constant/size.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/src/components/badge/Badge.d.ts +10 -9
- package/dist/types/src/components/badge/BadgeGroup.d.ts +7 -6
- package/dist/types/src/components/badge/index.d.ts +0 -1
- package/dist/types/src/components/badge/utils.d.ts +4 -3
- package/dist/types/src/components/breadcrumb/BreadCrumb.d.ts +5 -4
- package/dist/types/src/components/breadcrumb/index.d.ts +0 -1
- package/dist/types/src/components/button/Button.d.ts +2 -1
- package/dist/types/src/components/button/ButtonCloseX.d.ts +4 -3
- package/dist/types/src/components/button/ButtonGroup.d.ts +9 -11
- package/dist/types/src/components/button/ButtonStepper.d.ts +1 -2
- package/dist/types/src/components/button/index.d.ts +0 -1
- package/dist/types/src/components/carousel/CarouselArrow.d.ts +1 -3
- package/dist/types/src/components/carousel/CarouselNumberGroup.d.ts +1 -3
- package/dist/types/src/components/carousel/index.d.ts +0 -1
- package/dist/types/src/components/checkbox/Checkbox.d.ts +2 -3
- package/dist/types/src/components/checkbox/CheckboxInput.d.ts +2 -3
- package/dist/types/src/components/checkbox/index.d.ts +0 -1
- package/dist/types/src/components/combobox/ComboBox.d.ts +7 -6
- package/dist/types/src/components/combobox/index.d.ts +1 -2
- package/dist/types/src/components/date-picker/CustomInput.d.ts +2 -3
- package/dist/types/src/components/date-picker/DatePicker.d.ts +7 -6
- package/dist/types/src/components/date-picker/RangeDatePicker.d.ts +6 -5
- package/dist/types/src/components/date-picker/RangeDatePickerWithButtons.d.ts +4 -4
- package/dist/types/src/components/date-picker/index.d.ts +0 -1
- package/dist/types/src/components/date-picker/utils.d.ts +0 -1
- package/dist/types/src/components/divider/Divider.d.ts +1 -2
- package/dist/types/src/components/divider/index.d.ts +0 -1
- package/dist/types/src/components/dot/Dot.d.ts +9 -8
- package/dist/types/src/components/dot/index.d.ts +0 -1
- package/dist/types/src/components/dropdown/Dropdown.d.ts +0 -1
- package/dist/types/src/components/dropdown/index.d.ts +0 -1
- package/dist/types/src/components/empty-state/EmptyState.d.ts +5 -5
- package/dist/types/src/components/empty-state/index.d.ts +0 -1
- package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +8 -7
- package/dist/types/src/components/featured-icon/index.d.ts +0 -1
- package/dist/types/src/components/file-input/FileInput.d.ts +0 -1
- package/dist/types/src/components/file-input/index.d.ts +0 -1
- package/dist/types/src/components/image-file-input/ImageFileInput.d.ts +0 -1
- package/dist/types/src/components/image-file-input/components/ImagePreview.d.ts +0 -1
- package/dist/types/src/components/image-file-input/index.d.ts +0 -1
- package/dist/types/src/components/index.d.ts +1 -2
- package/dist/types/src/components/input/InputBase.d.ts +4 -4
- package/dist/types/src/components/input/NumberInput.d.ts +1 -2
- package/dist/types/src/components/input/PasswordInput.d.ts +1 -2
- package/dist/types/src/components/input/Textarea.d.ts +2 -3
- package/dist/types/src/components/input/index.d.ts +0 -1
- package/dist/types/src/components/modal/Modal.d.ts +13 -12
- package/dist/types/src/components/modal/index.d.ts +0 -1
- package/dist/types/src/components/notification/FloatingNotification.d.ts +6 -5
- package/dist/types/src/components/notification/FullWidthNotification.d.ts +6 -5
- package/dist/types/src/components/notification/MessageNotification.d.ts +6 -5
- package/dist/types/src/components/notification/Notification.d.ts +11 -10
- package/dist/types/src/components/notification/index.d.ts +1 -2
- package/dist/types/src/components/pagination/NavButton.d.ts +0 -1
- package/dist/types/src/components/pagination/Pagination.d.ts +0 -1
- package/dist/types/src/components/pagination/index.d.ts +0 -1
- package/dist/types/src/components/progress-bar/ProgressBar.d.ts +0 -1
- package/dist/types/src/components/progress-bar/components/SegmentBar.d.ts +0 -1
- package/dist/types/src/components/progress-bar/components/SegmentLabels.d.ts +3 -4
- package/dist/types/src/components/progress-bar/hooks/useProgressBar.d.ts +1 -2
- package/dist/types/src/components/progress-bar/index.d.ts +0 -1
- package/dist/types/src/components/progress-bar/types.d.ts +0 -1
- package/dist/types/src/components/progress-bar/utils.d.ts +4 -4
- package/dist/types/src/components/progress-circle/ProgressCircle.d.ts +0 -1
- package/dist/types/src/components/progress-circle/index.d.ts +0 -1
- package/dist/types/src/components/radio/Radio.d.ts +2 -3
- package/dist/types/src/components/radio/RadioInput.d.ts +2 -3
- package/dist/types/src/components/radio/index.d.ts +0 -1
- package/dist/types/src/components/select/Select.d.ts +4 -5
- package/dist/types/src/components/select/index.d.ts +0 -1
- package/dist/types/src/components/select-dropdown/SelectDropdown.d.ts +6 -6
- package/dist/types/src/components/select-dropdown/index.d.ts +1 -2
- package/dist/types/src/components/selectbox/SelectBox.d.ts +5 -4
- package/dist/types/src/components/selectbox/index.d.ts +0 -1
- package/dist/types/src/components/shared/hintText/HintText.d.ts +0 -1
- package/dist/types/src/components/shared/hintText/index.d.ts +0 -1
- package/dist/types/src/components/shared/index.d.ts +0 -1
- package/dist/types/src/components/shared/label/Label.d.ts +0 -1
- package/dist/types/src/components/shared/label/index.d.ts +0 -1
- package/dist/types/src/components/slider/Slider.d.ts +1 -2
- package/dist/types/src/components/slider/index.d.ts +0 -1
- package/dist/types/src/components/spinner/Spinner.d.ts +1 -2
- package/dist/types/src/components/spinner/index.d.ts +0 -2
- package/dist/types/src/components/switch/Switch.d.ts +7 -7
- package/dist/types/src/components/switch/index.d.ts +1 -2
- package/dist/types/src/components/tab/HorizontalTab.d.ts +7 -5
- package/dist/types/src/components/tab/TabButton.d.ts +8 -8
- package/dist/types/src/components/tab/VerticalTab.d.ts +2 -3
- package/dist/types/src/components/tab/index.d.ts +0 -1
- package/dist/types/src/components/tag/Tag.d.ts +4 -4
- package/dist/types/src/components/tag/index.d.ts +0 -1
- package/dist/types/src/components/toggle/Toggle.d.ts +1 -2
- package/dist/types/src/components/toggle/index.d.ts +0 -1
- package/dist/types/src/components/tooltip/Tooltip.d.ts +0 -1
- package/dist/types/src/components/tooltip/index.d.ts +0 -1
- package/dist/types/src/constant/breakpoint.d.ts +0 -1
- package/dist/types/src/constant/date-picker.d.ts +0 -1
- package/dist/types/src/constant/index.d.ts +1 -2
- package/dist/types/src/constant/size.d.ts +0 -1
- package/dist/types/src/hooks/dropdown/index.d.ts +0 -1
- package/dist/types/src/hooks/dropdown/useDropdown.d.ts +1 -2
- package/dist/types/src/hooks/dropdown/useDropdownKeyboard.d.ts +2 -3
- package/dist/types/src/hooks/dropdown/useDropdownPosition.d.ts +1 -2
- package/dist/types/src/hooks/dropdown/useOutsideClick.d.ts +1 -2
- package/dist/types/src/hooks/dropdown/useScrollLock.d.ts +0 -1
- package/dist/types/src/hooks/dropdown/useWindowResize.d.ts +0 -1
- package/dist/types/src/hooks/index.d.ts +1 -2
- package/dist/types/src/hooks/useCallbackRef.d.ts +0 -1
- package/dist/types/src/hooks/useMediaQuery.d.ts +0 -1
- package/dist/types/src/hooks/useMergeRefs.d.ts +1 -2
- package/dist/types/src/types/dropdown/dropdown.d.ts +1 -2
- package/dist/types/src/types/dropdown/index.d.ts +0 -1
- package/dist/types/src/types/dropdown/option.d.ts +0 -1
- package/dist/types/src/types/index.d.ts +0 -1
- package/dist/types/src/types/side-slot.d.ts +0 -1
- package/dist/types/src/utils/date-picker.d.ts +1 -2
- package/dist/types/src/utils/dropdown/dropdownUtils.d.ts +2 -3
- package/dist/types/src/utils/dropdown/index.d.ts +0 -1
- package/dist/types/src/utils/dropdown/multiSelect.d.ts +1 -2
- package/dist/types/src/utils/index.d.ts +0 -1
- package/dist/ui-admin/assets/styles/style.css +115 -24
- package/package.json +50 -77
- package/mcp/bin/server.js +0 -67
- package/mcp/bin/server.mjs +0 -14
- package/mcp/bin/tools/getComponentHtml.d.ts +0 -3
- package/mcp/bin/tools/getComponentHtml.js +0 -30
- package/mcp/bin/tools/getComponentProps.d.ts +0 -3
- package/mcp/bin/tools/getComponentProps.js +0 -16
- package/mcp/bin/tools/listComponents.d.ts +0 -3
- package/mcp/bin/tools/listComponents.js +0 -15
- package/mcp/bin/tools/ping.d.ts +0 -11
- package/mcp/bin/tools/ping.js +0 -30
- package/mcp/bin/tools/searchComponent.d.ts +0 -3
- package/mcp/bin/tools/searchComponent.js +0 -20
- package/mcp/bin/tools/validateHtml.d.ts +0 -10
- package/mcp/bin/tools/validateHtml.js +0 -142
- package/mcp/bin/types.d.ts +0 -28
- package/mcp/bin/types.js +0 -5
- package/mcp/bin/utils/dataLoader.d.ts +0 -11
- package/mcp/bin/utils/dataLoader.js +0 -68
- package/mcp/bin/utils/logger.d.ts +0 -18
- package/mcp/bin/utils/logger.js +0 -27
- package/mcp/bin/utils/response.d.ts +0 -23
- package/mcp/bin/utils/response.js +0 -31
- package/mcp/bin/version.d.ts +0 -1
- package/mcp/bin/version.js +0 -4
- package/mcp/data/.gitkeep +0 -0
- package/mcp/data/_meta.json +0 -7
- package/mcp/data/badge-group.json +0 -73
- package/mcp/data/badge.json +0 -86
- package/mcp/data/bread-crumb.json +0 -22
- package/mcp/data/breadcrumb.json +0 -31
- package/mcp/data/button-group.json +0 -65
- package/mcp/data/button.json +0 -114
- package/mcp/data/carousel-arrow.json +0 -59
- package/mcp/data/carousel-number-group.json +0 -57
- package/mcp/data/carousel.json +0 -22
- package/mcp/data/checkbox.json +0 -31
- package/mcp/data/combobox.json +0 -114
- package/mcp/data/date-picker.json +0 -77
- package/mcp/data/divider.json +0 -56
- package/mcp/data/dot.json +0 -55
- package/mcp/data/dropdown.json +0 -81
- package/mcp/data/empty-state.json +0 -34
- package/mcp/data/featured-icon.json +0 -83
- package/mcp/data/file-input.json +0 -76
- package/mcp/data/horizontal-tab.json +0 -71
- package/mcp/data/image-file-input.json +0 -97
- package/mcp/data/input.json +0 -104
- package/mcp/data/modal.json +0 -85
- package/mcp/data/notification.json +0 -116
- package/mcp/data/number-input.json +0 -128
- package/mcp/data/pagination.json +0 -65
- package/mcp/data/password-input.json +0 -47
- package/mcp/data/progress-bar.json +0 -51
- package/mcp/data/progress-circle.json +0 -54
- package/mcp/data/radio.json +0 -31
- package/mcp/data/range-date-picker-with-buttons.json +0 -64
- package/mcp/data/range-date-picker.json +0 -55
- package/mcp/data/select-dropdown.json +0 -32
- package/mcp/data/select.json +0 -64
- package/mcp/data/selectbox.json +0 -129
- package/mcp/data/slider.json +0 -57
- package/mcp/data/spinner.json +0 -54
- package/mcp/data/switch.json +0 -71
- package/mcp/data/tab.json +0 -122
- package/mcp/data/tag.json +0 -66
- package/mcp/data/textarea.json +0 -88
- package/mcp/data/toggle.json +0 -59
- package/mcp/data/tooltip.json +0 -123
- package/mcp/data/vertical-tab.json +0 -64
- package/mcp/templates/.mcp.json.example +0 -8
- package/mcp/templates/README.md +0 -31
- /package/{mcp/bin/server.d.ts → dist/temp/assets/scripts/modal/const/types.js} +0 -0
|
@@ -13,55 +13,64 @@ import moment from 'moment';
|
|
|
13
13
|
import { forwardRef, useCallback, useEffect } from 'react';
|
|
14
14
|
import { DatePicker } from './DatePicker';
|
|
15
15
|
import { getDateFormat } from './utils';
|
|
16
|
-
|
|
16
|
+
var RangeDatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
17
17
|
var startDateOptions = _a.startDateOptions,
|
|
18
18
|
endDateOptions = _a.endDateOptions,
|
|
19
19
|
validationOption = _a.validationOption,
|
|
20
20
|
onDateValidation = _a.onDateValidation,
|
|
21
21
|
_b = _a.size,
|
|
22
22
|
size = _b === void 0 ? 'xs' : _b;
|
|
23
|
+
var getOverlapResult = useCallback(function (type) {
|
|
24
|
+
if (type === 'start' && moment(startDateOptions.currentDate).isAfter(endDateOptions.currentDate)) {
|
|
25
|
+
return {
|
|
26
|
+
newDate: endDateOptions.currentDate,
|
|
27
|
+
currentDate: startDateOptions.currentDate
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
if (type === 'end' && moment(endDateOptions.currentDate).isBefore(startDateOptions.currentDate)) {
|
|
31
|
+
return {
|
|
32
|
+
newDate: startDateOptions.currentDate,
|
|
33
|
+
currentDate: endDateOptions.currentDate
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
return null;
|
|
37
|
+
}, [startDateOptions.currentDate, endDateOptions.currentDate]);
|
|
38
|
+
var getSettingNewDate = useCallback(function (type, isOverPeriod, unit, period) {
|
|
39
|
+
if (type === 'start') {
|
|
40
|
+
if (isOverPeriod) {
|
|
41
|
+
return getDateFormat(moment(endDateOptions.currentDate).subtract(period, unit).toDate());
|
|
42
|
+
}
|
|
43
|
+
if (moment(startDateOptions.currentDate).isAfter(endDateOptions.currentDate)) {
|
|
44
|
+
return endDateOptions.currentDate;
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
if (isOverPeriod) {
|
|
48
|
+
return getDateFormat(moment(startDateOptions.currentDate).add(period, unit).toDate());
|
|
49
|
+
}
|
|
50
|
+
if (moment(endDateOptions.currentDate).isBefore(startDateOptions.currentDate)) {
|
|
51
|
+
return startDateOptions.currentDate;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return '';
|
|
55
|
+
}, [startDateOptions.currentDate, endDateOptions.currentDate]);
|
|
23
56
|
var changeSettingDateAndAlert = useCallback(function (type, isOverPeriod) {
|
|
24
57
|
if (isOverPeriod === void 0) {
|
|
25
58
|
isOverPeriod = false;
|
|
26
59
|
}
|
|
27
60
|
if (!(validationOption === null || validationOption === void 0 ? void 0 : validationOption.setting)) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
errorType: 'overlap',
|
|
32
|
-
newDate: endDateOptions.currentDate,
|
|
33
|
-
currentDate: startDateOptions.currentDate
|
|
34
|
-
});
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
if (type === 'end' && moment(endDateOptions.currentDate).isBefore(startDateOptions.currentDate)) {
|
|
38
|
-
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation({
|
|
61
|
+
var result = getOverlapResult(type);
|
|
62
|
+
if (result) {
|
|
63
|
+
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation(__assign({
|
|
39
64
|
type: type,
|
|
40
|
-
errorType: 'overlap'
|
|
41
|
-
|
|
42
|
-
currentDate: endDateOptions.currentDate
|
|
43
|
-
});
|
|
44
|
-
return;
|
|
65
|
+
errorType: 'overlap'
|
|
66
|
+
}, result));
|
|
45
67
|
}
|
|
46
68
|
return;
|
|
47
69
|
}
|
|
48
70
|
var _a = validationOption.setting,
|
|
49
71
|
unit = _a.unit,
|
|
50
72
|
period = _a.period;
|
|
51
|
-
var newDate =
|
|
52
|
-
if (type === 'start') {
|
|
53
|
-
if (isOverPeriod) {
|
|
54
|
-
newDate = getDateFormat(moment(endDateOptions.currentDate).subtract(period, unit).toDate());
|
|
55
|
-
} else if (moment(startDateOptions.currentDate).isAfter(endDateOptions.currentDate)) {
|
|
56
|
-
newDate = endDateOptions.currentDate;
|
|
57
|
-
}
|
|
58
|
-
} else {
|
|
59
|
-
if (isOverPeriod) {
|
|
60
|
-
newDate = getDateFormat(moment(startDateOptions.currentDate).add(period, unit).toDate());
|
|
61
|
-
} else if (moment(endDateOptions.currentDate).isBefore(startDateOptions.currentDate)) {
|
|
62
|
-
newDate = startDateOptions.currentDate;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
73
|
+
var newDate = getSettingNewDate(type, isOverPeriod, unit, period);
|
|
65
74
|
if (newDate) {
|
|
66
75
|
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation({
|
|
67
76
|
type: type,
|
|
@@ -70,7 +79,7 @@ export var RangeDatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
70
79
|
currentDate: type === 'start' ? startDateOptions.currentDate : endDateOptions.currentDate
|
|
71
80
|
});
|
|
72
81
|
}
|
|
73
|
-
}, [startDateOptions, endDateOptions, validationOption, onDateValidation]);
|
|
82
|
+
}, [startDateOptions, endDateOptions, validationOption, onDateValidation, getOverlapResult, getSettingNewDate]);
|
|
74
83
|
useEffect(function () {
|
|
75
84
|
var isOverDate = moment(startDateOptions.currentDate).isAfter(endDateOptions.currentDate);
|
|
76
85
|
if (isOverDate) {
|
|
@@ -84,15 +93,15 @@ export var RangeDatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
84
93
|
unit = _a.unit,
|
|
85
94
|
period = _a.period;
|
|
86
95
|
var isValidPeriod = moment(startDateOptions.currentDate).isSameOrAfter(moment(endDateOptions.currentDate).subtract(period, unit));
|
|
87
|
-
if (
|
|
88
|
-
changeSettingDateAndAlert('start', true);
|
|
89
|
-
} else {
|
|
96
|
+
if (isValidPeriod) {
|
|
90
97
|
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation({
|
|
91
98
|
type: 'start',
|
|
92
99
|
errorType: null,
|
|
93
100
|
newDate: startDateOptions.currentDate,
|
|
94
101
|
currentDate: startDateOptions.currentDate
|
|
95
102
|
});
|
|
103
|
+
} else {
|
|
104
|
+
changeSettingDateAndAlert('start', true);
|
|
96
105
|
}
|
|
97
106
|
}, [startDateOptions.currentDate]);
|
|
98
107
|
useEffect(function () {
|
|
@@ -109,15 +118,15 @@ export var RangeDatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
109
118
|
unit = _a.unit,
|
|
110
119
|
period = _a.period;
|
|
111
120
|
var isValidPeriod = moment(endDateOptions.currentDate).isSameOrBefore(moment(startDateOptions.currentDate).add(period, unit));
|
|
112
|
-
if (
|
|
113
|
-
changeSettingDateAndAlert('end', true);
|
|
114
|
-
} else {
|
|
121
|
+
if (isValidPeriod) {
|
|
115
122
|
onDateValidation === null || onDateValidation === void 0 ? void 0 : onDateValidation({
|
|
116
123
|
type: 'end',
|
|
117
124
|
errorType: null,
|
|
118
125
|
newDate: endDateOptions.currentDate,
|
|
119
126
|
currentDate: endDateOptions.currentDate
|
|
120
127
|
});
|
|
128
|
+
} else {
|
|
129
|
+
changeSettingDateAndAlert('end', true);
|
|
121
130
|
}
|
|
122
131
|
}, [endDateOptions.currentDate]);
|
|
123
132
|
return _jsxs("div", __assign({
|
|
@@ -135,4 +144,5 @@ export var RangeDatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
135
144
|
}))]
|
|
136
145
|
}));
|
|
137
146
|
});
|
|
138
|
-
RangeDatePicker.displayName = 'RangeDatePicker';
|
|
147
|
+
RangeDatePicker.displayName = 'RangeDatePicker';
|
|
148
|
+
export { RangeDatePicker };
|
|
@@ -14,7 +14,7 @@ import { PERIOD_ITEM } from '../../constant/date-picker';
|
|
|
14
14
|
import { getDateFormat, getSubtractDate } from '../../utils/date-picker';
|
|
15
15
|
import { ButtonGroup } from '../button';
|
|
16
16
|
import { RangeDatePicker } from './RangeDatePicker';
|
|
17
|
-
|
|
17
|
+
var RangeDatePickerWithButtons = function (_a) {
|
|
18
18
|
var _b = _a.useYesterdayAsEndDate,
|
|
19
19
|
useYesterdayAsEndDate = _b === void 0 ? false : _b,
|
|
20
20
|
_c = _a.size,
|
|
@@ -89,4 +89,5 @@ export var RangeDatePickerWithButtons = function (_a) {
|
|
|
89
89
|
size: size
|
|
90
90
|
})]
|
|
91
91
|
}));
|
|
92
|
-
};
|
|
92
|
+
};
|
|
93
|
+
export { RangeDatePickerWithButtons };
|
|
@@ -9,8 +9,8 @@ var __assign = this && this.__assign || function () {
|
|
|
9
9
|
return __assign.apply(this, arguments);
|
|
10
10
|
};
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
-
import { forwardRef } from 'react';
|
|
13
12
|
import classNames from 'classnames';
|
|
13
|
+
import { forwardRef } from 'react';
|
|
14
14
|
/**
|
|
15
15
|
* @param {DividerProps} props
|
|
16
16
|
* @param {ReactNode} props.children Button 컴포넌트는 xs로 ButtonGroup은 sm 사이즈로 추가하는 것이 권장됩니다.
|
|
@@ -19,11 +19,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
import classNames from 'classnames';
|
|
21
21
|
import { forwardRef } from 'react';
|
|
22
|
-
|
|
22
|
+
var Dot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
23
23
|
var _b = _a.color,
|
|
24
24
|
color = _b === void 0 ? 'success' : _b,
|
|
25
25
|
_c = _a.size,
|
|
26
|
-
size = _c === void 0 ? '
|
|
26
|
+
size = _c === void 0 ? 'sm' : _c,
|
|
27
27
|
className = _a.className,
|
|
28
28
|
props = __rest(_a, ["color", "size", "className"]);
|
|
29
29
|
return _jsx("span", __assign({
|
|
@@ -31,4 +31,5 @@ export var Dot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31
31
|
className: classNames('ncua-dot', "ncua-dot--".concat(color), "ncua-dot--".concat(size), className)
|
|
32
32
|
}, props));
|
|
33
33
|
});
|
|
34
|
-
Dot.displayName = 'Dot';
|
|
34
|
+
Dot.displayName = 'Dot';
|
|
35
|
+
export { Dot };
|
|
@@ -185,12 +185,13 @@ export var Dropdown = function (_a) {
|
|
|
185
185
|
children: [renderHeader(), _jsx("div", __assign({
|
|
186
186
|
className: "ncua-dropdown__menu-items"
|
|
187
187
|
}, {
|
|
188
|
-
children: groups.map(function (group
|
|
188
|
+
children: groups.map(function (group) {
|
|
189
|
+
var _a;
|
|
189
190
|
return _jsx("div", __assign({
|
|
190
191
|
className: "ncua-dropdown__group"
|
|
191
192
|
}, {
|
|
192
193
|
children: group.items.map(renderItem)
|
|
193
|
-
}),
|
|
194
|
+
}), (_a = group.items[0]) === null || _a === void 0 ? void 0 : _a.id);
|
|
194
195
|
})
|
|
195
196
|
}))]
|
|
196
197
|
}))]
|
|
@@ -18,7 +18,7 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
18
18
|
};
|
|
19
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
20
|
import { Button } from '../button/Button';
|
|
21
|
-
|
|
21
|
+
var EmptyState = function (_a) {
|
|
22
22
|
var title = _a.title,
|
|
23
23
|
description = _a.description,
|
|
24
24
|
buttons = _a.buttons;
|
|
@@ -48,4 +48,5 @@ export var EmptyState = function (_a) {
|
|
|
48
48
|
})
|
|
49
49
|
}))]
|
|
50
50
|
}));
|
|
51
|
-
};
|
|
51
|
+
};
|
|
52
|
+
export { EmptyState };
|
|
@@ -25,14 +25,14 @@ var iconSizeMap = {
|
|
|
25
25
|
lg: 24,
|
|
26
26
|
xl: 28
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
var FeaturedIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29
29
|
var Icon = _a.icon,
|
|
30
30
|
_b = _a.theme,
|
|
31
31
|
theme = _b === void 0 ? 'light-circle' : _b,
|
|
32
32
|
_c = _a.color,
|
|
33
33
|
color = _c === void 0 ? 'neutral' : _c,
|
|
34
34
|
_d = _a.size,
|
|
35
|
-
size = _d === void 0 ? '
|
|
35
|
+
size = _d === void 0 ? 'sm' : _d,
|
|
36
36
|
className = _a.className,
|
|
37
37
|
rest = __rest(_a, ["icon", "theme", "color", "size", "className"]);
|
|
38
38
|
return _jsxs("div", __assign({
|
|
@@ -50,4 +50,5 @@ export var FeaturedIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
50
50
|
height: iconSizeMap[size]
|
|
51
51
|
})]
|
|
52
52
|
}));
|
|
53
|
-
});
|
|
53
|
+
});
|
|
54
|
+
export { FeaturedIcon };
|
|
@@ -38,7 +38,7 @@ export var FileInputErrorType;
|
|
|
38
38
|
FileInputErrorType["EXCEED_MAX_FILE_SIZE"] = "EXCEED_MAX_FILE_SIZE";
|
|
39
39
|
FileInputErrorType["EXCEED_MAX_FILE_COUNT"] = "EXCEED_MAX_FILE_COUNT";
|
|
40
40
|
})(FileInputErrorType || (FileInputErrorType = {}));
|
|
41
|
-
export var FileInput = /*#__PURE__*/forwardRef(function (_a,
|
|
41
|
+
export var FileInput = /*#__PURE__*/forwardRef(function (_a, _ref) {
|
|
42
42
|
var _b = _a.size,
|
|
43
43
|
size = _b === void 0 ? 'xs' : _b,
|
|
44
44
|
accept = _a.accept,
|
|
@@ -169,12 +169,12 @@ export var FileInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
169
169
|
return _jsx("ul", __assign({
|
|
170
170
|
className: "ncua-file-input__hint-list"
|
|
171
171
|
}, {
|
|
172
|
-
children: hintItems.map(function (hint
|
|
172
|
+
children: hintItems.map(function (hint) {
|
|
173
173
|
return _jsx("li", __assign({
|
|
174
174
|
className: "ncua-file-input__hint-item"
|
|
175
175
|
}, {
|
|
176
176
|
children: hint
|
|
177
|
-
}),
|
|
177
|
+
}), hint);
|
|
178
178
|
})
|
|
179
179
|
}));
|
|
180
180
|
};
|
|
@@ -28,7 +28,7 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
28
28
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
29
|
import { HelpCircle, Upload01 } from '@ncds/ui-admin-icon';
|
|
30
30
|
import classNames from 'classnames';
|
|
31
|
-
import { forwardRef, useEffect, useRef, useState } from 'react';
|
|
31
|
+
import { forwardRef, useEffect, useImperativeHandle, useRef, useState } from 'react';
|
|
32
32
|
import { Button } from '../button';
|
|
33
33
|
import { FileInputErrorType as ImageFileInputErrorType } from '../file-input/FileInput';
|
|
34
34
|
import { HintText, Label } from '../shared';
|
|
@@ -66,6 +66,9 @@ export var ImageFileInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
66
66
|
showFileInput = _h === void 0 ? true : _h,
|
|
67
67
|
props = __rest(_a, ["size", "accept", "multiple", "maxFileSize", "maxFileCount", "value", "onChange", "onFileSelect", "onFail", "buttonLabel", "imagePreviewTooltipLabel", "disabled", "label", "hintItems", "validation", "destructive", "isRequired", "showHelpIcon", "hintText", "showFileTagList", "showHintText", "showFileInput"]);
|
|
68
68
|
var fileInputRef = useRef(null);
|
|
69
|
+
useImperativeHandle(ref, function () {
|
|
70
|
+
return fileInputRef.current;
|
|
71
|
+
});
|
|
69
72
|
var _j = useState([]),
|
|
70
73
|
internalFiles = _j[0],
|
|
71
74
|
setInternalFiles = _j[1];
|
|
@@ -193,12 +196,12 @@ export var ImageFileInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
193
196
|
return _jsx("ul", __assign({
|
|
194
197
|
className: "ncua-file-input__hint-list"
|
|
195
198
|
}, {
|
|
196
|
-
children: hintItems.map(function (hint
|
|
199
|
+
children: hintItems.map(function (hint) {
|
|
197
200
|
return _jsx("li", __assign({
|
|
198
201
|
className: "ncua-file-input__hint-item"
|
|
199
202
|
}, {
|
|
200
203
|
children: hint
|
|
201
|
-
}),
|
|
204
|
+
}), hint);
|
|
202
205
|
})
|
|
203
206
|
}));
|
|
204
207
|
};
|
|
@@ -31,7 +31,7 @@ var generalSvgSize = {
|
|
|
31
31
|
xs: 14,
|
|
32
32
|
sm: 20
|
|
33
33
|
};
|
|
34
|
-
|
|
34
|
+
var InputBase = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
35
35
|
var _b = _a.size,
|
|
36
36
|
size = _b === void 0 ? 'xs' : _b,
|
|
37
37
|
required = _a.required,
|
|
@@ -45,7 +45,8 @@ export var InputBase = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
45
45
|
showHelpIcon = _a.showHelpIcon,
|
|
46
46
|
maxLength = _a.maxLength,
|
|
47
47
|
showTextCount = _a.showTextCount,
|
|
48
|
-
|
|
48
|
+
className = _a.className,
|
|
49
|
+
props = __rest(_a, ["size", "required", "label", "hintText", "disabled", "validation", "destructive", "leadingElement", "trailingElement", "showHelpIcon", "maxLength", "showTextCount", "className"]);
|
|
49
50
|
var inputRef = useRef(null);
|
|
50
51
|
var _c = useState(0),
|
|
51
52
|
textCount = _c[0],
|
|
@@ -175,7 +176,7 @@ export var InputBase = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
175
176
|
'is-disabled': disabled,
|
|
176
177
|
'ncua-input__trailing-button': (trailingElement === null || trailingElement === void 0 ? void 0 : trailingElement.type) === 'button',
|
|
177
178
|
'ncua-input__leading-text-wrap': (leadingElement === null || leadingElement === void 0 ? void 0 : leadingElement.type) === 'text'
|
|
178
|
-
})
|
|
179
|
+
}, className)
|
|
179
180
|
}, {
|
|
180
181
|
children: [renderLabel(), _jsxs("div", __assign({
|
|
181
182
|
className: "ncua-input__content-wrap"
|
|
@@ -218,4 +219,5 @@ export var InputBase = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
218
219
|
children: hintText
|
|
219
220
|
}))]
|
|
220
221
|
}));
|
|
221
|
-
});
|
|
222
|
+
});
|
|
223
|
+
export { InputBase };
|
|
@@ -36,7 +36,7 @@ export var NumberInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
36
36
|
var getCurrentValue = useCallback(function () {
|
|
37
37
|
var _a;
|
|
38
38
|
var value = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.value;
|
|
39
|
-
return value ? parseFloat(value) : 0;
|
|
39
|
+
return value ? Number.parseFloat(value) : 0;
|
|
40
40
|
}, []);
|
|
41
41
|
var updateValue = useCallback(function (newValue) {
|
|
42
42
|
if (!inputRef.current) return;
|
|
@@ -22,7 +22,7 @@ import { useEffect, useRef } from 'react';
|
|
|
22
22
|
import ReactDOM from 'react-dom';
|
|
23
23
|
import { ButtonCloseX } from '../button/ButtonCloseX';
|
|
24
24
|
import { FeaturedIcon } from '../featured-icon';
|
|
25
|
-
|
|
25
|
+
var Modal = function (_a) {
|
|
26
26
|
var isOpen = _a.isOpen,
|
|
27
27
|
onClose = _a.onClose,
|
|
28
28
|
children = _a.children,
|
|
@@ -189,4 +189,5 @@ Modal.Actions = function (_a) {
|
|
|
189
189
|
}))]
|
|
190
190
|
}))]
|
|
191
191
|
});
|
|
192
|
-
};
|
|
192
|
+
};
|
|
193
|
+
export { Modal };
|
|
@@ -32,7 +32,7 @@ var iconMap = {
|
|
|
32
32
|
success: CheckCircle
|
|
33
33
|
// info는 floating에서는 지원하지 않음
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
var FloatingNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
36
36
|
var title = _a.title,
|
|
37
37
|
supportingText = _a.supportingText,
|
|
38
38
|
_b = _a.color,
|
|
@@ -130,4 +130,5 @@ export var FloatingNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
130
130
|
onClick: onClose
|
|
131
131
|
})]
|
|
132
132
|
}));
|
|
133
|
-
});
|
|
133
|
+
});
|
|
134
|
+
export { FloatingNotification };
|
|
@@ -35,7 +35,7 @@ var iconColorMap = {
|
|
|
35
35
|
success: 'green600',
|
|
36
36
|
info: 'violet600'
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
var FullWidthNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
39
39
|
var title = _a.title,
|
|
40
40
|
supportingText = _a.supportingText,
|
|
41
41
|
_b = _a.color,
|
|
@@ -158,4 +158,5 @@ export var FullWidthNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
158
158
|
}))
|
|
159
159
|
}))
|
|
160
160
|
}));
|
|
161
|
-
});
|
|
161
|
+
});
|
|
162
|
+
export { FullWidthNotification };
|
|
@@ -35,7 +35,7 @@ var iconColorMap = {
|
|
|
35
35
|
warning: 'orange500',
|
|
36
36
|
success: 'green600'
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
var MessageNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
39
39
|
var title = _a.title,
|
|
40
40
|
supportingText = _a.supportingText,
|
|
41
41
|
Icon = _a.icon,
|
|
@@ -126,4 +126,5 @@ export var MessageNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
126
126
|
}))
|
|
127
127
|
}));
|
|
128
128
|
});
|
|
129
|
-
MessageNotification.displayName = 'MessageNotification';
|
|
129
|
+
MessageNotification.displayName = 'MessageNotification';
|
|
130
|
+
export { MessageNotification };
|
|
@@ -21,7 +21,7 @@ import { forwardRef } from 'react';
|
|
|
21
21
|
import { FloatingNotification } from './FloatingNotification';
|
|
22
22
|
import { FullWidthNotification } from './FullWidthNotification';
|
|
23
23
|
import { MessageNotification } from './MessageNotification';
|
|
24
|
-
|
|
24
|
+
var Notification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
25
25
|
var _b = _a.type,
|
|
26
26
|
type = _b === void 0 ? 'floating' : _b,
|
|
27
27
|
_c = _a.color,
|
|
@@ -50,4 +50,5 @@ export var Notification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
50
50
|
}
|
|
51
51
|
return null;
|
|
52
52
|
});
|
|
53
|
-
Notification.displayName = 'Notification';
|
|
53
|
+
Notification.displayName = 'Notification';
|
|
54
|
+
export { Notification };
|
|
@@ -11,6 +11,8 @@ var __assign = this && this.__assign || function () {
|
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
import { ArrowLeft, ArrowRight, ChevronLeft, ChevronLeftDouble, ChevronRight, ChevronRightDouble } from '@ncds/ui-admin-icon';
|
|
13
13
|
import { Button } from '../button';
|
|
14
|
+
var ICON_SIZE_PC = 16;
|
|
15
|
+
var ICON_SIZE_MOBILE = 20;
|
|
14
16
|
var NAV_BUTTON_CONFIG = {
|
|
15
17
|
first: {
|
|
16
18
|
label: '처음',
|
|
@@ -61,7 +63,7 @@ export var NavButton = function (_a) {
|
|
|
61
63
|
leadingIcon: {
|
|
62
64
|
type: 'icon',
|
|
63
65
|
icon: config.getIcon(isPC),
|
|
64
|
-
size: isPC ?
|
|
66
|
+
size: isPC ? ICON_SIZE_PC : ICON_SIZE_MOBILE,
|
|
65
67
|
color: disabled ? 'gray200' : 'gray700'
|
|
66
68
|
},
|
|
67
69
|
hierarchy: 'secondary-gray',
|
|
@@ -66,74 +66,72 @@ export var Pagination = function (_a) {
|
|
|
66
66
|
setStart(lastGroupStart);
|
|
67
67
|
}
|
|
68
68
|
}, [currentPage]);
|
|
69
|
-
return
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
return _jsxs("div", __assign({
|
|
70
|
+
className: classNames('ncua-pagination', "ncua-pagination--".concat(breakPoint), className)
|
|
71
|
+
}, {
|
|
72
|
+
children: [showJumpPageButton && _jsxs(_Fragment, {
|
|
73
|
+
children: [NavButton({
|
|
74
|
+
type: 'first',
|
|
75
|
+
breakPoint: breakPoint,
|
|
76
|
+
noPrev: noPrev,
|
|
77
|
+
noNext: noNext,
|
|
78
|
+
onClick: function () {
|
|
79
|
+
return handleClickButton(1);
|
|
80
|
+
}
|
|
81
|
+
}), NavButton({
|
|
82
|
+
type: 'prev',
|
|
83
|
+
breakPoint: breakPoint,
|
|
84
|
+
noPrev: noPrev,
|
|
85
|
+
noNext: noNext,
|
|
86
|
+
onClick: function () {
|
|
87
|
+
return breakPoint === 'mo' ? handleClickButton(Math.max(currentPage - 1, 1)) : handleClickButton(Math.max(start - pageCount, 1));
|
|
88
|
+
}
|
|
89
|
+
})]
|
|
90
|
+
}), _jsx("ul", __assign({
|
|
91
|
+
className: "ncua-pagination__list"
|
|
72
92
|
}, {
|
|
73
|
-
children:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
breakPoint: breakPoint,
|
|
77
|
-
noPrev: noPrev,
|
|
78
|
-
noNext: noNext,
|
|
79
|
-
onClick: function () {
|
|
80
|
-
return handleClickButton(1);
|
|
81
|
-
}
|
|
82
|
-
}), NavButton({
|
|
83
|
-
type: 'prev',
|
|
84
|
-
breakPoint: breakPoint,
|
|
85
|
-
noPrev: noPrev,
|
|
86
|
-
noNext: noNext,
|
|
87
|
-
onClick: function () {
|
|
88
|
-
return breakPoint === 'mo' ? handleClickButton(Math.max(currentPage - 1, 1)) : handleClickButton(Math.max(start - pageCount, 1));
|
|
89
|
-
}
|
|
90
|
-
})]
|
|
91
|
-
}), _jsx("ul", __assign({
|
|
92
|
-
className: "ncua-pagination__list"
|
|
93
|
-
}, {
|
|
94
|
-
children: range(start, Math.min(totalPage + 1, start + pageCount)).map(function (pageNumber, i) {
|
|
95
|
-
return _jsx("li", __assign({
|
|
96
|
-
className: "ncua-pagination__item"
|
|
97
|
-
}, {
|
|
98
|
-
children: _jsx("button", __assign({
|
|
99
|
-
className: classNames('ncua-pagination__page-num', {
|
|
100
|
-
'is-current': pageNumber === currentPage
|
|
101
|
-
}),
|
|
102
|
-
onClick: function () {
|
|
103
|
-
return handleClickButton(start + i);
|
|
104
|
-
}
|
|
105
|
-
}, restProps, {
|
|
106
|
-
children: start + i
|
|
107
|
-
}))
|
|
108
|
-
}), uniqueId('ncua-pagination__page-num'));
|
|
109
|
-
})
|
|
110
|
-
})), _jsxs("p", __assign({
|
|
111
|
-
className: "ncua-pagination__page-info"
|
|
112
|
-
}, {
|
|
113
|
-
children: [_jsx("em", __assign({
|
|
114
|
-
className: "ncua-pagination__current-num"
|
|
93
|
+
children: range(start, Math.min(totalPage + 1, start + pageCount)).map(function (pageNumber, i) {
|
|
94
|
+
return _jsx("li", __assign({
|
|
95
|
+
className: "ncua-pagination__item"
|
|
115
96
|
}, {
|
|
116
|
-
children:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
97
|
+
children: _jsx("button", __assign({
|
|
98
|
+
className: classNames('ncua-pagination__page-num', {
|
|
99
|
+
'is-current': pageNumber === currentPage
|
|
100
|
+
}),
|
|
101
|
+
onClick: function () {
|
|
102
|
+
return handleClickButton(start + i);
|
|
103
|
+
}
|
|
104
|
+
}, restProps, {
|
|
105
|
+
children: start + i
|
|
106
|
+
}))
|
|
107
|
+
}), uniqueId('ncua-pagination__page-num'));
|
|
108
|
+
})
|
|
109
|
+
})), _jsxs("p", __assign({
|
|
110
|
+
className: "ncua-pagination__page-info"
|
|
111
|
+
}, {
|
|
112
|
+
children: [_jsx("em", __assign({
|
|
113
|
+
className: "ncua-pagination__current-num"
|
|
114
|
+
}, {
|
|
115
|
+
children: currentPage
|
|
116
|
+
})), " / ", totalPage]
|
|
117
|
+
})), showJumpPageButton && _jsxs(_Fragment, {
|
|
118
|
+
children: [NavButton({
|
|
119
|
+
type: 'next',
|
|
120
|
+
breakPoint: breakPoint,
|
|
121
|
+
noPrev: noPrev,
|
|
122
|
+
noNext: noNext,
|
|
123
|
+
onClick: function () {
|
|
124
|
+
return breakPoint === 'mo' ? handleClickButton(Math.min(currentPage + 1, totalPage)) : handleClickButton(Math.min(start + pageCount, totalPage));
|
|
125
|
+
}
|
|
126
|
+
}), NavButton({
|
|
127
|
+
type: 'last',
|
|
128
|
+
breakPoint: breakPoint,
|
|
129
|
+
noPrev: noPrev,
|
|
130
|
+
noNext: noNext,
|
|
131
|
+
onClick: function () {
|
|
132
|
+
return handleClickButton(totalPage);
|
|
133
|
+
}
|
|
136
134
|
})]
|
|
137
|
-
})
|
|
138
|
-
});
|
|
135
|
+
})]
|
|
136
|
+
}));
|
|
139
137
|
};
|