@nxgt/material 3.8.1 → 3.10.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 +38 -0
- package/README.md +28 -4
- package/dist/background-CAWV_qSk.js +247 -0
- package/dist/backgrounds/backgrounds.css +4 -0
- package/dist/backgrounds/css-react/celestial.css +200 -0
- package/dist/backgrounds/css-react/icons.css +175 -0
- package/dist/backgrounds.js +1 -1
- package/dist/celestial-scene-DaOsRFF3.js +30 -0
- package/dist/components/components.css +2 -5
- package/dist/components/ui/feedback/feedback.css +7 -0
- package/dist/components/ui/feedback/state-frame/illustration.css +171 -0
- package/dist/{components-DNUYg8QM.js → components-D5d2rflJ.js} +11650 -11598
- package/dist/components.js +16 -15
- package/dist/editor.js +1 -1
- package/dist/empty-state-COAV2d-R.js +98 -0
- package/dist/hooks.js +1 -1
- package/dist/icon-sprites-CZ3vcD7P.js +17 -0
- package/dist/icons-scene-bA7I4wdP.js +24 -0
- package/dist/illustration-DfPJtkFY.js +86 -0
- package/dist/illustrations-education.js +2 -0
- package/dist/illustrations-health.js +2 -0
- package/dist/illustrations.js +4 -0
- package/dist/lib/backgrounds/background/available.d.ts +8 -3
- package/dist/lib/backgrounds/background/background.d.ts +4 -4
- package/dist/lib/backgrounds/background/partials/background-layers.d.ts +17 -6
- package/dist/lib/backgrounds/background/partials/celestial-scene.d.ts +22 -0
- package/dist/lib/backgrounds/background/partials/icons-check.d.ts +8 -0
- package/dist/lib/backgrounds/background/partials/icons-keys.d.ts +3 -0
- package/dist/lib/backgrounds/background/partials/icons-layer.d.ts +8 -0
- package/dist/lib/backgrounds/background/partials/icons-scene.d.ts +19 -0
- package/dist/lib/backgrounds/background/partials/scene-options.d.ts +23 -0
- package/dist/lib/backgrounds/background/partials/use-icons-scene.d.ts +22 -0
- package/dist/lib/backgrounds/background/types.d.ts +28 -2
- package/dist/lib/backgrounds/index.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/empty-types.d.ts +20 -0
- package/dist/lib/components/ui/collections/data-table/layout-types.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +3 -1
- package/dist/lib/components/ui/collections/data-table/partials/data-table-empty-row.d.ts +5 -2
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-items-empty.d.ts +2 -2
- package/dist/lib/components/ui/collections/data-table/types.d.ts +4 -26
- package/dist/lib/components/ui/feedback/empty-state/empty-state.d.ts +8 -3
- package/dist/lib/components/ui/feedback/error-state/error-state.d.ts +3 -3
- package/dist/lib/components/ui/feedback/state-frame/illustration-defaults.d.ts +46 -0
- package/dist/lib/components/ui/feedback/state-frame/scene-registry.d.ts +14 -0
- package/dist/lib/components/ui/feedback/state-frame/state-frame.d.ts +10 -2
- package/dist/lib/components/ui/feedback/state-frame/state-scene-illustration.d.ts +5 -0
- package/dist/lib/components/ui/feedback/state-frame/state-scenes.d.ts +15 -0
- package/dist/lib/components/ui/fields/country-field/country-field.d.ts +8 -3
- package/dist/lib/components/ui/fields/country-field/country-options.d.ts +6 -3
- package/dist/lib/components/ui/fields/country-field/iso-countries.d.ts +17 -0
- package/dist/lib/components/ui/fields/postal-address/utils.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +3 -0
- package/dist/lib/components/ui/primitives/icon/icon-sprites.d.ts +17 -0
- package/dist/lib/components/ui/primitives/icon/index.d.ts +1 -0
- package/dist/lib/illustrations/illustration.d.ts +38 -0
- package/dist/lib/illustrations/index.d.ts +11 -0
- package/dist/lib/illustrations/plated-illustration.d.ts +11 -0
- package/dist/lib/illustrations/use-illustration.d.ts +22 -0
- package/dist/lib/illustrations-education/index.d.ts +16 -0
- package/dist/lib/illustrations-health/index.d.ts +16 -0
- package/dist/lib/theme-picker/partials/mini-background.d.ts +3 -0
- package/dist/lib/theme-picker/partials/tile-icons.d.ts +9 -0
- package/dist/main.js +28 -27
- package/dist/material.css +1 -1
- package/dist/{nxgt-theme-CgSb9Obl.js → nxgt-theme-ZS945iMP.js} +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/plated-illustration-C3z0hP9U.js +19 -0
- package/dist/{public-Ce30uvp0.js → public-DGvtAz7M.js} +1 -1
- package/dist/scene-options-CCy3V7XS.js +60 -0
- package/dist/scene-svg-DJKa5vsg.js +9 -0
- package/dist/state-scenes-Be9w_3an.js +130 -0
- package/dist/{theme-context-BagPvRcz.js → theme-context-Cofk6vgs.js} +2 -2
- package/dist/theme-picker.js +69 -45
- package/dist/{theme-toggle-C8os82b4.js → theme-toggle-oU-fh6WE.js} +2 -2
- package/dist/themes.js +2 -2
- package/dist/{use-chat-composer-CDrgWGMM.js → use-chat-composer-CkEPJo5I.js} +4236 -4230
- package/dist/{use-theme-Cd-aiDJo.js → use-theme-DMcyJ52N.js} +1 -1
- package/docs/README.md +2 -0
- package/docs/components/README.md +2 -0
- package/docs/components/data-table-filter-and-lists.md +1 -0
- package/docs/components/feedback-and-status.md +2 -2
- package/docs/components/form-fields.md +10 -4
- package/docs/components/foundations.md +2 -2
- package/docs/components/navigation-and-layout.md +1 -1
- package/docs/components/primitives.md +14 -1
- package/docs/getting-started.md +7 -2
- package/docs/guides/app-shell.md +1 -1
- package/docs/guides/backgrounds.md +93 -6
- package/docs/guides/icon-motifs.md +198 -0
- package/docs/guides/illustrations.md +172 -0
- package/docs/guides/themes.md +35 -0
- package/docs/guides/theming.md +1 -1
- package/docs/previews/backgrounds-background-from-theme.webp +0 -0
- package/docs/previews/backgrounds-celestial.webp +0 -0
- package/docs/previews/backgrounds-geometry-more.webp +0 -0
- package/docs/previews/backgrounds-geometry.webp +0 -0
- package/docs/previews/backgrounds-icons.webp +0 -0
- package/docs/previews/backgrounds-illustrated-scenes.webp +0 -0
- package/docs/previews/backgrounds-light-more.webp +0 -0
- package/docs/previews/backgrounds-light.webp +0 -0
- package/docs/previews/backgrounds-material-more.webp +0 -0
- package/docs/previews/backgrounds-matrix.webp +0 -0
- package/docs/previews/backgrounds-moon.webp +0 -0
- package/docs/previews/backgrounds-motif-shapes.webp +0 -0
- package/docs/previews/backgrounds-motifs.webp +0 -0
- package/docs/previews/backgrounds-sky-overlay.webp +0 -0
- package/docs/previews/buttons-actions-actioncard.webp +0 -0
- package/docs/previews/buttons-actions-button.webp +0 -0
- package/docs/previews/buttons-actions-buttongroup.webp +0 -0
- package/docs/previews/buttons-actions-copybutton.webp +0 -0
- package/docs/previews/buttons-actions-fab.webp +0 -0
- package/docs/previews/buttons-actions-fabmenu.webp +0 -0
- package/docs/previews/buttons-actions-highlighttext.webp +0 -0
- package/docs/previews/buttons-actions-iconbutton.webp +0 -0
- package/docs/previews/buttons-actions-languageswitcher.webp +0 -0
- package/docs/previews/buttons-actions-linkbutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-responsivebutton.webp +0 -0
- package/docs/previews/buttons-actions-scrolltolatestbutton.webp +0 -0
- package/docs/previews/buttons-actions-scrolltotop.webp +0 -0
- package/docs/previews/buttons-actions-splitbutton.webp +0 -0
- package/docs/previews/buttons-actions-themetoggle.webp +0 -0
- package/docs/previews/buttons-actions-toolbar-overflow.webp +0 -0
- package/docs/previews/buttons-actions-toolbar.webp +0 -0
- package/docs/previews/data-display-accordioncard.webp +0 -0
- package/docs/previews/data-display-apiendpoint.webp +0 -0
- package/docs/previews/data-display-apioperation.webp +0 -0
- package/docs/previews/data-display-avatar.webp +0 -0
- package/docs/previews/data-display-avatargroup.webp +0 -0
- package/docs/previews/data-display-badge.webp +0 -0
- package/docs/previews/data-display-barecode.webp +0 -0
- package/docs/previews/data-display-card-presets.webp +0 -0
- package/docs/previews/data-display-chip.webp +0 -0
- package/docs/previews/data-display-codeblock.webp +0 -0
- package/docs/previews/data-display-codegroup.webp +0 -0
- package/docs/previews/data-display-countbadge.webp +0 -0
- package/docs/previews/data-display-dayseparator.webp +0 -0
- package/docs/previews/data-display-description.webp +0 -0
- package/docs/previews/data-display-enrolmentsecret.webp +0 -0
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/data-display-eventchip.webp +0 -0
- package/docs/previews/data-display-figure.webp +0 -0
- package/docs/previews/data-display-jsonviewer.webp +0 -0
- package/docs/previews/data-display-listtile.webp +0 -0
- package/docs/previews/data-display-markdown.webp +0 -0
- package/docs/previews/data-display-metric-cards.webp +0 -0
- package/docs/previews/data-display-paramtable.webp +0 -0
- package/docs/previews/data-display-periodcards.webp +0 -0
- package/docs/previews/data-display-recoverycodes.webp +0 -0
- package/docs/previews/data-display-shape.webp +0 -0
- package/docs/previews/data-display-statcard.webp +0 -0
- package/docs/previews/data-display-statusindicator.webp +0 -0
- package/docs/previews/data-display-summarydata.webp +0 -0
- package/docs/previews/data-display-terminal.webp +0 -0
- package/docs/previews/data-display-timeline.webp +0 -0
- package/docs/previews/data-table-filter-lists-datagrid.webp +0 -0
- package/docs/previews/data-table-filter-lists-datatable.webp +0 -0
- package/docs/previews/data-table-filter-lists-daygroupedlist.webp +0 -0
- package/docs/previews/data-table-filter-lists-drag-and-drop.webp +0 -0
- package/docs/previews/data-table-filter-lists-facetgroup.webp +0 -0
- package/docs/previews/data-table-filter-lists-filter.webp +0 -0
- package/docs/previews/data-table-filter-lists-listempty.webp +0 -0
- package/docs/previews/data-table-filter-lists-listpane.webp +0 -0
- package/docs/previews/data-table-filter-lists-pagination.webp +0 -0
- package/docs/previews/data-table-filter-lists-servertable.webp +0 -0
- package/docs/previews/data-table-filter-lists-tree.webp +0 -0
- package/docs/previews/date-time-calendar.webp +0 -0
- package/docs/previews/date-time-datefield.webp +0 -0
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/date-time-durationfield.webp +0 -0
- package/docs/previews/date-time-minimonth.webp +0 -0
- package/docs/previews/date-time-nowindicator.webp +0 -0
- package/docs/previews/date-time-timefield.webp +0 -0
- package/docs/previews/date-time-timepicker.webp +0 -0
- package/docs/previews/feedback-status-alert.webp +0 -0
- package/docs/previews/feedback-status-alertdialog.webp +0 -0
- package/docs/previews/feedback-status-banner.webp +0 -0
- package/docs/previews/feedback-status-circularprogress.webp +0 -0
- package/docs/previews/feedback-status-confirmationdialog.webp +0 -0
- package/docs/previews/feedback-status-confirmdialog.webp +0 -0
- package/docs/previews/feedback-status-countdowntimer.webp +0 -0
- package/docs/previews/feedback-status-customalertdialog.webp +0 -0
- package/docs/previews/feedback-status-customdialog.webp +0 -0
- package/docs/previews/feedback-status-emptystate.webp +0 -0
- package/docs/previews/feedback-status-errorstate.webp +0 -0
- package/docs/previews/feedback-status-hydrateloading.webp +0 -0
- package/docs/previews/feedback-status-illustration-education.webp +0 -0
- package/docs/previews/feedback-status-illustration-health.webp +0 -0
- package/docs/previews/feedback-status-illustration.webp +0 -0
- package/docs/previews/feedback-status-loadingindicator.webp +0 -0
- package/docs/previews/feedback-status-notificationrow.webp +0 -0
- package/docs/previews/feedback-status-notifications.webp +0 -0
- package/docs/previews/feedback-status-progress.webp +0 -0
- package/docs/previews/feedback-status-scrollprogress.webp +0 -0
- package/docs/previews/feedback-status-skeleton.webp +0 -0
- package/docs/previews/feedback-status-spinner.webp +0 -0
- package/docs/previews/feedback-status-stepdots.webp +0 -0
- package/docs/previews/feedback-status-toast.webp +0 -0
- package/docs/previews/feedback-status-typingindicator.webp +0 -0
- package/docs/previews/form-fields-attributes.webp +0 -0
- package/docs/previews/form-fields-colorfield.webp +0 -0
- package/docs/previews/form-fields-contacts.webp +0 -0
- package/docs/previews/form-fields-countryfield.webp +0 -0
- package/docs/previews/form-fields-currencyfield.webp +0 -0
- package/docs/previews/form-fields-emailfield.webp +0 -0
- package/docs/previews/form-fields-field.webp +0 -0
- package/docs/previews/form-fields-formsection.webp +0 -0
- package/docs/previews/form-fields-inlineedit.webp +0 -0
- package/docs/previews/form-fields-inputgroupfield.webp +0 -0
- package/docs/previews/form-fields-localizedtextfields.webp +0 -0
- package/docs/previews/form-fields-numberfield.webp +0 -0
- package/docs/previews/form-fields-openinghours.webp +0 -0
- package/docs/previews/form-fields-otpfield.webp +0 -0
- package/docs/previews/form-fields-passwordfield.webp +0 -0
- package/docs/previews/form-fields-percentfield.webp +0 -0
- package/docs/previews/form-fields-phonefield.webp +0 -0
- package/docs/previews/form-fields-postaladdress.webp +0 -0
- package/docs/previews/form-fields-ratingfield.webp +0 -0
- package/docs/previews/form-fields-repeatablegroup.webp +0 -0
- package/docs/previews/form-fields-searchfield.webp +0 -0
- package/docs/previews/form-fields-slider.webp +0 -0
- package/docs/previews/form-fields-switch.webp +0 -0
- package/docs/previews/form-fields-textareafield.webp +0 -0
- package/docs/previews/form-fields-textfield.webp +0 -0
- package/docs/previews/form-fields-timezonefield.webp +0 -0
- package/docs/previews/form-fields-urlfield.webp +0 -0
- package/docs/previews/foundations-themes-icon-motifs.webp +0 -0
- package/docs/previews/foundations-themes-themepicker.webp +0 -0
- package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
- package/docs/previews/guides-i18n-translated-components.webp +0 -0
- package/docs/previews/media-files-audioplayer.webp +0 -0
- package/docs/previews/media-files-camera.webp +0 -0
- package/docs/previews/media-files-carousel.webp +0 -0
- package/docs/previews/media-files-filelist.webp +0 -0
- package/docs/previews/media-files-filelistfield.webp +0 -0
- package/docs/previews/media-files-filepreview.webp +0 -0
- package/docs/previews/media-files-gallery-image-lists.webp +0 -0
- package/docs/previews/media-files-gallery-viewer.webp +0 -0
- package/docs/previews/media-files-gallery.webp +0 -0
- package/docs/previews/media-files-imagecropper.webp +0 -0
- package/docs/previews/media-files-imageeditor.webp +0 -0
- package/docs/previews/media-files-imagefield.webp +0 -0
- package/docs/previews/media-files-lightboxgallery.webp +0 -0
- package/docs/previews/media-files-map.webp +0 -0
- package/docs/previews/media-files-mediaplayer.webp +0 -0
- package/docs/previews/media-files-mediaplayerhost.webp +0 -0
- package/docs/previews/media-files-mediaplayerlightbox.webp +0 -0
- package/docs/previews/media-files-mediaplayermini.webp +0 -0
- package/docs/previews/media-files-minigallery.webp +0 -0
- package/docs/previews/media-files-networkuploadfield.webp +0 -0
- package/docs/previews/media-files-pdfreader.webp +0 -0
- package/docs/previews/media-files-s3uploadfield.webp +0 -0
- package/docs/previews/media-files-uploadfield.webp +0 -0
- package/docs/previews/navigation-layout-accountmenu.webp +0 -0
- package/docs/previews/navigation-layout-appshell-menu-badge.webp +0 -0
- package/docs/previews/navigation-layout-appshell.webp +0 -0
- package/docs/previews/navigation-layout-authcard.webp +0 -0
- package/docs/previews/navigation-layout-background.webp +0 -0
- package/docs/previews/navigation-layout-bottomappbar.webp +0 -0
- package/docs/previews/navigation-layout-breadcrumb.webp +0 -0
- package/docs/previews/navigation-layout-doc-api.webp +0 -0
- package/docs/previews/navigation-layout-doc-blocks.webp +0 -0
- package/docs/previews/navigation-layout-doc.webp +0 -0
- package/docs/previews/navigation-layout-hero.webp +0 -0
- package/docs/previews/navigation-layout-listdetailslayout.webp +0 -0
- package/docs/previews/navigation-layout-pager.webp +0 -0
- package/docs/previews/navigation-layout-panelayout.webp +0 -0
- package/docs/previews/navigation-layout-resizable.webp +0 -0
- package/docs/previews/navigation-layout-responsivegrid.webp +0 -0
- package/docs/previews/navigation-layout-seealso.webp +0 -0
- package/docs/previews/navigation-layout-sidebar.webp +0 -0
- package/docs/previews/navigation-layout-skiplink.webp +0 -0
- package/docs/previews/navigation-layout-stepper.webp +0 -0
- package/docs/previews/navigation-layout-steps.webp +0 -0
- package/docs/previews/navigation-layout-threadlayout.webp +0 -0
- package/docs/previews/navigation-layout-toc.webp +0 -0
- package/docs/previews/navigation-layout-topappbar.webp +0 -0
- package/docs/previews/overlays-menus-command.webp +0 -0
- package/docs/previews/overlays-menus-contextmenu.webp +0 -0
- package/docs/previews/overlays-menus-dialog.webp +0 -0
- package/docs/previews/overlays-menus-drawer.webp +0 -0
- package/docs/previews/overlays-menus-dropdownmenu.webp +0 -0
- package/docs/previews/overlays-menus-hovercard.webp +0 -0
- package/docs/previews/overlays-menus-menubar.webp +0 -0
- package/docs/previews/overlays-menus-popover.webp +0 -0
- package/docs/previews/overlays-menus-sheet.webp +0 -0
- package/docs/previews/overlays-menus-tooltip.webp +0 -0
- package/docs/previews/primitives-accordion.webp +0 -0
- package/docs/previews/primitives-anchorheading.webp +0 -0
- package/docs/previews/primitives-card.webp +0 -0
- package/docs/previews/primitives-collapsible.webp +0 -0
- package/docs/previews/primitives-extendedlabel.webp +0 -0
- package/docs/previews/primitives-helpertext.webp +0 -0
- package/docs/previews/primitives-icon.webp +0 -0
- package/docs/previews/primitives-input.webp +0 -0
- package/docs/previews/primitives-inputgroup.webp +0 -0
- package/docs/previews/primitives-kbd.webp +0 -0
- package/docs/previews/primitives-label.webp +0 -0
- package/docs/previews/primitives-scrollarea.webp +0 -0
- package/docs/previews/primitives-separator.webp +0 -0
- package/docs/previews/primitives-table.webp +0 -0
- package/docs/previews/primitives-tabs.webp +0 -0
- package/docs/previews/primitives-textarea.webp +0 -0
- package/docs/previews/primitives-toggle.webp +0 -0
- package/docs/previews/primitives-togglegroup.webp +0 -0
- package/docs/previews/primitives-typography.webp +0 -0
- package/docs/previews/rich-widgets-chat-advanced.webp +0 -0
- package/docs/previews/rich-widgets-chat-composer.webp +0 -0
- package/docs/previews/rich-widgets-chat-inbox.webp +0 -0
- package/docs/previews/rich-widgets-chat-overview.webp +0 -0
- package/docs/previews/rich-widgets-chat-thread.webp +0 -0
- package/docs/previews/rich-widgets-chat-widget.webp +0 -0
- package/docs/previews/rich-widgets-codeeditor-diff.webp +0 -0
- package/docs/previews/rich-widgets-codeeditor.webp +0 -0
- package/docs/previews/rich-widgets-compacteditor.webp +0 -0
- package/docs/previews/rich-widgets-documenteditor.webp +0 -0
- package/docs/previews/rich-widgets-drawing.webp +0 -0
- package/docs/previews/rich-widgets-emojipicker.webp +0 -0
- package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
- package/docs/previews/rich-widgets-kanban.webp +0 -0
- package/docs/previews/rich-widgets-mentionlist.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-areachart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-barchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-combochart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-donutchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-funnelchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-gauge.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-heatmapchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-linechart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-piechart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-radarchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-radialbarchart.webp +0 -0
- package/docs/previews/rich-widgets-native-charts-scatterchart.webp +0 -0
- package/docs/previews/rich-widgets-questioncard.webp +0 -0
- package/docs/previews/rich-widgets-quiz.webp +0 -0
- package/docs/previews/rich-widgets-richchatcomposer.webp +0 -0
- package/docs/previews/rich-widgets-richtexteditor.webp +0 -0
- package/docs/previews/rich-widgets-richtextviewer.webp +0 -0
- package/docs/previews/selection-choice-autocomplete.webp +0 -0
- package/docs/previews/selection-choice-checkbox.webp +0 -0
- package/docs/previews/selection-choice-checkboxgroup.webp +0 -0
- package/docs/previews/selection-choice-checkcardfield.webp +0 -0
- package/docs/previews/selection-choice-chipgroupfield.webp +0 -0
- package/docs/previews/selection-choice-choicecardgroup.webp +0 -0
- package/docs/previews/selection-choice-colorswatches.webp +0 -0
- package/docs/previews/selection-choice-combobox.webp +0 -0
- package/docs/previews/selection-choice-comboboxfield.webp +0 -0
- package/docs/previews/selection-choice-optiontile.webp +0 -0
- package/docs/previews/selection-choice-radiogroup.webp +0 -0
- package/docs/previews/selection-choice-select.webp +0 -0
- package/docs/previews/selection-choice-selectfield.webp +0 -0
- package/docs/previews/selection-choice-sortablelist.webp +0 -0
- package/docs/previews/selection-choice-switcher.webp +0 -0
- package/docs/previews/selection-choice-transferlist.webp +0 -0
- package/docs/previews/selection-choice-treeselectfield.webp +0 -0
- package/docs/roadmap.md +22 -0
- package/docs/troubleshooting.md +69 -4
- package/lib/backgrounds/backgrounds.css +4 -0
- package/lib/backgrounds/css-react/celestial.css +200 -0
- package/lib/backgrounds/css-react/icons.css +175 -0
- package/lib/components/components.css +2 -5
- package/lib/components/ui/feedback/feedback.css +7 -0
- package/lib/components/ui/feedback/state-frame/illustration.css +171 -0
- package/lib/theme-picker/theme-picker.css +1 -0
- package/lib/theme-picker/theme-tile-icons.css +50 -0
- package/lib/theme-picker/theme-tile-textures-night.css +107 -1
- package/lib/themes/teal.css +2 -3
- package/package.json +28 -4
- package/dist/background--Bf_EbFR.js +0 -159
- package/dist/empty-state-s2CSjKXJ.js +0 -126
package/dist/components.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { $ as ee, $t as te, An as ne, Ar as re, Br as e, Cr as t, Dr as n, Er as r, Fr as i, Gn as a, Hn as o, Hr as s, I as c, Ir as l, It as u, Ji as d, Jr as f, Kn as p, Kr as m, L as h, Lr as g, Mn as _, Mr as v, Nn as y, Nr as b, On as x, Or as S, Pn as C, Pr as w, Qi as T, Qn as E, Qt as D, R as O, Rr as k, Sn as A, Sr as j, St as M, Tr as N, Un as P, Ur as F, Vr as I, Wn as L, Xi as R, Xt as z, Yi as B, Yn as V, Yr as H, Yt as U, Z as W, Zi as G, Zn as K, Zt as q, _ as J, _r as Y, aa as X, b as ie, br as ae, c as oe, ca as se, cn as ce, d as le, dn as ue, dt as de, ea as fe, en as pe, f as me, fn as he, g as ge, gr as _e, h as ve, hr as ye, i as be, jn as xe, jr as Se, kn as Ce, kr as we, l as Te, ln as Ee, lr as De, m as Oe, o as ke, oa as Ae, on as je, p as Me, pr as Ne, qi as Pe, qr as Fe, r as Ie, sa as Le, sn as Re, ta as ze, u as Be, un as Ve, v as He, vr as Ue, wr as We, x as Ge, xr as Ke, y as qe, yr as Je, zr as Ye } from "./use-chat-composer-
|
|
1
|
+
import { $ as ee, $t as te, An as ne, Ar as re, Br as e, Cr as t, Dr as n, Er as r, Fr as i, Gn as a, Hn as o, Hr as s, I as c, Ir as l, It as u, Ji as d, Jr as f, Kn as p, Kr as m, L as h, Lr as g, Mn as _, Mr as v, Nn as y, Nr as b, On as x, Or as S, Pn as C, Pr as w, Qi as T, Qn as E, Qt as D, R as O, Rr as k, Sn as A, Sr as j, St as M, Tr as N, Un as P, Ur as F, Vr as I, Wn as L, Xi as R, Xt as z, Yi as B, Yn as V, Yr as H, Yt as U, Z as W, Zi as G, Zn as K, Zt as q, _ as J, _r as Y, aa as X, b as ie, br as ae, c as oe, ca as se, cn as ce, d as le, dn as ue, dt as de, ea as fe, en as pe, f as me, fn as he, g as ge, gr as _e, h as ve, hr as ye, i as be, jn as xe, jr as Se, kn as Ce, kr as we, l as Te, ln as Ee, lr as De, m as Oe, o as ke, oa as Ae, on as je, p as Me, pr as Ne, qi as Pe, qr as Fe, r as Ie, sa as Le, sn as Re, ta as ze, u as Be, un as Ve, v as He, vr as Ue, wr as We, x as Ge, xr as Ke, y as qe, yr as Je, zr as Ye } from "./use-chat-composer-CkEPJo5I.js";
|
|
2
2
|
import { i as Xe, n as Ze, r as Qe, s as $e, t as et } from "./tooltip-rhbqNmr3.js";
|
|
3
3
|
import { a as tt, c as nt, f as rt, i as it, l as at, n as ot, o as st, p as ct, r as lt, s as ut, t as dt, u as ft } from "./dialog-CkIYpJXk.js";
|
|
4
4
|
import { a as pt, c as mt, d as ht, f as gt, i as _t, l as vt, n as yt, o as bt, r as xt, s as St, t as Ct, u as wt } from "./dropdown-menu-BC5Tbhb9.js";
|
|
5
|
-
import { $ as Tt, $a as Et, $c as Dt, $d as Ot, $i as kt, $l as At, $n as jt, $o as Mt, $r as Nt, $s as Pt, $t as Ft, $u as It, A as Lt, Aa as Rt, Ac as zt, Ad as Bt, Ai as Vt, Al as Ht, An as Ut, Ao as Wt, Ar as Gt, As as Kt, At as qt, Au as Jt, B as Yt, Ba as Xt, Bc as Zt, Bd as Qt, Bi as $t, Bl as en, Bn as tn, Bo as nn, Br as rn, Bs as an, Bt as on, Bu as sn, C as cn, Ca as ln, Cc as un, Cd as dn, Ci as fn, Cl as pn, Cn as mn, Co as hn, Cr as gn, Cs as _n, Ct as vn, Cu as yn, D as bn, Da as xn, Dc as Sn, Dd as Cn, Di as wn, Dl as Tn, Dn as En, Do as Dn, Dr as On, Ds as kn, Dt as An, Du as jn, E as Mn, Ea as Nn, Ec as Pn, Ed as Fn, Ei as In, El as Ln, En as Rn, Eo as zn, Er as Bn, Es as Vn, Et as Hn, Eu as Un, F as Wn, Fa as Gn, Fc as Kn, Fd as qn, Fi as Jn, Fl as Yn, Fn as Xn, Fo as Zn, Fr as Qn, Fs as $n, Ft as er, Fu as tr, G as nr, Ga as rr, Gc as ir, Gd as ar, Gi as or, Gl as sr, Gn as cr, Go as lr, Gr as ur, Gs as dr, Gt as fr, Gu as pr, H as mr, Ha as hr, Hc as gr, Hd as _r, Hi as vr, Hl as yr, Hn as br, Ho as xr, Hr as Sr, Hs as Cr, Ht as wr, Hu as Tr, I as Er, Ia as Dr, Ic as Or, Id as kr, Ii as Ar, Il as jr, In as Mr, Io as Nr, Ir as Pr, Is as Fr, It as Ir, Iu as Lr, J as Rr, Ja as zr, Jc as Br, Jd as Vr, Ji as Hr, Jl as Ur, Jn as Wr, Jo as Gr, Jr as Kr, Js as qr, Jt as Jr, Ju as Yr, K as Xr, Ka as Zr, Kc as Qr, Kd as $r, Ki as ei, Kl as ti, Kn as ni, Ko as ri, Kr as ii, Ks as ai, Kt as oi, Ku as si, L as ci, La as li, Lc as ui, Ld as di, Li as fi, Ll as pi, Ln as mi, Lo as hi, Lr as gi, Ls as _i, Lt as vi, Lu as yi, M as bi, Ma as xi, Mc as Si, Md as Ci, Mi as wi, Ml as Ti, Mn as Ei, Mo as Di, Mr as Oi, Ms as ki, Mt as Ai, Mu as ji, N as Mi, Na as Ni, Nc as Pi, Nd as Fi, Ni as Ii, Nl as Li, Nn as Ri, No as zi, Nr as Bi, Ns as Vi, Nt as Hi, Nu as Ui, O as Wi, Oa as Gi, Oc as Ki, Od as qi, Oi as Ji, Ol as Yi, On as Xi, Oo as Zi, Or as Qi, Os as $i, Ot as ea, Ou as ta, P as na, Pa as ra, Pc as ia, Pd as aa, Pi as oa, Pl as sa, Pn as ca, Po as la, Pr as ua, Ps as da, Pt as fa, Pu as pa, Q as ma, Qa as ha, Qc as ga, Qd as _a, Qi as va, Ql as ya, Qn as ba, Qo as xa, Qr as Sa, Qs as Ca, Qt as wa, Qu as Ta, R as Ea, Ra as Da, Rc as Oa, Rd as ka, Ri as Aa, Rl as ja, Rn as Ma, Ro as Na, Rr as Pa, Rs as Fa, Rt as Ia, Ru as La, S as Ra, Sa as za, Sc as Ba, Sd as Va, Sf as Ha, Si as Ua, Sl as Wa, Sn as Ga, So as Ka, Sr as qa, Ss as Ja, St as Ya, Su as Xa, T as Za, Ta as Qa, Tc as $a, Td as eo, Ti as to, Tl as no, Tn as ro, To as io, Tr as ao, Ts as oo, Tt as so, Tu as co, U as lo, Ua as uo, Uc as fo, Ud as po, Ui as mo, Ul as ho, Un as go, Uo as _o, Ur as vo, Us as yo, Ut as bo, Uu as xo, V as So, Va as Co, Vc as wo, Vd as To, Vi as Eo, Vl as Do, Vn as Oo, Vo as ko, Vr as Ao, Vs as jo, Vt as Mo, Vu as No, W as Po, Wa as Fo, Wc as Io, Wd as Lo, Wi as Ro, Wl as zo, Wn as Bo, Wo as Vo, Wr as Ho, Ws as Uo, Wt as Wo, Wu as Go, X as Ko, Xa as qo, Xc as Jo, Xd as Yo, Xi as Xo, Xl as Zo, Xn as Qo, Xo as $o, Xr as es, Xs as ts, Xt as ns, Xu as rs, Y as is, Ya as as, Yc as os, Yd as ss, Yi as cs, Yl as ls, Yn as us, Yo as ds, Yr as fs, Ys as ps, Yt as ms, Yu as hs, Z as gs, Za as _s, Zc as vs, Zd as ys, Zi as bs, Zl as xs, Zn as Ss, Zo as Cs, Zr as ws, Zs as Ts, Zt as Es, Zu as Ds, _ as Os, _a as ks, _c as As, _d as js, _f as Ms, _i as Ns, _l as Ps, _n as Fs, _o as Is, _r as Ls, _s as Rs, _t as zs, _u as Bs, a as Vs, aa as Hs, ac as Us, ad as Ws, af as Gs, ai as Ks, al as qs, an as Js, ao as Ys, ar as Xs, as as Zs, at as Qs, au as $s, b as ec, ba as tc, bc as nc, bd as rc, bf as ic, bi as ac, bl as oc, bn as sc, bo as cc, br as lc, bs as uc, bt as dc, bu as fc, c as pc, ca as mc, cc as
|
|
5
|
+
import { $ as Tt, $a as Et, $c as Dt, $d as Ot, $i as kt, $l as At, $n as jt, $o as Mt, $r as Nt, $s as Pt, $t as Ft, $u as It, A as Lt, Aa as Rt, Ac as zt, Ad as Bt, Ai as Vt, Al as Ht, An as Ut, Ao as Wt, Ar as Gt, As as Kt, At as qt, Au as Jt, B as Yt, Ba as Xt, Bc as Zt, Bd as Qt, Bi as $t, Bl as en, Bn as tn, Bo as nn, Br as rn, Bs as an, Bt as on, Bu as sn, C as cn, Ca as ln, Cc as un, Cd as dn, Ci as fn, Cl as pn, Cn as mn, Co as hn, Cr as gn, Cs as _n, Ct as vn, Cu as yn, D as bn, Da as xn, Dc as Sn, Dd as Cn, Di as wn, Dl as Tn, Dn as En, Do as Dn, Dr as On, Ds as kn, Dt as An, Du as jn, E as Mn, Ea as Nn, Ec as Pn, Ed as Fn, Ei as In, El as Ln, En as Rn, Eo as zn, Er as Bn, Es as Vn, Et as Hn, Eu as Un, F as Wn, Fa as Gn, Fc as Kn, Fd as qn, Fi as Jn, Fl as Yn, Fn as Xn, Fo as Zn, Fr as Qn, Fs as $n, Ft as er, Fu as tr, G as nr, Ga as rr, Gc as ir, Gd as ar, Gi as or, Gl as sr, Gn as cr, Go as lr, Gr as ur, Gs as dr, Gt as fr, Gu as pr, H as mr, Ha as hr, Hc as gr, Hd as _r, Hi as vr, Hl as yr, Hn as br, Ho as xr, Hr as Sr, Hs as Cr, Ht as wr, Hu as Tr, I as Er, Ia as Dr, Ic as Or, Id as kr, Ii as Ar, Il as jr, In as Mr, Io as Nr, Ir as Pr, Is as Fr, It as Ir, Iu as Lr, J as Rr, Ja as zr, Jc as Br, Jd as Vr, Ji as Hr, Jl as Ur, Jn as Wr, Jo as Gr, Jr as Kr, Js as qr, Jt as Jr, Ju as Yr, K as Xr, Ka as Zr, Kc as Qr, Kd as $r, Ki as ei, Kl as ti, Kn as ni, Ko as ri, Kr as ii, Ks as ai, Kt as oi, Ku as si, L as ci, La as li, Lc as ui, Ld as di, Li as fi, Ll as pi, Ln as mi, Lo as hi, Lr as gi, Ls as _i, Lt as vi, Lu as yi, M as bi, Ma as xi, Mc as Si, Md as Ci, Mi as wi, Ml as Ti, Mn as Ei, Mo as Di, Mr as Oi, Ms as ki, Mt as Ai, Mu as ji, N as Mi, Na as Ni, Nc as Pi, Nd as Fi, Ni as Ii, Nl as Li, Nn as Ri, No as zi, Nr as Bi, Ns as Vi, Nt as Hi, Nu as Ui, O as Wi, Oa as Gi, Oc as Ki, Od as qi, Oi as Ji, Ol as Yi, On as Xi, Oo as Zi, Or as Qi, Os as $i, Ot as ea, Ou as ta, P as na, Pa as ra, Pc as ia, Pd as aa, Pi as oa, Pl as sa, Pn as ca, Po as la, Pr as ua, Ps as da, Pt as fa, Pu as pa, Q as ma, Qa as ha, Qc as ga, Qd as _a, Qi as va, Ql as ya, Qn as ba, Qo as xa, Qr as Sa, Qs as Ca, Qt as wa, Qu as Ta, R as Ea, Ra as Da, Rc as Oa, Rd as ka, Ri as Aa, Rl as ja, Rn as Ma, Ro as Na, Rr as Pa, Rs as Fa, Rt as Ia, Ru as La, S as Ra, Sa as za, Sc as Ba, Sd as Va, Sf as Ha, Si as Ua, Sl as Wa, Sn as Ga, So as Ka, Sr as qa, Ss as Ja, St as Ya, Su as Xa, T as Za, Ta as Qa, Tc as $a, Td as eo, Ti as to, Tl as no, Tn as ro, To as io, Tr as ao, Ts as oo, Tt as so, Tu as co, U as lo, Ua as uo, Uc as fo, Ud as po, Ui as mo, Ul as ho, Un as go, Uo as _o, Ur as vo, Us as yo, Ut as bo, Uu as xo, V as So, Va as Co, Vc as wo, Vd as To, Vi as Eo, Vl as Do, Vn as Oo, Vo as ko, Vr as Ao, Vs as jo, Vt as Mo, Vu as No, W as Po, Wa as Fo, Wc as Io, Wd as Lo, Wi as Ro, Wl as zo, Wn as Bo, Wo as Vo, Wr as Ho, Ws as Uo, Wt as Wo, Wu as Go, X as Ko, Xa as qo, Xc as Jo, Xd as Yo, Xi as Xo, Xl as Zo, Xn as Qo, Xo as $o, Xr as es, Xs as ts, Xt as ns, Xu as rs, Y as is, Ya as as, Yc as os, Yd as ss, Yi as cs, Yl as ls, Yn as us, Yo as ds, Yr as fs, Ys as ps, Yt as ms, Yu as hs, Z as gs, Za as _s, Zc as vs, Zd as ys, Zi as bs, Zl as xs, Zn as Ss, Zo as Cs, Zr as ws, Zs as Ts, Zt as Es, Zu as Ds, _ as Os, _a as ks, _c as As, _d as js, _f as Ms, _i as Ns, _l as Ps, _n as Fs, _o as Is, _r as Ls, _s as Rs, _t as zs, _u as Bs, a as Vs, aa as Hs, ac as Us, ad as Ws, af as Gs, ai as Ks, al as qs, an as Js, ao as Ys, ar as Xs, as as Zs, at as Qs, au as $s, b as ec, ba as tc, bc as nc, bd as rc, bf as ic, bi as ac, bl as oc, bn as sc, bo as cc, br as lc, bs as uc, bt as dc, bu as fc, c as pc, ca as mc, cc as hc, cd as gc, cf as _c, ci as vc, cl as Z, cn as yc, co as bc, cr as xc, cs as Sc, ct as Cc, cu as wc, d as Tc, da as Ec, dc as Dc, dd as Oc, df as kc, di as Ac, dl as jc, dn as Mc, do as Nc, dr as Pc, ds as Fc, dt as Ic, du as Lc, ea as Rc, ec as zc, ed as Bc, ef as Vc, ei as Hc, el as Uc, en as Wc, eo as Gc, er as Kc, es as qc, et as Jc, eu as Yc, f as Xc, fa as Zc, fc as Qc, fd as $c, ff as el, fi as tl, fl as nl, fn as rl, fo as il, fr as al, fs as ol, ft as sl, fu as cl, g as ll, ga as ul, gc as dl, gd as fl, gf as pl, gi as ml, gl as hl, gn as gl, go as _l, gr as vl, gs as yl, gt as bl, gu as xl, h as Sl, ha as Cl, hc as wl, hd as Tl, hf as El, hi as Dl, hl as Ol, hn as kl, ho as Al, hr as jl, hs as Ml, ht as Nl, hu as Pl, i as Fl, ia as Il, ic as Ll, id as Rl, if as zl, ii as Bl, il as Vl, in as Hl, io as Ul, ir as Wl, is as Gl, it as Kl, iu as ql, j as Jl, ja as Yl, jc as Xl, jd as Zl, ji as Ql, jl as $l, jn as eu, jo as tu, jr as nu, js as ru, jt as iu, ju as au, k as ou, ka as su, kc as cu, kd as lu, ki as uu, kl as du, kn as fu, ko as pu, kr as mu, ks as hu, kt as gu, ku as _u, l as vu, la as yu, lc as bu, ld as xu, lf as Su, li as Cu, ll as wu, ln as Tu, lo as Eu, lr as Du, ls as Ou, lt as ku, lu as Au, m as ju, ma as Mu, mc as Nu, md as Pu, mf as Fu, mi as Iu, ml as Lu, mn as Ru, mo as zu, mr as Bu, ms as Vu, mt as Hu, mu as Uu, n as Wu, na as Gu, nc as Ku, nd as qu, nf as Ju, ni as Yu, nl as Xu, nn as Zu, no as Qu, nr as $u, ns as ed, nt as td, nu as nd, o as rd, oa as id, oc as ad, od, of as sd, oi as cd, ol as ld, on as ud, oo as dd, or as fd, os as pd, ot as md, ou as hd, p as gd, pa as _d, pc as vd, pd as yd, pf as bd, pi as xd, pl as Sd, pn as Cd, po as wd, pr as Td, ps as Ed, pt as Dd, pu as Od, q as kd, qa as Ad, qc as jd, qd as Md, qi as Nd, ql as Pd, qn as Fd, qo as Id, qr as Ld, qs as Rd, qt as zd, qu as Bd, r as Vd, ra as Hd, rc as Ud, rd as Wd, rf as Gd, ri as Kd, rl as qd, rn as Jd, ro as Yd, rr as Xd, rs as Zd, rt as Qd, ru as $d, s as ef, sa as tf, sc as nf, sd as rf, sf as af, si as of, sl as sf, sn as cf, so as lf, sr as uf, ss as df, st as ff, su as pf, t as mf, ta as hf, tc as gf, td as _f, tf as vf, ti as yf, tl as bf, tn as xf, to as Sf, tr as Cf, ts as wf, tt as Tf, tu as Ef, u as Df, ua as Of, uc as kf, ud as Af, uf as jf, ui as Mf, ul as Nf, un as Pf, uo as Ff, ur as If, us as Lf, ut as Rf, uu as zf, v as Bf, va as Vf, vc as Hf, vd as Uf, vf as Wf, vi as Gf, vl as Kf, vn as qf, vo as Jf, vr as Yf, vs as Xf, vt as Zf, vu as Qf, w as $f, wa as ep, wc as tp, wd as np, wi as rp, wl as ip, wn as ap, wo as op, wr as sp, ws as cp, wt as lp, wu as up, x as dp, xa as fp, xc as pp, xd as mp, xf as hp, xi as gp, xl as _p, xn as vp, xo as yp, xr as bp, xs as xp, xt as Sp, xu as Cp, y as wp, ya as Tp, yc as Ep, yd as Dp, yf as Op, yi as kp, yl as Ap, yn as jp, yo as Mp, yr as Np, ys as Pp, yt as Fp, yu as Ip, z as Lp, za as Rp, zc as zp, zd as Bp, zi as Vp, zl as Hp, zn as Up, zo as Wp, zr as Gp, zs as Kp, zt as qp, zu as Jp } from "./components-D5d2rflJ.js";
|
|
6
6
|
import { a as Yp, i as Xp } from "./field-blur-context-1ZwJgsHE.js";
|
|
7
7
|
import { i as Zp, n as Qp, r as $p, t as em } from "./hover-card-Cox-tPDz.js";
|
|
8
|
-
import { _ as tm, a as nm, c as rm, d as im, f as am, g as om, i as sm, l as cm, o as lm, p as um, r as dm, s as fm, t as pm, u as mm } from "./public-
|
|
8
|
+
import { _ as tm, a as nm, c as rm, d as im, f as am, g as om, i as sm, l as cm, o as lm, p as um, r as dm, s as fm, t as pm, u as mm } from "./public-DGvtAz7M.js";
|
|
9
9
|
import { _ as hm, a as gm, b as _m, c as vm, d as ym, g as bm, l as xm, n as Sm, o as Cm, p as wm, r as Tm, s as Em, t as Dm, u as Om, v as km, x as Am, y as jm } from "./toolbar-items-CqHvlTU8.js";
|
|
10
10
|
import { a as Mm, f as Nm } from "./async-slice-DDjaJY_F.js";
|
|
11
11
|
import { t as Pm } from "./spinner-CsHcmcpF.js";
|
|
12
12
|
import { i as Fm, t as Im } from "./button-DbfdITBB.js";
|
|
13
13
|
import { n as Q, t as Lm } from "./icon-button-DJcWpIhu.js";
|
|
14
14
|
import { a as Rm, r as zm, s as Bm } from "./code-language-items-C_dJ6GVs.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { t as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import {
|
|
25
|
-
import { t as Th } from "./
|
|
26
|
-
export { xe as Accordion, ne as AccordionCard, _ as AccordionContent, y as AccordionItem, ze as AccordionPrimitive, C as AccordionTrigger, Ld as AccountMenu, X as ActionCard, Zp as Activity, vo as ActivityContent, qa as ActivityLayout, Cr as AlbumCard, Qt as Alert, ye as AlertDialog, _e as AlertDialogAction, Y as AlertDialogCancel, Ue as AlertDialogContent, Je as AlertDialogDescription, ae as AlertDialogFooter, Ke as AlertDialogHeader, j as AlertDialogOverlay, t as AlertDialogPortal, fe as AlertDialogPrimitive, We as AlertDialogTitle, N as AlertDialogTrigger, Jc as AnchorHeading, Ts as ApiEndpoint, Uo as ApiOperation, Bi as AppBreadcrumb, ua as AppBreadcrumbItem, Qn as AppBreadcrumbSeparator, gn as AppHeader, sp as AppSidebar, xi as AttributeDialog, Ni as AttributeForm, ra as AttributeValueFormField, Gi as AttributeValuesForm, Nn as AttributeValuesFormFieldSet, ln as AttributesField, za as AttributesFormField, ep as AttributesList, Mc as AudioPlayer, bp as AuthCard, V as Autocomplete, K as AutocompleteChips, Xt as AutocompleteFormField, ge as Avatar, J as AvatarBase, He as AvatarFallback, Oe as AvatarGroup, qe as AvatarImage, Ul as Background, Fi as Badge, lr as BandCard, il as Banner, yo as Barecode, ii as BottomAppBar, Pr as Breadcrumb, gi as BreadcrumbEllipsis, Pa as BreadcrumbItem, Gp as BreadcrumbLink, rn as BreadcrumbList, Ao as BreadcrumbPage, Sr as BreadcrumbSeparator, Vo as BreakdownCard, Im as Button, Ha as ButtonGroup, zm as CODE_LANGUAGES, uh as CSS, ka as Calendar, Bp as CalendarDayButton, Jd as Camera, Ca as Card, Pt as CardAction, zc as CardContent, gf as CardDescription, Ku as CardFooter, Ud as CardHeader, Ll as CardTitle, U as Carousel, sa as CarouselAutoplayToggle, D as CarouselContent, q as CarouselIndicators, z as CarouselItem, te as CarouselNext, pe as CarouselPrevious, Mi as ChatComposer, Be as ChatComposerAttachmentChip, oe as ChatComposerAttachmentList, Te as ChatComposerAttachments, bi as ChatConversationItem, Lt as ChatInbox, Wi as ChatLayoutContext, bn as ChatMarkdown, Za as ChatMessage, cn as ChatMessageList, Ra as ChatMessageSeparator, Mn as ChatReactionGroup, ke as ChatReplyQuote, dp as ChatThread, ec as ChatThreadHeader, $f as ChatTypingIndicator, wp as ChatWidget, Yn as CheckCardField, ma as CheckCardFormField, Pe as Checkbox, gs as CheckboxFormField, p as CheckboxGroup, Ko as CheckboxGroupFormField, jo as ChecklistCard, Ym as Chip, A as ChipGroupField, is as ChipGroupFormField, jr as ChoiceCardGroup, Rr as ChoiceCardGroupFormField, Do as CircularProgress, Rd as CodeBlock, ai as CodeGroup, pr as Collapsible, si as CollapsibleContent, Bd as CollapsibleTrigger, Tp as ColorField, Vf as ColorFormField, Hi as ColorSwatches, H as Combobox, m as ComboboxChip, Fe as ComboboxChips, f as ComboboxChipsInput, S as ComboboxCollection, s as ComboboxContent, I as ComboboxEmpty, Zc as ComboboxField, kd as ComboboxFormField, we as ComboboxGroup, qn as ComboboxInput, re as ComboboxItem, Se as ComboboxLabel, F as ComboboxList, di as ComboboxPrimitive, v as ComboboxSeparator, kr as ComboboxTrigger, b as ComboboxValue, Xu as Command, qd as CommandDialog, Nf as CommandEmpty, Vl as CommandGroup, qs as CommandInput, wu as CommandItem, ld as CommandList, sf as CommandSeparator, vc as CommandShortcut, xr as CompareCard, Zu as CompareSlider, Nc as ConfirmDialog, Eu as ConfirmationDialog, Cl as ContactDialog, ks as ContactType, Mu as Contacts, _d as ContactsFormField, Lo as ContextMenu, vf as ContextMenuCheckboxItem, ar as ContextMenuContent, $r as ContextMenuGroup, Ju as ContextMenuItem, Md as ContextMenuLabel, Vr as ContextMenuPortal, Gd as ContextMenuRadioGroup, zl as ContextMenuRadioItem, ss as ContextMenuSeparator, Yo as ContextMenuShortcut, _a as ContextMenuSub, Ot as ContextMenuSubContent, Vc as ContextMenuSubTrigger, ys as ContextMenuTrigger, hp as CopyButton, ic as CopyValue, Ou as CountBadge, dd as CountdownTimer, tf as CountryField, id as CountryFormField, an as CrewCard, Il as CurrencyField, Hd as CurrencyFormField, Ys as CustomAlertDialog, Ff as CustomDialog, wl as DATE_RANGE_PRESET_IDS, hs as DAY_GROUP_ORDER, mo as DAY_OF_WEEK_FALLBACKS, er as DEFAULT_ASPECT_PRESETS, tc as DEFAULT_COLOR, tr as DEFAULT_FILTER_STATE, Lr as DEFAULT_MAX_VISIBLE_CHIPS, yi as DEFAULT_PERSISTENCE_CONFIG, La as DEFAULT_PRESET_CONFIG, Jp as DEFAULT_VALIDATION_RULES, Ws as DataGrid, od as DataGridColumnsMenu, To as DataGridMenuItem, _r as DataGridMenuLabel, po as DataGridMenuSeparator, _f as DataTable, Bc as DataTableColumnHeader, Rl as DataTablePagination, Wd as DataTableServerFooter, qu as DataTableViewOptions, rc as DateField, Zl as DateFieldContent, As as DateFormField, ho as DateRangeField, dl as DateRangeFormField, Yr as DayGroupedList, Zd as DaySeparator, Xd as DefaultDocLink, ko as DeltaListCard, ed as Description, dt as Dialog, ot as DialogClose, lt as DialogContent, ut as DialogDescription, nt as DialogFooter, at as DialogHeader, it as DialogOverlay, tt as DialogPortal, zs as DialogScrollContent, ft as DialogTitle, st as DialogTrigger, _h as DndOverlay, dh as DndProvider, Bo as Doc, Ls as DocArticle, go as DocChildCards, Oo as DocCopyMarkdown, br as DocCopyPage, tn as DocEmpty, Up as DocHeader, Wl as DocLink, $u as DocNav, ca as DocPage, mi as DocPager, Qo as DocProgress, Yf as DocProvider, xc as DocSearch, Xn as DocSeeAlso, Cf as DocSidebar, jt as DocSkipLink, Ss as DocToc, us as DocTopbar, $ as DragHandle, $ as SortableHandle, bh as Draggable, lh as DraggableDroppable, mp as Drawer, Va as DrawerClose, dn as DrawerContent, Cn as DrawerDescription, qi as DrawerFooter, lu as DrawerHeader, np as DrawerOverlay, eo as DrawerPortal, Bt as DrawerTitle, Fn as DrawerTrigger, Ct as DropdownMenu, vt as DropdownMenuCheckboxItem, yt as DropdownMenuContent, xt as DropdownMenuGroup, wt as DropdownMenuItem, _t as DropdownMenuLabel, pt as DropdownMenuPortal, ht as DropdownMenuRadioGroup, gt as DropdownMenuRadioItem, bt as DropdownMenuSeparator, St as DropdownMenuShortcut, jm as DropdownMenuSub, _m as DropdownMenuSubContent, Am as DropdownMenuSubTrigger, mt as DropdownMenuTrigger, gh as Droppable, Qc as DurationField, Dc as DurationFormField, hf as EmailField, Rc as EmailFormField, Re as EmojiList, je as EmojiPicker, oh as EmptyState, qc as EnrolmentSecret, xa as EntityHeader, dm as ErrorState, Vs as EventCalendar, ef as EventCalendarProvider, Kp as EventCard, Cs as EventChip, xn as ExtendedLabel, Ms as FAB_TONES, Wf as FAB_VARIANTS, sn as FILTER_CONTAINER_BREAKPOINTS, No as FILTER_VALUE_WORDS, un as FIRST_PAGE, Op as Fab, pl as FabDock, T as FabMenu, Go as FacetGroup, Fa as FeatureCard, _p as Field, $o as Figure, _i as FileCard, xf as FileList, Wc as FileListField, Ft as FileListFormField, wa as FileListS3Field, Es as FileListS3FormField, ms as FilePreview, fr as FilePreviewHttpError, oi as FilePreviewUnsafeUrlError, Wo as FilesFormField, bf as Filter, sr as FilterActions, zo as FilterChips, Ps as FilterContent, hl as FilterDialog, Ol as FilterDrawer, oc as FilterField, Uc as FilterFormField, Kf as FilterGroup, Ap as FilterGroups, Lu as FilterInline, Sd as FilterPopover, ti as FilterPresets, Pd as FilterProvider, nl as FilterSheet, jc as FilterSheetTrigger, Sa as FormField, kt as FormSection, nn as FunnelCard, W as Gallery, Wp as GaugeCard, Na as GoalCard, hi as HeatweekCard, Yp as HelperText, Ri as Hero, El as HighlightText, Nr as HistogramCard, em as HoverCard, Qp as HoverCardContent, $p as HoverCardTrigger, Yd as HydrateLoading, Ia as IMAGE_CROP_ASPECTS, fa as IMAGE_EDITOR_FILTERS, G as Icon, Lm as IconButton, jf as IconLinkButton, vi as ImageCropper, Ir as ImageCropperDialog, Ai as ImageEditor, iu as ImageEditorDialog, en as ImageField, qt as ImageFormField, gu as ImageS3Field, ea as ImageS3FormField, va as InlineEdit, bs as InlineEditFormField, rt as Input, i as InputGroup, l as InputGroupAddon, g as InputGroupButton, Xo as InputGroupField, cs as InputGroupFormField, k as InputGroupInput, Ye as InputGroupText, e as InputGroupTextarea, du as InputOTP, Ht as InputOTPGroup, $l as InputOTPSeparator, Ti as InputOTPSlot, Lf as JsonViewer, mf as Kanban, Vd as KanbanProvider, d as Kbd, xp as KbdShortcut, Xp as Label, Fu as LanguageSwitcher, Zn as LatencyCard, bo as LightboxGallery, kc as LinkButton, Fr as LinkCard, eu as ListDetailsDetails, Xi as ListDetailsLayout, Ut as ListDetailsList, fu as ListDetailsTrigger, Dt as ListEmpty, ga as ListPane, Jo as ListPaneItem, hu as ListTile, Su as LoadMoreButton, Me as LoadingIndicator, Hr as LocalizedTextFields, ei as LocalizedTextFormField, qr as MOONLIGHT_DARK, ps as MOONLIGHT_DAY, ri as Markdown, $n as MediaCard, ee as MediaPlayer, Hn as MediaPlayerHost, so as MediaPlayerLightbox, lp as MediaPlayerMini, vn as MediaTranscript, na as MentionList, Tf as Menubar, Ic as MenubarCheckboxItem, td as MenubarContent, Qd as MenubarGroup, sl as MenubarItem, Dd as MenubarLabel, Kl as MenubarMenu, Qs as MenubarPortal, md as MenubarRadioGroup, Hu as MenubarRadioItem, Nl as MenubarSeparator, bl as MenubarShortcut, Cc as MenubarSub, ku as MenubarSubContent, Rf as MenubarSubTrigger, ff as MenubarTrigger, Id as MermaidDiagram, da as MessageCard, wr as MiniGallery, kf as MiniMonth, Po as NativeSelect, nr as NativeSelectOptGroup, Xr as NativeSelectOption, En as NavigationRail, Hp as NetworkUploadField, Hc as NetworkUploadFormField, Tt as NonceProvider, Vi as NoticeCard, Qu as NotificationRow, qo as Notifications, ad as NowIndicator, ip as NumberField, Da as NumberFormField, ki as OfferCard, vr as OpeningHours, Eo as OpeningHoursDialog, $t as OpeningHoursFormField, pi as OptionTile, Yi as OtpField, Vp as OtpFormField, ru as OverlayCard, yu as PHONE_COUNTRIES, De as PROGRESS_THICKNESSES, Ne as PROGRESS_TONES, la as PaceCard, Ma as Pager, wo as Pagination, zp as PaginationBar, gr as PaginationContent, fo as PaginationEllipsis, Io as PaginationFirst, ir as PaginationItem, Qr as PaginationLast, jd as PaginationLink, Br as PaginationNext, os as PaginationPrevious, Ga as PaneLayout, ro as PaneLayoutContent, ap as PaneLayoutPane, mn as PaneLayoutTrigger, dr as ParamTable, fi as PasswordField, Ar as PasswordFormField, pm as PdfReader, Jn as PercentField, oa as PercentFormField, Dn as PeriodCards, In as PhoneField, to as PhoneFormField, Kt as PlaceCard, Cm as Popover, Em as PopoverAnchor, vm as PopoverContent, xm as PopoverTrigger, gp as PostalAddress, ac as PostalAddressDialog, kp as PostalAddressFormField, $i as PricingCard, kn as ProfileCard, E as Progress, as as ProgressField, wf as QRCode, ju as QuestionCard, vu as Quiz, Vn as QuoteCard, Wn as RESERVED_TONES, o as RadioGroup, P as RadioGroupBase, L as RadioGroupField, lo as RadioGroupFormField, a as RadioGroupItem, zi as RankCard, Ns as RatingField, ml as RatingFormField, Di as RatioCard, oo as ReceiptCard, zn as RecoveryCodes, Al as RelativeTime, Dl as RepeatableGroup, Iu as RepeatableGroupFormField, jp as ResizableGroup, sc as ResizablePanel, vp as ResizableSeparator, bd as ResponsiveButton, Qa as ResponsiveGrid, el as ResponsiveLinkButton, cp as ReviewCard, Li as RichTextEditor, Gn as RichTextEditorFormField, Fp as S3UploadField, Zf as S3UploadFormField, hn as SHAPE_NAMES, Le as SHAPE_TONES, se as SHAPE_VARIANTS, _n as ScoreCard, sm as ScrollArea, nm as ScrollBar, zr as ScrollProgress, gc as ScrollToLatestButton, af as ScrollToTop, he as SearchField, xd as SearchFormField, Mr as SeeAlso, Dp as Select, fl as SelectContent, hc as SelectField, xu as SelectFieldTrigger, Rp as SelectFormField, Af as SelectGroup, Oc as SelectItem, $c as SelectLabel, js as SelectScrollDownButton, Uf as SelectScrollUpButton, yd as SelectSeparator, Pu as SelectTrigger, Tl as SelectValue, Vm as Separator, Oa as ServerTable, Ae as Shape, lm as Sheet, fm as SheetClose, rm as SheetContent, mm as SheetDescription, im as SheetFooter, am as SheetHeader, um as SheetTitle, cm as SheetTrigger, uc as ShortcutCard, Oi as Sidebar, nu as SidebarContent, Gt as SidebarFooter, mu as SidebarHeader, Qi as SidebarMenuItem, qf as SidebarMenuLabel, sh as Skeleton, Ad as SkeletonAvatar, rr as SkeletonCard, Fo as SkeletonTable, Zr as SkeletonText, Kc as SkipLink, Wa as Slider, pn as SliderField, Ac as SliderFormField, yh as Sortable, mr as SortableList, So as SortableListFormField, Ch as SortableProvider, tu as SparkbarCard, Wt as Sparkline, Pm as Spinner, R as SplitButton, Pp as SplitCard, Xf as SpotlightCard, Rs as StackCard, Ka as StatCard, yl as StatusCard, Ge as StatusIndicator, uo as StepDots, kl as Stepper, gl as StepperIndicator, Cd as Steps, Ru as StepsItem, yp as SummaryData, r as Switch, n as SwitchField, Mf as SwitchFormField, Yt as Switcher, zd as TEXT_PREVIEW_MAX_BYTES, of as TIMEZONES, sd as TOOLBAR_TONES, Zm as Table, nh as TableBody, ih as TableCaption, Qm as TableCell, th as TableEmpty, ah as TableFooter, $m as TableHead, eh as TableHeader, rh as TableRow, ce as Tabs, ue as TabsContent, Ve as TabsList, Ee as TabsTrigger, Ml as TagCard, Jf as Terminal, Xm as TextField, li as TextFormField, Ce as Textarea, x as TextareaField, Dr as TextareaFormField, Gm as ThemeToggle, rl as ThreadLayout, pu as ThresholdCard, Vu as TicketCard, yr as TimeField, Us as TimeFormField, Ci as TimePicker, wd as Timeline, Ed as TimelineCard, zu as TimelineItem, cd as TimezoneField, Ks as TimezoneFormField, ha as Toast, Gc as Toaster, ba as Toc, le as Toggle, Wm as ToggleGroup, Hm as ToggleGroupItem, Um as ToggleGroupSeparator, ym as Toolbar, Dm as ToolbarButton, Om as ToolbarGroup, gm as ToolbarItemSlot, wm as ToolbarMore, B as ToolbarPair, Sm as ToolbarSeparator, Tm as ToolbarToggle, om as ToolbarToggleGroup, tm as ToolbarToggleItem, et as Tooltip, Ze as TooltipContent, $e as TooltipPrimitive, Qe as TooltipProvider, Xe as TooltipTrigger, ur as TopAppBar, Lp as TransferList, Ea as TransferListFormField, Hf as Tree, Ba as TreeItem, ci as TreeSelectField, Er as TreeSelectFormField, Zi as TrendCard, Co as TypingIndicator, qm as Typography, Tr as URL_PARAM_SEPARATORS, ja as UploadField, Nt as UploadFormField, Yu as UrlField, yf as UrlFormField, xo as VALIDATION_MESSAGES, xs as VALIDATION_PATTERNS, ya as VALIDATION_PRESETS, Sl as answerParts, Df as answeredCount, c as applyMention, Qf as areFilterValuesEqual, ph as arrayMove, aa as badgeVariants, Fm as buttonVariants, yc as capturePhotoFromVideo, Jl as chatGroupPosition, Ua as cityLine, no as clampNumber, Gf as clampRating, Ip as cleanFilterValues, Pl as clearFromStorage, wc as clearPersistedFilterValues, $s as clearPresets, hh as closestCenter, Ie as collectComposerAttachments, Jm as composeRefs, ul as contactTypeLabel, su as convertAttributesToRecord, Bm as copyToClipboard, fc as countActiveFilters, lf as countdownTone, mc as countryOptions, Hl as createCameraStore, Kr as createCodeErrorMap, tp as createSorting, At as createValidationRule, qp as cropImageToFile, rf as dataTableFeatures, rs as dayGroupOf, Ro as dayOfWeekLabel, Gl as daySeparatorVariants, Zs as daysAgo, tl as debounce, fs as defaultCodeOf, Xs as docActions, fd as docSelectors, uf as docSlice, op as downloadText, wn as exampleNational, ds as expandEmojiShortcodes, Jr as fileKind, Du as filterDocNav, h as filterMentions, If as findActiveDocHref, ao as findActiveMenuItem, Of as findCountry, Pc as findDocChildren, al as findDocPager, Td as findDocSiblings, nc as findTreeNode, $a as firstPage, Ec as flagEmoji, Bu as flattenDocNav, pp as flattenVisibleTree, Rt as formatAttributeDisplayedValue, Yl as formatAttributesValues, bc as formatClock, pd as formatDayLabel, ns as formatFileSize, Cp as formatFilterValue, Ji as formatInternational, uu as formatNational, _l as formatRelativeTime, _o as formatStatDelta, Ui as generatePresetId, Js as getCameraDevices, co as getDefaultValuesFromSchema, Un as getFilterField, jn as getFilterFieldLabel, ta as getGroupFields, on as getRadianAngle, _u as getUngroupedFields, Yc as getValidationError, Jt as getVisibleFields, Ds as groupByDay, Mt as groupSecret, ni as handleDocKeyDown, Xa as hasActiveFilters, Ef as hasValidationErrors, yn as haveFiltersChanged, Th as headingText, ts as highlightCode, xh as horizontalListSortingStrategy, Q as iconButtonVariants, Q as variants, ct as inputDefaultClassNames, Sh as insertIds, ll as isAnswerCorrect, Os as isAnswered, ud as isCameraSupported, jl as isDocPathActive, Fd as isDocSearchHotkey, Gu as isEmail, es as isEmptyRequired, Mm as isExternalHref, au as isFieldVisible, up as isFilterValueEmpty, Pn as isFiltered, Bn as isMenuItemActive, df as isNewDay, Sn as isNewQuery, Vt as isPossiblePhoneNumber, fn as isPostalAddressEmpty, Wr as isTypingTarget, Kd as isUrl, Ql as isValidPhoneNumber, Mp as joinTerminalLines, vs as listPaneItemClasses, xl as loadFromStorage, Lc as loadFromUrl, Au as loadPersistedFilterValues, hd as loadPresets, Sc as localIsoDay, Nd as localizedTextErrors, ji as mapFilterFieldToFieldConfig, O as mentionQueryAt, Z as minutesOfDay, vd as minutesToParts, vl as navLabel, Ki as nextPage, fp as normalizeHex, Bl as normalizeUrl, bu as nowPosition, or as openingHoursSchema, Zt as paginationItems, cu as pagingNames, zt as paramsFromQuery, Bf as parseAnswerNumber, Hs as parseCurrencyInput, cl as parseFromUrlParams, Fc as parseJsonSource, Ln as parseNumberInput, wi as parsePhoneInput, On as partitionMenu, Nu as partsToMinutes, zf as persistFilterValues, mh as pointerWithin, rp as postalAddressCountryName, ol as prettyJson, Xl as previousPage, Si as queryFromParams, Pi as queryKey, ia as readCursor, io as recoveryCodesText, ch as rectIntersection, cf as requestCameraPermissions, Rm as resolveCodeLanguage, Fs as resolveStepState, Mo as rotateSize, Gr as sanitizeHref, pf as savePresets, Bs as saveToStorage, Tc as scoreBand, Aa as scorePassword, Xc as scoreQuiz, Od as serializeToUrlParams, Kn as serverPagination, Ja as shortcutGlyph, Nm as slugify, Sf as sonnerToast, pa as sortPresets, ve as splitAvatarOverflow, ie as statusToneDotClass, Tn as stepNumber, cc as stripAnsi, Or as tableFilters, _c as timezoneLabel, Cu as timezoneOffset, Is as toDate, Ii as toE164, dc as toPdfjsParams, Sp as toPdfjsSource, Et as toast, _s as toasts, me as toggleVariants, hr as typingIndicatorVariants, Km as typographyVariants, Uu as updateUrlWithFilters, Tu as useCamera, Pf as useCameraContext, be as useChatComposerAttachments, ou as useChatLayout, ws as useCodeResolver, Ta as useColumnHelpers, w as useComboboxAnchor, It as useDeleteRowsHandler, wh as useDndActiveId, fh as useDndItem, cr as useDoc, Np as useDocContext, rd as useEventCalendar, pc as useEventCalendarContext, ls as useFilter, Ur as useFilterContext, Zo as useFilterSelector, Wu as useKanban, Fl as useKanbanContext, Ei as useListDetails, An as useMediaPlayer, u as useMediaPlayerHost, nf as useNow, lc as useOptionalDocContext, Ho as usePageTitleFocus, Rn as usePaneLayout, Ya as usePdfSource, bm as useToolbarEntry, hm as useToolbarMoreAnchor, Gs as useToolbarOverflow, km as useToolbarSpilled, M as useTrackChapters, de as useTrackThumbnails, Ep as useTree, nd as validateAllFilters, $d as validateField, ql as validateFilterValue, vh as verticalListSortingStrategy, ui as withoutFilters, gd as wrongIds };
|
|
15
|
+
import { n as Vm, t as Hm } from "./icon-sprites-CZ3vcD7P.js";
|
|
16
|
+
import { i as Um, n as Wm, r as Gm, t as Km } from "./toggle-group-j8zaxEg1.js";
|
|
17
|
+
import { t as qm } from "./theme-toggle-oU-fh6WE.js";
|
|
18
|
+
import { a as Jm, i as Ym } from "./escape-owner-CripBce_.js";
|
|
19
|
+
import { t as Xm } from "./compose-refs-DZ0iIVF-.js";
|
|
20
|
+
import { t as Zm } from "./chip-DpySRqCy.js";
|
|
21
|
+
import { n as Qm } from "./icon-badge-q3Ve8gra.js";
|
|
22
|
+
import { a as $m, c as eh, d as th, f as nh, l as rh, o as ih, p as ah, s as oh, u as sh } from "./line-path-BQeLQZ-P.js";
|
|
23
|
+
import { t as ch } from "./empty-state-COAV2d-R.js";
|
|
24
|
+
import { t as lh } from "./skeleton-Bmp4gWAH.js";
|
|
25
|
+
import { _ as uh, a as dh, b as fh, c as ph, d as mh, f as hh, g as gh, h as _h, i as vh, l as yh, m as bh, n as xh, o as Sh, p as Ch, r as wh, s as $, t as Th, u as Eh } from "./sortable-provider-pVaEZzty.js";
|
|
26
|
+
import { t as Dh } from "./react-node-text-Crkpfpco.js";
|
|
27
|
+
export { xe as Accordion, ne as AccordionCard, _ as AccordionContent, y as AccordionItem, ze as AccordionPrimitive, C as AccordionTrigger, Ld as AccountMenu, X as ActionCard, Zp as Activity, vo as ActivityContent, qa as ActivityLayout, Cr as AlbumCard, Qt as Alert, ye as AlertDialog, _e as AlertDialogAction, Y as AlertDialogCancel, Ue as AlertDialogContent, Je as AlertDialogDescription, ae as AlertDialogFooter, Ke as AlertDialogHeader, j as AlertDialogOverlay, t as AlertDialogPortal, fe as AlertDialogPrimitive, We as AlertDialogTitle, N as AlertDialogTrigger, Jc as AnchorHeading, Ts as ApiEndpoint, Uo as ApiOperation, Bi as AppBreadcrumb, ua as AppBreadcrumbItem, Qn as AppBreadcrumbSeparator, gn as AppHeader, sp as AppSidebar, xi as AttributeDialog, Ni as AttributeForm, ra as AttributeValueFormField, Gi as AttributeValuesForm, Nn as AttributeValuesFormFieldSet, ln as AttributesField, za as AttributesFormField, ep as AttributesList, Mc as AudioPlayer, bp as AuthCard, V as Autocomplete, K as AutocompleteChips, Xt as AutocompleteFormField, ge as Avatar, J as AvatarBase, He as AvatarFallback, Oe as AvatarGroup, qe as AvatarImage, Ul as Background, Fi as Badge, lr as BandCard, il as Banner, yo as Barecode, ii as BottomAppBar, Pr as Breadcrumb, gi as BreadcrumbEllipsis, Pa as BreadcrumbItem, Gp as BreadcrumbLink, rn as BreadcrumbList, Ao as BreadcrumbPage, Sr as BreadcrumbSeparator, Vo as BreakdownCard, Im as Button, Ha as ButtonGroup, zm as CODE_LANGUAGES, fh as CSS, ka as Calendar, Bp as CalendarDayButton, Jd as Camera, Ca as Card, Pt as CardAction, zc as CardContent, gf as CardDescription, Ku as CardFooter, Ud as CardHeader, Ll as CardTitle, U as Carousel, sa as CarouselAutoplayToggle, D as CarouselContent, q as CarouselIndicators, z as CarouselItem, te as CarouselNext, pe as CarouselPrevious, Mi as ChatComposer, Be as ChatComposerAttachmentChip, oe as ChatComposerAttachmentList, Te as ChatComposerAttachments, bi as ChatConversationItem, Lt as ChatInbox, Wi as ChatLayoutContext, bn as ChatMarkdown, Za as ChatMessage, cn as ChatMessageList, Ra as ChatMessageSeparator, Mn as ChatReactionGroup, ke as ChatReplyQuote, dp as ChatThread, ec as ChatThreadHeader, $f as ChatTypingIndicator, wp as ChatWidget, Yn as CheckCardField, ma as CheckCardFormField, Pe as Checkbox, gs as CheckboxFormField, p as CheckboxGroup, Ko as CheckboxGroupFormField, jo as ChecklistCard, Zm as Chip, A as ChipGroupField, is as ChipGroupFormField, jr as ChoiceCardGroup, Rr as ChoiceCardGroupFormField, Do as CircularProgress, Rd as CodeBlock, ai as CodeGroup, pr as Collapsible, si as CollapsibleContent, Bd as CollapsibleTrigger, Tp as ColorField, Vf as ColorFormField, Hi as ColorSwatches, H as Combobox, m as ComboboxChip, Fe as ComboboxChips, f as ComboboxChipsInput, S as ComboboxCollection, s as ComboboxContent, I as ComboboxEmpty, Zc as ComboboxField, kd as ComboboxFormField, we as ComboboxGroup, qn as ComboboxInput, re as ComboboxItem, Se as ComboboxLabel, F as ComboboxList, di as ComboboxPrimitive, v as ComboboxSeparator, kr as ComboboxTrigger, b as ComboboxValue, Xu as Command, qd as CommandDialog, Nf as CommandEmpty, Vl as CommandGroup, qs as CommandInput, wu as CommandItem, ld as CommandList, sf as CommandSeparator, Z as CommandShortcut, xr as CompareCard, Zu as CompareSlider, Nc as ConfirmDialog, Eu as ConfirmationDialog, Cl as ContactDialog, ks as ContactType, Mu as Contacts, _d as ContactsFormField, Lo as ContextMenu, vf as ContextMenuCheckboxItem, ar as ContextMenuContent, $r as ContextMenuGroup, Ju as ContextMenuItem, Md as ContextMenuLabel, Vr as ContextMenuPortal, Gd as ContextMenuRadioGroup, zl as ContextMenuRadioItem, ss as ContextMenuSeparator, Yo as ContextMenuShortcut, _a as ContextMenuSub, Ot as ContextMenuSubContent, Vc as ContextMenuSubTrigger, ys as ContextMenuTrigger, hp as CopyButton, ic as CopyValue, Ou as CountBadge, dd as CountdownTimer, tf as CountryField, id as CountryFormField, an as CrewCard, Il as CurrencyField, Hd as CurrencyFormField, Ys as CustomAlertDialog, Ff as CustomDialog, wl as DATE_RANGE_PRESET_IDS, hs as DAY_GROUP_ORDER, mo as DAY_OF_WEEK_FALLBACKS, er as DEFAULT_ASPECT_PRESETS, tc as DEFAULT_COLOR, tr as DEFAULT_FILTER_STATE, Lr as DEFAULT_MAX_VISIBLE_CHIPS, yi as DEFAULT_PERSISTENCE_CONFIG, La as DEFAULT_PRESET_CONFIG, Jp as DEFAULT_VALIDATION_RULES, Ws as DataGrid, od as DataGridColumnsMenu, To as DataGridMenuItem, _r as DataGridMenuLabel, po as DataGridMenuSeparator, _f as DataTable, Bc as DataTableColumnHeader, Rl as DataTablePagination, Wd as DataTableServerFooter, qu as DataTableViewOptions, rc as DateField, Zl as DateFieldContent, As as DateFormField, ho as DateRangeField, dl as DateRangeFormField, Yr as DayGroupedList, Zd as DaySeparator, Xd as DefaultDocLink, ko as DeltaListCard, ed as Description, dt as Dialog, ot as DialogClose, lt as DialogContent, ut as DialogDescription, nt as DialogFooter, at as DialogHeader, it as DialogOverlay, tt as DialogPortal, zs as DialogScrollContent, ft as DialogTitle, st as DialogTrigger, yh as DndOverlay, ph as DndProvider, Bo as Doc, Ls as DocArticle, go as DocChildCards, Oo as DocCopyMarkdown, br as DocCopyPage, tn as DocEmpty, Up as DocHeader, Wl as DocLink, $u as DocNav, ca as DocPage, mi as DocPager, Qo as DocProgress, Yf as DocProvider, xc as DocSearch, Xn as DocSeeAlso, Cf as DocSidebar, jt as DocSkipLink, Ss as DocToc, us as DocTopbar, $ as DragHandle, $ as SortableHandle, Sh as Draggable, dh as DraggableDroppable, mp as Drawer, Va as DrawerClose, dn as DrawerContent, Cn as DrawerDescription, qi as DrawerFooter, lu as DrawerHeader, np as DrawerOverlay, eo as DrawerPortal, Bt as DrawerTitle, Fn as DrawerTrigger, Ct as DropdownMenu, vt as DropdownMenuCheckboxItem, yt as DropdownMenuContent, xt as DropdownMenuGroup, wt as DropdownMenuItem, _t as DropdownMenuLabel, pt as DropdownMenuPortal, ht as DropdownMenuRadioGroup, gt as DropdownMenuRadioItem, bt as DropdownMenuSeparator, St as DropdownMenuShortcut, jm as DropdownMenuSub, _m as DropdownMenuSubContent, Am as DropdownMenuSubTrigger, mt as DropdownMenuTrigger, vh as Droppable, Qc as DurationField, Dc as DurationFormField, hf as EmailField, Rc as EmailFormField, Re as EmojiList, je as EmojiPicker, ch as EmptyState, qc as EnrolmentSecret, xa as EntityHeader, dm as ErrorState, Vs as EventCalendar, ef as EventCalendarProvider, Kp as EventCard, Cs as EventChip, xn as ExtendedLabel, Ms as FAB_TONES, Wf as FAB_VARIANTS, sn as FILTER_CONTAINER_BREAKPOINTS, No as FILTER_VALUE_WORDS, un as FIRST_PAGE, Op as Fab, pl as FabDock, T as FabMenu, Go as FacetGroup, Fa as FeatureCard, _p as Field, $o as Figure, _i as FileCard, xf as FileList, Wc as FileListField, Ft as FileListFormField, wa as FileListS3Field, Es as FileListS3FormField, ms as FilePreview, fr as FilePreviewHttpError, oi as FilePreviewUnsafeUrlError, Wo as FilesFormField, bf as Filter, sr as FilterActions, zo as FilterChips, Ps as FilterContent, hl as FilterDialog, Ol as FilterDrawer, oc as FilterField, Uc as FilterFormField, Kf as FilterGroup, Ap as FilterGroups, Lu as FilterInline, Sd as FilterPopover, ti as FilterPresets, Pd as FilterProvider, nl as FilterSheet, jc as FilterSheetTrigger, Sa as FormField, kt as FormSection, nn as FunnelCard, W as Gallery, Wp as GaugeCard, Na as GoalCard, hi as HeatweekCard, Yp as HelperText, Ri as Hero, El as HighlightText, Nr as HistogramCard, em as HoverCard, Qp as HoverCardContent, $p as HoverCardTrigger, Yd as HydrateLoading, Ia as IMAGE_CROP_ASPECTS, fa as IMAGE_EDITOR_FILTERS, G as Icon, Lm as IconButton, jf as IconLinkButton, Hm as IconSpritesProvider, vi as ImageCropper, Ir as ImageCropperDialog, Ai as ImageEditor, iu as ImageEditorDialog, en as ImageField, qt as ImageFormField, gu as ImageS3Field, ea as ImageS3FormField, va as InlineEdit, bs as InlineEditFormField, rt as Input, i as InputGroup, l as InputGroupAddon, g as InputGroupButton, Xo as InputGroupField, cs as InputGroupFormField, k as InputGroupInput, Ye as InputGroupText, e as InputGroupTextarea, du as InputOTP, Ht as InputOTPGroup, $l as InputOTPSeparator, Ti as InputOTPSlot, Lf as JsonViewer, mf as Kanban, Vd as KanbanProvider, d as Kbd, xp as KbdShortcut, Xp as Label, Fu as LanguageSwitcher, Zn as LatencyCard, bo as LightboxGallery, kc as LinkButton, Fr as LinkCard, eu as ListDetailsDetails, Xi as ListDetailsLayout, Ut as ListDetailsList, fu as ListDetailsTrigger, Dt as ListEmpty, ga as ListPane, Jo as ListPaneItem, hu as ListTile, Su as LoadMoreButton, Me as LoadingIndicator, Hr as LocalizedTextFields, ei as LocalizedTextFormField, qr as MOONLIGHT_DARK, ps as MOONLIGHT_DAY, ri as Markdown, $n as MediaCard, ee as MediaPlayer, Hn as MediaPlayerHost, so as MediaPlayerLightbox, lp as MediaPlayerMini, vn as MediaTranscript, na as MentionList, Tf as Menubar, Ic as MenubarCheckboxItem, td as MenubarContent, Qd as MenubarGroup, sl as MenubarItem, Dd as MenubarLabel, Kl as MenubarMenu, Qs as MenubarPortal, md as MenubarRadioGroup, Hu as MenubarRadioItem, Nl as MenubarSeparator, bl as MenubarShortcut, Cc as MenubarSub, ku as MenubarSubContent, Rf as MenubarSubTrigger, ff as MenubarTrigger, Id as MermaidDiagram, da as MessageCard, wr as MiniGallery, kf as MiniMonth, Po as NativeSelect, nr as NativeSelectOptGroup, Xr as NativeSelectOption, En as NavigationRail, Hp as NetworkUploadField, Hc as NetworkUploadFormField, Tt as NonceProvider, Vi as NoticeCard, Qu as NotificationRow, qo as Notifications, ad as NowIndicator, ip as NumberField, Da as NumberFormField, ki as OfferCard, vr as OpeningHours, Eo as OpeningHoursDialog, $t as OpeningHoursFormField, pi as OptionTile, Yi as OtpField, Vp as OtpFormField, ru as OverlayCard, yu as PHONE_COUNTRIES, De as PROGRESS_THICKNESSES, Ne as PROGRESS_TONES, la as PaceCard, Ma as Pager, wo as Pagination, zp as PaginationBar, gr as PaginationContent, fo as PaginationEllipsis, Io as PaginationFirst, ir as PaginationItem, Qr as PaginationLast, jd as PaginationLink, Br as PaginationNext, os as PaginationPrevious, Ga as PaneLayout, ro as PaneLayoutContent, ap as PaneLayoutPane, mn as PaneLayoutTrigger, dr as ParamTable, fi as PasswordField, Ar as PasswordFormField, pm as PdfReader, Jn as PercentField, oa as PercentFormField, Dn as PeriodCards, In as PhoneField, to as PhoneFormField, Kt as PlaceCard, Cm as Popover, Em as PopoverAnchor, vm as PopoverContent, xm as PopoverTrigger, gp as PostalAddress, ac as PostalAddressDialog, kp as PostalAddressFormField, $i as PricingCard, kn as ProfileCard, E as Progress, as as ProgressField, wf as QRCode, ju as QuestionCard, vu as Quiz, Vn as QuoteCard, Wn as RESERVED_TONES, o as RadioGroup, P as RadioGroupBase, L as RadioGroupField, lo as RadioGroupFormField, a as RadioGroupItem, zi as RankCard, Ns as RatingField, ml as RatingFormField, Di as RatioCard, oo as ReceiptCard, zn as RecoveryCodes, Al as RelativeTime, Dl as RepeatableGroup, Iu as RepeatableGroupFormField, jp as ResizableGroup, sc as ResizablePanel, vp as ResizableSeparator, bd as ResponsiveButton, Qa as ResponsiveGrid, el as ResponsiveLinkButton, cp as ReviewCard, Li as RichTextEditor, Gn as RichTextEditorFormField, Fp as S3UploadField, Zf as S3UploadFormField, hn as SHAPE_NAMES, Le as SHAPE_TONES, se as SHAPE_VARIANTS, _n as ScoreCard, sm as ScrollArea, nm as ScrollBar, zr as ScrollProgress, _c as ScrollToLatestButton, af as ScrollToTop, he as SearchField, xd as SearchFormField, Mr as SeeAlso, Dp as Select, fl as SelectContent, gc as SelectField, xu as SelectFieldTrigger, Rp as SelectFormField, Af as SelectGroup, Oc as SelectItem, $c as SelectLabel, js as SelectScrollDownButton, Uf as SelectScrollUpButton, yd as SelectSeparator, Pu as SelectTrigger, Tl as SelectValue, Um as Separator, Oa as ServerTable, Ae as Shape, lm as Sheet, fm as SheetClose, rm as SheetContent, mm as SheetDescription, im as SheetFooter, am as SheetHeader, um as SheetTitle, cm as SheetTrigger, uc as ShortcutCard, Oi as Sidebar, nu as SidebarContent, Gt as SidebarFooter, mu as SidebarHeader, Qi as SidebarMenuItem, qf as SidebarMenuLabel, lh as Skeleton, Ad as SkeletonAvatar, rr as SkeletonCard, Fo as SkeletonTable, Zr as SkeletonText, Kc as SkipLink, Wa as Slider, pn as SliderField, Ac as SliderFormField, xh as Sortable, mr as SortableList, So as SortableListFormField, Th as SortableProvider, tu as SparkbarCard, Wt as Sparkline, Pm as Spinner, R as SplitButton, Pp as SplitCard, Xf as SpotlightCard, Rs as StackCard, Ka as StatCard, yl as StatusCard, Ge as StatusIndicator, uo as StepDots, kl as Stepper, gl as StepperIndicator, Cd as Steps, Ru as StepsItem, yp as SummaryData, r as Switch, n as SwitchField, Mf as SwitchFormField, Yt as Switcher, zd as TEXT_PREVIEW_MAX_BYTES, of as TIMEZONES, sd as TOOLBAR_TONES, $m as Table, ih as TableBody, oh as TableCaption, eh as TableCell, rh as TableEmpty, sh as TableFooter, th as TableHead, nh as TableHeader, ah as TableRow, ce as Tabs, ue as TabsContent, Ve as TabsList, Ee as TabsTrigger, Ml as TagCard, Jf as Terminal, Qm as TextField, li as TextFormField, Ce as Textarea, x as TextareaField, Dr as TextareaFormField, qm as ThemeToggle, rl as ThreadLayout, pu as ThresholdCard, Vu as TicketCard, yr as TimeField, Us as TimeFormField, Ci as TimePicker, wd as Timeline, Ed as TimelineCard, zu as TimelineItem, cd as TimezoneField, Ks as TimezoneFormField, ha as Toast, Gc as Toaster, ba as Toc, le as Toggle, Km as ToggleGroup, Wm as ToggleGroupItem, Gm as ToggleGroupSeparator, ym as Toolbar, Dm as ToolbarButton, Om as ToolbarGroup, gm as ToolbarItemSlot, wm as ToolbarMore, B as ToolbarPair, Sm as ToolbarSeparator, Tm as ToolbarToggle, om as ToolbarToggleGroup, tm as ToolbarToggleItem, et as Tooltip, Ze as TooltipContent, $e as TooltipPrimitive, Qe as TooltipProvider, Xe as TooltipTrigger, ur as TopAppBar, Lp as TransferList, Ea as TransferListFormField, Hf as Tree, Ba as TreeItem, ci as TreeSelectField, Er as TreeSelectFormField, Zi as TrendCard, Co as TypingIndicator, Ym as Typography, Tr as URL_PARAM_SEPARATORS, ja as UploadField, Nt as UploadFormField, Yu as UrlField, yf as UrlFormField, xo as VALIDATION_MESSAGES, xs as VALIDATION_PATTERNS, ya as VALIDATION_PRESETS, Sl as answerParts, Df as answeredCount, c as applyMention, Qf as areFilterValuesEqual, hh as arrayMove, aa as badgeVariants, Fm as buttonVariants, yc as capturePhotoFromVideo, Jl as chatGroupPosition, Ua as cityLine, no as clampNumber, Gf as clampRating, Ip as cleanFilterValues, Pl as clearFromStorage, wc as clearPersistedFilterValues, $s as clearPresets, _h as closestCenter, Ie as collectComposerAttachments, Xm as composeRefs, ul as contactTypeLabel, su as convertAttributesToRecord, Bm as copyToClipboard, fc as countActiveFilters, lf as countdownTone, mc as countryOptions, Hl as createCameraStore, Kr as createCodeErrorMap, tp as createSorting, At as createValidationRule, qp as cropImageToFile, rf as dataTableFeatures, rs as dayGroupOf, Ro as dayOfWeekLabel, Gl as daySeparatorVariants, Zs as daysAgo, tl as debounce, fs as defaultCodeOf, Xs as docActions, fd as docSelectors, uf as docSlice, op as downloadText, wn as exampleNational, ds as expandEmojiShortcodes, Jr as fileKind, Du as filterDocNav, h as filterMentions, If as findActiveDocHref, ao as findActiveMenuItem, Of as findCountry, Pc as findDocChildren, al as findDocPager, Td as findDocSiblings, nc as findTreeNode, $a as firstPage, Ec as flagEmoji, Bu as flattenDocNav, pp as flattenVisibleTree, Rt as formatAttributeDisplayedValue, Yl as formatAttributesValues, bc as formatClock, pd as formatDayLabel, ns as formatFileSize, Cp as formatFilterValue, Ji as formatInternational, uu as formatNational, _l as formatRelativeTime, _o as formatStatDelta, Ui as generatePresetId, Js as getCameraDevices, co as getDefaultValuesFromSchema, Un as getFilterField, jn as getFilterFieldLabel, ta as getGroupFields, on as getRadianAngle, _u as getUngroupedFields, Yc as getValidationError, Jt as getVisibleFields, Ds as groupByDay, Mt as groupSecret, ni as handleDocKeyDown, Xa as hasActiveFilters, Ef as hasValidationErrors, yn as haveFiltersChanged, Dh as headingText, ts as highlightCode, Ch as horizontalListSortingStrategy, Q as iconButtonVariants, Q as variants, ct as inputDefaultClassNames, wh as insertIds, ll as isAnswerCorrect, Os as isAnswered, ud as isCameraSupported, jl as isDocPathActive, Fd as isDocSearchHotkey, Gu as isEmail, es as isEmptyRequired, Mm as isExternalHref, au as isFieldVisible, up as isFilterValueEmpty, Pn as isFiltered, Bn as isMenuItemActive, df as isNewDay, Sn as isNewQuery, Vt as isPossiblePhoneNumber, fn as isPostalAddressEmpty, Wr as isTypingTarget, Kd as isUrl, Ql as isValidPhoneNumber, Mp as joinTerminalLines, vs as listPaneItemClasses, xl as loadFromStorage, Lc as loadFromUrl, Au as loadPersistedFilterValues, hd as loadPresets, Sc as localIsoDay, Nd as localizedTextErrors, ji as mapFilterFieldToFieldConfig, O as mentionQueryAt, hc as minutesOfDay, vd as minutesToParts, vl as navLabel, Ki as nextPage, fp as normalizeHex, Bl as normalizeUrl, bu as nowPosition, or as openingHoursSchema, Zt as paginationItems, cu as pagingNames, zt as paramsFromQuery, Bf as parseAnswerNumber, Hs as parseCurrencyInput, cl as parseFromUrlParams, Fc as parseJsonSource, Ln as parseNumberInput, wi as parsePhoneInput, On as partitionMenu, Nu as partsToMinutes, zf as persistFilterValues, gh as pointerWithin, rp as postalAddressCountryName, ol as prettyJson, Xl as previousPage, Si as queryFromParams, Pi as queryKey, ia as readCursor, io as recoveryCodesText, uh as rectIntersection, cf as requestCameraPermissions, Rm as resolveCodeLanguage, Fs as resolveStepState, Mo as rotateSize, Gr as sanitizeHref, pf as savePresets, Bs as saveToStorage, Tc as scoreBand, Aa as scorePassword, Xc as scoreQuiz, Od as serializeToUrlParams, Kn as serverPagination, Ja as shortcutGlyph, Nm as slugify, Sf as sonnerToast, pa as sortPresets, ve as splitAvatarOverflow, ie as statusToneDotClass, Tn as stepNumber, cc as stripAnsi, Or as tableFilters, vc as timezoneLabel, Cu as timezoneOffset, Is as toDate, Ii as toE164, dc as toPdfjsParams, Sp as toPdfjsSource, Et as toast, _s as toasts, me as toggleVariants, hr as typingIndicatorVariants, Jm as typographyVariants, Uu as updateUrlWithFilters, Tu as useCamera, Pf as useCameraContext, be as useChatComposerAttachments, ou as useChatLayout, ws as useCodeResolver, Ta as useColumnHelpers, w as useComboboxAnchor, It as useDeleteRowsHandler, Eh as useDndActiveId, mh as useDndItem, cr as useDoc, Np as useDocContext, rd as useEventCalendar, pc as useEventCalendarContext, ls as useFilter, Ur as useFilterContext, Zo as useFilterSelector, Wu as useKanban, Fl as useKanbanContext, Ei as useListDetails, An as useMediaPlayer, u as useMediaPlayerHost, nf as useNow, lc as useOptionalDocContext, Ho as usePageTitleFocus, Rn as usePaneLayout, Ya as usePdfSource, Vm as useSpriteBase, bm as useToolbarEntry, hm as useToolbarMoreAnchor, Gs as useToolbarOverflow, km as useToolbarSpilled, M as useTrackChapters, de as useTrackThumbnails, Ep as useTree, nd as validateAllFilters, $d as validateField, ql as validateFilterValue, bh as verticalListSortingStrategy, ui as withoutFilters, gd as wrongIds };
|
package/dist/editor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./ui.utils-CAnKTCw5.js";
|
|
2
2
|
import { t } from "./utils-Bcd2Z3ea.js";
|
|
3
|
-
import { A as n, B as r, C as i, Cn as a, D as o, Dn as s, E as c, En as l, Er as u, F as d, Fn as f, G as p, H as m, In as h, J as g, K as _, Ln as v, M as y, N as b, O as x, On as S, P as C, Qi as ee, Qn as te, Rn as w, S as T, T as E, Tn as ne, Tr as re, U as D, V as ie, Vn as O, W as ae, X as oe, Xi as se, Y as ce, Yi as le, _n as ue, a as de, an as fe, bn as pe, c as me, d as he, g as ge, hr as _e, i as ve, in as ye, j as be, k as xe, l as Se, m as Ce, mn as we, p as Te, pn as Ee, q as De, rn as Oe, s as ke, t as Ae, vn as je, vr as Me, w as Ne, wn as Pe, x as Fe, xn as Ie, yn as Le, z as Re, zn as ze } from "./use-chat-composer-
|
|
3
|
+
import { A as n, B as r, C as i, Cn as a, D as o, Dn as s, E as c, En as l, Er as u, F as d, Fn as f, G as p, H as m, In as h, J as g, K as _, Ln as v, M as y, N as b, O as x, On as S, P as C, Qi as ee, Qn as te, Rn as w, S as T, T as E, Tn as ne, Tr as re, U as D, V as ie, Vn as O, W as ae, X as oe, Xi as se, Y as ce, Yi as le, _n as ue, a as de, an as fe, bn as pe, c as me, d as he, g as ge, hr as _e, i as ve, in as ye, j as be, k as xe, l as Se, m as Ce, mn as we, p as Te, pn as Ee, q as De, rn as Oe, s as ke, t as Ae, vn as je, vr as Me, w as Ne, wn as Pe, x as Fe, xn as Ie, yn as Le, z as Re, zn as ze } from "./use-chat-composer-CkEPJo5I.js";
|
|
4
4
|
import { f as Be } from "./dialog-CkIYpJXk.js";
|
|
5
5
|
import { c as Ve, i as He, n as Ue, o as We, r as Ge, s as Ke, t as qe, u as k } from "./dropdown-menu-BC5Tbhb9.js";
|
|
6
6
|
import { c as Je, o as Ye, s as Xe } from "./toolbar-items-CqHvlTU8.js";
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { t as e } from "./utils-Bcd2Z3ea.js";
|
|
2
|
+
import { t } from "./use-material-translation-DkxcLbLM.js";
|
|
3
|
+
import { i as n } from "./escape-owner-CripBce_.js";
|
|
4
|
+
import { a as r, i, l as a, n as o, r as s, s as c } from "./state-scenes-Be9w_3an.js";
|
|
5
|
+
import { AlertCircle as l, Construction as u, FileQuestion as d, PackageOpen as f, Search as p, ShieldAlert as m, WifiOff as h } from "lucide-react";
|
|
6
|
+
import { Suspense as g, lazy as _ } from "react";
|
|
7
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
8
|
+
import { STATE_ACCENT as b, STATE_ICON as x, stateCopy as S } from "@nxgt/material-core/states";
|
|
9
|
+
//#region lib/components/ui/feedback/state-frame/state-icon.tsx
|
|
10
|
+
var C = {
|
|
11
|
+
"package-open": f,
|
|
12
|
+
search: p,
|
|
13
|
+
"file-question": d,
|
|
14
|
+
"shield-alert": m,
|
|
15
|
+
"alert-circle": l,
|
|
16
|
+
"wifi-off": h,
|
|
17
|
+
construction: u
|
|
18
|
+
};
|
|
19
|
+
function w({ kind: e }) {
|
|
20
|
+
let t = C[x[e]];
|
|
21
|
+
return /* @__PURE__ */ v(t, { "aria-hidden": "true" });
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region lib/components/ui/feedback/state-frame/state-scene-illustration.tsx
|
|
25
|
+
var T = _(async () => ({ default: (await import("./illustration-DfPJtkFY.js").then((e) => e.n)).Illustration }));
|
|
26
|
+
function E({ scene: e, size: t }) {
|
|
27
|
+
return /* @__PURE__ */ v(g, {
|
|
28
|
+
fallback: /* @__PURE__ */ v("div", {
|
|
29
|
+
"data-slot": "illustration",
|
|
30
|
+
"data-size": t,
|
|
31
|
+
"aria-hidden": "true"
|
|
32
|
+
}),
|
|
33
|
+
children: /* @__PURE__ */ v(T, {
|
|
34
|
+
scene: e,
|
|
35
|
+
size: t
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region lib/components/ui/feedback/state-frame/state-frame.tsx
|
|
41
|
+
function D({ kind: t, size: l = "default", illustration: u, icon: d, title: f, headingLevel: p, description: m, actions: h, className: g, children: _, ...x }) {
|
|
42
|
+
let S = l === "inline", C = l === "compact" || S, T = e("flex shrink-0 items-center justify-center rounded", r[b[t]], S ? "size-8 rounded-full [&_svg]:size-4" : C ? "size-10 [&_svg]:size-5" : "size-16 [&_svg]:size-7"), D = a(), O = u === !0 || s(u, D?.sets) ? s(u, D?.sets) ? u : o[t] : null, k = u == null && d == null && l === "default" ? c(D, o[t]) : void 0, A = S ? null : O ?? (k ? o[t] : null), j = null;
|
|
43
|
+
return j = u === !1 ? null : A ? /* @__PURE__ */ v(E, {
|
|
44
|
+
scene: A,
|
|
45
|
+
size: C ? "sm" : "md"
|
|
46
|
+
}) : u != null && u !== !0 && !s(u, D?.sets) ? u : d == null ? C ? /* @__PURE__ */ v("div", {
|
|
47
|
+
className: T,
|
|
48
|
+
children: /* @__PURE__ */ v(w, { kind: t })
|
|
49
|
+
}) : /* @__PURE__ */ v(i, { kind: t }) : /* @__PURE__ */ v("div", {
|
|
50
|
+
className: T,
|
|
51
|
+
children: d
|
|
52
|
+
}), /* @__PURE__ */ y("div", {
|
|
53
|
+
"data-kind": t,
|
|
54
|
+
"data-size": l,
|
|
55
|
+
className: e("flex text-foreground", S ? "flex-row items-center gap-3 px-3 py-2.5 text-start" : "flex-col items-center justify-center text-center", !S && (C ? "gap-3 px-4 py-6" : "min-h-[22rem] gap-5 p-8"), g),
|
|
56
|
+
...x,
|
|
57
|
+
children: [
|
|
58
|
+
j,
|
|
59
|
+
(f != null || m != null) && /* @__PURE__ */ y("div", {
|
|
60
|
+
className: e("flex flex-col", S ? "min-w-0 flex-1 gap-0.5" : "max-w-sm gap-2"),
|
|
61
|
+
children: [f != null && /* @__PURE__ */ v(n, {
|
|
62
|
+
as: p ? `h${p}` : void 0,
|
|
63
|
+
variant: S ? "normal" : C ? "title-medium" : "headline-small",
|
|
64
|
+
className: e("tracking-tight text-balance", S && "font-medium"),
|
|
65
|
+
children: f
|
|
66
|
+
}), m != null && /* @__PURE__ */ v(n, {
|
|
67
|
+
variant: S ? "body-small" : "body-medium",
|
|
68
|
+
className: "text-pretty",
|
|
69
|
+
children: m
|
|
70
|
+
})]
|
|
71
|
+
}),
|
|
72
|
+
_,
|
|
73
|
+
h != null && /* @__PURE__ */ v("div", {
|
|
74
|
+
className: e("flex flex-wrap items-center gap-2", S ? "shrink-0" : "mt-1 justify-center"),
|
|
75
|
+
children: h
|
|
76
|
+
})
|
|
77
|
+
]
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region lib/components/ui/feedback/empty-state/empty-state.tsx
|
|
82
|
+
function O({ kind: e = "empty", size: n = "default", illustration: r, icon: i, title: a, description: o, action: s, ...c }) {
|
|
83
|
+
let l = S(e, "empty-state"), { t: u } = t(), d = o ?? (a == null ? u(l.descriptionKey, l.description) : void 0);
|
|
84
|
+
return /* @__PURE__ */ v(D, {
|
|
85
|
+
"data-slot": "empty-state",
|
|
86
|
+
"data-variant": e,
|
|
87
|
+
kind: e,
|
|
88
|
+
size: n,
|
|
89
|
+
illustration: r,
|
|
90
|
+
icon: i,
|
|
91
|
+
title: a ?? u(l.titleKey, l.title),
|
|
92
|
+
description: d,
|
|
93
|
+
actions: s,
|
|
94
|
+
...c
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
98
|
+
export { D as n, O as t };
|
package/dist/hooks.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-C6HhBw34.js";
|
|
2
2
|
import { a as t, i as n, o as r, r as i, s as a } from "./theme-store-CSl51uNH.js";
|
|
3
|
-
import { n as o, t as s } from "./use-theme-
|
|
3
|
+
import { n as o, t as s } from "./use-theme-DMcyJ52N.js";
|
|
4
4
|
import { t as c } from "./number.utils-BG_eEt5g.js";
|
|
5
5
|
import { n as l, r as u, t as d } from "./use-heading-spy-DXo6IOX9.js";
|
|
6
6
|
import { r as f } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import { DEFAULT_SPRITE_BASE as r, IconRefError as i, isSafeSpriteBase as a } from "@nxgt/material-core/icons";
|
|
4
|
+
//#region lib/components/ui/primitives/icon/icon-sprites.tsx
|
|
5
|
+
var o = e(r);
|
|
6
|
+
function s({ base: e, children: t }) {
|
|
7
|
+
if (!a(e)) throw new i("base", `IconSpritesProvider: ${JSON.stringify(e)} is not root-relative: use a path such as "/assets/icons/sprites/".`);
|
|
8
|
+
return /* @__PURE__ */ n(o, {
|
|
9
|
+
value: e,
|
|
10
|
+
children: t
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function c() {
|
|
14
|
+
return t(o);
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { c as n, s as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as e } from "./scene-svg-DJKa5vsg.js";
|
|
2
|
+
import { useMemo as t } from "react";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { buildIconScene as r } from "@nxgt/material-core/backgrounds/icons";
|
|
5
|
+
//#region lib/backgrounds/background/partials/icons-scene.tsx
|
|
6
|
+
function i({ seed: i, iconsKey: a, styleKey: o, motifKey: s, spriteBase: c, animated: l }) {
|
|
7
|
+
return /* @__PURE__ */ n(e, { node: t(() => r({
|
|
8
|
+
seed: i,
|
|
9
|
+
icons: JSON.parse(a) ?? void 0,
|
|
10
|
+
iconStyle: JSON.parse(o) ?? void 0,
|
|
11
|
+
iconMotif: JSON.parse(s),
|
|
12
|
+
spriteBase: c,
|
|
13
|
+
animated: l
|
|
14
|
+
}), [
|
|
15
|
+
i,
|
|
16
|
+
a,
|
|
17
|
+
o,
|
|
18
|
+
s,
|
|
19
|
+
c,
|
|
20
|
+
l
|
|
21
|
+
]) });
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { i as default };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
|
|
2
|
+
import { t } from "./is-production-GLw59WU8.js";
|
|
3
|
+
import { n } from "./icon-sprites-CZ3vcD7P.js";
|
|
4
|
+
import { c as r, i, l as a, s as o, t as s } from "./state-scenes-Be9w_3an.js";
|
|
5
|
+
import { t as c } from "./scene-svg-DJKa5vsg.js";
|
|
6
|
+
import { Suspense as l, lazy as u, useId as d, useMemo as f } from "react";
|
|
7
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
8
|
+
import { IconRefError as m } from "@nxgt/material-core/icons";
|
|
9
|
+
import { ILLUSTRATION_SCENES as h, buildIllustration as g, illustrationScene as _ } from "@nxgt/material-core/illustrations";
|
|
10
|
+
//#region lib/illustrations/use-illustration.ts
|
|
11
|
+
function v(e, t, i) {
|
|
12
|
+
let s = a(), c = i ?? (x(e) ? void 0 : r(s, e)), l = n(), u = `ill${d().replace(/[^\w-]/g, "-")}`;
|
|
13
|
+
return {
|
|
14
|
+
built: f(() => {
|
|
15
|
+
let n = Object.fromEntries(Object.entries(t).filter(([, e]) => e !== void 0));
|
|
16
|
+
try {
|
|
17
|
+
let t = _(e, {
|
|
18
|
+
...s?.iconStyle === void 0 ? {} : { iconStyle: s.iconStyle },
|
|
19
|
+
...o(s, e),
|
|
20
|
+
...n
|
|
21
|
+
}, c);
|
|
22
|
+
return {
|
|
23
|
+
spec: t,
|
|
24
|
+
flat: g(t, {
|
|
25
|
+
idPrefix: u,
|
|
26
|
+
spriteBase: l
|
|
27
|
+
})
|
|
28
|
+
};
|
|
29
|
+
} catch (e) {
|
|
30
|
+
if (!(e instanceof m)) throw e;
|
|
31
|
+
return b(`Illustration: ${e.message} Drawing the built-in art instead.`), null;
|
|
32
|
+
}
|
|
33
|
+
}, [
|
|
34
|
+
e,
|
|
35
|
+
c,
|
|
36
|
+
JSON.stringify([
|
|
37
|
+
t,
|
|
38
|
+
o(s, e),
|
|
39
|
+
s?.iconStyle
|
|
40
|
+
]),
|
|
41
|
+
u,
|
|
42
|
+
l
|
|
43
|
+
]),
|
|
44
|
+
idPrefix: u,
|
|
45
|
+
base: l
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
var y = /* @__PURE__ */ new Set();
|
|
49
|
+
function b(e) {
|
|
50
|
+
t() || y.has(e) || (y.add(e), console.warn(e));
|
|
51
|
+
}
|
|
52
|
+
var x = (e) => h.includes(e), S = /* @__PURE__ */ e({ Illustration: () => w }), C = u(() => import("./plated-illustration-C3z0hP9U.js"));
|
|
53
|
+
function w({ scene: e, scenes: t, size: n = "md", title: r, animated: a, hero: o, satellites: u, iconStyle: d, tone: f, duotone: m, className: h, ...g }) {
|
|
54
|
+
let { built: _, idPrefix: y, base: b } = v(e, {
|
|
55
|
+
hero: o,
|
|
56
|
+
satellites: u,
|
|
57
|
+
iconStyle: d,
|
|
58
|
+
tone: f,
|
|
59
|
+
duotone: m
|
|
60
|
+
}, t);
|
|
61
|
+
return /* @__PURE__ */ p("div", {
|
|
62
|
+
"data-slot": "illustration",
|
|
63
|
+
...g,
|
|
64
|
+
...r ? {
|
|
65
|
+
role: "img",
|
|
66
|
+
"aria-label": r
|
|
67
|
+
} : { "aria-hidden": !0 },
|
|
68
|
+
"data-scene": e,
|
|
69
|
+
"data-size": n,
|
|
70
|
+
"data-animated": a ? "" : void 0,
|
|
71
|
+
className: h,
|
|
72
|
+
children: _ ? /* @__PURE__ */ p(l, {
|
|
73
|
+
fallback: /* @__PURE__ */ p(c, { node: _.flat }),
|
|
74
|
+
children: /* @__PURE__ */ p(C, {
|
|
75
|
+
spec: _.spec,
|
|
76
|
+
idPrefix: y,
|
|
77
|
+
base: b
|
|
78
|
+
})
|
|
79
|
+
}) : /* @__PURE__ */ p(i, {
|
|
80
|
+
kind: s[e] ?? "empty",
|
|
81
|
+
className: "h-full w-full"
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
export { S as n, w as t };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { o as e } from "./state-scenes-Be9w_3an.js";
|
|
2
|
+
import { t } from "./illustration-DfPJtkFY.js";
|
|
3
|
+
import { ILLUSTRATION_SCENES as n, SUGGESTED_ICONS as r } from "@nxgt/material-core/illustrations";
|
|
4
|
+
export { n as ILLUSTRATION_SCENES, t as Illustration, e as IllustrationDefaults, r as SUGGESTED_ICONS };
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { CelestialPreset } from '@nxgt/material-core/backgrounds';
|
|
2
|
+
/** The sky presets, drawn from core's `/backgrounds/celestial`, loaded on demand. */
|
|
3
|
+
export declare const CELESTIAL_PRESETS: readonly ["eclipse", "meteor-shower", "ringed-planet", "northern-lights"];
|
|
4
|
+
/** Whether a preset is celestial: its scene is not in core's registry. */
|
|
5
|
+
export declare const isCelestialPreset: (preset: string) => preset is CelestialPreset;
|
|
1
6
|
/**
|
|
2
7
|
* The presets this library draws: the ids `BackgroundProps.preset` accepts.
|
|
3
|
-
* Core's `BACKGROUND_PRESETS` is the table of all
|
|
8
|
+
* Core's `BACKGROUND_PRESETS` is the table of all 50 presets, and its
|
|
4
9
|
* `SHIPPED_BACKGROUND_PRESETS` the common floor (`gradient`, `grain`) every
|
|
5
|
-
* library draws; this list is `@nxgt/material`'s own and holds
|
|
10
|
+
* library draws; this list is `@nxgt/material`'s own and holds the 50 it draws (`icons` and the four celestial ones included).
|
|
6
11
|
* Any other id draws the gradient, with a warning outside production.
|
|
7
12
|
*/
|
|
8
|
-
export declare const AVAILABLE_BACKGROUND_PRESETS: readonly ["gradient", "grain", "mesh", "aurora", "spotlight", "bokeh", "rays", "halo", "plasma", "glass", "ripples", "blobs", "paper", "linen", "concrete", "marble", "isometric", "blueprint", "dots", "stripes", "low-poly", "topography", "waves", "hexagons", "circuit", "graph-paper", "checker", "diagonal-checker", "chevrons", "shapes", "confetti-grid", "constellation", "halftone", "truchet", "floating", "scatter-icons", "school", "night-sky", "bubbles", "leaves", "science", "music", "travel", "sport", "moon"];
|
|
13
|
+
export declare const AVAILABLE_BACKGROUND_PRESETS: readonly ["gradient", "grain", "mesh", "aurora", "spotlight", "bokeh", "rays", "halo", "plasma", "glass", "ripples", "blobs", "paper", "linen", "concrete", "marble", "isometric", "blueprint", "dots", "stripes", "low-poly", "topography", "waves", "hexagons", "circuit", "graph-paper", "checker", "diagonal-checker", "chevrons", "shapes", "confetti-grid", "constellation", "halftone", "truchet", "floating", "scatter-icons", "school", "night-sky", "bubbles", "leaves", "science", "music", "travel", "sport", "moon", "icons", "eclipse", "meteor-shower", "ringed-planet", "northern-lights"];
|
|
9
14
|
export type AvailableBackgroundPreset = (typeof AVAILABLE_BACKGROUND_PRESETS)[number];
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { BackgroundProps } from './types.js';
|
|
2
2
|
export type { BackgroundProps } from './types.js';
|
|
3
3
|
/**
|
|
4
|
-
* A backdrop that centres its children, with a choice of
|
|
4
|
+
* A backdrop that centres its children, with a choice of 50 presets: the
|
|
5
5
|
* superset of the `Background` of `/components` (which has `tone`, `intensity`,
|
|
6
6
|
* `preset` and `animated`). The extra props here are `grain`, `seed`, `fill` and
|
|
7
7
|
* `motif` (`shapes` (any of `MOTIF_SHAPES_ALL`), `density`, `size`, `rotate` (default `false`),
|
|
8
|
-
* `shapeFill`, `opacitySpread`)
|
|
8
|
+
* `shapeFill`, `opacitySpread`) `moon` (`position`, `phase`, `halo`: the `moon` preset, the celestial presets and a `sky`) and `sky` (an overlay: the moon or a celestial preset, over any preset). Its look is plain CSS keyed on
|
|
9
9
|
* `data-background` and `data-*` (`@nxgt/material/backgrounds.css` for the
|
|
10
10
|
* grain), its SVG comes from core as data, and it emits no `style` attribute.
|
|
11
11
|
* Nothing is random or measured, and the SVG ids come from `useId`, so the
|
|
12
12
|
* server and the client render the same markup.
|
|
13
13
|
*
|
|
14
14
|
* A prop you leave out (`preset`, `tone`, `intensity`, `seed`, `motif`, `grain`,
|
|
15
|
-
* `animated`, `moon`) is taken from the nearest theme (`NxgtThemeProvider`, `NxgtTheme`),
|
|
15
|
+
* `animated`, `moon`, `sky`) is taken from the nearest theme (`NxgtThemeProvider`, `NxgtTheme`),
|
|
16
16
|
* then from the defaults above; a prop you pass always wins.
|
|
17
17
|
*
|
|
18
18
|
* `data-background` is set after your props, so a wrapper's own `data-slot`
|
|
19
19
|
* does not unhook the CSS. `preset="grain"` is the gradient plus the grain:
|
|
20
20
|
* `data-preset` says so, `data-background` stays `gradient`.
|
|
21
21
|
*/
|
|
22
|
-
export declare function Background({ children, ref, preset: presetProp, tone: toneProp, intensity: intensityProp, animated: animatedProp, grain: grainProp, seed: seedProp, motif: motifProp, moon: moonProp, fill, ...props }: BackgroundProps): import("react").JSX.Element;
|
|
22
|
+
export declare function Background({ children, ref, preset: presetProp, tone: toneProp, intensity: intensityProp, animated: animatedProp, grain: grainProp, seed: seedProp, motif: motifProp, moon: moonProp, sky: skyProp, icons: iconsProp, iconStyle: iconStyleProp, iconMotif: iconMotifProp, fill, ...props }: BackgroundProps): import("react").JSX.Element;
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import { BackgroundPreset, SceneNode } from '@nxgt/material-core/backgrounds';
|
|
1
|
+
import { BackgroundPreset, SceneNode, SkyPreset } from '@nxgt/material-core/backgrounds';
|
|
2
|
+
import { CelestialSceneProps } from './celestial-scene.js';
|
|
3
|
+
import { IconsSceneProps } from './icons-scene.js';
|
|
4
|
+
/** The `data-layer` of the `sky` overlay: core's `SKY_LAYER`, spelt here so the overlay's builder is not imported eagerly (a test pins them equal). */
|
|
5
|
+
export declare const SKY_LAYER_NAME = "sky-scene";
|
|
6
|
+
/** What `Background` memoises its scenes on, passed down as primitives. */
|
|
7
|
+
export type SceneKeys = Pick<CelestialSceneProps, 'idPrefix' | 'seed' | 'shapesKey' | 'scalarsKey' | 'moonKey'>;
|
|
2
8
|
/**
|
|
3
9
|
* The decorative layers of a preset, all `aria-hidden`, in the order core's
|
|
4
10
|
* `presetLayers` gives: its `data-layer` divs, and its SVG scene where the
|
|
5
|
-
* list says `'scene'`; then the
|
|
6
|
-
*
|
|
7
|
-
*
|
|
11
|
+
* list says `'scene'`; then the `sky` overlay's scene, then the grain
|
|
12
|
+
* overlay. A celestial preset's scene, and the sky, are drawn by a lazily
|
|
13
|
+
* loaded component (`data-celestial` marks both for the stylesheet). Memoised:
|
|
14
|
+
* `Background` passes a preset string and scenes from `useMemo`, so a
|
|
15
|
+
* re-render with the same props leaves the layers alone.
|
|
8
16
|
*/
|
|
9
|
-
export declare const BackgroundLayers: import('react').MemoExoticComponent<({ preset, scene, grain, }: {
|
|
17
|
+
export declare const BackgroundLayers: import('react').MemoExoticComponent<({ preset, scene, grain, sky, icons, ...keys }: {
|
|
10
18
|
preset: BackgroundPreset;
|
|
11
19
|
scene: SceneNode | null;
|
|
12
20
|
grain: SceneNode | null;
|
|
13
|
-
|
|
21
|
+
sky?: SkyPreset;
|
|
22
|
+
/** The `icons` preset's scene, built on demand: it takes the scene layer's place. */
|
|
23
|
+
icons?: IconsSceneProps;
|
|
24
|
+
} & SceneKeys) => import("react").JSX.Element>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SkyPreset } from '@nxgt/material-core/backgrounds';
|
|
2
|
+
export interface CelestialSceneProps {
|
|
3
|
+
/** A celestial preset drawn as the background, or the `sky` overlay's value. */
|
|
4
|
+
name: SkyPreset;
|
|
5
|
+
/** The preset under the sky (its body decides where the sky's goes). */
|
|
6
|
+
base?: string;
|
|
7
|
+
/** `'sky'` draws `name` as the overlay (its ids under `<idPrefix>-sky`). */
|
|
8
|
+
as: 'preset' | 'sky';
|
|
9
|
+
idPrefix: string;
|
|
10
|
+
seed: number;
|
|
11
|
+
/** The keys `Background` memoises its scenes on (see scene-options.ts). */
|
|
12
|
+
shapesKey: string | undefined;
|
|
13
|
+
scalarsKey: string;
|
|
14
|
+
moonKey: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The SVG of a celestial preset or of the `sky` overlay, from core's
|
|
18
|
+
* `/backgrounds/celestial`. This module is the only one that imports that
|
|
19
|
+
* subpath, and `Background` loads it with `lazy`: an app that draws no
|
|
20
|
+
* celestial scene never downloads the builders. Default export, for `lazy`.
|
|
21
|
+
*/
|
|
22
|
+
export default function CelestialScene({ name, as, base, idPrefix, seed, shapesKey, scalarsKey, moonKey, }: CelestialSceneProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconStyleInput } from '@nxgt/material-core/backgrounds';
|
|
2
|
+
import { IconsInput } from '@nxgt/material-core/icons';
|
|
3
|
+
/**
|
|
4
|
+
* What is wrong with an `icons` and `iconStyle` pair, or `null` when the
|
|
5
|
+
* `icons` preset can draw them. It uses only core's `/icons` references (the
|
|
6
|
+
* builder itself loads lazily), and says what `buildIconScene` would throw.
|
|
7
|
+
*/
|
|
8
|
+
export declare function iconsProblem(icons: IconsInput | undefined, iconStyle: IconStyleInput | undefined): string | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconsSceneProps } from './icons-scene.js';
|
|
2
|
+
/**
|
|
3
|
+
* The scene layer of the `icons` preset: the lazily loaded builder inside
|
|
4
|
+
* `[data-scene]`. On a streaming server render the scene is in the first HTML;
|
|
5
|
+
* with `renderToString` the layer stays empty until the chunk has loaded, on
|
|
6
|
+
* the server and on the client alike, so hydration finds the same markup.
|
|
7
|
+
*/
|
|
8
|
+
export declare function IconsLayer(props: IconsSceneProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type IconsSceneProps = {
|
|
2
|
+
seed: number;
|
|
3
|
+
/** `JSON.stringify` of the `icons` prop (`'null'` for none). */
|
|
4
|
+
iconsKey: string;
|
|
5
|
+
/** `JSON.stringify` of the `iconStyle` prop. */
|
|
6
|
+
styleKey: string;
|
|
7
|
+
/** `JSON.stringify` of the motif's fields, in a fixed order. */
|
|
8
|
+
motifKey: string;
|
|
9
|
+
spriteBase: string;
|
|
10
|
+
animated: boolean;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The `icons` preset's scene. Its own module, so the builder (about 2 KB
|
|
14
|
+
* gzipped, with the `/icons` references) is in a chunk of its own that
|
|
15
|
+
* `IconsLayer` loads on demand; the props are strings and primitives so the
|
|
16
|
+
* scene is rebuilt only when a value changes, not when a new object has the
|
|
17
|
+
* same ones.
|
|
18
|
+
*/
|
|
19
|
+
export default function IconsScene({ seed, iconsKey, styleKey, motifKey, spriteBase, animated, }: IconsSceneProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MoonOptions, MotifOptions, SceneOptions } from '@nxgt/material-core/backgrounds';
|
|
2
|
+
type Primitive = string | number | boolean | undefined;
|
|
3
|
+
/** The motif options that are not `shapes`, as one value per key in `SCALAR_KEYS` order (a `useMemo` key once stringified). */
|
|
4
|
+
export declare function scalarValues(motif: MotifOptions | undefined): Primitive[];
|
|
5
|
+
/** The `moon` options as one value per field (`null` when unset), a `useMemo` key once stringified. */
|
|
6
|
+
export declare function moonValues(moon: MoonOptions | undefined): (number | null)[];
|
|
7
|
+
/** The scene options `Background` keys its memo on, parsed back: the three keys are what `scalarValues`, `shapes` and `moonValues` made. */
|
|
8
|
+
export declare function sceneOptions(idPrefix: string, seed: number, shapesKey: string | undefined, scalarsKey: string, moonKey: string): SceneOptions;
|
|
9
|
+
/** The least horizontal gap, as a share of the width, between the base's body and the sky's. */
|
|
10
|
+
export declare const SKY_MIN_GAP = 0.2;
|
|
11
|
+
/**
|
|
12
|
+
* The `moon` options of a `sky` overlay: its own preset's default place, never
|
|
13
|
+
* the base's `moon` options (those stay with the base preset), and mirrored to
|
|
14
|
+
* the other side when the base's body (the `moon` preset or a celestial one, at
|
|
15
|
+
* its default or at `moon.position`) would sit within `SKY_MIN_GAP` of it.
|
|
16
|
+
* `undefined` when the sky has no body to place (`northern-lights`).
|
|
17
|
+
* Only presets with a single body (`moon` and the celestial ones) are avoided:
|
|
18
|
+
* a scatter preset such as `night-sky` or `school` has no fixed place to avoid.
|
|
19
|
+
*/
|
|
20
|
+
export declare function skyMoon(sky: string, base: string, baseMoon: MoonOptions | undefined): MoonOptions | undefined;
|
|
21
|
+
/** The scene options of a `sky`: the base's `motif`, its own seed (`seed + 1`) and `skyMoon`'s place. */
|
|
22
|
+
export declare function skySceneOptions(sky: string, base: string, idPrefix: string, seed: number, shapesKey: string | undefined, scalarsKey: string, moonKey: string): SceneOptions;
|
|
23
|
+
export {};
|