funda-ui 4.7.620 → 4.7.624
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/.gitattributes +2 -0
- package/README.md +116 -2
- package/README_PUBLISH.md +328 -0
- package/lib/cjs/DynamicFields/index.js +11 -3
- package/lib/esm/DynamicFields/index.tsx +9 -4
- package/logo.png +0 -0
- package/package.json +591 -1
- package/preview.png +0 -0
- package/{DynamicFields → publish/DynamicFields}/index.js +11 -3
- package/publish/LICENSE +21 -0
- package/publish/README.md +328 -0
- package/publish/lib/cjs/Accordion/index.d.ts +2 -0
- package/publish/lib/cjs/Accordion/index.js +667 -0
- package/publish/lib/cjs/BackToTop/index.d.ts +17 -0
- package/publish/lib/cjs/BackToTop/index.js +904 -0
- package/publish/lib/cjs/CascadingSelect/index.d.ts +80 -0
- package/publish/lib/cjs/CascadingSelect/index.js +3383 -0
- package/publish/lib/cjs/CascadingSelectE2E/index.d.ts +91 -0
- package/publish/lib/cjs/CascadingSelectE2E/index.js +3988 -0
- package/publish/lib/cjs/Chatbox/index.d.ts +101 -0
- package/publish/lib/cjs/Chatbox/index.js +7037 -0
- package/publish/lib/cjs/Checkbox/index.d.ts +28 -0
- package/publish/lib/cjs/Checkbox/index.js +673 -0
- package/publish/lib/cjs/ColorPicker/index.d.ts +27 -0
- package/publish/lib/cjs/ColorPicker/index.js +662 -0
- package/publish/lib/cjs/Date/index.d.ts +70 -0
- package/publish/lib/cjs/Date/index.js +6368 -0
- package/publish/lib/cjs/DigitalClock/index.d.ts +7 -0
- package/publish/lib/cjs/DigitalClock/index.js +402 -0
- package/publish/lib/cjs/DragDropList/index.d.ts +45 -0
- package/publish/lib/cjs/DragDropList/index.js +1586 -0
- package/publish/lib/cjs/DropdownMenu/index.d.ts +38 -0
- package/publish/lib/cjs/DropdownMenu/index.js +1507 -0
- package/publish/lib/cjs/DynamicFields/index.d.ts +40 -0
- package/publish/lib/cjs/DynamicFields/index.js +818 -0
- package/publish/lib/cjs/EventCalendar/index.d.ts +61 -0
- package/publish/lib/cjs/EventCalendar/index.js +3789 -0
- package/publish/lib/cjs/EventCalendarTimeline/index.d.ts +100 -0
- package/publish/lib/cjs/EventCalendarTimeline/index.js +6141 -0
- package/publish/lib/cjs/File/index.d.ts +40 -0
- package/publish/lib/cjs/File/index.js +1751 -0
- package/publish/lib/cjs/HorizontalScrollContent/index.d.ts +14 -0
- package/publish/lib/cjs/HorizontalScrollContent/index.js +426 -0
- package/publish/lib/cjs/Input/index.d.ts +59 -0
- package/publish/lib/cjs/Input/index.js +1486 -0
- package/publish/lib/cjs/LiveSearch/index.d.ts +70 -0
- package/publish/lib/cjs/LiveSearch/index.js +4180 -0
- package/publish/lib/cjs/MasonryLayout/index.d.ts +14 -0
- package/publish/lib/cjs/MasonryLayout/index.js +689 -0
- package/publish/lib/cjs/ModalDialog/index.d.ts +83 -0
- package/publish/lib/cjs/ModalDialog/index.js +1719 -0
- package/publish/lib/cjs/ModeSwitch/index.d.ts +17 -0
- package/publish/lib/cjs/ModeSwitch/index.js +202 -0
- package/publish/lib/cjs/MultilevelDropdownMenu/index.d.ts +20 -0
- package/publish/lib/cjs/MultilevelDropdownMenu/index.js +930 -0
- package/publish/lib/cjs/MultipleCheckboxes/index.d.ts +66 -0
- package/publish/lib/cjs/MultipleCheckboxes/index.js +2337 -0
- package/publish/lib/cjs/MultipleSelect/index.d.ts +65 -0
- package/publish/lib/cjs/MultipleSelect/index.js +4197 -0
- package/publish/lib/cjs/NativeSelect/index.d.ts +37 -0
- package/publish/lib/cjs/NativeSelect/index.js +2052 -0
- package/publish/lib/cjs/NumberInput/index.d.ts +40 -0
- package/publish/lib/cjs/NumberInput/index.js +1191 -0
- package/publish/lib/cjs/Pagination/index.d.ts +51 -0
- package/publish/lib/cjs/Pagination/index.js +612 -0
- package/publish/lib/cjs/Radio/index.d.ts +45 -0
- package/publish/lib/cjs/Radio/index.js +1838 -0
- package/publish/lib/cjs/RangeSlider/index.d.ts +22 -0
- package/publish/lib/cjs/RangeSlider/index.js +2696 -0
- package/publish/lib/cjs/Refresher/index.d.ts +22 -0
- package/publish/lib/cjs/Refresher/index.js +564 -0
- package/publish/lib/cjs/RootPortal/index.d.ts +9 -0
- package/publish/lib/cjs/RootPortal/index.js +148 -0
- package/publish/lib/cjs/ScrollReveal/index.d.ts +21 -0
- package/publish/lib/cjs/ScrollReveal/index.js +401 -0
- package/publish/lib/cjs/Scrollbar/index.d.ts +17 -0
- package/publish/lib/cjs/Scrollbar/index.js +1107 -0
- package/publish/lib/cjs/SearchBar/index.d.ts +41 -0
- package/publish/lib/cjs/SearchBar/index.js +701 -0
- package/publish/lib/cjs/Select/index.d.ts +107 -0
- package/publish/lib/cjs/Select/index.js +6540 -0
- package/publish/lib/cjs/ShowMoreLess/index.d.ts +36 -0
- package/publish/lib/cjs/ShowMoreLess/index.js +387 -0
- package/publish/lib/cjs/SplitterPanel/index.d.ts +20 -0
- package/publish/lib/cjs/SplitterPanel/index.js +800 -0
- package/publish/lib/cjs/Stepper/index.d.ts +26 -0
- package/publish/lib/cjs/Stepper/index.js +568 -0
- package/publish/lib/cjs/Switch/index.d.ts +25 -0
- package/publish/lib/cjs/Switch/index.js +630 -0
- package/publish/lib/cjs/Table/index.d.ts +12 -0
- package/publish/lib/cjs/Table/index.js +2311 -0
- package/publish/lib/cjs/Tabs/index.d.ts +3 -0
- package/publish/lib/cjs/Tabs/index.js +771 -0
- package/publish/lib/cjs/TagInput/index.d.ts +37 -0
- package/publish/lib/cjs/TagInput/index.js +1227 -0
- package/publish/lib/cjs/Textarea/index.d.ts +50 -0
- package/publish/lib/cjs/Textarea/index.js +1795 -0
- package/publish/lib/cjs/Toast/index.d.ts +3 -0
- package/publish/lib/cjs/Toast/index.js +1345 -0
- package/publish/lib/cjs/Tooltip/index.d.ts +38 -0
- package/publish/lib/cjs/Tooltip/index.js +1778 -0
- package/publish/lib/cjs/Tree/index.d.ts +78 -0
- package/publish/lib/cjs/Tree/index.js +2330 -0
- package/publish/lib/cjs/Utils/anim.d.ts +11 -0
- package/publish/lib/cjs/Utils/anim.js +846 -0
- package/publish/lib/cjs/Utils/bodyScrollLock.d.ts +8 -0
- package/publish/lib/cjs/Utils/bodyScrollLock.js +311 -0
- package/publish/lib/cjs/Utils/buffer.d.ts +67 -0
- package/publish/lib/cjs/Utils/buffer.js +343 -0
- package/publish/lib/cjs/Utils/cls.d.ts +15 -0
- package/publish/lib/cjs/Utils/cls.js +124 -0
- package/publish/lib/cjs/Utils/convert.d.ts +25 -0
- package/publish/lib/cjs/Utils/convert.js +109 -0
- package/publish/lib/cjs/Utils/date.d.ts +227 -0
- package/publish/lib/cjs/Utils/date.js +587 -0
- package/publish/lib/cjs/Utils/dom.d.ts +13 -0
- package/publish/lib/cjs/Utils/dom.js +215 -0
- package/publish/lib/cjs/Utils/easing.d.ts +29 -0
- package/publish/lib/cjs/Utils/easing.js +221 -0
- package/publish/lib/cjs/Utils/extract.d.ts +66 -0
- package/publish/lib/cjs/Utils/extract.js +195 -0
- package/publish/lib/cjs/Utils/format-string.d.ts +65 -0
- package/publish/lib/cjs/Utils/format-string.js +167 -0
- package/publish/lib/cjs/Utils/formdata.d.ts +13 -0
- package/publish/lib/cjs/Utils/formdata.js +131 -0
- package/publish/lib/cjs/Utils/getElementProperty.d.ts +52 -0
- package/publish/lib/cjs/Utils/getElementProperty.js +189 -0
- package/publish/lib/cjs/Utils/guid.d.ts +7 -0
- package/publish/lib/cjs/Utils/guid.js +67 -0
- package/publish/lib/cjs/Utils/initDefaultOptions.d.ts +10 -0
- package/publish/lib/cjs/Utils/initDefaultOptions.js +607 -0
- package/publish/lib/cjs/Utils/inputsCalculation.d.ts +28 -0
- package/publish/lib/cjs/Utils/inputsCalculation.js +188 -0
- package/publish/lib/cjs/Utils/math.d.ts +77 -0
- package/publish/lib/cjs/Utils/math.js +305 -0
- package/publish/lib/cjs/Utils/object.d.ts +18 -0
- package/publish/lib/cjs/Utils/object.js +120 -0
- package/publish/lib/cjs/Utils/os.d.ts +2 -0
- package/publish/lib/cjs/Utils/os.js +104 -0
- package/publish/lib/cjs/Utils/performance.d.ts +3 -0
- package/publish/lib/cjs/Utils/performance.js +94 -0
- package/publish/lib/cjs/Utils/sanitize.d.ts +14 -0
- package/publish/lib/cjs/Utils/sanitize.js +87 -0
- package/publish/lib/cjs/Utils/time.d.ts +40 -0
- package/publish/lib/cjs/Utils/time.js +177 -0
- package/publish/lib/cjs/Utils/tree.d.ts +40 -0
- package/publish/lib/cjs/Utils/tree.js +195 -0
- package/publish/lib/cjs/Utils/useAutosizeTextArea.d.ts +10 -0
- package/publish/lib/cjs/Utils/useAutosizeTextArea.js +231 -0
- package/publish/lib/cjs/Utils/useBoundedDrag.d.ts +125 -0
- package/publish/lib/cjs/Utils/useBoundedDrag.js +380 -0
- package/publish/lib/cjs/Utils/useClickOutside.d.ts +33 -0
- package/publish/lib/cjs/Utils/useClickOutside.js +166 -0
- package/publish/lib/cjs/Utils/useComId.d.ts +6 -0
- package/publish/lib/cjs/Utils/useComId.js +114 -0
- package/publish/lib/cjs/Utils/useDebounce.d.ts +20 -0
- package/publish/lib/cjs/Utils/useDebounce.js +138 -0
- package/publish/lib/cjs/Utils/useDragDropPosition.d.ts +166 -0
- package/publish/lib/cjs/Utils/useDragDropPosition.js +453 -0
- package/publish/lib/cjs/Utils/useDraggable.d.ts +62 -0
- package/publish/lib/cjs/Utils/useDraggable.js +348 -0
- package/publish/lib/cjs/Utils/useHistoryTracker.d.ts +166 -0
- package/publish/lib/cjs/Utils/useHistoryTracker.js +649 -0
- package/publish/lib/cjs/Utils/useInterval.d.ts +5 -0
- package/publish/lib/cjs/Utils/useInterval.js +168 -0
- package/publish/lib/cjs/Utils/useIsMobile.d.ts +2 -0
- package/publish/lib/cjs/Utils/useIsMobile.js +232 -0
- package/publish/lib/cjs/Utils/useKeyPress.d.ts +44 -0
- package/publish/lib/cjs/Utils/useKeyPress.js +200 -0
- package/publish/lib/cjs/Utils/useSessionStorageListener.d.ts +2 -0
- package/publish/lib/cjs/Utils/useSessionStorageListener.js +157 -0
- package/publish/lib/cjs/Utils/useStreamController.d.ts +71 -0
- package/publish/lib/cjs/Utils/useStreamController.js +494 -0
- package/publish/lib/cjs/Utils/useThrottle.d.ts +2 -0
- package/publish/lib/cjs/Utils/useThrottle.js +136 -0
- package/publish/lib/cjs/Utils/useWindowScroll.d.ts +12 -0
- package/publish/lib/cjs/Utils/useWindowScroll.js +217 -0
- package/publish/lib/cjs/Utils/validate.d.ts +53 -0
- package/publish/lib/cjs/Utils/validate.js +536 -0
- package/publish/lib/cjs/Utils/viewport.d.ts +7 -0
- package/publish/lib/cjs/Utils/viewport.js +64 -0
- package/publish/lib/cjs/index.d.ts +49 -0
- package/publish/lib/cjs/index.js +50 -0
- package/publish/lib/css/BackToTop/index.css +34 -0
- package/publish/lib/css/CascadingSelect/index.css +245 -0
- package/publish/lib/css/CascadingSelectE2E/index.css +245 -0
- package/publish/lib/css/Chatbox/index.css +774 -0
- package/publish/lib/css/ColorPicker/index.css +58 -0
- package/publish/lib/css/Date/index.css +434 -0
- package/publish/lib/css/DragDropList/index.css +188 -0
- package/publish/lib/css/DropdownMenu/index.css +151 -0
- package/publish/lib/css/EventCalendar/index.css +300 -0
- package/publish/lib/css/EventCalendarTimeline/index.css +694 -0
- package/publish/lib/css/HorizontalScrollContent/index.css +70 -0
- package/publish/lib/css/LiveSearch/index.css +88 -0
- package/publish/lib/css/MultilevelDropdownMenu/index.css +38 -0
- package/publish/lib/css/MultipleSelect/index.css +313 -0
- package/publish/lib/css/RangeSlider/index.css +150 -0
- package/publish/lib/css/Scrollbar/index.css +176 -0
- package/publish/lib/css/Select/index.css +434 -0
- package/publish/lib/css/ShowMoreLess/index.css +23 -0
- package/publish/lib/css/SplitterPanel/index.css +63 -0
- package/publish/lib/css/Stepper/index.css +250 -0
- package/publish/lib/css/Table/index.css +584 -0
- package/publish/lib/css/TagInput/index.css +91 -0
- package/publish/lib/css/Toast/index.css +149 -0
- package/publish/lib/css/Tooltip/index.css +198 -0
- package/publish/lib/css/Tree/index.css +237 -0
- package/publish/lib/esm/Accordion/Accordion.tsx +185 -0
- package/publish/lib/esm/Accordion/AccordionItem.tsx +248 -0
- package/publish/lib/esm/Accordion/index.tsx +2 -0
- package/publish/lib/esm/BackToTop/index.scss +47 -0
- package/publish/lib/esm/BackToTop/index.tsx +177 -0
- package/publish/lib/esm/CascadingSelect/Group.tsx +83 -0
- package/publish/lib/esm/CascadingSelect/index.scss +330 -0
- package/publish/lib/esm/CascadingSelect/index.tsx +1397 -0
- package/publish/lib/esm/CascadingSelectE2E/Group.tsx +87 -0
- package/publish/lib/esm/CascadingSelectE2E/index.scss +333 -0
- package/publish/lib/esm/CascadingSelectE2E/index.tsx +1684 -0
- package/publish/lib/esm/Chatbox/PureLoader.tsx +47 -0
- package/publish/lib/esm/Chatbox/TypingEffect.tsx +56 -0
- package/publish/lib/esm/Chatbox/index.scss +966 -0
- package/publish/lib/esm/Chatbox/index.tsx +1742 -0
- package/publish/lib/esm/Chatbox/utils/func.ts +180 -0
- package/publish/lib/esm/Checkbox/index.tsx +206 -0
- package/publish/lib/esm/ColorPicker/index.scss +91 -0
- package/publish/lib/esm/ColorPicker/index.tsx +204 -0
- package/publish/lib/esm/Date/Calendar.tsx +723 -0
- package/publish/lib/esm/Date/index.scss +567 -0
- package/publish/lib/esm/Date/index.tsx +1797 -0
- package/publish/lib/esm/Date/localization/en_US.js +13 -0
- package/publish/lib/esm/Date/localization/zh_CN.js +12 -0
- package/publish/lib/esm/DigitalClock/index.tsx +74 -0
- package/publish/lib/esm/DragDropList/index.scss +245 -0
- package/publish/lib/esm/DragDropList/index.tsx +504 -0
- package/publish/lib/esm/DropdownMenu/Option.tsx +55 -0
- package/publish/lib/esm/DropdownMenu/index.scss +205 -0
- package/publish/lib/esm/DropdownMenu/index.tsx +378 -0
- package/publish/lib/esm/DynamicFields/index.tsx +409 -0
- package/publish/lib/esm/EventCalendar/index.scss +407 -0
- package/publish/lib/esm/EventCalendar/index.tsx +1005 -0
- package/publish/lib/esm/EventCalendarTimeline/index.scss +926 -0
- package/publish/lib/esm/EventCalendarTimeline/index.tsx +2686 -0
- package/publish/lib/esm/File/index.tsx +477 -0
- package/publish/lib/esm/HorizontalScrollContent/index.scss +87 -0
- package/publish/lib/esm/HorizontalScrollContent/index.tsx +171 -0
- package/publish/lib/esm/Input/index.tsx +641 -0
- package/publish/lib/esm/LiveSearch/index.scss +129 -0
- package/publish/lib/esm/LiveSearch/index.tsx +1058 -0
- package/publish/lib/esm/MasonryLayout/index.tsx +326 -0
- package/publish/lib/esm/ModalDialog/index.tsx +572 -0
- package/publish/lib/esm/ModeSwitch/index.tsx +82 -0
- package/publish/lib/esm/MultilevelDropdownMenu/ItemList.tsx +265 -0
- package/publish/lib/esm/MultilevelDropdownMenu/index.scss +79 -0
- package/publish/lib/esm/MultilevelDropdownMenu/index.tsx +77 -0
- package/publish/lib/esm/MultipleCheckboxes/index.tsx +849 -0
- package/publish/lib/esm/MultipleSelect/index.scss +398 -0
- package/publish/lib/esm/MultipleSelect/index.tsx +769 -0
- package/publish/lib/esm/MultipleSelect/utils/func.ts +63 -0
- package/publish/lib/esm/NativeSelect/index.tsx +396 -0
- package/publish/lib/esm/NativeSelect/utils/func.ts +51 -0
- package/publish/lib/esm/NumberInput/index.tsx +425 -0
- package/publish/lib/esm/Pagination/index.tsx +286 -0
- package/publish/lib/esm/Pagination/pagination-navigators.tsx +60 -0
- package/publish/lib/esm/Radio/index.tsx +694 -0
- package/publish/lib/esm/RangeSlider/index.scss +186 -0
- package/publish/lib/esm/RangeSlider/index.tsx +241 -0
- package/publish/lib/esm/Refresher/index.tsx +121 -0
- package/publish/lib/esm/RootPortal/index.tsx +59 -0
- package/publish/lib/esm/ScrollReveal/index.tsx +148 -0
- package/publish/lib/esm/Scrollbar/index.scss +221 -0
- package/publish/lib/esm/Scrollbar/index.tsx +561 -0
- package/publish/lib/esm/SearchBar/index.tsx +252 -0
- package/publish/lib/esm/Select/index.scss +639 -0
- package/publish/lib/esm/Select/index.tsx +3104 -0
- package/publish/lib/esm/Select/utils/func.ts +98 -0
- package/publish/lib/esm/ShowMoreLess/index.scss +27 -0
- package/publish/lib/esm/ShowMoreLess/index.tsx +145 -0
- package/publish/lib/esm/SplitterPanel/index.scss +82 -0
- package/publish/lib/esm/SplitterPanel/index.tsx +174 -0
- package/publish/lib/esm/Stepper/index.scss +315 -0
- package/publish/lib/esm/Stepper/index.tsx +325 -0
- package/publish/lib/esm/Switch/index.tsx +149 -0
- package/publish/lib/esm/Table/Table.tsx +351 -0
- package/publish/lib/esm/Table/TableBody.tsx +41 -0
- package/publish/lib/esm/Table/TableCaption.tsx +34 -0
- package/publish/lib/esm/Table/TableCell.tsx +126 -0
- package/publish/lib/esm/Table/TableColgroup.tsx +38 -0
- package/publish/lib/esm/Table/TableContext.tsx +26 -0
- package/publish/lib/esm/Table/TableFoot.tsx +28 -0
- package/publish/lib/esm/Table/TableHead.tsx +28 -0
- package/publish/lib/esm/Table/TableRow.tsx +76 -0
- package/publish/lib/esm/Table/index.scss +418 -0
- package/publish/lib/esm/Table/index.tsx +14 -0
- package/publish/lib/esm/Table/utils/DragHandleSprite.tsx +46 -0
- package/publish/lib/esm/Table/utils/SortSprite.tsx +63 -0
- package/publish/lib/esm/Table/utils/TableFilter.tsx +56 -0
- package/publish/lib/esm/Table/utils/ToggleSelection.tsx +255 -0
- package/publish/lib/esm/Table/utils/func.ts +182 -0
- package/publish/lib/esm/Table/utils/hooks/useTableDraggable.tsx +342 -0
- package/publish/lib/esm/Table/utils/hooks/useTableKeyPress.tsx +255 -0
- package/publish/lib/esm/Table/utils/hooks/useTableResponsive.tsx +92 -0
- package/publish/lib/esm/Table/utils/hooks/useTableSort.tsx +187 -0
- package/publish/lib/esm/Tabs/TabList.tsx +50 -0
- package/publish/lib/esm/Tabs/TabPanel.tsx +44 -0
- package/publish/lib/esm/Tabs/Tabs.tsx +282 -0
- package/publish/lib/esm/Tabs/index.tsx +3 -0
- package/publish/lib/esm/TagInput/index.scss +126 -0
- package/publish/lib/esm/TagInput/index.tsx +379 -0
- package/publish/lib/esm/Textarea/index.tsx +621 -0
- package/publish/lib/esm/Toast/Item.tsx +165 -0
- package/publish/lib/esm/Toast/Toast.tsx +391 -0
- package/publish/lib/esm/Toast/ToastContext.tsx +104 -0
- package/publish/lib/esm/Toast/__toast.vanilla.js +422 -0
- package/publish/lib/esm/Toast/index.scss +197 -0
- package/publish/lib/esm/Toast/index.tsx +3 -0
- package/publish/lib/esm/Toast/types.ts +60 -0
- package/publish/lib/esm/Toast/useToast.tsx +72 -0
- package/publish/lib/esm/Tooltip/index.scss +272 -0
- package/publish/lib/esm/Tooltip/index.tsx +416 -0
- package/publish/lib/esm/Tree/TreeList.tsx +600 -0
- package/publish/lib/esm/Tree/index.scss +384 -0
- package/publish/lib/esm/Tree/index.tsx +661 -0
- package/publish/lib/esm/Tree/init-height.tsx +40 -0
- package/publish/lib/esm/Tree/utils/func.ts +15 -0
- package/publish/lib/esm/Utils/hooks/useAutosizeTextArea.tsx +131 -0
- package/publish/lib/esm/Utils/hooks/useBoundedDrag.tsx +301 -0
- package/publish/lib/esm/Utils/hooks/useClickOutside.tsx +69 -0
- package/publish/lib/esm/Utils/hooks/useComId.tsx +13 -0
- package/publish/lib/esm/Utils/hooks/useDebounce.tsx +40 -0
- package/publish/lib/esm/Utils/hooks/useDragDropPosition.tsx +417 -0
- package/publish/lib/esm/Utils/hooks/useDraggable.tsx +265 -0
- package/publish/lib/esm/Utils/hooks/useHistoryTracker.tsx +554 -0
- package/publish/lib/esm/Utils/hooks/useInterval.tsx +74 -0
- package/publish/lib/esm/Utils/hooks/useIsMobile.tsx +139 -0
- package/publish/lib/esm/Utils/hooks/useKeyPress.tsx +104 -0
- package/publish/lib/esm/Utils/hooks/useSessionStorageListener.tsx +45 -0
- package/publish/lib/esm/Utils/hooks/useStreamController.tsx +277 -0
- package/publish/lib/esm/Utils/hooks/useThrottle.tsx +39 -0
- package/publish/lib/esm/Utils/hooks/useWindowScroll.tsx +83 -0
- package/publish/lib/esm/Utils/libs/anim.ts +96 -0
- package/publish/lib/esm/Utils/libs/buffer.ts +262 -0
- package/publish/lib/esm/Utils/libs/cls.ts +64 -0
- package/publish/lib/esm/Utils/libs/convert.ts +59 -0
- package/publish/lib/esm/Utils/libs/date.ts +598 -0
- package/publish/lib/esm/Utils/libs/dom.ts +150 -0
- package/publish/lib/esm/Utils/libs/easing.ts +201 -0
- package/publish/lib/esm/Utils/libs/extract.ts +160 -0
- package/publish/lib/esm/Utils/libs/format-string.ts +116 -0
- package/publish/lib/esm/Utils/libs/formdata.ts +93 -0
- package/publish/lib/esm/Utils/libs/getElementProperty.ts +150 -0
- package/publish/lib/esm/Utils/libs/guid.ts +16 -0
- package/publish/lib/esm/Utils/libs/initDefaultOptions.ts +43 -0
- package/publish/lib/esm/Utils/libs/inputsCalculation.ts +160 -0
- package/publish/lib/esm/Utils/libs/math.ts +276 -0
- package/publish/lib/esm/Utils/libs/object.ts +68 -0
- package/publish/lib/esm/Utils/libs/os.ts +63 -0
- package/publish/lib/esm/Utils/libs/performance.ts +47 -0
- package/publish/lib/esm/Utils/libs/sanitize.ts +55 -0
- package/publish/lib/esm/Utils/libs/time.ts +139 -0
- package/publish/lib/esm/Utils/libs/tree.ts +119 -0
- package/publish/lib/esm/Utils/libs/validate.ts +434 -0
- package/publish/lib/esm/Utils/libs/viewport.ts +20 -0
- package/publish/lib/esm/Utils/plugins/bodyScrollLock.ts +286 -0
- package/publish/lib/esm/index.js +47 -0
- package/publish/package.json +1 -0
- /package/{Accordion → publish/Accordion}/index.d.ts +0 -0
- /package/{Accordion → publish/Accordion}/index.js +0 -0
- /package/{BackToTop → publish/BackToTop}/index.css +0 -0
- /package/{BackToTop → publish/BackToTop}/index.d.ts +0 -0
- /package/{BackToTop → publish/BackToTop}/index.js +0 -0
- /package/{CascadingSelect → publish/CascadingSelect}/index.css +0 -0
- /package/{CascadingSelect → publish/CascadingSelect}/index.d.ts +0 -0
- /package/{CascadingSelect → publish/CascadingSelect}/index.js +0 -0
- /package/{CascadingSelectE2E → publish/CascadingSelectE2E}/index.css +0 -0
- /package/{CascadingSelectE2E → publish/CascadingSelectE2E}/index.d.ts +0 -0
- /package/{CascadingSelectE2E → publish/CascadingSelectE2E}/index.js +0 -0
- /package/{Chatbox → publish/Chatbox}/index.css +0 -0
- /package/{Chatbox → publish/Chatbox}/index.d.ts +0 -0
- /package/{Chatbox → publish/Chatbox}/index.js +0 -0
- /package/{Checkbox → publish/Checkbox}/index.d.ts +0 -0
- /package/{Checkbox → publish/Checkbox}/index.js +0 -0
- /package/{ColorPicker → publish/ColorPicker}/index.css +0 -0
- /package/{ColorPicker → publish/ColorPicker}/index.d.ts +0 -0
- /package/{ColorPicker → publish/ColorPicker}/index.js +0 -0
- /package/{Date → publish/Date}/index.css +0 -0
- /package/{Date → publish/Date}/index.d.ts +0 -0
- /package/{Date → publish/Date}/index.js +0 -0
- /package/{DigitalClock → publish/DigitalClock}/index.d.ts +0 -0
- /package/{DigitalClock → publish/DigitalClock}/index.js +0 -0
- /package/{DragDropList → publish/DragDropList}/index.css +0 -0
- /package/{DragDropList → publish/DragDropList}/index.d.ts +0 -0
- /package/{DragDropList → publish/DragDropList}/index.js +0 -0
- /package/{DropdownMenu → publish/DropdownMenu}/index.css +0 -0
- /package/{DropdownMenu → publish/DropdownMenu}/index.d.ts +0 -0
- /package/{DropdownMenu → publish/DropdownMenu}/index.js +0 -0
- /package/{DynamicFields → publish/DynamicFields}/index.d.ts +0 -0
- /package/{EventCalendar → publish/EventCalendar}/index.css +0 -0
- /package/{EventCalendar → publish/EventCalendar}/index.d.ts +0 -0
- /package/{EventCalendar → publish/EventCalendar}/index.js +0 -0
- /package/{EventCalendarTimeline → publish/EventCalendarTimeline}/index.css +0 -0
- /package/{EventCalendarTimeline → publish/EventCalendarTimeline}/index.d.ts +0 -0
- /package/{EventCalendarTimeline → publish/EventCalendarTimeline}/index.js +0 -0
- /package/{File → publish/File}/index.d.ts +0 -0
- /package/{File → publish/File}/index.js +0 -0
- /package/{HorizontalScrollContent → publish/HorizontalScrollContent}/index.css +0 -0
- /package/{HorizontalScrollContent → publish/HorizontalScrollContent}/index.d.ts +0 -0
- /package/{HorizontalScrollContent → publish/HorizontalScrollContent}/index.js +0 -0
- /package/{Input → publish/Input}/index.d.ts +0 -0
- /package/{Input → publish/Input}/index.js +0 -0
- /package/{LiveSearch → publish/LiveSearch}/index.css +0 -0
- /package/{LiveSearch → publish/LiveSearch}/index.d.ts +0 -0
- /package/{LiveSearch → publish/LiveSearch}/index.js +0 -0
- /package/{MasonryLayout → publish/MasonryLayout}/index.d.ts +0 -0
- /package/{MasonryLayout → publish/MasonryLayout}/index.js +0 -0
- /package/{ModalDialog → publish/ModalDialog}/index.d.ts +0 -0
- /package/{ModalDialog → publish/ModalDialog}/index.js +0 -0
- /package/{ModeSwitch → publish/ModeSwitch}/index.d.ts +0 -0
- /package/{ModeSwitch → publish/ModeSwitch}/index.js +0 -0
- /package/{MultilevelDropdownMenu → publish/MultilevelDropdownMenu}/index.css +0 -0
- /package/{MultilevelDropdownMenu → publish/MultilevelDropdownMenu}/index.d.ts +0 -0
- /package/{MultilevelDropdownMenu → publish/MultilevelDropdownMenu}/index.js +0 -0
- /package/{MultipleCheckboxes → publish/MultipleCheckboxes}/index.d.ts +0 -0
- /package/{MultipleCheckboxes → publish/MultipleCheckboxes}/index.js +0 -0
- /package/{MultipleSelect → publish/MultipleSelect}/index.css +0 -0
- /package/{MultipleSelect → publish/MultipleSelect}/index.d.ts +0 -0
- /package/{MultipleSelect → publish/MultipleSelect}/index.js +0 -0
- /package/{NativeSelect → publish/NativeSelect}/index.d.ts +0 -0
- /package/{NativeSelect → publish/NativeSelect}/index.js +0 -0
- /package/{NumberInput → publish/NumberInput}/index.d.ts +0 -0
- /package/{NumberInput → publish/NumberInput}/index.js +0 -0
- /package/{Pagination → publish/Pagination}/index.d.ts +0 -0
- /package/{Pagination → publish/Pagination}/index.js +0 -0
- /package/{Radio → publish/Radio}/index.d.ts +0 -0
- /package/{Radio → publish/Radio}/index.js +0 -0
- /package/{RangeSlider → publish/RangeSlider}/index.css +0 -0
- /package/{RangeSlider → publish/RangeSlider}/index.d.ts +0 -0
- /package/{RangeSlider → publish/RangeSlider}/index.js +0 -0
- /package/{Refresher → publish/Refresher}/index.d.ts +0 -0
- /package/{Refresher → publish/Refresher}/index.js +0 -0
- /package/{RootPortal → publish/RootPortal}/index.d.ts +0 -0
- /package/{RootPortal → publish/RootPortal}/index.js +0 -0
- /package/{ScrollReveal → publish/ScrollReveal}/index.d.ts +0 -0
- /package/{ScrollReveal → publish/ScrollReveal}/index.js +0 -0
- /package/{Scrollbar → publish/Scrollbar}/index.css +0 -0
- /package/{Scrollbar → publish/Scrollbar}/index.d.ts +0 -0
- /package/{Scrollbar → publish/Scrollbar}/index.js +0 -0
- /package/{SearchBar → publish/SearchBar}/index.d.ts +0 -0
- /package/{SearchBar → publish/SearchBar}/index.js +0 -0
- /package/{Select → publish/Select}/index.css +0 -0
- /package/{Select → publish/Select}/index.d.ts +0 -0
- /package/{Select → publish/Select}/index.js +0 -0
- /package/{ShowMoreLess → publish/ShowMoreLess}/index.css +0 -0
- /package/{ShowMoreLess → publish/ShowMoreLess}/index.d.ts +0 -0
- /package/{ShowMoreLess → publish/ShowMoreLess}/index.js +0 -0
- /package/{SplitterPanel → publish/SplitterPanel}/index.css +0 -0
- /package/{SplitterPanel → publish/SplitterPanel}/index.d.ts +0 -0
- /package/{SplitterPanel → publish/SplitterPanel}/index.js +0 -0
- /package/{Stepper → publish/Stepper}/index.css +0 -0
- /package/{Stepper → publish/Stepper}/index.d.ts +0 -0
- /package/{Stepper → publish/Stepper}/index.js +0 -0
- /package/{Switch → publish/Switch}/index.d.ts +0 -0
- /package/{Switch → publish/Switch}/index.js +0 -0
- /package/{Table → publish/Table}/index.css +0 -0
- /package/{Table → publish/Table}/index.d.ts +0 -0
- /package/{Table → publish/Table}/index.js +0 -0
- /package/{Tabs → publish/Tabs}/index.d.ts +0 -0
- /package/{Tabs → publish/Tabs}/index.js +0 -0
- /package/{TagInput → publish/TagInput}/index.css +0 -0
- /package/{TagInput → publish/TagInput}/index.d.ts +0 -0
- /package/{TagInput → publish/TagInput}/index.js +0 -0
- /package/{Textarea → publish/Textarea}/index.d.ts +0 -0
- /package/{Textarea → publish/Textarea}/index.js +0 -0
- /package/{Toast → publish/Toast}/index.css +0 -0
- /package/{Toast → publish/Toast}/index.d.ts +0 -0
- /package/{Toast → publish/Toast}/index.js +0 -0
- /package/{Tooltip → publish/Tooltip}/index.css +0 -0
- /package/{Tooltip → publish/Tooltip}/index.d.ts +0 -0
- /package/{Tooltip → publish/Tooltip}/index.js +0 -0
- /package/{Tree → publish/Tree}/index.css +0 -0
- /package/{Tree → publish/Tree}/index.d.ts +0 -0
- /package/{Tree → publish/Tree}/index.js +0 -0
- /package/{Utils → publish/Utils}/anim.d.ts +0 -0
- /package/{Utils → publish/Utils}/anim.js +0 -0
- /package/{Utils → publish/Utils}/bodyScrollLock.d.ts +0 -0
- /package/{Utils → publish/Utils}/bodyScrollLock.js +0 -0
- /package/{Utils → publish/Utils}/buffer.d.ts +0 -0
- /package/{Utils → publish/Utils}/buffer.js +0 -0
- /package/{Utils → publish/Utils}/cls.d.ts +0 -0
- /package/{Utils → publish/Utils}/cls.js +0 -0
- /package/{Utils → publish/Utils}/convert.d.ts +0 -0
- /package/{Utils → publish/Utils}/convert.js +0 -0
- /package/{Utils → publish/Utils}/date.d.ts +0 -0
- /package/{Utils → publish/Utils}/date.js +0 -0
- /package/{Utils → publish/Utils}/dom.d.ts +0 -0
- /package/{Utils → publish/Utils}/dom.js +0 -0
- /package/{Utils → publish/Utils}/easing.d.ts +0 -0
- /package/{Utils → publish/Utils}/easing.js +0 -0
- /package/{Utils → publish/Utils}/extract.d.ts +0 -0
- /package/{Utils → publish/Utils}/extract.js +0 -0
- /package/{Utils → publish/Utils}/format-string.d.ts +0 -0
- /package/{Utils → publish/Utils}/format-string.js +0 -0
- /package/{Utils → publish/Utils}/formdata.d.ts +0 -0
- /package/{Utils → publish/Utils}/formdata.js +0 -0
- /package/{Utils → publish/Utils}/getElementProperty.d.ts +0 -0
- /package/{Utils → publish/Utils}/getElementProperty.js +0 -0
- /package/{Utils → publish/Utils}/guid.d.ts +0 -0
- /package/{Utils → publish/Utils}/guid.js +0 -0
- /package/{Utils → publish/Utils}/initDefaultOptions.d.ts +0 -0
- /package/{Utils → publish/Utils}/initDefaultOptions.js +0 -0
- /package/{Utils → publish/Utils}/inputsCalculation.d.ts +0 -0
- /package/{Utils → publish/Utils}/inputsCalculation.js +0 -0
- /package/{Utils → publish/Utils}/math.d.ts +0 -0
- /package/{Utils → publish/Utils}/math.js +0 -0
- /package/{Utils → publish/Utils}/object.d.ts +0 -0
- /package/{Utils → publish/Utils}/object.js +0 -0
- /package/{Utils → publish/Utils}/os.d.ts +0 -0
- /package/{Utils → publish/Utils}/os.js +0 -0
- /package/{Utils → publish/Utils}/performance.d.ts +0 -0
- /package/{Utils → publish/Utils}/performance.js +0 -0
- /package/{Utils → publish/Utils}/sanitize.d.ts +0 -0
- /package/{Utils → publish/Utils}/sanitize.js +0 -0
- /package/{Utils → publish/Utils}/time.d.ts +0 -0
- /package/{Utils → publish/Utils}/time.js +0 -0
- /package/{Utils → publish/Utils}/tree.d.ts +0 -0
- /package/{Utils → publish/Utils}/tree.js +0 -0
- /package/{Utils → publish/Utils}/useAutosizeTextArea.d.ts +0 -0
- /package/{Utils → publish/Utils}/useAutosizeTextArea.js +0 -0
- /package/{Utils → publish/Utils}/useBoundedDrag.d.ts +0 -0
- /package/{Utils → publish/Utils}/useBoundedDrag.js +0 -0
- /package/{Utils → publish/Utils}/useClickOutside.d.ts +0 -0
- /package/{Utils → publish/Utils}/useClickOutside.js +0 -0
- /package/{Utils → publish/Utils}/useComId.d.ts +0 -0
- /package/{Utils → publish/Utils}/useComId.js +0 -0
- /package/{Utils → publish/Utils}/useDebounce.d.ts +0 -0
- /package/{Utils → publish/Utils}/useDebounce.js +0 -0
- /package/{Utils → publish/Utils}/useDragDropPosition.d.ts +0 -0
- /package/{Utils → publish/Utils}/useDragDropPosition.js +0 -0
- /package/{Utils → publish/Utils}/useDraggable.d.ts +0 -0
- /package/{Utils → publish/Utils}/useDraggable.js +0 -0
- /package/{Utils → publish/Utils}/useHistoryTracker.d.ts +0 -0
- /package/{Utils → publish/Utils}/useHistoryTracker.js +0 -0
- /package/{Utils → publish/Utils}/useInterval.d.ts +0 -0
- /package/{Utils → publish/Utils}/useInterval.js +0 -0
- /package/{Utils → publish/Utils}/useIsMobile.d.ts +0 -0
- /package/{Utils → publish/Utils}/useIsMobile.js +0 -0
- /package/{Utils → publish/Utils}/useKeyPress.d.ts +0 -0
- /package/{Utils → publish/Utils}/useKeyPress.js +0 -0
- /package/{Utils → publish/Utils}/useSessionStorageListener.d.ts +0 -0
- /package/{Utils → publish/Utils}/useSessionStorageListener.js +0 -0
- /package/{Utils → publish/Utils}/useStreamController.d.ts +0 -0
- /package/{Utils → publish/Utils}/useStreamController.js +0 -0
- /package/{Utils → publish/Utils}/useThrottle.d.ts +0 -0
- /package/{Utils → publish/Utils}/useThrottle.js +0 -0
- /package/{Utils → publish/Utils}/useWindowScroll.d.ts +0 -0
- /package/{Utils → publish/Utils}/useWindowScroll.js +0 -0
- /package/{Utils → publish/Utils}/validate.d.ts +0 -0
- /package/{Utils → publish/Utils}/validate.js +0 -0
- /package/{Utils → publish/Utils}/viewport.d.ts +0 -0
- /package/{Utils → publish/Utils}/viewport.js +0 -0
- /package/{all.d.ts → publish/all.d.ts} +0 -0
- /package/{all.js → publish/all.js} +0 -0
|
@@ -0,0 +1,774 @@
|
|
|
1
|
+
/*=================== Chatbox (Loading) =================*/
|
|
2
|
+
.custom-chatbox-loader-container {
|
|
3
|
+
--custom-chatbox-loader-color: #b9caf7;
|
|
4
|
+
--custom-chatbox-loader-color2: #0d6efd;
|
|
5
|
+
width: 130px;
|
|
6
|
+
text-align: start;
|
|
7
|
+
}
|
|
8
|
+
.custom-chatbox-loader-container .custom-chatbox-loader {
|
|
9
|
+
height: 4px;
|
|
10
|
+
width: 100%;
|
|
11
|
+
--c: no-repeat linear-gradient(var(--custom-chatbox-loader-color2) 0 0);
|
|
12
|
+
background: var(--c), var(--c), var(--custom-chatbox-loader-color);
|
|
13
|
+
background-size: 60% 100%;
|
|
14
|
+
animation: loader-move 3s infinite;
|
|
15
|
+
}
|
|
16
|
+
@keyframes loader-move {
|
|
17
|
+
0% {
|
|
18
|
+
background-position: -150% 0, -150% 0;
|
|
19
|
+
}
|
|
20
|
+
66% {
|
|
21
|
+
background-position: 250% 0, -150% 0;
|
|
22
|
+
}
|
|
23
|
+
100% {
|
|
24
|
+
background-position: 250% 0, 250% 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.custom-chatbox-mini-loader {
|
|
29
|
+
--custom-chatbox-miniloader-color: rgba(0,0,0,.5);
|
|
30
|
+
width: 15px;
|
|
31
|
+
height: 15px;
|
|
32
|
+
margin: 0.5rem;
|
|
33
|
+
margin-bottom: 0;
|
|
34
|
+
border: 3px dotted var(--custom-chatbox-miniloader-color);
|
|
35
|
+
border-radius: 50%;
|
|
36
|
+
display: inline-block;
|
|
37
|
+
position: relative;
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
animation: mini-loader-spin 1s linear infinite;
|
|
40
|
+
}
|
|
41
|
+
@keyframes mini-loader-spin {
|
|
42
|
+
0% {
|
|
43
|
+
transform: rotate(0deg);
|
|
44
|
+
}
|
|
45
|
+
100% {
|
|
46
|
+
transform: rotate(360deg);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/*=================== Chatbox (Core) =================*/
|
|
51
|
+
.custom-chatbox-circle {
|
|
52
|
+
--custom-chatbox-circle-color: #5A5EB9;
|
|
53
|
+
--custom-chatbox-circle-text: #fff;
|
|
54
|
+
position: fixed;
|
|
55
|
+
bottom: 30px;
|
|
56
|
+
right: 30px;
|
|
57
|
+
background: var(--custom-chatbox-circle-color);
|
|
58
|
+
width: 50px;
|
|
59
|
+
height: 50px;
|
|
60
|
+
border-radius: 50%;
|
|
61
|
+
color: var(--custom-chatbox-circle-text);
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
64
|
+
z-index: 1030;
|
|
65
|
+
text-align: center;
|
|
66
|
+
vertical-align: middle;
|
|
67
|
+
transition: 0.1s ease-in-out;
|
|
68
|
+
}
|
|
69
|
+
.custom-chatbox-circle > span {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
margin-top: 25%;
|
|
72
|
+
}
|
|
73
|
+
.custom-chatbox-circle:hover {
|
|
74
|
+
transform: scale(1.2);
|
|
75
|
+
}
|
|
76
|
+
.custom-chatbox-circle svg {
|
|
77
|
+
width: 30px;
|
|
78
|
+
height: 30px;
|
|
79
|
+
}
|
|
80
|
+
.custom-chatbox-circle svg path {
|
|
81
|
+
stroke: #fff;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.custom-chatbox-close {
|
|
85
|
+
--custom-chatbox-close-color: #333;
|
|
86
|
+
padding: 20px;
|
|
87
|
+
position: fixed;
|
|
88
|
+
bottom: calc(100vh - 55px);
|
|
89
|
+
z-index: 1032;
|
|
90
|
+
right: -15px;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
border: none;
|
|
93
|
+
outline: none;
|
|
94
|
+
background: none;
|
|
95
|
+
transition-delay: 0.05s; /* Prevent real-time update of store displacement */
|
|
96
|
+
}
|
|
97
|
+
.custom-chatbox-close path {
|
|
98
|
+
fill: var(--custom-chatbox-close-color);
|
|
99
|
+
}
|
|
100
|
+
.custom-chatbox-close:hover {
|
|
101
|
+
transform: scale(1.2);
|
|
102
|
+
}
|
|
103
|
+
.custom-chatbox-close:hover path {
|
|
104
|
+
fill: #f00;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.custom-chatbox-container {
|
|
108
|
+
--custom-chatbox-w: 600px;
|
|
109
|
+
--custom-chatbox-h: 100vh;
|
|
110
|
+
--custom-chatbox-bg: #fff;
|
|
111
|
+
--custom-chatbox-input-bg: #fff;
|
|
112
|
+
--custom-chatbox-default-txt-color: #333;
|
|
113
|
+
--custom-chatbox-default-btn-color: #fff;
|
|
114
|
+
--custom-chatbox-msg-bg: #eaeaea;
|
|
115
|
+
--custom-chatbox-msg-bg2: #d1e6f8;
|
|
116
|
+
--custom-chatbox-msg-border: #ddd;
|
|
117
|
+
--custom-chatbox-primary-color: #5A5EB9;
|
|
118
|
+
--custom-chatbox-gray-color: #adadad;
|
|
119
|
+
--custom-chatbox-primary-text: #333;
|
|
120
|
+
--custom-chatbox-disable-color: #ccc;
|
|
121
|
+
--custom-chatbox-stop-color: #f00;
|
|
122
|
+
--custom-chatbox-time-color: #96a2c1;
|
|
123
|
+
--custom-chatbox-msg-dotted-loader-size: 15px;
|
|
124
|
+
--custom-chatbox-content-w: calc(100% - 50px);
|
|
125
|
+
--custom-chatbox-toolkit-btn-color: #f8f9fa;
|
|
126
|
+
--custom-chatbox-toolkit-btn-border-color: #e9ecef;
|
|
127
|
+
--custom-chatbox-toolkit-btn-active-color: #c2dfff;
|
|
128
|
+
--custom-chatbox-newchat-btn-color: #f8f9fa;
|
|
129
|
+
--custom-chatbox-newchat-btn-border-color: #e9ecef;
|
|
130
|
+
--custom-chatbox-toolkit-opt-color: #f8f9fa;
|
|
131
|
+
--custom-chatbox-toolkit-opt-border-color: #e9ecef;
|
|
132
|
+
--custom-chatbox-toolkit-opt-active-color: #c2dfff;
|
|
133
|
+
--custom-chatbox-toolkit-btn-radius: 20px;
|
|
134
|
+
--custom-chatbox-questions-bg: #f5f5f5;
|
|
135
|
+
--custom-chatbox-questions-hover-bg: #e9e9e9;
|
|
136
|
+
--custom-chatbox-content-html-elem-border-color: #ddd;
|
|
137
|
+
--custom-chatbox-content-html-elem-bg: rgba(0,0,0,.05);
|
|
138
|
+
--custom-balloon-border-radius: 0.35rem;
|
|
139
|
+
--custom-balloon-color: rgba(16, 16, 16, 0.95);
|
|
140
|
+
--custom-balloon-text-color: #fff;
|
|
141
|
+
--custom-balloon-font-size: 12px;
|
|
142
|
+
--custom-balloon-move: 4px;
|
|
143
|
+
--custom-toolkit-select-options-container-min-w: 135px;
|
|
144
|
+
--custom-toolkit-select-options-container-max-h: 300px;
|
|
145
|
+
min-width: var(--custom-chatbox-w);
|
|
146
|
+
max-width: var(--custom-chatbox-w);
|
|
147
|
+
margin: auto;
|
|
148
|
+
background: var(--custom-chatbox-bg);
|
|
149
|
+
border-radius: 8px;
|
|
150
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
151
|
+
padding: 20px;
|
|
152
|
+
position: fixed;
|
|
153
|
+
bottom: 0;
|
|
154
|
+
right: 0;
|
|
155
|
+
z-index: 1031;
|
|
156
|
+
height: var(--custom-chatbox-h);
|
|
157
|
+
/* disable popup */
|
|
158
|
+
/* message list */
|
|
159
|
+
/* dot loading */
|
|
160
|
+
/* control area */
|
|
161
|
+
/* loading */
|
|
162
|
+
/* new chat button */
|
|
163
|
+
/* toolkit buttons */
|
|
164
|
+
/* toolkit options */
|
|
165
|
+
/* default questions */
|
|
166
|
+
/* Tooltip */
|
|
167
|
+
}
|
|
168
|
+
.custom-chatbox-container.popup-none {
|
|
169
|
+
position: relative;
|
|
170
|
+
bottom: auto;
|
|
171
|
+
right: auto;
|
|
172
|
+
box-shadow: none;
|
|
173
|
+
}
|
|
174
|
+
.custom-chatbox-container details {
|
|
175
|
+
font-style: italic;
|
|
176
|
+
margin: 0;
|
|
177
|
+
padding: 0;
|
|
178
|
+
font-size: 0.75rem;
|
|
179
|
+
margin-bottom: 0.5rem;
|
|
180
|
+
background: var(--custom-chatbox-msg-bg);
|
|
181
|
+
padding: 0.5rem;
|
|
182
|
+
}
|
|
183
|
+
.custom-chatbox-container summary {
|
|
184
|
+
cursor: pointer;
|
|
185
|
+
font-weight: bold;
|
|
186
|
+
color: var(--custom-chatbox-primary-color);
|
|
187
|
+
outline: none;
|
|
188
|
+
}
|
|
189
|
+
.custom-chatbox-container details[open] summary {
|
|
190
|
+
color: var(--custom-chatbox-primary-text);
|
|
191
|
+
}
|
|
192
|
+
.custom-chatbox-container h1 {
|
|
193
|
+
font-size: 1.35rem;
|
|
194
|
+
}
|
|
195
|
+
.custom-chatbox-container h2 {
|
|
196
|
+
font-size: 1.25rem;
|
|
197
|
+
}
|
|
198
|
+
.custom-chatbox-container h3 {
|
|
199
|
+
font-size: 1.125rem;
|
|
200
|
+
}
|
|
201
|
+
.custom-chatbox-container h4 {
|
|
202
|
+
font-size: 1rem;
|
|
203
|
+
}
|
|
204
|
+
.custom-chatbox-container h5 {
|
|
205
|
+
font-size: 0.875rem;
|
|
206
|
+
}
|
|
207
|
+
.custom-chatbox-container h6 {
|
|
208
|
+
font-size: 0.75rem;
|
|
209
|
+
}
|
|
210
|
+
.custom-chatbox-container .messages {
|
|
211
|
+
height: calc(100% - 125px);
|
|
212
|
+
overflow-y: auto;
|
|
213
|
+
margin-bottom: 10px;
|
|
214
|
+
font-size: 13px;
|
|
215
|
+
margin-right: 0;
|
|
216
|
+
/* copy button */
|
|
217
|
+
}
|
|
218
|
+
.custom-chatbox-container .messages img, .custom-chatbox-container .messages svg, .custom-chatbox-container .messages video, .custom-chatbox-container .messages canvas, .custom-chatbox-container .messages audio, .custom-chatbox-container .messages iframe, .custom-chatbox-container .messages embed, .custom-chatbox-container .messages object {
|
|
219
|
+
display: inline;
|
|
220
|
+
}
|
|
221
|
+
.custom-chatbox-container .messages::-webkit-scrollbar {
|
|
222
|
+
width: 3px;
|
|
223
|
+
}
|
|
224
|
+
.custom-chatbox-container .messages::-webkit-scrollbar-thumb {
|
|
225
|
+
background: rgba(0, 0, 0, 0.2);
|
|
226
|
+
}
|
|
227
|
+
.custom-chatbox-container .messages > div:not(.newchat-btn) {
|
|
228
|
+
margin: 5px 0;
|
|
229
|
+
padding: 3px 5px;
|
|
230
|
+
border-radius: 0.35rem;
|
|
231
|
+
position: relative;
|
|
232
|
+
}
|
|
233
|
+
.custom-chatbox-container .messages p {
|
|
234
|
+
margin: 3px 0;
|
|
235
|
+
}
|
|
236
|
+
.custom-chatbox-container .messages .qa-timestamp {
|
|
237
|
+
font-size: 0.75rem;
|
|
238
|
+
color: var(--custom-chatbox-time-color);
|
|
239
|
+
font-style: italic;
|
|
240
|
+
font-weight: normal;
|
|
241
|
+
display: block;
|
|
242
|
+
text-align: right;
|
|
243
|
+
}
|
|
244
|
+
.custom-chatbox-container .messages .qa-name {
|
|
245
|
+
font-weight: bold;
|
|
246
|
+
color: var(--custom-chatbox-primary-color);
|
|
247
|
+
}
|
|
248
|
+
.custom-chatbox-container .messages .qa-name svg, .custom-chatbox-container .messages .qa-name img {
|
|
249
|
+
max-height: 15px;
|
|
250
|
+
}
|
|
251
|
+
.custom-chatbox-container .messages .qa-content {
|
|
252
|
+
background: var(--custom-chatbox-msg-bg);
|
|
253
|
+
padding: 0.5rem;
|
|
254
|
+
border-radius: 0.35rem;
|
|
255
|
+
margin-top: 0.3rem;
|
|
256
|
+
display: inline-block;
|
|
257
|
+
text-align: start;
|
|
258
|
+
/* Custom HTML Styles */
|
|
259
|
+
}
|
|
260
|
+
.custom-chatbox-container .messages .qa-content .table-container {
|
|
261
|
+
overflow-x: auto;
|
|
262
|
+
margin-bottom: 0.5rem;
|
|
263
|
+
}
|
|
264
|
+
.custom-chatbox-container .messages .qa-content .table-container::-webkit-scrollbar {
|
|
265
|
+
height: 10px;
|
|
266
|
+
}
|
|
267
|
+
.custom-chatbox-container .messages .qa-content .table-container::-webkit-scrollbar-thumb {
|
|
268
|
+
background: rgba(0, 0, 0, 0.2);
|
|
269
|
+
}
|
|
270
|
+
.custom-chatbox-container .messages .qa-content .table-container table {
|
|
271
|
+
width: 100%;
|
|
272
|
+
border-collapse: collapse;
|
|
273
|
+
border-radius: 0.35rem;
|
|
274
|
+
}
|
|
275
|
+
.custom-chatbox-container .messages .qa-content .table-container table thead {
|
|
276
|
+
background: var(--custom-chatbox-content-html-elem-bg);
|
|
277
|
+
}
|
|
278
|
+
.custom-chatbox-container .messages .qa-content .table-container table thead tr {
|
|
279
|
+
white-space: nowrap;
|
|
280
|
+
}
|
|
281
|
+
.custom-chatbox-container .messages .qa-content .table-container table th, .custom-chatbox-container .messages .qa-content .table-container table td {
|
|
282
|
+
padding: 0.25rem;
|
|
283
|
+
text-align: left;
|
|
284
|
+
border: 1px solid var(--custom-chatbox-content-html-elem-border-color);
|
|
285
|
+
}
|
|
286
|
+
.custom-chatbox-container .messages .request {
|
|
287
|
+
text-align: end;
|
|
288
|
+
}
|
|
289
|
+
.custom-chatbox-container .messages .request .qa-content {
|
|
290
|
+
max-width: var(--custom-chatbox-content-w);
|
|
291
|
+
background: var(--custom-chatbox-msg-bg2);
|
|
292
|
+
}
|
|
293
|
+
.custom-chatbox-container .messages .reply {
|
|
294
|
+
text-align: start;
|
|
295
|
+
}
|
|
296
|
+
.custom-chatbox-container .messages .reply .qa-name {
|
|
297
|
+
display: flex;
|
|
298
|
+
}
|
|
299
|
+
.custom-chatbox-container .messages .reply .qa-content {
|
|
300
|
+
width: var(--custom-chatbox-content-w);
|
|
301
|
+
background: transparent;
|
|
302
|
+
padding-top: 0;
|
|
303
|
+
}
|
|
304
|
+
.custom-chatbox-container .messages .copy-btn {
|
|
305
|
+
position: absolute;
|
|
306
|
+
left: calc(var(--custom-chatbox-content-w) - 0.7rem);
|
|
307
|
+
bottom: 0.5rem;
|
|
308
|
+
z-index: 1;
|
|
309
|
+
background: transparent;
|
|
310
|
+
border: none;
|
|
311
|
+
padding: 4px;
|
|
312
|
+
cursor: pointer;
|
|
313
|
+
opacity: 0.6;
|
|
314
|
+
transition: opacity 0.2s;
|
|
315
|
+
}
|
|
316
|
+
.custom-chatbox-container .messages .copy-btn:hover {
|
|
317
|
+
opacity: 1;
|
|
318
|
+
}
|
|
319
|
+
.custom-chatbox-container .msg-dotted-loader-container {
|
|
320
|
+
font-weight: normal;
|
|
321
|
+
transform: translateY(-5px);
|
|
322
|
+
display: flex;
|
|
323
|
+
align-items: center;
|
|
324
|
+
margin-top: 0.4rem;
|
|
325
|
+
margin-left: 0.3rem;
|
|
326
|
+
color: var(--custom-chatbox-gray-color);
|
|
327
|
+
}
|
|
328
|
+
.custom-chatbox-container .msg-dotted-loader-text {
|
|
329
|
+
transform: translateY(-10%);
|
|
330
|
+
}
|
|
331
|
+
.custom-chatbox-container .msg-dotted-loader {
|
|
332
|
+
position: relative;
|
|
333
|
+
text-align: center;
|
|
334
|
+
display: inline-block;
|
|
335
|
+
width: calc(var(--custom-chatbox-msg-dotted-loader-size) * 1.5);
|
|
336
|
+
height: calc(var(--custom-chatbox-msg-dotted-loader-size) * 1.5);
|
|
337
|
+
margin-right: 0.1rem;
|
|
338
|
+
}
|
|
339
|
+
.custom-chatbox-container .msg-dotted-loader::after,
|
|
340
|
+
.custom-chatbox-container .msg-dotted-loader::before {
|
|
341
|
+
content: "";
|
|
342
|
+
position: absolute;
|
|
343
|
+
top: 0;
|
|
344
|
+
left: 0;
|
|
345
|
+
width: var(--custom-chatbox-msg-dotted-loader-size);
|
|
346
|
+
height: var(--custom-chatbox-msg-dotted-loader-size);
|
|
347
|
+
border-radius: 50%;
|
|
348
|
+
border: 2px var(--custom-chatbox-gray-color);
|
|
349
|
+
border-style: dotted solid dotted solid;
|
|
350
|
+
animation: turn-left 1.5s linear infinite;
|
|
351
|
+
}
|
|
352
|
+
.custom-chatbox-container .msg-dotted-loader::before {
|
|
353
|
+
left: calc(var(--custom-chatbox-msg-dotted-loader-size) / 2 / 2 * -1);
|
|
354
|
+
top: calc(var(--custom-chatbox-msg-dotted-loader-size) / 2 / 2 * -1);
|
|
355
|
+
width: calc(var(--custom-chatbox-msg-dotted-loader-size) + var(--custom-chatbox-msg-dotted-loader-size) / 2);
|
|
356
|
+
height: calc(var(--custom-chatbox-msg-dotted-loader-size) + var(--custom-chatbox-msg-dotted-loader-size) / 2);
|
|
357
|
+
border-style: dotted dotted solid solid;
|
|
358
|
+
animation: msg-dotted-loader-anim--turn-right 1.5s linear infinite;
|
|
359
|
+
}
|
|
360
|
+
@keyframes msg-dotted-loader-anim--turn-right {
|
|
361
|
+
0% {
|
|
362
|
+
transform: rotate(0deg);
|
|
363
|
+
}
|
|
364
|
+
100% {
|
|
365
|
+
transform: rotate(360deg);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
@keyframes turn-left {
|
|
369
|
+
0% {
|
|
370
|
+
transform: rotate(0deg);
|
|
371
|
+
}
|
|
372
|
+
100% {
|
|
373
|
+
transform: rotate(-360deg);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
.custom-chatbox-container .msgcontrol {
|
|
377
|
+
display: flex;
|
|
378
|
+
position: absolute;
|
|
379
|
+
bottom: 10px;
|
|
380
|
+
z-index: 1;
|
|
381
|
+
width: calc(100% - 40px);
|
|
382
|
+
border: 1px solid var(--custom-chatbox-gray-color);
|
|
383
|
+
border-radius: 0.35rem;
|
|
384
|
+
transition: all 0.3s ease;
|
|
385
|
+
background: var(--custom-chatbox-input-bg);
|
|
386
|
+
}
|
|
387
|
+
.custom-chatbox-container .msgcontrol img, .custom-chatbox-container .msgcontrol svg, .custom-chatbox-container .msgcontrol video, .custom-chatbox-container .msgcontrol canvas, .custom-chatbox-container .msgcontrol audio, .custom-chatbox-container .msgcontrol iframe, .custom-chatbox-container .msgcontrol embed, .custom-chatbox-container .msgcontrol object {
|
|
388
|
+
display: inline;
|
|
389
|
+
}
|
|
390
|
+
.custom-chatbox-container .msgcontrol.focus {
|
|
391
|
+
border-color: var(--custom-chatbox-primary-color);
|
|
392
|
+
}
|
|
393
|
+
.custom-chatbox-container .msgcontrol .messageInput {
|
|
394
|
+
width: 100%;
|
|
395
|
+
border-radius: 4px;
|
|
396
|
+
font-size: 0.875rem;
|
|
397
|
+
border: none;
|
|
398
|
+
outline: none;
|
|
399
|
+
margin-bottom: 2.2rem;
|
|
400
|
+
}
|
|
401
|
+
.custom-chatbox-container .msgcontrol .messageInput:focus, .custom-chatbox-container .msgcontrol .messageInput:focus-visible {
|
|
402
|
+
outline: none;
|
|
403
|
+
box-shadow: none;
|
|
404
|
+
}
|
|
405
|
+
.custom-chatbox-container .msgcontrol .messageInput .messageInput-control {
|
|
406
|
+
background: var(--custom-chatbox-input-bg);
|
|
407
|
+
padding: 0.5rem;
|
|
408
|
+
border-radius: 0.35rem;
|
|
409
|
+
width: 100%;
|
|
410
|
+
color: var(--custom-chatbox-default-txt-color);
|
|
411
|
+
resize: none;
|
|
412
|
+
max-height: 50vh;
|
|
413
|
+
border: none;
|
|
414
|
+
}
|
|
415
|
+
.custom-chatbox-container .msgcontrol .messageInput .messageInput-control::-webkit-scrollbar {
|
|
416
|
+
width: 3px;
|
|
417
|
+
}
|
|
418
|
+
.custom-chatbox-container .msgcontrol .messageInput .messageInput-control::-webkit-scrollbar-thumb {
|
|
419
|
+
background: rgba(0, 0, 0, 0.2);
|
|
420
|
+
}
|
|
421
|
+
.custom-chatbox-container .msgcontrol .messageInput .messageInput-control:focus, .custom-chatbox-container .msgcontrol .messageInput .messageInput-control:focus-visible {
|
|
422
|
+
border-color: transparent;
|
|
423
|
+
outline: none;
|
|
424
|
+
box-shadow: none;
|
|
425
|
+
}
|
|
426
|
+
.custom-chatbox-container .msgcontrol button {
|
|
427
|
+
padding: 6px;
|
|
428
|
+
border: none;
|
|
429
|
+
position: absolute;
|
|
430
|
+
background-color: var(--custom-chatbox-primary-color);
|
|
431
|
+
color: var(--custom-chatbox-default-btn-color);
|
|
432
|
+
border: 1px solid var(--custom-chatbox-primary-color);
|
|
433
|
+
border-radius: 50%;
|
|
434
|
+
cursor: pointer;
|
|
435
|
+
margin-left: 0.5rem;
|
|
436
|
+
min-width: 30px;
|
|
437
|
+
font-size: 0.875rem;
|
|
438
|
+
z-index: 2;
|
|
439
|
+
right: 0.4rem;
|
|
440
|
+
bottom: 0.3rem;
|
|
441
|
+
width: 40px;
|
|
442
|
+
height: 40px;
|
|
443
|
+
padding: 0;
|
|
444
|
+
}
|
|
445
|
+
.custom-chatbox-container .msgcontrol button path {
|
|
446
|
+
fill: var(--custom-chatbox-default-btn-color);
|
|
447
|
+
}
|
|
448
|
+
.custom-chatbox-container .msgcontrol button:hover {
|
|
449
|
+
transform: scale(1.1);
|
|
450
|
+
}
|
|
451
|
+
.custom-chatbox-container .msgcontrol button:disabled {
|
|
452
|
+
opacity: 0.7;
|
|
453
|
+
}
|
|
454
|
+
.custom-chatbox-container .msgcontrol button.is-suspended {
|
|
455
|
+
background-color: var(--custom-chatbox-stop-color);
|
|
456
|
+
border-color: var(--custom-chatbox-stop-color);
|
|
457
|
+
}
|
|
458
|
+
.custom-chatbox-container .loading {
|
|
459
|
+
margin-top: 0;
|
|
460
|
+
height: 5px;
|
|
461
|
+
position: absolute;
|
|
462
|
+
bottom: 5px;
|
|
463
|
+
width: calc(100% - 40px);
|
|
464
|
+
z-index: 1;
|
|
465
|
+
}
|
|
466
|
+
.custom-chatbox-container .newchat-btn {
|
|
467
|
+
text-align: center;
|
|
468
|
+
position: absolute;
|
|
469
|
+
bottom: 115px;
|
|
470
|
+
left: 50%;
|
|
471
|
+
transform: translateX(-50%);
|
|
472
|
+
z-index: 1;
|
|
473
|
+
}
|
|
474
|
+
.custom-chatbox-container .newchat-btn > button {
|
|
475
|
+
padding: 3px 6px;
|
|
476
|
+
background-color: var(--custom-chatbox-newchat-btn-color);
|
|
477
|
+
border: 1px solid var(--custom-chatbox-newchat-btn-border-color);
|
|
478
|
+
border-radius: 20px;
|
|
479
|
+
cursor: pointer;
|
|
480
|
+
transition: all 0.3s ease;
|
|
481
|
+
font-size: 0.8125rem;
|
|
482
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
483
|
+
}
|
|
484
|
+
.custom-chatbox-container .newchat-btn > button img, .custom-chatbox-container .newchat-btn > button svg, .custom-chatbox-container .newchat-btn > button video, .custom-chatbox-container .newchat-btn > button canvas, .custom-chatbox-container .newchat-btn > button audio, .custom-chatbox-container .newchat-btn > button iframe, .custom-chatbox-container .newchat-btn > button embed, .custom-chatbox-container .newchat-btn > button object {
|
|
485
|
+
display: inline;
|
|
486
|
+
}
|
|
487
|
+
.custom-chatbox-container .newchat-btn > button:hover {
|
|
488
|
+
transform: translateY(-2px);
|
|
489
|
+
}
|
|
490
|
+
.custom-chatbox-container .toolkit-btns {
|
|
491
|
+
display: flex;
|
|
492
|
+
position: absolute;
|
|
493
|
+
bottom: 15px;
|
|
494
|
+
margin-left: 5px;
|
|
495
|
+
z-index: 1;
|
|
496
|
+
flex-wrap: wrap;
|
|
497
|
+
gap: 8px;
|
|
498
|
+
justify-content: center;
|
|
499
|
+
}
|
|
500
|
+
.custom-chatbox-container .toolkit-btns button {
|
|
501
|
+
padding: 3px 6px;
|
|
502
|
+
background-color: var(--custom-chatbox-toolkit-btn-color);
|
|
503
|
+
border: 1px solid var(--custom-chatbox-toolkit-btn-border-color);
|
|
504
|
+
border-radius: var(--custom-chatbox-toolkit-btn-radius);
|
|
505
|
+
cursor: pointer;
|
|
506
|
+
transition: all 0.3s ease;
|
|
507
|
+
font-size: 0.75rem;
|
|
508
|
+
}
|
|
509
|
+
.custom-chatbox-container .toolkit-btns button img, .custom-chatbox-container .toolkit-btns button svg, .custom-chatbox-container .toolkit-btns button video, .custom-chatbox-container .toolkit-btns button canvas, .custom-chatbox-container .toolkit-btns button audio, .custom-chatbox-container .toolkit-btns button iframe, .custom-chatbox-container .toolkit-btns button embed, .custom-chatbox-container .toolkit-btns button object {
|
|
510
|
+
display: inline;
|
|
511
|
+
}
|
|
512
|
+
.custom-chatbox-container .toolkit-btns button:hover {
|
|
513
|
+
background-color: var(--custom-chatbox-toolkit-btn-border-color);
|
|
514
|
+
transform: translateY(-2px);
|
|
515
|
+
}
|
|
516
|
+
.custom-chatbox-container .toolkit-btns button.opt-active, .custom-chatbox-container .toolkit-btns button.active {
|
|
517
|
+
background-color: var(--custom-chatbox-toolkit-btn-active-color);
|
|
518
|
+
}
|
|
519
|
+
@keyframes dropupAnimation {
|
|
520
|
+
from {
|
|
521
|
+
opacity: 0;
|
|
522
|
+
transform: translateY(10px);
|
|
523
|
+
}
|
|
524
|
+
to {
|
|
525
|
+
opacity: 1;
|
|
526
|
+
transform: translateY(0);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
.custom-chatbox-container .toolkit-select-wrapper {
|
|
530
|
+
position: relative;
|
|
531
|
+
display: inline-block;
|
|
532
|
+
}
|
|
533
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-btn {
|
|
534
|
+
display: flex;
|
|
535
|
+
align-items: center;
|
|
536
|
+
justify-content: space-between;
|
|
537
|
+
border: 1px solid var(--custom-chatbox-gray-color);
|
|
538
|
+
border-radius: var(--custom-chatbox-toolkit-btn-radius);
|
|
539
|
+
cursor: pointer;
|
|
540
|
+
}
|
|
541
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-arrow {
|
|
542
|
+
margin-left: 8px;
|
|
543
|
+
font-size: 10px;
|
|
544
|
+
transition: transform 0.2s ease;
|
|
545
|
+
}
|
|
546
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-arrow.active {
|
|
547
|
+
transform: rotate(180deg);
|
|
548
|
+
}
|
|
549
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-options-container {
|
|
550
|
+
z-index: 1000;
|
|
551
|
+
width: 100%;
|
|
552
|
+
min-width: var(--custom-toolkit-select-options-container-min-w);
|
|
553
|
+
transform: translateY(-100%);
|
|
554
|
+
}
|
|
555
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-options {
|
|
556
|
+
background-color: var(--custom-chatbox-toolkit-opt-color);
|
|
557
|
+
border: 1px solid var(--custom-chatbox-toolkit-opt-border-color);
|
|
558
|
+
border-radius: 4px;
|
|
559
|
+
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
|
560
|
+
margin-bottom: 10px;
|
|
561
|
+
max-height: var(--custom-toolkit-select-options-container-max-h);
|
|
562
|
+
min-width: var(--custom-toolkit-select-options-container-min-w);
|
|
563
|
+
overflow-y: auto;
|
|
564
|
+
animation: dropupAnimation 0.2s ease;
|
|
565
|
+
position: absolute;
|
|
566
|
+
bottom: 1rem;
|
|
567
|
+
left: 0;
|
|
568
|
+
right: 0;
|
|
569
|
+
display: none;
|
|
570
|
+
z-index: 1000;
|
|
571
|
+
}
|
|
572
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-options.active {
|
|
573
|
+
display: block;
|
|
574
|
+
}
|
|
575
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-options::-webkit-scrollbar {
|
|
576
|
+
width: 3px;
|
|
577
|
+
}
|
|
578
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-options::-webkit-scrollbar-thumb {
|
|
579
|
+
background: rgba(0, 0, 0, 0.2);
|
|
580
|
+
}
|
|
581
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-option {
|
|
582
|
+
padding: 3px 6px;
|
|
583
|
+
cursor: pointer;
|
|
584
|
+
transition: background-color 0.2s ease;
|
|
585
|
+
font-size: 0.75rem;
|
|
586
|
+
}
|
|
587
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-option.cancel {
|
|
588
|
+
color: var(--custom-chatbox-gray-color);
|
|
589
|
+
}
|
|
590
|
+
.custom-chatbox-container .toolkit-select-wrapper .toolkit-select-option.selected:not(.cancel), .custom-chatbox-container .toolkit-select-wrapper .toolkit-select-option:hover {
|
|
591
|
+
background-color: var(--custom-chatbox-toolkit-opt-active-color);
|
|
592
|
+
}
|
|
593
|
+
.custom-chatbox-container .default-questions-title {
|
|
594
|
+
margin-bottom: 0.5rem;
|
|
595
|
+
}
|
|
596
|
+
.custom-chatbox-container .default-questions {
|
|
597
|
+
padding: 15px;
|
|
598
|
+
width: 100%;
|
|
599
|
+
}
|
|
600
|
+
.custom-chatbox-container .default-question-item {
|
|
601
|
+
padding: 0.3rem 1rem;
|
|
602
|
+
margin-bottom: 0.2rem;
|
|
603
|
+
background-color: var(--custom-chatbox-questions-bg);
|
|
604
|
+
border-radius: 0.35rem;
|
|
605
|
+
cursor: pointer;
|
|
606
|
+
transition: all 0.3s ease;
|
|
607
|
+
}
|
|
608
|
+
.custom-chatbox-container .default-question-item:hover {
|
|
609
|
+
background-color: var(--custom-chatbox-questions-hover-bg);
|
|
610
|
+
}
|
|
611
|
+
.custom-chatbox-container .default-question-item:last-child {
|
|
612
|
+
margin-bottom: 0;
|
|
613
|
+
}
|
|
614
|
+
.custom-chatbox-container button[aria-label][data-balloon-pos] {
|
|
615
|
+
overflow: visible;
|
|
616
|
+
}
|
|
617
|
+
.custom-chatbox-container [aria-label][data-balloon-pos] {
|
|
618
|
+
cursor: pointer;
|
|
619
|
+
}
|
|
620
|
+
.custom-chatbox-container [aria-label][data-balloon-pos]:after {
|
|
621
|
+
opacity: 0;
|
|
622
|
+
pointer-events: none;
|
|
623
|
+
transition: all 0.18s ease-out 0.18s;
|
|
624
|
+
text-indent: 0;
|
|
625
|
+
font-weight: normal;
|
|
626
|
+
font-style: normal;
|
|
627
|
+
text-shadow: none;
|
|
628
|
+
font-size: var(--custom-balloon-font-size);
|
|
629
|
+
background: var(--custom-balloon-color);
|
|
630
|
+
border-radius: 2px;
|
|
631
|
+
color: var(--custom-balloon-text-color);
|
|
632
|
+
border-radius: var(--custom-balloon-border-radius);
|
|
633
|
+
content: attr(aria-label);
|
|
634
|
+
padding: 0.5em 1em;
|
|
635
|
+
position: absolute;
|
|
636
|
+
white-space: nowrap;
|
|
637
|
+
z-index: 10;
|
|
638
|
+
}
|
|
639
|
+
.custom-chatbox-container [aria-label][data-balloon-pos]:before {
|
|
640
|
+
width: 0;
|
|
641
|
+
height: 0;
|
|
642
|
+
border: 5px solid transparent;
|
|
643
|
+
border-top-color: var(--custom-balloon-color);
|
|
644
|
+
opacity: 0;
|
|
645
|
+
pointer-events: none;
|
|
646
|
+
transition: all 0.18s ease-out 0.18s;
|
|
647
|
+
content: "";
|
|
648
|
+
position: absolute;
|
|
649
|
+
z-index: 10;
|
|
650
|
+
}
|
|
651
|
+
.custom-chatbox-container [aria-label][data-balloon-pos]:hover:before, .custom-chatbox-container [aria-label][data-balloon-pos]:hover:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-visible]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-visible]:after, .custom-chatbox-container [aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:before, .custom-chatbox-container [aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:after {
|
|
652
|
+
opacity: 1;
|
|
653
|
+
pointer-events: none;
|
|
654
|
+
}
|
|
655
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-break]:after {
|
|
656
|
+
white-space: pre;
|
|
657
|
+
}
|
|
658
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-break][data-balloon-length]:after {
|
|
659
|
+
white-space: pre-line;
|
|
660
|
+
word-break: break-word;
|
|
661
|
+
}
|
|
662
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-blunt]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-blunt]:after {
|
|
663
|
+
transition: none;
|
|
664
|
+
}
|
|
665
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=up]:hover:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=down]:hover:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:after {
|
|
666
|
+
transform: translate(-50%, 0);
|
|
667
|
+
}
|
|
668
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=up]:hover:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=down]:hover:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:before {
|
|
669
|
+
transform: translate(-50%, 0);
|
|
670
|
+
}
|
|
671
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-left]:after {
|
|
672
|
+
left: 0;
|
|
673
|
+
}
|
|
674
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-left]:before {
|
|
675
|
+
left: 5px;
|
|
676
|
+
}
|
|
677
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-right]:after {
|
|
678
|
+
right: 0;
|
|
679
|
+
}
|
|
680
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-right]:before {
|
|
681
|
+
right: 5px;
|
|
682
|
+
}
|
|
683
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:after {
|
|
684
|
+
transform: translate(0, 0);
|
|
685
|
+
}
|
|
686
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:before {
|
|
687
|
+
transform: translate(0, 0);
|
|
688
|
+
}
|
|
689
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos^=up]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos^=up]:after {
|
|
690
|
+
bottom: 100%;
|
|
691
|
+
transform-origin: top;
|
|
692
|
+
transform: translate(0, var(--custom-balloon-move));
|
|
693
|
+
}
|
|
694
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos^=up]:after {
|
|
695
|
+
margin-bottom: 10px;
|
|
696
|
+
}
|
|
697
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=up]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=up]:after {
|
|
698
|
+
left: 50%;
|
|
699
|
+
transform: translate(-50%, var(--custom-balloon-move));
|
|
700
|
+
}
|
|
701
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos^=down]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos^=down]:after {
|
|
702
|
+
top: 100%;
|
|
703
|
+
transform: translate(0, calc(var(--custom-balloon-move) * -1));
|
|
704
|
+
}
|
|
705
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos^=down]:after {
|
|
706
|
+
margin-top: 10px;
|
|
707
|
+
}
|
|
708
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos^=down]:before {
|
|
709
|
+
width: 0;
|
|
710
|
+
height: 0;
|
|
711
|
+
border: 5px solid transparent;
|
|
712
|
+
border-bottom-color: var(--custom-balloon-color);
|
|
713
|
+
}
|
|
714
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=down]:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=down]:before {
|
|
715
|
+
left: 50%;
|
|
716
|
+
transform: translate(-50%, calc(var(--custom-balloon-move) * -1));
|
|
717
|
+
}
|
|
718
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left]:hover:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right]:hover:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:after {
|
|
719
|
+
transform: translate(0, -50%);
|
|
720
|
+
}
|
|
721
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left]:hover:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right]:hover:before, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:before {
|
|
722
|
+
transform: translate(0, -50%);
|
|
723
|
+
}
|
|
724
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left]:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left]:before {
|
|
725
|
+
right: 100%;
|
|
726
|
+
top: 50%;
|
|
727
|
+
transform: translate(var(--custom-balloon-move), -50%);
|
|
728
|
+
}
|
|
729
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left]:after {
|
|
730
|
+
margin-right: 10px;
|
|
731
|
+
}
|
|
732
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=left]:before {
|
|
733
|
+
width: 0;
|
|
734
|
+
height: 0;
|
|
735
|
+
border: 5px solid transparent;
|
|
736
|
+
border-left-color: var(--custom-balloon-color);
|
|
737
|
+
}
|
|
738
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right]:after, .custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right]:before {
|
|
739
|
+
left: 100%;
|
|
740
|
+
top: 50%;
|
|
741
|
+
transform: translate(calc(var(--custom-balloon-move) * -1), -50%);
|
|
742
|
+
}
|
|
743
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right]:after {
|
|
744
|
+
margin-left: 10px;
|
|
745
|
+
}
|
|
746
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-pos=right]:before {
|
|
747
|
+
width: 0;
|
|
748
|
+
height: 0;
|
|
749
|
+
border: 5px solid transparent;
|
|
750
|
+
border-right-color: var(--custom-balloon-color);
|
|
751
|
+
}
|
|
752
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-length]:after {
|
|
753
|
+
white-space: normal;
|
|
754
|
+
}
|
|
755
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-length=small]:after {
|
|
756
|
+
width: 80px;
|
|
757
|
+
}
|
|
758
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-length=medium]:after {
|
|
759
|
+
width: 150px;
|
|
760
|
+
}
|
|
761
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-length=large]:after {
|
|
762
|
+
width: 260px;
|
|
763
|
+
}
|
|
764
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-length=xlarge]:after {
|
|
765
|
+
width: 380px;
|
|
766
|
+
}
|
|
767
|
+
@media screen and (max-width: 768px) {
|
|
768
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-length=xlarge]:after {
|
|
769
|
+
width: 90vw;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
.custom-chatbox-container [aria-label][data-balloon-pos][data-balloon-length=fit]:after {
|
|
773
|
+
width: 100%;
|
|
774
|
+
}
|