@daisforge/ui 1.12.0 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AnalyticalWidget-CBi-2MtJ.mjs +528 -0
- package/chunks/AnalyticalWidget-fBDe37Ur.cjs +43 -0
- package/chunks/ApprovalCenter-ClCoA3cr.mjs +176 -0
- package/chunks/ApprovalCenter-oACSjXxE.cjs +1 -0
- package/chunks/BlockTitle-CylSY2DM.cjs +1 -0
- package/chunks/BlockTitle-DTaIqiFF.mjs +85 -0
- package/chunks/Container-CV4sT-bB.mjs +117 -0
- package/chunks/Container-D8Bcg69e.cjs +17 -0
- package/chunks/EmptyState-BD6Ic-OX.cjs +1 -0
- package/chunks/EmptyState-Bct6Wrxv.mjs +459 -0
- package/chunks/FiltersActions-C3yWFtQT.mjs +429 -0
- package/chunks/FiltersActions-D1aQXh5d.cjs +1 -0
- package/chunks/FormDatePickers-BefllAQ_.cjs +1 -0
- package/chunks/FormDatePickers-_soI8Uaa.mjs +503 -0
- package/chunks/FormSegmentGroup-C8kROjlQ.mjs +168 -0
- package/chunks/FormSegmentGroup-DIaBZRWv.cjs +1 -0
- package/chunks/FormTextArea-BBYV56iU.mjs +107 -0
- package/chunks/FormTextArea-C7KG9PXC.cjs +1 -0
- package/chunks/GridDND-BP_H26We.cjs +1 -0
- package/chunks/GridDND-rVSi0xX1.mjs +852 -0
- package/chunks/LeftPanel-CgexykUg.cjs +1 -0
- package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
- package/chunks/ListOfFilters-DgInAZFi.cjs +1 -0
- package/chunks/ListOfFilters-IEPKSKxx.mjs +243 -0
- package/chunks/MassActions-BCgI08G9.cjs +1 -0
- package/chunks/MassActions-D4nb1_gx.mjs +966 -0
- package/chunks/PageTitle-B0tuR3fU.mjs +123 -0
- package/chunks/PageTitle-BC0PnHgQ.cjs +1 -0
- package/chunks/SplitView-C8de8YKV.mjs +236 -0
- package/chunks/SplitView-OUGciQ51.cjs +12 -0
- package/chunks/Stories--_pE4YtR.mjs +668 -0
- package/chunks/Stories-Dvh6rMeV.cjs +1 -0
- package/chunks/Table-Bj2se1hR.mjs +7757 -0
- package/chunks/Table-CnWVNNoW.cjs +31 -0
- package/chunks/TableCanvas-Y53zQ7M0.mjs +11857 -0
- package/chunks/TableCanvas-eYhmqTbp.cjs +30 -0
- package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-CuBMIM6Q.mjs} +1417 -1554
- package/chunks/TableGlide-CvMz7x7a.cjs +1 -0
- package/chunks/styles-Dd4uEa27.mjs +128 -0
- package/chunks/styles-kPI9R7DO.cjs +2 -0
- package/chunks/{utils-BNelzuI-.mjs → utils-C5SQhoON.mjs} +126 -151
- package/chunks/utils-DKi1rqLX.cjs +25 -0
- package/chunks/{vendor-D8Dozc4m.cjs → vendor-BauZZ2hr.mjs} +7 -33
- package/chunks/{vendor-BG4P-329.mjs → vendor-C47eH0xy.cjs} +2 -634
- package/components/AiAgentPopover/index.cjs +2 -2
- package/components/AiAgentPopover/index.mjs +248 -373
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.mjs +1 -1
- package/components/ApprovalCenter/components/index.cjs +1 -1
- package/components/ApprovalCenter/components/index.mjs +1 -1
- package/components/ApprovalCenter/index.cjs +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- package/components/Autocomplete/index.cjs +1 -1
- package/components/Autocomplete/index.mjs +22 -35
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +33 -83
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +41 -53
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Box/index.mjs +17 -7
- package/components/Collapse/index.cjs +1 -1
- package/components/Collapse/index.mjs +41 -62
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/DatePicker/index.cjs +1 -1
- package/components/DatePicker/index.mjs +21 -59
- package/components/DrawerDF/index.cjs +1 -1
- package/components/DrawerDF/index.mjs +144 -391
- package/components/EmptyState/components/index.cjs +1 -1
- package/components/EmptyState/components/index.mjs +1 -1
- package/components/EmptyState/index.cjs +1 -1
- package/components/EmptyState/index.mjs +1 -1
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.mjs +49 -112
- package/components/IconSvgSprite/index.cjs +1 -1
- package/components/IconSvgSprite/index.mjs +13 -49
- package/components/LeftPanel/components/index.cjs +1 -1
- package/components/LeftPanel/components/index.mjs +1 -1
- package/components/LeftPanel/hooks/index.cjs +1 -1
- package/components/LeftPanel/hooks/index.mjs +1 -1
- package/components/LeftPanel/index.cjs +1 -1
- package/components/LeftPanel/index.mjs +1 -1
- package/components/LeftPanel/utils/index.cjs +1 -1
- package/components/LeftPanel/utils/index.mjs +1 -1
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/MassActionsStatic/index.cjs +2 -2
- package/components/MassActionsStatic/index.mjs +13 -34
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +169 -381
- package/components/ModalDFConfirmation/index.cjs +1 -1
- package/components/ModalDFConfirmation/index.mjs +66 -114
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +16 -22
- package/components/NumberFormat/index.cjs +1 -1
- package/components/NumberFormat/index.mjs +24 -37
- package/components/NumberFormatAmount/index.cjs +1 -1
- package/components/NumberFormatAmount/index.mjs +12 -27
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.mjs +1 -1
- package/components/PageTitle/utils/index.cjs +1 -1
- package/components/PageTitle/utils/index.mjs +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.mjs +125 -261
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.mjs +141 -308
- package/components/SplitView/index.cjs +1 -1
- package/components/SplitView/index.mjs +1 -1
- package/components/SplitView/utils/index.cjs +1 -1
- package/components/SplitView/utils/index.mjs +1 -1
- package/components/Stories/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +1 -1
- package/components/Table/feature-columns-grouping/index.cjs +1 -1
- package/components/Table/feature-columns-grouping/index.mjs +1 -1
- package/components/Table/feature-context-menu/index.cjs +1 -1
- package/components/Table/feature-context-menu/index.mjs +1 -1
- package/components/Table/feature-edit/index.cjs +1 -1
- package/components/Table/feature-edit/index.mjs +1 -1
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.mjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-right-sidebar/index.cjs +1 -1
- package/components/Table/feature-right-sidebar/index.mjs +1 -1
- package/components/Table/feature-row-detail/index.cjs +1 -1
- package/components/Table/feature-row-detail/index.mjs +1 -1
- package/components/Table/feature-row-instruments/index.cjs +1 -1
- package/components/Table/feature-row-instruments/index.mjs +1 -1
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +1 -1
- package/components/Table/feature-rows-grouping/index.cjs +1 -1
- package/components/Table/feature-rows-grouping/index.mjs +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-table-settings/index.cjs +1 -1
- package/components/Table/feature-table-settings/index.mjs +1 -1
- package/components/Table/feature-tree/index.cjs +1 -1
- package/components/Table/feature-tree/index.mjs +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.mjs +1 -1
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +1 -1
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +1 -1
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/index.cjs +1 -1
- package/components/Table/widgets/control-block/index.mjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +3 -3
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +1 -1
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +1 -1
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-table-settings/TableSettingsWithTabs.d.ts +25 -2
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.d.ts +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +3 -2
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +2 -2
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +1 -1
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/table-config.type.d.ts +4 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableContract/index.cjs +2 -2
- package/components/TableContract/index.mjs +540 -798
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +136 -305
- package/components/TextArea/index.cjs +1 -1
- package/components/TextArea/index.mjs +26 -40
- package/components/TextField/index.cjs +1 -1
- package/components/TextField/index.mjs +38 -82
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/index.cjs +15 -15
- package/components/TourWidget/index.mjs +176 -371
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +151 -363
- package/formComponents/FormAutocomplete/index.cjs +1 -1
- package/formComponents/FormAutocomplete/index.mjs +63 -68
- package/formComponents/FormCheckbox/index.cjs +1 -1
- package/formComponents/FormCheckbox/index.mjs +27 -55
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +61 -75
- package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
- package/formComponents/FormDatePickers/index.cjs +1 -1
- package/formComponents/FormDatePickers/index.mjs +1 -1
- package/formComponents/FormMask/index.cjs +1 -1
- package/formComponents/FormMask/index.mjs +61 -66
- package/formComponents/FormNumberFormat/index.cjs +1 -1
- package/formComponents/FormNumberFormat/index.mjs +56 -68
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +71 -144
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSelect/index.cjs +1 -1
- package/formComponents/FormSelect/index.mjs +62 -76
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +25 -53
- package/formComponents/FormTextArea/index.cjs +1 -1
- package/formComponents/FormTextArea/index.mjs +1 -1
- package/formComponents/FormTextArea/ui/index.cjs +1 -1
- package/formComponents/FormTextArea/ui/index.mjs +1 -1
- package/formComponents/FormTextField/index.cjs +1 -1
- package/formComponents/FormTextField/index.mjs +70 -101
- package/index.cjs +1 -1
- package/index.mjs +21 -21
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.mjs +1 -1
- package/layouts/Container/lib/utils/index.cjs +1 -1
- package/layouts/Container/lib/utils/index.mjs +1 -1
- package/layouts/ErrorPage/index.cjs +1 -1
- package/layouts/ErrorPage/index.mjs +81 -146
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/layouts/Layout/index.cjs +5 -5
- package/layouts/Layout/index.mjs +78 -115
- package/layouts/PageLayout/index.cjs +2 -2
- package/layouts/PageLayout/index.mjs +15 -32
- package/mixins/index.cjs +1 -1
- package/mixins/index.mjs +1 -1
- package/package.json +1 -1
- package/shared/ui/Search/index.cjs +1 -1
- package/shared/ui/Search/index.mjs +30 -52
- package/shared/utils/inputs/index.cjs +1 -1
- package/shared/utils/inputs/index.mjs +33 -48
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/themes/index.cjs +1 -1
- package/themes/index.mjs +1 -1
- package/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.mjs +1 -1
- package/utils/clickStream/index.cjs +1 -1
- package/utils/clickStream/index.mjs +1 -1
- package/utils/eventBus/index.cjs +1 -1
- package/utils/eventBus/index.mjs +1 -1
- package/utils/hooks/index.cjs +1 -1
- package/utils/hooks/index.mjs +1 -1
- package/utils/index.cjs +1 -1
- package/utils/index.mjs +1 -1
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-Ca_EuSTO.mjs +0 -868
- package/chunks/AnalyticalWidget-xgvWcsXx.cjs +0 -43
- package/chunks/ApprovalCenter-4aJlJfei.mjs +0 -531
- package/chunks/ApprovalCenter-Ij5NMkY-.cjs +0 -1
- package/chunks/BlockTitle-CgXVHok6.mjs +0 -180
- package/chunks/BlockTitle-SaP9H2PI.cjs +0 -1
- package/chunks/Container-ChuCs63G.cjs +0 -17
- package/chunks/Container-D8RdjkGo.mjs +0 -180
- package/chunks/EmptyState-BxUh2dhY.cjs +0 -1
- package/chunks/EmptyState-C0aHgxrn.mjs +0 -615
- package/chunks/FiltersActions-BekNxF-h.cjs +0 -1
- package/chunks/FiltersActions-CSucE-Ql.mjs +0 -637
- package/chunks/FormDatePickers-BCyW24Pr.cjs +0 -1
- package/chunks/FormDatePickers-DfdGdbwP.mjs +0 -538
- package/chunks/FormSegmentGroup-BKuHtPEn.cjs +0 -1
- package/chunks/FormSegmentGroup-DqFMVBr0.mjs +0 -268
- package/chunks/FormTextArea-CCrYx4pL.mjs +0 -159
- package/chunks/FormTextArea-sly1mY7h.cjs +0 -1
- package/chunks/GridDND-Bycwiynh.mjs +0 -1086
- package/chunks/GridDND-MsZt1fXJ.cjs +0 -1
- package/chunks/LeftPanel-C72uosX_.mjs +0 -303
- package/chunks/LeftPanel-Di-IqpZ_.cjs +0 -1
- package/chunks/ListOfFilters-B3bM1n4w.cjs +0 -1
- package/chunks/ListOfFilters-CPJGgMMc.mjs +0 -462
- package/chunks/MassActions-BbAXi3z9.cjs +0 -1
- package/chunks/MassActions-CZm8vqj8.mjs +0 -1352
- package/chunks/PageTitle-DEsijnDg.cjs +0 -1
- package/chunks/PageTitle-TusD1S2c.mjs +0 -282
- package/chunks/SplitView-BHdftJ9A.cjs +0 -12
- package/chunks/SplitView-Cd-xkxCe.mjs +0 -339
- package/chunks/Stories-CR_EUNO7.mjs +0 -1018
- package/chunks/Stories-CxsYx2OE.cjs +0 -1
- package/chunks/Table--05ONCr1.cjs +0 -31
- package/chunks/Table-l-P3NNUN.mjs +0 -11944
- package/chunks/TableCanvas-D-sndY82.cjs +0 -30
- package/chunks/TableCanvas-D4Bck7wv.mjs +0 -16900
- package/chunks/TableGlide-CbvaAM_H.cjs +0 -1
- package/chunks/styles-D8FDGdVz.mjs +0 -240
- package/chunks/styles-OR0WE1xm.cjs +0 -2
- package/chunks/utils-C93a2mD7.cjs +0 -25
|
@@ -1,76 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NumberFormat as
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { NumberFormat as O } from "../../components/NumberFormat/index.mjs";
|
|
3
3
|
import { Controller as j } from "react-hook-form";
|
|
4
|
-
import { getPriorityRequired as
|
|
5
|
-
const
|
|
6
|
-
name:
|
|
7
|
-
label:
|
|
8
|
-
options:
|
|
9
|
-
onChange:
|
|
10
|
-
onBlur:
|
|
11
|
-
view:
|
|
12
|
-
isAllowed:
|
|
13
|
-
leftHelper:
|
|
14
|
-
ref:
|
|
15
|
-
required:
|
|
16
|
-
...
|
|
4
|
+
import { getPriorityRequired as y, useChangedFormContext as H } from "../utils/index.mjs";
|
|
5
|
+
const z = ({
|
|
6
|
+
name: w,
|
|
7
|
+
label: a,
|
|
8
|
+
options: t,
|
|
9
|
+
onChange: o,
|
|
10
|
+
onBlur: i,
|
|
11
|
+
view: s,
|
|
12
|
+
isAllowed: n,
|
|
13
|
+
leftHelper: x,
|
|
14
|
+
ref: I,
|
|
15
|
+
required: F,
|
|
16
|
+
...C
|
|
17
17
|
}) => {
|
|
18
18
|
const u = {
|
|
19
|
-
...
|
|
20
|
-
required:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
{
|
|
35
|
-
...n,
|
|
36
|
-
label: F,
|
|
37
|
-
ref: v,
|
|
38
|
-
value: k,
|
|
39
|
-
isAllowed: (e) => s ? s(e) : !0,
|
|
40
|
-
onChange: (e, o) => {
|
|
41
|
-
var f;
|
|
42
|
-
const d = (o == null ? void 0 : o.value) ?? ((f = e == null ? void 0 : e.target) == null ? void 0 : f.value) ?? "";
|
|
43
|
-
n.onChange(d), i == null || i(d, a);
|
|
44
|
-
},
|
|
45
|
-
onBlur: (e) => {
|
|
46
|
-
n.onBlur(), t == null || t(e);
|
|
47
|
-
},
|
|
48
|
-
leftHelper: (r == null ? void 0 : r.message) || l,
|
|
49
|
-
view: r != null && r.message ? "negative" : b ?? "default",
|
|
50
|
-
required: !!u.required || void 0,
|
|
51
|
-
hasRequiredIndicator: !!u.required || void 0,
|
|
52
|
-
...x
|
|
53
|
-
},
|
|
54
|
-
void 0,
|
|
55
|
-
!1,
|
|
56
|
-
{
|
|
57
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormNumberFormat/FormNumberFormat.tsx",
|
|
58
|
-
lineNumber: 41,
|
|
59
|
-
columnNumber: 7
|
|
60
|
-
},
|
|
61
|
-
void 0
|
|
62
|
-
)
|
|
19
|
+
...t,
|
|
20
|
+
required: y({
|
|
21
|
+
options: t,
|
|
22
|
+
ruleName: "required"
|
|
23
|
+
}) ? t == null ? void 0 : t.required : F
|
|
24
|
+
}, d = H(u), {
|
|
25
|
+
control: N,
|
|
26
|
+
rules: b,
|
|
27
|
+
remOptions: l
|
|
28
|
+
} = d;
|
|
29
|
+
return /* @__PURE__ */ g(j, { control: N, name: w, rules: b, ...l, render: ({
|
|
30
|
+
field: {
|
|
31
|
+
value: p,
|
|
32
|
+
ref: v,
|
|
33
|
+
...f
|
|
63
34
|
},
|
|
64
|
-
|
|
65
|
-
|
|
35
|
+
fieldState: {
|
|
36
|
+
error: r
|
|
37
|
+
}
|
|
38
|
+
}) => /* @__PURE__ */ g(
|
|
39
|
+
O,
|
|
66
40
|
{
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
41
|
+
...f,
|
|
42
|
+
label: a,
|
|
43
|
+
ref: v,
|
|
44
|
+
value: p,
|
|
45
|
+
isAllowed: (e) => n ? n(e) : !0,
|
|
46
|
+
onChange: (e, m) => {
|
|
47
|
+
var c;
|
|
48
|
+
const q = (m == null ? void 0 : m.value) ?? ((c = e == null ? void 0 : e.target) == null ? void 0 : c.value) ?? "";
|
|
49
|
+
f.onChange(q), o == null || o(q, d);
|
|
50
|
+
},
|
|
51
|
+
onBlur: (e) => {
|
|
52
|
+
f.onBlur(), i == null || i(e);
|
|
53
|
+
},
|
|
54
|
+
leftHelper: (r == null ? void 0 : r.message) || x,
|
|
55
|
+
view: r != null && r.message ? "negative" : s ?? "default",
|
|
56
|
+
required: !!u.required || void 0,
|
|
57
|
+
hasRequiredIndicator: !!u.required || void 0,
|
|
58
|
+
...C
|
|
59
|
+
}
|
|
60
|
+
) });
|
|
73
61
|
};
|
|
74
62
|
export {
|
|
75
|
-
|
|
63
|
+
z as FormNumberFormat
|
|
76
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("@salutejs/sdds-finai"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("@salutejs/sdds-finai"),t=require("react/jsx-runtime"),E=require("../../components/TextField/index.cjs"),C=require("../../constants/index.cjs"),i=require("styled-components"),L=require("../../chunks/utils-DKi1rqLX.cjs"),q=require("react"),O=require("react-hook-form"),v=require("../utils/index.cjs"),n={hiddenInput:"form-group-box-hidden-text-field",groupBoxContainer:"form-group-box-container"},p={spaceX8:()=>C.s.x8,spaceX12:()=>C.s.x12},V=i(m.RadioGroup).withConfig({displayName:"styled__FormRadioGroupStyled"})(["--form-group-box-container-gap:",";width:100%;display:flex;flex-direction:column;gap:",";& .","{"," display:flex;flex-direction:",";gap:var(--form-group-box-container-gap);}"],p.spaceX8,p.spaceX8,n.groupBoxContainer,({$mode:o})=>o&&i.css(["--form-group-box-container-gap:",";"],p.spaceX12),({$mode:o})=>o??"column"),$=i(m.Radiobox).withConfig({displayName:"styled__FormRadioboxStyled"})(["",""],({$isError:o})=>o&&i.css([".radiobox-trigger{border:1px solid red;}"])),M=i(E.TextField).withConfig({displayName:"styled__HiddenTextField"})(["&&.","{.input-wrapper,.input-wrapper *{pointer-events:none;max-height:0;overflow:hidden;padding:0;margin:0;}}& > div{margin-bottom:0;}"],n.hiddenInput),w=({name:o,value:a,...s})=>t.jsx($,{...s,name:o,value:a,"data-component":"FormRadiobox"});w.displayName="FormRadiobox";const P=({name:o,children:a,options:s,onChange:d,label:u,hintText:j,hintHasArrow:N=!0,hintTrigger:S="hover",titleCaption:x,radioGroupMode:h,size:G="s",...T})=>{const c=v.useChangedFormContext(s),{control:X,rules:_,remOptions:B}=c;return t.jsx(O.Controller,{control:X,name:o,rules:_,...B,render:({field:{onChange:I,value:l,...H},fieldState:{error:r}})=>t.jsxs(V,{...H,...T,$mode:h,children:[(u||x)&&t.jsx(M,{required:v.getIsRequired(s),label:u,value:l,hintHasArrow:N,hintText:j??"",hintTrigger:S,className:n.hiddenInput,titleCaption:x,size:G}),t.jsx("div",{className:n.groupBoxContainer,children:q.Children.map(a,e=>{var g,f,b,y,F;if(q.isValidElement(e)){if(!(((g=e.props["data-component"])==null?void 0:g.toLowerCase())==="formradiobox"||((b=(f=e.type)==null?void 0:f.displayName)==null?void 0:b.toLowerCase())==="formradiobox"||((F=(y=e.type)==null?void 0:y.target)==null?void 0:F.displayName)==="formradiobox"))return e;const k=e.type;return t.jsx(k,{...e.props,name:o,checked:e.props.value===l,onChange:R=>{I(R.target.value),d==null||d(R.target.value,c)},$isError:!!(r!=null&&r.message)})}return null})}),t.jsx(m.BodyXS,{color:L.getViewColor("negative"),children:r==null?void 0:r.message})]})})};exports.FormRadioGroup=P;exports.FormRadiobox=w;
|
|
@@ -1,157 +1,84 @@
|
|
|
1
|
-
import { RadioGroup as
|
|
2
|
-
import {
|
|
3
|
-
import { TextField as
|
|
1
|
+
import { RadioGroup as E, Radiobox as H, BodyXS as L } from "@salutejs/sdds-finai";
|
|
2
|
+
import { jsx as t, jsxs as V } from "react/jsx-runtime";
|
|
3
|
+
import { TextField as $ } from "../../components/TextField/index.mjs";
|
|
4
4
|
import { s as F } from "../../constants/index.mjs";
|
|
5
|
-
import
|
|
6
|
-
import { A as
|
|
7
|
-
import
|
|
8
|
-
import { Controller as
|
|
9
|
-
import { useChangedFormContext as
|
|
10
|
-
const
|
|
5
|
+
import m, { css as w } from "styled-components";
|
|
6
|
+
import { A as k } from "../../chunks/utils-C5SQhoON.mjs";
|
|
7
|
+
import C from "react";
|
|
8
|
+
import { Controller as A } from "react-hook-form";
|
|
9
|
+
import { useChangedFormContext as O, getIsRequired as z } from "../utils/index.mjs";
|
|
10
|
+
const a = {
|
|
11
11
|
hiddenInput: "form-group-box-hidden-text-field",
|
|
12
12
|
groupBoxContainer: "form-group-box-container"
|
|
13
|
-
},
|
|
13
|
+
}, p = {
|
|
14
14
|
spaceX8: () => F.x8,
|
|
15
15
|
spaceX12: () => F.x12
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
...a,
|
|
36
|
-
name: o,
|
|
37
|
-
value: n,
|
|
38
|
-
"data-component": "FormRadiobox"
|
|
39
|
-
},
|
|
40
|
-
void 0,
|
|
41
|
-
!1,
|
|
42
|
-
{
|
|
43
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormRadioGroupBox/FormRadiobox.tsx",
|
|
44
|
-
lineNumber: 7,
|
|
45
|
-
columnNumber: 1
|
|
46
|
-
},
|
|
47
|
-
void 0
|
|
48
|
-
);
|
|
49
|
-
K.displayName = "FormRadiobox";
|
|
50
|
-
const ro = ({
|
|
16
|
+
}, D = m(E).withConfig({
|
|
17
|
+
displayName: "styled__FormRadioGroupStyled"
|
|
18
|
+
})(["--form-group-box-container-gap:", ";width:100%;display:flex;flex-direction:column;gap:", ";& .", "{", " display:flex;flex-direction:", ";gap:var(--form-group-box-container-gap);}"], p.spaceX8, p.spaceX8, a.groupBoxContainer, ({
|
|
19
|
+
$mode: o
|
|
20
|
+
}) => o && w(["--form-group-box-container-gap:", ";"], p.spaceX12), ({
|
|
21
|
+
$mode: o
|
|
22
|
+
}) => o ?? "column"), J = m(H).withConfig({
|
|
23
|
+
displayName: "styled__FormRadioboxStyled"
|
|
24
|
+
})(["", ""], ({
|
|
25
|
+
$isError: o
|
|
26
|
+
}) => o && w([".radiobox-trigger{border:1px solid red;}"])), K = m($).withConfig({
|
|
27
|
+
displayName: "styled__HiddenTextField"
|
|
28
|
+
})(["&&.", "{.input-wrapper,.input-wrapper *{pointer-events:none;max-height:0;overflow:hidden;padding:0;margin:0;}}& > div{margin-bottom:0;}"], a.hiddenInput), M = ({
|
|
29
|
+
name: o,
|
|
30
|
+
value: n,
|
|
31
|
+
...i
|
|
32
|
+
}) => /* @__PURE__ */ t(J, { ...i, name: o, value: n, "data-component": "FormRadiobox" });
|
|
33
|
+
M.displayName = "FormRadiobox";
|
|
34
|
+
const io = ({
|
|
51
35
|
name: o,
|
|
52
36
|
children: n,
|
|
53
|
-
options:
|
|
37
|
+
options: i,
|
|
54
38
|
onChange: d,
|
|
55
|
-
label:
|
|
56
|
-
hintText:
|
|
57
|
-
hintHasArrow:
|
|
58
|
-
hintTrigger:
|
|
59
|
-
titleCaption:
|
|
60
|
-
radioGroupMode:
|
|
61
|
-
size:
|
|
62
|
-
...
|
|
39
|
+
label: s,
|
|
40
|
+
hintText: v,
|
|
41
|
+
hintHasArrow: N = !0,
|
|
42
|
+
hintTrigger: h = "hover",
|
|
43
|
+
titleCaption: x,
|
|
44
|
+
radioGroupMode: S,
|
|
45
|
+
size: X = "s",
|
|
46
|
+
..._
|
|
63
47
|
}) => {
|
|
64
|
-
const l =
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
fieldState: { error: r }
|
|
75
|
-
}) => /* @__PURE__ */ i.jsxDEV(O, { ...S, ...B, $mode: w, children: [
|
|
76
|
-
(u || p) && /* @__PURE__ */ i.jsxDEV(
|
|
77
|
-
J,
|
|
78
|
-
{
|
|
79
|
-
required: A(a),
|
|
80
|
-
label: u,
|
|
81
|
-
value: x,
|
|
82
|
-
hintHasArrow: G,
|
|
83
|
-
hintText: y ?? "",
|
|
84
|
-
hintTrigger: v,
|
|
85
|
-
className: m.hiddenInput,
|
|
86
|
-
titleCaption: p,
|
|
87
|
-
size: h
|
|
88
|
-
},
|
|
89
|
-
void 0,
|
|
90
|
-
!1,
|
|
91
|
-
{
|
|
92
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormRadioGroupBox/FormRadioGroup.tsx",
|
|
93
|
-
lineNumber: 41,
|
|
94
|
-
columnNumber: 9
|
|
95
|
-
},
|
|
96
|
-
void 0
|
|
97
|
-
),
|
|
98
|
-
/* @__PURE__ */ i.jsxDEV("div", { className: m.groupBoxContainer, children: k.Children.map(n, (e) => {
|
|
99
|
-
var f, c, g, b, R;
|
|
100
|
-
if (k.isValidElement(e)) {
|
|
101
|
-
if (!(((f = e.props["data-component"]) == null ? void 0 : f.toLowerCase()) === "formradiobox" || // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
102
|
-
((g = (c = e.type) == null ? void 0 : c.displayName) == null ? void 0 : g.toLowerCase()) === "formradiobox" || // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
103
|
-
((R = (b = e.type) == null ? void 0 : b.target) == null ? void 0 : R.displayName) === "formradiobox"))
|
|
104
|
-
return e;
|
|
105
|
-
const X = e.type;
|
|
106
|
-
return /* @__PURE__ */ i.jsxDEV(
|
|
107
|
-
X,
|
|
108
|
-
{
|
|
109
|
-
...e.props,
|
|
110
|
-
name: o,
|
|
111
|
-
checked: e.props.value === x,
|
|
112
|
-
onChange: (N) => {
|
|
113
|
-
D(N.target.value), d == null || d(N.target.value, l);
|
|
114
|
-
},
|
|
115
|
-
$isError: !!(r != null && r.message)
|
|
116
|
-
},
|
|
117
|
-
void 0,
|
|
118
|
-
!1,
|
|
119
|
-
{
|
|
120
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormRadioGroupBox/FormRadioGroup.tsx",
|
|
121
|
-
lineNumber: 73,
|
|
122
|
-
columnNumber: 17
|
|
123
|
-
},
|
|
124
|
-
void 0
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
return null;
|
|
128
|
-
}) }, void 0, !1, {
|
|
129
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormRadioGroupBox/FormRadioGroup.tsx",
|
|
130
|
-
lineNumber: 53,
|
|
131
|
-
columnNumber: 11
|
|
132
|
-
}, void 0),
|
|
133
|
-
/* @__PURE__ */ i.jsxDEV(T, { color: H("negative"), children: r == null ? void 0 : r.message }, void 0, !1, {
|
|
134
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormRadioGroupBox/FormRadioGroup.tsx",
|
|
135
|
-
lineNumber: 88,
|
|
136
|
-
columnNumber: 11
|
|
137
|
-
}, void 0)
|
|
138
|
-
] }, void 0, !0, {
|
|
139
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormRadioGroupBox/FormRadioGroup.tsx",
|
|
140
|
-
lineNumber: 39,
|
|
141
|
-
columnNumber: 7
|
|
142
|
-
}, void 0)
|
|
143
|
-
},
|
|
144
|
-
void 0,
|
|
145
|
-
!1,
|
|
146
|
-
{
|
|
147
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormRadioGroupBox/FormRadioGroup.tsx",
|
|
148
|
-
lineNumber: 30,
|
|
149
|
-
columnNumber: 5
|
|
48
|
+
const l = O(i), {
|
|
49
|
+
control: B,
|
|
50
|
+
rules: G,
|
|
51
|
+
remOptions: I
|
|
52
|
+
} = l;
|
|
53
|
+
return /* @__PURE__ */ t(A, { control: B, name: o, rules: G, ...I, render: ({
|
|
54
|
+
field: {
|
|
55
|
+
onChange: T,
|
|
56
|
+
value: f,
|
|
57
|
+
...j
|
|
150
58
|
},
|
|
151
|
-
|
|
152
|
-
|
|
59
|
+
fieldState: {
|
|
60
|
+
error: r
|
|
61
|
+
}
|
|
62
|
+
}) => /* @__PURE__ */ V(D, { ...j, ..._, $mode: S, children: [
|
|
63
|
+
(s || x) && /* @__PURE__ */ t(K, { required: z(i), label: s, value: f, hintHasArrow: N, hintText: v ?? "", hintTrigger: h, className: a.hiddenInput, titleCaption: x, size: X }),
|
|
64
|
+
/* @__PURE__ */ t("div", { className: a.groupBoxContainer, children: C.Children.map(n, (e) => {
|
|
65
|
+
var u, c, g, y, b;
|
|
66
|
+
if (C.isValidElement(e)) {
|
|
67
|
+
if (!(((u = e.props["data-component"]) == null ? void 0 : u.toLowerCase()) === "formradiobox" || // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
68
|
+
((g = (c = e.type) == null ? void 0 : c.displayName) == null ? void 0 : g.toLowerCase()) === "formradiobox" || // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
69
|
+
((b = (y = e.type) == null ? void 0 : y.target) == null ? void 0 : b.displayName) === "formradiobox"))
|
|
70
|
+
return e;
|
|
71
|
+
const q = e.type;
|
|
72
|
+
return /* @__PURE__ */ t(q, { ...e.props, name: o, checked: e.props.value === f, onChange: (R) => {
|
|
73
|
+
T(R.target.value), d == null || d(R.target.value, l);
|
|
74
|
+
}, $isError: !!(r != null && r.message) });
|
|
75
|
+
}
|
|
76
|
+
return null;
|
|
77
|
+
}) }),
|
|
78
|
+
/* @__PURE__ */ t(L, { color: k("negative"), children: r == null ? void 0 : r.message })
|
|
79
|
+
] }) });
|
|
153
80
|
};
|
|
154
81
|
export {
|
|
155
|
-
|
|
156
|
-
|
|
82
|
+
io as FormRadioGroup,
|
|
83
|
+
M as FormRadiobox
|
|
157
84
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/FormSegmentGroup-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/FormSegmentGroup-DIaBZRWv.cjs");exports.FormSegmentGroup=e.FormSegmentGroup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),C=require("react-hook-form"),l=require("../utils/index.cjs"),A=require("@salutejs/sdds-finai"),N=require("styled-components"),O=N(A.Select).withConfig({displayName:"SelectStyled"})(["width:100%;"]),P=({name:y,options:i,items:S,onChange:s,onBlur:e,label:a,helperText:f="",view:g,required:x,multiselect:F=!1,...o})=>{const r={...i,required:l.getPriorityRequired({options:i,ruleName:"required"})?i==null?void 0:i.required:x},m=l.useChangedFormContext(r),{control:v,rules:j,remOptions:w}=m;return d.jsx(C.Controller,{control:v,name:y,...w,render:({field:{name:b,onBlur:q,...u},fieldState:{error:t}})=>{const n=F?!0:Array.isArray(u.value);return d.jsx(O,{...u,multiselect:n,helperText:(t==null?void 0:t.message)||f,items:S,label:a,size:"s",chipView:"secondary",view:t!=null&&t.type?"negative":g??"default",onChange:c=>{u.onChange(c),s==null||s(c,m),(o.closeAfterSelect??!n)&&(q(),e==null||e(void 0))},onBlur:c=>{q(),e==null||e(c)},required:!!r.required||!1,requiredPlacement:"right",hasRequiredIndicator:!!r.required||!1,...o})},rules:j})};exports.FormSelect=P;
|
|
@@ -1,84 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Controller as
|
|
3
|
-
import { getPriorityRequired as
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { Controller as C } from "react-hook-form";
|
|
3
|
+
import { getPriorityRequired as A, useChangedFormContext as N } from "../utils/index.mjs";
|
|
4
4
|
import { Select as F } from "@salutejs/sdds-finai";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import O from "styled-components";
|
|
6
|
+
const P = O(F).withConfig({
|
|
7
7
|
displayName: "SelectStyled"
|
|
8
|
-
})(["width:100%;"]),
|
|
9
|
-
name:
|
|
10
|
-
options:
|
|
11
|
-
items:
|
|
12
|
-
onChange:
|
|
8
|
+
})(["width:100%;"]), b = ({
|
|
9
|
+
name: y,
|
|
10
|
+
options: i,
|
|
11
|
+
items: S,
|
|
12
|
+
onChange: m,
|
|
13
13
|
onBlur: e,
|
|
14
|
-
label:
|
|
15
|
-
helperText:
|
|
16
|
-
view:
|
|
17
|
-
required:
|
|
18
|
-
multiselect:
|
|
19
|
-
...
|
|
14
|
+
label: a,
|
|
15
|
+
helperText: l = "",
|
|
16
|
+
view: p,
|
|
17
|
+
required: g,
|
|
18
|
+
multiselect: n = !1,
|
|
19
|
+
...o
|
|
20
20
|
}) => {
|
|
21
|
-
const
|
|
22
|
-
...
|
|
23
|
-
required:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
j,
|
|
38
|
-
{
|
|
39
|
-
...s,
|
|
40
|
-
multiselect: n,
|
|
41
|
-
helperText: (i == null ? void 0 : i.message) || p,
|
|
42
|
-
items: l,
|
|
43
|
-
label: S,
|
|
44
|
-
size: "s",
|
|
45
|
-
chipView: "secondary",
|
|
46
|
-
view: i != null && i.type ? "negative" : q ?? "default",
|
|
47
|
-
onChange: (m) => {
|
|
48
|
-
s.onChange(m), r == null || r(m, u), (c.closeAfterSelect ?? !n) && (f(), e == null || e(
|
|
49
|
-
void 0
|
|
50
|
-
));
|
|
51
|
-
},
|
|
52
|
-
onBlur: (m) => {
|
|
53
|
-
f(), e == null || e(m);
|
|
54
|
-
},
|
|
55
|
-
required: !!o.required || !1,
|
|
56
|
-
requiredPlacement: "right",
|
|
57
|
-
hasRequiredIndicator: !!o.required || !1,
|
|
58
|
-
...c
|
|
59
|
-
},
|
|
60
|
-
void 0,
|
|
61
|
-
!1,
|
|
62
|
-
{
|
|
63
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormSelect/FormSelect.tsx",
|
|
64
|
-
lineNumber: 52,
|
|
65
|
-
columnNumber: 11
|
|
66
|
-
},
|
|
67
|
-
void 0
|
|
68
|
-
);
|
|
69
|
-
},
|
|
70
|
-
rules: g
|
|
21
|
+
const r = {
|
|
22
|
+
...i,
|
|
23
|
+
required: A({
|
|
24
|
+
options: i,
|
|
25
|
+
ruleName: "required"
|
|
26
|
+
}) ? i == null ? void 0 : i.required : g
|
|
27
|
+
}, f = N(r), {
|
|
28
|
+
control: x,
|
|
29
|
+
rules: v,
|
|
30
|
+
remOptions: w
|
|
31
|
+
} = f;
|
|
32
|
+
return /* @__PURE__ */ d(C, { control: x, name: y, ...w, render: ({
|
|
33
|
+
field: {
|
|
34
|
+
name: j,
|
|
35
|
+
onBlur: u,
|
|
36
|
+
...s
|
|
71
37
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
38
|
+
fieldState: {
|
|
39
|
+
error: t
|
|
40
|
+
}
|
|
41
|
+
}) => {
|
|
42
|
+
const q = n ? !0 : Array.isArray(s.value);
|
|
43
|
+
return /* @__PURE__ */ d(
|
|
44
|
+
P,
|
|
45
|
+
{
|
|
46
|
+
...s,
|
|
47
|
+
multiselect: q,
|
|
48
|
+
helperText: (t == null ? void 0 : t.message) || l,
|
|
49
|
+
items: S,
|
|
50
|
+
label: a,
|
|
51
|
+
size: "s",
|
|
52
|
+
chipView: "secondary",
|
|
53
|
+
view: t != null && t.type ? "negative" : p ?? "default",
|
|
54
|
+
onChange: (c) => {
|
|
55
|
+
s.onChange(c), m == null || m(c, f), (o.closeAfterSelect ?? !q) && (u(), e == null || e(void 0));
|
|
56
|
+
},
|
|
57
|
+
onBlur: (c) => {
|
|
58
|
+
u(), e == null || e(c);
|
|
59
|
+
},
|
|
60
|
+
required: !!r.required || !1,
|
|
61
|
+
requiredPlacement: "right",
|
|
62
|
+
hasRequiredIndicator: !!r.required || !1,
|
|
63
|
+
...o
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}, rules: v });
|
|
81
67
|
};
|
|
82
68
|
export {
|
|
83
|
-
|
|
69
|
+
b as FormSelect
|
|
84
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),F=require("react-hook-form"),S=require("../utils/index.cjs"),k=require("../../chunks/FiltersActions-D1aQXh5d.cjs"),x=({label:n,name:t,options:u,onChange:e,...m})=>{const r=S.useChangedFormContext(u),{control:l,rules:d,remOptions:a,formState:{defaultValues:o}}=r;return i.jsx(F.Controller,{control:l,name:t,...a,render:({field:{name:g,value:f,...c}})=>i.jsx(k.Switch,{...c,defaultChecked:o&&o[t],checked:f,label:n,size:"s",onChange:s=>{c.onChange(s.target.checked),e==null||e(s.target.checked,r)},...m}),rules:d})};exports.FormSwitch=x;
|
|
@@ -1,59 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Controller as
|
|
3
|
-
import { useChangedFormContext as
|
|
4
|
-
import { S as x } from "../../chunks/FiltersActions-
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { Controller as k } from "react-hook-form";
|
|
3
|
+
import { useChangedFormContext as l } from "../utils/index.mjs";
|
|
4
|
+
import { S as x } from "../../chunks/FiltersActions-C3yWFtQT.mjs";
|
|
5
5
|
const F = ({
|
|
6
|
-
label:
|
|
7
|
-
name:
|
|
8
|
-
options:
|
|
9
|
-
onChange:
|
|
10
|
-
...
|
|
6
|
+
label: f,
|
|
7
|
+
name: r,
|
|
8
|
+
options: i,
|
|
9
|
+
onChange: o,
|
|
10
|
+
...n
|
|
11
11
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
control:
|
|
14
|
-
rules:
|
|
12
|
+
const t = l(i), {
|
|
13
|
+
control: p,
|
|
14
|
+
rules: u,
|
|
15
15
|
remOptions: d,
|
|
16
|
-
formState: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
name:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
checked: l,
|
|
30
|
-
label: n,
|
|
31
|
-
size: "s",
|
|
32
|
-
onChange: (m) => {
|
|
33
|
-
i.onChange(m.target.checked), e == null || e(m.target.checked, r);
|
|
34
|
-
},
|
|
35
|
-
...u
|
|
36
|
-
},
|
|
37
|
-
void 0,
|
|
38
|
-
!1,
|
|
39
|
-
{
|
|
40
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormSwitch/FormSwitch.tsx",
|
|
41
|
-
lineNumber: 36,
|
|
42
|
-
columnNumber: 7
|
|
43
|
-
},
|
|
44
|
-
void 0
|
|
45
|
-
),
|
|
46
|
-
rules: f
|
|
47
|
-
},
|
|
48
|
-
void 0,
|
|
49
|
-
!1,
|
|
50
|
-
{
|
|
51
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormSwitch/FormSwitch.tsx",
|
|
52
|
-
lineNumber: 31,
|
|
53
|
-
columnNumber: 5
|
|
54
|
-
},
|
|
55
|
-
void 0
|
|
56
|
-
);
|
|
16
|
+
formState: {
|
|
17
|
+
defaultValues: e
|
|
18
|
+
}
|
|
19
|
+
} = t;
|
|
20
|
+
return /* @__PURE__ */ s(k, { control: p, name: r, ...d, render: ({
|
|
21
|
+
field: {
|
|
22
|
+
name: C,
|
|
23
|
+
value: a,
|
|
24
|
+
...m
|
|
25
|
+
}
|
|
26
|
+
}) => /* @__PURE__ */ s(x, { ...m, defaultChecked: e && e[r], checked: a, label: f, size: "s", onChange: (c) => {
|
|
27
|
+
m.onChange(c.target.checked), o == null || o(c.target.checked, t);
|
|
28
|
+
}, ...n }), rules: u });
|
|
57
29
|
};
|
|
58
30
|
export {
|
|
59
31
|
F as FormSwitch
|