@daisforge/ui 1.12.1 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AnalyticalWidget-29tSeB0C.cjs +43 -0
- package/chunks/AnalyticalWidget-DnHHyjnv.mjs +528 -0
- package/chunks/ApprovalCenter-BREfTiqK.mjs +176 -0
- package/chunks/ApprovalCenter-BRUYlLoC.cjs +1 -0
- package/chunks/BlockTitle-BNm60_dx.mjs +85 -0
- package/chunks/BlockTitle-CCvkcUe_.cjs +1 -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-49uNOjLq.cjs +1 -0
- package/chunks/FiltersActions-Be9uBM67.mjs +429 -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-BAHGzR5e.cjs +1 -0
- package/chunks/GridDND-rY1o5ItA.mjs +852 -0
- package/chunks/LeftPanel-CgexykUg.cjs +1 -0
- package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
- package/chunks/ListOfFilters-BQyYeGQG.cjs +1 -0
- package/chunks/ListOfFilters-DRrawM8s.mjs +260 -0
- package/chunks/MassActions-ByZr-Wjd.mjs +966 -0
- package/chunks/MassActions-CxF6wvlS.cjs +1 -0
- package/chunks/PageTitle-BLBN06Xe.mjs +123 -0
- package/chunks/PageTitle-j-pmmoZ9.cjs +1 -0
- package/chunks/SplitView-C8de8YKV.mjs +236 -0
- package/chunks/SplitView-OUGciQ51.cjs +12 -0
- package/chunks/Stories-CO4lXbo6.cjs +1 -0
- package/chunks/Stories-COpgkk_M.mjs +673 -0
- package/chunks/Table-JFzBB9zK.cjs +31 -0
- package/chunks/Table-XpsCe-vS.mjs +7757 -0
- package/chunks/TableCanvas-AwmzU0Jc.cjs +30 -0
- package/chunks/TableCanvas-BnwR-C1X.mjs +11870 -0
- package/chunks/TableGlide-BAH73oGi.cjs +1 -0
- package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-o9aqEk4d.mjs} +2263 -2342
- 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/AnalyticalWidgetChipsGroup.styled.d.ts +7 -0
- 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/ListOfFilters/useSyncTabsScrollArrows.d.ts +3 -0
- 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/Stories.types.d.ts +1 -0
- 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/Stories/store/StoriesContext.d.ts +1 -0
- 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/type.d.ts +2 -0
- 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-columns-grouping/useLastLvlColumnConfig.d.ts +1 -0
- 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 +1 -1
- 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/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- 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/column-config.type.d.ts +3 -0
- package/components/TableCanvas/types/columns-grouping.type.d.ts +8 -0
- 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 +3 -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/TableGlide.d.ts +1 -1
- 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/TableGlide/types.d.ts +3 -2
- 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 +6 -6
- 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-BYKPeWME.mjs +0 -16941
- package/chunks/TableCanvas-ZmjSKk64.cjs +0 -30
- 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 +0,0 @@
|
|
|
1
|
-
"use strict";const f=require("@salutejs/sdds-finai"),i=require("./vendor-D8Dozc4m.cjs"),p=require("./AnalyticalWidget-xgvWcsXx.cjs"),B=require("@salutejs/plasma-icons"),R=require("@salutejs/sdds-themes/tokens/sdds_finai"),g=require("./utils-C93a2mD7.cjs"),_=require("react"),a=require("../constants/index.cjs"),l=require("styled-components"),n="PageTitle__",s={root:`${n}root`,breadcrumbs:`${n}breadcrumbs`,content:`${n}content`,leftBlock:`${n}left-block`,titleBlock:`${n}title-block`,title:`${n}title`,subtitle:`${n}subtitle`,titleSlot:`${n}title-slot`,rightBlock:`${n}right-block`,backIconButton:`${n}back-icon-block`},C=l.div.attrs({className:s.root}).withConfig({displayName:"PageTitlestyled__StyledRoot"})(["width:100%;display:flex;flex-direction:column;gap:",";"],()=>a.s.x8),V=l.div.attrs({className:s.breadcrumbs}).withConfig({displayName:"PageTitlestyled__StyledBreadcrumbs"})([""]),$=l.div.attrs({className:s.content}).withConfig({displayName:"PageTitlestyled__StyledContent"})(["display:flex;justify-content:space-between;align-items:flex-start;gap:",";"],()=>a.s.x12),q=l.div.attrs({className:s.leftBlock}).withConfig({displayName:"PageTitlestyled__StyledLeftBlock"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>a.s.x8),z=l.div.attrs({className:s.titleBlock}).withConfig({displayName:"PageTitlestyled__StyledTitleBlock"})(["display:flex;flex-direction:column;gap:",";flex-shrink:1;min-width:0;"],()=>a.s.x2),I=l.div.attrs({className:s.backIconButton}).withConfig({displayName:"PageTitlestyled__StyledBackButtonContainer"})(["margin-top:",";"],({$isAdaptive1280:e})=>e?"1px":"6px"),A=l.div.attrs({className:s.title}).withConfig({displayName:"PageTitlestyled__StyledTitle"})([""]),L=l.div.attrs({className:s.subtitle}).withConfig({displayName:"PageTitlestyled__StyledSubtitle"})([""]),W=l.div.attrs({className:s.titleSlot}).withConfig({displayName:"PageTitlestyled__StyledTitleSlot"})(["margin-top:3px;"]),H=l.div.attrs({className:s.rightBlock}).withConfig({displayName:"PageTitlestyled__StyledRightBlock"})(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]),k=e=>({buttonSize:e?"xs":"s"}),o=(e,t)=>typeof e=="function"?e(t):e,F=({isAdaptive1280:e,...t})=>i.jsxDevRuntimeExports.jsxDEV(I,{$isAdaptive1280:e,children:i.jsxDevRuntimeExports.jsxDEV(f.IconButton,{size:"xs",view:"secondary",className:s.backIconButton,pin:"circle-circle",...t,children:i.jsxDevRuntimeExports.jsxDEV(B.IconChevronLeft,{size:"xs",color:"inherit"},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:47,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:40,columnNumber:5},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:39,columnNumber:1},void 0),G=({breadcrumbs:e})=>{if(!e)return null;const t={size:"m",...e};return i.jsxDevRuntimeExports.jsxDEV(V,{children:i.jsxDevRuntimeExports.jsxDEV(f.Breadcrumbs,{...t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:66,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:65,columnNumber:5},void 0)},J=({title:e,titleTypographyProps:t})=>e?i.jsxDevRuntimeExports.jsxDEV(A,{children:i.jsxDevRuntimeExports.jsxDEV(p.TypographyWithAutoTooltip,{variant:"H2",bold:!0,tooltipText:(t&&"tooltipText"in t?t.tooltipText:void 0)??e,...t,children:e},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:82,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:81,columnNumber:5},void 0):null,K=({subtitle:e,subtitleTypographyProps:t})=>e?i.jsxDevRuntimeExports.jsxDEV(L,{children:i.jsxDevRuntimeExports.jsxDEV(p.TypographyWithAutoTooltip,{variant:"BodyS",color:R.textSecondary,tooltipText:(t&&"tooltipText"in t?t.tooltipText:void 0)??e,...t,children:e},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:109,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:108,columnNumber:5},void 0):null,N=_.forwardRef(({title:e,titleTypographyProps:t,subtitle:r,subtitleTypographyProps:T,titleSlot:b,rightSlot:v,disableMediaAdaptive:P=!1,breadcrumbs:u,$css:h,className:y,showBackButton:j,onBackClick:E,...S},D)=>{const{down:w}=g.useBreakpoint(),d=!P&&w("xl"),c=k(d),m=o(b,c),x=o(v,c);return i.jsxDevRuntimeExports.jsxDEV(C,{ref:D,$css:h,className:g.mCls(s.root,y),...S,children:[u&&i.jsxDevRuntimeExports.jsxDEV(G,{breadcrumbs:u},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:171,columnNumber:25},void 0),i.jsxDevRuntimeExports.jsxDEV($,{children:[i.jsxDevRuntimeExports.jsxDEV(q,{children:[j&&i.jsxDevRuntimeExports.jsxDEV(F,{isAdaptive1280:d,onClick:E},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:176,columnNumber:13},void 0),(e||r)&&i.jsxDevRuntimeExports.jsxDEV(z,{children:[i.jsxDevRuntimeExports.jsxDEV(J,{title:e,titleTypographyProps:t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:183,columnNumber:17},void 0),i.jsxDevRuntimeExports.jsxDEV(K,{subtitle:r,subtitleTypographyProps:T},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:187,columnNumber:17},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:182,columnNumber:13},void 0),m&&i.jsxDevRuntimeExports.jsxDEV(W,{children:m},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:194,columnNumber:13},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:174,columnNumber:11},void 0),x&&i.jsxDevRuntimeExports.jsxDEV(H,{children:x},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:199,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:173,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",lineNumber:165,columnNumber:7},void 0)});N.displayName="PageTitle";exports.PageTitle=N;exports.getPageTitleSlotSizes=k;exports.pageTitleClassNames=s;exports.renderPageTitleSlot=o;
|
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
import { Breadcrumbs as S, IconButton as B } from "@salutejs/sdds-finai";
|
|
2
|
-
import { j as i } from "./vendor-BG4P-329.mjs";
|
|
3
|
-
import { a as g } from "./AnalyticalWidget-Ca_EuSTO.mjs";
|
|
4
|
-
import { IconChevronLeft as j } from "@salutejs/plasma-icons";
|
|
5
|
-
import { textSecondary as _ } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
6
|
-
import { d as E, s as D } from "./utils-BNelzuI-.mjs";
|
|
7
|
-
import { forwardRef as V } from "react";
|
|
8
|
-
import { s } from "../constants/index.mjs";
|
|
9
|
-
import a from "styled-components";
|
|
10
|
-
const n = "PageTitle__", l = {
|
|
11
|
-
root: `${n}root`,
|
|
12
|
-
breadcrumbs: `${n}breadcrumbs`,
|
|
13
|
-
content: `${n}content`,
|
|
14
|
-
leftBlock: `${n}left-block`,
|
|
15
|
-
titleBlock: `${n}title-block`,
|
|
16
|
-
title: `${n}title`,
|
|
17
|
-
subtitle: `${n}subtitle`,
|
|
18
|
-
titleSlot: `${n}title-slot`,
|
|
19
|
-
rightBlock: `${n}right-block`,
|
|
20
|
-
backIconButton: `${n}back-icon-block`
|
|
21
|
-
}, C = a.div.attrs({
|
|
22
|
-
className: l.root
|
|
23
|
-
}).withConfig({
|
|
24
|
-
displayName: "PageTitlestyled__StyledRoot"
|
|
25
|
-
})(["width:100%;display:flex;flex-direction:column;gap:", ";"], () => s.x8), $ = a.div.attrs({
|
|
26
|
-
className: l.breadcrumbs
|
|
27
|
-
}).withConfig({
|
|
28
|
-
displayName: "PageTitlestyled__StyledBreadcrumbs"
|
|
29
|
-
})([""]), R = a.div.attrs({
|
|
30
|
-
className: l.content
|
|
31
|
-
}).withConfig({
|
|
32
|
-
displayName: "PageTitlestyled__StyledContent"
|
|
33
|
-
})(["display:flex;justify-content:space-between;align-items:flex-start;gap:", ";"], () => s.x12), z = a.div.attrs({
|
|
34
|
-
className: l.leftBlock
|
|
35
|
-
}).withConfig({
|
|
36
|
-
displayName: "PageTitlestyled__StyledLeftBlock"
|
|
37
|
-
})(["display:flex;align-items:flex-start;gap:", ";flex:1;min-width:0;"], () => s.x8), I = a.div.attrs({
|
|
38
|
-
className: l.titleBlock
|
|
39
|
-
}).withConfig({
|
|
40
|
-
displayName: "PageTitlestyled__StyledTitleBlock"
|
|
41
|
-
})(["display:flex;flex-direction:column;gap:", ";flex-shrink:1;min-width:0;"], () => s.x2), A = a.div.attrs({
|
|
42
|
-
className: l.backIconButton
|
|
43
|
-
}).withConfig({
|
|
44
|
-
displayName: "PageTitlestyled__StyledBackButtonContainer"
|
|
45
|
-
})(["margin-top:", ";"], ({
|
|
46
|
-
$isAdaptive1280: e
|
|
47
|
-
}) => e ? "1px" : "6px"), L = a.div.attrs({
|
|
48
|
-
className: l.title
|
|
49
|
-
}).withConfig({
|
|
50
|
-
displayName: "PageTitlestyled__StyledTitle"
|
|
51
|
-
})([""]), H = a.div.attrs({
|
|
52
|
-
className: l.subtitle
|
|
53
|
-
}).withConfig({
|
|
54
|
-
displayName: "PageTitlestyled__StyledSubtitle"
|
|
55
|
-
})([""]), W = a.div.attrs({
|
|
56
|
-
className: l.titleSlot
|
|
57
|
-
}).withConfig({
|
|
58
|
-
displayName: "PageTitlestyled__StyledTitleSlot"
|
|
59
|
-
})(["margin-top:3px;"]), q = a.div.attrs({
|
|
60
|
-
className: l.rightBlock
|
|
61
|
-
}).withConfig({
|
|
62
|
-
displayName: "PageTitlestyled__StyledRightBlock"
|
|
63
|
-
})(["display:flex;align-items:flex-end;flex-shrink:0;align-self:flex-end;"]), F = (e) => ({
|
|
64
|
-
buttonSize: e ? "xs" : "s"
|
|
65
|
-
}), f = (e, t) => typeof e == "function" ? e(t) : e, G = ({
|
|
66
|
-
isAdaptive1280: e,
|
|
67
|
-
...t
|
|
68
|
-
}) => /* @__PURE__ */ i.jsxDEV(A, { $isAdaptive1280: e, children: /* @__PURE__ */ i.jsxDEV(
|
|
69
|
-
B,
|
|
70
|
-
{
|
|
71
|
-
size: "xs",
|
|
72
|
-
view: "secondary",
|
|
73
|
-
className: l.backIconButton,
|
|
74
|
-
pin: "circle-circle",
|
|
75
|
-
...t,
|
|
76
|
-
children: /* @__PURE__ */ i.jsxDEV(j, { size: "xs", color: "inherit" }, void 0, !1, {
|
|
77
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
78
|
-
lineNumber: 47,
|
|
79
|
-
columnNumber: 7
|
|
80
|
-
}, void 0)
|
|
81
|
-
},
|
|
82
|
-
void 0,
|
|
83
|
-
!1,
|
|
84
|
-
{
|
|
85
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
86
|
-
lineNumber: 40,
|
|
87
|
-
columnNumber: 5
|
|
88
|
-
},
|
|
89
|
-
void 0
|
|
90
|
-
) }, void 0, !1, {
|
|
91
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
92
|
-
lineNumber: 39,
|
|
93
|
-
columnNumber: 1
|
|
94
|
-
}, void 0), J = ({
|
|
95
|
-
breadcrumbs: e
|
|
96
|
-
}) => {
|
|
97
|
-
if (!e)
|
|
98
|
-
return null;
|
|
99
|
-
const t = {
|
|
100
|
-
size: "m",
|
|
101
|
-
...e
|
|
102
|
-
};
|
|
103
|
-
return /* @__PURE__ */ i.jsxDEV($, { children: /* @__PURE__ */ i.jsxDEV(S, { ...t }, void 0, !1, {
|
|
104
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
105
|
-
lineNumber: 66,
|
|
106
|
-
columnNumber: 7
|
|
107
|
-
}, void 0) }, void 0, !1, {
|
|
108
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
109
|
-
lineNumber: 65,
|
|
110
|
-
columnNumber: 5
|
|
111
|
-
}, void 0);
|
|
112
|
-
}, K = ({
|
|
113
|
-
title: e,
|
|
114
|
-
titleTypographyProps: t
|
|
115
|
-
}) => e ? /* @__PURE__ */ i.jsxDEV(L, { children: /* @__PURE__ */ i.jsxDEV(
|
|
116
|
-
g,
|
|
117
|
-
{
|
|
118
|
-
variant: "H2",
|
|
119
|
-
bold: !0,
|
|
120
|
-
tooltipText: (t && "tooltipText" in t ? t.tooltipText : void 0) ?? e,
|
|
121
|
-
...t,
|
|
122
|
-
children: e
|
|
123
|
-
},
|
|
124
|
-
void 0,
|
|
125
|
-
!1,
|
|
126
|
-
{
|
|
127
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
128
|
-
lineNumber: 82,
|
|
129
|
-
columnNumber: 7
|
|
130
|
-
},
|
|
131
|
-
void 0
|
|
132
|
-
) }, void 0, !1, {
|
|
133
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
134
|
-
lineNumber: 81,
|
|
135
|
-
columnNumber: 5
|
|
136
|
-
}, void 0) : null, M = ({
|
|
137
|
-
subtitle: e,
|
|
138
|
-
subtitleTypographyProps: t
|
|
139
|
-
}) => e ? /* @__PURE__ */ i.jsxDEV(H, { children: /* @__PURE__ */ i.jsxDEV(
|
|
140
|
-
g,
|
|
141
|
-
{
|
|
142
|
-
variant: "BodyS",
|
|
143
|
-
color: _,
|
|
144
|
-
tooltipText: (t && "tooltipText" in t ? t.tooltipText : void 0) ?? e,
|
|
145
|
-
...t,
|
|
146
|
-
children: e
|
|
147
|
-
},
|
|
148
|
-
void 0,
|
|
149
|
-
!1,
|
|
150
|
-
{
|
|
151
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
152
|
-
lineNumber: 109,
|
|
153
|
-
columnNumber: 7
|
|
154
|
-
},
|
|
155
|
-
void 0
|
|
156
|
-
) }, void 0, !1, {
|
|
157
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
158
|
-
lineNumber: 108,
|
|
159
|
-
columnNumber: 5
|
|
160
|
-
}, void 0) : null, O = V(
|
|
161
|
-
({
|
|
162
|
-
title: e,
|
|
163
|
-
titleTypographyProps: t,
|
|
164
|
-
subtitle: o,
|
|
165
|
-
subtitleTypographyProps: k,
|
|
166
|
-
titleSlot: N,
|
|
167
|
-
rightSlot: p,
|
|
168
|
-
disableMediaAdaptive: x = !1,
|
|
169
|
-
breadcrumbs: r,
|
|
170
|
-
$css: T,
|
|
171
|
-
className: b,
|
|
172
|
-
showBackButton: P,
|
|
173
|
-
onBackClick: h,
|
|
174
|
-
...y
|
|
175
|
-
}, v) => {
|
|
176
|
-
const { down: w } = E(), d = !x && w("xl"), u = F(d), c = f(N, u), m = f(p, u);
|
|
177
|
-
return /* @__PURE__ */ i.jsxDEV(
|
|
178
|
-
C,
|
|
179
|
-
{
|
|
180
|
-
ref: v,
|
|
181
|
-
$css: T,
|
|
182
|
-
className: D(l.root, b),
|
|
183
|
-
...y,
|
|
184
|
-
children: [
|
|
185
|
-
r && /* @__PURE__ */ i.jsxDEV(J, { breadcrumbs: r }, void 0, !1, {
|
|
186
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
187
|
-
lineNumber: 171,
|
|
188
|
-
columnNumber: 25
|
|
189
|
-
}, void 0),
|
|
190
|
-
/* @__PURE__ */ i.jsxDEV(R, { children: [
|
|
191
|
-
/* @__PURE__ */ i.jsxDEV(z, { children: [
|
|
192
|
-
P && /* @__PURE__ */ i.jsxDEV(
|
|
193
|
-
G,
|
|
194
|
-
{
|
|
195
|
-
isAdaptive1280: d,
|
|
196
|
-
onClick: h
|
|
197
|
-
},
|
|
198
|
-
void 0,
|
|
199
|
-
!1,
|
|
200
|
-
{
|
|
201
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
202
|
-
lineNumber: 176,
|
|
203
|
-
columnNumber: 13
|
|
204
|
-
},
|
|
205
|
-
void 0
|
|
206
|
-
),
|
|
207
|
-
(e || o) && /* @__PURE__ */ i.jsxDEV(I, { children: [
|
|
208
|
-
/* @__PURE__ */ i.jsxDEV(
|
|
209
|
-
K,
|
|
210
|
-
{
|
|
211
|
-
title: e,
|
|
212
|
-
titleTypographyProps: t
|
|
213
|
-
},
|
|
214
|
-
void 0,
|
|
215
|
-
!1,
|
|
216
|
-
{
|
|
217
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
218
|
-
lineNumber: 183,
|
|
219
|
-
columnNumber: 17
|
|
220
|
-
},
|
|
221
|
-
void 0
|
|
222
|
-
),
|
|
223
|
-
/* @__PURE__ */ i.jsxDEV(
|
|
224
|
-
M,
|
|
225
|
-
{
|
|
226
|
-
subtitle: o,
|
|
227
|
-
subtitleTypographyProps: k
|
|
228
|
-
},
|
|
229
|
-
void 0,
|
|
230
|
-
!1,
|
|
231
|
-
{
|
|
232
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
233
|
-
lineNumber: 187,
|
|
234
|
-
columnNumber: 17
|
|
235
|
-
},
|
|
236
|
-
void 0
|
|
237
|
-
)
|
|
238
|
-
] }, void 0, !0, {
|
|
239
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
240
|
-
lineNumber: 182,
|
|
241
|
-
columnNumber: 13
|
|
242
|
-
}, void 0),
|
|
243
|
-
c && /* @__PURE__ */ i.jsxDEV(W, { children: c }, void 0, !1, {
|
|
244
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
245
|
-
lineNumber: 194,
|
|
246
|
-
columnNumber: 13
|
|
247
|
-
}, void 0)
|
|
248
|
-
] }, void 0, !0, {
|
|
249
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
250
|
-
lineNumber: 174,
|
|
251
|
-
columnNumber: 11
|
|
252
|
-
}, void 0),
|
|
253
|
-
m && /* @__PURE__ */ i.jsxDEV(q, { children: m }, void 0, !1, {
|
|
254
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
255
|
-
lineNumber: 199,
|
|
256
|
-
columnNumber: 11
|
|
257
|
-
}, void 0)
|
|
258
|
-
] }, void 0, !0, {
|
|
259
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
260
|
-
lineNumber: 173,
|
|
261
|
-
columnNumber: 9
|
|
262
|
-
}, void 0)
|
|
263
|
-
]
|
|
264
|
-
},
|
|
265
|
-
void 0,
|
|
266
|
-
!0,
|
|
267
|
-
{
|
|
268
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/PageTitle/PageTitle.tsx",
|
|
269
|
-
lineNumber: 165,
|
|
270
|
-
columnNumber: 7
|
|
271
|
-
},
|
|
272
|
-
void 0
|
|
273
|
-
);
|
|
274
|
-
}
|
|
275
|
-
);
|
|
276
|
-
O.displayName = "PageTitle";
|
|
277
|
-
export {
|
|
278
|
-
O as P,
|
|
279
|
-
F as g,
|
|
280
|
-
l as p,
|
|
281
|
-
f as r
|
|
282
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";const w=require("./vendor-D8Dozc4m.cjs"),u=require("./utils-C93a2mD7.cjs"),c=require("react"),T=require("../components/ModalDF/index.cjs"),j=require("../constants/index.cjs"),S=require("@salutejs/sdds-themes/tokens/sdds_finai"),H=require("styled-components"),U=({children:t,isFullScreened:e,fullScreenedModalDFProps:i})=>{if(!e)return t;const r=typeof(i==null?void 0:i.fullScreen)=="object"?i.fullScreen:void 0;return w.jsxDevRuntimeExports.jsxDEV(T.ModalDF,{opened:!0,closeOnOverlayClick:!1,...i,fullScreen:{...r,defaultEnabled:!0},children:t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/components/SplitViewFullscreenWrapper.tsx",lineNumber:23,columnNumber:5},void 0)},A=({sidebarIsClosed:t,isResizingRef:e,onTransitionEndExt:i})=>{const[r,o]=c.useState(()=>t);c.useEffect(()=>{t&&o(!0)},[t]);const d=c.useCallback(l=>{i&&i(l),!t&&!e.current&&r&&o(!1)},[r,e,i,t]);return{isClosingOrClosedOrOpening:r,onTransitionEnd:d}},g="SplitView__",s={container:`${g}container`,separator:`${g}separator`,separatorButton:`${g}separator-button`,mainBlock:`${g}main-block`,sidebarBlock:`${g}sidebar-block`,sidebarBlockIsResizing:`${g}sidebar-block-is-resizing`,sidebarIsClosingOrClosedOrOpening:`${g}sidebar-is-closing-closed-opening`,sidebarBlockFullScreenContentContainer:`${g}sidebar-block__full-screen-content-container`,sidebarBlockInModal:`${g}sidebar-block-in-modal`},z=32,I=12,n={mainWidthVar:"--main-width",separatorWidthVar:"--separator-width",sidebarWidthVar:"--sidebar-width",sidebarWidthInPxVar:"--sidebar-width-in-px",gapBetweenBlocksDefaultWidth:z,separatorButtonDefaultWidth:I,separatorDefaultWidth:z+I,sidebarWidths:{minWidthPx:600,adaptive1280MinWidthPx:440,maxWidthPercent:70,defaultWidthPercent:30}},L=(t,e)=>t/100*e,G=(t,e)=>t/e*100,J=({setSizes:t,isResizingRef:e,containerRef:i,sidebarMinWidthPx:r,sidebarMaxWidthPercent:o,onResize:d})=>{const l=c.useCallback(()=>{var a;document.body.style.cursor="col-resize",e.current=!0,(a=i.current)==null||a.classList.toggle(s.sidebarBlockIsResizing,!0)},[i,e]);return c.useEffect(()=>{const a=()=>{var p;document.body.style.cursor="auto",e.current=!1,(p=i.current)==null||p.classList.toggle(s.sidebarBlockIsResizing,!1)},h=p=>{if(!e.current||!i.current)return;p.preventDefault();const b=p.clientX,x=i.current.getBoundingClientRect(),m=x.width-n.separatorDefaultWidth,f=(x.right-b-n.separatorButtonDefaultWidth/2)/m*100,V=G(r,m),B=o,v=u.clamp(V,f,B),W=100-v,D=v*m/100,O=W*m/100,N={main:W,mainPx:O,sidebar:v,sidebarPx:D};t(N),d==null||d(N)},k=u.throttleWithLastCall(h,150);return window.addEventListener("mousemove",k),window.addEventListener("mouseup",a),()=>{window.removeEventListener("mousemove",k),window.removeEventListener("mouseup",a)}},[i,e,d,t,o,r]),{startResizing:l}},K=({setSizes:t,containerRef:e,sidebarMinWidthPx:i,sidebarMaxWidthPercent:r,onResize:o})=>{c.useEffect(()=>{const d=h=>{const p=h.contentRect.width-n.separatorDefaultWidth;t(b=>{const x=L(b.sidebar,p),P=L(r,p),m=u.clamp(i,x,P),f={...b,sidebarPx:m};return o==null||o(f),f})},l=u.debounce(d,1e3),a=new ResizeObserver(h=>{h.forEach(l)});return e.current&&a.observe(e.current),()=>{a.disconnect()}},[e,t,r,i])},C={spaceX4:()=>j.s.x4,spaceX16:()=>j.s.x16},Q=(t,e,i,r=n.sidebarWidths.minWidthPx)=>{const o=e?{...t,main:100,separator:`${i??0}px`,sidebar:0}:{...t,separator:`${n.separatorDefaultWidth}px`},{main:d,sidebar:l,sidebarPx:a,separator:h}=o;return{[n.mainWidthVar]:`${d}fr`,[n.sidebarWidthVar]:l===0?"minmax(0px, 0fr)":`minmax(${r}px, ${l}fr)`,[n.separatorWidthVar]:h,...a!==void 0&&{[n.sidebarWidthInPxVar]:`${a}px`}}},Y=`
|
|
2
|
-
border-top-right-radius: ${C.spaceX4};
|
|
3
|
-
border-bottom-right-radius: ${C.spaceX4};
|
|
4
|
-
`,Z=H.div.attrs({className:s.container}).withConfig({displayName:"SplitViewstyled__StyledDiv"})(["*{box-sizing:border-box;}display:grid;position:relative;z-index:0;grid-template-columns:var(",") var(",") var(",");transition:grid-template-columns 0.2s ease-in-out,margin-right 0.2s ease-in-out;flex-grow:1;& .","{overflow-x:hidden;}& .",",& .","{--split-view-header-height:",";--split-view-bottom-gap:var(--page-layout-padding-bottom,32px);"," position:sticky;top:var(--split-view-header-height);height:calc( 100vh - var(--split-view-header-height) - var(--split-view-bottom-gap) );overflow-x:hidden;}& .","{align-self:start;z-index:1;& .","{margin-left:","px;position:relative;border:none;padding:0;width:","px;height:100%;background-color:",";border-radius:"," 0 0 ",";&::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:",";border-radius:95px;background-color:",";}&:hover{&::before{background-color:",";}}cursor:col-resize;text-indent:100%;white-space:nowrap;overflow:hidden;}}&.","{& .",":before{background-color:",";}}.","{z-index:0;align-self:start;background-color:",";box-shadow:",";",";}."," > *{width:var(",");}"," ",""],n.mainWidthVar,n.separatorWidthVar,n.sidebarWidthVar,s.mainBlock,s.separator,s.sidebarBlock,({$headerHeight:t})=>t!==void 0?`${t}px`:"var(--global-header-height, 72px)",u.media.down("l")`
|
|
5
|
-
--split-view-bottom-gap: var(--page-layout-padding-bottom, 24px);
|
|
6
|
-
`,s.separator,s.separatorButton,n.gapBetweenBlocksDefaultWidth,n.separatorDefaultWidth-n.gapBetweenBlocksDefaultWidth,()=>S.surfaceSolidSecondary,C.spaceX4,C.spaceX4,C.spaceX16,()=>S.outlineSolidSecondary,()=>S.outlineSolidSecondaryHover,s.sidebarBlockIsResizing,s.separatorButton,()=>S.outlineSolidSecondaryHover,s.sidebarBlock,()=>S.surfaceSolidCard,()=>S.shadowDownSoftS,u.media.up("xl")(Y),s.sidebarIsClosingOrClosedOrOpening,n.sidebarWidthInPxVar,({$insidePageLayout:t,$sidebarIsClosed:e})=>t&&(e?"margin-right: 0;":`
|
|
7
|
-
margin-right: calc(-1 * var(--page-layout-padding-inline, 32px));
|
|
8
|
-
|
|
9
|
-
${u.media.down("l")`
|
|
10
|
-
margin-right: calc(-1 * var(--page-layout-padding-inline, 24px));
|
|
11
|
-
`}
|
|
12
|
-
`),({$css:t})=>t),M=t=>({avatarSize:t?"m":"l"}),X=(t,e)=>e??(t?n.sidebarWidths.adaptive1280MinWidthPx:n.sidebarWidths.minWidthPx),q=(t,e)=>typeof t=="function"?t(e):t,ee=({mainContent:t,sidebar:e,style:i,refContainer:r,$css:o,onTransitionEnd:d,onResize:l,headerHeight:a,insidePageLayout:h=!1,disableMediaAdaptive:k=!1,...p})=>{const b=c.useRef(!1),x=c.useRef(null),{down:P}=u.useBreakpoint(),m=!k&&P("xl"),{minWidthPx:f,maxWidthPercent:V=n.sidebarWidths.maxWidthPercent,defaultWidthPercent:B=n.sidebarWidths.defaultWidthPercent}=e??{},v=e==null?void 0:e.content,W=X(m,f),D=c.useMemo(()=>M(m),[m]),O=c.useMemo(()=>q(v,D),[v,D]),[N,E]=c.useState(()=>{const $=u.clamp(0,B,Math.min(V,100));return{main:100-$,sidebar:$}}),y=!(e!=null&&e.isOpened),{startResizing:_}=J({setSizes:E,containerRef:x,isResizingRef:b,sidebarMaxWidthPercent:V,sidebarMinWidthPx:W,onResize:l});K({setSizes:E,containerRef:x,sidebarMaxWidthPercent:V,sidebarMinWidthPx:W,onResize:l});const{isClosingOrClosedOrOpening:F,onTransitionEnd:R}=A({sidebarIsClosed:y,isResizingRef:b,onTransitionEndExt:d});return w.jsxDevRuntimeExports.jsxDEV(Z,{ref:u.mergeRefs(x,r),style:{...Q(N,y,e==null?void 0:e.paddingLeftOnClosed,W),...i},$css:o,$headerHeight:a,$insidePageLayout:h,$sidebarIsClosed:y,onTransitionEnd:R,...p,children:[w.jsxDevRuntimeExports.jsxDEV("div",{className:s.mainBlock,children:t},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:113,columnNumber:7},void 0),w.jsxDevRuntimeExports.jsxDEV("div",{className:s.separator,children:w.jsxDevRuntimeExports.jsxDEV("button",{className:s.separatorButton,type:"button",onMouseDown:_,children:"Разделитель"},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:116,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:115,columnNumber:7},void 0),w.jsxDevRuntimeExports.jsxDEV("div",{className:u.mCls(s.sidebarBlock,F&&s.sidebarIsClosingOrClosedOrOpening,(e==null?void 0:e.isFullScreened)&&s.sidebarBlockInModal),children:w.jsxDevRuntimeExports.jsxDEV(U,{isFullScreened:e==null?void 0:e.isFullScreened,fullScreenedModalDFProps:e==null?void 0:e.fullScreenedModalDFProps,children:O},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:131,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:124,columnNumber:7},void 0)]},void 0,!0,{fileName:"/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",lineNumber:95,columnNumber:5},void 0)};exports.SplitView=ee;exports.getSplitViewSidebarMinWidthPx=X;exports.getSplitViewSlotSizes=M;exports.renderSplitViewContent=q;exports.splitViewClassNames=s;exports.splitViewConstants=n;
|
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import { j as b } from "./vendor-BG4P-329.mjs";
|
|
2
|
-
import { t as H, e as O, w as G, b as N, d as J, s as K, q as Q } from "./utils-BNelzuI-.mjs";
|
|
3
|
-
import { useState as F, useEffect as y, useCallback as T, useRef as z, useMemo as I } from "react";
|
|
4
|
-
import { ModalDF as Y } from "../components/ModalDF/index.mjs";
|
|
5
|
-
import { s as j } from "../constants/index.mjs";
|
|
6
|
-
import { surfaceSolidSecondary as Z, outlineSolidSecondary as R, outlineSolidSecondaryHover as L, surfaceSolidCard as ee, shadowDownSoftS as te } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
7
|
-
import ie from "styled-components";
|
|
8
|
-
const ne = ({
|
|
9
|
-
children: t,
|
|
10
|
-
isFullScreened: e,
|
|
11
|
-
fullScreenedModalDFProps: i
|
|
12
|
-
}) => {
|
|
13
|
-
if (!e)
|
|
14
|
-
return t;
|
|
15
|
-
const s = typeof (i == null ? void 0 : i.fullScreen) == "object" ? i.fullScreen : void 0;
|
|
16
|
-
return /* @__PURE__ */ b.jsxDEV(
|
|
17
|
-
Y,
|
|
18
|
-
{
|
|
19
|
-
opened: !0,
|
|
20
|
-
closeOnOverlayClick: !1,
|
|
21
|
-
...i,
|
|
22
|
-
fullScreen: {
|
|
23
|
-
...s,
|
|
24
|
-
defaultEnabled: !0
|
|
25
|
-
},
|
|
26
|
-
children: t
|
|
27
|
-
},
|
|
28
|
-
void 0,
|
|
29
|
-
!1,
|
|
30
|
-
{
|
|
31
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/components/SplitViewFullscreenWrapper.tsx",
|
|
32
|
-
lineNumber: 23,
|
|
33
|
-
columnNumber: 5
|
|
34
|
-
},
|
|
35
|
-
void 0
|
|
36
|
-
);
|
|
37
|
-
}, re = ({
|
|
38
|
-
sidebarIsClosed: t,
|
|
39
|
-
isResizingRef: e,
|
|
40
|
-
onTransitionEndExt: i
|
|
41
|
-
}) => {
|
|
42
|
-
const [s, o] = F(() => t);
|
|
43
|
-
y(() => {
|
|
44
|
-
t && o(!0);
|
|
45
|
-
}, [t]);
|
|
46
|
-
const d = T((l) => {
|
|
47
|
-
i && i(l), !t && !e.current && s && o(!1);
|
|
48
|
-
}, [s, e, i, t]);
|
|
49
|
-
return {
|
|
50
|
-
isClosingOrClosedOrOpening: s,
|
|
51
|
-
onTransitionEnd: d
|
|
52
|
-
};
|
|
53
|
-
}, p = "SplitView__", r = {
|
|
54
|
-
container: `${p}container`,
|
|
55
|
-
separator: `${p}separator`,
|
|
56
|
-
separatorButton: `${p}separator-button`,
|
|
57
|
-
mainBlock: `${p}main-block`,
|
|
58
|
-
sidebarBlock: `${p}sidebar-block`,
|
|
59
|
-
sidebarBlockIsResizing: `${p}sidebar-block-is-resizing`,
|
|
60
|
-
sidebarIsClosingOrClosedOrOpening: `${p}sidebar-is-closing-closed-opening`,
|
|
61
|
-
sidebarBlockFullScreenContentContainer: `${p}sidebar-block__full-screen-content-container`,
|
|
62
|
-
sidebarBlockInModal: `${p}sidebar-block-in-modal`
|
|
63
|
-
}, X = 32, M = 12, n = {
|
|
64
|
-
mainWidthVar: "--main-width",
|
|
65
|
-
separatorWidthVar: "--separator-width",
|
|
66
|
-
sidebarWidthVar: "--sidebar-width",
|
|
67
|
-
sidebarWidthInPxVar: "--sidebar-width-in-px",
|
|
68
|
-
gapBetweenBlocksDefaultWidth: X,
|
|
69
|
-
separatorButtonDefaultWidth: M,
|
|
70
|
-
separatorDefaultWidth: X + M,
|
|
71
|
-
// SIZES DEFAULT
|
|
72
|
-
sidebarWidths: {
|
|
73
|
-
minWidthPx: 600,
|
|
74
|
-
adaptive1280MinWidthPx: 440,
|
|
75
|
-
maxWidthPercent: 70,
|
|
76
|
-
defaultWidthPercent: 30
|
|
77
|
-
}
|
|
78
|
-
}, _ = (t, e) => t / 100 * e, se = (t, e) => t / e * 100, oe = ({
|
|
79
|
-
setSizes: t,
|
|
80
|
-
isResizingRef: e,
|
|
81
|
-
containerRef: i,
|
|
82
|
-
sidebarMinWidthPx: s,
|
|
83
|
-
sidebarMaxWidthPercent: o,
|
|
84
|
-
onResize: d
|
|
85
|
-
}) => {
|
|
86
|
-
const l = T(() => {
|
|
87
|
-
var a;
|
|
88
|
-
document.body.style.cursor = "col-resize", e.current = !0, (a = i.current) == null || a.classList.toggle(r.sidebarBlockIsResizing, !0);
|
|
89
|
-
}, [i, e]);
|
|
90
|
-
return y(() => {
|
|
91
|
-
const a = () => {
|
|
92
|
-
var c;
|
|
93
|
-
document.body.style.cursor = "auto", e.current = !1, (c = i.current) == null || c.classList.toggle(r.sidebarBlockIsResizing, !1);
|
|
94
|
-
}, v = H((c) => {
|
|
95
|
-
if (!e.current || !i.current)
|
|
96
|
-
return;
|
|
97
|
-
c.preventDefault();
|
|
98
|
-
const g = c.clientX, h = i.current.getBoundingClientRect(), u = h.width - n.separatorDefaultWidth, f = (h.right - g - n.separatorButtonDefaultWidth / 2) / u * 100, W = se(s, u), x = O(W, f, o), w = 100 - x, V = x * u / 100, P = w * u / 100, C = {
|
|
99
|
-
main: w,
|
|
100
|
-
mainPx: P,
|
|
101
|
-
sidebar: x,
|
|
102
|
-
sidebarPx: V
|
|
103
|
-
};
|
|
104
|
-
t(C), d == null || d(C);
|
|
105
|
-
}, 150);
|
|
106
|
-
return window.addEventListener("mousemove", v), window.addEventListener("mouseup", a), () => {
|
|
107
|
-
window.removeEventListener("mousemove", v), window.removeEventListener("mouseup", a);
|
|
108
|
-
};
|
|
109
|
-
}, [i, e, d, t, o, s]), {
|
|
110
|
-
startResizing: l
|
|
111
|
-
};
|
|
112
|
-
}, ae = ({
|
|
113
|
-
setSizes: t,
|
|
114
|
-
containerRef: e,
|
|
115
|
-
sidebarMinWidthPx: i,
|
|
116
|
-
sidebarMaxWidthPercent: s,
|
|
117
|
-
onResize: o
|
|
118
|
-
}) => {
|
|
119
|
-
y(() => {
|
|
120
|
-
const l = G((m) => {
|
|
121
|
-
const c = m.contentRect.width - n.separatorDefaultWidth;
|
|
122
|
-
t((g) => {
|
|
123
|
-
const h = _(g.sidebar, c), S = _(s, c), u = O(i, h, S), f = {
|
|
124
|
-
...g,
|
|
125
|
-
sidebarPx: u
|
|
126
|
-
};
|
|
127
|
-
return o == null || o(f), f;
|
|
128
|
-
});
|
|
129
|
-
}, 1e3), a = new ResizeObserver((m) => {
|
|
130
|
-
m.forEach(l);
|
|
131
|
-
});
|
|
132
|
-
return e.current && a.observe(e.current), () => {
|
|
133
|
-
a.disconnect();
|
|
134
|
-
};
|
|
135
|
-
}, [e, t, s, i]);
|
|
136
|
-
}, k = {
|
|
137
|
-
spaceX4: () => j.x4,
|
|
138
|
-
spaceX16: () => j.x16
|
|
139
|
-
}, de = (t, e, i, s = n.sidebarWidths.minWidthPx) => {
|
|
140
|
-
const o = e ? {
|
|
141
|
-
...t,
|
|
142
|
-
main: 100,
|
|
143
|
-
separator: `${i ?? 0}px`,
|
|
144
|
-
sidebar: 0
|
|
145
|
-
} : {
|
|
146
|
-
...t,
|
|
147
|
-
separator: `${n.separatorDefaultWidth}px`
|
|
148
|
-
}, {
|
|
149
|
-
main: d,
|
|
150
|
-
sidebar: l,
|
|
151
|
-
sidebarPx: a,
|
|
152
|
-
separator: m
|
|
153
|
-
} = o;
|
|
154
|
-
return {
|
|
155
|
-
[n.mainWidthVar]: `${d}fr`,
|
|
156
|
-
[n.sidebarWidthVar]: l === 0 ? "minmax(0px, 0fr)" : `minmax(${s}px, ${l}fr)`,
|
|
157
|
-
[n.separatorWidthVar]: m,
|
|
158
|
-
...a !== void 0 && {
|
|
159
|
-
[n.sidebarWidthInPxVar]: `${a}px`
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
}, le = `
|
|
163
|
-
border-top-right-radius: ${k.spaceX4};
|
|
164
|
-
border-bottom-right-radius: ${k.spaceX4};
|
|
165
|
-
`, ce = ie.div.attrs({
|
|
166
|
-
className: r.container
|
|
167
|
-
}).withConfig({
|
|
168
|
-
displayName: "SplitViewstyled__StyledDiv"
|
|
169
|
-
})(["*{box-sizing:border-box;}display:grid;position:relative;z-index:0;grid-template-columns:var(", ") var(", ") var(", ");transition:grid-template-columns 0.2s ease-in-out,margin-right 0.2s ease-in-out;flex-grow:1;& .", "{overflow-x:hidden;}& .", ",& .", "{--split-view-header-height:", ";--split-view-bottom-gap:var(--page-layout-padding-bottom,32px);", " position:sticky;top:var(--split-view-header-height);height:calc( 100vh - var(--split-view-header-height) - var(--split-view-bottom-gap) );overflow-x:hidden;}& .", "{align-self:start;z-index:1;& .", "{margin-left:", "px;position:relative;border:none;padding:0;width:", "px;height:100%;background-color:", ";border-radius:", " 0 0 ", ";&::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:", ";border-radius:95px;background-color:", ";}&:hover{&::before{background-color:", ";}}cursor:col-resize;text-indent:100%;white-space:nowrap;overflow:hidden;}}&.", "{& .", ":before{background-color:", ";}}.", "{z-index:0;align-self:start;background-color:", ";box-shadow:", ";", ";}.", " > *{width:var(", ");}", " ", ""], n.mainWidthVar, n.separatorWidthVar, n.sidebarWidthVar, r.mainBlock, r.separator, r.sidebarBlock, ({
|
|
170
|
-
$headerHeight: t
|
|
171
|
-
}) => t !== void 0 ? `${t}px` : "var(--global-header-height, 72px)", N.down("l")`
|
|
172
|
-
--split-view-bottom-gap: var(--page-layout-padding-bottom, 24px);
|
|
173
|
-
`, r.separator, r.separatorButton, n.gapBetweenBlocksDefaultWidth, n.separatorDefaultWidth - n.gapBetweenBlocksDefaultWidth, () => Z, k.spaceX4, k.spaceX4, k.spaceX16, () => R, () => L, r.sidebarBlockIsResizing, r.separatorButton, () => L, r.sidebarBlock, () => ee, () => te, N.up("xl")(le), r.sidebarIsClosingOrClosedOrOpening, n.sidebarWidthInPxVar, ({
|
|
174
|
-
$insidePageLayout: t,
|
|
175
|
-
$sidebarIsClosed: e
|
|
176
|
-
}) => t && (e ? "margin-right: 0;" : `
|
|
177
|
-
margin-right: calc(-1 * var(--page-layout-padding-inline, 32px));
|
|
178
|
-
|
|
179
|
-
${N.down("l")`
|
|
180
|
-
margin-right: calc(-1 * var(--page-layout-padding-inline, 24px));
|
|
181
|
-
`}
|
|
182
|
-
`), ({
|
|
183
|
-
$css: t
|
|
184
|
-
}) => t), ue = (t) => ({
|
|
185
|
-
avatarSize: t ? "m" : "l"
|
|
186
|
-
}), pe = (t, e) => e ?? (t ? n.sidebarWidths.adaptive1280MinWidthPx : n.sidebarWidths.minWidthPx), me = (t, e) => typeof t == "function" ? t(e) : t, ke = ({
|
|
187
|
-
mainContent: t,
|
|
188
|
-
sidebar: e,
|
|
189
|
-
//
|
|
190
|
-
style: i,
|
|
191
|
-
refContainer: s,
|
|
192
|
-
$css: o,
|
|
193
|
-
onTransitionEnd: d,
|
|
194
|
-
onResize: l,
|
|
195
|
-
headerHeight: a,
|
|
196
|
-
insidePageLayout: m = !1,
|
|
197
|
-
disableMediaAdaptive: v = !1,
|
|
198
|
-
...c
|
|
199
|
-
}) => {
|
|
200
|
-
const g = z(!1), h = z(null), { down: S } = J(), u = !v && S("xl"), {
|
|
201
|
-
minWidthPx: f,
|
|
202
|
-
maxWidthPercent: W = n.sidebarWidths.maxWidthPercent,
|
|
203
|
-
defaultWidthPercent: D = n.sidebarWidths.defaultWidthPercent
|
|
204
|
-
} = e ?? {}, x = e == null ? void 0 : e.content, w = pe(
|
|
205
|
-
u,
|
|
206
|
-
f
|
|
207
|
-
), V = I(
|
|
208
|
-
() => ue(u),
|
|
209
|
-
[u]
|
|
210
|
-
), P = I(
|
|
211
|
-
() => me(x, V),
|
|
212
|
-
[x, V]
|
|
213
|
-
), [C, $] = F(() => {
|
|
214
|
-
const E = O(
|
|
215
|
-
0,
|
|
216
|
-
D,
|
|
217
|
-
Math.min(W, 100)
|
|
218
|
-
);
|
|
219
|
-
return { main: 100 - E, sidebar: E };
|
|
220
|
-
}), B = !(e != null && e.isOpened), { startResizing: U } = oe({
|
|
221
|
-
setSizes: $,
|
|
222
|
-
containerRef: h,
|
|
223
|
-
isResizingRef: g,
|
|
224
|
-
sidebarMaxWidthPercent: W,
|
|
225
|
-
sidebarMinWidthPx: w,
|
|
226
|
-
onResize: l
|
|
227
|
-
});
|
|
228
|
-
ae({
|
|
229
|
-
setSizes: $,
|
|
230
|
-
containerRef: h,
|
|
231
|
-
sidebarMaxWidthPercent: W,
|
|
232
|
-
sidebarMinWidthPx: w,
|
|
233
|
-
onResize: l
|
|
234
|
-
});
|
|
235
|
-
const { isClosingOrClosedOrOpening: q, onTransitionEnd: A } = re({
|
|
236
|
-
sidebarIsClosed: B,
|
|
237
|
-
isResizingRef: g,
|
|
238
|
-
onTransitionEndExt: d
|
|
239
|
-
});
|
|
240
|
-
return /* @__PURE__ */ b.jsxDEV(
|
|
241
|
-
ce,
|
|
242
|
-
{
|
|
243
|
-
ref: Q(h, s),
|
|
244
|
-
style: {
|
|
245
|
-
...de(
|
|
246
|
-
C,
|
|
247
|
-
B,
|
|
248
|
-
e == null ? void 0 : e.paddingLeftOnClosed,
|
|
249
|
-
w
|
|
250
|
-
),
|
|
251
|
-
...i
|
|
252
|
-
},
|
|
253
|
-
$css: o,
|
|
254
|
-
$headerHeight: a,
|
|
255
|
-
$insidePageLayout: m,
|
|
256
|
-
$sidebarIsClosed: B,
|
|
257
|
-
onTransitionEnd: A,
|
|
258
|
-
...c,
|
|
259
|
-
children: [
|
|
260
|
-
/* @__PURE__ */ b.jsxDEV("div", { className: r.mainBlock, children: t }, void 0, !1, {
|
|
261
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
|
|
262
|
-
lineNumber: 113,
|
|
263
|
-
columnNumber: 7
|
|
264
|
-
}, void 0),
|
|
265
|
-
/* @__PURE__ */ b.jsxDEV("div", { className: r.separator, children: /* @__PURE__ */ b.jsxDEV(
|
|
266
|
-
"button",
|
|
267
|
-
{
|
|
268
|
-
className: r.separatorButton,
|
|
269
|
-
type: "button",
|
|
270
|
-
onMouseDown: U,
|
|
271
|
-
children: "Разделитель"
|
|
272
|
-
},
|
|
273
|
-
void 0,
|
|
274
|
-
!1,
|
|
275
|
-
{
|
|
276
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
|
|
277
|
-
lineNumber: 116,
|
|
278
|
-
columnNumber: 9
|
|
279
|
-
},
|
|
280
|
-
void 0
|
|
281
|
-
) }, void 0, !1, {
|
|
282
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
|
|
283
|
-
lineNumber: 115,
|
|
284
|
-
columnNumber: 7
|
|
285
|
-
}, void 0),
|
|
286
|
-
/* @__PURE__ */ b.jsxDEV(
|
|
287
|
-
"div",
|
|
288
|
-
{
|
|
289
|
-
className: K(
|
|
290
|
-
r.sidebarBlock,
|
|
291
|
-
q && r.sidebarIsClosingOrClosedOrOpening,
|
|
292
|
-
(e == null ? void 0 : e.isFullScreened) && r.sidebarBlockInModal
|
|
293
|
-
),
|
|
294
|
-
children: /* @__PURE__ */ b.jsxDEV(
|
|
295
|
-
ne,
|
|
296
|
-
{
|
|
297
|
-
isFullScreened: e == null ? void 0 : e.isFullScreened,
|
|
298
|
-
fullScreenedModalDFProps: e == null ? void 0 : e.fullScreenedModalDFProps,
|
|
299
|
-
children: P
|
|
300
|
-
},
|
|
301
|
-
void 0,
|
|
302
|
-
!1,
|
|
303
|
-
{
|
|
304
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
|
|
305
|
-
lineNumber: 131,
|
|
306
|
-
columnNumber: 9
|
|
307
|
-
},
|
|
308
|
-
void 0
|
|
309
|
-
)
|
|
310
|
-
},
|
|
311
|
-
void 0,
|
|
312
|
-
!1,
|
|
313
|
-
{
|
|
314
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
|
|
315
|
-
lineNumber: 124,
|
|
316
|
-
columnNumber: 7
|
|
317
|
-
},
|
|
318
|
-
void 0
|
|
319
|
-
)
|
|
320
|
-
]
|
|
321
|
-
},
|
|
322
|
-
void 0,
|
|
323
|
-
!0,
|
|
324
|
-
{
|
|
325
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/SplitView/SplitView.tsx",
|
|
326
|
-
lineNumber: 95,
|
|
327
|
-
columnNumber: 5
|
|
328
|
-
},
|
|
329
|
-
void 0
|
|
330
|
-
);
|
|
331
|
-
};
|
|
332
|
-
export {
|
|
333
|
-
ke as S,
|
|
334
|
-
n as a,
|
|
335
|
-
ue as b,
|
|
336
|
-
pe as g,
|
|
337
|
-
me as r,
|
|
338
|
-
r as s
|
|
339
|
-
};
|