@daisforge/ui 1.12.1 → 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 +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/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- 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-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,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createContext as C, useState as m, useEffect as p, useMemo as B, useContext as
|
|
3
|
-
import { breakPoints as
|
|
4
|
-
import { ThemeProvider as
|
|
5
|
-
import { createDebugLogger as
|
|
6
|
-
const
|
|
7
|
-
breakpoint:
|
|
8
|
-
breakpointConfig:
|
|
9
|
-
}),
|
|
1
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as C, useState as m, useEffect as p, useMemo as B, useContext as b, useRef as T, useCallback as x } from "react";
|
|
3
|
+
import { breakPoints as _, viewColors as k } from "../constants/index.mjs";
|
|
4
|
+
import { ThemeProvider as W, css as S, keyframes as $ } from "styled-components";
|
|
5
|
+
import { createDebugLogger as V } from "../shared/utils/debug/index.mjs";
|
|
6
|
+
const I = "xl", E = _, R = C({
|
|
7
|
+
breakpoint: I,
|
|
8
|
+
breakpointConfig: E
|
|
9
|
+
}), w = (e) => (t) => `
|
|
10
10
|
@media ${e} {
|
|
11
11
|
${t}
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
13
|
+
`, U = (e) => ({
|
|
14
14
|
xs: {
|
|
15
15
|
min: 0,
|
|
16
16
|
max: e.xs - 1
|
|
@@ -35,77 +35,59 @@ const A = "xl", S = F, D = C({
|
|
|
35
35
|
min: e.xl + 1,
|
|
36
36
|
max: 1e5
|
|
37
37
|
}
|
|
38
|
-
}),
|
|
39
|
-
const t =
|
|
38
|
+
}), F = (e) => {
|
|
39
|
+
const t = U(e);
|
|
40
40
|
return {
|
|
41
|
-
up: (n) =>
|
|
42
|
-
down: (n) =>
|
|
43
|
-
only: (n) =>
|
|
44
|
-
not: (n) =>
|
|
45
|
-
between: (n, r) =>
|
|
46
|
-
exact: (n, r) =>
|
|
41
|
+
up: (n) => w(`(min-width: ${t[n].max + 1}px)`),
|
|
42
|
+
down: (n) => w(`(max-width: ${t[n].min - 1}px)`),
|
|
43
|
+
only: (n) => w(`(min-width: ${t[n].min}px) and (max-width: ${t[n].max}px)`),
|
|
44
|
+
not: (n) => w(`(max-width: ${t[n].min - 1}px), (min-width: ${t[n].max + 1}px)`),
|
|
45
|
+
between: (n, r) => w(`(min-width: ${t[n].min}px) and (max-width: ${t[r].max}px)`),
|
|
46
|
+
exact: (n, r) => w(`(min-width: ${n}px) and (max-width: ${r}px)`)
|
|
47
47
|
};
|
|
48
|
-
}, de =
|
|
49
|
-
breakpointConfig: e =
|
|
48
|
+
}, de = F(E), N = ({
|
|
49
|
+
breakpointConfig: e = E,
|
|
50
50
|
children: t
|
|
51
|
-
}) => /* @__PURE__ */
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
theme: {
|
|
55
|
-
media: $(e)
|
|
56
|
-
},
|
|
57
|
-
children: t
|
|
58
|
-
},
|
|
59
|
-
void 0,
|
|
60
|
-
!1,
|
|
61
|
-
{
|
|
62
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/utils/breakpoint/MediaProvider.tsx",
|
|
63
|
-
lineNumber: 12,
|
|
64
|
-
columnNumber: 1
|
|
65
|
-
},
|
|
66
|
-
void 0
|
|
67
|
-
), me = ({
|
|
51
|
+
}) => /* @__PURE__ */ v(W, { theme: {
|
|
52
|
+
media: F(e)
|
|
53
|
+
}, children: t }), me = ({
|
|
68
54
|
children: e,
|
|
69
|
-
breakpointConfig: t =
|
|
55
|
+
breakpointConfig: t = E
|
|
70
56
|
}) => {
|
|
71
|
-
const [n, r] = m(
|
|
57
|
+
const [n, r] = m(I);
|
|
72
58
|
p(() => {
|
|
73
|
-
const i = Object.entries(t).map(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
})
|
|
78
|
-
), c = () => {
|
|
59
|
+
const i = Object.entries(t).map(([s, a]) => ({
|
|
60
|
+
key: s,
|
|
61
|
+
mql: window.matchMedia(`(max-width: ${a}px)`)
|
|
62
|
+
})), c = () => {
|
|
79
63
|
var a;
|
|
80
|
-
const s = ((a = i.find(({
|
|
64
|
+
const s = ((a = i.find(({
|
|
65
|
+
mql: u
|
|
66
|
+
}) => u.matches)) == null ? void 0 : a.key) || I;
|
|
81
67
|
r(s);
|
|
82
68
|
};
|
|
83
|
-
return c(), i.forEach(({
|
|
69
|
+
return c(), i.forEach(({
|
|
70
|
+
mql: s
|
|
71
|
+
}) => {
|
|
84
72
|
s.addEventListener("change", c);
|
|
85
73
|
}), () => {
|
|
86
|
-
i.forEach(({
|
|
74
|
+
i.forEach(({
|
|
75
|
+
mql: s
|
|
76
|
+
}) => {
|
|
87
77
|
s.removeEventListener("change", c);
|
|
88
78
|
});
|
|
89
79
|
};
|
|
90
80
|
}, []);
|
|
91
|
-
const o = B(
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
);
|
|
95
|
-
return /* @__PURE__ */
|
|
96
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/utils/breakpoint/BreakpointProvider.tsx",
|
|
97
|
-
lineNumber: 51,
|
|
98
|
-
columnNumber: 7
|
|
99
|
-
}, void 0) }, void 0, !1, {
|
|
100
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/utils/breakpoint/BreakpointProvider.tsx",
|
|
101
|
-
lineNumber: 50,
|
|
102
|
-
columnNumber: 5
|
|
103
|
-
}, void 0);
|
|
81
|
+
const o = B(() => ({
|
|
82
|
+
breakpoint: n,
|
|
83
|
+
breakpointConfig: t
|
|
84
|
+
}), [n, t]);
|
|
85
|
+
return /* @__PURE__ */ v(R.Provider, { value: o, children: /* @__PURE__ */ v(N, { breakpointConfig: t, children: e }) });
|
|
104
86
|
}, fe = () => {
|
|
105
87
|
const {
|
|
106
88
|
breakpoint: e,
|
|
107
89
|
breakpointConfig: t
|
|
108
|
-
} =
|
|
90
|
+
} = b(R), n = B(() => ({
|
|
109
91
|
up: (r) => t[e] > t[r],
|
|
110
92
|
down: (r) => t[e] < t[r],
|
|
111
93
|
only: (r) => t[e] === t[r],
|
|
@@ -127,21 +109,17 @@ function he(e, t, n, r = {}) {
|
|
|
127
109
|
}, i = new CustomEvent(t, o);
|
|
128
110
|
return e.dispatchEvent(i);
|
|
129
111
|
}
|
|
130
|
-
const
|
|
112
|
+
const j = null, P = C(j), pe = ({
|
|
131
113
|
children: e,
|
|
132
114
|
clickStreamInstance: t
|
|
133
|
-
}) => /* @__PURE__ */
|
|
134
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/utils/clickStream/ClickStreamProvider.tsx",
|
|
135
|
-
lineNumber: 14,
|
|
136
|
-
columnNumber: 1
|
|
137
|
-
}, void 0);
|
|
115
|
+
}) => /* @__PURE__ */ v(P.Provider, { value: t, children: e });
|
|
138
116
|
var M = /* @__PURE__ */ ((e) => (e.START = "Start", e.END = "End", e.SUCCESS = "Success", e.FAILED = "Failed", e))(M || {}), z = /* @__PURE__ */ ((e) => (e.BUISINESS = "business", e))(z || {});
|
|
139
|
-
const
|
|
140
|
-
const e =
|
|
117
|
+
const ge = () => {
|
|
118
|
+
const e = b(P);
|
|
141
119
|
if (!e)
|
|
142
120
|
throw new Error("Ошибка. Приложение необходимо обернуть в ClickStreamProvider");
|
|
143
121
|
return e;
|
|
144
|
-
},
|
|
122
|
+
}, we = (e, t) => e.join("/").concat(t ? `_${t}` : ""), be = (e) => Object.entries(e).reduce((t, n) => {
|
|
145
123
|
if (n[0] && n[1]) {
|
|
146
124
|
const r = {
|
|
147
125
|
key: n[0],
|
|
@@ -151,10 +129,13 @@ const be = () => {
|
|
|
151
129
|
}
|
|
152
130
|
return t;
|
|
153
131
|
}, []), xe = (e) => Array.isArray(e) ? e.join(";") : typeof e == "boolean" ? `${e}` : e ?? "null";
|
|
154
|
-
function
|
|
132
|
+
function ye(e) {
|
|
155
133
|
function t() {
|
|
156
134
|
const s = T(e), a = x(() => s.current, []), u = T(/* @__PURE__ */ new Set()), l = x((d) => {
|
|
157
|
-
s.current = {
|
|
135
|
+
s.current = {
|
|
136
|
+
...s.current,
|
|
137
|
+
...d
|
|
138
|
+
}, u.current.forEach((g) => g());
|
|
158
139
|
}, []), f = x((d) => (u.current.add(d), () => u.current.delete(d)), []);
|
|
159
140
|
return {
|
|
160
141
|
get: a,
|
|
@@ -163,28 +144,26 @@ function ve(e) {
|
|
|
163
144
|
};
|
|
164
145
|
}
|
|
165
146
|
const n = C(null);
|
|
166
|
-
function r({
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
columnNumber: 7
|
|
171
|
-
}, this);
|
|
147
|
+
function r({
|
|
148
|
+
children: s
|
|
149
|
+
}) {
|
|
150
|
+
return /* @__PURE__ */ v(n.Provider, { value: t(), children: s });
|
|
172
151
|
}
|
|
173
152
|
function o(s) {
|
|
174
|
-
const a =
|
|
153
|
+
const a = b(n);
|
|
175
154
|
if (!a)
|
|
176
155
|
throw new Error("Store not found");
|
|
177
156
|
const [u, l] = m(a.get());
|
|
178
157
|
return p(() => a.subscribe(() => l(a.get())), []), [s(u), a.set];
|
|
179
158
|
}
|
|
180
159
|
function i() {
|
|
181
|
-
const s =
|
|
160
|
+
const s = b(n);
|
|
182
161
|
if (!s)
|
|
183
162
|
throw new Error("Store not found");
|
|
184
163
|
return s.set;
|
|
185
164
|
}
|
|
186
165
|
function c(s) {
|
|
187
|
-
const a =
|
|
166
|
+
const a = b(n);
|
|
188
167
|
if (!a)
|
|
189
168
|
throw new Error("Store not found");
|
|
190
169
|
const [u, l] = m(a.get());
|
|
@@ -206,7 +185,7 @@ const H = typeof requestAnimationFrame == "function", q = typeof cancelAnimation
|
|
|
206
185
|
t = null, e(n, r);
|
|
207
186
|
});
|
|
208
187
|
});
|
|
209
|
-
},
|
|
188
|
+
}, ve = (e, t = 200) => {
|
|
210
189
|
let n;
|
|
211
190
|
return (...r) => {
|
|
212
191
|
clearTimeout(n), n = setTimeout(() => {
|
|
@@ -222,26 +201,22 @@ const H = typeof requestAnimationFrame == "function", q = typeof cancelAnimation
|
|
|
222
201
|
};
|
|
223
202
|
if (t && o.set(a.toString(), t), i.items) {
|
|
224
203
|
const [l, f] = G(i.items, t, s);
|
|
225
|
-
f.forEach((d,
|
|
204
|
+
f.forEach((d, g) => o.set(g, d)), u.items = l;
|
|
226
205
|
}
|
|
227
206
|
r.push(u);
|
|
228
207
|
}), [r, o];
|
|
229
208
|
}, Te = (e) => x((t, n) => {
|
|
230
209
|
const r = e.get(t.value);
|
|
231
210
|
r == null || r(t, n);
|
|
232
|
-
}, [e]), X = null,
|
|
211
|
+
}, [e]), X = null, D = C(X), Ce = ({
|
|
233
212
|
children: e,
|
|
234
213
|
busInstance: t
|
|
235
|
-
}) => /* @__PURE__ */
|
|
236
|
-
|
|
237
|
-
lineNumber: 14,
|
|
238
|
-
columnNumber: 1
|
|
239
|
-
}, void 0), Ee = () => {
|
|
240
|
-
const e = w(L);
|
|
214
|
+
}) => /* @__PURE__ */ v(D.Provider, { value: t, children: e }), Se = () => {
|
|
215
|
+
const e = b(D);
|
|
241
216
|
if (!e)
|
|
242
217
|
throw new Error("Ошибка. Приложение необходимо обернуть в EventBusProvider");
|
|
243
218
|
return e;
|
|
244
|
-
},
|
|
219
|
+
}, Ee = () => {
|
|
245
220
|
const e = new Uint8Array(16);
|
|
246
221
|
crypto.getRandomValues(e);
|
|
247
222
|
const t = Array.from(e).map((o) => o.toString(16).padStart(2, "0")).join(""), n = new Uint8Array(8);
|
|
@@ -255,14 +230,14 @@ const H = typeof requestAnimationFrame == "function", q = typeof cancelAnimation
|
|
|
255
230
|
"x-b3-spanid": r
|
|
256
231
|
}
|
|
257
232
|
};
|
|
258
|
-
},
|
|
233
|
+
}, A = () => {
|
|
259
234
|
const e = document.documentElement.getAttribute("data-theme");
|
|
260
235
|
return e === "dark" ? "dark" : e === "highContrastLight" ? "highContrastLight" : "light";
|
|
261
|
-
},
|
|
236
|
+
}, Ae = (e) => e ? S(["&&{", "}"], e) : void 0, y = /* @__PURE__ */ new Map();
|
|
262
237
|
function J(e) {
|
|
263
238
|
const t = `${e}_<space>`;
|
|
264
|
-
if (
|
|
265
|
-
const o =
|
|
239
|
+
if (y.has(t)) {
|
|
240
|
+
const o = y.get(t);
|
|
266
241
|
return typeof o == "number" && o || 0;
|
|
267
242
|
}
|
|
268
243
|
const n = document.createElement("span");
|
|
@@ -273,7 +248,7 @@ function J(e) {
|
|
|
273
248
|
position: absolute;
|
|
274
249
|
`, n.textContent = " ", document.body.appendChild(n);
|
|
275
250
|
const r = n.offsetWidth;
|
|
276
|
-
return document.body.removeChild(n),
|
|
251
|
+
return document.body.removeChild(n), y.set(t, r), r;
|
|
277
252
|
}
|
|
278
253
|
function Z(e, t) {
|
|
279
254
|
const n = document.createElement("span");
|
|
@@ -288,23 +263,23 @@ function Z(e, t) {
|
|
|
288
263
|
const r = n.offsetWidth;
|
|
289
264
|
return document.body.removeChild(n), r;
|
|
290
265
|
}
|
|
291
|
-
function
|
|
266
|
+
function O(e, t) {
|
|
292
267
|
if (e === " ")
|
|
293
268
|
return J(t);
|
|
294
269
|
if (e === " ")
|
|
295
|
-
return
|
|
270
|
+
return O(" ", t) * 4;
|
|
296
271
|
const n = `${t}_${e}`;
|
|
297
|
-
if (
|
|
298
|
-
const o =
|
|
272
|
+
if (y.has(n)) {
|
|
273
|
+
const o = y.get(n);
|
|
299
274
|
return typeof o == "number" && o || 0;
|
|
300
275
|
}
|
|
301
276
|
const r = Z(e, t);
|
|
302
|
-
return
|
|
277
|
+
return y.set(n, r), r;
|
|
303
278
|
}
|
|
304
|
-
function
|
|
279
|
+
function Ie(e, t, n = 0) {
|
|
305
280
|
if (!e)
|
|
306
281
|
return 0;
|
|
307
|
-
const r = Array.from(e).reduce((c, s) => c +
|
|
282
|
+
const r = Array.from(e).reduce((c, s) => c + O(s, t), 0), o = e.length, i = Math.max(o - 1, 0) * n;
|
|
308
283
|
return r + i;
|
|
309
284
|
}
|
|
310
285
|
function ee(e, t, n = 0) {
|
|
@@ -321,10 +296,10 @@ function ee(e, t, n = 0) {
|
|
|
321
296
|
const o = r.offsetWidth;
|
|
322
297
|
return document.body.removeChild(r), o;
|
|
323
298
|
}
|
|
324
|
-
function
|
|
299
|
+
function $e(e, t, n = 0) {
|
|
325
300
|
return e ? ee(e, t, n) : 0;
|
|
326
301
|
}
|
|
327
|
-
const
|
|
302
|
+
const Le = (e) => {
|
|
328
303
|
const t = e.substring(e.indexOf("(") + 1, e.indexOf(","));
|
|
329
304
|
return getComputedStyle(document.body).getPropertyValue(t);
|
|
330
305
|
}, Be = (e, t) => {
|
|
@@ -336,11 +311,11 @@ const Ne = (e) => {
|
|
|
336
311
|
else
|
|
337
312
|
return;
|
|
338
313
|
return r;
|
|
339
|
-
},
|
|
340
|
-
const [e, t] = m(() =>
|
|
314
|
+
}, Re = (e) => k[e], Fe = () => {
|
|
315
|
+
const [e, t] = m(() => A() ?? "light");
|
|
341
316
|
return p(() => {
|
|
342
|
-
t(
|
|
343
|
-
const n = new MutationObserver(() => t(
|
|
317
|
+
t(A());
|
|
318
|
+
const n = new MutationObserver(() => t(A()));
|
|
344
319
|
return n.observe(document.documentElement, {
|
|
345
320
|
childList: !1,
|
|
346
321
|
attributes: !0,
|
|
@@ -364,7 +339,7 @@ const Ne = (e) => {
|
|
|
364
339
|
), {
|
|
365
340
|
debouncing: n
|
|
366
341
|
}];
|
|
367
|
-
},
|
|
342
|
+
}, De = (e, t = 500, n) => {
|
|
368
343
|
const [r, o] = m(n ?? e);
|
|
369
344
|
return p(() => {
|
|
370
345
|
const i = setTimeout(() => {
|
|
@@ -374,14 +349,14 @@ const Ne = (e) => {
|
|
|
374
349
|
clearTimeout(i);
|
|
375
350
|
};
|
|
376
351
|
}, [e]), r;
|
|
377
|
-
}, h = /* @__PURE__ */ new Map(),
|
|
352
|
+
}, h = /* @__PURE__ */ new Map(), Oe = (e) => !e || h.get(e) === "loaded" ? Promise.resolve() : new Promise((t) => {
|
|
378
353
|
const n = new Image();
|
|
379
354
|
n.onload = () => {
|
|
380
355
|
h.set(e, "loaded"), t();
|
|
381
356
|
}, n.onerror = () => {
|
|
382
357
|
h.set(e, "error"), t();
|
|
383
358
|
}, n.src = e;
|
|
384
|
-
}),
|
|
359
|
+
}), _e = (e, t = 0) => {
|
|
385
360
|
const [n, r] = m(() => e ? h.get(e) ?? "loading" : "idle"), [o, i] = m(0), c = T(e);
|
|
386
361
|
c.current = e;
|
|
387
362
|
const s = x(() => {
|
|
@@ -399,12 +374,12 @@ const Ne = (e) => {
|
|
|
399
374
|
}
|
|
400
375
|
let u = !0, l;
|
|
401
376
|
r("loading");
|
|
402
|
-
const f = (
|
|
403
|
-
h.set(e,
|
|
404
|
-
const
|
|
405
|
-
u && c.current === e && r(
|
|
377
|
+
const f = (g) => {
|
|
378
|
+
h.set(e, g);
|
|
379
|
+
const L = () => {
|
|
380
|
+
u && c.current === e && r(g);
|
|
406
381
|
};
|
|
407
|
-
t > 0 ? l = setTimeout(
|
|
382
|
+
t > 0 ? l = setTimeout(L, t) : L();
|
|
408
383
|
}, d = new Image();
|
|
409
384
|
return d.onload = () => f("loaded"), d.onerror = () => f("error"), d.src = e, () => {
|
|
410
385
|
u = !1, l && clearTimeout(l);
|
|
@@ -416,19 +391,19 @@ const Ne = (e) => {
|
|
|
416
391
|
isError: n === "error",
|
|
417
392
|
reload: s
|
|
418
393
|
};
|
|
419
|
-
},
|
|
394
|
+
}, ke = typeof window < "u" && "structuredClone" in window && typeof window.structuredClone == "function" || typeof globalThis < "u" && "structuredClone" in globalThis && typeof globalThis.structuredClone == "function";
|
|
420
395
|
function te(...e) {
|
|
421
396
|
return e.reduce((t, n) => (!n || typeof n != "string" || (t = `${t} ${n}`), t), "");
|
|
422
397
|
}
|
|
423
|
-
const
|
|
424
|
-
function
|
|
398
|
+
const We = te;
|
|
399
|
+
function Ve(...e) {
|
|
425
400
|
const t = e.filter(Boolean);
|
|
426
401
|
return t.length <= 1 ? t[0] || null : function(r) {
|
|
427
402
|
for (const o of t)
|
|
428
403
|
typeof o == "function" ? o(r) : o && (o.current = r);
|
|
429
404
|
};
|
|
430
405
|
}
|
|
431
|
-
const
|
|
406
|
+
const Ue = (e, t, n) => t > n ? n : t < e ? e : t, ne = (e) => e != null && e.lines && e.lines > 1 ? {
|
|
432
407
|
display: "-webkit-box",
|
|
433
408
|
WebkitLineClamp: e.lines,
|
|
434
409
|
WebkitBoxOrient: "vertical",
|
|
@@ -439,7 +414,7 @@ const We = (e, t, n) => t > n ? n : t < e ? e : t, ne = (e) => e != null && e.li
|
|
|
439
414
|
whiteSpace: "nowrap",
|
|
440
415
|
overflow: "hidden",
|
|
441
416
|
textOverflow: "ellipsis"
|
|
442
|
-
},
|
|
417
|
+
}, Ne = (e) => S(ne(e)), je = S(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]), Me = (e, t = 200) => {
|
|
443
418
|
let n;
|
|
444
419
|
return (...r) => {
|
|
445
420
|
n || (n = !0, e(...r), setTimeout(() => {
|
|
@@ -456,15 +431,15 @@ const We = (e, t, n) => t > n ? n : t < e ? e : t, ne = (e) => e != null && e.li
|
|
|
456
431
|
return i.cancel = () => {
|
|
457
432
|
r && (clearTimeout(r), o = !1, r = null);
|
|
458
433
|
}, i;
|
|
459
|
-
}, re = "0.3s", He = `all ${re} ease`, oe =
|
|
460
|
-
|
|
434
|
+
}, re = "0.3s", He = `all ${re} ease`, oe = $(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]), se = $(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);
|
|
435
|
+
S(["animation:", " ", " ", " forwards;"], ({
|
|
461
436
|
$isOpen: e
|
|
462
437
|
}) => e ? oe : se, ({
|
|
463
438
|
$duration: e = "2.35s"
|
|
464
439
|
}) => e, ({
|
|
465
440
|
$timing: e = "ease"
|
|
466
441
|
}) => e);
|
|
467
|
-
const qe =
|
|
442
|
+
const qe = $(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]), Ke = (e, t = "vertical", n = !0) => {
|
|
468
443
|
const [r, o] = m({
|
|
469
444
|
vertical: !1,
|
|
470
445
|
horizontal: !1
|
|
@@ -497,52 +472,52 @@ const qe = I(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transfor
|
|
|
497
472
|
default:
|
|
498
473
|
return r.vertical;
|
|
499
474
|
}
|
|
500
|
-
}, Qe =
|
|
475
|
+
}, Qe = V("TABLE");
|
|
501
476
|
export {
|
|
502
|
-
|
|
477
|
+
Re as A,
|
|
503
478
|
me as B,
|
|
504
479
|
pe as C,
|
|
505
480
|
He as D,
|
|
506
481
|
z as E,
|
|
507
482
|
M as F,
|
|
508
483
|
Ce as G,
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
484
|
+
we as H,
|
|
485
|
+
ye as I,
|
|
486
|
+
Ee as J,
|
|
487
|
+
Ie as K,
|
|
488
|
+
Le as L,
|
|
489
|
+
N as M,
|
|
515
490
|
Me as N,
|
|
516
|
-
|
|
491
|
+
be as O,
|
|
517
492
|
xe as P,
|
|
518
|
-
|
|
519
|
-
|
|
493
|
+
Ne as Q,
|
|
494
|
+
ge as R,
|
|
520
495
|
Pe as S,
|
|
521
|
-
|
|
496
|
+
Se as T,
|
|
522
497
|
ne as a,
|
|
523
498
|
de as b,
|
|
524
499
|
Y as c,
|
|
525
500
|
fe as d,
|
|
526
|
-
|
|
501
|
+
Ue as e,
|
|
527
502
|
Ke as f,
|
|
528
|
-
|
|
503
|
+
A as g,
|
|
529
504
|
Be as h,
|
|
530
505
|
Te as i,
|
|
531
|
-
|
|
532
|
-
|
|
506
|
+
$e as j,
|
|
507
|
+
ke as k,
|
|
533
508
|
qe as l,
|
|
534
509
|
te as m,
|
|
535
|
-
|
|
510
|
+
Fe as n,
|
|
536
511
|
he as o,
|
|
537
512
|
G as p,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
513
|
+
Ve as q,
|
|
514
|
+
Ae as r,
|
|
515
|
+
We as s,
|
|
541
516
|
ze as t,
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
517
|
+
De as u,
|
|
518
|
+
je as v,
|
|
519
|
+
ve as w,
|
|
520
|
+
_e as x,
|
|
521
|
+
Oe as y,
|
|
547
522
|
Qe as z
|
|
548
523
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";const C=require("react/jsx-runtime"),s=require("react"),T=require("../constants/index.cjs"),h=require("styled-components"),V=require("../shared/utils/debug/index.cjs"),S="xl",v=T.breakPoints,E=s.createContext({breakpoint:S,breakpointConfig:v}),b=e=>t=>`
|
|
2
|
+
@media ${e} {
|
|
3
|
+
${t}
|
|
4
|
+
}
|
|
5
|
+
`,W=e=>({xs:{min:0,max:e.xs-1},s:{min:e.xs+1,max:e.s},m:{min:e.s+1,max:e.m},l:{min:e.m+1,max:e.l},xl:{min:e.l+1,max:e.xl},xxl:{min:e.xl+1,max:1e5}}),A=e=>{const t=W(e);return{up:n=>b(`(min-width: ${t[n].max+1}px)`),down:n=>b(`(max-width: ${t[n].min-1}px)`),only:n=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[n].max}px)`),not:n=>b(`(max-width: ${t[n].min-1}px), (min-width: ${t[n].max+1}px)`),between:(n,r)=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[r].max}px)`),exact:(n,r)=>b(`(min-width: ${n}px) and (max-width: ${r}px)`)}},_=A(v),I=({breakpointConfig:e=v,children:t})=>C.jsx(h.ThemeProvider,{theme:{media:A(e)},children:t}),j=({children:e,breakpointConfig:t=v})=>{const[n,r]=s.useState(S);s.useEffect(()=>{const c=Object.entries(t).map(([i,a])=>({key:i,mql:window.matchMedia(`(max-width: ${a}px)`)})),u=()=>{var a;const i=((a=c.find(({mql:l})=>l.matches))==null?void 0:a.key)||S;r(i)};return u(),c.forEach(({mql:i})=>{i.addEventListener("change",u)}),()=>{c.forEach(({mql:i})=>{i.removeEventListener("change",u)})}},[]);const o=s.useMemo(()=>({breakpoint:n,breakpointConfig:t}),[n,t]);return C.jsx(E.Provider,{value:o,children:C.jsx(I,{breakpointConfig:t,children:e})})},U=()=>{const{breakpoint:e,breakpointConfig:t}=s.useContext(E),n=s.useMemo(()=>({up:r=>t[e]>t[r],down:r=>t[e]<t[r],only:r=>t[e]===t[r],not:r=>t[e]!==t[r],between:(r,o)=>t[e]>t[r]&&t[e]<t[o]}),[e,t]);return{breakpoint:e,...n}};function N(e,t,n,r={}){const o={bubbles:!0,cancelable:!0,composed:!0,...r,detail:n},c=new CustomEvent(t,o);return e.dispatchEvent(c)}const q=null,k=s.createContext(q),H=({children:e,clickStreamInstance:t})=>C.jsx(k.Provider,{value:t,children:e});var R=(e=>(e.START="Start",e.END="End",e.SUCCESS="Success",e.FAILED="Failed",e))(R||{}),B=(e=>(e.BUISINESS="business",e))(B||{});const M=()=>{const e=s.useContext(k);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в ClickStreamProvider");return e},z=(e,t)=>e.join("/").concat(t?`_${t}`:""),K=e=>Object.entries(e).reduce((t,n)=>{if(n[0]&&n[1]){const r={key:n[0],value:n[1]};t.push(r)}return t},[]),Q=e=>Array.isArray(e)?e.join(";"):typeof e=="boolean"?`${e}`:e??"null";function Y(e){function t(){const i=s.useRef(e),a=s.useCallback(()=>i.current,[]),l=s.useRef(new Set),d=s.useCallback(m=>{i.current={...i.current,...m},l.current.forEach(g=>g())},[]),f=s.useCallback(m=>(l.current.add(m),()=>l.current.delete(m)),[]);return{get:a,set:d,subscribe:f}}const n=s.createContext(null);function r({children:i}){return C.jsx(n.Provider,{value:t(),children:i})}function o(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),[i(l),a.set]}function c(){const i=s.useContext(n);if(!i)throw new Error("Store not found");return i.set}function u(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),i(l)}return{Provider:r,useStore:o,useSelector:u,useDispatch:c}}const X=typeof requestAnimationFrame=="function",G=typeof cancelAnimationFrame=="function",J=e=>X?requestAnimationFrame(e):setTimeout(e,0),Z=e=>{G?cancelAnimationFrame(e):clearTimeout(e)},P=e=>{let t=null;return new ResizeObserver((n,r)=>{t!==null&&Z(t),t=J(()=>{t=null,e(n,r)})})},ee=(e,t=200)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}},L=(e,t,n="")=>{const r=[],o=new Map;return e.forEach((c,u)=>{const i=`${n}-${u}`,a=c.value||i,l={...c,value:a};if(t&&o.set(a.toString(),t),c.items){const[d,f]=L(c.items,t,i);f.forEach((m,g)=>o.set(g,m)),l.items=d}r.push(l)}),[r,o]},te=e=>s.useCallback((t,n)=>{const r=e.get(t.value);r==null||r(t,n)},[e]),ne=null,$=s.createContext(ne),re=({children:e,busInstance:t})=>C.jsx($.Provider,{value:t,children:e}),oe=()=>{const e=s.useContext($);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в EventBusProvider");return e},se=()=>{const e=new Uint8Array(16);crypto.getRandomValues(e);const t=Array.from(e).map(o=>o.toString(16).padStart(2,"0")).join(""),n=new Uint8Array(8);crypto.getRandomValues(n);const r=Array.from(n).map(o=>o.toString(16).padStart(2,"0")).join("");return{traceId:t,requestQueryParam:"rq",headers:{"x-b3-traceid":t,"x-b3-spanid":r}}},w=()=>{const e=document.documentElement.getAttribute("data-theme");return e==="dark"?"dark":e==="highContrastLight"?"highContrastLight":"light"},ie=e=>e?h.css(["&&{","}"],e):void 0,x=new Map;function ce(e){const t=`${e}_<space>`;if(x.has(t)){const o=x.get(t);return typeof o=="number"&&o||0}const n=document.createElement("span");n.style.cssText=`
|
|
6
|
+
font: ${e};
|
|
7
|
+
visibility: hidden;
|
|
8
|
+
white-space: pre-wrap;
|
|
9
|
+
position: absolute;
|
|
10
|
+
`,n.textContent=" ",document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),x.set(t,r),r}function ae(e,t){const n=document.createElement("span");n.style.cssText=`
|
|
11
|
+
font: ${t};
|
|
12
|
+
visibility: hidden;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
position: absolute;
|
|
15
|
+
padding: 0;
|
|
16
|
+
margin: 0;
|
|
17
|
+
`,n.textContent=e,document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),r}function D(e,t){if(e===" ")return ce(t);if(e===" ")return D(" ",t)*4;const n=`${t}_${e}`;if(x.has(n)){const o=x.get(n);return typeof o=="number"&&o||0}const r=ae(e,t);return x.set(n,r),r}function ue(e,t,n=0){if(!e)return 0;const r=Array.from(e).reduce((u,i)=>u+D(i,t),0),o=e.length,c=Math.max(o-1,0)*n;return r+c}function le(e,t,n=0){const r=document.createElement("span");r.style.cssText=`
|
|
18
|
+
font: ${t};
|
|
19
|
+
visibility: hidden;
|
|
20
|
+
position: absolute;
|
|
21
|
+
white-space: pre;
|
|
22
|
+
padding: 0;
|
|
23
|
+
margin: 0;
|
|
24
|
+
letter-spacing: ${n}px;
|
|
25
|
+
`,r.textContent=e,document.body.appendChild(r);const o=r.offsetWidth;return document.body.removeChild(r),o}function de(e,t,n=0){return e?le(e,t,n):0}const me=e=>{const t=e.substring(e.indexOf("(")+1,e.indexOf(","));return getComputedStyle(document.body).getPropertyValue(t)},fe=(e,t)=>{const n=t.split(".");let r=e;for(const o of n)if(typeof r=="object"&&r!==null&&o in r)r=r[o];else return;return r},he=e=>T.viewColors[e],pe=()=>{const[e,t]=s.useState(()=>w()??"light");return s.useEffect(()=>{t(w());const n=new MutationObserver(()=>t(w()));return n.observe(document.documentElement,{childList:!1,attributes:!0,attributeFilter:["data-theme"],subtree:!1}),()=>{var r;return(r=n==null?void 0:n.disconnect)==null?void 0:r.call(n)}},[]),e},ge=(e,t)=>{const[n,r]=s.useState(!1),o=s.useRef();return[s.useCallback(function(...u){r(!0),clearTimeout(o.current),o.current=setTimeout(()=>{e.apply(this,u),r(!1)},t)},[t,e]),{debouncing:n}]},be=(e,t=500,n)=>{const[r,o]=s.useState(n??e);return s.useEffect(()=>{const c=setTimeout(()=>{o(e)},t);return()=>{clearTimeout(c)}},[e]),r},p=new Map,xe=e=>!e||p.get(e)==="loaded"?Promise.resolve():new Promise(t=>{const n=new Image;n.onload=()=>{p.set(e,"loaded"),t()},n.onerror=()=>{p.set(e,"error"),t()},n.src=e}),Ce=(e,t=0)=>{const[n,r]=s.useState(()=>e?p.get(e)??"loading":"idle"),[o,c]=s.useState(0),u=s.useRef(e);u.current=e;const i=s.useCallback(()=>{e&&p.delete(e),c(a=>a+1)},[e]);return s.useEffect(()=>{if(!e){r("idle");return}const a=p.get(e);if(a){r(a);return}let l=!0,d;r("loading");const f=g=>{p.set(e,g);const y=()=>{l&&u.current===e&&r(g)};t>0?d=setTimeout(y,t):y()},m=new Image;return m.onload=()=>f("loaded"),m.onerror=()=>f("error"),m.src=e,()=>{l=!1,d&&clearTimeout(d)}},[e,o,t]),{status:n,isLoading:n==="loading",isLoaded:n==="loaded",isError:n==="error",reload:i}},we=typeof window<"u"&&"structuredClone"in window&&typeof window.structuredClone=="function"||typeof globalThis<"u"&&"structuredClone"in globalThis&&typeof globalThis.structuredClone=="function";function F(...e){return e.reduce((t,n)=>(!n||typeof n!="string"||(t=`${t} ${n}`),t),"")}const ve=F;function Se(...e){const t=e.filter(Boolean);return t.length<=1?t[0]||null:function(r){for(const o of t)typeof o=="function"?o(r):o&&(o.current=r)}}const ye=(e,t,n)=>t>n?n:t<e?e:t,O=e=>e!=null&&e.lines&&e.lines>1?{display:"-webkit-box",WebkitLineClamp:e.lines,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"normal"}:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},Te=e=>h.css(O(e)),Ee=h.css(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]),Ae=(e,t=200)=>{let n;return(...r)=>{n||(n=!0,e(...r),setTimeout(()=>{n=!1},t))}},Ie=(e,t=200)=>{let n=null,r=null,o=!1;const c=(...u)=>{n=u,o||(e(...u),o=!0,r=setTimeout(()=>{o=!1,n!==u&&c(...n),r=null},t))};return c.cancel=()=>{r&&(clearTimeout(r),o=!1,r=null)},c},ke="0.3s",Re=`all ${ke} ease`,Be=h.keyframes(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]),Pe=h.keyframes(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);h.css(["animation:"," "," "," forwards;"],({$isOpen:e})=>e?Be:Pe,({$duration:e="2.35s"})=>e,({$timing:e="ease"})=>e);const Le=h.keyframes(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]),$e=(e,t="vertical",n=!0)=>{const[r,o]=s.useState({vertical:!1,horizontal:!1});switch(s.useEffect(()=>{const c=e.current;if(!c)return;const u=()=>{if(!c)return;const a=c.scrollHeight>c.clientHeight,l=c.scrollWidth>c.clientWidth;o(d=>d.vertical!==a||d.horizontal!==l?{vertical:a,horizontal:l}:d)};u();let i;return n&&typeof ResizeObserver<"u"&&(i=P(u),i.observe(c)),()=>{i==null||i.disconnect()}},[e,n]),t){case"vertical":return r.vertical;case"horizontal":return r.horizontal;case"both":return r;default:return r.vertical}},De=V.createDebugLogger("TABLE");exports.BreakpointProvider=j;exports.ClickStreamProvider=H;exports.DEFAULT_TRANSITION=Re;exports.EClickStreamErrorType=B;exports.EClickStreamStatusProcess=R;exports.EventBusProvider=re;exports.MediaProvider=I;exports.bubble=N;exports.clamp=ye;exports.createClickStreamEventValue=z;exports.createSafeResizeObserver=P;exports.createStore=Y;exports.debounce=ee;exports.fadeIn=Le;exports.generateB3Headers=se;exports.getActiveTheme=w;exports.getCssProp=ie;exports.getTextWidth=de;exports.getTextWidthByCache=ue;exports.getTokenValue=me;exports.getValue=fe;exports.getViewColor=he;exports.isStructuredCloneSupported=we;exports.mCls=ve;exports.media=_;exports.mergeClasses=F;exports.mergeRefs=Se;exports.preloadImage=xe;exports.processDropdownItems=L;exports.tableDebug=De;exports.throttle=Ae;exports.throttleWithLastCall=Ie;exports.transformClickStreamProperties=K;exports.transformClickStreamPropertyValuesToString=Q;exports.truncateText=O;exports.truncateTextCss=Te;exports.useActiveTheme=pe;exports.useBreakpoint=U;exports.useClickStream=M;exports.useDebouncedFn=ge;exports.useDebouncedValue=be;exports.useDropdownItemClickHandler=te;exports.useEventBus=oe;exports.useHasScroll=$e;exports.useImageLoader=Ce;exports.visuallyHiddenCss=Ee;
|
|
@@ -1,35 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Cn;function Fe(){if(Cn)return _;Cn=1;var T=Symbol.for("react.fragment");return _.Fragment=T,_.jsxDEV=void 0,_}var R={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-dev-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var En;function me(){return En||(En=1,process.env.NODE_ENV!=="production"&&function(){var T=se,S=Symbol.for("react.element"),An=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),G=Symbol.for("react.provider"),X=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),Bn=Symbol.for("react.offscreen"),H=Symbol.iterator,kn="@@iterator";function wn(n){if(n===null||typeof n!="object")return null;var e=H&&n[H]||n[kn];return typeof e=="function"?e:null}var u=T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(n){{for(var e=arguments.length,a=new Array(e>1?e-1:0),t=1;t<e;t++)a[t-1]=arguments[t];zn("error",n,a)}}function zn(n,e,a){{var t=u.ReactDebugCurrentFrame,i=t.getStackAddendum();i!==""&&(e+="%s",a=a.concat([i]));var l=a.map(function(o){return String(o)});l.unshift("Warning: "+e),Function.prototype.apply.call(console[n],console,l)}}var _n=!1,Rn=!1,Tn=!1,Sn=!1,On=!1,Z;Z=Symbol.for("react.module.reference");function Pn(n){return!!(typeof n=="string"||typeof n=="function"||n===E||n===q||On||n===K||n===O||n===P||Sn||n===Bn||_n||Rn||Tn||typeof n=="object"&&n!==null&&(n.$$typeof===j||n.$$typeof===A||n.$$typeof===G||n.$$typeof===X||n.$$typeof===D||n.$$typeof===Z||n.getModuleId!==void 0))}function jn(n,e,a){var t=n.displayName;if(t)return t;var i=e.displayName||e.name||"";return i!==""?a+"("+i+")":a}function Q(n){return n.displayName||"Context"}function v(n){if(n==null)return null;if(typeof n.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case E:return"Fragment";case An:return"Portal";case q:return"Profiler";case K:return"StrictMode";case O:return"Suspense";case P:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case X:var e=n;return Q(e)+".Consumer";case G:var a=n;return Q(a._context)+".Provider";case D:return jn(n,n.render,"ForwardRef");case A:var t=n.displayName||null;return t!==null?t:v(n.type)||"Memo";case j:{var i=n,l=i._payload,o=i._init;try{return v(o(l))}catch{return null}}}return null}var c=Object.assign,b=0,nn,en,an,tn,rn,on,ln;function sn(){}sn.__reactDisabledLog=!0;function In(){{if(b===0){nn=console.log,en=console.info,an=console.warn,tn=console.error,rn=console.group,on=console.groupCollapsed,ln=console.groupEnd;var n={configurable:!0,enumerable:!0,value:sn,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}b++}}function $n(){{if(b--,b===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:c({},n,{value:nn}),info:c({},n,{value:en}),warn:c({},n,{value:an}),error:c({},n,{value:tn}),group:c({},n,{value:rn}),groupCollapsed:c({},n,{value:on}),groupEnd:c({},n,{value:ln})})}b<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var I=u.ReactCurrentDispatcher,$;function B(n,e,a){{if($===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);$=t&&t[1]||""}return`
|
|
18
|
-
`+$+n}}var W=!1,k;{var Wn=typeof WeakMap=="function"?WeakMap:Map;k=new Wn}function Fn(n,e){if(!n||W)return"";{var a=k.get(n);if(a!==void 0)return a}var t;W=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var l;l=I.current,I.current=null,In();try{if(e){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(d){t=d}Reflect.construct(n,[],o)}else{try{o.call()}catch(d){t=d}n.call(o.prototype)}}else{try{throw Error()}catch(d){t=d}n()}}catch(d){if(d&&t&&typeof d.stack=="string"){for(var r=d.stack.split(`
|
|
19
|
-
`),p=t.stack.split(`
|
|
20
|
-
`),s=r.length-1,F=p.length-1;s>=1&&F>=0&&r[s]!==p[F];)F--;for(;s>=1&&F>=0;s--,F--)if(r[s]!==p[F]){if(s!==1||F!==1)do if(s--,F--,F<0||r[s]!==p[F]){var h=`
|
|
21
|
-
`+r[s].replace(" at new "," at ");return n.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",n.displayName)),typeof n=="function"&&k.set(n,h),h}while(s>=1&&F>=0);break}}}finally{W=!1,I.current=l,$n(),Error.prepareStackTrace=i}var g=n?n.displayName||n.name:"",y=g?B(g):"";return typeof n=="function"&&k.set(n,y),y}function Yn(n,e,a){return Fn(n,!1)}function Vn(n){var e=n.prototype;return!!(e&&e.isReactComponent)}function w(n,e,a){if(n==null)return"";if(typeof n=="function")return Fn(n,Vn(n));if(typeof n=="string")return B(n);switch(n){case O:return B("Suspense");case P:return B("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case D:return Yn(n.render);case A:return w(n.type,e,a);case j:{var t=n,i=t._payload,l=t._init;try{return w(l(i),e,a)}catch{}}}return""}var x=Object.prototype.hasOwnProperty,mn={},pn=u.ReactDebugCurrentFrame;function z(n){if(n){var e=n._owner,a=w(n.type,n._source,e?e.type:null);pn.setExtraStackFrame(a)}else pn.setExtraStackFrame(null)}function Mn(n,e,a,t,i){{var l=Function.call.bind(x);for(var o in n)if(l(n,o)){var r=void 0;try{if(typeof n[o]!="function"){var p=Error((t||"React class")+": "+a+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}r=n[o](e,o,t,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){r=s}r&&!(r instanceof Error)&&(z(i),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",t||"React class",a,o,typeof r),z(null)),r instanceof Error&&!(r.message in mn)&&(mn[r.message]=!0,z(i),m("Failed %s type: %s",a,r.message),z(null))}}}var Ln=Array.isArray;function Y(n){return Ln(n)}function Un(n){{var e=typeof Symbol=="function"&&Symbol.toStringTag,a=e&&n[Symbol.toStringTag]||n.constructor.name||"Object";return a}}function Nn(n){try{return dn(n),!1}catch{return!0}}function dn(n){return""+n}function hn(n){if(Nn(n))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Un(n)),dn(n)}var C=u.ReactCurrentOwner,Jn={key:!0,ref:!0,__self:!0,__source:!0},vn,cn,V;V={};function Kn(n){if(x.call(n,"ref")){var e=Object.getOwnPropertyDescriptor(n,"ref").get;if(e&&e.isReactWarning)return!1}return n.ref!==void 0}function qn(n){if(x.call(n,"key")){var e=Object.getOwnPropertyDescriptor(n,"key").get;if(e&&e.isReactWarning)return!1}return n.key!==void 0}function Gn(n,e){if(typeof n.ref=="string"&&C.current&&e&&C.current.stateNode!==e){var a=v(C.current.type);V[a]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',v(C.current.type),n.ref),V[a]=!0)}}function Xn(n,e){{var a=function(){vn||(vn=!0,m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",e))};a.isReactWarning=!0,Object.defineProperty(n,"key",{get:a,configurable:!0})}}function Hn(n,e){{var a=function(){cn||(cn=!0,m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",e))};a.isReactWarning=!0,Object.defineProperty(n,"ref",{get:a,configurable:!0})}}var Zn=function(n,e,a,t,i,l,o){var r={$$typeof:S,type:n,key:e,ref:a,props:o,_owner:l};return r._store={},Object.defineProperty(r._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(r,"_self",{configurable:!1,enumerable:!1,writable:!1,value:t}),Object.defineProperty(r,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(r.props),Object.freeze(r)),r};function Qn(n,e,a,t,i){{var l,o={},r=null,p=null;a!==void 0&&(hn(a),r=""+a),qn(e)&&(hn(e.key),r=""+e.key),Kn(e)&&(p=e.ref,Gn(e,i));for(l in e)x.call(e,l)&&!Jn.hasOwnProperty(l)&&(o[l]=e[l]);if(n&&n.defaultProps){var s=n.defaultProps;for(l in s)o[l]===void 0&&(o[l]=s[l])}if(r||p){var F=typeof n=="function"?n.displayName||n.name||"Unknown":n;r&&Xn(o,F),p&&Hn(o,F)}return Zn(n,r,p,i,t,C.current,o)}}var M=u.ReactCurrentOwner,yn=u.ReactDebugCurrentFrame;function f(n){if(n){var e=n._owner,a=w(n.type,n._source,e?e.type:null);yn.setExtraStackFrame(a)}else yn.setExtraStackFrame(null)}var L;L=!1;function U(n){return typeof n=="object"&&n!==null&&n.$$typeof===S}function un(){{if(M.current){var n=v(M.current.type);if(n)return`
|
|
22
|
-
|
|
23
|
-
Check the render method of \``+n+"`."}return""}}function ne(n){{if(n!==void 0){var e=n.fileName.replace(/^.*[\\\/]/,""),a=n.lineNumber;return`
|
|
24
|
-
|
|
25
|
-
Check your code at `+e+":"+a+"."}return""}}var fn={};function ee(n){{var e=un();if(!e){var a=typeof n=="string"?n:n.displayName||n.name;a&&(e=`
|
|
26
|
-
|
|
27
|
-
Check the top-level render call using <`+a+">.")}return e}}function gn(n,e){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var a=ee(e);if(fn[a])return;fn[a]=!0;var t="";n&&n._owner&&n._owner!==M.current&&(t=" It was passed a child from "+v(n._owner.type)+"."),f(n),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,t),f(null)}}function bn(n,e){{if(typeof n!="object")return;if(Y(n))for(var a=0;a<n.length;a++){var t=n[a];U(t)&&gn(t,e)}else if(U(n))n._store&&(n._store.validated=!0);else if(n){var i=wn(n);if(typeof i=="function"&&i!==n.entries)for(var l=i.call(n),o;!(o=l.next()).done;)U(o.value)&&gn(o.value,e)}}}function ae(n){{var e=n.type;if(e==null||typeof e=="string")return;var a;if(typeof e=="function")a=e.propTypes;else if(typeof e=="object"&&(e.$$typeof===D||e.$$typeof===A))a=e.propTypes;else return;if(a){var t=v(e);Mn(a,n.props,"prop",t,n)}else if(e.PropTypes!==void 0&&!L){L=!0;var i=v(e);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof e.getDefaultProps=="function"&&!e.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function te(n){{for(var e=Object.keys(n.props),a=0;a<e.length;a++){var t=e[a];if(t!=="children"&&t!=="key"){f(n),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",t),f(null);break}}n.ref!==null&&(f(n),m("Invalid attribute `ref` supplied to `React.Fragment`."),f(null))}}var xn={};function re(n,e,a,t,i,l){{var o=Pn(n);if(!o){var r="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(r+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=ne(i);p?r+=p:r+=un();var s;n===null?s="null":Y(n)?s="array":n!==void 0&&n.$$typeof===S?(s="<"+(v(n.type)||"Unknown")+" />",r=" Did you accidentally export a JSX literal instead of a component?"):s=typeof n,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,r)}var F=Qn(n,e,a,i,l);if(F==null)return F;if(o){var h=e.children;if(h!==void 0)if(t)if(Y(h)){for(var g=0;g<h.length;g++)bn(h[g],n);Object.freeze&&Object.freeze(h)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else bn(h,n)}if(x.call(e,"key")){var y=v(n),d=Object.keys(e).filter(function(le){return le!=="key"}),N=d.length>0?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}";if(!xn[y+N]){var ie=d.length>0?"{"+d.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
|
|
28
|
-
let props = %s;
|
|
29
|
-
<%s {...props} />
|
|
30
|
-
React keys must be passed directly to JSX without using spread:
|
|
31
|
-
let props = %s;
|
|
32
|
-
<%s key={someKey} {...props} />`,N,y,ie,y),xn[y+N]=!0}}return n===E?te(F):ae(F),F}}var oe=re;R.Fragment=E,R.jsxDEV=oe}()),R}process.env.NODE_ENV==="production"?J.exports=Fe():J.exports=me();var pe=J.exports,Dn={};Object.defineProperty(Dn,"__esModule",{value:!0});var de=[`
|
|
1
|
+
var n = {};
|
|
2
|
+
Object.defineProperty(n, "__esModule", { value: !0 });
|
|
3
|
+
var e = [`
|
|
33
4
|
:root {
|
|
34
5
|
--on-dark-outline-read-only-active: #F8F9FC12;
|
|
35
6
|
--data-blue-minor: #0D3B59;
|
|
@@ -1978,4 +1949,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1978
1949
|
--plasma-typo-text-xs-font-weight: 400;
|
|
1979
1950
|
--plasma-typo-text-xs-line-height: 1rem;
|
|
1980
1951
|
}
|
|
1981
|
-
}`],
|
|
1952
|
+
}`], a = n.sdds_finai_high_contrast__dark = e;
|
|
1953
|
+
export {
|
|
1954
|
+
a as s
|
|
1955
|
+
};
|