@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
|
@@ -2,11 +2,10 @@ import type { ChangeEvent } from 'react';
|
|
|
2
2
|
import { IButtonOptions } from '../../../models';
|
|
3
3
|
import { SmartInputFieldProps } from '../input.types';
|
|
4
4
|
/**
|
|
5
|
-
* The upload behaviour of the file fields
|
|
6
|
-
* `
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* show and delete buttons the file fields render.
|
|
5
|
+
* The upload behaviour of the file fields: picking a file checks it against the
|
|
6
|
+
* input's `accept` list, uploads it through the file service with progress, and
|
|
7
|
+
* sets the attachment the API returns as the value. Also the options of the
|
|
8
|
+
* add, show and delete buttons the file fields render.
|
|
10
9
|
*/
|
|
11
10
|
export declare function useInputFile<T = any>({ options }: SmartInputFieldProps<T>): {
|
|
12
11
|
inputRef: import("react").RefObject<HTMLInputElement | null>;
|
|
@@ -4,11 +4,10 @@ exports.useInputFile = useInputFile;
|
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const smart_context_1 = require("../../../providers/smart-context");
|
|
6
6
|
/**
|
|
7
|
-
* The upload behaviour of the file fields
|
|
8
|
-
* `
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* show and delete buttons the file fields render.
|
|
7
|
+
* The upload behaviour of the file fields: picking a file checks it against the
|
|
8
|
+
* input's `accept` list, uploads it through the file service with progress, and
|
|
9
|
+
* sets the attachment the API returns as the value. Also the options of the
|
|
10
|
+
* add, show and delete buttons the file fields render.
|
|
12
11
|
*/
|
|
13
12
|
function useInputFile({ options }) {
|
|
14
13
|
const { fileService, toastService, translate } = (0, smart_context_1.useSmart)();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-input-file.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-file.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-input-file.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-file.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { SmartPossibility } from '../../../models';
|
|
2
2
|
import { SmartInputFieldProps } from '../input.types';
|
|
3
3
|
/**
|
|
4
|
-
* The options of a field with possibilities
|
|
5
|
-
* `InputPossibilitiesBaseComponent`): the ones the model possibilities
|
|
4
|
+
* The options of a field with possibilities: the ones the model possibilities
|
|
6
5
|
* provider returns, asked again 500 ms after the form's value last changed so
|
|
7
6
|
* they can depend on other fields, or else the ones in the input options.
|
|
8
7
|
* `null` when there are none; the field then falls back to its model's
|
|
@@ -4,8 +4,7 @@ exports.useInputPossibilities = useInputPossibilities;
|
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const smart_context_1 = require("../../../providers/smart-context");
|
|
6
6
|
/**
|
|
7
|
-
* The options of a field with possibilities
|
|
8
|
-
* `InputPossibilitiesBaseComponent`): the ones the model possibilities
|
|
7
|
+
* The options of a field with possibilities: the ones the model possibilities
|
|
9
8
|
* provider returns, asked again 500 ms after the form's value last changed so
|
|
10
9
|
* they can depend on other fields, or else the ones in the input options.
|
|
11
10
|
* `null` when there are none; the field then falls back to its model's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-input-possibilities.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-possibilities.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-input-possibilities.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-possibilities.ts"],"names":[],"mappings":";;AAaA,sDA4CC;AAzDD,iCAA4C;AAG5C,oEAA4D;AAG5D;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAU,EAC7C,OAAO,GACiB;IACxB,MAAM,QAAQ,GAAG,IAAA,wBAAQ,GAAE,CAAC,0BAA0B,CAAC;IACvD,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC;IACzC,MAAM,QAAQ,GAAG,OAAO,EAAE,QAAQ,CAAC;IACnC,MAAM,KAAK,GAAG,OAAO,EAAE,KAAK,CAAC;IAC7B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAC9C,IAAI,CACL,CAAC;IAEF,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,IAAI,CAAC,QAAQ;YAAE,OAAO,SAAS,CAAC;QAEzD,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,IAAI,KAAgD,CAAC;QAErD,MAAM,OAAO,GAAG,GAAG,EAAE;YACnB,OAAO,CAAC,OAAO,CACb,QAAQ,CAAC,GAAG,CAAC;gBACX,IAAI,EAAG,KAA+C,EAAE,WAAW;gBACnE,GAAG,EAAE,QAAQ;gBACb,QAAQ,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK;aAChC,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;gBAChB,IAAI,MAAM,IAAI,MAAM;oBAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAChD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;QAEF,OAAO,EAAE,CAAC;QAEV,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,SAAS,CAAC,GAAG,EAAE;YAC/D,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QAEH,OAAO,GAAG,EAAE;YACV,MAAM,GAAG,KAAK,CAAC;YACf,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,YAAY,EAAE,WAAW,EAAE,CAAC;QAC9B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzC,OAAO,YAAY,IAAI,OAAO,EAAE,aAAa,IAAI,IAAI,CAAC;AACxD,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* What every field component shares
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* dirty, a blur marks it touched).
|
|
3
|
+
* What every field component shares: the control and its live state, whether it
|
|
4
|
+
* is required, the translated label and the handlers that bind an element to
|
|
5
|
+
* the control (a change sets the value and marks the control dirty, a blur
|
|
6
|
+
* marks it touched).
|
|
8
7
|
*/
|
|
9
8
|
export declare function useInput<T = any>({ options, fieldOptions, }: SmartInputFieldProps<T>): {
|
|
10
9
|
control: import("../../../forms").SmartAbstractControl<any> | null;
|
|
@@ -5,11 +5,10 @@ const react_1 = require("react");
|
|
|
5
5
|
const hooks_1 = require("../../../forms/hooks");
|
|
6
6
|
const hooks_2 = require("../../../utils/hooks");
|
|
7
7
|
/**
|
|
8
|
-
* What every field component shares
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* dirty, a blur marks it touched).
|
|
8
|
+
* What every field component shares: the control and its live state, whether it
|
|
9
|
+
* is required, the translated label and the handlers that bind an element to
|
|
10
|
+
* the control (a change sets the value and marks the control dirty, a blur
|
|
11
|
+
* marks it touched).
|
|
13
12
|
*/
|
|
14
13
|
function useInput({ options, fieldOptions, }) {
|
|
15
14
|
const control = options?.control ?? null;
|
|
@@ -18,8 +17,8 @@ function useInput({ options, fieldOptions, }) {
|
|
|
18
17
|
const setValue = (0, react_1.useCallback)((value) => {
|
|
19
18
|
if (!control)
|
|
20
19
|
return;
|
|
21
|
-
// Dirty first,
|
|
22
|
-
//
|
|
20
|
+
// Dirty first, so listeners of the value change already see the control
|
|
21
|
+
// as edited.
|
|
23
22
|
control.markAsDirty();
|
|
24
23
|
control.setValue(value);
|
|
25
24
|
}, [control]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-input.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-input.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input.ts"],"names":[],"mappings":";;AAYA,4BA6CC;AAzDD,iCAAoC;AAEpC,gDAAuD;AACvD,gDAAqD;AAGrD;;;;;GAKG;AACH,SAAgB,QAAQ,CAAU,EAChC,OAAO,EACP,YAAY,GACY;IACxB,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC;IACzC,MAAM,KAAK,GAAG,IAAA,uBAAe,EAAC,OAAO,CAAC,CAAC;IACvC,MAAM,KAAK,GAAG,IAAA,qBAAa,EACzB,OAAO,EAAE,MAAM,EAAE,KAAK,EACtB,OAAO,EAAE,QAAQ,IAAI,EAAE,EACtB,OAAO,EAAE,KAA+C,EAAE,WAAW,CACvE,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAA,mBAAW,EAC1B,CAAC,KAAc,EAAE,EAAE;QACjB,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,wEAAwE;QACxE,aAAa;QACb,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC,EACD,CAAC,OAAO,CAAC,CACV,CAAC;IAEF,MAAM,aAAa,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAE7E,OAAO;QACL,OAAO;QACP,KAAK;QACL,KAAK,EAAE,KAAK,EAAE,KAAK;QACnB,QAAQ,EAAE,KAAK,EAAE,QAAQ,IAAI,KAAK;QAClC,QAAQ,EAAE,KAAK,EAAE,QAAQ,IAAI,KAAK;QAClC,KAAK;QACL,QAAQ,EAAE,OAAO,EAAE,QAAQ,IAAI,EAAE;QACjC,KAAK,EAAE,OAAO,EAAE,KAAK;QACrB,IAAI,EAAE,OAAO,EAAE,IAAI;QACnB,SAAS,EAAE,OAAO,EAAE,SAAS,IAAI,CAAC;QAClC,YAAY;QACZ,mEAAmE;QACnE,QAAQ;QACR,+DAA+D;QAC/D,aAAa;QACb,gDAAgD;QAChD,SAAS,EAAE,CAAC,CAAC,YAAY,EAAE,OAAO;KACnC,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../input.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* the group of checkboxes.
|
|
3
|
+
* The `check` field: a fieldset with a checkbox per possibility; the control
|
|
4
|
+
* holds the ids of the checked ones. The (translated) texts are rendered as
|
|
5
|
+
* sanitised HTML. `className` goes on the group of checkboxes.
|
|
7
6
|
*/
|
|
8
7
|
export declare function SmartInputCheck<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -8,10 +8,9 @@ const html_1 = require("../../../utils/html");
|
|
|
8
8
|
const use_input_check_1 = require("./use-input-check");
|
|
9
9
|
const LABEL_CLASSES = 'smart:block smart:text-sm/6 smart:font-medium smart:text-gray-900 smart:dark:text-white';
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* the group of checkboxes.
|
|
11
|
+
* The `check` field: a fieldset with a checkbox per possibility; the control
|
|
12
|
+
* holds the ids of the checked ones. The (translated) texts are rendered as
|
|
13
|
+
* sanitised HTML. `className` goes on the group of checkboxes.
|
|
15
14
|
*/
|
|
16
15
|
function SmartInputCheck(props) {
|
|
17
16
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/input-check.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/input-check.tsx"],"names":[],"mappings":";;AAcA,0CAoCC;;AAlDD,oDAAwD;AACxD,4DAAgD;AAChD,8CAAkD;AAElD,uDAAkD;AAElD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F;;;;GAIG;AACH,SAAgB,eAAe,CAAI,KAA8B;IAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,GAAG,IAAA,oBAAY,GAAE,CAAC;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GACjE,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,iDACE,oCAAQ,SAAS,EAAE,aAAa,aAC7B,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IAChE,EACT,gCAAK,SAAS,EAAE,IAAA,gBAAE,EAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,CAAC,YAC3D,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACnC,mCAEE,SAAS,EAAC,6CAA6C,aAEvD,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAC,sIAAsI,GAChJ,EACF,iCACE,SAAS,EAAC,yDAAyD,EACnE,uBAAuB,EAAE,IAAA,kBAAW,EAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAClD,KAbG,KAAK,CAcJ,CACT,CAAC,GACE,IACG,CACZ,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* Styled check field (preset,
|
|
4
|
-
*
|
|
5
|
-
* HTML in a `<span>`, as in Angular.
|
|
3
|
+
* Styled check field (preset): Preline checkboxes, each followed by its
|
|
4
|
+
* (translated) text rendered as sanitised HTML in a `<span>`.
|
|
6
5
|
*/
|
|
7
6
|
export declare function SmartInputCheckPreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -12,9 +12,8 @@ const LABEL_CLASSES = 'smart:block smart:text-sm smart:font-medium smart:text-gr
|
|
|
12
12
|
const CHECKBOX_CLASSES = 'smart:shrink-0 smart:size-4 smart:bg-transparent smart:border-gray-200 smart:dark:border-gray-700 smart:rounded-sm smart:shadow-2xs smart:text-blue-600 smart:dark:text-blue-400 smart:focus:ring-0 smart:focus:ring-offset-0 smart:checked:bg-blue-700 smart:dark:checked:bg-blue-600 smart:checked:border-blue-700 smart:dark:checked:border-blue-600 smart:disabled:opacity-50 smart:disabled:pointer-events-none';
|
|
13
13
|
const OPTION_LABEL_CLASSES = 'smart:text-sm smart:ms-3 smart:text-gray-500 smart:dark:text-gray-400';
|
|
14
14
|
/**
|
|
15
|
-
* Styled check field (preset,
|
|
16
|
-
*
|
|
17
|
-
* HTML in a `<span>`, as in Angular.
|
|
15
|
+
* Styled check field (preset): Preline checkboxes, each followed by its
|
|
16
|
+
* (translated) text rendered as sanitised HTML in a `<span>`.
|
|
18
17
|
*/
|
|
19
18
|
function SmartInputCheckPreset(props) {
|
|
20
19
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-check-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/check/preset/input-check-preset.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input-check-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/check/preset/input-check-preset.tsx"],"names":[],"mappings":";;AAqBA,sDAoCC;;AAzDD,uDAA2D;AAC3D,+DAAmD;AACnD,iDAAqD;AAErD,wDAAmD;AAEnD,MAAM,aAAa,GACjB,uFAAuF,CAAC;AAE1F,wEAAwE;AACxE,yCAAyC;AACzC,MAAM,gBAAgB,GACpB,sZAAsZ,CAAC;AAEzZ,MAAM,oBAAoB,GACxB,uEAAuE,CAAC;AAE1E;;;GAGG;AACH,SAAgB,qBAAqB,CAAI,KAA8B;IACrE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,GAAG,IAAA,oBAAY,GAAE,CAAC;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GACjE,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,iDACE,oCAAQ,SAAS,EAAE,aAAa,aAC7B,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IAChE,EACT,gCACE,SAAS,EAAE,IAAA,gBAAE,EAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,CAAC,eAC/C,aAAa,YAEtB,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACnC,iCAAiB,SAAS,EAAC,+BAA+B,aACxD,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAE,gBAAgB,GAC3B,EACF,iCACE,SAAS,EAAE,oBAAoB,EAC/B,uBAAuB,EAAE,IAAA,kBAAW,EAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAClD,KAXM,KAAK,CAYT,CACP,CAAC,GACE,IACG,CACZ,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { SmartPossibility } from '../../../models';
|
|
2
2
|
import { SmartInputFieldProps } from '../input.types';
|
|
3
3
|
/**
|
|
4
|
-
* The possibilities with `checked` set from the control value
|
|
5
|
-
* `
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* value).
|
|
4
|
+
* The possibilities with `checked` set from the control value: a possibility
|
|
5
|
+
* whose `id` is an object with an `id` is checked when the value holds an
|
|
6
|
+
* object with that `id`, and then takes that object as its `id`, so the value
|
|
7
|
+
* keeps the stored objects; any other possibility is checked when its `id` is
|
|
8
|
+
* in the value (or is the value).
|
|
10
9
|
*/
|
|
11
10
|
export declare function syncInputCheckPossibilities(possibilities: SmartPossibility[] | null, value: unknown): SmartPossibility[] | null;
|
|
12
11
|
/**
|
|
13
|
-
* What both check fields share
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* sets the ids of the checked possibilities as the value and marks the
|
|
18
|
-
* control dirty and touched.
|
|
12
|
+
* What both check fields share: the possibilities of the provider or the input
|
|
13
|
+
* options, or else the model field's `possibilities`, kept checked in line with
|
|
14
|
+
* the control value, and `toggle(item)`, which sets the ids of the checked
|
|
15
|
+
* possibilities as the value and marks the control dirty and touched.
|
|
19
16
|
*/
|
|
20
17
|
export declare function useInputCheck<T>(props: SmartInputFieldProps<T>): {
|
|
21
18
|
possibilities: SmartPossibility[] | null;
|
|
@@ -7,12 +7,11 @@ const models_1 = require("@smartsoft001/models");
|
|
|
7
7
|
const use_input_1 = require("../base/use-input");
|
|
8
8
|
const use_input_possibilities_1 = require("../base/use-input-possibilities");
|
|
9
9
|
/**
|
|
10
|
-
* The possibilities with `checked` set from the control value
|
|
11
|
-
* `
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* value).
|
|
10
|
+
* The possibilities with `checked` set from the control value: a possibility
|
|
11
|
+
* whose `id` is an object with an `id` is checked when the value holds an
|
|
12
|
+
* object with that `id`, and then takes that object as its `id`, so the value
|
|
13
|
+
* keeps the stored objects; any other possibility is checked when its `id` is
|
|
14
|
+
* in the value (or is the value).
|
|
16
15
|
*/
|
|
17
16
|
function syncInputCheckPossibilities(possibilities, value) {
|
|
18
17
|
if (!possibilities)
|
|
@@ -33,12 +32,10 @@ function syncInputCheckPossibilities(possibilities, value) {
|
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
34
|
/**
|
|
36
|
-
* What both check fields share
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* sets the ids of the checked possibilities as the value and marks the
|
|
41
|
-
* control dirty and touched.
|
|
35
|
+
* What both check fields share: the possibilities of the provider or the input
|
|
36
|
+
* options, or else the model field's `possibilities`, kept checked in line with
|
|
37
|
+
* the control value, and `toggle(item)`, which sets the ids of the checked
|
|
38
|
+
* possibilities as the value and marks the control dirty and touched.
|
|
42
39
|
*/
|
|
43
40
|
function useInputCheck(props) {
|
|
44
41
|
const input = (0, use_input_1.useInput)(props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/use-input-check.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/use-input-check.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* The colour field
|
|
4
|
-
*
|
|
5
|
-
* opened the `ngx-color-picker` popup on the input; this uses the browser's
|
|
6
|
-
* native `<input type="color">` instead.
|
|
3
|
+
* The colour field: a swatch of the colour, the browser's native colour picker
|
|
4
|
+
* (`<input type="color">`) and a `×` button that clears it.
|
|
7
5
|
*/
|
|
8
6
|
export declare function SmartInputColor<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -7,10 +7,8 @@ const class_names_1 = require("../../../utils/class-names");
|
|
|
7
7
|
const use_input_color_1 = require("./use-input-color");
|
|
8
8
|
const LABEL_CLASSES = 'smart:block smart:text-sm/6 smart:font-medium smart:text-gray-900 smart:dark:text-white';
|
|
9
9
|
/**
|
|
10
|
-
* The colour field
|
|
11
|
-
*
|
|
12
|
-
* opened the `ngx-color-picker` popup on the input; this uses the browser's
|
|
13
|
-
* native `<input type="color">` instead.
|
|
10
|
+
* The colour field: a swatch of the colour, the browser's native colour picker
|
|
11
|
+
* (`<input type="color">`) and a `×` button that clears it.
|
|
14
12
|
*/
|
|
15
13
|
function SmartInputColor(props) {
|
|
16
14
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/input-color.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/input-color.tsx"],"names":[],"mappings":";;AAaA,0CAyCC;;AAtDD,iCAA8B;AAE9B,4DAAgD;AAEhD,uDAAkD;AAElD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F;;;GAGG;AACH,SAAgB,eAAe,CAAI,KAA8B;IAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAC3D,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,iCACE,SAAS,EAAE,IAAA,gBAAE,EACX,wDAAwD,EACxD,SAAS,CACV,aAED,iCACE,SAAS,EAAC,oHAAoH,EAC9H,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,GAChD,EACF,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,IAAI,SAAS,EACzB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5C,SAAS,EAAC,4FAA4F,GACtG,EACF,mCACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,KAAK,EACd,SAAS,EAAC,mIAAmI,uBAGtI,IACL,IACL,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* Preline-styled colour field (preset
|
|
4
|
-
*
|
|
5
|
-
* colour's hex code and a clear button.
|
|
3
|
+
* Preline-styled colour field (preset): a framed swatch (white without a
|
|
4
|
+
* colour), the native colour picker, the colour's hex code and a clear button.
|
|
6
5
|
*/
|
|
7
6
|
export declare function SmartInputColorPreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -27,9 +27,8 @@ const PICKER_CLASSES = 'smart:size-8 smart:cursor-pointer smart:rounded-md smart
|
|
|
27
27
|
const HEX_CLASSES = 'smart:flex-1 smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white smart:uppercase';
|
|
28
28
|
const CLEAR_CLASSES = 'smart:rounded-md smart:bg-red-600 smart:px-2 smart:py-1 smart:text-xs smart:font-semibold smart:text-white smart:hover:bg-red-500';
|
|
29
29
|
/**
|
|
30
|
-
* Preline-styled colour field (preset
|
|
31
|
-
*
|
|
32
|
-
* colour's hex code and a clear button.
|
|
30
|
+
* Preline-styled colour field (preset): a framed swatch (white without a
|
|
31
|
+
* colour), the native colour picker, the colour's hex code and a clear button.
|
|
33
32
|
*/
|
|
34
33
|
function SmartInputColorPreset(props) {
|
|
35
34
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-color-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/color/preset/input-color-preset.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input-color-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/color/preset/input-color-preset.tsx"],"names":[],"mappings":";;AA0CA,sDA0CC;;AApFD,iCAA8B;AAE9B,+DAAmD;AAEnD,wDAAmD;AAEnD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,YAAY;IACZ,oBAAoB;IACpB,eAAe;IACf,WAAW;IACX,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,uBAAuB;IACvB,4BAA4B;IAC5B,kBAAkB;IAClB,2BAA2B;IAC3B,kCAAkC;IAClC,uCAAuC;CACxC,CAAC;AAEF,MAAM,cAAc,GAClB,gHAAgH,CAAC;AAEnH,MAAM,cAAc,GAClB,wFAAwF,CAAC;AAE3F,MAAM,WAAW,GACf,wGAAwG,CAAC;AAE3G,MAAM,aAAa,GACjB,mIAAmI,CAAC;AAEtI;;;GAGG;AACH,SAAgB,qBAAqB,CAAI,KAA8B;IACrE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAC3D,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,eAAY,OAAO,aAC5D,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,iCAAK,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,eAAY,aAAa,aACnE,iCACE,SAAS,EAAE,cAAc,EACzB,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,IAAI,SAAS,EAAE,eAC/B,QAAQ,GAClB,EACF,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,IAAI,SAAS,EACzB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5C,SAAS,EAAE,cAAc,eACf,aAAa,GACvB,EACF,iCAAM,SAAS,EAAE,WAAW,eAAY,KAAK,YAC1C,KAAK,IAAI,EAAE,GACP,EACP,mCACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,KAAK,EACd,SAAS,EAAE,aAAa,eACd,OAAO,uBAGV,IACL,IACL,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* The colour logic shared by `SmartInputColor` and `SmartInputColorPreset
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
3
|
+
* The colour logic shared by `SmartInputColor` and `SmartInputColorPreset`: the
|
|
4
|
+
* shown colour is read from the control when the control is set, then follows
|
|
5
|
+
* the picker. Picking or clearing marks the control dirty and touched; clearing
|
|
6
|
+
* sets `null`.
|
|
7
7
|
*/
|
|
8
8
|
export declare function useInputColor<T>(props: SmartInputFieldProps<T>): {
|
|
9
9
|
color: string | null;
|
|
@@ -4,17 +4,17 @@ exports.useInputColor = useInputColor;
|
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const use_input_1 = require("../base/use-input");
|
|
6
6
|
/**
|
|
7
|
-
* The colour logic shared by `SmartInputColor` and `SmartInputColorPreset
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* The colour logic shared by `SmartInputColor` and `SmartInputColorPreset`: the
|
|
8
|
+
* shown colour is read from the control when the control is set, then follows
|
|
9
|
+
* the picker. Picking or clearing marks the control dirty and touched; clearing
|
|
10
|
+
* sets `null`.
|
|
11
11
|
*/
|
|
12
12
|
function useInputColor(props) {
|
|
13
13
|
const input = (0, use_input_1.useInput)(props);
|
|
14
14
|
const { control } = input;
|
|
15
15
|
const [color, setColor] = (0, react_1.useState)(control?.value ?? null);
|
|
16
16
|
const [colorControl, setColorControl] = (0, react_1.useState)(control);
|
|
17
|
-
//
|
|
17
|
+
// A new control resets the colour.
|
|
18
18
|
if (colorControl !== control) {
|
|
19
19
|
setColorControl(control);
|
|
20
20
|
setColor(control?.value ?? null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/use-input-color.ts"],"names":[],"mappings":";;AAWA,sCA+BC;AA1CD,iCAAiC;AAEjC,iDAA6C;AAG7C;;;;;GAKG;AACH,SAAgB,aAAa,CAAI,KAA8B;IAC7D,MAAM,KAAK,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAgB,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC;IAC1E,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,OAAO,CAAC,CAAC;IAE1D,
|
|
1
|
+
{"version":3,"file":"use-input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/use-input-color.ts"],"names":[],"mappings":";;AAWA,sCA+BC;AA1CD,iCAAiC;AAEjC,iDAA6C;AAG7C;;;;;GAKG;AACH,SAAgB,aAAa,CAAI,KAA8B;IAC7D,MAAM,KAAK,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAgB,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC;IAC1E,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,OAAO,CAAC,CAAC;IAE1D,mCAAmC;IACnC,IAAI,YAAY,KAAK,OAAO,EAAE,CAAC;QAC7B,eAAe,CAAC,OAAO,CAAC,CAAC;QACzB,QAAQ,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE;QACpC,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC3B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxB,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC;IAEF,MAAM,KAAK,GAAG,GAAG,EAAE;QACjB,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,QAAQ,CAAC,EAAE,CAAC,CAAC;QACb,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC3B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;AACjD,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* The amount field
|
|
4
|
-
* `
|
|
5
|
-
* Angular, nothing is formatted: an empty field sets `null`, anything else the
|
|
6
|
-
* parsed number.
|
|
3
|
+
* The amount field: a number input with `step="0.01"`. Nothing is formatted: an
|
|
4
|
+
* empty field sets `null`, anything else the parsed number.
|
|
7
5
|
*/
|
|
8
6
|
export declare function SmartInputCurrency<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -32,10 +32,8 @@ const INPUT_CLASSES = [
|
|
|
32
32
|
'smart:dark:focus:outline-indigo-500',
|
|
33
33
|
];
|
|
34
34
|
/**
|
|
35
|
-
* The amount field
|
|
36
|
-
* `
|
|
37
|
-
* Angular, nothing is formatted: an empty field sets `null`, anything else the
|
|
38
|
-
* parsed number.
|
|
35
|
+
* The amount field: a number input with `step="0.01"`. Nothing is formatted: an
|
|
36
|
+
* empty field sets `null`, anything else the parsed number.
|
|
39
37
|
*/
|
|
40
38
|
function SmartInputCurrency(props) {
|
|
41
39
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-currency.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/currency/input-currency.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input-currency.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/currency/input-currency.tsx"],"names":[],"mappings":";;AAuCA,gDAmCC;;AA1ED,iCAA8B;AAE9B,4DAAgD;AAChD,iDAA6C;AAE7C,sDAAoD;AAEpD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,kBAAkB;IAClB,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,qBAAqB;IACrB,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,iCAAiC;IACjC,uBAAuB;IACvB,8BAA8B;IAC9B,gCAAgC;IAChC,oBAAoB;IACpB,uBAAuB;IACvB,uBAAuB;IACvB,6BAA6B;IAC7B,sCAAsC;IACtC,qCAAqC;CACtC,CAAC;AAEF;;;GAGG;AACH,SAAgB,kBAAkB,CAAI,KAA8B;IAClE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,GACd,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IAEpB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,EACvC,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAA,4BAAa,EAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxD,MAAM,EAAE,aAAa,GACrB,IACD,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* Preline-styled amount field (preset
|
|
4
|
-
* `
|
|
5
|
-
* with a leading currency icon.
|
|
3
|
+
* Preline-styled amount field (preset): the number input of
|
|
4
|
+
* `SmartInputCurrency` with a leading currency icon.
|
|
6
5
|
*/
|
|
7
6
|
export declare function SmartInputCurrencyPreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -36,9 +36,8 @@ const INPUT_CLASSES = [
|
|
|
36
36
|
'smart:disabled:pointer-events-none',
|
|
37
37
|
];
|
|
38
38
|
/**
|
|
39
|
-
* Preline-styled amount field (preset
|
|
40
|
-
* `
|
|
41
|
-
* with a leading currency icon.
|
|
39
|
+
* Preline-styled amount field (preset): the number input of
|
|
40
|
+
* `SmartInputCurrency` with a leading currency icon.
|
|
42
41
|
*/
|
|
43
42
|
function SmartInputCurrencyPreset(props) {
|
|
44
43
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-currency-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/currency/preset/input-currency-preset.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input-currency-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/currency/preset/input-currency-preset.tsx"],"names":[],"mappings":";;AA6CA,4DAuDC;;AApGD,iCAA8B;AAE9B,+DAAmD;AACnD,oDAAgD;AAEhD,yDAAuD;AAEvD,MAAM,aAAa,GACjB,qGAAqG,CAAC;AAExG,MAAM,iBAAiB,GACrB,wLAAwL,CAAC;AAE3L,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,cAAc;IACd,eAAe;IACf,YAAY;IACZ,aAAa;IACb,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,uBAAuB;IACvB,4BAA4B;IAC5B,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;IACrB,uBAAuB;IACvB,iCAAiC;IACjC,sCAAsC;IACtC,6BAA6B;IAC7B,kCAAkC;IAClC,oBAAoB;IACpB,2BAA2B;IAC3B,gCAAgC;IAChC,2BAA2B;IAC3B,oCAAoC;CACrC,CAAC;AAEF;;;GAGG;AACH,SAAgB,wBAAwB,CAAI,KAA8B;IACxE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,GACd,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IAEpB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,iCAAK,SAAS,EAAC,gBAAgB,aAC7B,gCAAK,SAAS,EAAE,iBAAiB,eAAY,oBAAoB,YAC/D,iCACE,SAAS,EAAC,0EAA0E,EACpF,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,iBACV,MAAM,aAElB,iCAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG,EACvC,iCAAM,CAAC,EAAC,mDAAmD,GAAG,IAC1D,GACF,EACN,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,EACvC,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAA,4BAAa,EAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxD,MAAM,EAAE,aAAa,GACrB,IACE,IACL,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* The `date` field
|
|
4
|
-
*
|
|
5
|
-
* bound to the control (`YYYY-MM-DD`). `className` is appended to the input's
|
|
6
|
-
* classes.
|
|
3
|
+
* The `date` field: the model label and a native `type="date"` input bound to
|
|
4
|
+
* the control (`YYYY-MM-DD`). `className` is appended to the input's classes.
|
|
7
5
|
*
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
* there (`TODO: re-enable moment`), so the value is bound as it is here too.
|
|
6
|
+
* The value is bound as it is: a value that is not 10 characters long is not
|
|
7
|
+
* re-formatted.
|
|
11
8
|
*/
|
|
12
9
|
export declare function SmartInputDate<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -37,14 +37,11 @@ const INPUT_CLASSES = [
|
|
|
37
37
|
'smart:dark:focus:outline-indigo-500',
|
|
38
38
|
].join(' ');
|
|
39
39
|
/**
|
|
40
|
-
* The `date` field
|
|
41
|
-
*
|
|
42
|
-
* bound to the control (`YYYY-MM-DD`). `className` is appended to the input's
|
|
43
|
-
* classes.
|
|
40
|
+
* The `date` field: the model label and a native `type="date"` input bound to
|
|
41
|
+
* the control (`YYYY-MM-DD`). `className` is appended to the input's classes.
|
|
44
42
|
*
|
|
45
|
-
* The
|
|
46
|
-
*
|
|
47
|
-
* there (`TODO: re-enable moment`), so the value is bound as it is here too.
|
|
43
|
+
* The value is bound as it is: a value that is not 10 characters long is not
|
|
44
|
+
* re-formatted.
|
|
48
45
|
*/
|
|
49
46
|
function SmartInputDate(props) {
|
|
50
47
|
const { className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-date.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/date/input-date.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input-date.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/date/input-date.tsx"],"names":[],"mappings":";;AA8CA,wCAkCC;;AAhFD,iCAA8B;AAE9B,4DAAgD;AAChD,iDAA6C;AAG7C,MAAM,aAAa,GAAG;IACpB,aAAa;IACb,iBAAiB;IACjB,mBAAmB;IACnB,qBAAqB;IACrB,uBAAuB;CACxB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,kBAAkB;IAClB,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,qBAAqB;IACrB,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,iCAAiC;IACjC,uBAAuB;IACvB,8BAA8B;IAC9B,gCAAgC;IAChC,oBAAoB;IACpB,uBAAuB;IACvB,uBAAuB;IACvB,6BAA6B;IAC7B,sCAAsC;IACtC,qCAAqC;CACtC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ;;;;;;GAMG;AACH,SAAgB,cAAc,CAAI,KAA8B;IAC9D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,aAAa,EACb,SAAS,GACV,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IACpB,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IAEnB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,EACvC,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACzC,MAAM,EAAE,aAAa,GACrB,IACD,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { SmartInputFieldProps } from '../../input.types';
|
|
2
2
|
/**
|
|
3
|
-
* Styled `date` field (preset
|
|
4
|
-
* `<smart-input-date-preset>`): the Preline datepicker input look of
|
|
3
|
+
* Styled `date` field (preset): the Preline datepicker input look of
|
|
5
4
|
* {@link SmartInputDate}. Register it as `inputFieldComponents[FieldType.date]`
|
|
6
5
|
* on `SmartProvider`.
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* It renders a native `type="date"` input: the Preline advanced datepicker
|
|
8
|
+
* needs Vanilla Calendar Pro and the Preline JS plugin, which the library does
|
|
9
|
+
* not ship.
|
|
11
10
|
*/
|
|
12
11
|
export declare function SmartInputDatePreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -46,14 +46,13 @@ const INPUT_CLASSES = [
|
|
|
46
46
|
'smart:disabled:pointer-events-none',
|
|
47
47
|
].join(' ');
|
|
48
48
|
/**
|
|
49
|
-
* Styled `date` field (preset
|
|
50
|
-
* `<smart-input-date-preset>`): the Preline datepicker input look of
|
|
49
|
+
* Styled `date` field (preset): the Preline datepicker input look of
|
|
51
50
|
* {@link SmartInputDate}. Register it as `inputFieldComponents[FieldType.date]`
|
|
52
51
|
* on `SmartProvider`.
|
|
53
52
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
53
|
+
* It renders a native `type="date"` input: the Preline advanced datepicker
|
|
54
|
+
* needs Vanilla Calendar Pro and the Preline JS plugin, which the library does
|
|
55
|
+
* not ship.
|
|
57
56
|
*/
|
|
58
57
|
function SmartInputDatePreset(props) {
|
|
59
58
|
const { className } = props;
|