@smartsoft001/react 2.193.0 → 2.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -7
- package/package.json +5 -5
- package/src/lib/components/accordion/accordion.d.ts +3 -4
- package/src/lib/components/accordion/accordion.js +3 -4
- package/src/lib/components/accordion/accordion.js.map +1 -1
- package/src/lib/components/accordion/accordion.types.d.ts +5 -6
- package/src/lib/components/accordion/body/accordion-body.d.ts +1 -1
- package/src/lib/components/accordion/body/accordion-body.js +1 -1
- package/src/lib/components/accordion/body/accordion-body.js.map +1 -1
- package/src/lib/components/accordion/default/accordion-default.d.ts +3 -3
- package/src/lib/components/accordion/default/accordion-default.js +3 -3
- package/src/lib/components/accordion/header/accordion-header.d.ts +2 -3
- package/src/lib/components/accordion/header/accordion-header.js +2 -3
- package/src/lib/components/accordion/header/accordion-header.js.map +1 -1
- package/src/lib/components/accordion/preset/accordion-preset.d.ts +6 -6
- package/src/lib/components/accordion/preset/accordion-preset.js +6 -6
- package/src/lib/components/accordion/use-accordion.d.ts +8 -9
- package/src/lib/components/accordion/use-accordion.js +9 -10
- package/src/lib/components/accordion/use-accordion.js.map +1 -1
- package/src/lib/components/action-panel/action-panel.d.ts +3 -4
- package/src/lib/components/action-panel/action-panel.js +3 -4
- package/src/lib/components/action-panel/action-panel.js.map +1 -1
- package/src/lib/components/action-panel/action-panel.types.d.ts +1 -1
- package/src/lib/components/action-panel/standard/action-panel-standard.d.ts +4 -5
- package/src/lib/components/action-panel/standard/action-panel-standard.js +4 -5
- package/src/lib/components/action-panel/standard/action-panel-standard.js.map +1 -1
- package/src/lib/components/alert/alert.d.ts +3 -5
- package/src/lib/components/alert/alert.js +3 -5
- package/src/lib/components/alert/alert.js.map +1 -1
- package/src/lib/components/alert/alert.types.d.ts +4 -4
- package/src/lib/components/alert/standard/alert-standard.d.ts +3 -3
- package/src/lib/components/alert/standard/alert-standard.js +3 -3
- package/src/lib/components/alert/use-alert.d.ts +4 -5
- package/src/lib/components/alert/use-alert.js +4 -5
- package/src/lib/components/alert/use-alert.js.map +1 -1
- package/src/lib/components/app/app.d.ts +3 -3
- package/src/lib/components/app/app.js +3 -3
- package/src/lib/components/app/app.types.d.ts +1 -1
- package/src/lib/components/app/standard/app-standard.d.ts +1 -2
- package/src/lib/components/app/standard/app-standard.js +1 -2
- package/src/lib/components/app/standard/app-standard.js.map +1 -1
- package/src/lib/components/app/use-app.d.ts +2 -3
- package/src/lib/components/app/use-app.js +2 -3
- package/src/lib/components/app/use-app.js.map +1 -1
- package/src/lib/components/avatar/avatar.d.ts +2 -3
- package/src/lib/components/avatar/avatar.js +2 -3
- package/src/lib/components/avatar/avatar.js.map +1 -1
- package/src/lib/components/avatar/preset/avatar-preset.d.ts +2 -3
- package/src/lib/components/avatar/preset/avatar-preset.js +2 -3
- package/src/lib/components/avatar/preset/avatar-preset.js.map +1 -1
- package/src/lib/components/avatar/standard/avatar-standard.d.ts +3 -3
- package/src/lib/components/avatar/standard/avatar-standard.js +3 -3
- package/src/lib/components/avatar/use-avatar.d.ts +2 -2
- package/src/lib/components/avatar/use-avatar.js +2 -2
- package/src/lib/components/badge/badge.d.ts +2 -3
- package/src/lib/components/badge/badge.js +2 -3
- package/src/lib/components/badge/badge.js.map +1 -1
- package/src/lib/components/badge/badge.types.d.ts +1 -1
- package/src/lib/components/badge/preset/badge-preset.d.ts +2 -3
- package/src/lib/components/badge/preset/badge-preset.js +2 -3
- package/src/lib/components/badge/preset/badge-preset.js.map +1 -1
- package/src/lib/components/badge/standard/badge-standard.d.ts +3 -3
- package/src/lib/components/badge/standard/badge-standard.js +3 -3
- package/src/lib/components/badge/use-badge.d.ts +2 -3
- package/src/lib/components/badge/use-badge.js +2 -3
- package/src/lib/components/badge/use-badge.js.map +1 -1
- package/src/lib/components/breadcrumbs/breadcrumbs.d.ts +2 -4
- package/src/lib/components/breadcrumbs/breadcrumbs.js +2 -4
- package/src/lib/components/breadcrumbs/breadcrumbs.js.map +1 -1
- package/src/lib/components/breadcrumbs/breadcrumbs.types.d.ts +1 -1
- package/src/lib/components/breadcrumbs/preset/breadcrumbs-preset.d.ts +2 -2
- package/src/lib/components/breadcrumbs/preset/breadcrumbs-preset.js +2 -2
- package/src/lib/components/breadcrumbs/standard/breadcrumbs-standard.d.ts +3 -3
- package/src/lib/components/breadcrumbs/standard/breadcrumbs-standard.js +3 -3
- package/src/lib/components/breadcrumbs/use-breadcrumbs.d.ts +2 -4
- package/src/lib/components/breadcrumbs/use-breadcrumbs.js +2 -4
- package/src/lib/components/breadcrumbs/use-breadcrumbs.js.map +1 -1
- package/src/lib/components/button/button.d.ts +2 -3
- package/src/lib/components/button/button.js +2 -3
- package/src/lib/components/button/button.js.map +1 -1
- package/src/lib/components/button/standard/button-standard.d.ts +1 -1
- package/src/lib/components/button/standard/button-standard.js +1 -1
- package/src/lib/components/button/standard/button-standard.js.map +1 -1
- package/src/lib/components/button/use-button.d.ts +3 -4
- package/src/lib/components/button/use-button.js +3 -4
- package/src/lib/components/button/use-button.js.map +1 -1
- package/src/lib/components/button-group/button-group.d.ts +2 -4
- package/src/lib/components/button-group/button-group.js +2 -4
- package/src/lib/components/button-group/button-group.js.map +1 -1
- package/src/lib/components/button-group/button-group.types.d.ts +4 -4
- package/src/lib/components/button-group/standard/button-group-standard.d.ts +2 -2
- package/src/lib/components/button-group/standard/button-group-standard.js +2 -2
- package/src/lib/components/button-group/use-button-group.d.ts +3 -4
- package/src/lib/components/button-group/use-button-group.js +3 -4
- package/src/lib/components/button-group/use-button-group.js.map +1 -1
- package/src/lib/components/calendar/calendar.d.ts +4 -5
- package/src/lib/components/calendar/calendar.js +4 -5
- package/src/lib/components/calendar/calendar.js.map +1 -1
- package/src/lib/components/calendar/calendar.types.d.ts +9 -13
- package/src/lib/components/calendar/preset/calendar-preset.d.ts +4 -4
- package/src/lib/components/calendar/preset/calendar-preset.js +4 -4
- package/src/lib/components/calendar/standard/calendar-standard.d.ts +5 -5
- package/src/lib/components/calendar/standard/calendar-standard.js +5 -5
- package/src/lib/components/calendar/use-calendar.d.ts +5 -6
- package/src/lib/components/calendar/use-calendar.js +9 -10
- package/src/lib/components/calendar/use-calendar.js.map +1 -1
- package/src/lib/components/card/card.d.ts +4 -6
- package/src/lib/components/card/card.js +4 -6
- package/src/lib/components/card/card.js.map +1 -1
- package/src/lib/components/card/card.types.d.ts +6 -7
- package/src/lib/components/card/standard/card-standard.d.ts +2 -2
- package/src/lib/components/card/standard/card-standard.js +2 -2
- package/src/lib/components/card/use-card.d.ts +2 -3
- package/src/lib/components/card/use-card.js +2 -3
- package/src/lib/components/card/use-card.js.map +1 -1
- package/src/lib/components/card-heading/card-heading.d.ts +2 -4
- package/src/lib/components/card-heading/card-heading.js +2 -4
- package/src/lib/components/card-heading/card-heading.js.map +1 -1
- package/src/lib/components/card-heading/standard/card-heading-standard.d.ts +3 -3
- package/src/lib/components/card-heading/standard/card-heading-standard.js +3 -3
- package/src/lib/components/command-palette/command-palette.d.ts +4 -5
- package/src/lib/components/command-palette/command-palette.js +4 -5
- package/src/lib/components/command-palette/command-palette.js.map +1 -1
- package/src/lib/components/command-palette/command-palette.types.d.ts +5 -7
- package/src/lib/components/command-palette/standard/command-palette-standard.d.ts +4 -4
- package/src/lib/components/command-palette/standard/command-palette-standard.js +4 -4
- package/src/lib/components/command-palette/use-command-palette.d.ts +4 -5
- package/src/lib/components/command-palette/use-command-palette.js +5 -7
- package/src/lib/components/command-palette/use-command-palette.js.map +1 -1
- package/src/lib/components/container/container.d.ts +2 -3
- package/src/lib/components/container/container.js +2 -3
- package/src/lib/components/container/container.js.map +1 -1
- package/src/lib/components/container/standard/container-standard.d.ts +3 -3
- package/src/lib/components/container/standard/container-standard.js +3 -3
- package/src/lib/components/date-edit/date-edit.d.ts +3 -4
- package/src/lib/components/date-edit/date-edit.js +6 -7
- package/src/lib/components/date-edit/date-edit.js.map +1 -1
- package/src/lib/components/date-edit/date-edit.types.d.ts +10 -12
- package/src/lib/components/date-edit/preset/date-edit-preset.d.ts +2 -3
- package/src/lib/components/date-edit/preset/date-edit-preset.js +8 -10
- package/src/lib/components/date-edit/preset/date-edit-preset.js.map +1 -1
- package/src/lib/components/date-edit/standard/date-edit-standard.d.ts +2 -3
- package/src/lib/components/date-edit/standard/date-edit-standard.js +3 -4
- package/src/lib/components/date-edit/standard/date-edit-standard.js.map +1 -1
- package/src/lib/components/date-edit/use-date-edit.d.ts +4 -5
- package/src/lib/components/date-edit/use-date-edit.js +18 -19
- package/src/lib/components/date-edit/use-date-edit.js.map +1 -1
- package/src/lib/components/date-range/date-range.d.ts +3 -4
- package/src/lib/components/date-range/date-range.js +5 -7
- package/src/lib/components/date-range/date-range.js.map +1 -1
- package/src/lib/components/date-range/date-range.types.d.ts +8 -14
- package/src/lib/components/date-range/preset/date-range-preset.d.ts +2 -2
- package/src/lib/components/date-range/preset/date-range-preset.js +2 -2
- package/src/lib/components/date-range/standard/date-range-modal-standard.d.ts +3 -4
- package/src/lib/components/date-range/standard/date-range-modal-standard.js +3 -4
- package/src/lib/components/date-range/standard/date-range-modal-standard.js.map +1 -1
- package/src/lib/components/date-range/standard/date-range-standard.d.ts +2 -3
- package/src/lib/components/date-range/standard/date-range-standard.js +2 -3
- package/src/lib/components/date-range/standard/date-range-standard.js.map +1 -1
- package/src/lib/components/date-range/use-date-range-modal.d.ts +2 -3
- package/src/lib/components/date-range/use-date-range-modal.js +9 -14
- package/src/lib/components/date-range/use-date-range-modal.js.map +1 -1
- package/src/lib/components/date-range/use-date-range.d.ts +2 -3
- package/src/lib/components/date-range/use-date-range.js +20 -21
- package/src/lib/components/date-range/use-date-range.js.map +1 -1
- package/src/lib/components/description-list/description-list.d.ts +2 -4
- package/src/lib/components/description-list/description-list.js +2 -4
- package/src/lib/components/description-list/description-list.js.map +1 -1
- package/src/lib/components/description-list/preset/description-list-preset.d.ts +3 -4
- package/src/lib/components/description-list/preset/description-list-preset.js +3 -4
- package/src/lib/components/description-list/preset/description-list-preset.js.map +1 -1
- package/src/lib/components/description-list/standard/description-list-standard.d.ts +3 -4
- package/src/lib/components/description-list/standard/description-list-standard.js +3 -4
- package/src/lib/components/description-list/standard/description-list-standard.js.map +1 -1
- package/src/lib/components/detail/address/detail-address.d.ts +2 -2
- package/src/lib/components/detail/address/detail-address.js +2 -2
- package/src/lib/components/detail/address/preset/detail-address-preset.d.ts +1 -2
- package/src/lib/components/detail/address/preset/detail-address-preset.js +1 -2
- package/src/lib/components/detail/address/preset/detail-address-preset.js.map +1 -1
- package/src/lib/components/detail/address/use-detail-address.d.ts +2 -2
- package/src/lib/components/detail/address/use-detail-address.js +2 -2
- package/src/lib/components/detail/array/detail-array.d.ts +2 -3
- package/src/lib/components/detail/array/detail-array.js +2 -3
- package/src/lib/components/detail/array/detail-array.js.map +1 -1
- package/src/lib/components/detail/array/preset/detail-array-preset.d.ts +2 -2
- package/src/lib/components/detail/array/preset/detail-array-preset.js +2 -2
- package/src/lib/components/detail/array/use-detail-array.d.ts +2 -3
- package/src/lib/components/detail/array/use-detail-array.js +2 -3
- package/src/lib/components/detail/array/use-detail-array.js.map +1 -1
- package/src/lib/components/detail/attachment/detail-attachment.d.ts +1 -1
- package/src/lib/components/detail/attachment/detail-attachment.js +1 -1
- package/src/lib/components/detail/attachment/detail-attachment.js.map +1 -1
- package/src/lib/components/detail/attachment/preset/detail-attachment-preset.d.ts +2 -2
- package/src/lib/components/detail/attachment/preset/detail-attachment-preset.js +2 -2
- package/src/lib/components/detail/attachment/use-detail-attachment.d.ts +3 -4
- package/src/lib/components/detail/attachment/use-detail-attachment.js +3 -4
- package/src/lib/components/detail/attachment/use-detail-attachment.js.map +1 -1
- package/src/lib/components/detail/color/detail-color.d.ts +1 -1
- package/src/lib/components/detail/color/detail-color.js +1 -1
- package/src/lib/components/detail/color/detail-color.js.map +1 -1
- package/src/lib/components/detail/color/preset/detail-color-preset.d.ts +1 -2
- package/src/lib/components/detail/color/preset/detail-color-preset.js +1 -2
- package/src/lib/components/detail/color/preset/detail-color-preset.js.map +1 -1
- package/src/lib/components/detail/date-range/detail-date-range.d.ts +1 -1
- package/src/lib/components/detail/date-range/detail-date-range.js +1 -1
- package/src/lib/components/detail/date-range/detail-date-range.js.map +1 -1
- package/src/lib/components/detail/date-range/preset/detail-date-range-preset.d.ts +1 -2
- package/src/lib/components/detail/date-range/preset/detail-date-range-preset.js +1 -2
- package/src/lib/components/detail/date-range/preset/detail-date-range-preset.js.map +1 -1
- package/src/lib/components/detail/default-field-components.d.ts +4 -5
- package/src/lib/components/detail/default-field-components.js +4 -5
- package/src/lib/components/detail/default-field-components.js.map +1 -1
- package/src/lib/components/detail/detail.d.ts +6 -7
- package/src/lib/components/detail/detail.js +6 -7
- package/src/lib/components/detail/detail.js.map +1 -1
- package/src/lib/components/detail/detail.types.d.ts +2 -5
- package/src/lib/components/detail/email/detail-email.d.ts +1 -1
- package/src/lib/components/detail/email/detail-email.js +1 -1
- package/src/lib/components/detail/email/detail-email.js.map +1 -1
- package/src/lib/components/detail/email/preset/detail-email-preset.d.ts +1 -2
- package/src/lib/components/detail/email/preset/detail-email-preset.js +1 -2
- package/src/lib/components/detail/email/preset/detail-email-preset.js.map +1 -1
- package/src/lib/components/detail/enum/detail-enum.d.ts +1 -2
- package/src/lib/components/detail/enum/detail-enum.js +1 -2
- package/src/lib/components/detail/enum/detail-enum.js.map +1 -1
- package/src/lib/components/detail/enum/preset/detail-enum-preset.d.ts +1 -2
- package/src/lib/components/detail/enum/preset/detail-enum-preset.js +1 -2
- package/src/lib/components/detail/enum/preset/detail-enum-preset.js.map +1 -1
- package/src/lib/components/detail/enum/use-detail-enum.d.ts +2 -2
- package/src/lib/components/detail/enum/use-detail-enum.js +2 -2
- package/src/lib/components/detail/flag/detail-flag.d.ts +1 -2
- package/src/lib/components/detail/flag/detail-flag.js +1 -2
- package/src/lib/components/detail/flag/detail-flag.js.map +1 -1
- package/src/lib/components/detail/flag/preset/detail-flag-preset.d.ts +2 -2
- package/src/lib/components/detail/flag/preset/detail-flag-preset.js +2 -2
- package/src/lib/components/detail/image/detail-image.d.ts +1 -1
- package/src/lib/components/detail/image/detail-image.js +1 -1
- package/src/lib/components/detail/image/detail-image.js.map +1 -1
- package/src/lib/components/detail/image/preset/detail-image-preset.d.ts +1 -2
- package/src/lib/components/detail/image/preset/detail-image-preset.js +1 -2
- package/src/lib/components/detail/image/preset/detail-image-preset.js.map +1 -1
- package/src/lib/components/detail/image/use-detail-image.d.ts +2 -2
- package/src/lib/components/detail/image/use-detail-image.js +2 -2
- package/src/lib/components/detail/logo/detail-logo.d.ts +1 -1
- package/src/lib/components/detail/logo/detail-logo.js +1 -1
- package/src/lib/components/detail/logo/detail-logo.js.map +1 -1
- package/src/lib/components/detail/logo/preset/detail-logo-preset.d.ts +1 -1
- package/src/lib/components/detail/logo/preset/detail-logo-preset.js +1 -1
- package/src/lib/components/detail/logo/preset/detail-logo-preset.js.map +1 -1
- package/src/lib/components/detail/object/detail-object.d.ts +2 -3
- package/src/lib/components/detail/object/detail-object.js +2 -3
- package/src/lib/components/detail/object/detail-object.js.map +1 -1
- package/src/lib/components/detail/object/preset/detail-object-preset.d.ts +2 -2
- package/src/lib/components/detail/object/preset/detail-object-preset.js +2 -2
- package/src/lib/components/detail/object/use-detail-object.d.ts +3 -3
- package/src/lib/components/detail/object/use-detail-object.js +3 -3
- package/src/lib/components/detail/pdf/detail-pdf.d.ts +1 -1
- package/src/lib/components/detail/pdf/detail-pdf.js +1 -1
- package/src/lib/components/detail/pdf/detail-pdf.js.map +1 -1
- package/src/lib/components/detail/pdf/preset/detail-pdf-preset.d.ts +2 -2
- package/src/lib/components/detail/pdf/preset/detail-pdf-preset.js +2 -2
- package/src/lib/components/detail/pdf/use-detail-pdf.d.ts +3 -3
- package/src/lib/components/detail/pdf/use-detail-pdf.js +3 -3
- package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.d.ts +2 -3
- package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.js +2 -3
- package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.js.map +1 -1
- package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.d.ts +1 -2
- package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.js +1 -2
- package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.js.map +1 -1
- package/src/lib/components/detail/preset-fields.d.ts +2 -2
- package/src/lib/components/detail/preset-fields.js +2 -2
- package/src/lib/components/detail/text/detail-text.d.ts +3 -3
- package/src/lib/components/detail/text/detail-text.js +3 -3
- package/src/lib/components/detail/text/preset/detail-text-preset.d.ts +2 -2
- package/src/lib/components/detail/text/preset/detail-text-preset.js +2 -2
- package/src/lib/components/detail/use-detail.d.ts +4 -4
- package/src/lib/components/detail/use-detail.js +4 -4
- package/src/lib/components/detail/video/detail-video.d.ts +1 -1
- package/src/lib/components/detail/video/detail-video.js +1 -1
- package/src/lib/components/detail/video/detail-video.js.map +1 -1
- package/src/lib/components/detail/video/preset/detail-video-preset.d.ts +1 -2
- package/src/lib/components/detail/video/preset/detail-video-preset.js +1 -2
- package/src/lib/components/detail/video/preset/detail-video-preset.js.map +1 -1
- package/src/lib/components/detail/video/use-detail-video.d.ts +2 -2
- package/src/lib/components/detail/video/use-detail-video.js +2 -2
- package/src/lib/components/details/details.d.ts +3 -5
- package/src/lib/components/details/details.js +3 -5
- package/src/lib/components/details/details.js.map +1 -1
- package/src/lib/components/details/standard/details-standard.d.ts +3 -3
- package/src/lib/components/details/standard/details-standard.js +3 -3
- package/src/lib/components/details/use-details-modal.d.ts +6 -7
- package/src/lib/components/details/use-details-modal.js +2 -3
- package/src/lib/components/details/use-details-modal.js.map +1 -1
- package/src/lib/components/details/use-details.d.ts +1 -1
- package/src/lib/components/details/use-details.js +1 -1
- package/src/lib/components/divider/divider.d.ts +2 -3
- package/src/lib/components/divider/divider.js +2 -3
- package/src/lib/components/divider/divider.js.map +1 -1
- package/src/lib/components/divider/divider.types.d.ts +1 -1
- package/src/lib/components/divider/standard/divider-standard.d.ts +2 -2
- package/src/lib/components/divider/standard/divider-standard.js +2 -2
- package/src/lib/components/drawer/drawer.d.ts +4 -5
- package/src/lib/components/drawer/drawer.js +4 -5
- package/src/lib/components/drawer/drawer.js.map +1 -1
- package/src/lib/components/drawer/drawer.types.d.ts +3 -3
- package/src/lib/components/drawer/standard/drawer-standard.d.ts +1 -1
- package/src/lib/components/drawer/standard/drawer-standard.js +1 -1
- package/src/lib/components/drawer/standard/drawer-standard.js.map +1 -1
- package/src/lib/components/drawer/use-drawer.d.ts +3 -4
- package/src/lib/components/drawer/use-drawer.js +3 -4
- package/src/lib/components/drawer/use-drawer.js.map +1 -1
- package/src/lib/components/dropdown/dropdown.d.ts +4 -5
- package/src/lib/components/dropdown/dropdown.js +4 -5
- package/src/lib/components/dropdown/dropdown.js.map +1 -1
- package/src/lib/components/dropdown/dropdown.types.d.ts +4 -4
- package/src/lib/components/dropdown/preset/dropdown-preset.d.ts +6 -7
- package/src/lib/components/dropdown/preset/dropdown-preset.js +6 -7
- package/src/lib/components/dropdown/preset/dropdown-preset.js.map +1 -1
- package/src/lib/components/dropdown/standard/dropdown-standard.d.ts +1 -1
- package/src/lib/components/dropdown/standard/dropdown-standard.js +1 -1
- package/src/lib/components/dropdown/standard/dropdown-standard.js.map +1 -1
- package/src/lib/components/dropdown/use-dropdown.d.ts +4 -5
- package/src/lib/components/dropdown/use-dropdown.js +4 -5
- package/src/lib/components/dropdown/use-dropdown.js.map +1 -1
- package/src/lib/components/empty-state/empty-state.d.ts +3 -5
- package/src/lib/components/empty-state/empty-state.js +3 -5
- package/src/lib/components/empty-state/empty-state.js.map +1 -1
- package/src/lib/components/empty-state/empty-state.types.d.ts +2 -2
- package/src/lib/components/empty-state/standard/empty-state-standard.d.ts +4 -4
- package/src/lib/components/empty-state/standard/empty-state-standard.js +4 -4
- package/src/lib/components/export/export.d.ts +4 -5
- package/src/lib/components/export/export.js +4 -5
- package/src/lib/components/export/export.js.map +1 -1
- package/src/lib/components/export/export.types.d.ts +1 -1
- package/src/lib/components/export/use-export.d.ts +2 -2
- package/src/lib/components/export/use-export.js +2 -2
- package/src/lib/components/feed/feed.d.ts +2 -3
- package/src/lib/components/feed/feed.js +2 -3
- package/src/lib/components/feed/feed.js.map +1 -1
- package/src/lib/components/feed/standard/feed-standard.d.ts +4 -4
- package/src/lib/components/feed/standard/feed-standard.js +4 -4
- package/src/lib/components/form/form.d.ts +10 -14
- package/src/lib/components/form/form.js +20 -26
- package/src/lib/components/form/form.js.map +1 -1
- package/src/lib/components/form/form.types.d.ts +6 -7
- package/src/lib/components/form/preset/form-preset.d.ts +1 -1
- package/src/lib/components/form/preset/form-preset.js +1 -1
- package/src/lib/components/form/standard/form-standard.d.ts +1 -1
- package/src/lib/components/form/standard/form-standard.js +1 -1
- package/src/lib/components/form/standard/form-standard.js.map +1 -1
- package/src/lib/components/form/use-form-base.d.ts +5 -6
- package/src/lib/components/form/use-form-base.js +9 -13
- package/src/lib/components/form/use-form-base.js.map +1 -1
- package/src/lib/components/grid-list/grid-list.d.ts +2 -3
- package/src/lib/components/grid-list/grid-list.js +2 -3
- package/src/lib/components/grid-list/grid-list.js.map +1 -1
- package/src/lib/components/grid-list/preset/grid-list-preset.d.ts +2 -3
- package/src/lib/components/grid-list/preset/grid-list-preset.js +2 -3
- package/src/lib/components/grid-list/preset/grid-list-preset.js.map +1 -1
- package/src/lib/components/grid-list/standard/grid-list-standard.d.ts +3 -4
- package/src/lib/components/grid-list/standard/grid-list-standard.js +3 -4
- package/src/lib/components/grid-list/standard/grid-list-standard.js.map +1 -1
- package/src/lib/components/icon/icon.d.ts +1 -1
- package/src/lib/components/icon/icon.js +1 -1
- package/src/lib/components/icon/icon.js.map +1 -1
- package/src/lib/components/icon/icon.types.d.ts +1 -1
- package/src/lib/components/icon/preset/preset-classes.d.ts +1 -1
- package/src/lib/components/icon/preset/preset-classes.js +2 -2
- package/src/lib/components/icon/preset/preset-classes.js.map +1 -1
- package/src/lib/components/import/import.d.ts +4 -5
- package/src/lib/components/import/import.js +4 -5
- package/src/lib/components/import/import.js.map +1 -1
- package/src/lib/components/import/import.types.d.ts +2 -2
- package/src/lib/components/import/use-import.d.ts +3 -3
- package/src/lib/components/import/use-import.js +4 -4
- package/src/lib/components/import/use-import.js.map +1 -1
- package/src/lib/components/info/info.d.ts +2 -3
- package/src/lib/components/info/info.js +2 -3
- package/src/lib/components/info/info.js.map +1 -1
- package/src/lib/components/info/standard/info-standard.d.ts +3 -3
- package/src/lib/components/info/standard/info-standard.js +3 -3
- package/src/lib/components/info/use-info.d.ts +2 -2
- package/src/lib/components/info/use-info.js +2 -2
- package/src/lib/components/input/address/input-address.d.ts +4 -4
- package/src/lib/components/input/address/input-address.js +4 -4
- package/src/lib/components/input/address/preset/input-address-preset.d.ts +4 -5
- package/src/lib/components/input/address/preset/input-address-preset.js +4 -5
- package/src/lib/components/input/address/preset/input-address-preset.js.map +1 -1
- package/src/lib/components/input/address/use-input-address.d.ts +4 -5
- package/src/lib/components/input/address/use-input-address.js +4 -5
- package/src/lib/components/input/address/use-input-address.js.map +1 -1
- package/src/lib/components/input/array/input-array.d.ts +4 -5
- package/src/lib/components/input/array/input-array.js +4 -5
- package/src/lib/components/input/array/input-array.js.map +1 -1
- package/src/lib/components/input/array/preset/input-array-preset.d.ts +3 -3
- package/src/lib/components/input/array/preset/input-array-preset.js +3 -3
- package/src/lib/components/input/array/use-input-array.d.ts +3 -5
- package/src/lib/components/input/array/use-input-array.js +9 -11
- package/src/lib/components/input/array/use-input-array.js.map +1 -1
- package/src/lib/components/input/attachment/input-attachment.d.ts +2 -3
- package/src/lib/components/input/attachment/input-attachment.js +2 -3
- package/src/lib/components/input/attachment/input-attachment.js.map +1 -1
- package/src/lib/components/input/attachment/preset/input-attachment-preset.d.ts +1 -2
- package/src/lib/components/input/attachment/preset/input-attachment-preset.js +1 -2
- package/src/lib/components/input/attachment/preset/input-attachment-preset.js.map +1 -1
- package/src/lib/components/input/base/use-input-file.d.ts +4 -5
- package/src/lib/components/input/base/use-input-file.js +4 -5
- package/src/lib/components/input/base/use-input-file.js.map +1 -1
- package/src/lib/components/input/base/use-input-possibilities.d.ts +1 -2
- package/src/lib/components/input/base/use-input-possibilities.js +1 -2
- package/src/lib/components/input/base/use-input-possibilities.js.map +1 -1
- package/src/lib/components/input/base/use-input.d.ts +4 -5
- package/src/lib/components/input/base/use-input.js +6 -7
- package/src/lib/components/input/base/use-input.js.map +1 -1
- package/src/lib/components/input/check/input-check.d.ts +3 -4
- package/src/lib/components/input/check/input-check.js +3 -4
- package/src/lib/components/input/check/input-check.js.map +1 -1
- package/src/lib/components/input/check/preset/input-check-preset.d.ts +2 -3
- package/src/lib/components/input/check/preset/input-check-preset.js +2 -3
- package/src/lib/components/input/check/preset/input-check-preset.js.map +1 -1
- package/src/lib/components/input/check/use-input-check.d.ts +9 -12
- package/src/lib/components/input/check/use-input-check.js +9 -12
- package/src/lib/components/input/check/use-input-check.js.map +1 -1
- package/src/lib/components/input/color/input-color.d.ts +2 -4
- package/src/lib/components/input/color/input-color.js +2 -4
- package/src/lib/components/input/color/input-color.js.map +1 -1
- package/src/lib/components/input/color/preset/input-color-preset.d.ts +2 -3
- package/src/lib/components/input/color/preset/input-color-preset.js +2 -3
- package/src/lib/components/input/color/preset/input-color-preset.js.map +1 -1
- package/src/lib/components/input/color/use-input-color.d.ts +4 -4
- package/src/lib/components/input/color/use-input-color.js +5 -5
- package/src/lib/components/input/color/use-input-color.js.map +1 -1
- package/src/lib/components/input/currency/input-currency.d.ts +2 -4
- package/src/lib/components/input/currency/input-currency.js +2 -4
- package/src/lib/components/input/currency/input-currency.js.map +1 -1
- package/src/lib/components/input/currency/preset/input-currency-preset.d.ts +2 -3
- package/src/lib/components/input/currency/preset/input-currency-preset.js +2 -3
- package/src/lib/components/input/currency/preset/input-currency-preset.js.map +1 -1
- package/src/lib/components/input/date/input-date.d.ts +4 -7
- package/src/lib/components/input/date/input-date.js +4 -7
- package/src/lib/components/input/date/input-date.js.map +1 -1
- package/src/lib/components/input/date/preset/input-date-preset.d.ts +4 -5
- package/src/lib/components/input/date/preset/input-date-preset.js +4 -5
- package/src/lib/components/input/date/preset/input-date-preset.js.map +1 -1
- package/src/lib/components/input/date-range/input-date-range.d.ts +5 -8
- package/src/lib/components/input/date-range/input-date-range.js +5 -8
- package/src/lib/components/input/date-range/input-date-range.js.map +1 -1
- package/src/lib/components/input/date-range/preset/input-date-range-preset.d.ts +6 -8
- package/src/lib/components/input/date-range/preset/input-date-range-preset.js +6 -8
- package/src/lib/components/input/date-range/preset/input-date-range-preset.js.map +1 -1
- package/src/lib/components/input/date-with-edit/input-date-with-edit.d.ts +6 -9
- package/src/lib/components/input/date-with-edit/input-date-with-edit.js +6 -9
- package/src/lib/components/input/date-with-edit/input-date-with-edit.js.map +1 -1
- package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.d.ts +7 -8
- package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.js +7 -8
- package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.js.map +1 -1
- package/src/lib/components/input/default-field-components.js +4 -5
- package/src/lib/components/input/default-field-components.js.map +1 -1
- package/src/lib/components/input/email/input-email.d.ts +2 -3
- package/src/lib/components/input/email/input-email.js +2 -3
- package/src/lib/components/input/email/input-email.js.map +1 -1
- package/src/lib/components/input/email/preset/input-email-preset.d.ts +2 -3
- package/src/lib/components/input/email/preset/input-email-preset.js +2 -3
- package/src/lib/components/input/email/preset/input-email-preset.js.map +1 -1
- package/src/lib/components/input/enum/input-enum.d.ts +3 -4
- package/src/lib/components/input/enum/input-enum.js +3 -4
- package/src/lib/components/input/enum/input-enum.js.map +1 -1
- package/src/lib/components/input/enum/preset/input-enum-preset.d.ts +4 -5
- package/src/lib/components/input/enum/preset/input-enum-preset.js +4 -5
- package/src/lib/components/input/enum/preset/input-enum-preset.js.map +1 -1
- package/src/lib/components/input/error/input-error-messages.d.ts +3 -3
- package/src/lib/components/input/error/input-error-messages.js +3 -3
- package/src/lib/components/input/error/input-error.d.ts +1 -1
- package/src/lib/components/input/error/input-error.js +1 -1
- package/src/lib/components/input/error/input-error.js.map +1 -1
- package/src/lib/components/input/field-options.d.ts +2 -3
- package/src/lib/components/input/field-options.js +2 -3
- package/src/lib/components/input/field-options.js.map +1 -1
- package/src/lib/components/input/file/input-file.d.ts +4 -5
- package/src/lib/components/input/file/input-file.js +4 -5
- package/src/lib/components/input/file/input-file.js.map +1 -1
- package/src/lib/components/input/file/preset/input-file-preset.d.ts +4 -5
- package/src/lib/components/input/file/preset/input-file-preset.js +4 -5
- package/src/lib/components/input/file/preset/input-file-preset.js.map +1 -1
- package/src/lib/components/input/file/use-input-file-drop-zone.d.ts +4 -6
- package/src/lib/components/input/file/use-input-file-drop-zone.js +4 -6
- package/src/lib/components/input/file/use-input-file-drop-zone.js.map +1 -1
- package/src/lib/components/input/flag/input-flag.d.ts +1 -2
- package/src/lib/components/input/flag/input-flag.js +1 -2
- package/src/lib/components/input/flag/input-flag.js.map +1 -1
- package/src/lib/components/input/flag/preset/input-flag-preset.d.ts +2 -2
- package/src/lib/components/input/flag/preset/input-flag-preset.js +2 -2
- package/src/lib/components/input/float/input-float.d.ts +1 -2
- package/src/lib/components/input/float/input-float.js +1 -2
- package/src/lib/components/input/float/input-float.js.map +1 -1
- package/src/lib/components/input/float/preset/input-float-preset.d.ts +2 -3
- package/src/lib/components/input/float/preset/input-float-preset.js +2 -3
- package/src/lib/components/input/float/preset/input-float-preset.js.map +1 -1
- package/src/lib/components/input/image/input-image.d.ts +4 -5
- package/src/lib/components/input/image/input-image.js +4 -5
- package/src/lib/components/input/image/input-image.js.map +1 -1
- package/src/lib/components/input/image/preset/input-image-preset.d.ts +3 -4
- package/src/lib/components/input/image/preset/input-image-preset.js +3 -4
- package/src/lib/components/input/image/preset/input-image-preset.js.map +1 -1
- package/src/lib/components/input/image/use-input-image.d.ts +3 -4
- package/src/lib/components/input/image/use-input-image.js +3 -4
- package/src/lib/components/input/image/use-input-image.js.map +1 -1
- package/src/lib/components/input/input.d.ts +6 -8
- package/src/lib/components/input/input.js +6 -8
- package/src/lib/components/input/input.js.map +1 -1
- package/src/lib/components/input/input.types.d.ts +4 -5
- package/src/lib/components/input/int/input-int.d.ts +2 -3
- package/src/lib/components/input/int/input-int.js +2 -3
- package/src/lib/components/input/int/input-int.js.map +1 -1
- package/src/lib/components/input/int/number-value.d.ts +2 -3
- package/src/lib/components/input/int/number-value.js +2 -3
- package/src/lib/components/input/int/number-value.js.map +1 -1
- package/src/lib/components/input/int/preset/input-int-preset.d.ts +2 -2
- package/src/lib/components/input/int/preset/input-int-preset.js +2 -2
- package/src/lib/components/input/ints/input-ints.d.ts +2 -3
- package/src/lib/components/input/ints/input-ints.js +2 -3
- package/src/lib/components/input/ints/input-ints.js.map +1 -1
- package/src/lib/components/input/ints/preset/input-ints-preset.d.ts +3 -4
- package/src/lib/components/input/ints/preset/input-ints-preset.js +3 -4
- package/src/lib/components/input/ints/preset/input-ints-preset.js.map +1 -1
- package/src/lib/components/input/ints/use-input-ints.d.ts +6 -7
- package/src/lib/components/input/ints/use-input-ints.js +4 -5
- package/src/lib/components/input/ints/use-input-ints.js.map +1 -1
- package/src/lib/components/input/logo/input-logo.d.ts +5 -7
- package/src/lib/components/input/logo/input-logo.js +5 -7
- package/src/lib/components/input/logo/input-logo.js.map +1 -1
- package/src/lib/components/input/logo/preset/input-logo-preset.d.ts +5 -6
- package/src/lib/components/input/logo/preset/input-logo-preset.js +5 -6
- package/src/lib/components/input/logo/preset/input-logo-preset.js.map +1 -1
- package/src/lib/components/input/long-text/input-long-text.d.ts +3 -5
- package/src/lib/components/input/long-text/input-long-text.js +3 -5
- package/src/lib/components/input/long-text/input-long-text.js.map +1 -1
- package/src/lib/components/input/long-text/preset/input-long-text-preset.d.ts +3 -4
- package/src/lib/components/input/long-text/preset/input-long-text-preset.js +3 -4
- package/src/lib/components/input/long-text/preset/input-long-text-preset.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-commands.d.ts +3 -4
- package/src/lib/components/input/long-text/rich-text-commands.js +3 -4
- package/src/lib/components/input/long-text/rich-text-commands.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-editor.d.ts +3 -5
- package/src/lib/components/input/long-text/rich-text-editor.js +5 -7
- package/src/lib/components/input/long-text/rich-text-editor.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-menu.d.ts +4 -5
- package/src/lib/components/input/long-text/rich-text-menu.js +5 -6
- package/src/lib/components/input/long-text/rich-text-menu.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-popups.d.ts +7 -9
- package/src/lib/components/input/long-text/rich-text-popups.js +7 -9
- package/src/lib/components/input/long-text/rich-text-popups.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-toolbar.d.ts +9 -17
- package/src/lib/components/input/long-text/rich-text-toolbar.js +8 -16
- package/src/lib/components/input/long-text/rich-text-toolbar.js.map +1 -1
- package/src/lib/components/input/nip/input-nip.d.ts +3 -4
- package/src/lib/components/input/nip/input-nip.js +3 -4
- package/src/lib/components/input/nip/input-nip.js.map +1 -1
- package/src/lib/components/input/nip/preset/input-nip-preset.d.ts +3 -3
- package/src/lib/components/input/nip/preset/input-nip-preset.js +3 -3
- package/src/lib/components/input/nip/use-input-nip.d.ts +6 -6
- package/src/lib/components/input/nip/use-input-nip.js +6 -6
- package/src/lib/components/input/object/input-object.d.ts +1 -3
- package/src/lib/components/input/object/input-object.js +1 -3
- package/src/lib/components/input/object/input-object.js.map +1 -1
- package/src/lib/components/input/object/preset/input-object-preset.d.ts +2 -2
- package/src/lib/components/input/object/preset/input-object-preset.js +2 -2
- package/src/lib/components/input/object/use-input-object.d.ts +3 -3
- package/src/lib/components/input/object/use-input-object.js +3 -3
- package/src/lib/components/input/password/input-password.d.ts +4 -5
- package/src/lib/components/input/password/input-password.js +4 -5
- package/src/lib/components/input/password/input-password.js.map +1 -1
- package/src/lib/components/input/password/preset/input-password-preset.d.ts +4 -6
- package/src/lib/components/input/password/preset/input-password-preset.js +4 -6
- package/src/lib/components/input/password/preset/input-password-preset.js.map +1 -1
- package/src/lib/components/input/password/use-input-password.d.ts +4 -5
- package/src/lib/components/input/password/use-input-password.js +4 -5
- package/src/lib/components/input/password/use-input-password.js.map +1 -1
- package/src/lib/components/input/pdf/input-pdf.d.ts +4 -5
- package/src/lib/components/input/pdf/input-pdf.js +4 -5
- package/src/lib/components/input/pdf/input-pdf.js.map +1 -1
- package/src/lib/components/input/pdf/preset/input-pdf-preset.d.ts +5 -6
- package/src/lib/components/input/pdf/preset/input-pdf-preset.js +5 -6
- package/src/lib/components/input/pdf/preset/input-pdf-preset.js.map +1 -1
- package/src/lib/components/input/pesel/input-pesel.d.ts +3 -5
- package/src/lib/components/input/pesel/input-pesel.js +3 -5
- package/src/lib/components/input/pesel/input-pesel.js.map +1 -1
- package/src/lib/components/input/pesel/preset/input-pesel-preset.d.ts +4 -6
- package/src/lib/components/input/pesel/preset/input-pesel-preset.js +4 -6
- package/src/lib/components/input/pesel/preset/input-pesel-preset.js.map +1 -1
- package/src/lib/components/input/phone-number/input-phone-number.d.ts +3 -4
- package/src/lib/components/input/phone-number/input-phone-number.js +3 -4
- package/src/lib/components/input/phone-number/input-phone-number.js.map +1 -1
- package/src/lib/components/input/phone-number/preset/input-phone-number-preset.d.ts +1 -2
- package/src/lib/components/input/phone-number/preset/input-phone-number-preset.js +1 -2
- package/src/lib/components/input/phone-number/preset/input-phone-number-preset.js.map +1 -1
- package/src/lib/components/input/phone-number-pl/input-phone-number-pl.d.ts +2 -3
- package/src/lib/components/input/phone-number-pl/input-phone-number-pl.js +2 -3
- package/src/lib/components/input/phone-number-pl/input-phone-number-pl.js.map +1 -1
- package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.d.ts +3 -4
- package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.js +3 -4
- package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.js.map +1 -1
- package/src/lib/components/input/phone-number-pl/use-input-phone-number-pl.d.ts +7 -7
- package/src/lib/components/input/phone-number-pl/use-input-phone-number-pl.js +7 -7
- package/src/lib/components/input/preset-fields.d.ts +3 -4
- package/src/lib/components/input/preset-fields.js +3 -4
- package/src/lib/components/input/preset-fields.js.map +1 -1
- package/src/lib/components/input/radio/input-radio.d.ts +2 -3
- package/src/lib/components/input/radio/input-radio.js +2 -3
- package/src/lib/components/input/radio/input-radio.js.map +1 -1
- package/src/lib/components/input/radio/preset/input-radio-preset.d.ts +3 -3
- package/src/lib/components/input/radio/preset/input-radio-preset.js +3 -3
- package/src/lib/components/input/radio/use-input-radio.d.ts +8 -9
- package/src/lib/components/input/radio/use-input-radio.js +8 -9
- package/src/lib/components/input/radio/use-input-radio.js.map +1 -1
- package/src/lib/components/input/strings/input-strings.d.ts +6 -7
- package/src/lib/components/input/strings/input-strings.js +6 -7
- package/src/lib/components/input/strings/input-strings.js.map +1 -1
- package/src/lib/components/input/strings/preset/input-strings-preset.d.ts +4 -5
- package/src/lib/components/input/strings/preset/input-strings-preset.js +4 -5
- package/src/lib/components/input/strings/preset/input-strings-preset.js.map +1 -1
- package/src/lib/components/input/text/input-text.d.ts +2 -3
- package/src/lib/components/input/text/input-text.js +2 -3
- package/src/lib/components/input/text/input-text.js.map +1 -1
- package/src/lib/components/input/text/preset/input-text-preset.d.ts +2 -3
- package/src/lib/components/input/text/preset/input-text-preset.js +2 -3
- package/src/lib/components/input/text/preset/input-text-preset.js.map +1 -1
- package/src/lib/components/input/video/input-video.d.ts +4 -6
- package/src/lib/components/input/video/input-video.js +4 -6
- package/src/lib/components/input/video/input-video.js.map +1 -1
- package/src/lib/components/input/video/preset/input-video-preset.d.ts +6 -6
- package/src/lib/components/input/video/preset/input-video-preset.js +6 -6
- package/src/lib/components/input/video/use-input-video.d.ts +3 -5
- package/src/lib/components/input/video/use-input-video.js +4 -6
- package/src/lib/components/input/video/use-input-video.js.map +1 -1
- package/src/lib/components/list/desktop/list-desktop.d.ts +4 -5
- package/src/lib/components/list/desktop/list-desktop.js +4 -5
- package/src/lib/components/list/desktop/list-desktop.js.map +1 -1
- package/src/lib/components/list/desktop/preset/list-desktop-preset.d.ts +6 -7
- package/src/lib/components/list/desktop/preset/list-desktop-preset.js +6 -7
- package/src/lib/components/list/desktop/preset/list-desktop-preset.js.map +1 -1
- package/src/lib/components/list/desktop/use-list-desktop.d.ts +4 -8
- package/src/lib/components/list/desktop/use-list-desktop.js +4 -8
- package/src/lib/components/list/desktop/use-list-desktop.js.map +1 -1
- package/src/lib/components/list/list-title-key.d.ts +2 -3
- package/src/lib/components/list/list-title-key.js +2 -3
- package/src/lib/components/list/list-title-key.js.map +1 -1
- package/src/lib/components/list/list.d.ts +8 -10
- package/src/lib/components/list/list.js +8 -10
- package/src/lib/components/list/list.js.map +1 -1
- package/src/lib/components/list/list.types.d.ts +3 -4
- package/src/lib/components/list/masonry-grid/list-masonry-grid.d.ts +3 -5
- package/src/lib/components/list/masonry-grid/list-masonry-grid.js +3 -5
- package/src/lib/components/list/masonry-grid/list-masonry-grid.js.map +1 -1
- package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.d.ts +5 -6
- package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.js +5 -6
- package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.js.map +1 -1
- package/src/lib/components/list/masonry-grid/use-list-masonry-grid.d.ts +1 -2
- package/src/lib/components/list/masonry-grid/use-list-masonry-grid.js +1 -2
- package/src/lib/components/list/masonry-grid/use-list-masonry-grid.js.map +1 -1
- package/src/lib/components/list/mobile/list-mobile.d.ts +2 -3
- package/src/lib/components/list/mobile/list-mobile.js +2 -3
- package/src/lib/components/list/mobile/list-mobile.js.map +1 -1
- package/src/lib/components/list/mobile/preset/list-mobile-preset.d.ts +5 -6
- package/src/lib/components/list/mobile/preset/list-mobile-preset.js +5 -6
- package/src/lib/components/list/mobile/preset/list-mobile-preset.js.map +1 -1
- package/src/lib/components/list/preset-modes.d.ts +1 -2
- package/src/lib/components/list/preset-modes.js +1 -2
- package/src/lib/components/list/preset-modes.js.map +1 -1
- package/src/lib/components/list/use-list.d.ts +6 -6
- package/src/lib/components/list/use-list.js +9 -9
- package/src/lib/components/list/use-list.js.map +1 -1
- package/src/lib/components/list-container/list-container.d.ts +3 -5
- package/src/lib/components/list-container/list-container.js +3 -5
- package/src/lib/components/list-container/list-container.js.map +1 -1
- package/src/lib/components/list-container/list-container.types.d.ts +1 -1
- package/src/lib/components/list-container/standard/list-container-standard.d.ts +2 -3
- package/src/lib/components/list-container/standard/list-container-standard.js +2 -3
- package/src/lib/components/list-container/standard/list-container-standard.js.map +1 -1
- package/src/lib/components/loader/loader.d.ts +2 -3
- package/src/lib/components/loader/loader.js +2 -3
- package/src/lib/components/loader/loader.js.map +1 -1
- package/src/lib/components/loader/standard/loader-standard.d.ts +1 -1
- package/src/lib/components/loader/standard/loader-standard.js +1 -1
- package/src/lib/components/loader/standard/loader-standard.js.map +1 -1
- package/src/lib/components/loader/use-loader.d.ts +2 -3
- package/src/lib/components/loader/use-loader.js +4 -5
- package/src/lib/components/loader/use-loader.js.map +1 -1
- package/src/lib/components/media-object/media-object.d.ts +3 -5
- package/src/lib/components/media-object/media-object.js +3 -5
- package/src/lib/components/media-object/media-object.js.map +1 -1
- package/src/lib/components/media-object/media-object.types.d.ts +1 -1
- package/src/lib/components/media-object/standard/media-object-standard.d.ts +4 -4
- package/src/lib/components/media-object/standard/media-object-standard.js +4 -4
- package/src/lib/components/modal/modal.d.ts +5 -6
- package/src/lib/components/modal/modal.js +5 -6
- package/src/lib/components/modal/modal.js.map +1 -1
- package/src/lib/components/modal/modal.types.d.ts +4 -4
- package/src/lib/components/modal/standard/modal-standard.d.ts +3 -3
- package/src/lib/components/modal/standard/modal-standard.js +3 -3
- package/src/lib/components/modal/use-modal.d.ts +4 -5
- package/src/lib/components/modal/use-modal.js +4 -5
- package/src/lib/components/modal/use-modal.js.map +1 -1
- package/src/lib/components/multi-column-layout/multi-column-layout.d.ts +3 -5
- package/src/lib/components/multi-column-layout/multi-column-layout.js +3 -5
- package/src/lib/components/multi-column-layout/multi-column-layout.js.map +1 -1
- package/src/lib/components/multi-column-layout/multi-column-layout.types.d.ts +1 -1
- package/src/lib/components/multi-column-layout/standard/multi-column-layout-standard.d.ts +3 -3
- package/src/lib/components/multi-column-layout/standard/multi-column-layout-standard.js +3 -3
- package/src/lib/components/navbar/nav-link.d.ts +5 -5
- package/src/lib/components/navbar/nav-link.js +5 -5
- package/src/lib/components/navbar/navbar.d.ts +2 -3
- package/src/lib/components/navbar/navbar.js +2 -3
- package/src/lib/components/navbar/navbar.js.map +1 -1
- package/src/lib/components/navbar/navbar.types.d.ts +2 -2
- package/src/lib/components/navbar/standard/navbar-standard.d.ts +1 -1
- package/src/lib/components/navbar/standard/navbar-standard.js +1 -1
- package/src/lib/components/navbar/standard/navbar-standard.js.map +1 -1
- package/src/lib/components/navbar/use-navbar.d.ts +3 -4
- package/src/lib/components/navbar/use-navbar.js +3 -4
- package/src/lib/components/navbar/use-navbar.js.map +1 -1
- package/src/lib/components/notification/notification.d.ts +4 -5
- package/src/lib/components/notification/notification.js +4 -5
- package/src/lib/components/notification/notification.js.map +1 -1
- package/src/lib/components/notification/notification.types.d.ts +1 -1
- package/src/lib/components/notification/preset/notification-preset.d.ts +4 -5
- package/src/lib/components/notification/preset/notification-preset.js +4 -5
- package/src/lib/components/notification/preset/notification-preset.js.map +1 -1
- package/src/lib/components/notification/standard/notification-standard.d.ts +1 -1
- package/src/lib/components/notification/standard/notification-standard.js +1 -1
- package/src/lib/components/notification/standard/notification-standard.js.map +1 -1
- package/src/lib/components/notification/use-notification.d.ts +3 -4
- package/src/lib/components/notification/use-notification.js +3 -4
- package/src/lib/components/notification/use-notification.js.map +1 -1
- package/src/lib/components/page/page.d.ts +7 -8
- package/src/lib/components/page/page.js +7 -8
- package/src/lib/components/page/page.js.map +1 -1
- package/src/lib/components/page/page.types.d.ts +4 -4
- package/src/lib/components/page/preset/page-preset.d.ts +2 -2
- package/src/lib/components/page/preset/page-preset.js +2 -2
- package/src/lib/components/page/preset-variants.d.ts +3 -4
- package/src/lib/components/page/preset-variants.js +3 -4
- package/src/lib/components/page/preset-variants.js.map +1 -1
- package/src/lib/components/page/standard/page-standard.d.ts +5 -5
- package/src/lib/components/page/standard/page-standard.js +5 -5
- package/src/lib/components/page/use-page.d.ts +3 -4
- package/src/lib/components/page/use-page.js +3 -4
- package/src/lib/components/page/use-page.js.map +1 -1
- package/src/lib/components/page-heading/page-heading.d.ts +2 -4
- package/src/lib/components/page-heading/page-heading.js +2 -4
- package/src/lib/components/page-heading/page-heading.js.map +1 -1
- package/src/lib/components/page-heading/preset/page-heading-preset.d.ts +3 -4
- package/src/lib/components/page-heading/preset/page-heading-preset.js +3 -4
- package/src/lib/components/page-heading/preset/page-heading-preset.js.map +1 -1
- package/src/lib/components/page-heading/standard/page-heading-standard.d.ts +3 -3
- package/src/lib/components/page-heading/standard/page-heading-standard.js +3 -3
- package/src/lib/components/paging/paging.d.ts +3 -4
- package/src/lib/components/paging/paging.js +3 -4
- package/src/lib/components/paging/paging.js.map +1 -1
- package/src/lib/components/paging/paging.types.d.ts +1 -1
- package/src/lib/components/paging/preset/paging-preset.d.ts +3 -3
- package/src/lib/components/paging/preset/paging-preset.js +3 -3
- package/src/lib/components/paging/standard/paging-standard.d.ts +3 -3
- package/src/lib/components/paging/standard/paging-standard.js +3 -3
- package/src/lib/components/paging/use-paging.d.ts +5 -6
- package/src/lib/components/paging/use-paging.js +5 -6
- package/src/lib/components/paging/use-paging.js.map +1 -1
- package/src/lib/components/password-strength/password-strength.d.ts +2 -4
- package/src/lib/components/password-strength/password-strength.js +2 -4
- package/src/lib/components/password-strength/password-strength.js.map +1 -1
- package/src/lib/components/password-strength/password-strength.types.d.ts +2 -5
- package/src/lib/components/password-strength/standard/password-strength-standard.d.ts +1 -1
- package/src/lib/components/password-strength/standard/password-strength-standard.js +1 -1
- package/src/lib/components/password-strength/standard/password-strength-standard.js.map +1 -1
- package/src/lib/components/password-strength/use-password-strength.d.ts +1 -2
- package/src/lib/components/password-strength/use-password-strength.js +3 -4
- package/src/lib/components/password-strength/use-password-strength.js.map +1 -1
- package/src/lib/components/presets/presets.d.ts +3 -5
- package/src/lib/components/presets/presets.js +3 -5
- package/src/lib/components/presets/presets.js.map +1 -1
- package/src/lib/components/progress-bars/progress-bars.d.ts +2 -4
- package/src/lib/components/progress-bars/progress-bars.js +2 -4
- package/src/lib/components/progress-bars/progress-bars.js.map +1 -1
- package/src/lib/components/progress-bars/standard/progress-bars-standard.d.ts +2 -2
- package/src/lib/components/progress-bars/standard/progress-bars-standard.js +3 -3
- package/src/lib/components/progress-bars/standard/progress-bars-standard.js.map +1 -1
- package/src/lib/components/searchbar/searchbar.d.ts +2 -3
- package/src/lib/components/searchbar/searchbar.js +2 -3
- package/src/lib/components/searchbar/searchbar.js.map +1 -1
- package/src/lib/components/searchbar/searchbar.types.d.ts +7 -7
- package/src/lib/components/searchbar/standard/searchbar-standard.d.ts +3 -5
- package/src/lib/components/searchbar/standard/searchbar-standard.js +3 -5
- package/src/lib/components/searchbar/standard/searchbar-standard.js.map +1 -1
- package/src/lib/components/searchbar/use-searchbar.d.ts +1 -2
- package/src/lib/components/searchbar/use-searchbar.js +1 -2
- package/src/lib/components/searchbar/use-searchbar.js.map +1 -1
- package/src/lib/components/section-heading/preset/section-heading-preset.d.ts +1 -2
- package/src/lib/components/section-heading/preset/section-heading-preset.js +1 -2
- package/src/lib/components/section-heading/preset/section-heading-preset.js.map +1 -1
- package/src/lib/components/section-heading/section-heading.d.ts +2 -4
- package/src/lib/components/section-heading/section-heading.js +2 -4
- package/src/lib/components/section-heading/section-heading.js.map +1 -1
- package/src/lib/components/section-heading/standard/section-heading-standard.d.ts +3 -3
- package/src/lib/components/section-heading/standard/section-heading-standard.js +3 -3
- package/src/lib/components/select-menu/select-menu.d.ts +2 -4
- package/src/lib/components/select-menu/select-menu.js +2 -4
- package/src/lib/components/select-menu/select-menu.js.map +1 -1
- package/src/lib/components/select-menu/select-menu.types.d.ts +3 -3
- package/src/lib/components/select-menu/standard/select-menu-standard.d.ts +2 -3
- package/src/lib/components/select-menu/standard/select-menu-standard.js +2 -3
- package/src/lib/components/select-menu/standard/select-menu-standard.js.map +1 -1
- package/src/lib/components/select-menu/use-select-menu.d.ts +3 -4
- package/src/lib/components/select-menu/use-select-menu.js +3 -4
- package/src/lib/components/select-menu/use-select-menu.js.map +1 -1
- package/src/lib/components/sidebar-layout/preset/sidebar-layout-preset.d.ts +1 -1
- package/src/lib/components/sidebar-layout/preset/sidebar-layout-preset.js +1 -1
- package/src/lib/components/sidebar-layout/sidebar-layout.d.ts +3 -4
- package/src/lib/components/sidebar-layout/sidebar-layout.js +3 -4
- package/src/lib/components/sidebar-layout/sidebar-layout.js.map +1 -1
- package/src/lib/components/sidebar-layout/sidebar-layout.types.d.ts +1 -1
- package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.d.ts +3 -4
- package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.js +3 -4
- package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.js.map +1 -1
- package/src/lib/components/sidebar-navigation/sidebar-navigation.d.ts +2 -4
- package/src/lib/components/sidebar-navigation/sidebar-navigation.js +2 -4
- package/src/lib/components/sidebar-navigation/sidebar-navigation.js.map +1 -1
- package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.d.ts +1 -1
- package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.js +1 -1
- package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.js.map +1 -1
- package/src/lib/components/sidebar-navigation/use-sidebar-navigation.d.ts +5 -5
- package/src/lib/components/sidebar-navigation/use-sidebar-navigation.js +5 -5
- package/src/lib/components/sign-in-form/sign-in-form.d.ts +2 -4
- package/src/lib/components/sign-in-form/sign-in-form.js +2 -4
- package/src/lib/components/sign-in-form/sign-in-form.js.map +1 -1
- package/src/lib/components/sign-in-form/sign-in-form.types.d.ts +2 -2
- package/src/lib/components/sign-in-form/standard/sign-in-form-standard.d.ts +1 -1
- package/src/lib/components/sign-in-form/standard/sign-in-form-standard.js +1 -1
- package/src/lib/components/sign-in-form/standard/sign-in-form-standard.js.map +1 -1
- package/src/lib/components/sign-in-form/use-sign-in-form.d.ts +3 -4
- package/src/lib/components/sign-in-form/use-sign-in-form.js +3 -4
- package/src/lib/components/sign-in-form/use-sign-in-form.js.map +1 -1
- package/src/lib/components/stacked-layout/stacked-layout.d.ts +3 -4
- package/src/lib/components/stacked-layout/stacked-layout.js +3 -4
- package/src/lib/components/stacked-layout/stacked-layout.js.map +1 -1
- package/src/lib/components/stacked-layout/stacked-layout.types.d.ts +1 -1
- package/src/lib/components/stacked-layout/standard/stacked-layout-standard.d.ts +1 -1
- package/src/lib/components/stacked-layout/standard/stacked-layout-standard.js +1 -1
- package/src/lib/components/stacked-list/stacked-list.d.ts +2 -4
- package/src/lib/components/stacked-list/stacked-list.js +2 -4
- package/src/lib/components/stacked-list/stacked-list.js.map +1 -1
- package/src/lib/components/stacked-list/standard/stacked-list-standard.d.ts +5 -5
- package/src/lib/components/stacked-list/standard/stacked-list-standard.js +5 -5
- package/src/lib/components/stats/preset/stats-preset.d.ts +2 -3
- package/src/lib/components/stats/preset/stats-preset.js +2 -3
- package/src/lib/components/stats/preset/stats-preset.js.map +1 -1
- package/src/lib/components/stats/standard/stats-standard.d.ts +3 -3
- package/src/lib/components/stats/standard/stats-standard.js +3 -3
- package/src/lib/components/stats/stats.d.ts +2 -3
- package/src/lib/components/stats/stats.js +2 -3
- package/src/lib/components/stats/stats.js.map +1 -1
- package/src/lib/components/table/preset/table-preset.d.ts +3 -4
- package/src/lib/components/table/preset/table-preset.js +5 -6
- package/src/lib/components/table/preset/table-preset.js.map +1 -1
- package/src/lib/components/table/standard/table-standard.d.ts +5 -5
- package/src/lib/components/table/standard/table-standard.js +5 -5
- package/src/lib/components/table/table-cell.d.ts +1 -1
- package/src/lib/components/table/table-cell.js +1 -1
- package/src/lib/components/table/table.d.ts +2 -3
- package/src/lib/components/table/table.js +2 -3
- package/src/lib/components/table/table.js.map +1 -1
- package/src/lib/components/table/table.types.d.ts +3 -7
- package/src/lib/components/tabs/standard/tabs-standard.d.ts +2 -2
- package/src/lib/components/tabs/standard/tabs-standard.js +2 -2
- package/src/lib/components/tabs/tabs.d.ts +2 -3
- package/src/lib/components/tabs/tabs.js +2 -3
- package/src/lib/components/tabs/tabs.js.map +1 -1
- package/src/lib/components/tabs/tabs.types.d.ts +2 -2
- package/src/lib/components/tabs/use-tabs.d.ts +1 -2
- package/src/lib/components/tabs/use-tabs.js +1 -2
- package/src/lib/components/tabs/use-tabs.js.map +1 -1
- package/src/lib/components/textarea/preset/textarea-preset.js +1 -1
- package/src/lib/components/textarea/preset/textarea-preset.js.map +1 -1
- package/src/lib/components/textarea/standard/textarea-standard.d.ts +1 -1
- package/src/lib/components/textarea/standard/textarea-standard.js +1 -1
- package/src/lib/components/textarea/standard/textarea-standard.js.map +1 -1
- package/src/lib/components/textarea/textarea.d.ts +2 -3
- package/src/lib/components/textarea/textarea.js +2 -3
- package/src/lib/components/textarea/textarea.js.map +1 -1
- package/src/lib/components/textarea/textarea.types.d.ts +5 -5
- package/src/lib/components/textarea/use-textarea.d.ts +4 -5
- package/src/lib/components/textarea/use-textarea.js +4 -5
- package/src/lib/components/textarea/use-textarea.js.map +1 -1
- package/src/lib/components/toggle/standard/toggle-standard.d.ts +2 -3
- package/src/lib/components/toggle/standard/toggle-standard.js +2 -3
- package/src/lib/components/toggle/standard/toggle-standard.js.map +1 -1
- package/src/lib/components/toggle/toggle.d.ts +2 -3
- package/src/lib/components/toggle/toggle.js +2 -3
- package/src/lib/components/toggle/toggle.js.map +1 -1
- package/src/lib/components/toggle/toggle.types.d.ts +3 -3
- package/src/lib/components/toggle/use-toggle.d.ts +3 -4
- package/src/lib/components/toggle/use-toggle.js +3 -4
- package/src/lib/components/toggle/use-toggle.js.map +1 -1
- package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.d.ts +1 -1
- package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.js +1 -1
- package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.js.map +1 -1
- package/src/lib/components/vertical-navigation/use-vertical-navigation.d.ts +3 -3
- package/src/lib/components/vertical-navigation/use-vertical-navigation.js +3 -3
- package/src/lib/components/vertical-navigation/vertical-navigation.d.ts +2 -4
- package/src/lib/components/vertical-navigation/vertical-navigation.js +2 -4
- package/src/lib/components/vertical-navigation/vertical-navigation.js.map +1 -1
- package/src/lib/factories/form/form.factory.d.ts +1 -2
- package/src/lib/factories/form/form.factory.js +5 -6
- package/src/lib/factories/form/form.factory.js.map +1 -1
- package/src/lib/forms/abstract-control.d.ts +14 -8
- package/src/lib/forms/abstract-control.js +14 -8
- package/src/lib/forms/abstract-control.js.map +1 -1
- package/src/lib/forms/emitter.d.ts +4 -3
- package/src/lib/forms/emitter.js +4 -3
- package/src/lib/forms/emitter.js.map +1 -1
- package/src/lib/forms/form-control.d.ts +2 -3
- package/src/lib/forms/form-control.js +2 -3
- package/src/lib/forms/form-control.js.map +1 -1
- package/src/lib/forms/form-group.d.ts +5 -3
- package/src/lib/forms/form-group.js +5 -3
- package/src/lib/forms/form-group.js.map +1 -1
- package/src/lib/forms/hooks.d.ts +2 -3
- package/src/lib/forms/hooks.js +5 -6
- package/src/lib/forms/hooks.js.map +1 -1
- package/src/lib/forms/validators.d.ts +7 -6
- package/src/lib/forms/validators.js +8 -7
- package/src/lib/forms/validators.js.map +1 -1
- package/src/lib/i18n/translate.d.ts +9 -4
- package/src/lib/i18n/translate.js +5 -1
- package/src/lib/i18n/translate.js.map +1 -1
- package/src/lib/i18n/translations-default.d.ts +3 -3
- package/src/lib/models/interfaces.d.ts +22 -20
- package/src/lib/models/interfaces.js.map +1 -1
- package/src/lib/pages/details/details-page.d.ts +5 -5
- package/src/lib/pages/details/details-page.js +3 -3
- package/src/lib/pages/details/use-details-page-options.d.ts +2 -2
- package/src/lib/pages/details/use-details-page-options.js +2 -2
- package/src/lib/providers/hooks.d.ts +1 -1
- package/src/lib/providers/hooks.js +1 -1
- package/src/lib/providers/hooks.js.map +1 -1
- package/src/lib/providers/smart-context.d.ts +7 -8
- package/src/lib/providers/smart-context.js.map +1 -1
- package/src/lib/providers/smart-provider.d.ts +3 -3
- package/src/lib/providers/smart-provider.js +3 -3
- package/src/lib/services/alert/alert.service.d.ts +2 -3
- package/src/lib/services/alert/alert.service.js +2 -3
- package/src/lib/services/alert/alert.service.js.map +1 -1
- package/src/lib/services/app/app.service.d.ts +3 -2
- package/src/lib/services/app/app.service.js +3 -2
- package/src/lib/services/app/app.service.js.map +1 -1
- package/src/lib/services/http/http.client.d.ts +1 -1
- package/src/lib/services/style/style.service.d.ts +2 -2
- package/src/lib/services/style/style.service.js +2 -2
- package/src/lib/store/store.d.ts +3 -2
- package/src/lib/store/store.js +3 -2
- package/src/lib/store/store.js.map +1 -1
- package/src/lib/utils/class-names.d.ts +2 -2
- package/src/lib/utils/class-names.js +2 -2
- package/src/lib/utils/hooks.d.ts +3 -3
- package/src/lib/utils/hooks.js +3 -3
- package/src/lib/utils/hooks.js.map +1 -1
- package/src/lib/utils/html.d.ts +4 -5
- package/src/lib/utils/html.js +2 -3
- package/src/lib/utils/html.js.map +1 -1
- package/src/lib/utils/model.d.ts +7 -7
- package/src/lib/utils/model.js +9 -9
- package/src/lib/utils/model.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-date-edit.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-edit/use-date-edit.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"use-date-edit.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-edit/use-date-edit.ts"],"names":[],"mappings":";;;AAmGA,kCAwDC;;AA3JD,4DAA4B;AAC5B,iCAA8C;AAKjC,QAAA,sBAAsB,GAAG,YAAY,CAAC;AAInD,SAAS,SAAS,CA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AC,CAAC,CAAC;QACd,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;QACd,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;QACd,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;KACf,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { SmartDateRangeProps } from './date-range.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* Angular `ngModel`), or pass a form `control` (the Angular `[formControl]`).
|
|
3
|
+
* The date-range picker in the `variant` rendering (`standard`, a trigger
|
|
4
|
+
* opening a scrollable calendar modal, by default; or `preset`, a calendar
|
|
5
|
+
* popover). Bind it with `value` + `onValueChange`, or pass a form `control`.
|
|
7
6
|
*/
|
|
8
7
|
export declare function SmartDateRange({ control, ...props }: SmartDateRangeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -17,9 +17,8 @@ function SmartDateRangeVariant({ variant = 'standard', ...props }) {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* touched.
|
|
20
|
+
* Binds the picker to a form control: the control's value is shown; a change
|
|
21
|
+
* sets the value and marks the control dirty and touched.
|
|
23
22
|
*/
|
|
24
23
|
function SmartDateRangeBound({ control, onValueChange, ...props }) {
|
|
25
24
|
const binding = (0, forms_1.useControlBinding)(control);
|
|
@@ -32,10 +31,9 @@ function SmartDateRangeBound({ control, onValueChange, ...props }) {
|
|
|
32
31
|
return ((0, jsx_runtime_1.jsx)(SmartDateRangeVariant, { ...props, value: binding.value ?? null, onValueChange: onInnerChange }));
|
|
33
32
|
}
|
|
34
33
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* Angular `ngModel`), or pass a form `control` (the Angular `[formControl]`).
|
|
34
|
+
* The date-range picker in the `variant` rendering (`standard`, a trigger
|
|
35
|
+
* opening a scrollable calendar modal, by default; or `preset`, a calendar
|
|
36
|
+
* popover). Bind it with `value` + `onValueChange`, or pass a form `control`.
|
|
39
37
|
*/
|
|
40
38
|
function SmartDateRange({ control, ...props }) {
|
|
41
39
|
if (control)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-range.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-range/date-range.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"date-range.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-range/date-range.tsx"],"names":[],"mappings":";;AA8DA,wCAIC;;AAlED,iCAAoC;AAKpC,kEAAkE;AAClE,wEAAwE;AACxE,uCAAsE;AAMtE,SAAS,qBAAqB,CAAC,EAC7B,OAAO,GAAG,UAAU,EACpB,GAAG,KAAK,EAC6B;IACrC,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,UAAU;YACb,OAAO,uBAAC,4CAAsB,OAAK,KAAK,GAAI,CAAC;QAC/C,KAAK,QAAQ;YACX,OAAO,uBAAC,wCAAoB,OAAK,KAAK,GAAI,CAAC;QAC7C;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,SAAS,mBAAmB,CAAC,EAC3B,OAAO,EACP,aAAa,EACb,GAAG,KAAK,EACiB;IACzB,MAAM,OAAO,GAAG,IAAA,yBAAiB,EAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAErC,MAAM,aAAa,GAAG,IAAA,mBAAW,EAC/B,CAAC,KAA6B,EAAE,EAAE;QAChC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAChB,MAAM,EAAE,CAAC;QACT,aAAa,EAAE,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC,EACD,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,CAAC,CAClC,CAAC;IAEF,OAAO,CACL,uBAAC,qBAAqB,OAChB,KAAK,EACT,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,IAAI,EAC5B,aAAa,EAAE,aAAa,GAC5B,CACH,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAuB;IACvE,IAAI,OAAO;QAAE,OAAO,uBAAC,mBAAmB,OAAK,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;IAEzE,OAAO,uBAAC,qBAAqB,OAAK,KAAK,GAAI,CAAC;AAC9C,CAAC"}
|
|
@@ -20,39 +20,33 @@ export interface CalendarState {
|
|
|
20
20
|
selectedButtonName: FilterBtnConstants;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Props of the date-range variants
|
|
24
|
-
*
|
|
23
|
+
* Props of the date-range variants: the range as a controlled `value` +
|
|
24
|
+
* `onValueChange` pair, or kept internally from `defaultValue`.
|
|
25
25
|
*/
|
|
26
26
|
export interface SmartDateRangeVariantProps {
|
|
27
27
|
/**
|
|
28
|
-
* The range
|
|
29
|
-
*
|
|
30
|
-
* value.
|
|
28
|
+
* The range. `undefined` leaves the component uncontrolled, starting from
|
|
29
|
+
* `defaultValue`; `null` is an empty controlled value.
|
|
31
30
|
*/
|
|
32
31
|
value?: IDateRange | null;
|
|
33
32
|
/** The initial range when uncontrolled. */
|
|
34
33
|
defaultValue?: IDateRange | null;
|
|
35
34
|
/**
|
|
36
|
-
* Emits the applied range, or `undefined` once cleared
|
|
37
|
-
* `ngModelChange`).
|
|
35
|
+
* Emits the applied range, or `undefined` once cleared.
|
|
38
36
|
*/
|
|
39
37
|
onValueChange?: (value: IDateRange | undefined) => void;
|
|
40
38
|
className?: string;
|
|
41
39
|
}
|
|
42
|
-
/** Props of `<SmartDateRange
|
|
40
|
+
/** Props of `<SmartDateRange>`. */
|
|
43
41
|
export interface SmartDateRangeProps extends SmartDateRangeVariantProps {
|
|
44
42
|
variant?: DateRangeVariantName;
|
|
45
43
|
/**
|
|
46
|
-
* Binds the range to a form control
|
|
47
|
-
* Angular `ControlValueAccessor`: the control's value is shown, a change
|
|
44
|
+
* Binds the range to a form control: the control's value is shown, a change
|
|
48
45
|
* sets it and marks the control dirty and touched.
|
|
49
46
|
*/
|
|
50
47
|
control?: SmartAbstractControl;
|
|
51
48
|
}
|
|
52
|
-
/**
|
|
53
|
-
* Props of the date-range modal (the Angular `DateRangeModalBaseComponent`,
|
|
54
|
-
* `<smart-date-range-modal-standard>`).
|
|
55
|
-
*/
|
|
49
|
+
/** Props of the date-range modal (`SmartDateRangeModalStandard`). */
|
|
56
50
|
export interface SmartDateRangeModalProps {
|
|
57
51
|
/** Shows the quick-pick buttons (today, last 7 days, ...). */
|
|
58
52
|
showFilterBtns?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SmartDateRangeVariantProps } from '../date-range.types';
|
|
2
2
|
/**
|
|
3
3
|
* Styled date-range variation (preset) based on the Preline "single calendar
|
|
4
|
-
* range" datepicker
|
|
5
|
-
*
|
|
4
|
+
* range" datepicker. Rendered by `<SmartDateRange>` for `variant="preset"`, or
|
|
5
|
+
* usable directly.
|
|
6
6
|
*
|
|
7
7
|
* The trigger opens a popover calendar: pick a start and an end day (the
|
|
8
8
|
* range is highlighted), then apply or cancel.
|
|
@@ -29,8 +29,8 @@ function getWeeks(month) {
|
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Styled date-range variation (preset) based on the Preline "single calendar
|
|
32
|
-
* range" datepicker
|
|
33
|
-
*
|
|
32
|
+
* range" datepicker. Rendered by `<SmartDateRange>` for `variant="preset"`, or
|
|
33
|
+
* usable directly.
|
|
34
34
|
*
|
|
35
35
|
* The trigger opens a popover calendar: pick a start and an end day (the
|
|
36
36
|
* range is highlighted), then apply or cancel.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { SmartDateRangeModalProps } from '../date-range.types';
|
|
2
2
|
/**
|
|
3
|
-
* The date-range picker modal
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* backdrop click or the close button dismisses it.
|
|
3
|
+
* The date-range picker modal: a scrollable calendar of the months around
|
|
4
|
+
* today. Rendered inline by `<SmartDateRangeStandard>`; it is `fixed`
|
|
5
|
+
* positioned, and a backdrop click or the close button dismisses it.
|
|
7
6
|
*/
|
|
8
7
|
export declare function SmartDateRangeModalStandard(props: SmartDateRangeModalProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,10 +12,9 @@ function filterButtonClasses(selected) {
|
|
|
12
12
|
: 'smart:bg-gray-100 smart:text-gray-700 smart:dark:bg-gray-800 smart:dark:text-gray-300');
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* The date-range picker modal
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* backdrop click or the close button dismisses it.
|
|
15
|
+
* The date-range picker modal: a scrollable calendar of the months around
|
|
16
|
+
* today. Rendered inline by `<SmartDateRangeStandard>`; it is `fixed`
|
|
17
|
+
* positioned, and a backdrop click or the close button dismisses it.
|
|
19
18
|
*/
|
|
20
19
|
function SmartDateRangeModalStandard(props) {
|
|
21
20
|
const { showFilterBtns = false, restrictSelectionTo = 0 } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-range-modal-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/date-range/standard/date-range-modal-standard.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"date-range-modal-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/date-range/standard/date-range-modal-standard.tsx"],"names":[],"mappings":";;AAqBA,kEA2KC;;AAhMD,iCAAiC;AAEjC,oDAAwD;AACxD,4DAAgD;AAEhD,kEAA4D;AAE5D,SAAS,mBAAmB,CAAC,QAAiB;IAC5C,OAAO,IAAA,gBAAE,EACP,mHAAmH,EACnH,QAAQ;QACN,CAAC,CAAC,sCAAsC;QACxC,CAAC,C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AAoC,YAChD,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACvB,wBAAC,gBAAQ,eACP,+BAAG,SAAS,EAAC,kNAAkN,aAC5N,CAAC,CAAC,iBAAiB,GAAG,KAAK,CAAC,SAAS,CAAC,OAAG,KAAK,CAAC,IAAI,IAClD,EACJ,gCAAK,SAAS,EAAC,yFAAyF,YACrG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,CAC/B,gCAEE,SAAS,EAAE,IAAA,gBAAE,EACX,oOAAoO,EACpO,gBAAgB,CAAC,GAAG,CAAC;4CACnB,mFAAmF,EACrF,cAAc,CAAC,GAAG,CAAC;4CACjB,mFAAmF,EACrF,SAAS,CAAC,GAAG,CAAC;4CACZ,iDAAiD,EACnD,qBAAqB,EAAE,IAAI,kBAAkB,CAC9C,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,YAE7B,GAAG,EAAE,IAAI,EAAE,IAbP,KAAK,CAcN,CACP,CAAC,GACE,KAvBO,KAAK,CAAC,IAAI,GAAG,GAAG,GAAG,KAAK,CAAC,MAAM,CAwBnC,CACZ,CAAC,GACE,EAEN,gCAAK,SAAS,EAAC,2EAA2E,YACxF,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,wUAAwU,EAClV,QAAQ,EAAE,CAAC,CAAC,mBAAmB,IAAI,CAAC,4BAA4B,EAAE,EAClE,OAAO,EAAE,UAAU,YAElB,CAAC,CAAC,QAAQ,CAAC,GACL,GACL,IACF,IACL,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SmartDateRangeVariantProps } from '../date-range.types';
|
|
2
2
|
/**
|
|
3
|
-
* The default date-range rendering
|
|
4
|
-
*
|
|
5
|
-
* `<SmartDateRangeModalStandard>`, rendered inline as in Angular.
|
|
3
|
+
* The default date-range rendering: a trigger showing the range and a clear
|
|
4
|
+
* button; the trigger opens `<SmartDateRangeModalStandard>`, rendered inline.
|
|
6
5
|
*/
|
|
7
6
|
export declare function SmartDateRangeStandard(props: SmartDateRangeVariantProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,9 +7,8 @@ const class_names_1 = require("../../../utils/class-names");
|
|
|
7
7
|
const use_date_range_1 = require("../use-date-range");
|
|
8
8
|
const date_range_modal_standard_1 = require("./date-range-modal-standard");
|
|
9
9
|
/**
|
|
10
|
-
* The default date-range rendering
|
|
11
|
-
*
|
|
12
|
-
* `<SmartDateRangeModalStandard>`, rendered inline as in Angular.
|
|
10
|
+
* The default date-range rendering: a trigger showing the range and a clear
|
|
11
|
+
* button; the trigger opens `<SmartDateRangeModalStandard>`, rendered inline.
|
|
13
12
|
*/
|
|
14
13
|
function SmartDateRangeStandard(props) {
|
|
15
14
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-range-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/date-range/standard/date-range-standard.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"date-range-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/date-range/standard/date-range-standard.tsx"],"names":[],"mappings":";;AAUA,wDAsEC;;AAhFD,oDAAwD;AACxD,4DAAgD;AAEhD,sDAAiD;AACjD,2EAA0E;AAE1E;;;GAGG;AACH,SAAgB,sBAAsB,CAAC,KAAiC;IACtE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,GAAG,IAAA,oBAAY,GAAE,CAAC;IACzB,MAAM,EACJ,KAAK,EACL,MAAM,EACN,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,cAAc,EACd,OAAO,GACR,GAAG,IAAA,6BAAY,EAAC,KAAK,CAAC,CAAC;IAExB,OAAO,CACL,6DACE,iCACE,SAAS,EAAE,IAAA,gBAAE,EACX,kDAAkD,EAClD,SAAS,CACV,aAED,oCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,8UAA8U,EACxV,OAAO,EAAE,OAAO,aAEhB,gCACE,SAAS,EAAC,kCAAkC,EAC5C,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,YAEnB,iCACE,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,uUAAuU,EACzU,QAAQ,EAAC,SAAS,GAClB,GACE,EACL,KAAK,IAAI,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,GAAG;gCAChC,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC,GAAG;gCACjC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IACR,EAER,KAAK,IAAI,CACR,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,+HAA+H,EACzI,OAAO,EAAE,OAAO,YAEhB,gCACE,SAAS,EAAC,cAAc,EACxB,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,YAEnB,iCAAM,CAAC,EAAC,oLAAoL,GAAG,GAC3L,GACC,CACV,IACG,EAEL,MAAM,IAAI,CACT,uBAAC,uDAA2B,IAC1B,aAAa,EAAE,YAAY,EAC3B,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,cAAc,GACzB,CACH,IACA,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import moment from 'moment';
|
|
2
2
|
import { FilterBtnConstants, SmartDateRangeModalProps } from './date-range.types';
|
|
3
|
-
/** The
|
|
3
|
+
/** The modal's form: the shown dates and the picked days. */
|
|
4
4
|
export interface DateRangeModalForm {
|
|
5
5
|
dateFrom: string | null;
|
|
6
6
|
dateTo: string | null;
|
|
@@ -8,8 +8,7 @@ export interface DateRangeModalForm {
|
|
|
8
8
|
endDateRef: moment.Moment | null;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* The behaviour of the date-range modal
|
|
12
|
-
* `DateRangeModalBaseComponent`): the scrollable calendar of the
|
|
11
|
+
* The behaviour of the date-range modal: the scrollable calendar of the
|
|
13
12
|
* `CalendarService`, the picked range and the quick-pick buttons.
|
|
14
13
|
*/
|
|
15
14
|
export declare function useDateRangeModal({ restrictSelectionTo, previousState, onApply, onDismiss, }: SmartDateRangeModalProps): {
|
|
@@ -39,9 +39,8 @@ function resetDates(form) {
|
|
|
39
39
|
return { ...form, startDateRef: null, endDateRef: null };
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* A click on `date
|
|
43
|
-
*
|
|
44
|
-
* becomes the new start.
|
|
42
|
+
* A click on `date`: once both ends are set it starts over; a day after the
|
|
43
|
+
* start ends the range, any other day becomes the new start.
|
|
45
44
|
*/
|
|
46
45
|
function pickDate(form, date) {
|
|
47
46
|
let next = form;
|
|
@@ -78,8 +77,7 @@ function getInitialSelection(state) {
|
|
|
78
77
|
};
|
|
79
78
|
}
|
|
80
79
|
/**
|
|
81
|
-
* The behaviour of the date-range modal
|
|
82
|
-
* `DateRangeModalBaseComponent`): the scrollable calendar of the
|
|
80
|
+
* The behaviour of the date-range modal: the scrollable calendar of the
|
|
83
81
|
* `CalendarService`, the picked range and the quick-pick buttons.
|
|
84
82
|
*/
|
|
85
83
|
function useDateRangeModal({ restrictSelectionTo = 0, previousState = EMPTY_STATE, onApply, onDismiss, }) {
|
|
@@ -90,12 +88,11 @@ function useDateRangeModal({ restrictSelectionTo = 0, previousState = EMPTY_STAT
|
|
|
90
88
|
const [scrollPositionValue] = (0, react_1.useState)(() => previousState.dateFrom ? previousState.scrollPosition : 0);
|
|
91
89
|
const [dateForm, setDateForm] = (0, react_1.useState)(initial.form);
|
|
92
90
|
const [selectedButtonName, setSelectedButtonName] = (0, react_1.useState)(initial.selectedButtonName);
|
|
93
|
-
// The last picked day: a second click on it is ignored
|
|
94
|
-
// (`distinctUntilChanged` in Angular).
|
|
91
|
+
// The last picked day: a second click on it is ignored.
|
|
95
92
|
const lastPickedRef = (0, react_1.useRef)(null);
|
|
96
|
-
//
|
|
97
|
-
//
|
|
98
|
-
//
|
|
93
|
+
// Writes the application's style variables on the modal through a local
|
|
94
|
+
// `StyleService`, so the shared one is not redirected to this short-lived
|
|
95
|
+
// element.
|
|
99
96
|
(0, react_1.useEffect)(() => {
|
|
100
97
|
new style_service_1.StyleService().init(elementRef.current, styleService.get());
|
|
101
98
|
}, [styleService]);
|
|
@@ -107,10 +104,8 @@ function useDateRangeModal({ restrictSelectionTo = 0, previousState = EMPTY_STAT
|
|
|
107
104
|
lastPickedRef.current = date;
|
|
108
105
|
setSelectedButtonName(date_range_types_1.FilterBtnConstants.empthyString);
|
|
109
106
|
setDateForm((form) => pickDate(form, date));
|
|
110
|
-
//
|
|
111
|
-
//
|
|
112
|
-
// (its body is commented out), so the picked range simply stays and the
|
|
113
|
-
// select button stays disabled.
|
|
107
|
+
// A range breaking `restrictSelectionTo` raises no warning: the picked
|
|
108
|
+
// range simply stays and the select button stays disabled.
|
|
114
109
|
};
|
|
115
110
|
const selectFilter = (name, start, end) => {
|
|
116
111
|
setSelectedButtonName(name);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-date-range-modal.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-range/use-date-range-modal.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-date-range-modal.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-range/use-date-range-modal.ts"],"names":[],"mappings":";;AA4HA,8CAyJC;;AArRD,4DAA4B;AAC5B,iCAAoD;AAEpD,yDAI4B;AAC5B,iDAAwD;AACxD,+EAA2E;AAC3E,sEAAkE;AAUlE,MAAM,WAAW,GAAkB;IACjC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,CAAC;IACjB,kBAAkB,EAAE,qCAA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+1,8 @@
|
|
|
1
1
|
import { IDateRange } from '@smartsoft001/domain-core';
|
|
2
2
|
import { CalendarState, SmartDateRangeVariantProps } from './date-range.types';
|
|
3
3
|
/**
|
|
4
|
-
* The behaviour every date-range variant shares
|
|
5
|
-
*
|
|
6
|
-
* and the calendar state the picker is reopened with.
|
|
4
|
+
* The behaviour every date-range variant shares: the range value, the open
|
|
5
|
+
* state of the picker and the calendar state the picker is reopened with.
|
|
7
6
|
*/
|
|
8
7
|
export declare function useDateRange({ value, defaultValue, onValueChange, }: SmartDateRangeVariantProps): {
|
|
9
8
|
value: IDateRange | undefined;
|
|
@@ -15,60 +15,59 @@ function toDateString(date) {
|
|
|
15
15
|
return date.format('YYYY-MM-DD');
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* The
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* The range value: controlled while `value` is defined, otherwise kept here.
|
|
19
|
+
* A new `value` from the parent always wins, so resetting the parent's state
|
|
20
|
+
* to `undefined` also clears the range.
|
|
21
21
|
*/
|
|
22
|
-
function
|
|
22
|
+
function useControllableValue(value, defaultValue, onValueChange) {
|
|
23
23
|
const [innerValue, setInnerValue] = (0, react_1.useState)(value === undefined ? defaultValue : value);
|
|
24
24
|
const [prevValue, setPrevValue] = (0, react_1.useState)(value);
|
|
25
25
|
if (prevValue !== value) {
|
|
26
26
|
setPrevValue(value);
|
|
27
27
|
setInnerValue(value);
|
|
28
28
|
}
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
if (next ===
|
|
29
|
+
const currentValue = value === undefined ? innerValue : value;
|
|
30
|
+
const setValue = (0, react_1.useCallback)((next) => {
|
|
31
|
+
if (next === currentValue)
|
|
32
32
|
return;
|
|
33
33
|
setInnerValue(next);
|
|
34
34
|
onValueChange?.(next);
|
|
35
|
-
}, [
|
|
36
|
-
return [
|
|
35
|
+
}, [currentValue, onValueChange]);
|
|
36
|
+
return [currentValue ?? undefined, setValue];
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
-
* The behaviour every date-range variant shares
|
|
40
|
-
*
|
|
41
|
-
* and the calendar state the picker is reopened with.
|
|
39
|
+
* The behaviour every date-range variant shares: the range value, the open
|
|
40
|
+
* state of the picker and the calendar state the picker is reopened with.
|
|
42
41
|
*/
|
|
43
42
|
function useDateRange({ value, defaultValue, onValueChange, }) {
|
|
44
|
-
const [
|
|
43
|
+
const [currentValue, setValue] = useControllableValue(value, defaultValue, onValueChange);
|
|
45
44
|
const [isOpen, setIsOpen] = (0, react_1.useState)(false);
|
|
46
45
|
const [calendarData, setCalendarData] = (0, react_1.useState)(EMPTY_CALENDAR_DATA);
|
|
47
46
|
const onClick = (0, react_1.useCallback)(() => {
|
|
48
47
|
setCalendarData((data) => ({
|
|
49
48
|
...data,
|
|
50
|
-
...(
|
|
51
|
-
...(
|
|
49
|
+
...(currentValue?.start ? { dateFrom: (0, moment_1.default)(currentValue.start) } : {}),
|
|
50
|
+
...(currentValue?.end ? { dateTo: (0, moment_1.default)(currentValue.end) } : {}),
|
|
52
51
|
}));
|
|
53
52
|
setIsOpen(true);
|
|
54
|
-
}, [
|
|
53
|
+
}, [currentValue]);
|
|
55
54
|
const onModalApply = (0, react_1.useCallback)((data) => {
|
|
56
55
|
setCalendarData(data);
|
|
57
56
|
if (data.dateFrom) {
|
|
58
|
-
|
|
57
|
+
setValue({
|
|
59
58
|
start: toDateString(data.dateFrom),
|
|
60
59
|
end: toDateString(data.dateTo ?? data.dateFrom),
|
|
61
60
|
});
|
|
62
61
|
}
|
|
63
62
|
setIsOpen(false);
|
|
64
|
-
}, [
|
|
63
|
+
}, [setValue]);
|
|
65
64
|
const onModalDismiss = (0, react_1.useCallback)(() => setIsOpen(false), []);
|
|
66
65
|
const onClear = (0, react_1.useCallback)(() => {
|
|
67
66
|
setCalendarData((data) => ({ ...data, dateFrom: null, dateTo: null }));
|
|
68
|
-
|
|
69
|
-
}, [
|
|
67
|
+
setValue(undefined);
|
|
68
|
+
}, [setValue]);
|
|
70
69
|
return {
|
|
71
|
-
value:
|
|
70
|
+
value: currentValue,
|
|
72
71
|
isOpen,
|
|
73
72
|
calendarData,
|
|
74
73
|
onClick,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-date-range.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-range/use-date-range.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-date-range.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/date-range/use-date-range.ts"],"names":[],"mappings":";;AA+DA,oCAuDC;;AAtHD,4DAA4B;AAC5B,iCAA8C;AAI9C,yDAI4B;AAI5B,MAAM,mBAAmB,GAAkB;IACzC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,CAAC;IACjB,kBAAkB,EAAE,qCAAkB,CAAC,YAAY;CACpD,CAAC;AAEF,SAAS,YAAY,CAAC,IAAmB;IACvC,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAwB,CAAC;AAC1D,CAAC;AAED;;;;GAIG;AACH,SAAS,oBAAoB,CAC3B,KAAqB,EACrB,YAA4B,EAC5B,aAAuD;IAEvD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAC1C,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAC3C,CAAC;IACF,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAiB,KAAK,CAAC,CAAC;IAElE,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;QACxB,YAAY,CAAC,KAAK,CAAC,CAAC;QACpB,aAAa,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IAED,MAAM,YAAY,GAAG,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC;IAE9D,MAAM,QAAQ,GAAG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A,mBAAW,EAC9B,CAAC,IAAmB,EAAE,EAAE;QACtB,eAAe,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,QAAQ,CAAC;gBACP,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;gBAClC,GAAG,EAAE,YAAY,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC;aAChD,CAAC,CAAC;QACL,CAAC;QAED,SAAS,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,cAAc,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;IAE/D,MAAM,OAAO,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAC/B,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACvE,QAAQ,CAAC,SAAS,CAAC,CAAC;IACtB,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO;QACL,KAAK,EAAE,YAAY;QACnB,MAAM;QACN,YAAY;QACZ,OAAO;QACP,YAAY;QACZ,cAAc;QACd,OAAO;KACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { SmartDescriptionListProps } from './description-list.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN`),
|
|
6
|
-
* `SmartDescriptionListStandard` by default.
|
|
3
|
+
* Renders the implementation registered as `components['description-list']` on
|
|
4
|
+
* `SmartProvider`, `SmartDescriptionListStandard` by default.
|
|
7
5
|
*/
|
|
8
6
|
export declare function SmartDescriptionList(props: SmartDescriptionListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,10 +5,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const description_list_standard_1 = require("./standard/description-list-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
* `DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN`),
|
|
11
|
-
* `SmartDescriptionListStandard` by default.
|
|
8
|
+
* Renders the implementation registered as `components['description-list']` on
|
|
9
|
+
* `SmartProvider`, `SmartDescriptionListStandard` by default.
|
|
12
10
|
*/
|
|
13
11
|
function SmartDescriptionList(props) {
|
|
14
12
|
const Component = (0, hooks_1.useSmartComponent)('description-list', description_list_standard_1.SmartDescriptionListStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-list.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/description-list/description-list.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"description-list.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/description-list/description-list.tsx"],"names":[],"mappings":";;AAQA,oDAOC;;AAdD,oFAAoF;AACpF,iDAA0D;AAE1D;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,KAAgC;IACnE,MAAM,SAAS,GAAG,IAAA,yBAAiB,EACjC,kBAAkB,EAClB,wDAA4B,CAC7B,CAAC;IAEF,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { SmartDescriptionListProps } from '../description-list.types';
|
|
2
2
|
/**
|
|
3
|
-
* Preset-styled description list
|
|
4
|
-
* `DescriptionListPresetComponent`). Register it as
|
|
3
|
+
* Preset-styled description list. Register it as
|
|
5
4
|
* `components['description-list']` on `SmartProvider` to restyle every
|
|
6
5
|
* `<SmartDescriptionList>`, or render it directly.
|
|
7
6
|
*
|
|
8
7
|
* Renders an optional header (title + description), a divided `<dl>` of
|
|
9
8
|
* label/value rows, and optional attachments/footer sections. Within a row
|
|
10
9
|
* `valueTpl` wins over `value`, and `actionTpl` renders right-aligned.
|
|
11
|
-
* `className` is merged onto the `<dl>`.
|
|
12
|
-
*
|
|
10
|
+
* `className` is merged onto the `<dl>`. It has no wrapper element: the zones
|
|
11
|
+
* are rendered side by side.
|
|
13
12
|
*/
|
|
14
13
|
export declare function SmartDescriptionListPreset({ options, className, }: SmartDescriptionListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,16 +4,15 @@ exports.SmartDescriptionListPreset = SmartDescriptionListPreset;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const preset_classes_1 = require("./preset-classes");
|
|
6
6
|
/**
|
|
7
|
-
* Preset-styled description list
|
|
8
|
-
* `DescriptionListPresetComponent`). Register it as
|
|
7
|
+
* Preset-styled description list. Register it as
|
|
9
8
|
* `components['description-list']` on `SmartProvider` to restyle every
|
|
10
9
|
* `<SmartDescriptionList>`, or render it directly.
|
|
11
10
|
*
|
|
12
11
|
* Renders an optional header (title + description), a divided `<dl>` of
|
|
13
12
|
* label/value rows, and optional attachments/footer sections. Within a row
|
|
14
13
|
* `valueTpl` wins over `value`, and `actionTpl` renders right-aligned.
|
|
15
|
-
* `className` is merged onto the `<dl>`.
|
|
16
|
-
*
|
|
14
|
+
* `className` is merged onto the `<dl>`. It has no wrapper element: the zones
|
|
15
|
+
* are rendered side by side.
|
|
17
16
|
*/
|
|
18
17
|
function SmartDescriptionListPreset({ options, className, }) {
|
|
19
18
|
const hasHeader = !!options?.title || !!options?.description;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-list-preset.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/description-list/preset/description-list-preset.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"description-list-preset.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/description-list/preset/description-list-preset.tsx"],"names":[],"mappings":";;AAwBA,gEA8DC;;AArFD,qDAU0B;AAE1B;;;;;;;;;;GAUG;AACH,SAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,SAAS,GACiB;IAC1B,MAAM,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,IAAI,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC;IAE7D,OAAO,CACL,6DACG,SAAS,CAAC,CAAC,CAAC,CACX,8CAAe,QAAQ,aACpB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAChB,+BAAI,SAAS,EAAE,+CAA8B,YAAG,OAAO,CAAC,KAAK,GAAM,CACpE,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,CACtB,8BAAG,SAAS,EAAE,qDAAoC,YAC/C,OAAO,CAAC,WAAW,GAClB,CACL,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,EACR,4CACY,MAAM,EAChB,SAAS,EAAE,IAAA,8CAA6B,EAAC,SAAS,IAAI,EAAE,CAAC,YAExD,CAAC,OAAO,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC3C,8CACY,KAAK,EACf,SAAS,EAAE,6CAA4B,aAGvC,4CAAc,MAAM,EAAC,SAAS,EAAE,8CAA6B,YAC1D,IAAI,CAAC,KAAK,GACR,EACL,4CAAc,OAAO,EAAC,SAAS,EAAE,+CAA8B,YAC5D,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,GACxC,EACJ,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAChB,8CACY,QAAQ,EAClB,SAAS,EAAE,gDAA+B,YAEzC,IAAI,CAAC,SAAS,GACV,CACR,CAAC,CAAC,CAAC,IAAI,KAfH,KAAK,CAgBN,CACP,CAAC,GACC,EACJ,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,CACzB,6CACY,aAAa,EACvB,SAAS,EAAE,qDAAoC,YAE9C,OAAO,CAAC,cAAc,GACnB,CACP,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CACpB,6CAAe,QAAQ,EAAC,SAAS,EAAE,gDAA+B,YAC/D,OAAO,CAAC,SAAS,GACd,CACP,CAAC,CAAC,CAAC,IAAI,IACP,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { SmartDescriptionListProps } from '../description-list.types';
|
|
2
2
|
/**
|
|
3
|
-
* The default description list rendering
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* footer slots.
|
|
3
|
+
* The default description list rendering: an unstyled title, description, a
|
|
4
|
+
* `<dl>` of label/value items (`valueTpl` wins over `value`, `actionTpl`
|
|
5
|
+
* follows the value) and the attachments and footer slots.
|
|
7
6
|
*/
|
|
8
7
|
export declare function SmartDescriptionListStandard({ options, className, }: SmartDescriptionListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,10 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SmartDescriptionListStandard = SmartDescriptionListStandard;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
/**
|
|
6
|
-
* The default description list rendering
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* footer slots.
|
|
6
|
+
* The default description list rendering: an unstyled title, description, a
|
|
7
|
+
* `<dl>` of label/value items (`valueTpl` wins over `value`, `actionTpl`
|
|
8
|
+
* follows the value) and the attachments and footer slots.
|
|
10
9
|
*/
|
|
11
10
|
function SmartDescriptionListStandard({ options, className, }) {
|
|
12
11
|
return ((0, jsx_runtime_1.jsx)("div", { className: className, children: (0, jsx_runtime_1.jsxs)("div", { className: "list", children: [options?.title ? (0, jsx_runtime_1.jsx)("h3", { className: "title", children: options.title }) : null, options?.description ? ((0, jsx_runtime_1.jsx)("p", { className: "description", children: options.description })) : null, (0, jsx_runtime_1.jsx)("dl", { children: (options?.items ?? []).map((item, index) => ((0, jsx_runtime_1.jsxs)("div", { className: "item", children: [(0, jsx_runtime_1.jsx)("dt", { children: item.label }), (0, jsx_runtime_1.jsxs)("dd", { children: [item.valueTpl ? item.valueTpl : item.value, item.actionTpl ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [' ', (0, jsx_runtime_1.jsx)("span", { className: "action", children: item.actionTpl })] })) : null] })] }, index))) }), options?.attachmentsTpl ? ((0, jsx_runtime_1.jsx)("div", { className: "attachments", children: options.attachmentsTpl })) : null, options?.footerTpl ? ((0, jsx_runtime_1.jsx)("div", { className: "footer", children: options.footerTpl })) : null] }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-list-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/description-list/standard/description-list-standard.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"description-list-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/description-list/standard/description-list-standard.tsx"],"names":[],"mappings":";;AAOA,oEAoCC;;AAzCD;;;;GAIG;AACH,SAAgB,4BAA4B,CAAC,EAC3C,OAAO,EACP,SAAS,GACiB;IAC1B,OAAO,CACL,gCAAK,SAAS,EAAE,SAAS,YACvB,iCAAK,SAAS,EAAC,MAAM,aAClB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,+BAAI,SAAS,EAAC,OAAO,YAAE,OAAO,CAAC,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EAClE,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,CACtB,8BAAG,SAAS,EAAC,aAAa,YAAE,OAAO,CAAC,WAAW,GAAK,CACrD,CAAC,CAAC,CAAC,IAAI,EACR,yCACG,CAAC,OAAO,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC3C,iCAAK,SAAS,EAAC,MAAM,aACnB,yCAAK,IAAI,CAAC,KAAK,GAAM,EACrB,2CACG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAC1C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAChB,6DACG,GAAG,EACJ,iCAAM,SAAS,EAAC,QAAQ,YAAE,IAAI,CAAC,SAAS,GAAQ,IAC/C,CACJ,CAAC,CAAC,CAAC,IAAI,IACL,KAVoB,KAAK,CAW1B,CACP,CAAC,GACC,EACJ,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,CACzB,gCAAK,SAAS,EAAC,aAAa,YAAE,OAAO,CAAC,cAAc,GAAO,CAC5D,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CACpB,gCAAK,SAAS,EAAC,QAAQ,YAAE,OAAO,CAAC,SAAS,GAAO,CAClD,CAAC,CAAC,CAAC,IAAI,IACJ,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SmartDetailFieldProps } from '../detail.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* The address detail: street and building/flat, then zip code and city on the
|
|
4
|
+
* next line.
|
|
5
5
|
*/
|
|
6
6
|
export declare function SmartDetailAddress<T>(props: SmartDetailFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -5,8 +5,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const class_names_1 = require("../../../utils/class-names");
|
|
6
6
|
const use_detail_address_1 = require("./use-detail-address");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* The address detail: street and building/flat, then zip code and city on the
|
|
9
|
+
* next line.
|
|
10
10
|
*/
|
|
11
11
|
function SmartDetailAddress(props) {
|
|
12
12
|
const { className } = props;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SmartDetailFieldProps } from '../../detail.types';
|
|
2
2
|
/**
|
|
3
|
-
* Styled address detail (preset
|
|
4
|
-
* address next to a map-pin icon.
|
|
3
|
+
* Styled address detail (preset): the address next to a map-pin icon.
|
|
5
4
|
*/
|
|
6
5
|
export declare function SmartDetailAddressPreset<T>(props: SmartDetailFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|