@daisforge/ui 1.12.0 → 1.12.2
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/chunks/AnalyticalWidget-CBi-2MtJ.mjs +528 -0
- package/chunks/AnalyticalWidget-fBDe37Ur.cjs +43 -0
- package/chunks/ApprovalCenter-ClCoA3cr.mjs +176 -0
- package/chunks/ApprovalCenter-oACSjXxE.cjs +1 -0
- package/chunks/BlockTitle-CylSY2DM.cjs +1 -0
- package/chunks/BlockTitle-DTaIqiFF.mjs +85 -0
- package/chunks/Container-CV4sT-bB.mjs +117 -0
- package/chunks/Container-D8Bcg69e.cjs +17 -0
- package/chunks/EmptyState-BD6Ic-OX.cjs +1 -0
- package/chunks/EmptyState-Bct6Wrxv.mjs +459 -0
- package/chunks/FiltersActions-C3yWFtQT.mjs +429 -0
- package/chunks/FiltersActions-D1aQXh5d.cjs +1 -0
- package/chunks/FormDatePickers-BefllAQ_.cjs +1 -0
- package/chunks/FormDatePickers-_soI8Uaa.mjs +503 -0
- package/chunks/FormSegmentGroup-C8kROjlQ.mjs +168 -0
- package/chunks/FormSegmentGroup-DIaBZRWv.cjs +1 -0
- package/chunks/FormTextArea-BBYV56iU.mjs +107 -0
- package/chunks/FormTextArea-C7KG9PXC.cjs +1 -0
- package/chunks/GridDND-BP_H26We.cjs +1 -0
- package/chunks/GridDND-rVSi0xX1.mjs +852 -0
- package/chunks/LeftPanel-CgexykUg.cjs +1 -0
- package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
- package/chunks/ListOfFilters-DgInAZFi.cjs +1 -0
- package/chunks/ListOfFilters-IEPKSKxx.mjs +243 -0
- package/chunks/MassActions-BCgI08G9.cjs +1 -0
- package/chunks/MassActions-D4nb1_gx.mjs +966 -0
- package/chunks/PageTitle-B0tuR3fU.mjs +123 -0
- package/chunks/PageTitle-BC0PnHgQ.cjs +1 -0
- package/chunks/SplitView-C8de8YKV.mjs +236 -0
- package/chunks/SplitView-OUGciQ51.cjs +12 -0
- package/chunks/Stories--_pE4YtR.mjs +668 -0
- package/chunks/Stories-Dvh6rMeV.cjs +1 -0
- package/chunks/Table-Bj2se1hR.mjs +7757 -0
- package/chunks/Table-CnWVNNoW.cjs +31 -0
- package/chunks/TableCanvas-Y53zQ7M0.mjs +11857 -0
- package/chunks/TableCanvas-eYhmqTbp.cjs +30 -0
- package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-CuBMIM6Q.mjs} +1417 -1554
- package/chunks/TableGlide-CvMz7x7a.cjs +1 -0
- package/chunks/styles-Dd4uEa27.mjs +128 -0
- package/chunks/styles-kPI9R7DO.cjs +2 -0
- package/chunks/{utils-BNelzuI-.mjs → utils-C5SQhoON.mjs} +126 -151
- package/chunks/utils-DKi1rqLX.cjs +25 -0
- package/chunks/{vendor-D8Dozc4m.cjs → vendor-BauZZ2hr.mjs} +7 -33
- package/chunks/{vendor-BG4P-329.mjs → vendor-C47eH0xy.cjs} +2 -634
- package/components/AiAgentPopover/index.cjs +2 -2
- package/components/AiAgentPopover/index.mjs +248 -373
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.mjs +1 -1
- package/components/ApprovalCenter/components/index.cjs +1 -1
- package/components/ApprovalCenter/components/index.mjs +1 -1
- package/components/ApprovalCenter/index.cjs +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- package/components/Autocomplete/index.cjs +1 -1
- package/components/Autocomplete/index.mjs +22 -35
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +33 -83
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +41 -53
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Box/index.mjs +17 -7
- package/components/Collapse/index.cjs +1 -1
- package/components/Collapse/index.mjs +41 -62
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/DatePicker/index.cjs +1 -1
- package/components/DatePicker/index.mjs +21 -59
- package/components/DrawerDF/index.cjs +1 -1
- package/components/DrawerDF/index.mjs +144 -391
- package/components/EmptyState/components/index.cjs +1 -1
- package/components/EmptyState/components/index.mjs +1 -1
- package/components/EmptyState/index.cjs +1 -1
- package/components/EmptyState/index.mjs +1 -1
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.mjs +49 -112
- package/components/IconSvgSprite/index.cjs +1 -1
- package/components/IconSvgSprite/index.mjs +13 -49
- package/components/LeftPanel/components/index.cjs +1 -1
- package/components/LeftPanel/components/index.mjs +1 -1
- package/components/LeftPanel/hooks/index.cjs +1 -1
- package/components/LeftPanel/hooks/index.mjs +1 -1
- package/components/LeftPanel/index.cjs +1 -1
- package/components/LeftPanel/index.mjs +1 -1
- package/components/LeftPanel/utils/index.cjs +1 -1
- package/components/LeftPanel/utils/index.mjs +1 -1
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/MassActionsStatic/index.cjs +2 -2
- package/components/MassActionsStatic/index.mjs +13 -34
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +169 -381
- package/components/ModalDFConfirmation/index.cjs +1 -1
- package/components/ModalDFConfirmation/index.mjs +66 -114
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +16 -22
- package/components/NumberFormat/index.cjs +1 -1
- package/components/NumberFormat/index.mjs +24 -37
- package/components/NumberFormatAmount/index.cjs +1 -1
- package/components/NumberFormatAmount/index.mjs +12 -27
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.mjs +1 -1
- package/components/PageTitle/utils/index.cjs +1 -1
- package/components/PageTitle/utils/index.mjs +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.mjs +125 -261
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.mjs +141 -308
- package/components/SplitView/index.cjs +1 -1
- package/components/SplitView/index.mjs +1 -1
- package/components/SplitView/utils/index.cjs +1 -1
- package/components/SplitView/utils/index.mjs +1 -1
- package/components/Stories/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +1 -1
- package/components/Table/feature-columns-grouping/index.cjs +1 -1
- package/components/Table/feature-columns-grouping/index.mjs +1 -1
- package/components/Table/feature-context-menu/index.cjs +1 -1
- package/components/Table/feature-context-menu/index.mjs +1 -1
- package/components/Table/feature-edit/index.cjs +1 -1
- package/components/Table/feature-edit/index.mjs +1 -1
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.mjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-right-sidebar/index.cjs +1 -1
- package/components/Table/feature-right-sidebar/index.mjs +1 -1
- package/components/Table/feature-row-detail/index.cjs +1 -1
- package/components/Table/feature-row-detail/index.mjs +1 -1
- package/components/Table/feature-row-instruments/index.cjs +1 -1
- package/components/Table/feature-row-instruments/index.mjs +1 -1
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +1 -1
- package/components/Table/feature-rows-grouping/index.cjs +1 -1
- package/components/Table/feature-rows-grouping/index.mjs +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-table-settings/index.cjs +1 -1
- package/components/Table/feature-table-settings/index.mjs +1 -1
- package/components/Table/feature-tree/index.cjs +1 -1
- package/components/Table/feature-tree/index.mjs +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.mjs +1 -1
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +1 -1
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +1 -1
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/index.cjs +1 -1
- package/components/Table/widgets/control-block/index.mjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +3 -3
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +1 -1
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +1 -1
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-table-settings/TableSettingsWithTabs.d.ts +25 -2
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.d.ts +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +3 -2
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +2 -2
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +1 -1
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/table-config.type.d.ts +4 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableContract/index.cjs +2 -2
- package/components/TableContract/index.mjs +540 -798
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +136 -305
- package/components/TextArea/index.cjs +1 -1
- package/components/TextArea/index.mjs +26 -40
- package/components/TextField/index.cjs +1 -1
- package/components/TextField/index.mjs +38 -82
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/index.cjs +15 -15
- package/components/TourWidget/index.mjs +176 -371
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +151 -363
- package/formComponents/FormAutocomplete/index.cjs +1 -1
- package/formComponents/FormAutocomplete/index.mjs +63 -68
- package/formComponents/FormCheckbox/index.cjs +1 -1
- package/formComponents/FormCheckbox/index.mjs +27 -55
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +61 -75
- package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
- package/formComponents/FormDatePickers/index.cjs +1 -1
- package/formComponents/FormDatePickers/index.mjs +1 -1
- package/formComponents/FormMask/index.cjs +1 -1
- package/formComponents/FormMask/index.mjs +61 -66
- package/formComponents/FormNumberFormat/index.cjs +1 -1
- package/formComponents/FormNumberFormat/index.mjs +56 -68
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +71 -144
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSelect/index.cjs +1 -1
- package/formComponents/FormSelect/index.mjs +62 -76
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +25 -53
- package/formComponents/FormTextArea/index.cjs +1 -1
- package/formComponents/FormTextArea/index.mjs +1 -1
- package/formComponents/FormTextArea/ui/index.cjs +1 -1
- package/formComponents/FormTextArea/ui/index.mjs +1 -1
- package/formComponents/FormTextField/index.cjs +1 -1
- package/formComponents/FormTextField/index.mjs +70 -101
- package/index.cjs +1 -1
- package/index.mjs +21 -21
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.mjs +1 -1
- package/layouts/Container/lib/utils/index.cjs +1 -1
- package/layouts/Container/lib/utils/index.mjs +1 -1
- package/layouts/ErrorPage/index.cjs +1 -1
- package/layouts/ErrorPage/index.mjs +81 -146
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/layouts/Layout/index.cjs +5 -5
- package/layouts/Layout/index.mjs +78 -115
- package/layouts/PageLayout/index.cjs +2 -2
- package/layouts/PageLayout/index.mjs +15 -32
- package/mixins/index.cjs +1 -1
- package/mixins/index.mjs +1 -1
- package/package.json +1 -1
- package/shared/ui/Search/index.cjs +1 -1
- package/shared/ui/Search/index.mjs +30 -52
- package/shared/utils/inputs/index.cjs +1 -1
- package/shared/utils/inputs/index.mjs +33 -48
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/themes/index.cjs +1 -1
- package/themes/index.mjs +1 -1
- package/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.mjs +1 -1
- package/utils/clickStream/index.cjs +1 -1
- package/utils/clickStream/index.mjs +1 -1
- package/utils/eventBus/index.cjs +1 -1
- package/utils/eventBus/index.mjs +1 -1
- package/utils/hooks/index.cjs +1 -1
- package/utils/hooks/index.mjs +1 -1
- package/utils/index.cjs +1 -1
- package/utils/index.mjs +1 -1
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-Ca_EuSTO.mjs +0 -868
- package/chunks/AnalyticalWidget-xgvWcsXx.cjs +0 -43
- package/chunks/ApprovalCenter-4aJlJfei.mjs +0 -531
- package/chunks/ApprovalCenter-Ij5NMkY-.cjs +0 -1
- package/chunks/BlockTitle-CgXVHok6.mjs +0 -180
- package/chunks/BlockTitle-SaP9H2PI.cjs +0 -1
- package/chunks/Container-ChuCs63G.cjs +0 -17
- package/chunks/Container-D8RdjkGo.mjs +0 -180
- package/chunks/EmptyState-BxUh2dhY.cjs +0 -1
- package/chunks/EmptyState-C0aHgxrn.mjs +0 -615
- package/chunks/FiltersActions-BekNxF-h.cjs +0 -1
- package/chunks/FiltersActions-CSucE-Ql.mjs +0 -637
- package/chunks/FormDatePickers-BCyW24Pr.cjs +0 -1
- package/chunks/FormDatePickers-DfdGdbwP.mjs +0 -538
- package/chunks/FormSegmentGroup-BKuHtPEn.cjs +0 -1
- package/chunks/FormSegmentGroup-DqFMVBr0.mjs +0 -268
- package/chunks/FormTextArea-CCrYx4pL.mjs +0 -159
- package/chunks/FormTextArea-sly1mY7h.cjs +0 -1
- package/chunks/GridDND-Bycwiynh.mjs +0 -1086
- package/chunks/GridDND-MsZt1fXJ.cjs +0 -1
- package/chunks/LeftPanel-C72uosX_.mjs +0 -303
- package/chunks/LeftPanel-Di-IqpZ_.cjs +0 -1
- package/chunks/ListOfFilters-B3bM1n4w.cjs +0 -1
- package/chunks/ListOfFilters-CPJGgMMc.mjs +0 -462
- package/chunks/MassActions-BbAXi3z9.cjs +0 -1
- package/chunks/MassActions-CZm8vqj8.mjs +0 -1352
- package/chunks/PageTitle-DEsijnDg.cjs +0 -1
- package/chunks/PageTitle-TusD1S2c.mjs +0 -282
- package/chunks/SplitView-BHdftJ9A.cjs +0 -12
- package/chunks/SplitView-Cd-xkxCe.mjs +0 -339
- package/chunks/Stories-CR_EUNO7.mjs +0 -1018
- package/chunks/Stories-CxsYx2OE.cjs +0 -1
- package/chunks/Table--05ONCr1.cjs +0 -31
- package/chunks/Table-l-P3NNUN.mjs +0 -11944
- package/chunks/TableCanvas-D-sndY82.cjs +0 -30
- package/chunks/TableCanvas-D4Bck7wv.mjs +0 -16900
- package/chunks/TableGlide-CbvaAM_H.cjs +0 -1
- package/chunks/styles-D8FDGdVz.mjs +0 -240
- package/chunks/styles-OR0WE1xm.cjs +0 -2
- package/chunks/utils-C93a2mD7.cjs +0 -25
|
@@ -1,87 +1,71 @@
|
|
|
1
|
-
import { Popover as Et, IconButton as
|
|
2
|
-
import {
|
|
3
|
-
import { IconMagic as
|
|
4
|
-
import { surfaceSolidCard as ct, shadowDownSoftM as Dt, textTertiary as
|
|
5
|
-
import { t as
|
|
6
|
-
import { useState as
|
|
7
|
-
import { s as
|
|
1
|
+
import { Popover as Et, IconButton as At } from "@salutejs/sdds-finai";
|
|
2
|
+
import { jsx as F } from "react/jsx-runtime";
|
|
3
|
+
import { IconMagic as It, IconResizeCorneredFill as Tt } from "@salutejs/plasma-icons";
|
|
4
|
+
import { surfaceSolidCard as ct, shadowDownSoftM as Dt, textTertiary as Pt } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
5
|
+
import { t as Lt, c as at } from "../../chunks/utils-C5SQhoON.mjs";
|
|
6
|
+
import { useState as _, useRef as X, useCallback as T, useEffect as R, useMemo as K, useLayoutEffect as et } from "react";
|
|
7
|
+
import { s as ht, borderRadius as St } from "../../constants/index.mjs";
|
|
8
8
|
import lt from "styled-components";
|
|
9
|
-
const
|
|
9
|
+
const k = {
|
|
10
10
|
popoverContentContainer: "ai-agent-popover-content-container",
|
|
11
11
|
popoverIconTrigger: "ai-agent-popover-icon-trigger"
|
|
12
|
-
},
|
|
12
|
+
}, mt = {
|
|
13
13
|
root: "popover-root",
|
|
14
14
|
arrow: "popover-arrow"
|
|
15
|
-
},
|
|
15
|
+
}, q = {
|
|
16
16
|
purple: "#b559f3",
|
|
17
17
|
blue: "#7496fd"
|
|
18
|
-
},
|
|
18
|
+
}, yt = 26, pt = 5, Ht = 56, Nt = {
|
|
19
19
|
x: window.innerWidth - 100,
|
|
20
20
|
y: window.innerHeight - 100
|
|
21
|
-
},
|
|
22
|
-
spaceX4: () =>
|
|
23
|
-
spaceX3: () =>
|
|
24
|
-
brS: () =>
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
case "top-left":
|
|
38
|
-
return `
|
|
21
|
+
}, ut = 10, ft = "ai-agent-popover-position", Wt = `${mt.arrow}:before`, j = {
|
|
22
|
+
spaceX4: () => ht.x4,
|
|
23
|
+
spaceX3: () => ht.x3,
|
|
24
|
+
brS: () => St.s
|
|
25
|
+
}, Xt = lt(Et).withConfig({
|
|
26
|
+
displayName: "AiAgentPopoverstyled__AiAgentPopoverStyled"
|
|
27
|
+
})(["--ai-agent-popover-content-container-pd:", " ", " ", " ", ";--ai-agent-popover-border-radius:", ";", " &:is(.", ",.", "){border-radius:var(--ai-agent-popover-border-radius);}& .", "{padding:var(--ai-agent-popover-content-container-pd);background:", ";height:100%;}& .", "{background:", ";}"], j.spaceX4, j.spaceX3, j.spaceX3, j.spaceX3, j.brS, ({
|
|
28
|
+
$draggable: t,
|
|
29
|
+
$position: n
|
|
30
|
+
}) => {
|
|
31
|
+
if (t)
|
|
32
|
+
return "";
|
|
33
|
+
if (typeof n == "string")
|
|
34
|
+
switch (n) {
|
|
35
|
+
case "top-left":
|
|
36
|
+
return `
|
|
39
37
|
position: fixed;
|
|
40
38
|
left: 56px;
|
|
41
39
|
top: 56px;
|
|
42
40
|
`;
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
case "top-right":
|
|
42
|
+
return `
|
|
45
43
|
position: fixed;
|
|
46
44
|
right: 56px;
|
|
47
45
|
top: 56px;
|
|
48
46
|
`;
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
case "bottom-left":
|
|
48
|
+
return `
|
|
51
49
|
position: fixed;
|
|
52
50
|
left: 56px;
|
|
53
51
|
bottom: 56px;
|
|
54
52
|
`;
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
case "bottom-right":
|
|
54
|
+
return `
|
|
57
55
|
position: fixed;
|
|
58
56
|
right: 56px;
|
|
59
57
|
bottom: 56px;
|
|
60
58
|
`;
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
default:
|
|
60
|
+
return `
|
|
63
61
|
position: fixed;
|
|
64
62
|
right: 56px;
|
|
65
63
|
bottom: 56px;`;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
R.popoverContentContainer,
|
|
72
|
-
() => ct,
|
|
73
|
-
Ht,
|
|
74
|
-
() => ct
|
|
75
|
-
), Xt = lt(Nt).withConfig({ displayName: "AiAgentPopoverstyled__MagicButtonStyled" })(
|
|
76
|
-
["&&{width:72px !important;height:72px !important;border-radius:100% !important;box-shadow:", " !important;background:linear-gradient( to right,", " 0%,", " 100% ) !important;transition:transform 0.3s ease !important;&.", " svg{transition:transform 0.3s ease-in-out !important;transform-origin:center center !important;will-change:transform !important;}&:hover{transform:scale(1.02) !important;&.", " svg{transform:scaleX(-1) !important;}background:linear-gradient( to right,", " 0%,", " 100% ) !important;}}"],
|
|
77
|
-
() => Dt,
|
|
78
|
-
J.purple,
|
|
79
|
-
J.blue,
|
|
80
|
-
R.popoverIconTrigger,
|
|
81
|
-
R.popoverIconTrigger,
|
|
82
|
-
J.purple,
|
|
83
|
-
J.blue
|
|
84
|
-
), gt = (t) => t ? typeof t == "string" && ["top-right", "top-left", "bottom-right", "bottom-left"].includes(t) : !1, Ft = (t) => gt(t) ? t.split("-")[0] : t, _t = ({
|
|
64
|
+
}
|
|
65
|
+
return "";
|
|
66
|
+
}, mt.root, k.popoverContentContainer, k.popoverContentContainer, () => ct, Wt, () => ct), Ft = lt(At).withConfig({
|
|
67
|
+
displayName: "AiAgentPopoverstyled__MagicButtonStyled"
|
|
68
|
+
})(["&&{width:72px !important;height:72px !important;border-radius:100% !important;box-shadow:", " !important;background:linear-gradient( to right,", " 0%,", " 100% ) !important;transition:transform 0.3s ease !important;&.", " svg{transition:transform 0.3s ease-in-out !important;transform-origin:center center !important;will-change:transform !important;}&:hover{transform:scale(1.02) !important;&.", " svg{transform:scaleX(-1) !important;}background:linear-gradient( to right,", " 0%,", " 100% ) !important;}}"], () => Dt, q.purple, q.blue, k.popoverIconTrigger, k.popoverIconTrigger, q.purple, q.blue), gt = (t) => t ? typeof t == "string" && ["top-right", "top-left", "bottom-right", "bottom-left"].includes(t) : !1, _t = (t) => gt(t) ? t.split("-")[0] : t, Rt = ({
|
|
85
69
|
position: t,
|
|
86
70
|
size: n = {
|
|
87
71
|
width: 0,
|
|
@@ -94,13 +78,13 @@ const R = {
|
|
|
94
78
|
innerWidth: i,
|
|
95
79
|
innerHeight: w
|
|
96
80
|
} = window, {
|
|
97
|
-
left:
|
|
98
|
-
right:
|
|
81
|
+
left: y = 0,
|
|
82
|
+
right: M = 0,
|
|
99
83
|
top: e = 0,
|
|
100
|
-
bottom:
|
|
101
|
-
} = b,
|
|
84
|
+
bottom: u = 0
|
|
85
|
+
} = b, f = i - y - M, A = w - e - u, c = f / 3, I = A / 2, C = t.x - y, P = t.y - e;
|
|
102
86
|
if (n.width === 0 || n.height === 0)
|
|
103
|
-
return
|
|
87
|
+
return P < I ? C < c ? 1 : C < 2 * c ? 2 : 3 : C < c ? 4 : C < 2 * c ? 5 : 6;
|
|
104
88
|
const g = {
|
|
105
89
|
1: 0,
|
|
106
90
|
2: 0,
|
|
@@ -110,17 +94,17 @@ const R = {
|
|
|
110
94
|
6: 0
|
|
111
95
|
};
|
|
112
96
|
for (let l = 1; l <= 6; l += 1) {
|
|
113
|
-
const r = (l - 1) % 3 * c, d = l <= 3 ? 0 :
|
|
114
|
-
g[l] =
|
|
97
|
+
const r = (l - 1) % 3 * c, d = l <= 3 ? 0 : I, E = r + c, L = d + I, N = C + n.width, W = P + n.height, z = Math.max(0, Math.min(N, E) - Math.max(C, r)), Y = Math.max(0, Math.min(W, L) - Math.max(P, d)), O = z * Y;
|
|
98
|
+
g[l] = O;
|
|
115
99
|
}
|
|
116
100
|
p && (console.group("getCurrentSector (advanced)"), console.log("Sector coverage:", g), console.groupEnd());
|
|
117
|
-
let a = 1,
|
|
101
|
+
let a = 1, H = g[1];
|
|
118
102
|
for (let l = 1; l <= 6; l += 1) {
|
|
119
103
|
const r = l;
|
|
120
|
-
g[r] >
|
|
104
|
+
g[r] > H && (H = g[r], a = r);
|
|
121
105
|
}
|
|
122
106
|
return a;
|
|
123
|
-
},
|
|
107
|
+
}, kt = (t) => {
|
|
124
108
|
switch (t) {
|
|
125
109
|
case 1:
|
|
126
110
|
return "bottom-right";
|
|
@@ -143,41 +127,41 @@ const R = {
|
|
|
143
127
|
}) => {
|
|
144
128
|
const p = window.innerWidth, i = window.innerHeight, {
|
|
145
129
|
top: w = 0,
|
|
146
|
-
right:
|
|
147
|
-
bottom:
|
|
130
|
+
right: y = 0,
|
|
131
|
+
bottom: M = 0,
|
|
148
132
|
left: e = 0
|
|
149
|
-
} = n || {},
|
|
150
|
-
width:
|
|
151
|
-
height:
|
|
152
|
-
} = b, c = (
|
|
153
|
-
top:
|
|
154
|
-
right: p -
|
|
133
|
+
} = n || {}, u = Ht, {
|
|
134
|
+
width: f,
|
|
135
|
+
height: A
|
|
136
|
+
} = b, c = (H, l) => H > l ? H : l, I = c(e, u), C = c(y, u), P = c(w, u), g = c(M, u), a = {
|
|
137
|
+
top: P,
|
|
138
|
+
right: p - C,
|
|
155
139
|
bottom: i - g,
|
|
156
|
-
left:
|
|
140
|
+
left: I
|
|
157
141
|
};
|
|
158
142
|
switch (t) {
|
|
159
143
|
case "top-left":
|
|
160
144
|
return {
|
|
161
|
-
x: Math.min(a.left, p -
|
|
162
|
-
y: Math.min(a.top, i -
|
|
145
|
+
x: Math.min(a.left, p - f - C),
|
|
146
|
+
y: Math.min(a.top, i - A - g)
|
|
163
147
|
};
|
|
164
148
|
case "top-right":
|
|
165
149
|
return {
|
|
166
|
-
x: Math.max(a.right -
|
|
167
|
-
y: Math.min(a.top, i -
|
|
150
|
+
x: Math.max(a.right - f, I),
|
|
151
|
+
y: Math.min(a.top, i - A - g)
|
|
168
152
|
};
|
|
169
153
|
case "bottom-left":
|
|
170
154
|
return {
|
|
171
|
-
x: Math.min(a.left, p -
|
|
172
|
-
y: Math.max(a.bottom -
|
|
155
|
+
x: Math.min(a.left, p - f - C),
|
|
156
|
+
y: Math.max(a.bottom - A, P)
|
|
173
157
|
};
|
|
174
158
|
case "bottom-right":
|
|
175
159
|
return {
|
|
176
|
-
x: Math.max(a.right -
|
|
177
|
-
y: Math.max(a.bottom -
|
|
160
|
+
x: Math.max(a.right - f, I),
|
|
161
|
+
y: Math.max(a.bottom - A, P)
|
|
178
162
|
};
|
|
179
163
|
default:
|
|
180
|
-
return
|
|
164
|
+
return Nt;
|
|
181
165
|
}
|
|
182
166
|
}, Yt = (t) => {
|
|
183
167
|
if (!t || typeof t != "string")
|
|
@@ -198,7 +182,7 @@ const R = {
|
|
|
198
182
|
default:
|
|
199
183
|
return "bottom-right";
|
|
200
184
|
}
|
|
201
|
-
}, nt = (t, n) => t[0] === n[0] && t[1] === n[1],
|
|
185
|
+
}, nt = (t, n) => t[0] === n[0] && t[1] === n[1], Ot = (t) => typeof t == "string" && ["top", "bottom", "top-left", "top-right", "bottom-left", "bottom-right"].includes(t), $t = (t, n = {
|
|
202
186
|
width: 0,
|
|
203
187
|
height: 0
|
|
204
188
|
}, b = {
|
|
@@ -215,90 +199,90 @@ const R = {
|
|
|
215
199
|
x: Math.max(b.left, Math.min(t.x, p - n.width - b.right)),
|
|
216
200
|
y: Math.max(b.top, Math.min(t.y, i - n.height - b.bottom))
|
|
217
201
|
};
|
|
218
|
-
},
|
|
219
|
-
const [w,
|
|
202
|
+
}, Gt = (t, n, b, p, i) => {
|
|
203
|
+
const [w, y] = t, [M, e] = _(!1), u = X({
|
|
220
204
|
x: 0,
|
|
221
205
|
y: 0
|
|
222
|
-
}),
|
|
206
|
+
}), f = X({
|
|
223
207
|
x: 0,
|
|
224
208
|
y: 0
|
|
225
|
-
}),
|
|
209
|
+
}), A = X(!1), c = X(w), I = T((r, d) => {
|
|
226
210
|
if (!(n != null && n.current))
|
|
227
211
|
return;
|
|
228
|
-
|
|
212
|
+
A.current = !1, f.current = {
|
|
229
213
|
x: r,
|
|
230
214
|
y: d
|
|
231
215
|
}, c.current = w;
|
|
232
216
|
const E = n.current.getBoundingClientRect();
|
|
233
|
-
|
|
217
|
+
u.current = {
|
|
234
218
|
x: r - E.left,
|
|
235
219
|
y: d - E.top
|
|
236
220
|
}, e(!0);
|
|
237
|
-
}, [n, w]),
|
|
238
|
-
r.preventDefault(), r.stopPropagation(),
|
|
239
|
-
}, [
|
|
221
|
+
}, [n, w]), C = T((r) => {
|
|
222
|
+
r.preventDefault(), r.stopPropagation(), I(r.clientX, r.clientY);
|
|
223
|
+
}, [I]), P = T((r) => {
|
|
240
224
|
const d = r.touches[0];
|
|
241
|
-
d &&
|
|
242
|
-
}, [
|
|
243
|
-
if (!
|
|
225
|
+
d && I(d.clientX, d.clientY);
|
|
226
|
+
}, [I]), g = T((r, d) => {
|
|
227
|
+
if (!M || !(n != null && n.current))
|
|
244
228
|
return;
|
|
245
|
-
const E = Math.abs(r -
|
|
246
|
-
if (!
|
|
229
|
+
const E = Math.abs(r - f.current.x), L = Math.abs(d - f.current.y);
|
|
230
|
+
if (!A.current && E < pt && L < pt)
|
|
247
231
|
return;
|
|
248
|
-
|
|
232
|
+
A.current = !0;
|
|
249
233
|
const {
|
|
250
|
-
offsetWidth:
|
|
251
|
-
offsetHeight:
|
|
234
|
+
offsetWidth: N,
|
|
235
|
+
offsetHeight: W
|
|
252
236
|
} = n.current, {
|
|
253
237
|
innerWidth: z,
|
|
254
238
|
innerHeight: Y
|
|
255
239
|
} = window, {
|
|
256
|
-
top:
|
|
240
|
+
top: O = 0,
|
|
257
241
|
right: D = 0,
|
|
258
|
-
bottom:
|
|
259
|
-
left:
|
|
260
|
-
} = b || {},
|
|
261
|
-
x:
|
|
262
|
-
y:
|
|
242
|
+
bottom: $ = 0,
|
|
243
|
+
left: G = 0
|
|
244
|
+
} = b || {}, V = Math.max(G, Math.min(r - u.current.x, z - N - D)), U = Math.max(O, Math.min(d - u.current.y, Y - W - $)), J = {
|
|
245
|
+
x: V,
|
|
246
|
+
y: U
|
|
263
247
|
};
|
|
264
|
-
|
|
265
|
-
}, [
|
|
248
|
+
y(J), p == null || p(J), i == null || i();
|
|
249
|
+
}, [M, n, b, y, p, i]), a = T((r) => {
|
|
266
250
|
g(r.clientX, r.clientY);
|
|
267
|
-
}, [g]),
|
|
251
|
+
}, [g]), H = T((r) => {
|
|
268
252
|
const d = r.touches[0];
|
|
269
253
|
d && g(d.clientX, d.clientY);
|
|
270
|
-
}, [g]), l =
|
|
254
|
+
}, [g]), l = T(() => {
|
|
271
255
|
e(!1);
|
|
272
256
|
}, []);
|
|
273
|
-
return
|
|
257
|
+
return R(() => (M && (document.addEventListener("mousemove", a), document.addEventListener("mouseup", l)), () => {
|
|
274
258
|
document.removeEventListener("mousemove", a), document.removeEventListener("mouseup", l);
|
|
275
|
-
}), [
|
|
259
|
+
}), [M, a, H, l]), {
|
|
276
260
|
position: w,
|
|
277
|
-
handleMouseDown:
|
|
278
|
-
isDragging:
|
|
279
|
-
wasDragged:
|
|
261
|
+
handleMouseDown: C,
|
|
262
|
+
isDragging: M,
|
|
263
|
+
wasDragged: A.current,
|
|
280
264
|
touchHandlers: {
|
|
281
|
-
onTouchStart:
|
|
282
|
-
onTouchMove:
|
|
265
|
+
onTouchStart: P,
|
|
266
|
+
onTouchMove: H,
|
|
283
267
|
onTouchEnd: l
|
|
284
268
|
}
|
|
285
269
|
};
|
|
286
|
-
},
|
|
270
|
+
}, Ut = (t, n, b, p = {
|
|
287
271
|
top: 0,
|
|
288
272
|
bottom: 0,
|
|
289
273
|
left: 0,
|
|
290
274
|
right: 0
|
|
291
275
|
}) => {
|
|
292
|
-
const i =
|
|
276
|
+
const i = T(() => {
|
|
293
277
|
if (!t)
|
|
294
278
|
return null;
|
|
295
|
-
const
|
|
279
|
+
const M = typeof t == "string" ? t : ft;
|
|
296
280
|
try {
|
|
297
|
-
const e = localStorage.getItem(
|
|
281
|
+
const e = localStorage.getItem(M);
|
|
298
282
|
if (!e)
|
|
299
283
|
return null;
|
|
300
|
-
const
|
|
301
|
-
return
|
|
284
|
+
const u = JSON.parse(e);
|
|
285
|
+
return $t(u, b, {
|
|
302
286
|
top: p.top ?? 0,
|
|
303
287
|
right: p.right ?? 0,
|
|
304
288
|
bottom: p.bottom ?? 0,
|
|
@@ -307,18 +291,18 @@ const R = {
|
|
|
307
291
|
} catch (e) {
|
|
308
292
|
return console.error("Failed to load position:", e), null;
|
|
309
293
|
}
|
|
310
|
-
}, [p, b, t]), w =
|
|
294
|
+
}, [p, b, t]), w = T((M) => {
|
|
311
295
|
if (!t)
|
|
312
296
|
return;
|
|
313
|
-
const e = typeof t == "string" ? t :
|
|
297
|
+
const e = typeof t == "string" ? t : ft;
|
|
314
298
|
try {
|
|
315
|
-
localStorage.setItem(e, JSON.stringify(
|
|
316
|
-
} catch (
|
|
317
|
-
console.error("Failed to save position:",
|
|
299
|
+
localStorage.setItem(e, JSON.stringify(M));
|
|
300
|
+
} catch (u) {
|
|
301
|
+
console.error("Failed to save position:", u);
|
|
318
302
|
}
|
|
319
303
|
}, [t]);
|
|
320
304
|
return {
|
|
321
|
-
savedPosition:
|
|
305
|
+
savedPosition: K(() => i(), [i]) || n,
|
|
322
306
|
// Fallback на initialPosition
|
|
323
307
|
savePosition: w
|
|
324
308
|
};
|
|
@@ -329,142 +313,125 @@ const R = {
|
|
|
329
313
|
target: p,
|
|
330
314
|
offset: i = [0, 14],
|
|
331
315
|
placement: w = "auto",
|
|
332
|
-
trigger:
|
|
333
|
-
contentContainerClassNames:
|
|
316
|
+
trigger: y = "click",
|
|
317
|
+
contentContainerClassNames: M,
|
|
334
318
|
dragBoundary: e,
|
|
335
|
-
draggable:
|
|
336
|
-
positionState:
|
|
337
|
-
ignoreToggleOnDrag:
|
|
319
|
+
draggable: u = !1,
|
|
320
|
+
positionState: f,
|
|
321
|
+
ignoreToggleOnDrag: A = !0,
|
|
338
322
|
defaultPosition: c = "bottom-right",
|
|
339
|
-
onPositionChange:
|
|
340
|
-
calculateOffset:
|
|
341
|
-
calculatePlacement:
|
|
323
|
+
onPositionChange: I,
|
|
324
|
+
calculateOffset: C = !0,
|
|
325
|
+
calculatePlacement: P = !0,
|
|
342
326
|
useStorage: g = !1,
|
|
343
327
|
resizable: a,
|
|
344
|
-
onResizeStart:
|
|
328
|
+
onResizeStart: H,
|
|
345
329
|
onResizeEnd: l,
|
|
346
330
|
targetDataAttributes: r,
|
|
347
331
|
...d
|
|
348
332
|
}) => {
|
|
349
|
-
const E =
|
|
350
|
-
|
|
351
|
-
|
|
333
|
+
const E = X(null), L = X(null), N = X(w), [W, z] = _({
|
|
334
|
+
width: 0,
|
|
335
|
+
height: 0
|
|
336
|
+
}), [Y, O] = _(!1), D = t !== void 0 ? t : Y, [$, G] = _(w);
|
|
337
|
+
R(() => {
|
|
338
|
+
N.current = w, G(w);
|
|
352
339
|
}, [w]);
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
),
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
]
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
(o)
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
}
|
|
392
|
-
return v >= ht && f <= window.innerHeight - ht;
|
|
393
|
-
},
|
|
394
|
-
[T]
|
|
395
|
-
), it = C(() => {
|
|
396
|
-
var f;
|
|
397
|
-
if (!E.current || !k || !D)
|
|
340
|
+
const V = K(() => typeof c == "string" ? zt(c, e, W) : c, [c, e, W]), {
|
|
341
|
+
savedPosition: U,
|
|
342
|
+
savePosition: J
|
|
343
|
+
} = Ut(g, V, W, e), [dt, Q] = _(U), [S, Z] = f || [dt, Q];
|
|
344
|
+
R(() => {
|
|
345
|
+
!f && g && J(S);
|
|
346
|
+
}, [S, f, g, J]), R(() => {
|
|
347
|
+
f && Q(f[0]);
|
|
348
|
+
}, [f]), R(() => {
|
|
349
|
+
f || Q(U);
|
|
350
|
+
}, [U, f]);
|
|
351
|
+
const [vt, B] = _(i), rt = T((o) => {
|
|
352
|
+
if (!E.current)
|
|
353
|
+
return !1;
|
|
354
|
+
const s = E.current.getBoundingClientRect(), {
|
|
355
|
+
height: h
|
|
356
|
+
} = s, {
|
|
357
|
+
y: x
|
|
358
|
+
} = S;
|
|
359
|
+
let v, m;
|
|
360
|
+
switch (o) {
|
|
361
|
+
case "top":
|
|
362
|
+
case "top-left":
|
|
363
|
+
case "top-right":
|
|
364
|
+
v = x - h, m = x;
|
|
365
|
+
break;
|
|
366
|
+
case "bottom":
|
|
367
|
+
case "bottom-left":
|
|
368
|
+
case "bottom-right":
|
|
369
|
+
v = x, m = x + h;
|
|
370
|
+
break;
|
|
371
|
+
default:
|
|
372
|
+
return !0;
|
|
373
|
+
}
|
|
374
|
+
return v >= ut && m <= window.innerHeight - ut;
|
|
375
|
+
}, [S]), it = T(() => {
|
|
376
|
+
var m;
|
|
377
|
+
if (!E.current || !P || !D)
|
|
398
378
|
return;
|
|
399
|
-
const o = (
|
|
400
|
-
position:
|
|
401
|
-
size: {
|
|
379
|
+
const o = (m = L.current) == null ? void 0 : m.getBoundingClientRect(), s = Rt({
|
|
380
|
+
position: S,
|
|
381
|
+
size: {
|
|
382
|
+
width: (o == null ? void 0 : o.width) ?? 0,
|
|
383
|
+
height: (o == null ? void 0 : o.height) ?? 0
|
|
384
|
+
},
|
|
402
385
|
boundary: e
|
|
403
|
-
}),
|
|
404
|
-
if (
|
|
405
|
-
|
|
386
|
+
}), h = kt(s), v = s === 2 || s === 5 ? s === 2 ? "bottom" : "top" : h;
|
|
387
|
+
if (Ot(v) && !rt(v)) {
|
|
388
|
+
N.current = "auto", G("auto");
|
|
406
389
|
return;
|
|
407
390
|
}
|
|
408
|
-
|
|
409
|
-
}, [
|
|
410
|
-
if (!E.current || !D || !
|
|
391
|
+
N.current !== v && v && (N.current = v, G(v));
|
|
392
|
+
}, [P, D, S, e, rt]), tt = T(() => {
|
|
393
|
+
if (!E.current || !D || !C)
|
|
411
394
|
return;
|
|
412
|
-
const o = E.current.offsetWidth, s =
|
|
395
|
+
const o = E.current.offsetWidth, s = N.current;
|
|
413
396
|
if (s === "top" || s === "bottom") {
|
|
414
|
-
B(
|
|
415
|
-
(u) => nt(u, i) ? u : i
|
|
416
|
-
);
|
|
397
|
+
B((h) => nt(h, i) ? h : i);
|
|
417
398
|
return;
|
|
418
399
|
}
|
|
419
400
|
if (gt(s)) {
|
|
420
|
-
const x = [
|
|
421
|
-
(s.includes("left") ? 1 : -1) * (-o / 2 + Lt),
|
|
422
|
-
i[1]
|
|
423
|
-
];
|
|
401
|
+
const x = [(s.includes("left") ? 1 : -1) * (-o / 2 + yt), i[1]];
|
|
424
402
|
B((v) => {
|
|
425
|
-
const
|
|
426
|
-
return nt(v,
|
|
403
|
+
const m = [x[0], x[1]];
|
|
404
|
+
return nt(v, m) ? v : m;
|
|
427
405
|
});
|
|
428
406
|
} else
|
|
429
|
-
B(
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
_(() => {
|
|
434
|
-
const o = It(() => {
|
|
407
|
+
B((h) => nt(h, i) ? h : i);
|
|
408
|
+
}, [C, D, i]);
|
|
409
|
+
R(() => {
|
|
410
|
+
const o = Lt(() => {
|
|
435
411
|
Z((s) => ({
|
|
436
|
-
x: Math.max(
|
|
437
|
-
|
|
438
|
-
Math.min(
|
|
439
|
-
s.x,
|
|
440
|
-
window.innerWidth - H.width - ((e == null ? void 0 : e.right) || 0)
|
|
441
|
-
)
|
|
442
|
-
),
|
|
443
|
-
y: Math.max(
|
|
444
|
-
(e == null ? void 0 : e.top) || 0,
|
|
445
|
-
Math.min(
|
|
446
|
-
s.y,
|
|
447
|
-
window.innerHeight - H.height - ((e == null ? void 0 : e.bottom) || 0)
|
|
448
|
-
)
|
|
449
|
-
)
|
|
412
|
+
x: Math.max((e == null ? void 0 : e.left) || 0, Math.min(s.x, window.innerWidth - W.width - ((e == null ? void 0 : e.right) || 0))),
|
|
413
|
+
y: Math.max((e == null ? void 0 : e.top) || 0, Math.min(s.y, window.innerHeight - W.height - ((e == null ? void 0 : e.bottom) || 0)))
|
|
450
414
|
}));
|
|
451
415
|
}, 200);
|
|
452
416
|
return window.addEventListener("resize", o), () => {
|
|
453
417
|
o.cancel(), window.removeEventListener("resize", o);
|
|
454
418
|
};
|
|
455
|
-
}, [
|
|
419
|
+
}, [W, e, Z]), et(() => {
|
|
456
420
|
D && (it(), tt());
|
|
457
|
-
}, [D,
|
|
458
|
-
if (!
|
|
421
|
+
}, [D, S]), et(() => {
|
|
422
|
+
if (!L.current)
|
|
459
423
|
return;
|
|
460
424
|
const o = () => {
|
|
461
425
|
var x;
|
|
462
|
-
const
|
|
463
|
-
|
|
426
|
+
const h = (x = L.current) == null ? void 0 : x.getBoundingClientRect();
|
|
427
|
+
h && z({
|
|
428
|
+
width: h.width,
|
|
429
|
+
height: h.height
|
|
430
|
+
});
|
|
464
431
|
};
|
|
465
432
|
o();
|
|
466
433
|
const s = at(o);
|
|
467
|
-
return
|
|
434
|
+
return L.current && s.observe(L.current), () => s.disconnect();
|
|
468
435
|
}, []), et(() => {
|
|
469
436
|
if (!E.current || !D)
|
|
470
437
|
return;
|
|
@@ -473,149 +440,57 @@ const R = {
|
|
|
473
440
|
});
|
|
474
441
|
return o.observe(E.current), tt(), () => o.disconnect();
|
|
475
442
|
}, [D]);
|
|
476
|
-
const {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
),
|
|
483
|
-
(
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
()
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
o.includes("left") && (u.transform = "scaleX(-1)"), o.includes("top") && (u.transform = u.transform ? "scale(-1, -1)" : "scaleY(-1)");
|
|
516
|
-
const x = /* @__PURE__ */ X.jsxDEV(Ct, { color: kt, style: u }, void 0, !1, {
|
|
517
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/AiAgentPopover/AiAgentPopover.tsx",
|
|
518
|
-
lineNumber: 377,
|
|
519
|
-
columnNumber: 7
|
|
520
|
-
}, void 0), v = {
|
|
443
|
+
const {
|
|
444
|
+
handleMouseDown: bt,
|
|
445
|
+
wasDragged: st,
|
|
446
|
+
touchHandlers: wt
|
|
447
|
+
} = Gt([S, Z], L, e, I, it), ot = T((o, s) => {
|
|
448
|
+
t === void 0 && O(o), n == null || n(o, s);
|
|
449
|
+
}, [t, n]), xt = T((o) => {
|
|
450
|
+
if (u && st && A) {
|
|
451
|
+
o.preventDefault(), o.stopPropagation();
|
|
452
|
+
return;
|
|
453
|
+
}
|
|
454
|
+
ot(!D, o);
|
|
455
|
+
}, [u, st, D, ot, A]), Mt = K(() => ({
|
|
456
|
+
position: "fixed",
|
|
457
|
+
left: `${S.x}px`,
|
|
458
|
+
top: `${S.y}px`,
|
|
459
|
+
zIndex: 9999,
|
|
460
|
+
transform: "none"
|
|
461
|
+
}), [S]), Ct = K(() => {
|
|
462
|
+
if (!a)
|
|
463
|
+
return;
|
|
464
|
+
const o = Yt($), s = ["top-left", "top-right", "bottom-left", "bottom-right"], h = {};
|
|
465
|
+
o.includes("left") && (h.transform = "scaleX(-1)"), o.includes("top") && (h.transform = h.transform ? "scale(-1, -1)" : "scaleY(-1)");
|
|
466
|
+
const x = /* @__PURE__ */ F(Tt, { color: Pt, style: h }), v = {
|
|
467
|
+
icons: {
|
|
468
|
+
topLeft: o === "top-left" ? x : null,
|
|
469
|
+
topRight: o === "top-right" ? x : null,
|
|
470
|
+
bottomLeft: o === "bottom-left" ? x : null,
|
|
471
|
+
bottomRight: o === "bottom-right" ? x : null
|
|
472
|
+
},
|
|
473
|
+
hiddenIcons: s.filter((m) => m !== o),
|
|
474
|
+
minHeight: 135,
|
|
475
|
+
minWidth: 235
|
|
476
|
+
};
|
|
477
|
+
if (typeof a == "function") {
|
|
478
|
+
const m = a($);
|
|
479
|
+
return {
|
|
480
|
+
...v,
|
|
481
|
+
...m,
|
|
521
482
|
icons: {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
bottomLeft: o === "bottom-left" ? x : null,
|
|
525
|
-
bottomRight: o === "bottom-right" ? x : null
|
|
483
|
+
...v.icons,
|
|
484
|
+
...m == null ? void 0 : m.icons
|
|
526
485
|
},
|
|
527
|
-
hiddenIcons:
|
|
528
|
-
minHeight: 135,
|
|
529
|
-
minWidth: 235
|
|
486
|
+
hiddenIcons: (m == null ? void 0 : m.hiddenIcons) ?? v.hiddenIcons
|
|
530
487
|
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
hiddenIcons: (f == null ? void 0 : f.hiddenIcons) ?? v.hiddenIcons
|
|
538
|
-
};
|
|
539
|
-
}
|
|
540
|
-
return v;
|
|
541
|
-
},
|
|
542
|
-
[a, O]
|
|
543
|
-
);
|
|
544
|
-
return /* @__PURE__ */ X.jsxDEV("div", { ref: I, style: At, ...wt, children: /* @__PURE__ */ X.jsxDEV(
|
|
545
|
-
Wt,
|
|
546
|
-
{
|
|
547
|
-
opened: D,
|
|
548
|
-
onToggle: ot,
|
|
549
|
-
role: "presentation",
|
|
550
|
-
target: /* @__PURE__ */ X.jsxDEV(
|
|
551
|
-
Xt,
|
|
552
|
-
{
|
|
553
|
-
size: "s",
|
|
554
|
-
className: R.popoverIconTrigger,
|
|
555
|
-
onMouseDown: h ? bt : void 0,
|
|
556
|
-
onClick: xt,
|
|
557
|
-
style: { cursor: "pointer" },
|
|
558
|
-
...r,
|
|
559
|
-
children: /* @__PURE__ */ X.jsxDEV(Pt, { size: "m" }, void 0, !1, {
|
|
560
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/AiAgentPopover/AiAgentPopover.tsx",
|
|
561
|
-
lineNumber: 422,
|
|
562
|
-
columnNumber: 13
|
|
563
|
-
}, void 0)
|
|
564
|
-
},
|
|
565
|
-
void 0,
|
|
566
|
-
!1,
|
|
567
|
-
{
|
|
568
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/AiAgentPopover/AiAgentPopover.tsx",
|
|
569
|
-
lineNumber: 414,
|
|
570
|
-
columnNumber: 9
|
|
571
|
-
},
|
|
572
|
-
void 0
|
|
573
|
-
),
|
|
574
|
-
offset: vt,
|
|
575
|
-
placement: Ft(y.current),
|
|
576
|
-
trigger: L,
|
|
577
|
-
hasArrow: !0,
|
|
578
|
-
closeOnOverlayClick: !0,
|
|
579
|
-
closeOnEsc: !0,
|
|
580
|
-
isFocusTrapped: !0,
|
|
581
|
-
animated: !0,
|
|
582
|
-
view: "default",
|
|
583
|
-
resizable: Mt,
|
|
584
|
-
onResizeStart: S,
|
|
585
|
-
onResizeEnd: l,
|
|
586
|
-
$draggable: h,
|
|
587
|
-
$position: typeof c == "string" ? c : void 0,
|
|
588
|
-
...d,
|
|
589
|
-
children: /* @__PURE__ */ X.jsxDEV(
|
|
590
|
-
"div",
|
|
591
|
-
{
|
|
592
|
-
ref: E,
|
|
593
|
-
className: `${R.popoverContentContainer} ${A ?? ""}`,
|
|
594
|
-
children: b
|
|
595
|
-
},
|
|
596
|
-
void 0,
|
|
597
|
-
!1,
|
|
598
|
-
{
|
|
599
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/AiAgentPopover/AiAgentPopover.tsx",
|
|
600
|
-
lineNumber: 443,
|
|
601
|
-
columnNumber: 9
|
|
602
|
-
},
|
|
603
|
-
void 0
|
|
604
|
-
)
|
|
605
|
-
},
|
|
606
|
-
void 0,
|
|
607
|
-
!1,
|
|
608
|
-
{
|
|
609
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/AiAgentPopover/AiAgentPopover.tsx",
|
|
610
|
-
lineNumber: 409,
|
|
611
|
-
columnNumber: 7
|
|
612
|
-
},
|
|
613
|
-
void 0
|
|
614
|
-
) }, void 0, !1, {
|
|
615
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/AiAgentPopover/AiAgentPopover.tsx",
|
|
616
|
-
lineNumber: 408,
|
|
617
|
-
columnNumber: 5
|
|
618
|
-
}, void 0);
|
|
488
|
+
}
|
|
489
|
+
return v;
|
|
490
|
+
}, [a, $]);
|
|
491
|
+
return /* @__PURE__ */ F("div", { ref: L, style: Mt, ...wt, children: /* @__PURE__ */ F(Xt, { opened: D, onToggle: ot, role: "presentation", target: /* @__PURE__ */ F(Ft, { size: "s", className: k.popoverIconTrigger, onMouseDown: u ? bt : void 0, onClick: xt, style: {
|
|
492
|
+
cursor: "pointer"
|
|
493
|
+
}, ...r, children: /* @__PURE__ */ F(It, { size: "m" }) }), offset: vt, placement: _t(N.current), trigger: y, hasArrow: !0, closeOnOverlayClick: !0, closeOnEsc: !0, isFocusTrapped: !0, animated: !0, view: "default", resizable: Ct, onResizeStart: H, onResizeEnd: l, $draggable: u, $position: typeof c == "string" ? c : void 0, ...d, children: /* @__PURE__ */ F("div", { ref: E, className: `${k.popoverContentContainer} ${M ?? ""}`, children: b }) }) });
|
|
619
494
|
};
|
|
620
495
|
export {
|
|
621
496
|
to as AiAgentPopover
|