@nxgt/material 3.57.0 → 3.59.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/CHANGELOG.md +32 -0
- package/README.md +33 -1
- package/dist/{async-slice-B3RMgJUn.js → async-slice-Cmvxrvn9.js} +2 -2
- package/dist/{background-BtSZsTvY.js → background-qdnet2A5.js} +124 -83
- package/dist/backgrounds.js +1 -1
- package/dist/barcode.js +440 -0
- package/dist/{button-hnUZpzYu.js → button-Deo7l4wM.js} +97 -74
- package/dist/{callout-view-C6voDS00.js → callout-view-C7UznnDW.js} +1 -1
- package/dist/charts.js +1531 -1489
- package/dist/{chip-kplPa8ZV.js → chip-BlmIjpiD.js} +2 -2
- package/dist/{code-editor-Ba61Cd-g.js → code-editor-BYEpBp_U.js} +312 -282
- package/dist/code-editor.js +14 -14
- package/dist/{code-language-items-CsDC4Ky4.js → code-language-items-Cqk4Fq61.js} +2 -2
- package/dist/components/components.css +1 -0
- package/dist/components/ui/widgets/barcode/barcode.css +112 -0
- package/dist/{components-BgckuX2C.js → components-BsKpeqVX.js} +28688 -25977
- package/dist/components.js +26 -26
- package/dist/{convert-XAkWyO8-.js → convert-7g-F5cNf.js} +1 -1
- package/dist/{dialog-DS8O4Kkb.js → dialog-1BstKBvt.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/draw-animate.js +1 -1
- package/dist/{dropdown-menu-CvVQJpsn.js → dropdown-menu-hoaocAS7.js} +1 -1
- package/dist/editor-viewer.js +1 -1
- package/dist/editor.js +715 -607
- package/dist/empty-state-DEG9h7xk.js +139 -0
- package/dist/{escape-owner-BJvicDmr.js → escape-owner-BvLBo_Al.js} +22 -22
- package/dist/{field-blur-Cnjk0o9A.js → field-blur-BkeYPaWi.js} +1 -1
- package/dist/{field-blur-context-CYlx9KnB.js → field-blur-context-Ba7iZVm_.js} +1 -1
- package/dist/{headless-extensions-CvmdhANJ.js → headless-extensions-B1NAgmkE.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-DW4XnExA.js → hover-card-C5DTU9P_.js} +2 -2
- package/dist/{i18n-provider-DBr59j1p.js → i18n-provider-BJDI-A5w.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-4FMy66AC.js → icon-badge-9ZE6k7cn.js} +3 -3
- package/dist/{icon-button-QF7smCoV.js → icon-button-AwJtCkV5.js} +59 -59
- package/dist/{illustration-B4_W-OUS.js → illustration-DjZXUFbz.js} +11 -11
- package/dist/illustrations.js +1 -1
- package/dist/lib/backgrounds/background/background.d.ts +1 -1
- package/dist/lib/backgrounds/background/partials/use-background-scenes.d.ts +22 -0
- package/dist/lib/backgrounds/background/partials/use-themed-background.d.ts +304 -0
- package/dist/lib/barcode/index.d.ts +15 -0
- package/dist/lib/components/ui/actions/action-card/action-card-semantics-branches.d.ts +63 -0
- package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +0 -4
- package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +3 -1
- package/dist/lib/components/ui/actions/action-card/use-action-card.d.ts +80 -0
- package/dist/lib/components/ui/actions/button/button-busy.d.ts +8 -0
- package/dist/lib/components/ui/actions/button/button.classes.d.ts +7 -0
- package/dist/lib/components/ui/actions/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/load-more-footer/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/load-more-footer/load-more-footer.d.ts +24 -0
- package/dist/lib/components/ui/actions/toolbar/use-toolbar-state.d.ts +22 -0
- package/dist/lib/components/ui/collections/data-grid/columns/column-check.d.ts +15 -0
- package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +1 -12
- package/dist/lib/components/ui/collections/data-grid/editors/editor-props.d.ts +20 -0
- package/dist/lib/components/ui/collections/data-grid/editors/editor-route-key.d.ts +11 -0
- package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-access.d.ts +26 -0
- package/dist/lib/components/ui/collections/data-grid/partials/grid-header-name.d.ts +15 -0
- package/dist/lib/components/ui/collections/data-grid/partials/header-menu-button.d.ts +17 -0
- package/dist/lib/components/ui/collections/data-grid/partials/open-header-menu.d.ts +14 -0
- package/dist/lib/components/ui/collections/data-grid/partials/width-field.d.ts +18 -0
- package/dist/lib/components/ui/collections/data-grid/phone/phone-item.d.ts +2 -2
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-card-list.d.ts +17 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/list-bar-clear.d.ts +10 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/list-bar-in-row.d.ts +18 -0
- package/dist/lib/components/ui/collections/data-table/partials/page-button.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-table/partials/page-icon-control.d.ts +21 -0
- package/dist/lib/components/ui/collections/data-table/partials/pager-buttons.d.ts +7 -0
- package/dist/lib/components/ui/collections/data-table/use-data-table-setup.d.ts +36 -0
- package/dist/lib/components/ui/collections/facet-group/partials/facet-group-header.d.ts +11 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config-base.utils.d.ts +13 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config-choice.utils.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config-value.utils.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/filter-field-config.utils.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/filter-legacy.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/filter-persistence-url-value.utils.d.ts +9 -0
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -5
- package/dist/lib/components/ui/collections/filter/filter-validation-presets.utils.d.ts +24 -0
- package/dist/lib/components/ui/collections/filter/filter-validation-rules.utils.d.ts +11 -0
- package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -23
- package/dist/lib/components/ui/collections/filter/partials/filter-field-special.d.ts +8 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-form-field-variant.d.ts +10 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-group-fields.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-legacy-variant.d.ts +3 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-preset-fields.d.ts +9 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-menu-items.d.ts +13 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-menu.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-save-dialog.d.ts +7 -0
- package/dist/lib/components/ui/collections/filter/partials/filter-presets-save-trigger.d.ts +7 -0
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +3 -39
- package/dist/lib/components/ui/collections/filter/query/use-filter-query-options.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/query/use-filter-query-value.d.ts +2 -2
- package/dist/lib/components/ui/collections/filter/query/view-types.d.ts +40 -0
- package/dist/lib/components/ui/collections/filter/sections/use-filter-search.d.ts +14 -0
- package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +7483 -0
- package/dist/lib/components/ui/collections/list-pane/partials/list-pane-body.d.ts +12 -0
- package/dist/lib/components/ui/collections/list-pane/partials/list-pane-item-content.d.ts +15 -0
- package/dist/lib/components/ui/collections/list-pane/partials/list-pane-search.d.ts +8 -0
- package/dist/lib/components/ui/collections/pagination/pagination-bar-pages.d.ts +8 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-action-button.d.ts +26 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-buttons.d.ts +13 -11
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-entries.d.ts +11 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +1 -28
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-keys.d.ts +37 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-grid-paging.d.ts +8 -0
- package/dist/lib/components/ui/collections/server-table/types-filter.d.ts +70 -0
- package/dist/lib/components/ui/collections/server-table/types-states.d.ts +42 -0
- package/dist/lib/components/ui/collections/server-table/types.d.ts +4 -110
- package/dist/lib/components/ui/collections/tree/tree-expand-button.d.ts +6 -0
- package/dist/lib/components/ui/collections/tree/use-tree-keys.d.ts +14 -0
- package/dist/lib/components/ui/collections/tree/use-tree-select.d.ts +14 -0
- package/dist/lib/components/ui/collections/tree/use-tree.d.ts +5 -4
- package/dist/lib/components/ui/dates/calendar/calendar-year-button.d.ts +10 -0
- package/dist/lib/components/ui/dates/calendar/calendar-year-nav.d.ts +9 -0
- package/dist/lib/components/ui/dates/date-field/date-field-parts.d.ts +78 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-body-scroll.d.ts +15 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/preview-calendar-props.d.ts +11 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/use-cancel-range.d.ts +6 -0
- package/dist/lib/components/ui/dates/date-range-field/use-end-on.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-range-field/use-typed-range.d.ts +2 -3
- package/dist/lib/components/ui/dates/mini-month/partials/mini-month-day.d.ts +8 -0
- package/dist/lib/components/ui/dates/mini-month/partials/mini-month-head.d.ts +18 -0
- package/dist/lib/components/ui/dates/mini-month/partials/mini-month-markers.d.ts +5 -0
- package/dist/lib/components/ui/dates/mini-month/partials/use-grid-focus.d.ts +11 -0
- package/dist/lib/components/ui/dates/picker-trigger/typed-box-parts.d.ts +12 -0
- package/dist/lib/components/ui/dates/time-field/partials/use-time-field-model.d.ts +14 -5
- package/dist/lib/components/ui/dates/time-picker/partials/time-column.d.ts +13 -0
- package/dist/lib/components/ui/display/cards/cards.stories.data.detail.d.ts +9 -0
- package/dist/lib/components/ui/display/cards/cards.stories.data.feed.d.ts +7 -0
- package/dist/lib/components/ui/display/cards/cards.stories.data.intro.d.ts +11 -0
- package/dist/lib/components/ui/display/cards/types-detail.d.ts +74 -0
- package/dist/lib/components/ui/display/cards/types-feed.d.ts +41 -0
- package/dist/lib/components/ui/display/cards/types-intro.d.ts +76 -0
- package/dist/lib/components/ui/display/cards/types.d.ts +3 -187
- package/dist/lib/components/ui/display/code/code-block-parts.d.ts +16 -0
- package/dist/lib/components/ui/display/enrolment-secret/enrolment-secret-manual.d.ts +9 -0
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-start.d.ts +11 -0
- package/dist/lib/components/ui/display/event-chip/event-chip-content.d.ts +12 -0
- package/dist/lib/components/ui/display/param-table/param-table-views.d.ts +19 -0
- package/dist/lib/components/ui/display/recovery-codes/partials/use-recovery-codes-actions.d.ts +22 -0
- package/dist/lib/components/ui/display/recovery-codes-status/partials/recovery-codes-status-plain.d.ts +13 -0
- package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog-actions.d.ts +6 -0
- package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog.d.ts +1 -3
- package/dist/lib/components/ui/feedback/confirm-dialog/use-confirm-action.d.ts +16 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/use-confirmation-form.d.ts +18 -0
- package/dist/lib/components/ui/feedback/countdown-timer/countdown-timer.d.ts +5 -3
- package/dist/lib/components/ui/feedback/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-body.d.ts +10 -0
- package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-dot.d.ts +2 -0
- package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-open.d.ts +5 -0
- package/dist/lib/components/ui/feedback/notifications/notifications-model.d.ts +59 -0
- package/dist/lib/components/ui/feedback/notifications/use-notifications-chrome.d.ts +17 -0
- package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +4 -38
- package/dist/lib/components/ui/feedback/page-load-failed/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/page-load-failed/page-load-failed.d.ts +15 -0
- package/dist/lib/components/ui/feedback/spinner/spinner-variants.d.ts +5 -0
- package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +1 -5
- package/dist/lib/components/ui/feedback/state-frame/state-frame-text.d.ts +10 -0
- package/dist/lib/components/ui/feedback/state-frame/use-state-media.d.ts +14 -0
- package/dist/lib/components/ui/feedback/step-dots/step-dot.d.ts +13 -0
- package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +2 -1
- package/dist/lib/components/ui/feedback/step-up-dialog/describe-by.d.ts +4 -0
- package/dist/lib/components/ui/feedback/step-up-dialog/use-step-up-view.d.ts +34 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-options-form-fields.d.ts +7 -0
- package/dist/lib/components/ui/fields/attributes/attributes-list/attribute-tile.d.ts +11 -0
- package/dist/lib/components/ui/fields/attributes/partials/editor-rows.d.ts +15 -0
- package/dist/lib/components/ui/fields/contacts/partials/contact-groups.d.ts +20 -0
- package/dist/lib/components/ui/fields/contacts/partials/contact-tile.d.ts +13 -0
- package/dist/lib/components/ui/fields/contacts/partials/dialog-actions.d.ts +14 -0
- package/dist/lib/components/ui/fields/contacts/partials/dialog-fields.d.ts +14 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +2 -0
- package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +2 -0
- package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +2 -0
- package/dist/lib/components/ui/fields/currency-field/use-currency-amount.d.ts +17 -0
- package/dist/lib/components/ui/fields/field/render-choice-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/inline-edit/inline-edit-display.d.ts +12 -0
- package/dist/lib/components/ui/fields/inline-edit/inline-edit-editor.d.ts +14 -0
- package/dist/lib/components/ui/fields/inline-edit/use-inline-edit.d.ts +19 -0
- package/dist/lib/components/ui/fields/opening-hours/logic/missing-days.d.ts +3 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/day-switch.d.ts +14 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/dialog-actions.d.ts +13 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/dialog-fields.d.ts +14 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/hours-actions.d.ts +9 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/hours-tile.d.ts +11 -0
- package/dist/lib/components/ui/fields/opening-hours/partials/week-rows.d.ts +14 -0
- package/dist/lib/components/ui/fields/opening-hours/use-hours-editor.d.ts +1 -0
- package/dist/lib/components/ui/fields/phone-field/phone-country-list.d.ts +10 -0
- package/dist/lib/components/ui/fields/phone-field/phone-dial-button.d.ts +10 -0
- package/dist/lib/components/ui/fields/phone-field/phone-number-input.d.ts +19 -0
- package/dist/lib/components/ui/fields/phone-field/use-phone-value.d.ts +17 -0
- package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-actions.d.ts +14 -0
- package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-fields.d.ts +10 -0
- package/dist/lib/components/ui/fields/rating-field/rating-color.d.ts +4 -0
- package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +1 -4
- package/dist/lib/components/ui/fields/rating-field/rating-star.d.ts +22 -0
- package/dist/lib/components/ui/fields/rating-field/use-rating.d.ts +16 -0
- package/dist/lib/components/ui/fields/search-field/search-box.d.ts +11 -0
- package/dist/lib/components/ui/fields/search-field/use-search-value.d.ts +21 -0
- package/dist/lib/components/ui/fields/slider/slider-control-row.d.ts +10 -0
- package/dist/lib/components/ui/fields/slider/slider-group-props.d.ts +16 -0
- package/dist/lib/components/ui/fields/slider/slider-group.d.ts +14 -0
- package/dist/lib/components/ui/fields/slider/slider-horizontal.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/slider-vertical.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/slider.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/use-slider-value.d.ts +10 -0
- package/dist/lib/components/ui/fields/textarea-field/textarea-footer.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/activity-chrome.d.ts +17 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content-header.d.ts +15 -0
- package/dist/lib/components/ui/layout/app-shell/app-header-menu.d.ts +5 -0
- package/dist/lib/components/ui/layout/app-shell/band-boxes.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-shell/collect-content.d.ts +24 -0
- package/dist/lib/components/ui/layout/app-shell/keep-inside-checker.d.ts +10 -0
- package/dist/lib/components/ui/layout/app-shell/page-title-focus.d.ts +32 -0
- package/dist/lib/components/ui/layout/app-shell/page-title-scope.d.ts +53 -0
- package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +2 -82
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +3 -13
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +2 -18
- package/dist/lib/components/ui/layout/auth-card/auth-card-parts.d.ts +25 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-header-parts.d.ts +18 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +2 -4
- package/dist/lib/components/ui/layout/doc/partials/doc-nav-parts.d.ts +11 -0
- package/dist/lib/components/ui/layout/doc/use-doc-effects.d.ts +23 -0
- package/dist/lib/components/ui/layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item-content.d.ts +7 -0
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -47
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.types.d.ts +54 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/keyboard-inset.d.ts +17 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/sticky-action-bar.d.ts +17 -0
- package/dist/lib/components/ui/layout/sticky-action-bar/use-keyboard-inset.d.ts +8 -0
- package/dist/lib/components/ui/layout/toc/toc-list.d.ts +16 -0
- package/dist/lib/components/ui/media/compare-slider/partials/compare-slider-handle.d.ts +9 -0
- package/dist/lib/components/ui/media/compare-slider/use-compare-slider.d.ts +22 -0
- package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +1 -1
- package/dist/lib/components/ui/media/file-list/partials/file-list-dropzone.d.ts +13 -0
- package/dist/lib/components/ui/media/file-list/partials/file-list-input.d.ts +11 -0
- package/dist/lib/components/ui/media/file-list/partials/file-list-items.d.ts +14 -0
- package/dist/lib/components/ui/media/file-list/partials/file-list-row-actions.d.ts +12 -0
- package/dist/lib/components/ui/media/file-list/use-file-list-field.d.ts +33 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +2 -6
- package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-zoom.d.ts +2 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-featured-arrows.d.ts +2 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-tile-media.d.ts +17 -0
- package/dist/lib/components/ui/media/galleries/partials/gallery-viewer-button.d.ts +6 -0
- package/dist/lib/components/ui/media/galleries/use-gallery-navigation.d.ts +18 -0
- package/dist/lib/components/ui/media/galleries/use-gallery-sync.d.ts +15 -0
- package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-actions.d.ts +12 -0
- package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-controls.d.ts +8 -0
- package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-stage.d.ts +12 -0
- package/dist/lib/components/ui/media/image-cropper/use-image-cropper.d.ts +34 -0
- package/dist/lib/components/ui/media/image-editor/image-editor.slice.d.ts +43 -43
- package/dist/lib/components/ui/media/image-editor/image-editor.stage-gestures.d.ts +29 -0
- package/dist/lib/components/ui/media/image-editor/image-editor.stage-paint.d.ts +17 -0
- package/dist/lib/components/ui/media/image-editor/partials/crop-aspect-picker.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/crop-orientation.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/editor-export-options.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/editor-file-info.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/editor-history-buttons.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/markup-brush-section.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/partials/markup-tool-picker.d.ts +2 -0
- package/dist/lib/components/ui/media/image-editor/types-edits.d.ts +106 -0
- package/dist/lib/components/ui/media/image-editor/types-session.d.ts +58 -0
- package/dist/lib/components/ui/media/image-editor/types.d.ts +4 -163
- package/dist/lib/components/ui/media/image-editor/use-crop-frame.d.ts +26 -0
- package/dist/lib/components/ui/media/image-editor/use-image-editor-keys.d.ts +4 -0
- package/dist/lib/components/ui/media/image-editor/use-image-editor.d.ts +10 -10
- package/dist/lib/components/ui/media/image-editor/use-markup-text.d.ts +10 -0
- package/dist/lib/components/ui/media/image-editor/use-stage-layer-key.d.ts +6 -0
- package/dist/lib/components/ui/media/image-editor/use-stage-pointer.d.ts +2 -3
- package/dist/lib/components/ui/media/media-player/partials/panels/transcript-follow.d.ts +7 -0
- package/dist/lib/components/ui/media/media-player/partials/panels/transcript-notice.d.ts +7 -0
- package/dist/lib/components/ui/media/media-player/partials/panels/use-search-announcement.d.ts +6 -0
- package/dist/lib/components/ui/media/media-player/partials/playlist-item.d.ts +13 -0
- package/dist/lib/components/ui/media/pdf-reader/partials/search-nav-buttons.d.ts +4 -0
- package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-state.d.ts +35 -0
- package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-value.d.ts +14 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone-body.d.ts +8 -0
- package/dist/lib/components/ui/primitives/segmented-input/segmented-input-cells.d.ts +20 -0
- package/dist/lib/components/ui/primitives/segmented-input/use-segment-paste.d.ts +17 -0
- package/dist/lib/components/ui/primitives/segmented-input/use-segmented-keys.d.ts +17 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete-equality.d.ts +7 -0
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +2 -19
- package/dist/lib/components/ui/selection/autocomplete/types.d.ts +19 -1
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-handlers.d.ts +5 -6
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-leave.d.ts +14 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-picks.d.ts +17 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-typing.d.ts +14 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete.d.ts +3 -3
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -23
- package/dist/lib/components/ui/selection/checkbox-group/partials/checkbox-group-options.d.ts +10 -0
- package/dist/lib/components/ui/selection/checkbox-group/types.d.ts +23 -0
- package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +2 -1
- package/dist/lib/components/ui/selection/color-swatches/color-swatches.utils.d.ts +3 -0
- package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-button.d.ts +13 -0
- package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-styles.d.ts +3 -0
- package/dist/lib/components/ui/selection/color-swatches/partials/custom-color-swatch.d.ts +11 -0
- package/dist/lib/components/ui/selection/color-swatches/types.d.ts +1 -0
- package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +3 -48
- package/dist/lib/components/ui/selection/combobox-field/partials/combobox-field-input.d.ts +4 -0
- package/dist/lib/components/ui/selection/combobox-field/types.d.ts +47 -0
- package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-aria.d.ts +15 -0
- package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-items.d.ts +1 -1
- package/dist/lib/components/ui/selection/combobox-field/use-typed-query.d.ts +8 -0
- package/dist/lib/components/ui/selection/option-tile/use-status-text.d.ts +3 -0
- package/dist/lib/components/ui/selection/radio-group/partials/radio-group-options.d.ts +7 -0
- package/dist/lib/components/ui/selection/radio-group/partials/radio-group-parts.d.ts +4 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +3 -24
- package/dist/lib/components/ui/selection/radio-group/types.d.ts +22 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-footer.d.ts +4 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-frame.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-parts.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-props.d.ts +298 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-chrome.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-data.d.ts +20 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-grab.d.ts +15 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-moves.d.ts +18 -0
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +7 -8
- package/dist/lib/components/ui/selection/switcher/partials/switcher-recent.d.ts +11 -0
- package/dist/lib/components/ui/selection/switcher/partials/switcher-row-body.d.ts +8 -0
- package/dist/lib/components/ui/selection/switcher/switcher-list-keys.d.ts +17 -0
- package/dist/lib/components/ui/selection/switcher/switcher.d.ts +1 -1
- package/dist/lib/components/ui/selection/switcher/use-switcher-clip.d.ts +9 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher-list-focus.d.ts +14 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher-open.d.ts +9 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher-panel.d.ts +24 -0
- package/dist/lib/components/ui/selection/switcher/use-switcher.d.ts +326 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-frame.d.ts +19 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-item-row.d.ts +2 -3
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-listbox.d.ts +5 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-parts.d.ts +16 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-props.d.ts +283 -0
- package/dist/lib/components/ui/selection/transfer-list/transfer-list.keyboard.d.ts +3 -2
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-actions.d.ts +3 -2
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-checks.d.ts +18 -0
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-derived.d.ts +14 -0
- package/dist/lib/components/ui/selection/transfer-list/use-transfer-list.d.ts +1 -1
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-chips.d.ts +9 -0
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-trigger-button.d.ts +15 -0
- package/dist/lib/components/ui/widgets/barcode/barcode-error.d.ts +4 -0
- package/dist/lib/components/ui/widgets/barcode/barcode-geometry.d.ts +22 -0
- package/dist/lib/components/ui/widgets/barcode/barcode.d.ts +31 -0
- package/dist/lib/components/ui/widgets/barcode/code128.d.ts +15 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix-placement.d.ts +7 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix-rs.d.ts +2 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix-tables.d.ts +13 -0
- package/dist/lib/components/ui/widgets/barcode/datamatrix.d.ts +10 -0
- package/dist/lib/components/ui/widgets/barcode/encode.d.ts +12 -0
- package/dist/lib/components/ui/widgets/barcode/index.d.ts +6 -0
- package/dist/lib/components/ui/widgets/barcode/label-length.d.ts +4 -0
- package/dist/lib/components/ui/widgets/barcode/label-sheet.d.ts +37 -0
- package/dist/lib/components/ui/widgets/chat/chat-message.d.ts +1 -1
- package/dist/lib/components/ui/widgets/chat/chat-message.view.d.ts +32 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-notices.d.ts +8 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-surface.d.ts +11 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-skeleton.d.ts +4 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-text.d.ts +10 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-list.d.ts +8 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-thread.d.ts +11 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-message-action-menus.d.ts +17 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-message-body.d.ts +6 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-scroll-to-latest.d.ts +7 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-typing-row.d.ts +9 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-inbox-pane.d.ts +13 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-widget-open.d.ts +19 -0
- package/dist/lib/components/ui/widgets/code-editor/toolbar/code-view-tools.d.ts +10 -0
- package/dist/lib/components/ui/widgets/code-editor/use-monaco-options.d.ts +9 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/accordion/accordion-item-actions.d.ts +7 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/action-card/action-card-tile.d.ts +10 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/select-card-tile.d.ts +11 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/toggle-selection.d.ts +3 -0
- package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/use-node-list.d.ts +11 -0
- package/dist/lib/components/ui/widgets/editor/extensions/emoji/use-emoji-groups.d.ts +13 -0
- package/dist/lib/components/ui/widgets/editor/presets/compact-editor-parts.d.ts +10 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-frame-parts.d.ts +19 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-layout.d.ts +5 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-overlays.d.ts +6 -0
- package/dist/lib/components/ui/widgets/editor/presets/document-editor-page-parts.d.ts +25 -0
- package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/composer-class.d.ts +8 -0
- package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/composer-toolbar.d.ts +6 -0
- package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/format-buttons.d.ts +8 -0
- package/dist/lib/components/ui/widgets/editor/presets/use-document-features.d.ts +15 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-body.d.ts +5 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-content.d.ts +3 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-extras.d.ts +10 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-outcome.d.ts +7 -0
- package/dist/lib/components/ui/widgets/education/questions/question-options.keyboard.d.ts +17 -0
- package/dist/lib/components/ui/widgets/education/questions/question.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/types.d.ts +3 -2
- package/dist/lib/components/ui/widgets/education/quizzes/partials/quiz-shortcuts.d.ts +6 -0
- package/dist/lib/components/ui/widgets/education/quizzes/partials/results-actions.d.ts +7 -0
- package/dist/lib/components/ui/widgets/education/quizzes/partials/results-ring.d.ts +5 -0
- package/dist/lib/components/ui/widgets/education/quizzes/quiz.flow.d.ts +29 -0
- package/dist/lib/components/ui/widgets/education/quizzes/quiz.slice.d.ts +3 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-actions.d.ts +20 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-flow.d.ts +29 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-lifecycle.d.ts +12 -0
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +2 -1
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-step-buttons.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-cell-class.d.ts +9 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-parts.d.ts +12 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-month-day.d.ts +26 -0
- package/dist/lib/components/ui/widgets/kanban/kanban.drag.d.ts +15 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-card-tile.d.ts +7 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-column-cards.d.ts +8 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-drag-preview.d.ts +8 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-group-header.d.ts +8 -0
- package/dist/lib/components/ui/widgets/kanban/use-kanban-item-actions.d.ts +20 -0
- package/dist/lib/components/ui/widgets/native-charts/core/base-props-types.d.ts +64 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-geometry.d.ts +62 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-types.d.ts +35 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +1 -56
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +2 -96
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-parts.d.ts +20 -0
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-shown.d.ts +23 -0
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/line-strokes.d.ts +10 -0
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/use-line-reveal.d.ts +9 -0
- package/dist/lib/i18n/resources/en/en.d.ts +12 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +13 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +12 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +13 -1
- package/dist/lib/i18n/resources/resources.d.ts +24 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/map/components/partials/default-location.d.ts +2 -0
- package/dist/lib/map/components/partials/location-dialog.d.ts +17 -0
- package/dist/lib/print/components/print-document/print-document.d.ts +2 -37
- package/dist/lib/print/components/print-document/print-document.types.d.ts +37 -0
- package/dist/lib/print/components/print-document/use-print-context.d.ts +11 -0
- package/dist/lib/print/components/print-section.d.ts +8 -1
- package/dist/lib.js +55 -48
- package/dist/main.js +43 -43
- package/dist/map.js +91 -74
- package/dist/material.css +1 -1
- package/dist/{nxgt-theme-ivgNca3z.js → nxgt-theme-DA1IQe0O.js} +5 -5
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +123 -108
- package/dist/{public-DVZJVdxD.js → public-CLkf8uky.js} +368 -338
- package/dist/{render-json-BOhvPnSv.js → render-json-COvAkihK.js} +3 -3
- package/dist/{rich-code-block-DL5-9JIi.js → rich-code-block-hJexXOdk.js} +5 -5
- package/dist/{rich-text-viewer-W15XIwah.js → rich-text-viewer-CXJp584B.js} +3 -3
- package/dist/{sortable-provider-DrpBwx75.js → sortable-provider-DE-MSfeJ.js} +2 -2
- package/dist/{spinner-D4XGdse6.js → spinner-CquTUxzt.js} +3 -1
- package/dist/{stored-language-C89mti-z.js → stored-language-BDzGeEAm.js} +22 -2
- package/dist/theme-picker.js +3 -3
- package/dist/{theme-toggle-BFhqLmgx.js → theme-toggle-DBgsBw8S.js} +1 -1
- package/dist/themes.js +1 -1
- package/dist/{toolbar-items-SZ5pyAFz.js → toolbar-items-Bm1baIp6.js} +578 -567
- package/dist/{translate-material-BkqnImND.js → translate-material-Q67GD4co.js} +2 -2
- package/dist/{translator-B5fId5Rw.js → translator-CBhGdYun.js} +1 -1
- package/dist/{use-chat-composer-BG5B4DGB.js → use-chat-composer-Cx7Q_KOV.js} +8929 -8650
- package/dist/{use-heading-spy-51GQw8tH.js → use-heading-spy-COxCWqWF.js} +1 -1
- package/dist/{use-material-translation-BQOr4Oks.js → use-material-translation-BZAy_ffS.js} +2 -2
- package/dist/use-shape-morph-BKA_R5P5.js +35 -0
- package/dist/{youtube-node-OWSNlYCc.js → youtube-node-A3NPAPgK.js} +27 -27
- package/docs/README.md +1 -0
- package/docs/components/buttons-and-actions.md +37 -0
- package/docs/components/feedback-and-status.md +30 -4
- package/docs/components/navigation-and-layout.md +47 -0
- package/docs/components/rich-widgets.md +34 -3
- package/docs/guides/barcode.md +203 -0
- package/docs/guides/data-grid.md +11 -1
- package/docs/guides/printing.md +28 -3
- package/docs/previews/buttons-actions-loadmorefooter.webp +0 -0
- package/docs/previews/feedback-status-pageloadfailed.webp +0 -0
- package/docs/previews/navigation-layout-stickyactionbar.webp +0 -0
- package/docs/roadmap.md +18 -3
- package/docs/troubleshooting.md +62 -0
- package/lib/components/components.css +1 -0
- package/lib/components/ui/widgets/barcode/barcode.css +112 -0
- package/package.json +10 -3
- package/dist/empty-state-4gmbCkcw.js +0 -117
- package/dist/use-shape-morph-DXdy2X5g.js +0 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./
|
|
1
|
+
import { t as e } from "./dist-DVRQkaTK.js";
|
|
2
|
+
import { t } from "./is-production-GLw59WU8.js";
|
|
3
|
+
import { t as n } from "./warn-once-C_e47JM8.js";
|
|
4
4
|
import { n as r, r as i, t as a } from "./theme-context-Cofk6vgs.js";
|
|
5
5
|
import { useContext as o, useMemo as s } from "react";
|
|
6
6
|
import { jsx as c } from "react/jsx-runtime";
|
|
@@ -17,12 +17,12 @@ function l(e, t, n) {
|
|
|
17
17
|
//#region lib/themes/nxgt-theme.tsx
|
|
18
18
|
function u({ theme: a, mode: u, asChild: d = !1, children: f, ...p }) {
|
|
19
19
|
let m = o(i), h = typeof a == "string" ? m?.find((e) => e.name === a) : a, g = typeof a == "string" ? a : a.name;
|
|
20
|
-
!
|
|
20
|
+
!t() && m && !h && n(`theme "${g}" is not in the provider's themes; its background is the default.`, "NxgtTheme");
|
|
21
21
|
let _ = o(r)?.defaultMode, v = s(() => l(g, h, _), [
|
|
22
22
|
g,
|
|
23
23
|
h,
|
|
24
24
|
_
|
|
25
|
-
]), y = d ?
|
|
25
|
+
]), y = d ? e : "div";
|
|
26
26
|
return /* @__PURE__ */ c(r.Provider, {
|
|
27
27
|
value: v,
|
|
28
28
|
children: /* @__PURE__ */ c(y, {
|
package/dist/pdf-reader.js
CHANGED
package/dist/print.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./translate-material-
|
|
1
|
+
import { r as e } from "./i18n-provider-BJDI-A5w.js";
|
|
2
|
+
import { t } from "./translate-material-Q67GD4co.js";
|
|
3
3
|
import { Children as n, createContext as r, isValidElement as i, useCallback as a, useContext as o, useEffect as s, useMemo as c, useState as l } from "react";
|
|
4
4
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";
|
|
6
6
|
import { OBJECT_URL_TTL_MS as p, downloadPdfFile as m } from "@nxgt/material-core/pdf-download";
|
|
7
7
|
import { createFormatters as h, formatAmount as g, formatDate as _ } from "@nxgt/material-core/print-format";
|
|
8
|
-
import { badge as v, dataTable as y, defaultPdfTheme as b, definePdfDocument as x, divider as
|
|
9
|
-
import { DEFAULT_PDF_LANGUAGE as
|
|
8
|
+
import { badge as v, dataTable as y, defaultPdfTheme as b, definePdfDocument as x, divider as ee, drawing as te, header as ne, heading as re, image as S, keyValue as ie, keyValueOf as ae, link as oe, metric as se, page as ce, pageBreak as le, pageNumber as ue, pdfDocument as de, resolvePdfColor as fe, resolvePdfTheme as pe, row as me, section as he, spacer as ge, stack as _e, table as C, text as w, totals as T } from "@nxgt/material-core/pdf/model";
|
|
9
|
+
import { DEFAULT_PDF_LANGUAGE as E, createPdfContext as D, registerPdfFont as O, renderDrawing as k, renderHeader as A, renderKeyValue as j, renderMetric as M, renderPdfDocumentShell as N, renderPdfElement as P, renderPdfPage as F, renderTable as I, toPdfText as L } from "@nxgt/material-core/pdf/render";
|
|
10
10
|
import { definePrintColumns as ve, resolvePrintFields as ye, resolvePrintFields as be, resolvePrintTable as xe, resolvePrintTable as Se, toPrintValue as Ce, toPrintValue as we } from "@nxgt/material-core/print-table";
|
|
11
11
|
import { formatPrintValue as Te, isEmptyPrintValue as Ee } from "@nxgt/material-core/print-value";
|
|
12
12
|
import { Text as R, View as z, pdf as De, renderToBuffer as Oe, renderToStream as ke } from "@react-pdf/renderer";
|
|
13
13
|
import { createTw as Ae } from "react-pdf-tailwind";
|
|
14
|
-
import { contentDisposition as je, pdfBytesResponse as
|
|
15
|
-
import { IDLE_PDF_FILE as
|
|
14
|
+
import { contentDisposition as je, pdfBytesResponse as B, toWebStream as Me } from "@nxgt/material-core/pdf/http";
|
|
15
|
+
import { IDLE_PDF_FILE as V, createPdfFileLoader as Ne } from "@nxgt/material-core/pdf/file-loader";
|
|
16
16
|
//#region lib/print/styles.ts
|
|
17
|
-
var
|
|
17
|
+
var H = {
|
|
18
18
|
page: "font-sans text-[9pt] text-slate-900 px-8 py-7 flex-col gap-0",
|
|
19
19
|
header: "flex-row items-center mb-4",
|
|
20
20
|
headerTitle: "text-[18pt] font-bold text-slate-900 tracking-tight",
|
|
@@ -44,7 +44,7 @@ var V = {
|
|
|
44
44
|
notesText: "text-[8pt] text-secondary leading-normal",
|
|
45
45
|
badge: "rounded-xl px-4 py-1.5 self-start",
|
|
46
46
|
badgeText: "text-[8pt] font-bold text-white"
|
|
47
|
-
},
|
|
47
|
+
}, U = Ae({
|
|
48
48
|
colors: {
|
|
49
49
|
primary: "#485096",
|
|
50
50
|
secondary: "#347cb5",
|
|
@@ -66,53 +66,53 @@ var V = {
|
|
|
66
66
|
});
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region lib/print/components/pdf-text.ts
|
|
69
|
-
function
|
|
69
|
+
function W(e) {
|
|
70
70
|
return typeof e == "string" ? L(e) : Array.isArray(e) ? n.map(e, (e) => typeof e == "string" ? L(e) : e) : e;
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region lib/print/components/print-badge.tsx
|
|
74
|
-
function
|
|
74
|
+
function Pe({ color: e, className: t, children: n }) {
|
|
75
75
|
return /* @__PURE__ */ u(z, {
|
|
76
|
-
style: [
|
|
76
|
+
style: [U(`${H.badge} ${t ?? ""}`), e ? { backgroundColor: e } : {}],
|
|
77
77
|
children: /* @__PURE__ */ u(R, {
|
|
78
|
-
style: H
|
|
79
|
-
children:
|
|
78
|
+
style: U(H.badgeText),
|
|
79
|
+
children: W(n)
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region lib/print/components/print-card.tsx
|
|
85
|
-
function
|
|
85
|
+
function Fe({ children: e, className: t }) {
|
|
86
86
|
return /* @__PURE__ */ u(z, {
|
|
87
|
-
style:
|
|
87
|
+
style: U(`border border-border rounded-xs p-2.5 flex-row gap-[24pt] ${t || ""}`),
|
|
88
88
|
children: e
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Ie({ label: e, value: t }) {
|
|
92
92
|
return t ? /* @__PURE__ */ d(z, {
|
|
93
|
-
style:
|
|
93
|
+
style: U("flex-col gap-0.5"),
|
|
94
94
|
children: [/* @__PURE__ */ u(R, {
|
|
95
|
-
style:
|
|
96
|
-
children:
|
|
95
|
+
style: U("text-[7pt] text-muted font-bold uppercase"),
|
|
96
|
+
children: W(e)
|
|
97
97
|
}), /* @__PURE__ */ u(R, {
|
|
98
|
-
style:
|
|
99
|
-
children:
|
|
98
|
+
style: U("text-[9pt] text-primary"),
|
|
99
|
+
children: W(t)
|
|
100
100
|
})]
|
|
101
101
|
}) : null;
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region lib/print/components/print-document/print-render-context.ts
|
|
105
|
-
var
|
|
106
|
-
function K() {
|
|
107
|
-
return G ??= D(), G;
|
|
108
|
-
}
|
|
105
|
+
var G = r(null), K;
|
|
109
106
|
function q() {
|
|
110
|
-
return
|
|
107
|
+
return K ??= D(), K;
|
|
108
|
+
}
|
|
109
|
+
function J() {
|
|
110
|
+
return o(G) ?? q();
|
|
111
111
|
}
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region lib/print/components/print-data-table/print-data-table.tsx
|
|
114
|
-
function
|
|
115
|
-
let a =
|
|
114
|
+
function Le({ columns: e, rows: t, currency: n, totalLabel: r, ...i }) {
|
|
115
|
+
let a = J(), o = Se(e, t, {
|
|
116
116
|
currency: n,
|
|
117
117
|
totalLabel: r ?? a.t("material.print.table.total", "Total")
|
|
118
118
|
});
|
|
@@ -126,8 +126,8 @@ function Re({ columns: e, rows: t, currency: n, totalLabel: r, ...i }) {
|
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region lib/print/components/print-data-table/print-key-value.tsx
|
|
129
|
-
function
|
|
130
|
-
let t =
|
|
129
|
+
function Re(e) {
|
|
130
|
+
let t = J();
|
|
131
131
|
return j({
|
|
132
132
|
type: "keyValue",
|
|
133
133
|
items: "items" in e ? e.items : be(e.fields, e.data, { currency: e.currency }),
|
|
@@ -137,8 +137,8 @@ function ze(e) {
|
|
|
137
137
|
}
|
|
138
138
|
//#endregion
|
|
139
139
|
//#region lib/print/components/print-data-table/print-metric.tsx
|
|
140
|
-
function
|
|
141
|
-
let o =
|
|
140
|
+
function ze({ label: e, value: t, format: n, currency: r, hint: i, delta: a }) {
|
|
141
|
+
let o = J();
|
|
142
142
|
return M({
|
|
143
143
|
type: "metric",
|
|
144
144
|
label: e,
|
|
@@ -153,7 +153,7 @@ function Be({ label: e, value: t, format: n, currency: r, hint: i, delta: a }) {
|
|
|
153
153
|
delta: a
|
|
154
154
|
}, o);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Be({ children: e }) {
|
|
157
157
|
return /* @__PURE__ */ u(z, {
|
|
158
158
|
style: {
|
|
159
159
|
flexDirection: "row",
|
|
@@ -164,43 +164,57 @@ function Ve({ children: e }) {
|
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
//#endregion
|
|
167
|
+
//#region lib/print/components/print-document/use-print-context.ts
|
|
168
|
+
function Ve({ language: n, locale: r, timeZone: i, theme: a }) {
|
|
169
|
+
let o = e(), s = n || o?.language || E;
|
|
170
|
+
return {
|
|
171
|
+
lang: s,
|
|
172
|
+
context: c(() => D({
|
|
173
|
+
language: s,
|
|
174
|
+
locale: r,
|
|
175
|
+
timeZone: i,
|
|
176
|
+
theme: a,
|
|
177
|
+
translate: (e, n, r) => t(s, e, n, r, o?.resources)
|
|
178
|
+
}), [
|
|
179
|
+
s,
|
|
180
|
+
r,
|
|
181
|
+
i,
|
|
182
|
+
a,
|
|
183
|
+
o?.resources
|
|
184
|
+
])
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
//#endregion
|
|
167
188
|
//#region lib/print/components/print-document/print-document.tsx
|
|
168
|
-
function He({ language:
|
|
169
|
-
let
|
|
170
|
-
language:
|
|
171
|
-
locale:
|
|
172
|
-
timeZone:
|
|
173
|
-
theme:
|
|
174
|
-
|
|
175
|
-
}), [
|
|
176
|
-
x,
|
|
177
|
-
i,
|
|
178
|
-
a,
|
|
179
|
-
s,
|
|
180
|
-
b?.resources
|
|
181
|
-
]), C = (e, t) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ u(R, {
|
|
189
|
+
function He({ language: e, locale: t, timeZone: r, conformance: i, theme: a, header: o, footer: s, children: c, title: l, author: d, subject: f, keywords: p, creator: m, producer: h, ...g }) {
|
|
190
|
+
let { lang: _, context: v } = Ve({
|
|
191
|
+
language: e,
|
|
192
|
+
locale: t,
|
|
193
|
+
timeZone: r,
|
|
194
|
+
theme: a
|
|
195
|
+
}), y = (e, t) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ u(R, {
|
|
182
196
|
style: t,
|
|
183
197
|
children: L(String(e))
|
|
184
|
-
}) : e,
|
|
185
|
-
style:
|
|
186
|
-
render: (e) => L(
|
|
187
|
-
}) :
|
|
188
|
-
return /* @__PURE__ */ u(
|
|
189
|
-
value:
|
|
198
|
+
}) : e, b = typeof s == "function" ? /* @__PURE__ */ u(R, {
|
|
199
|
+
style: v.styles.textCaption,
|
|
200
|
+
render: (e) => L(s(e))
|
|
201
|
+
}) : y(s, v.styles.textCaption), x = y(o, v.styles.textBody);
|
|
202
|
+
return /* @__PURE__ */ u(G.Provider, {
|
|
203
|
+
value: v,
|
|
190
204
|
children: N({
|
|
191
|
-
title:
|
|
192
|
-
author:
|
|
193
|
-
subject:
|
|
194
|
-
keywords:
|
|
195
|
-
creator:
|
|
196
|
-
producer:
|
|
197
|
-
language:
|
|
198
|
-
conformance:
|
|
199
|
-
}, [F(
|
|
200
|
-
header:
|
|
201
|
-
footer:
|
|
202
|
-
body: n.toArray(
|
|
203
|
-
},
|
|
205
|
+
title: l,
|
|
206
|
+
author: d,
|
|
207
|
+
subject: f,
|
|
208
|
+
keywords: p,
|
|
209
|
+
creator: m ?? "@nxgt/material",
|
|
210
|
+
producer: h,
|
|
211
|
+
language: _,
|
|
212
|
+
conformance: i
|
|
213
|
+
}, [F(g, {
|
|
214
|
+
header: x,
|
|
215
|
+
footer: b,
|
|
216
|
+
body: n.toArray(c)
|
|
217
|
+
}, v)])
|
|
204
218
|
});
|
|
205
219
|
}
|
|
206
220
|
//#endregion
|
|
@@ -209,7 +223,7 @@ function Ue(e) {
|
|
|
209
223
|
return k({
|
|
210
224
|
type: "drawing",
|
|
211
225
|
...e
|
|
212
|
-
},
|
|
226
|
+
}, J());
|
|
213
227
|
}
|
|
214
228
|
//#endregion
|
|
215
229
|
//#region lib/print/components/print-header.tsx
|
|
@@ -217,81 +231,82 @@ function We(e) {
|
|
|
217
231
|
return A({
|
|
218
232
|
type: "header",
|
|
219
233
|
...e
|
|
220
|
-
},
|
|
234
|
+
}, q());
|
|
221
235
|
}
|
|
222
236
|
//#endregion
|
|
223
237
|
//#region lib/print/components/print-section.tsx
|
|
224
|
-
function Ge({ title: e, children: t, className: n }) {
|
|
238
|
+
function Ge({ title: e, children: t, className: n, keepTogether: r }) {
|
|
225
239
|
return /* @__PURE__ */ d(z, {
|
|
226
|
-
style:
|
|
240
|
+
style: U(n || "mb-3.5"),
|
|
241
|
+
...r && { wrap: !1 },
|
|
227
242
|
children: [/* @__PURE__ */ u(R, {
|
|
228
|
-
style: H
|
|
229
|
-
children:
|
|
243
|
+
style: U(H.sectionTitle),
|
|
244
|
+
children: W(e)
|
|
230
245
|
}), t]
|
|
231
246
|
});
|
|
232
247
|
}
|
|
233
248
|
function Ke({ label: e, value: t }) {
|
|
234
249
|
return /* @__PURE__ */ d(z, {
|
|
235
|
-
style: H
|
|
250
|
+
style: U(H.infoRow),
|
|
236
251
|
children: [/* @__PURE__ */ u(R, {
|
|
237
|
-
style: H
|
|
238
|
-
children:
|
|
252
|
+
style: U(H.infoLabel),
|
|
253
|
+
children: W(e)
|
|
239
254
|
}), typeof t == "string" || typeof t == "number" ? /* @__PURE__ */ u(R, {
|
|
240
|
-
style: H
|
|
241
|
-
children:
|
|
255
|
+
style: U(H.infoValue),
|
|
256
|
+
children: W(t)
|
|
242
257
|
}) : t]
|
|
243
258
|
});
|
|
244
259
|
}
|
|
245
260
|
//#endregion
|
|
246
261
|
//#region lib/print/components/print-table.tsx
|
|
247
|
-
function
|
|
262
|
+
function qe({ children: e }) {
|
|
248
263
|
return /* @__PURE__ */ u(z, {
|
|
249
|
-
style: H
|
|
264
|
+
style: U(H.tableSection),
|
|
250
265
|
children: e
|
|
251
266
|
});
|
|
252
267
|
}
|
|
253
|
-
function
|
|
268
|
+
function Je({ children: e }) {
|
|
254
269
|
return /* @__PURE__ */ u(z, {
|
|
255
|
-
style: H
|
|
270
|
+
style: U(H.tableHeader),
|
|
256
271
|
children: e
|
|
257
272
|
});
|
|
258
273
|
}
|
|
259
|
-
function
|
|
274
|
+
function Ye({ isAlt: e, children: t }) {
|
|
260
275
|
return /* @__PURE__ */ u(z, {
|
|
261
|
-
style: [H
|
|
276
|
+
style: [U(H.tableRow), e ? U(H.tableRowAlt) : {}],
|
|
262
277
|
children: t
|
|
263
278
|
});
|
|
264
279
|
}
|
|
265
|
-
function
|
|
280
|
+
function Xe({ isHeader: e, flex: t = 1, textAlign: n = "left", children: r }) {
|
|
266
281
|
return /* @__PURE__ */ u(R, {
|
|
267
|
-
style: [
|
|
282
|
+
style: [U(e ? H.tableHeaderCell : H.tableCell), {
|
|
268
283
|
flex: t,
|
|
269
284
|
textAlign: n
|
|
270
285
|
}],
|
|
271
|
-
children:
|
|
286
|
+
children: W(r) ?? "—"
|
|
272
287
|
});
|
|
273
288
|
}
|
|
274
289
|
//#endregion
|
|
275
290
|
//#region lib/print/components/print-totals.tsx
|
|
276
|
-
function
|
|
291
|
+
function Ze({ children: e }) {
|
|
277
292
|
return /* @__PURE__ */ u(z, {
|
|
278
|
-
style: H
|
|
293
|
+
style: U(H.totalsSection),
|
|
279
294
|
children: /* @__PURE__ */ u(z, {
|
|
280
|
-
style: H
|
|
295
|
+
style: U(H.totalsTable),
|
|
281
296
|
children: e
|
|
282
297
|
})
|
|
283
298
|
});
|
|
284
299
|
}
|
|
285
|
-
function
|
|
286
|
-
let r = n ?
|
|
300
|
+
function Qe({ label: e, value: t, last: n }) {
|
|
301
|
+
let r = n ? H.totalsRowLast : H.totalsRow, i = n ? H.totalsLabelBold : H.totalsLabel, a = n ? H.totalsValueBold : H.totalsValue;
|
|
287
302
|
return /* @__PURE__ */ d(z, {
|
|
288
|
-
style:
|
|
303
|
+
style: U(r),
|
|
289
304
|
children: [/* @__PURE__ */ u(R, {
|
|
290
|
-
style:
|
|
291
|
-
children:
|
|
305
|
+
style: U(i),
|
|
306
|
+
children: W(e)
|
|
292
307
|
}), /* @__PURE__ */ u(R, {
|
|
293
|
-
style:
|
|
294
|
-
children:
|
|
308
|
+
style: U(a),
|
|
309
|
+
children: W(t)
|
|
295
310
|
})]
|
|
296
311
|
});
|
|
297
312
|
}
|
|
@@ -308,20 +323,20 @@ function Y(e, n = {}) {
|
|
|
308
323
|
}
|
|
309
324
|
//#endregion
|
|
310
325
|
//#region lib/print/output/render-pdf.ts
|
|
311
|
-
var
|
|
326
|
+
var $e = () => typeof process < "u" && !!process.versions?.node;
|
|
312
327
|
async function X(e, t) {
|
|
313
328
|
return De(Y(e, t)).toBlob();
|
|
314
329
|
}
|
|
315
330
|
async function Z(e, t) {
|
|
316
|
-
if (
|
|
331
|
+
if (!$e()) {
|
|
317
332
|
let n = await X(e, t);
|
|
318
333
|
return new Uint8Array(await n.arrayBuffer());
|
|
319
334
|
}
|
|
320
335
|
let n = await Oe(Y(e, t));
|
|
321
336
|
return new Uint8Array(n);
|
|
322
337
|
}
|
|
323
|
-
async function
|
|
324
|
-
return
|
|
338
|
+
async function et(e, t) {
|
|
339
|
+
return Me(await ke(Y(e, t)));
|
|
325
340
|
}
|
|
326
341
|
//#endregion
|
|
327
342
|
//#region lib/print/output/download-pdf.ts
|
|
@@ -329,7 +344,7 @@ var Q = (e, t) => e instanceof Blob ? e : X(e, t);
|
|
|
329
344
|
async function $(e, t = {}) {
|
|
330
345
|
await m(await Q(e, t), { fileName: t.fileName });
|
|
331
346
|
}
|
|
332
|
-
async function
|
|
347
|
+
async function tt(e, t = {}) {
|
|
333
348
|
let n = window.open("", "_blank"), r;
|
|
334
349
|
try {
|
|
335
350
|
r = await Q(e, t);
|
|
@@ -346,16 +361,16 @@ async function et(e, t = {}) {
|
|
|
346
361
|
}
|
|
347
362
|
//#endregion
|
|
348
363
|
//#region lib/print/output/pdf-response.ts
|
|
349
|
-
async function
|
|
350
|
-
return
|
|
364
|
+
async function nt(e, t = {}) {
|
|
365
|
+
return B(await Z(e, t), t);
|
|
351
366
|
}
|
|
352
367
|
//#endregion
|
|
353
368
|
//#region lib/print/output/use-pdf-file.ts
|
|
354
|
-
function
|
|
355
|
-
let [n, r] = l(() => e === null ?
|
|
356
|
-
...
|
|
369
|
+
function rt(e, t) {
|
|
370
|
+
let [n, r] = l(() => e === null ? V : {
|
|
371
|
+
...V,
|
|
357
372
|
loading: !0
|
|
358
|
-
}), [i, o] = l(0), c = a(() => o((e) => e + 1), []), u = t?.custom, [d] = l(() =>
|
|
373
|
+
}), [i, o] = l(0), c = a(() => o((e) => e + 1), []), u = t?.custom, [d] = l(() => Ne(r, X));
|
|
359
374
|
return s(() => () => d.dispose(), [d]), s(() => {
|
|
360
375
|
d.load(e, { custom: u });
|
|
361
376
|
}, [
|
|
@@ -369,4 +384,4 @@ function nt(e, t) {
|
|
|
369
384
|
};
|
|
370
385
|
}
|
|
371
386
|
//#endregion
|
|
372
|
-
export {
|
|
387
|
+
export { Pe as PrintBadge, Fe as PrintCard, Ie as PrintCardField, Le as PrintDataTable, He as PrintDocument, Ue as PrintDrawing, We as PrintHeader, Ke as PrintInfoRow, Re as PrintKeyValue, ze as PrintMetric, Be as PrintMetrics, Ge as PrintSection, qe as PrintTable, Xe as PrintTableCell, Je as PrintTableHeader, Ye as PrintTableRow, Qe as PrintTotalRow, Ze as PrintTotals, v as badge, H as commonPrintStyles, je as contentDisposition, h as createFormatters, y as dataTable, b as defaultPdfTheme, x as definePdfDocument, ve as definePrintColumns, ee as divider, $ as downloadPdf, te as drawing, g as formatAmount, _ as formatDate, Te as formatPrintValue, ne as header, re as heading, S as image, Ee as isEmptyPrintValue, ie as keyValue, ae as keyValueOf, oe as link, se as metric, tt as openPdf, ce as page, le as pageBreak, ue as pageNumber, de as pdfDocument, nt as pdfResponse, O as registerPdfFont, X as renderPdfBlob, Z as renderPdfBuffer, et as renderPdfStream, fe as resolvePdfColor, pe as resolvePdfTheme, ye as resolvePrintFields, xe as resolvePrintTable, me as row, he as section, ge as spacer, _e as stack, C as table, w as text, Ce as toPrintValue, T as totals, U as tw, rt as usePdfFile };
|