@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,75 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Autocomplete as
|
|
3
|
-
import { Controller as
|
|
4
|
-
import { getPriorityRequired as
|
|
5
|
-
const
|
|
6
|
-
name:
|
|
7
|
-
options:
|
|
8
|
-
label:
|
|
1
|
+
import { jsx as q } from "react/jsx-runtime";
|
|
2
|
+
import { Autocomplete as P } from "../../components/Autocomplete/index.mjs";
|
|
3
|
+
import { Controller as R } from "react-hook-form";
|
|
4
|
+
import { getPriorityRequired as S, useChangedFormContext as j } from "../utils/index.mjs";
|
|
5
|
+
const k = ({
|
|
6
|
+
name: s,
|
|
7
|
+
options: i,
|
|
8
|
+
label: d,
|
|
9
9
|
onChange: m,
|
|
10
|
-
onChangeInput:
|
|
11
|
-
leftHelper:
|
|
12
|
-
onBlur:
|
|
13
|
-
view:
|
|
14
|
-
required:
|
|
15
|
-
...
|
|
10
|
+
onChangeInput: r,
|
|
11
|
+
leftHelper: x = "",
|
|
12
|
+
onBlur: o,
|
|
13
|
+
view: v,
|
|
14
|
+
required: w,
|
|
15
|
+
...y
|
|
16
16
|
}) => {
|
|
17
|
-
const
|
|
18
|
-
...
|
|
19
|
-
required:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
w
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
...A,
|
|
35
|
-
label: n,
|
|
36
|
-
leftHelper: (i == null ? void 0 : i.message) || l,
|
|
37
|
-
required: !!u.required || void 0,
|
|
38
|
-
requiredPlacement: "right",
|
|
39
|
-
hasRequiredIndicator: !!u.required || void 0,
|
|
40
|
-
view: i != null && i.type ? "negative" : p ?? "default",
|
|
41
|
-
onChange: async ({ target: { value: e } }) => {
|
|
42
|
-
await c(e), o == null || o(e, s);
|
|
43
|
-
},
|
|
44
|
-
size: "s",
|
|
45
|
-
onSuggestionSelect: ({ label: e }) => {
|
|
46
|
-
c(e), m == null || m(e, s);
|
|
47
|
-
},
|
|
48
|
-
onBlur: (e) => {
|
|
49
|
-
v(), r == null || r(e);
|
|
50
|
-
},
|
|
51
|
-
...a
|
|
52
|
-
},
|
|
53
|
-
void 0,
|
|
54
|
-
!1,
|
|
55
|
-
{
|
|
56
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormAutocomplete/FormAutocomplete.tsx",
|
|
57
|
-
lineNumber: 45,
|
|
58
|
-
columnNumber: 7
|
|
59
|
-
},
|
|
60
|
-
void 0
|
|
61
|
-
)
|
|
17
|
+
const c = {
|
|
18
|
+
...i,
|
|
19
|
+
required: S({
|
|
20
|
+
options: i,
|
|
21
|
+
ruleName: "required"
|
|
22
|
+
}) ? i == null ? void 0 : i.required : w
|
|
23
|
+
}, u = j(c), {
|
|
24
|
+
control: p,
|
|
25
|
+
rules: A,
|
|
26
|
+
remOptions: F
|
|
27
|
+
} = u;
|
|
28
|
+
return /* @__PURE__ */ q(R, { control: p, name: s, rules: A, ...F, render: ({
|
|
29
|
+
field: {
|
|
30
|
+
name: z,
|
|
31
|
+
onBlur: N,
|
|
32
|
+
onChange: f,
|
|
33
|
+
...O
|
|
62
34
|
},
|
|
63
|
-
|
|
64
|
-
|
|
35
|
+
fieldState: {
|
|
36
|
+
error: t
|
|
37
|
+
}
|
|
38
|
+
}) => /* @__PURE__ */ q(
|
|
39
|
+
P,
|
|
65
40
|
{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
41
|
+
...O,
|
|
42
|
+
label: d,
|
|
43
|
+
leftHelper: (t == null ? void 0 : t.message) || x,
|
|
44
|
+
required: !!c.required || void 0,
|
|
45
|
+
requiredPlacement: "right",
|
|
46
|
+
hasRequiredIndicator: !!c.required || void 0,
|
|
47
|
+
view: t != null && t.type ? "negative" : v ?? "default",
|
|
48
|
+
onChange: async ({
|
|
49
|
+
target: {
|
|
50
|
+
value: e
|
|
51
|
+
}
|
|
52
|
+
}) => {
|
|
53
|
+
await f(e), r == null || r(e, u);
|
|
54
|
+
},
|
|
55
|
+
size: "s",
|
|
56
|
+
onSuggestionSelect: ({
|
|
57
|
+
label: e
|
|
58
|
+
}) => {
|
|
59
|
+
f(e), m == null || m(e, u);
|
|
60
|
+
},
|
|
61
|
+
onBlur: (e) => {
|
|
62
|
+
N(), o == null || o(e);
|
|
63
|
+
},
|
|
64
|
+
...y
|
|
65
|
+
}
|
|
66
|
+
) });
|
|
72
67
|
};
|
|
73
68
|
export {
|
|
74
|
-
|
|
69
|
+
k as FormAutocomplete
|
|
75
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("@salutejs/sdds-finai"),C=require("react-hook-form"),f=require("../utils/index.cjs"),F=({label:i,name:o,options:u,onChange:e,...m})=>{const r=f.useChangedFormContext(u),{control:d,rules:k,remOptions:l,formState:{defaultValues:t}}=r;return n.jsx(C.Controller,{control:d,name:o,...l,render:({field:{name:b,value:x,...c}})=>n.jsx(a.Checkbox,{...c,defaultChecked:t&&t[o],checked:x,label:i,size:"m",onChange:s=>{c.onChange(s.target.checked),e==null||e(s.target.checked,r)},...m}),rules:k})};exports.FormCheckbox=F;
|
|
@@ -1,60 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Checkbox as
|
|
3
|
-
import { Controller as
|
|
4
|
-
import { useChangedFormContext as
|
|
5
|
-
const
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { Checkbox as C } from "@salutejs/sdds-finai";
|
|
3
|
+
import { Controller as d } from "react-hook-form";
|
|
4
|
+
import { useChangedFormContext as l } from "../utils/index.mjs";
|
|
5
|
+
const j = ({
|
|
6
6
|
label: n,
|
|
7
|
-
name:
|
|
8
|
-
options:
|
|
9
|
-
onChange:
|
|
10
|
-
...
|
|
7
|
+
name: r,
|
|
8
|
+
options: s,
|
|
9
|
+
onChange: o,
|
|
10
|
+
...i
|
|
11
11
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
control:
|
|
14
|
-
rules:
|
|
15
|
-
remOptions:
|
|
16
|
-
formState: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
name:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
checked: d,
|
|
30
|
-
label: n,
|
|
31
|
-
size: "m",
|
|
32
|
-
onChange: (i) => {
|
|
33
|
-
t.onChange(i.target.checked), e == null || e(i.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/FormCheckbox/FormCheckbox.tsx",
|
|
41
|
-
lineNumber: 36,
|
|
42
|
-
columnNumber: 7
|
|
43
|
-
},
|
|
44
|
-
void 0
|
|
45
|
-
),
|
|
46
|
-
rules: a
|
|
47
|
-
},
|
|
48
|
-
void 0,
|
|
49
|
-
!1,
|
|
50
|
-
{
|
|
51
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormCheckbox/FormCheckbox.tsx",
|
|
52
|
-
lineNumber: 31,
|
|
53
|
-
columnNumber: 5
|
|
54
|
-
},
|
|
55
|
-
void 0
|
|
56
|
-
);
|
|
12
|
+
const e = l(s), {
|
|
13
|
+
control: k,
|
|
14
|
+
rules: p,
|
|
15
|
+
remOptions: u,
|
|
16
|
+
formState: {
|
|
17
|
+
defaultValues: t
|
|
18
|
+
}
|
|
19
|
+
} = e;
|
|
20
|
+
return /* @__PURE__ */ f(d, { control: k, name: r, ...u, render: ({
|
|
21
|
+
field: {
|
|
22
|
+
name: a,
|
|
23
|
+
value: x,
|
|
24
|
+
...m
|
|
25
|
+
}
|
|
26
|
+
}) => /* @__PURE__ */ f(C, { ...m, defaultChecked: t && t[r], checked: x, label: n, size: "m", onChange: (c) => {
|
|
27
|
+
m.onChange(c.target.checked), o == null || o(c.target.checked, e);
|
|
28
|
+
}, ...i }), rules: p });
|
|
57
29
|
};
|
|
58
30
|
export {
|
|
59
|
-
|
|
31
|
+
j as FormCheckbox
|
|
60
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react/jsx-runtime"),P=require("../../chunks/Table-CnWVNNoW.cjs"),T=require("react-hook-form"),x=require("../utils/index.cjs"),l=({name:d,options:i,label:f,helperText:y="",items:g,onChange:r,onBlur:e,placeholder:v,disabled:C,view:a,required:F,multiple:S=!1,...m})=>{const c={...i,required:x.getPriorityRequired({options:i,ruleName:"required"})?i==null?void 0:i.required:F},s=x.useChangedFormContext(c),{control:j,rules:A,remOptions:O}=s;return b.jsx(T.Controller,{control:j,name:d,...O,render:({field:{name:w,onBlur:q,...u},fieldState:{error:t}})=>{const n=S?!0:Array.isArray(u.value);return b.jsx(P.StyledCombobox,{...u,multiple:n,disabled:C,helperText:(t==null?void 0:t.message)||y,items:g,label:f,placeholder:v,required:!!c.required||void 0,requiredPlacement:"right",hasRequiredIndicator:!!c.required||void 0,size:"s",view:t!=null&&t.type?"negative":a??"default",onChange:o=>{u.onChange(o),r==null||r(o,s),(m.closeAfterSelect??!n)&&(q(),e==null||e(void 0))},onBlur:o=>{q(),e==null||e(o)},...m})},rules:A})};exports.FormCombobox=l;
|
|
@@ -1,84 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as
|
|
3
|
-
import { Controller as
|
|
4
|
-
import { getPriorityRequired as
|
|
5
|
-
const
|
|
1
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import { S as F } from "../../chunks/Table-Bj2se1hR.mjs";
|
|
3
|
+
import { Controller as N } from "react-hook-form";
|
|
4
|
+
import { getPriorityRequired as O, useChangedFormContext as P } from "../utils/index.mjs";
|
|
5
|
+
const _ = ({
|
|
6
6
|
name: d,
|
|
7
7
|
options: i,
|
|
8
|
-
label:
|
|
9
|
-
helperText:
|
|
10
|
-
items:
|
|
11
|
-
onChange:
|
|
8
|
+
label: p,
|
|
9
|
+
helperText: v = "",
|
|
10
|
+
items: y,
|
|
11
|
+
onChange: o,
|
|
12
12
|
onBlur: e,
|
|
13
|
-
placeholder:
|
|
14
|
-
disabled:
|
|
15
|
-
view:
|
|
16
|
-
required:
|
|
17
|
-
multiple:
|
|
18
|
-
...
|
|
13
|
+
placeholder: C,
|
|
14
|
+
disabled: b,
|
|
15
|
+
view: g,
|
|
16
|
+
required: S,
|
|
17
|
+
multiple: n = !1,
|
|
18
|
+
...u
|
|
19
19
|
}) => {
|
|
20
|
-
const
|
|
20
|
+
const r = {
|
|
21
21
|
...i,
|
|
22
|
-
required:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
y,
|
|
37
|
-
{
|
|
38
|
-
...u,
|
|
39
|
-
multiple: f,
|
|
40
|
-
disabled: q,
|
|
41
|
-
helperText: (o == null ? void 0 : o.message) || a,
|
|
42
|
-
items: C,
|
|
43
|
-
label: x,
|
|
44
|
-
placeholder: p,
|
|
45
|
-
required: !!t.required || void 0,
|
|
46
|
-
requiredPlacement: "right",
|
|
47
|
-
hasRequiredIndicator: !!t.required || void 0,
|
|
48
|
-
size: "s",
|
|
49
|
-
view: o != null && o.type ? "negative" : v ?? "default",
|
|
50
|
-
onChange: (m) => {
|
|
51
|
-
u.onChange(m), r == null || r(m, n), (s.closeAfterSelect ?? !f) && (c(), e == null || e(
|
|
52
|
-
void 0
|
|
53
|
-
));
|
|
54
|
-
},
|
|
55
|
-
onBlur: (m) => {
|
|
56
|
-
c(), e == null || e(m);
|
|
57
|
-
},
|
|
58
|
-
...s
|
|
59
|
-
},
|
|
60
|
-
void 0,
|
|
61
|
-
!1,
|
|
62
|
-
{
|
|
63
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormCombobox/FormCombobox.tsx",
|
|
64
|
-
lineNumber: 51,
|
|
65
|
-
columnNumber: 11
|
|
66
|
-
},
|
|
67
|
-
void 0
|
|
68
|
-
);
|
|
69
|
-
},
|
|
70
|
-
rules: F
|
|
22
|
+
required: O({
|
|
23
|
+
options: i,
|
|
24
|
+
ruleName: "required"
|
|
25
|
+
}) ? i == null ? void 0 : i.required : S
|
|
26
|
+
}, f = P(r), {
|
|
27
|
+
control: A,
|
|
28
|
+
rules: a,
|
|
29
|
+
remOptions: w
|
|
30
|
+
} = f;
|
|
31
|
+
return /* @__PURE__ */ x(N, { control: A, name: d, ...w, render: ({
|
|
32
|
+
field: {
|
|
33
|
+
name: j,
|
|
34
|
+
onBlur: q,
|
|
35
|
+
...c
|
|
71
36
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
37
|
+
fieldState: {
|
|
38
|
+
error: t
|
|
39
|
+
}
|
|
40
|
+
}) => {
|
|
41
|
+
const s = n ? !0 : Array.isArray(c.value);
|
|
42
|
+
return /* @__PURE__ */ x(
|
|
43
|
+
F,
|
|
44
|
+
{
|
|
45
|
+
...c,
|
|
46
|
+
multiple: s,
|
|
47
|
+
disabled: b,
|
|
48
|
+
helperText: (t == null ? void 0 : t.message) || v,
|
|
49
|
+
items: y,
|
|
50
|
+
label: p,
|
|
51
|
+
placeholder: C,
|
|
52
|
+
required: !!r.required || void 0,
|
|
53
|
+
requiredPlacement: "right",
|
|
54
|
+
hasRequiredIndicator: !!r.required || void 0,
|
|
55
|
+
size: "s",
|
|
56
|
+
view: t != null && t.type ? "negative" : g ?? "default",
|
|
57
|
+
onChange: (m) => {
|
|
58
|
+
c.onChange(m), o == null || o(m, f), (u.closeAfterSelect ?? !s) && (q(), e == null || e(void 0));
|
|
59
|
+
},
|
|
60
|
+
onBlur: (m) => {
|
|
61
|
+
q(), e == null || e(m);
|
|
62
|
+
},
|
|
63
|
+
...u
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}, rules: a });
|
|
81
67
|
};
|
|
82
68
|
export {
|
|
83
|
-
|
|
69
|
+
_ as FormCombobox
|
|
84
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/FormDatePickers-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/FormDatePickers-BefllAQ_.cjs");exports.FormDatePicker=e.FormDatePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/FormDatePickers-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/FormDatePickers-BefllAQ_.cjs");exports.FormDatePickerRange=e.FormDatePickerRange;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../chunks/FormDatePickers-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../chunks/FormDatePickers-BefllAQ_.cjs");exports.validateRequiredHoс=e.validateRequiredHoс;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/FormDatePickers-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/FormDatePickers-BefllAQ_.cjs");exports.DatePickerErrorEnum=e.DatePickerErrorEnum;exports.FormDatePicker=e.FormDatePicker;exports.FormDatePickerRange=e.FormDatePickerRange;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("@salutejs/sdds-finai"),o=require("react/jsx-runtime"),M=require("react-hook-form"),q=require("../utils/index.cjs"),O=({name:d,options:t,leftHelper:m="",view:n,label:a,onChange:r,onBlur:s,required:f,...g})=>{const u={...t,required:q.getPriorityRequired({options:t,ruleName:"required"})?t==null?void 0:t.required:f},c=q.useChangedFormContext(u),{control:l,remOptions:F,rules:x}=c;return o.jsx(M.Controller,{control:l,name:d,...F,rules:x,render:({field:{name:P,onBlur:j,onChange:k,...v},fieldState:{error:e}})=>o.jsx(y.Mask,{...v,label:a,leftHelper:(e==null?void 0:e.message)??m,name:d,required:!!u.required||void 0,requiredPlacement:"right",hasRequiredIndicator:!!u.required||void 0,size:"s",view:e!=null&&e.type?"negative":n??"default",onValueChange:({value:i})=>{k({target:{value:i}}),r==null||r(i,c)},onBlur:i=>{j(),s==null||s(i)},...g})})};exports.FormMask=O;
|
|
@@ -1,72 +1,67 @@
|
|
|
1
|
-
import { Mask as
|
|
2
|
-
import {
|
|
3
|
-
import { Controller as
|
|
4
|
-
import { getPriorityRequired as
|
|
5
|
-
const
|
|
6
|
-
name:
|
|
7
|
-
options:
|
|
8
|
-
leftHelper:
|
|
9
|
-
view:
|
|
10
|
-
label:
|
|
11
|
-
onChange:
|
|
12
|
-
onBlur:
|
|
13
|
-
required:
|
|
14
|
-
...
|
|
1
|
+
import { Mask as w } from "@salutejs/sdds-finai";
|
|
2
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { Controller as y } from "react-hook-form";
|
|
4
|
+
import { getPriorityRequired as C, useChangedFormContext as F } from "../utils/index.mjs";
|
|
5
|
+
const j = ({
|
|
6
|
+
name: d,
|
|
7
|
+
options: t,
|
|
8
|
+
leftHelper: q = "",
|
|
9
|
+
view: s,
|
|
10
|
+
label: c,
|
|
11
|
+
onChange: r,
|
|
12
|
+
onBlur: m,
|
|
13
|
+
required: g,
|
|
14
|
+
...n
|
|
15
15
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
...
|
|
18
|
-
required:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
...g,
|
|
34
|
-
label: f,
|
|
35
|
-
leftHelper: (e == null ? void 0 : e.message) ?? n,
|
|
36
|
-
name: u,
|
|
37
|
-
required: !!t.required || void 0,
|
|
38
|
-
requiredPlacement: "right",
|
|
39
|
-
hasRequiredIndicator: !!t.required || void 0,
|
|
40
|
-
size: "s",
|
|
41
|
-
view: e != null && e.type ? "negative" : a ?? "default",
|
|
42
|
-
onValueChange: ({ value: r }) => {
|
|
43
|
-
N({ target: { value: r } }), m == null || m(r, o);
|
|
44
|
-
},
|
|
45
|
-
onBlur: (r) => {
|
|
46
|
-
p(), s == null || s(r);
|
|
47
|
-
},
|
|
48
|
-
...k
|
|
49
|
-
},
|
|
50
|
-
void 0,
|
|
51
|
-
!1,
|
|
52
|
-
{
|
|
53
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/formComponents/FormMask/FormMask.tsx",
|
|
54
|
-
lineNumber: 43,
|
|
55
|
-
columnNumber: 7
|
|
56
|
-
},
|
|
57
|
-
void 0
|
|
58
|
-
)
|
|
16
|
+
const u = {
|
|
17
|
+
...t,
|
|
18
|
+
required: C({
|
|
19
|
+
options: t,
|
|
20
|
+
ruleName: "required"
|
|
21
|
+
}) ? t == null ? void 0 : t.required : g
|
|
22
|
+
}, f = F(u), {
|
|
23
|
+
control: x,
|
|
24
|
+
remOptions: a,
|
|
25
|
+
rules: p
|
|
26
|
+
} = f;
|
|
27
|
+
return /* @__PURE__ */ o(y, { control: x, name: d, ...a, rules: p, render: ({
|
|
28
|
+
field: {
|
|
29
|
+
name: M,
|
|
30
|
+
onBlur: v,
|
|
31
|
+
onChange: k,
|
|
32
|
+
...l
|
|
59
33
|
},
|
|
60
|
-
|
|
61
|
-
|
|
34
|
+
fieldState: {
|
|
35
|
+
error: e
|
|
36
|
+
}
|
|
37
|
+
}) => /* @__PURE__ */ o(
|
|
38
|
+
w,
|
|
62
39
|
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
40
|
+
...l,
|
|
41
|
+
label: c,
|
|
42
|
+
leftHelper: (e == null ? void 0 : e.message) ?? q,
|
|
43
|
+
name: d,
|
|
44
|
+
required: !!u.required || void 0,
|
|
45
|
+
requiredPlacement: "right",
|
|
46
|
+
hasRequiredIndicator: !!u.required || void 0,
|
|
47
|
+
size: "s",
|
|
48
|
+
view: e != null && e.type ? "negative" : s ?? "default",
|
|
49
|
+
onValueChange: ({
|
|
50
|
+
value: i
|
|
51
|
+
}) => {
|
|
52
|
+
k({
|
|
53
|
+
target: {
|
|
54
|
+
value: i
|
|
55
|
+
}
|
|
56
|
+
}), r == null || r(i, f);
|
|
57
|
+
},
|
|
58
|
+
onBlur: (i) => {
|
|
59
|
+
v(), m == null || m(i);
|
|
60
|
+
},
|
|
61
|
+
...n
|
|
62
|
+
}
|
|
63
|
+
) });
|
|
69
64
|
};
|
|
70
65
|
export {
|
|
71
|
-
|
|
66
|
+
j as FormMask
|
|
72
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),O=require("../../components/NumberFormat/index.cjs"),S=require("react-hook-form"),F=require("../utils/index.cjs"),H=({name:f,label:g,options:t,onChange:o,onBlur:i,view:b,isAllowed:c,leftHelper:l,ref:P,required:w,...x})=>{const m={...t,required:F.getPriorityRequired({options:t,ruleName:"required"})?t==null?void 0:t.required:w},q=F.useChangedFormContext(m),{control:N,rules:j,remOptions:v}=q;return a.jsx(S.Controller,{control:N,name:f,rules:j,...v,render:({field:{value:y,ref:C,...n},fieldState:{error:r}})=>a.jsx(O.NumberFormat,{...n,label:g,ref:C,value:y,isAllowed:e=>c?c(e):!0,onChange:(e,u)=>{var d;const s=(u==null?void 0:u.value)??((d=e==null?void 0:e.target)==null?void 0:d.value)??"";n.onChange(s),o==null||o(s,q)},onBlur:e=>{n.onBlur(),i==null||i(e)},leftHelper:(r==null?void 0:r.message)||l,view:r!=null&&r.message?"negative":b??"default",required:!!m.required||void 0,hasRequiredIndicator:!!m.required||void 0,...x})})};exports.FormNumberFormat=H;
|