@webority/ui-react 0.17.3 → 0.17.4

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/dist/ui-react.js CHANGED
@@ -170,7 +170,7 @@ var V = {
170
170
  x: () => import("./x.g-Cc7upOBC.js"),
171
171
  z: () => import("./z.g-COIy6PjH.js")
172
172
  }
173
- }, U = /* @__PURE__ */ "aave.activity.add.add-circle.add-square.additem.airdrop.airplane.airplane-square.airpod.airpods.alarm.alert-circle.alert-triangle.align-bottom.align-horizontally.align-left.align-right.align-top.align-vertically.android.ankr.apple.aquarius.archive.archive-add.archive-book.archive-box.archive-minus.archive-slash.archive-tick.arrange-horizontal.arrange-horizontal-circle.arrange-horizontal-square.arrange-vertical.arrange-vertical-circle.arrange-vertical-square.arrow.arrow-circle-down.arrow-circle-down-2.arrow-circle-left.arrow-circle-left-2.arrow-circle-right.arrow-circle-right-2.arrow-circle-up.arrow-circle-up-2.arrow-down.arrow-down-2.arrow-down-3.arrow-down-up.arrow-forward.arrow-forward-square.arrow-left.arrow-left-2.arrow-left-3.arrow-right.arrow-right-2.arrow-right-3.arrow-rotate-left.arrow-rotate-right.arrow-square.arrow-square-down.arrow-square-left.arrow-square-right.arrow-square-up.arrow-swap-horizontal.arrow-swap-vertical.arrow-up.arrow-up-2.arrow-up-3.arrow-up-right.attach-circle.attach-square.audio-square.augur.autobrightness.autonio.avalanche.award.back.back-square.backward.backward-10-seconds.backward-15-seconds.backward-5-seconds.backward-item.badge-check.bag.bag-2.bag-cross.bag-cross-1.bag-happy.bag-tick.bag-tick-2.bag-timer.bank.barcode.battery-charging.battery-disable.battery-empty.battery-empty-1.battery-full.be.bell.bezier.bill.binance-coin.binance-usd.bitcoin.bitcoin-card.bitcoin-convert.bitcoin-refresh.blend.blend-2.blogger.bluetooth.bluetooth-2.bluetooth-circle.bluetooth-rectangle.blur.book.book-1.book-saved.book-square.bookmark.bookmark-2.bootstrap.box.box-1.box-2.box-add.box-remove.box-seam.box-search.box-tick.box-time.briefcase.brifecase-cross.brifecase-tick.brifecase-timer.brodcast.broom.brush.brush-2.brush-3.brush-big.brush-square.bubble.bucket.bucket-circle.bucket-square.bug.building.building-2.building-3.building-4.buildings.buildings-2.buliding.bullseye.bus.buy-crypto.cake.calculator.calendar.calendar-1.calendar-2.calendar-add.calendar-check.calendar-circle.calendar-dots.calendar-edit.calendar-remove.calendar-search.calendar-tick.call.call-add.call-calling.call-incoming.call-minus.call-outgoing.call-received.call-remove.call-slash.camera.camera-slash.candle.candle-2.car.card.card-add.card-coin.card-edit.card-pos.card-receive.card-remove.card-remove-1.card-send.card-slash.card-tick.card-tick-1.cardano.cards.cash-stack.category.category-2.cd.celo.celsius.chainlink.chart.chart-1.chart-2.chart-21.chart-circle.chart-column.chart-fail.chart-square.chart-success.chat.chat-dots.check.check-check.check-circle.chemical-glass.chevron-down.chevron-left.chevron-right.chevron-up.chevrons-left.chevrons-right.chevrons-up-down.chrome.circle.circle-help.civic.clipboard.clipboard-check.clipboard-close.clipboard-export.clipboard-import.clipboard-text.clipboard-tick.clock.close-circle.close-square.cloud.cloud-add.cloud-change.cloud-connection.cloud-cross.cloud-drizzle.cloud-fog.cloud-lightning.cloud-minus.cloud-notif.cloud-plus.cloud-remove.cloud-snow.cloud-sunny.code.code-1.code-circle.coffee.coin.coin-1.coins.color-swatch.colorfilter.colors-square.command.command-square.component.computing.contact.convert.convert-3-d-cube.convert-card.convertshape.convertshape-2.copy.copy-success.copyright.courthouse.cpu.cpu-charge.cpu-setting.creative-commons.credit-card.crop.crown.crown-1.cup.cursor.cut.dai.danger.dash.data.data-2.decred.dent.designtools.device-message.devices.diagram.diagram-3.diamonds.direct.direct-down.direct-inbox.direct-left.direct-normal.direct-notification.direct-right.direct-send.direct-up.directbox-default.directbox-notif.directbox-receive.directbox-send.discount-circle.discount-shape.discover.dislike.display.document.document-cloud.document-code.document-code-2.document-copy.document-download.document-favorite.document-filter.document-forward.document-like.document-previous.document-sketch.document-text.document-text-1.document-upload.dollar-circle.dollar-square.download.dribbble.driver.driver-2.driver-refresh.driving.drop.dropbox.edit.edit-2.educare.electricity.element.element-2.element-3.element-4.element-equal.element-plus.emercoin.emoji-happy.emoji-normal.emoji-sad.emoji-smile.empty-wallet.empty-wallet-add.empty-wallet-change.empty-wallet-remove.empty-wallet-tick.empty-wallet-time.enjin-coin.eos.eraser.eraser-square.ethereum.ethereum-classic.export.export-circle.export-curve.export-square.external-drive.external-link.eye.eye-off.eye-slash.facebook.factory.fatrows.favorite-chart.figma.figma-1.file-plus-2.file-text.files.filter.filter-add.filter-edit.filter-remove.filter-search.filter-square.filter-tick.finger-cricle.finger-scan.firstline.flag.flag-2.flash.flash-circle.flash-slash.flashy.folder.folder-2.folder-add.folder-cloud.folder-connection.folder-cross.folder-favorite.folder-kanban.folder-minus.folder-open.folder-plus.forbidden.forbidden-2.format-circle.format-square.forward.forward-10-seconds.forward-15-seconds.forward-5-seconds.forward-item.framer.ftx-token.gallery.gallery-add.gallery-edit.gallery-export.gallery-favorite.gallery-import.gallery-remove.gallery-slash.gallery-tick.game.gameboy.gas-station.gauge.gemini.gemini-2.ghost.gift.glass.global.global-edit.global-refresh.global-search.globe.globe2.google.google-drive.google-play.gps.gps-slash.grammerly.graph.grid.grid-1.grid-2.grid-3.grid-4.grid-5.grid-6.grid-7.grid-8.grid-9.grid-edit.grid-eraser.grid-lock.hamberger-menu.happyemoji.hard-hat.harmony.hashtag.hashtag-down.hashtag-square.hashtag-up.headphone.headphones.health.heart.heart-add.heart-circle.heart-edit.heart-remove.heart-search.heart-slash.heart-tick.hedera-hashgraph.hex.hierarchy.hierarchy-2.hierarchy-3.hierarchy-square.hierarchy-square-2.hierarchy-square-3.history.home.home-2.home-3.home-hashtag.home-trend-down.home-trend-up.home-wifi.hospital.house.house-2.html-3.html-5.huobi-token.i-24-support.i-3-d-cube-scan.i-3-d-rotate.i-3-d-square.i-3-dcube.i-3-square.icon.illustrator.image.import.import-circle.import-curve.import-square.inbox.info.info-circle.information.instagram.iost.java-script.js.judge.kanban.key.key-square.keyboard.keyboard-open.kyber-network.lamp.lamp-charge.lamp-on.lamp-slash.language-circle.language-square.layer.layout-dashboard.layout-grid.layout-maximize.level.lifebuoy.lightbulb.like.like-1.like-dislike.like-shapes.like-tag.link.link-1.link-2.link-21.link-circle.link-square.list.litecoin.location.location-add.location-cross.location-discover.location-minus.location-slash.location-tick.lock.lock-1.lock-circle.lock-slash.log-out.login.login-curve.logout.logout-curve.lovely.magic-star.magicpen.mail.main-component.maker.man.map.map-1.map-pin.mask.mask-left.mask-right.math.maximize.maximize-1.maximize-2.maximize-3.maximize-4.maximize-circle.medal.medal-star.menu.menu-board.message.message-2.message-add.message-add-1.message-circle.message-edit.message-favorite.message-minus.message-notif.message-programming.message-question.message-remove.message-search.message-square.message-text.message-text-1.message-tick.message-time.messages.messages-1.messages-2.messages-3.messenger.microphone.microphone-2.microphone-slash.microphone-slash-1.microscope.milk.mini-music-sqaure.minus.minus-cirlce.minus-square.mirror.mirroring-screen.mobile.mobile-programming.monero.money.money-2.money-3.money-4.money-add.money-archive.money-change.money-forbidden.money-recive.money-remove.money-send.money-tick.money-time.moneys.monitor.monitor-mobbile.monitor-recorder.moon.more.more-2.more-circle.more-horizontal.more-square.mouse.mouse-circle.mouse-square.music.music-circle.music-dashboard.music-filter.music-library-2.music-play.music-playlist.music-square.music-square-add.music-square-remove.music-square-search.musicnote.nebulas.nem.nexo.next.note.note-1.note-add.note-favorite.note-remove.note-square.note-text.notepad.notepad-2.notification.notification-1.notification-bing.notification-circle.notification-favorite.notification-status.ocean-protocol.okb.okru.omega-circle.omega-square.ontology.paintbucket.palette.panel-left-close.panel-left-open.paperclip.paperclip-2.password-check.path-tool.path-tool-2.path-tool-square.pause.pause-circle.paypal.pen-add.pen-close.pen-remove.pen-tool.pen-tool-2.pencil.people.percentage-circle.percentage-square.personalcard.pet.pharagraphspacing.phone.photoshop.picture-frame.play.play-add.play-circle.play-cricle.play-remove.plug.plus.plus-circle.pointer.polkadot.polygon.polyswarm.presention-chart.previous.printer.printer-slash.profile.profile-2-user.profile-add.profile-circle.profile-delete.profile-remove.profile-tick.programming-arrow.programming-arrows.python.quant.quote-down.quote-down-circle.quote-down-square.quote-up.quote-up-circle.quote-up-square.radar.radar-2.radio.ram.ram-2.rank.ranking.receipt.receipt-1.receipt-2.receipt-21.receipt-add.receipt-discount.receipt-disscount.receipt-edit.receipt-item.receipt-minus.receipt-search.receipt-square.receipt-text.receive.receive-square.receive-square-2.record.record-circle.recovery-convert.refresh.refresh-2.refresh-circle.refresh-cw.refresh-left-square.refresh-right-square.refresh-square.repeat.repeat-circle.repeate-music.repeate-one.reserve.rotate-ccw.rotate-left.rotate-right.route-square.routing.routing-2.row-horizontal.row-vertical.ruler.ruler-pen.safe-home.sagittarius.save-2.save-add.save-minus.save-remove.scan.scan-barcode.scanner.scanning.scissor.screenmirroring.scroll.search.search-favorite.search-favorite-1.search-normal.search-normal-1.search-status.search-status-1.search-zoom-in.search-zoom-in-1.search-zoom-out.search-zoom-out-1.security.security-card.security-safe.security-time.security-user.send.send-2.server.setting.setting-2.setting-3.setting-4.setting-5.settings.shapes.shapes-1.share.share-2.shield.shield-check.shield-cross.shield-lock.shield-plus.shield-search.shield-security.shield-slash.shield-tick.ship.shop.shop-add.shop-remove.shopping-bag.shopping-cart.shuffle.shutterstock.siacoin.sidebar-bottom.sidebar-left.sidebar-right.sidebar-top.signpost.simcard.simcard-1.simcard-2.size.slack.slash.slider.slider-horizontal.slider-horizontal-1.slider-vertical.slider-vertical-1.smallcaps.smart-car.smart-home.smileys.sms.sms-edit.sms-notification.sms-search.sms-star.sms-tracking.snapchat.solana.sort.sound.sparkles.speaker.speedometer.spotify.stacks.star.star-1.star-slash.stars.status.status-up.stellar.sticker.stickynote.stop.stop-circle.story.strongbox.strongbox-2.subtitle.sun.sun-1.sun-fog.table-document.table-lamp.tag.tag-2.tag-cross.tag-right.tag-user.task.task-square.teacher.telephone.tenx.tether.text.text-block.text-bold.text-italic.text-underline.textalign-center.textalign-justifycenter.textalign-justifyleft.textalign-justifyright.textalign-left.textalign-right.the-graph.theta.thorchain.tick-circle.tick-square.ticket.ticket-2.ticket-discount.ticket-expired.ticket-star.timer.timer-1.timer-pause.timer-start.toggle-off.toggle-off-circle.toggle-on.toggle-on-circle.trade.transaction-minus.translate.transmit.transmit-sqaure-2.transmit-square.trash.trash-2.tree.trello.trend-down.trend-up.trending-up.triangle.triangle-logo.trontron.truck.truck-fast.truck-remove.truck-tick.truck-time.trush-square.twitch.two-page.ui-8.unlimited.unlock.upload.usd-coin.user.user-add.user-check.user-cirlce-add.user-edit.user-minus.user-octagon.user-plus.user-remove.user-search.user-square.user-tag.user-tick.users.velas.verify.vibe.video.video-add.video-circle.video-horizontal.video-octagon.video-play.video-remove.video-slash.video-square.video-tick.video-time.video-vertical.voice-cricle.voice-square.volume.volume-cross.volume-high.volume-low.volume-low-1.volume-mute.volume-slash.volume-up.wallet.wallet-1.wallet-2.wallet-3.wallet-add.wallet-add-1.wallet-check.wallet-minus.wallet-money.wallet-remove.wallet-search.wallet2.wanchain.wanchain-1.wand-sparkles.warning-2.watch.watch-status.weight.weight-meter.whatsapp.wifi.wifi-square.wind.wind-2.windows.wing.woman.wrist-clock.x.x-circle.xd.xiaomi.xrp.youtube.zap.zel.zoom.zoom-in.zoom-out".split("."), W = {
173
+ }, ee = /* @__PURE__ */ "aave.activity.add.add-circle.add-square.additem.airdrop.airplane.airplane-square.airpod.airpods.alarm.alert-circle.alert-triangle.align-bottom.align-horizontally.align-left.align-right.align-top.align-vertically.android.ankr.apple.aquarius.archive.archive-add.archive-book.archive-box.archive-minus.archive-slash.archive-tick.arrange-horizontal.arrange-horizontal-circle.arrange-horizontal-square.arrange-vertical.arrange-vertical-circle.arrange-vertical-square.arrow.arrow-circle-down.arrow-circle-down-2.arrow-circle-left.arrow-circle-left-2.arrow-circle-right.arrow-circle-right-2.arrow-circle-up.arrow-circle-up-2.arrow-down.arrow-down-2.arrow-down-3.arrow-down-up.arrow-forward.arrow-forward-square.arrow-left.arrow-left-2.arrow-left-3.arrow-right.arrow-right-2.arrow-right-3.arrow-rotate-left.arrow-rotate-right.arrow-square.arrow-square-down.arrow-square-left.arrow-square-right.arrow-square-up.arrow-swap-horizontal.arrow-swap-vertical.arrow-up.arrow-up-2.arrow-up-3.arrow-up-right.attach-circle.attach-square.audio-square.augur.autobrightness.autonio.avalanche.award.back.back-square.backward.backward-10-seconds.backward-15-seconds.backward-5-seconds.backward-item.badge-check.bag.bag-2.bag-cross.bag-cross-1.bag-happy.bag-tick.bag-tick-2.bag-timer.bank.barcode.battery-charging.battery-disable.battery-empty.battery-empty-1.battery-full.be.bell.bezier.bill.binance-coin.binance-usd.bitcoin.bitcoin-card.bitcoin-convert.bitcoin-refresh.blend.blend-2.blogger.bluetooth.bluetooth-2.bluetooth-circle.bluetooth-rectangle.blur.book.book-1.book-saved.book-square.bookmark.bookmark-2.bootstrap.box.box-1.box-2.box-add.box-remove.box-seam.box-search.box-tick.box-time.briefcase.brifecase-cross.brifecase-tick.brifecase-timer.brodcast.broom.brush.brush-2.brush-3.brush-big.brush-square.bubble.bucket.bucket-circle.bucket-square.bug.building.building-2.building-3.building-4.buildings.buildings-2.buliding.bullseye.bus.buy-crypto.cake.calculator.calendar.calendar-1.calendar-2.calendar-add.calendar-check.calendar-circle.calendar-dots.calendar-edit.calendar-remove.calendar-search.calendar-tick.call.call-add.call-calling.call-incoming.call-minus.call-outgoing.call-received.call-remove.call-slash.camera.camera-slash.candle.candle-2.car.card.card-add.card-coin.card-edit.card-pos.card-receive.card-remove.card-remove-1.card-send.card-slash.card-tick.card-tick-1.cardano.cards.cash-stack.category.category-2.cd.celo.celsius.chainlink.chart.chart-1.chart-2.chart-21.chart-circle.chart-column.chart-fail.chart-square.chart-success.chat.chat-dots.check.check-check.check-circle.chemical-glass.chevron-down.chevron-left.chevron-right.chevron-up.chevrons-left.chevrons-right.chevrons-up-down.chrome.circle.circle-help.civic.clipboard.clipboard-check.clipboard-close.clipboard-export.clipboard-import.clipboard-text.clipboard-tick.clock.close-circle.close-square.cloud.cloud-add.cloud-change.cloud-connection.cloud-cross.cloud-drizzle.cloud-fog.cloud-lightning.cloud-minus.cloud-notif.cloud-plus.cloud-remove.cloud-snow.cloud-sunny.code.code-1.code-circle.coffee.coin.coin-1.coins.color-swatch.colorfilter.colors-square.command.command-square.component.computing.contact.convert.convert-3-d-cube.convert-card.convertshape.convertshape-2.copy.copy-success.copyright.courthouse.cpu.cpu-charge.cpu-setting.creative-commons.credit-card.crop.crown.crown-1.cup.cursor.cut.dai.danger.dash.data.data-2.decred.dent.designtools.device-message.devices.diagram.diagram-3.diamonds.direct.direct-down.direct-inbox.direct-left.direct-normal.direct-notification.direct-right.direct-send.direct-up.directbox-default.directbox-notif.directbox-receive.directbox-send.discount-circle.discount-shape.discover.dislike.display.document.document-cloud.document-code.document-code-2.document-copy.document-download.document-favorite.document-filter.document-forward.document-like.document-previous.document-sketch.document-text.document-text-1.document-upload.dollar-circle.dollar-square.download.dribbble.driver.driver-2.driver-refresh.driving.drop.dropbox.edit.edit-2.educare.electricity.element.element-2.element-3.element-4.element-equal.element-plus.emercoin.emoji-happy.emoji-normal.emoji-sad.emoji-smile.empty-wallet.empty-wallet-add.empty-wallet-change.empty-wallet-remove.empty-wallet-tick.empty-wallet-time.enjin-coin.eos.eraser.eraser-square.ethereum.ethereum-classic.export.export-circle.export-curve.export-square.external-drive.external-link.eye.eye-off.eye-slash.facebook.factory.fatrows.favorite-chart.figma.figma-1.file-plus-2.file-text.files.filter.filter-add.filter-edit.filter-remove.filter-search.filter-square.filter-tick.finger-cricle.finger-scan.firstline.flag.flag-2.flash.flash-circle.flash-slash.flashy.folder.folder-2.folder-add.folder-cloud.folder-connection.folder-cross.folder-favorite.folder-kanban.folder-minus.folder-open.folder-plus.forbidden.forbidden-2.format-circle.format-square.forward.forward-10-seconds.forward-15-seconds.forward-5-seconds.forward-item.framer.ftx-token.gallery.gallery-add.gallery-edit.gallery-export.gallery-favorite.gallery-import.gallery-remove.gallery-slash.gallery-tick.game.gameboy.gas-station.gauge.gemini.gemini-2.ghost.gift.glass.global.global-edit.global-refresh.global-search.globe.globe2.google.google-drive.google-play.gps.gps-slash.grammerly.graph.grid.grid-1.grid-2.grid-3.grid-4.grid-5.grid-6.grid-7.grid-8.grid-9.grid-edit.grid-eraser.grid-lock.hamberger-menu.happyemoji.hard-hat.harmony.hashtag.hashtag-down.hashtag-square.hashtag-up.headphone.headphones.health.heart.heart-add.heart-circle.heart-edit.heart-remove.heart-search.heart-slash.heart-tick.hedera-hashgraph.hex.hierarchy.hierarchy-2.hierarchy-3.hierarchy-square.hierarchy-square-2.hierarchy-square-3.history.home.home-2.home-3.home-hashtag.home-trend-down.home-trend-up.home-wifi.hospital.house.house-2.html-3.html-5.huobi-token.i-24-support.i-3-d-cube-scan.i-3-d-rotate.i-3-d-square.i-3-dcube.i-3-square.icon.illustrator.image.import.import-circle.import-curve.import-square.inbox.info.info-circle.information.instagram.iost.java-script.js.judge.kanban.key.key-square.keyboard.keyboard-open.kyber-network.lamp.lamp-charge.lamp-on.lamp-slash.language-circle.language-square.layer.layout-dashboard.layout-grid.layout-maximize.level.lifebuoy.lightbulb.like.like-1.like-dislike.like-shapes.like-tag.link.link-1.link-2.link-21.link-circle.link-square.list.litecoin.location.location-add.location-cross.location-discover.location-minus.location-slash.location-tick.lock.lock-1.lock-circle.lock-slash.log-out.login.login-curve.logout.logout-curve.lovely.magic-star.magicpen.mail.main-component.maker.man.map.map-1.map-pin.mask.mask-left.mask-right.math.maximize.maximize-1.maximize-2.maximize-3.maximize-4.maximize-circle.medal.medal-star.menu.menu-board.message.message-2.message-add.message-add-1.message-circle.message-edit.message-favorite.message-minus.message-notif.message-programming.message-question.message-remove.message-search.message-square.message-text.message-text-1.message-tick.message-time.messages.messages-1.messages-2.messages-3.messenger.microphone.microphone-2.microphone-slash.microphone-slash-1.microscope.milk.mini-music-sqaure.minus.minus-cirlce.minus-square.mirror.mirroring-screen.mobile.mobile-programming.monero.money.money-2.money-3.money-4.money-add.money-archive.money-change.money-forbidden.money-recive.money-remove.money-send.money-tick.money-time.moneys.monitor.monitor-mobbile.monitor-recorder.moon.more.more-2.more-circle.more-horizontal.more-square.mouse.mouse-circle.mouse-square.music.music-circle.music-dashboard.music-filter.music-library-2.music-play.music-playlist.music-square.music-square-add.music-square-remove.music-square-search.musicnote.nebulas.nem.nexo.next.note.note-1.note-add.note-favorite.note-remove.note-square.note-text.notepad.notepad-2.notification.notification-1.notification-bing.notification-circle.notification-favorite.notification-status.ocean-protocol.okb.okru.omega-circle.omega-square.ontology.paintbucket.palette.panel-left-close.panel-left-open.paperclip.paperclip-2.password-check.path-tool.path-tool-2.path-tool-square.pause.pause-circle.paypal.pen-add.pen-close.pen-remove.pen-tool.pen-tool-2.pencil.people.percentage-circle.percentage-square.personalcard.pet.pharagraphspacing.phone.photoshop.picture-frame.play.play-add.play-circle.play-cricle.play-remove.plug.plus.plus-circle.pointer.polkadot.polygon.polyswarm.presention-chart.previous.printer.printer-slash.profile.profile-2-user.profile-add.profile-circle.profile-delete.profile-remove.profile-tick.programming-arrow.programming-arrows.python.quant.quote-down.quote-down-circle.quote-down-square.quote-up.quote-up-circle.quote-up-square.radar.radar-2.radio.ram.ram-2.rank.ranking.receipt.receipt-1.receipt-2.receipt-21.receipt-add.receipt-discount.receipt-disscount.receipt-edit.receipt-item.receipt-minus.receipt-search.receipt-square.receipt-text.receive.receive-square.receive-square-2.record.record-circle.recovery-convert.refresh.refresh-2.refresh-circle.refresh-cw.refresh-left-square.refresh-right-square.refresh-square.repeat.repeat-circle.repeate-music.repeate-one.reserve.rotate-ccw.rotate-left.rotate-right.route-square.routing.routing-2.row-horizontal.row-vertical.ruler.ruler-pen.safe-home.sagittarius.save-2.save-add.save-minus.save-remove.scan.scan-barcode.scanner.scanning.scissor.screenmirroring.scroll.search.search-favorite.search-favorite-1.search-normal.search-normal-1.search-status.search-status-1.search-zoom-in.search-zoom-in-1.search-zoom-out.search-zoom-out-1.security.security-card.security-safe.security-time.security-user.send.send-2.server.setting.setting-2.setting-3.setting-4.setting-5.settings.shapes.shapes-1.share.share-2.shield.shield-check.shield-cross.shield-lock.shield-plus.shield-search.shield-security.shield-slash.shield-tick.ship.shop.shop-add.shop-remove.shopping-bag.shopping-cart.shuffle.shutterstock.siacoin.sidebar-bottom.sidebar-left.sidebar-right.sidebar-top.signpost.simcard.simcard-1.simcard-2.size.slack.slash.slider.slider-horizontal.slider-horizontal-1.slider-vertical.slider-vertical-1.smallcaps.smart-car.smart-home.smileys.sms.sms-edit.sms-notification.sms-search.sms-star.sms-tracking.snapchat.solana.sort.sound.sparkles.speaker.speedometer.spotify.stacks.star.star-1.star-slash.stars.status.status-up.stellar.sticker.stickynote.stop.stop-circle.story.strongbox.strongbox-2.subtitle.sun.sun-1.sun-fog.table-document.table-lamp.tag.tag-2.tag-cross.tag-right.tag-user.task.task-square.teacher.telephone.tenx.tether.text.text-block.text-bold.text-italic.text-underline.textalign-center.textalign-justifycenter.textalign-justifyleft.textalign-justifyright.textalign-left.textalign-right.the-graph.theta.thorchain.tick-circle.tick-square.ticket.ticket-2.ticket-discount.ticket-expired.ticket-star.timer.timer-1.timer-pause.timer-start.toggle-off.toggle-off-circle.toggle-on.toggle-on-circle.trade.transaction-minus.translate.transmit.transmit-sqaure-2.transmit-square.trash.trash-2.tree.trello.trend-down.trend-up.trending-up.triangle.triangle-logo.trontron.truck.truck-fast.truck-remove.truck-tick.truck-time.trush-square.twitch.two-page.ui-8.unlimited.unlock.upload.usd-coin.user.user-add.user-check.user-cirlce-add.user-edit.user-minus.user-octagon.user-plus.user-remove.user-search.user-square.user-tag.user-tick.users.velas.verify.vibe.video.video-add.video-circle.video-horizontal.video-octagon.video-play.video-remove.video-slash.video-square.video-tick.video-time.video-vertical.voice-cricle.voice-square.volume.volume-cross.volume-high.volume-low.volume-low-1.volume-mute.volume-slash.volume-up.wallet.wallet-1.wallet-2.wallet-3.wallet-add.wallet-add-1.wallet-check.wallet-minus.wallet-money.wallet-remove.wallet-search.wallet2.wanchain.wanchain-1.wand-sparkles.warning-2.watch.watch-status.weight.weight-meter.whatsapp.wifi.wifi-square.wind.wind-2.windows.wing.woman.wrist-clock.x.x-circle.xd.xiaomi.xrp.youtube.zap.zel.zoom.zoom-in.zoom-out".split("."), U = {
174
174
  activity: "<path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m7.33 14.49 2.38-3.09c.34-.44.97-.52 1.41-.18l1.83 1.44c.44.34 1.07.26 1.41-.17l2.31-2.98\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
175
175
  alarm: "<path d=\"M2 22h20M12 6a9 9 0 0 0-9 9v7h18v-7a9 9 0 0 0-9-9ZM12 2v1M4 4l1 1M20 4l-1 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
176
176
  "alert-circle": "<path d=\"M12 7.75V13M21.08 8.58v6.84c0 1.12-.6 2.16-1.57 2.73l-5.94 3.43c-.97.56-2.17.56-3.15 0l-5.94-3.43a3.15 3.15 0 0 1-1.57-2.73V8.58c0-1.12.6-2.16 1.57-2.73l5.94-3.43c.97-.56 2.17-.56 3.15 0l5.94 3.43c.97.57 1.57 1.6 1.57 2.73Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 16.2v.1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
@@ -319,47 +319,47 @@ var V = {
319
319
  "zoom-in": "<path d=\"M11 20a9 9 0 1 0 0-18 9 9 0 0 0 0 18ZM8.5 11h5M11 13.5v-5M18.93 20.69c.53 1.6 1.74 1.76 2.67.36.85-1.28.29-2.33-1.25-2.33-1.14-.01-1.78.88-1.42 1.97Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
320
320
  "zoom-out": "<path d=\"M9 11.7h5M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>"
321
321
  };
322
- Object.keys(W);
322
+ Object.keys(U);
323
323
  //#endregion
324
324
  //#region src/components/warnUnknownProps.js
325
- var ee = /* @__PURE__ */ new Set(/* @__PURE__ */ "id.title.role.style.className.class.tabIndex.lang.dir.hidden.slot.part.draggable.spellCheck.translate.inert.popover.name.type.value.defaultValue.checked.defaultChecked.placeholder.disabled.readOnly.required.autoFocus.autoComplete.form.formAction.formMethod.formNoValidate.formTarget.min.max.step.minLength.maxLength.pattern.multiple.accept.capture.rows.cols.wrap.list.htmlFor.inputMode.enterKeyHint.href.target.rel.download.ping.referrerPolicy.src.srcSet.alt.width.height.loading.decoding.sizes.crossOrigin.useMap.colSpan.rowSpan.headers.scope.span.key.ref.children.dangerouslySetInnerHTML.suppressHydrationWarning".split(".")), te = () => {
325
+ var te = /* @__PURE__ */ new Set(/* @__PURE__ */ "id.title.role.style.className.class.tabIndex.lang.dir.hidden.slot.part.draggable.spellCheck.translate.inert.popover.name.type.value.defaultValue.checked.defaultChecked.placeholder.disabled.readOnly.required.autoFocus.autoComplete.form.formAction.formMethod.formNoValidate.formTarget.min.max.step.minLength.maxLength.pattern.multiple.accept.capture.rows.cols.wrap.list.htmlFor.inputMode.enterKeyHint.href.target.rel.download.ping.referrerPolicy.src.srcSet.alt.width.height.loading.decoding.sizes.crossOrigin.useMap.colSpan.rowSpan.headers.scope.span.key.ref.children.dangerouslySetInnerHTML.suppressHydrationWarning".split(".")), ne = () => {
326
326
  try {
327
327
  return process.env.NODE_ENV !== "production";
328
328
  } catch {
329
329
  return !0;
330
330
  }
331
- }, ne = (e) => e.startsWith("data-") || e.startsWith("aria-") || /^on[A-Z]/.test(e), re = /* @__PURE__ */ new Set();
332
- function G(e, t) {
333
- if (!(!te() || !t) && !("as" in t)) for (let n of Object.keys(t)) {
334
- if (ne(n) || ee.has(n)) continue;
331
+ }, re = (e) => e.startsWith("data-") || e.startsWith("aria-") || /^on[A-Z]/.test(e), ie = /* @__PURE__ */ new Set();
332
+ function W(e, t) {
333
+ if (!(!ne() || !t) && !("as" in t)) for (let n of Object.keys(t)) {
334
+ if (re(n) || te.has(n)) continue;
335
335
  let t = `${e}.${n}`;
336
- re.has(t) || (re.add(t), console.warn(`[@webority/ui-react] <${e}> received an unknown prop "${n}". It is not part of the component's API and is not a valid HTML attribute, so it will either be dropped or land on the DOM — check the prop name against the component catalogue at https://ui-react.webority.dev.`));
336
+ ie.has(t) || (ie.add(t), console.warn(`[@webority/ui-react] <${e}> received an unknown prop "${n}". It is not part of the component's API and is not a valid HTML attribute, so it will either be dropped or land on the DOM — check the prop name against the component catalogue at https://ui-react.webority.dev.`));
337
337
  }
338
338
  }
339
339
  //#endregion
340
340
  //#region src/components/warnInvalidValue.js
341
- var ie = () => {
341
+ var ae = () => {
342
342
  try {
343
343
  return process.env.NODE_ENV !== "production";
344
344
  } catch {
345
345
  return !0;
346
346
  }
347
- }, ae = /* @__PURE__ */ new Set();
348
- function K(e, t, n, r) {
349
- if (!ie() || n == null) return;
347
+ }, oe = /* @__PURE__ */ new Set();
348
+ function G(e, t, n, r) {
349
+ if (!ae() || n == null) return;
350
350
  let i = r instanceof Set ? r : new Set(r);
351
351
  if (i.has(n)) return;
352
352
  let a = `${e}.${t}.${String(n)}`;
353
- ae.has(a) || (ae.add(a), console.warn(`[@webority/ui-react] <${e}> received ${t}="${String(n)}", which is not one of ${[...i].map((e) => `"${e}"`).join(" | ")}. The component fell back to its default, so this renders something other than what the call site asks for — check the value against the component catalogue at https://ui-react.webority.dev.`));
353
+ oe.has(a) || (oe.add(a), console.warn(`[@webority/ui-react] <${e}> received ${t}="${String(n)}", which is not one of ${[...i].map((e) => `"${e}"`).join(" | ")}. The component fell back to its default, so this renders something other than what the call site asks for — check the value against the component catalogue at https://ui-react.webority.dev.`));
354
354
  }
355
355
  //#endregion
356
356
  //#region src/components/AppTooltip.jsx
357
- var oe = {
357
+ var se = {
358
358
  start: "left",
359
359
  end: "right",
360
360
  top: "top",
361
361
  bottom: "bottom"
362
- }, se = [
362
+ }, K = [
363
363
  "auto",
364
364
  "top",
365
365
  "bottom",
@@ -367,7 +367,7 @@ var oe = {
367
367
  "end"
368
368
  ];
369
369
  function ce({ content: e, children: t, placement: r = "top", tone: i = "default", size: a = "md", className: o = "", ...c }) {
370
- G("AppTooltip", c), K("AppTooltip", "placement", r, se);
370
+ W("AppTooltip", c), G("AppTooltip", "placement", r, K);
371
371
  let l = /* @__PURE__ */ E(w, {
372
372
  id: s(),
373
373
  className: [
@@ -380,7 +380,7 @@ function ce({ content: e, children: t, placement: r = "top", tone: i = "default"
380
380
  });
381
381
  return /* @__PURE__ */ E(S, {
382
382
  trigger: ["hover", "focus"],
383
- placement: oe[r] || r,
383
+ placement: se[r] || r,
384
384
  overlay: l,
385
385
  children: n(t, c)
386
386
  });
@@ -412,7 +412,7 @@ function he() {
412
412
  }, 1e3));
413
413
  }), fe;
414
414
  }
415
- var J = new Set(U), ge = Object.create(null), _e = Object.create(null), ve = Object.create(null), ye = Object.create(null);
415
+ var J = new Set(ee), ge = Object.create(null), _e = Object.create(null), ve = Object.create(null), ye = Object.create(null);
416
416
  function be(e) {
417
417
  let t = B(e), n = V[t];
418
418
  return n ? (_e[t] ||= n().then((e) => {
@@ -449,18 +449,18 @@ function Te(e, t) {
449
449
  }, 1e3));
450
450
  }), Se[a];
451
451
  }
452
- var Ee = U, De = /* @__PURE__ */ new Map();
452
+ var Ee = ee, De = /* @__PURE__ */ new Map();
453
453
  function Oe(e) {
454
454
  for (let [t, n] of Object.entries(e)) De.set(t, n);
455
455
  }
456
456
  function Y({ name: e, size: t = 16, variant: n, tooltip: r, tooltipPlacement: i, className: a, color: s, style: c, ...l }) {
457
- G("AppIcon", l);
457
+ W("AppIcon", l);
458
458
  let u = !!n && n !== "linear", d = r != null && r !== "", p = (e) => d ? q(/* @__PURE__ */ E("span", {
459
459
  className: "wui-icon-tip",
460
460
  role: "img",
461
461
  "aria-label": r,
462
462
  children: e
463
- }), r, i) : e, m = W[e] !== void 0, h = !m && J.has(e), [, g] = f(0);
463
+ }), r, i) : e, m = U[e] !== void 0, h = !m && J.has(e), [, g] = f(0);
464
464
  o(() => {
465
465
  let t = () => g((e) => e + 1);
466
466
  u && m && !de && (me.add(t), he());
@@ -507,7 +507,7 @@ function Y({ name: e, size: t = 16, variant: n, tooltip: r, tooltipPlacement: i,
507
507
  }), /* @__PURE__ */ E("path", { d: "M3.2 22.5C3.2 17.4 7.5 14.9 11 14.7L12 17.4l1-2.7C16.5 14.9 20.8 17.4 20.8 22.5z" })]
508
508
  })
509
509
  }));
510
- let v = u && (de?.[n]?.[e] || xe?.[n]?.[e]) || W[e] || ge[e];
510
+ let v = u && (de?.[n]?.[e] || xe?.[n]?.[e]) || U[e] || ge[e];
511
511
  return v ? p(/* @__PURE__ */ E("svg", {
512
512
  width: t,
513
513
  height: t,
@@ -528,7 +528,7 @@ function Y({ name: e, size: t = 16, variant: n, tooltip: r, tooltipPlacement: i,
528
528
  //#endregion
529
529
  //#region src/components/AppAccordion.jsx
530
530
  function ke({ items: e = [], multiple: t = !1, id: n, className: r = "", ...i }) {
531
- G("AppAccordion", i);
531
+ W("AppAccordion", i);
532
532
  let a = s(), o = n || a, [c, l] = f(() => {
533
533
  let n = e.map((e, t) => ({
534
534
  item: e,
@@ -598,7 +598,7 @@ var Ae = [
598
598
  "twotone"
599
599
  ];
600
600
  function je({ icon: e, iconVariant: t, label: n, tooltipPlacement: r = "auto", danger: i = !1, disabled: a = !1, size: o = 20, onClick: s, className: c = "", as: l, href: u, ...d }) {
601
- G("AppActionIcon", d), K("AppActionIcon", "iconVariant", t, Ae);
601
+ W("AppActionIcon", d), G("AppActionIcon", "iconVariant", t, Ae);
602
602
  let f = [
603
603
  "u-action",
604
604
  i ? "danger" : "",
@@ -670,7 +670,7 @@ function Fe(e, t, n, r, i) {
670
670
  }) : null;
671
671
  }
672
672
  function Ie({ variant: e = "info", children: t, title: n, icon: r, image: i, imageAlt: a = "", imageSize: o, className: s = "", onClose: c, dismissible: l, bordered: u = !0, accent: d = !1, size: f = "md", action: m, role: h = "alert", ...g }) {
673
- G("AppAlert", g), K("AppAlert", "size", f, Ne), K("AppAlert", "role", h, Pe);
673
+ W("AppAlert", g), G("AppAlert", "size", f, Ne), G("AppAlert", "role", h, Pe);
674
674
  let _ = r === void 0 ? Me[e] : r === "none" ? null : r, v = !!i || !!_, y = m != null && m !== !1, b = n ? /* @__PURE__ */ E("div", {
675
675
  className: "alert-heading",
676
676
  children: n
@@ -738,7 +738,7 @@ function ze(e, t, n) {
738
738
  });
739
739
  }
740
740
  function Be({ children: e, variant: t = "primary", size: n = "md", type: r = "button", loading: i = !1, disabled: a = !1, block: o = !1, leftIcon: s = null, rightIcon: c = null, href: l, static: u = !1, tooltip: d, tooltipPlacement: f, className: p = "", ...m }) {
741
- if (G("AppButton", m), K("AppButton", "variant", t, Object.keys(Le)), K("AppButton", "size", n, Object.keys(Re)), u) return q(/* @__PURE__ */ D("span", {
741
+ if (W("AppButton", m), G("AppButton", "variant", t, Object.keys(Le)), G("AppButton", "size", n, Object.keys(Re)), u) return q(/* @__PURE__ */ D("span", {
742
742
  className: [
743
743
  "btn",
744
744
  `btn-${Le[t] ?? "primary"}`,
@@ -786,7 +786,7 @@ function Be({ children: e, variant: t = "primary", size: n = "md", type: r = "bu
786
786
  //#endregion
787
787
  //#region src/components/AppEmptyState.jsx
788
788
  function Ve({ icon: e, iconSize: t = 24, size: n = "md", title: r, text: i, action: a, className: o = "", style: s, ...c }) {
789
- return G("AppEmptyState", c), /* @__PURE__ */ D("div", {
789
+ return W("AppEmptyState", c), /* @__PURE__ */ D("div", {
790
790
  className: [
791
791
  "empty-state",
792
792
  n === "sm" ? "empty-state-sm" : "",
@@ -817,7 +817,7 @@ function Ve({ icon: e, iconSize: t = 24, size: n = "md", title: r, text: i, acti
817
817
  //#endregion
818
818
  //#region src/components/AppSpinner.jsx
819
819
  function He({ size: e = "md", label: t = "Loading", className: n = "", ...r }) {
820
- G("AppSpinner", r);
820
+ W("AppSpinner", r);
821
821
  let { style: i, ...a } = r, o = Number(e), s = Number.isFinite(o) && o > 0;
822
822
  return /* @__PURE__ */ E("span", {
823
823
  className: `spinner-border${!s && e === "sm" ? " spinner-border-sm" : ""}${n ? ` ${n}` : ""}`,
@@ -835,7 +835,7 @@ function He({ size: e = "md", label: t = "Loading", className: n = "", ...r }) {
835
835
  //#endregion
836
836
  //#region src/components/AppAsyncBlock.jsx
837
837
  function Ue({ loading: e = !1, error: t = null, empty: n = !1, children: r, onRetry: i, skeleton: a, className: o = "", ...s }) {
838
- G("AppAsyncBlock", s);
838
+ W("AppAsyncBlock", s);
839
839
  let c = `async-block${o ? ` ${o}` : ""}`;
840
840
  return e ? /* @__PURE__ */ E("div", {
841
841
  className: c,
@@ -884,7 +884,7 @@ var We = {
884
884
  auto: "auto"
885
885
  };
886
886
  function Ge({ trigger: e, children: t, title: r, placement: i = "bottom", triggerType: a = "click", onToggle: o, className: c = "", ...l }) {
887
- G("AppPopover", l);
887
+ W("AppPopover", l);
888
888
  let u = s(), [d, p] = f(!1), m = (e) => {
889
889
  p(e), o?.(e);
890
890
  }, h = /* @__PURE__ */ D(C, {
@@ -925,7 +925,7 @@ var Ke = {
925
925
  xl: " infotip-popover-xl"
926
926
  };
927
927
  function qe({ label: e, children: t, placement: n = "auto", width: r = "md", className: i = "", ...a }) {
928
- G("AppInfoTip", a), K("AppInfoTip", "width", r, Object.keys(Ke));
928
+ W("AppInfoTip", a), G("AppInfoTip", "width", r, Object.keys(Ke));
929
929
  let [o, s] = f(!1), c = !!e;
930
930
  return !c && !t ? null : /* @__PURE__ */ E("span", {
931
931
  className: `infotip${i ? ` ${i}` : ""}`,
@@ -1066,7 +1066,7 @@ function tt(e, t) {
1066
1066
  //#endregion
1067
1067
  //#region src/components/AppAutocomplete.jsx
1068
1068
  var nt = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeholder: i = "Search…", minChars: a, debounce: c, disabled: l = !1, size: u, allowCustom: d = !1, name: f, id: p, label: m, error: h, hint: g, required: _ = !1, help: v, helpLabel: y = "More information", fieldClassName: b = "", ...x }, S) {
1069
- G("AppAutocomplete", x);
1069
+ W("AppAutocomplete", x);
1070
1070
  let C = typeof r == "function", w = s(), T = p || w, { setRef: O, innerRef: k } = Q({
1071
1071
  ref: S,
1072
1072
  value: e ?? "",
@@ -1179,7 +1179,7 @@ function st(e) {
1179
1179
  return Number.isNaN(t) ? 32 : t;
1180
1180
  }
1181
1181
  function ct({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "primary", status: a = "none", ring: s = !1, label: c, icon: l, badge: u, href: d, onClick: p, linkComponent: m, tooltip: h, tooltipPlacement: g, className: _ = "", ...v }) {
1182
- G("AppAvatar", v);
1182
+ W("AppAvatar", v);
1183
1183
  let { style: y, ...b } = v, [x, S] = f(!1);
1184
1184
  o(() => {
1185
1185
  S(!1);
@@ -1276,7 +1276,7 @@ function ut(e) {
1276
1276
  return e == null ? null : typeof e == "number" ? `${e}px` : lt[e] == null ? /^\d+$/.test(e) ? `${e}px` : e : `${lt[e]}px`;
1277
1277
  }
1278
1278
  function dt({ children: e, size: t, spacing: n = "normal", overflow: r, className: i = "", ...a }) {
1279
- G("AppAvatarGroup", a);
1279
+ W("AppAvatarGroup", a);
1280
1280
  let { style: o, ...s } = a, c = [
1281
1281
  "avatar-group",
1282
1282
  n === "normal" ? "" : `avatar-group-${n}`,
@@ -1300,7 +1300,7 @@ function dt({ children: e, size: t, spacing: n = "normal", overflow: r, classNam
1300
1300
  //#endregion
1301
1301
  //#region src/components/AppBadge.jsx
1302
1302
  function ft({ children: e, tone: t, dot: n = !1, tooltip: r, tooltipPlacement: i, className: a = "", ...o }) {
1303
- return G("AppBadge", o), q(/* @__PURE__ */ E(m, {
1303
+ return W("AppBadge", o), q(/* @__PURE__ */ E(m, {
1304
1304
  bg: !1,
1305
1305
  className: [
1306
1306
  t && t !== "neutral" ? `badge-${t}` : "",
@@ -1321,7 +1321,7 @@ var pt = [
1321
1321
  "neutral"
1322
1322
  ];
1323
1323
  function mt({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDismiss: i, className: a = "", ...o }) {
1324
- G("AppBanner", o);
1324
+ W("AppBanner", o);
1325
1325
  let [s, c] = f(!0);
1326
1326
  if (!s) return null;
1327
1327
  let l = pt.includes(e) ? e : "info", u = () => {
@@ -1356,7 +1356,7 @@ function mt({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDis
1356
1356
  //#endregion
1357
1357
  //#region src/components/AppBreadcrumbs.jsx
1358
1358
  function ht({ items: e = [], linkComponent: t, className: n = "", ...r }) {
1359
- return G("AppBreadcrumbs", r), /* @__PURE__ */ E(h, {
1359
+ return W("AppBreadcrumbs", r), /* @__PURE__ */ E(h, {
1360
1360
  className: n || void 0,
1361
1361
  ...r,
1362
1362
  children: e.map((n, r) => {
@@ -1381,7 +1381,7 @@ var gt = {
1381
1381
  lg: 720
1382
1382
  };
1383
1383
  function _t({ title: e, subtitle: t, headerIcon: n, titleClassName: r = "", header: i, headerExtra: a, headerActions: o, footer: s, media: c, children: l, variant: u = "default", tone: d = "primary", padding: f = "md", maxWidth: p, className: m = "", bodyClassName: h = "", headerClassName: g = "", body: v = !0, lifted: y = !1, href: b, onClick: x, linkComponent: S, ...C }) {
1384
- G("AppCard", C);
1384
+ W("AppCard", C);
1385
1385
  let { style: w, ...O } = C, k = b != null || x != null, A = [
1386
1386
  u && u !== "default" ? `card-${u}` : "",
1387
1387
  u === "accent" && d && d !== "primary" ? `tone-${d}` : "",
@@ -1493,7 +1493,7 @@ var vt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
1493
1493
  ]
1494
1494
  });
1495
1495
  }), yt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
1496
- return G("AppCheckbox", o), /* @__PURE__ */ E(vt, {
1496
+ return W("AppCheckbox", o), /* @__PURE__ */ E(vt, {
1497
1497
  ref: s,
1498
1498
  label: e,
1499
1499
  id: t,
@@ -1509,7 +1509,7 @@ var vt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
1509
1509
  //#endregion
1510
1510
  //#region src/components/AppChip.jsx
1511
1511
  function bt({ label: e, children: t, tone: n = "neutral", variant: r = "soft", size: i = "md", leadingIcon: a, avatar: o, onRemove: s, onClick: c, disabled: l = !1, removeLabel: u, className: d = "", ...f }) {
1512
- G("AppChip", f);
1512
+ W("AppChip", f);
1513
1513
  let p = e ?? t, m = [
1514
1514
  "chip",
1515
1515
  n && n !== "neutral" ? n : "",
@@ -1575,7 +1575,7 @@ var xt = {
1575
1575
  lg: 22
1576
1576
  };
1577
1577
  function wt({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon: a, iconNode: o, iconSize: s, image: c, imageAlt: l = "", children: u, title: d, description: f, checkIcon: p = "check", checkSize: m = 18, hideCheck: h = !1, size: g = "md", layout: _ = "inline", className: v = "", ...y }) {
1578
- G("AppChoiceCard", y), K("AppChoiceCard", "size", g, Object.keys(xt)), K("AppChoiceCard", "layout", _, Object.keys(St));
1578
+ W("AppChoiceCard", y), G("AppChoiceCard", "size", g, Object.keys(xt)), G("AppChoiceCard", "layout", _, Object.keys(St));
1579
1579
  let b = xt[g] ?? "", x = St[_] ?? "", S = s ?? Ct[g] ?? Ct.md;
1580
1580
  return /* @__PURE__ */ D("label", {
1581
1581
  className: `struct-card${c ? " struct-card-img-card" : ""}${b}${x}${h ? " wui-struct-card-no-check" : ""}${r ? " checked" : ""}${v ? ` ${v}` : ""}`,
@@ -1627,7 +1627,7 @@ function wt({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon
1627
1627
  //#endregion
1628
1628
  //#region src/components/AppChoiceChip.jsx
1629
1629
  function Tt({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChange: a, children: o, count: s, size: c = "md", className: l = "", ...u }) {
1630
- return G("AppChoiceChip", u), /* @__PURE__ */ D("label", {
1630
+ return W("AppChoiceChip", u), /* @__PURE__ */ D("label", {
1631
1631
  className: `choice-chip${i ? " checked" : ""}${c === "sm" ? " choice-chip-sm" : c === "lg" ? " choice-chip-lg" : ""}${l ? ` ${l}` : ""}`,
1632
1632
  ...u,
1633
1633
  children: [
@@ -1649,7 +1649,7 @@ function Tt({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChang
1649
1649
  //#endregion
1650
1650
  //#region src/components/AppColorField.jsx
1651
1651
  function Et({ value: e = "#000000", onChange: t, label: n, required: r = !1, error: i, hint: a, name: o, id: c, disabled: l = !1, size: u = "md", className: d = "", fieldClassName: f = "", ...p }) {
1652
- G("AppColorField", p);
1652
+ W("AppColorField", p);
1653
1653
  let m = s(), h = c || m, g = i ? `${h}-error` : a ? `${h}-hint` : void 0, _ = (e) => /^#[0-9a-f]{6}$/i.test(e), v = u === "sm" ? " color-field-sm" : u === "lg" ? " color-field-lg" : "", y = u === "sm" ? " input-sm" : u === "lg" ? " input-lg" : "";
1654
1654
  return /* @__PURE__ */ D("div", {
1655
1655
  className: `field${f ? ` ${f}` : ""}`,
@@ -1699,35 +1699,137 @@ function Et({ value: e = "#000000", onChange: t, label: n, required: r = !1, err
1699
1699
  });
1700
1700
  }
1701
1701
  //#endregion
1702
+ //#region src/components/AppDropdown.jsx
1703
+ var Dt = !1;
1704
+ function Ot() {
1705
+ let e = !0;
1706
+ try {
1707
+ e = process.env.NODE_ENV !== "production";
1708
+ } catch {
1709
+ e = !0;
1710
+ }
1711
+ !e || Dt || (Dt = !0, console.warn("[@webority/ui-react] <AppDropdown> icon-only toggle has no accessible name — pass `label` or `ariaLabel`."));
1712
+ }
1713
+ function kt({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i, align: a = "end", items: s = [], menuClassName: c = "", linkComponent: l, children: u, trigger: d, ...p }) {
1714
+ W("AppDropdown", p), !d && !i && !r && Ot();
1715
+ let m = n ?? (d ? "wui-dropdown-trigger" : "topbar-icon-btn"), [h, g] = f(!1);
1716
+ return o(() => {
1717
+ if (!h) return;
1718
+ let e = () => g(!1);
1719
+ return window.addEventListener("scroll", e, {
1720
+ capture: !0,
1721
+ passive: !0
1722
+ }), window.addEventListener("resize", e), () => {
1723
+ window.removeEventListener("scroll", e, { capture: !0 }), window.removeEventListener("resize", e);
1724
+ };
1725
+ }, [h]), /* @__PURE__ */ D(v, {
1726
+ align: a,
1727
+ show: h,
1728
+ onToggle: (e) => g(e),
1729
+ ...p,
1730
+ children: [/* @__PURE__ */ E(v.Toggle, {
1731
+ as: At,
1732
+ icon: e,
1733
+ iconSize: t,
1734
+ btnClassName: m,
1735
+ trigger: d,
1736
+ title: r,
1737
+ "aria-label": i ?? (d ? void 0 : r)
1738
+ }), /* @__PURE__ */ E(v.Menu, {
1739
+ className: c,
1740
+ renderOnMount: !0,
1741
+ popperConfig: { strategy: "fixed" },
1742
+ children: u ?? s.map((e) => {
1743
+ if (e.divider) return /* @__PURE__ */ E(v.Divider, {}, e.key);
1744
+ let t = e.to ? l ? {
1745
+ as: l,
1746
+ to: e.to
1747
+ } : {
1748
+ as: "a",
1749
+ href: e.to
1750
+ } : {
1751
+ as: "button",
1752
+ type: "button"
1753
+ };
1754
+ return /* @__PURE__ */ D(v.Item, {
1755
+ ...t,
1756
+ onClick: e.onClick,
1757
+ className: e.danger ? "danger" : void 0,
1758
+ children: [e.image ? /* @__PURE__ */ E("img", {
1759
+ src: e.image,
1760
+ alt: ""
1761
+ }) : X(e.icon, { size: 16 }), e.label]
1762
+ }, e.key);
1763
+ })
1764
+ })]
1765
+ });
1766
+ }
1767
+ var At = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-btn", trigger: r, "aria-label": i, className: a, ...o }, s) {
1768
+ return /* @__PURE__ */ E("button", {
1769
+ ref: s,
1770
+ type: "button",
1771
+ className: n,
1772
+ "aria-label": i,
1773
+ ...o,
1774
+ children: r ?? /* @__PURE__ */ E(Y, {
1775
+ name: e,
1776
+ size: t
1777
+ })
1778
+ });
1779
+ });
1780
+ //#endregion
1781
+ //#region src/components/AppColumnMenu.jsx
1782
+ function jt({ columns: e, hiddenColumns: t = [], onToggle: n, label: r = "Columns", className: i = "", ...a }) {
1783
+ W("AppColumnMenu", a);
1784
+ let o = e.filter((e) => e.hideable);
1785
+ return /* @__PURE__ */ D(kt, {
1786
+ icon: "layout-grid",
1787
+ label: r,
1788
+ menuClassName: `wui-column-menu${i ? ` ${i}` : ""}`,
1789
+ children: [/* @__PURE__ */ E("div", {
1790
+ className: "wui-column-menu-title",
1791
+ children: r
1792
+ }), o.map((e) => /* @__PURE__ */ D("label", {
1793
+ className: "wui-column-menu-item",
1794
+ children: [/* @__PURE__ */ E("input", {
1795
+ type: "checkbox",
1796
+ className: "wui-check",
1797
+ checked: !t.includes(e.key),
1798
+ onChange: () => n(e.key)
1799
+ }), e.label]
1800
+ }, e.key))]
1801
+ });
1802
+ }
1803
+ //#endregion
1702
1804
  //#region src/components/AppModal.jsx
1703
- var Dt = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"])", Ot = {
1805
+ var Mt = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"])", Nt = {
1704
1806
  sm: 380,
1705
1807
  md: 440,
1706
1808
  lg: 640,
1707
1809
  xl: 880
1708
- }, kt = !1;
1709
- function At() {
1810
+ }, Pt = !1;
1811
+ function Ft() {
1710
1812
  let e = !0;
1711
1813
  try {
1712
1814
  e = process.env.NODE_ENV !== "production";
1713
1815
  } catch {
1714
1816
  e = !0;
1715
1817
  }
1716
- !e || kt || (kt = !0, console.warn("[@webority/ui-react] <AppModal hideHeader> has no accessible name — pass `ariaLabel` (or a string `title`)."));
1818
+ !e || Pt || (Pt = !0, console.warn("[@webority/ui-react] <AppModal hideHeader> has no accessible name — pass `ariaLabel` (or a string `title`)."));
1717
1819
  }
1718
- function jt({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a = "default", dismissible: s = !0, onClose: c, footer: l, size: u = "md", placement: f = "center", hideHeader: p = !1, staticBackdrop: m = !1, ariaLabel: h, className: g = "", children: _, ...v }) {
1719
- G("AppModal", v), K("AppModal", "size", typeof u == "string" ? u : null, Object.keys(Ot));
1820
+ function It({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a = "default", dismissible: s = !0, onClose: c, footer: l, size: u = "md", placement: f = "center", hideHeader: p = !1, staticBackdrop: m = !1, ariaLabel: h, className: g = "", children: _, ...v }) {
1821
+ W("AppModal", v), G("AppModal", "size", typeof u == "string" ? u : null, Object.keys(Nt));
1720
1822
  let { style: y, ...x } = v;
1721
- p && !h && typeof n != "string" && At();
1823
+ p && !h && typeof n != "string" && Ft();
1722
1824
  let S = d(null);
1723
1825
  o(() => {
1724
1826
  if (!e) return;
1725
1827
  let t = S.current?.closest(".modal-content");
1726
1828
  if (!t) return;
1727
- let n = () => Array.from(t.querySelectorAll(Dt));
1829
+ let n = () => Array.from(t.querySelectorAll(Mt));
1728
1830
  (t.querySelector("[data-autofocus]") || n().find((e) => !e.classList.contains("wui-modal-close")) || n()[0] || t).focus?.();
1729
1831
  }, [e]);
1730
- let C = typeof u == "number" ? u : Ot[u] ?? Ot.md, w = [
1832
+ let C = typeof u == "number" ? u : Nt[u] ?? Nt.md, w = [
1731
1833
  "wui-modal",
1732
1834
  a === "default" ? "" : `tone-${a}`,
1733
1835
  g
@@ -1812,19 +1914,19 @@ function jt({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a
1812
1914
  }
1813
1915
  //#endregion
1814
1916
  //#region src/components/AppCommandPalette.jsx
1815
- var Mt = "lg";
1816
- function Nt({ open: e, onClose: t, query: n = "", onQueryChange: r, placeholder: i = "Search…", groups: a = [], loading: o = !1, emptyText: c = "No results", footer: l, ariaLabel: u = "Search", highlight: d = !0, id: f, className: p = "", ...m }) {
1817
- G("AppCommandPalette", m);
1917
+ var Lt = "lg";
1918
+ function Rt({ open: e, onClose: t, query: n = "", onQueryChange: r, placeholder: i = "Search…", groups: a = [], loading: o = !1, emptyText: c = "No results", footer: l, ariaLabel: u = "Search", highlight: d = !0, id: f, className: p = "", ...m }) {
1919
+ W("AppCommandPalette", m);
1818
1920
  let h = s(), g = f || h;
1819
- return /* @__PURE__ */ E(jt, {
1921
+ return /* @__PURE__ */ E(It, {
1820
1922
  open: e,
1821
1923
  onClose: t,
1822
1924
  hideHeader: !0,
1823
1925
  placement: "top",
1824
- size: Mt,
1926
+ size: Lt,
1825
1927
  ariaLabel: u,
1826
1928
  className: `wui-cmd-card${p ? ` ${p}` : ""}`,
1827
- children: /* @__PURE__ */ E(Pt, {
1929
+ children: /* @__PURE__ */ E(zt, {
1828
1930
  baseId: g,
1829
1931
  query: n,
1830
1932
  onQueryChange: r,
@@ -1840,7 +1942,7 @@ function Nt({ open: e, onClose: t, query: n = "", onQueryChange: r, placeholder:
1840
1942
  })
1841
1943
  });
1842
1944
  }
1843
- function Pt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i, loading: a, emptyText: s, footer: c, ariaLabel: u, highlight: f, onClose: p, rest: m }) {
1945
+ function zt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i, loading: a, emptyText: s, footer: c, ariaLabel: u, highlight: f, onClose: p, rest: m }) {
1844
1946
  let h = d(null), g = `${e}-list`, _ = i.filter((e) => e.items?.length), v = !a && t.trim() !== "" && _.length === 0;
1845
1947
  return l(() => {
1846
1948
  h.current?.refresh?.();
@@ -1894,7 +1996,7 @@ function Pt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
1894
1996
  "aria-busy": a ? "true" : void 0,
1895
1997
  hidden: _.length === 0,
1896
1998
  children: _.map((n) => {
1897
- let r = `${e}-${It(n.key)}`;
1999
+ let r = `${e}-${Vt(n.key)}`;
1898
2000
  return /* @__PURE__ */ D("div", {
1899
2001
  className: "wui-cmd-group",
1900
2002
  role: "group",
@@ -1907,7 +2009,7 @@ function Pt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
1907
2009
  }), n.items.map((e) => /* @__PURE__ */ D("div", {
1908
2010
  className: "wui-cmd-item",
1909
2011
  role: "option",
1910
- id: `${r}-${It(e.key)}`,
2012
+ id: `${r}-${Vt(e.key)}`,
1911
2013
  "data-group-key": String(n.key),
1912
2014
  "data-key": String(e.key),
1913
2015
  children: [
@@ -1920,7 +2022,7 @@ function Pt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
1920
2022
  className: "wui-cmd-item-text",
1921
2023
  children: [/* @__PURE__ */ E("span", {
1922
2024
  className: "wui-cmd-item-label",
1923
- children: f ? Ft(e.label, t) : e.label
2025
+ children: f ? Bt(e.label, t) : e.label
1924
2026
  }), e.description != null && /* @__PURE__ */ E("span", {
1925
2027
  className: "wui-cmd-item-desc",
1926
2028
  children: e.description
@@ -1947,7 +2049,7 @@ function Pt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
1947
2049
  ]
1948
2050
  });
1949
2051
  }
1950
- function Ft(e, n) {
2052
+ function Bt(e, n) {
1951
2053
  if (typeof e != "string") return e;
1952
2054
  let r = I(e, n);
1953
2055
  if (r.length === 1 && !r[0].match) return e;
@@ -1960,18 +2062,18 @@ function Ft(e, n) {
1960
2062
  }, n) : /* @__PURE__ */ E(t, { children: e.text }, n);
1961
2063
  });
1962
2064
  }
1963
- function It(e) {
2065
+ function Vt(e) {
1964
2066
  return String(e).replace(/\s+/g, "_");
1965
2067
  }
1966
2068
  //#endregion
1967
2069
  //#region src/lib/emptyValue.js
1968
- function Lt(e) {
2070
+ function Ht(e) {
1969
2071
  return e == null || e === "";
1970
2072
  }
1971
2073
  //#endregion
1972
2074
  //#region src/components/AppCompareTable.jsx
1973
- function Rt({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i }) {
1974
- G("AppCompareTable", i);
2075
+ function Ut({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i }) {
2076
+ W("AppCompareTable", i);
1975
2077
  let a = (e) => e === !0 ? /* @__PURE__ */ E("span", {
1976
2078
  className: "compare-yes",
1977
2079
  children: /* @__PURE__ */ E(Y, {
@@ -2007,34 +2109,34 @@ function Rt({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i
2007
2109
  }
2008
2110
  //#endregion
2009
2111
  //#region src/components/AppInput.jsx
2010
- var zt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", type: c = "text", size: l = "md", leftIcon: u, rightIcon: p, onRightIconClick: m, rightIconLabel: h, unit: g, id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, clearable: C = !1, showCount: w = !1, maxLength: T, prefix: O, suffix: k, action: A, floatingLabel: j = !1, variant: M, passwordRequirements: P = !1, requirementsPlacement: F = "auto", ...I }, L) {
2011
- G("AppInput", I);
2012
- let [R, z] = f(!1), B = s(), V = _ || B, H = c === "password", U = H && R ? "text" : c, W = d(null), ee = (e) => {
2013
- W.current = e, typeof L == "function" ? L(e) : L && (L.current = e);
2014
- }, te = String(I.value ?? I.defaultValue ?? ""), [ne, re] = f(() => !!te), [ie, ae] = f(() => te.length), K = C && !S, oe = C || w, se = H && !!P, [ce, q] = f(te);
2112
+ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", type: c = "text", size: l = "md", leftIcon: u, rightIcon: p, onRightIconClick: m, rightIconLabel: h, unit: g, id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, clearable: C = !1, showCount: w = !1, maxLength: T, prefix: O, suffix: k, action: A, floatingLabel: j = !1, variant: M, passwordRequirements: P = !1, requirementsPlacement: F = "auto", ...I }, L) {
2113
+ W("AppInput", I);
2114
+ let [R, z] = f(!1), B = s(), V = _ || B, H = c === "password", ee = H && R ? "text" : c, U = d(null), te = (e) => {
2115
+ U.current = e, typeof L == "function" ? L(e) : L && (L.current = e);
2116
+ }, ne = String(I.value ?? I.defaultValue ?? ""), [re, ie] = f(() => !!ne), [ae, oe] = f(() => ne.length), G = C && !S, se = C || w, K = H && !!P, [ce, q] = f(ne);
2015
2117
  o(() => {
2016
- !se || I.value === void 0 || q(String(I.value ?? ""));
2017
- }, [I.value, se]), o(() => {
2018
- if (!oe || I.value === void 0) return;
2118
+ !K || I.value === void 0 || q(String(I.value ?? ""));
2119
+ }, [I.value, K]), o(() => {
2120
+ if (!se || I.value === void 0) return;
2019
2121
  let e = String(I.value ?? "");
2020
- re(!!e), ae(e.length);
2021
- }, [I.value, oe]);
2122
+ ie(!!e), oe(e.length);
2123
+ }, [I.value, se]);
2022
2124
  let le = (e) => {
2023
- re(!!e.target.value), ae(e.target.value.length), I.onInput?.(e);
2125
+ ie(!!e.target.value), oe(e.target.value.length), I.onInput?.(e);
2024
2126
  }, ue = (e) => {
2025
- se && q(e.target.value), oe ? le(e) : I.onInput?.(e);
2026
- }, de = K ? /* @__PURE__ */ E("button", {
2127
+ K && q(e.target.value), se ? le(e) : I.onInput?.(e);
2128
+ }, de = G ? /* @__PURE__ */ E("button", {
2027
2129
  type: "button",
2028
2130
  className: "input-clear",
2029
2131
  onClick: () => {
2030
- let e = W.current;
2132
+ let e = U.current;
2031
2133
  if (!e) return;
2032
2134
  let t = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set;
2033
- t ? t.call(e, "") : e.value = "", e.dispatchEvent(new Event("input", { bubbles: !0 })), re(!1), e.focus();
2135
+ t ? t.call(e, "") : e.value = "", e.dispatchEvent(new Event("input", { bubbles: !0 })), ie(!1), e.focus();
2034
2136
  },
2035
2137
  "aria-label": "Clear",
2036
2138
  tabIndex: -1,
2037
- hidden: !ne,
2139
+ hidden: !re,
2038
2140
  children: /* @__PURE__ */ E(Y, {
2039
2141
  name: "x",
2040
2142
  size: 16
@@ -2046,13 +2148,13 @@ var zt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2046
2148
  n ? "error" : "",
2047
2149
  H ? "pw" : "",
2048
2150
  g ? "num-input" : "",
2049
- !(j && e || O || k || g || H || p) && C && K ? "has-clear" : "",
2151
+ !(j && e || O || k || g || H || p) && C && G ? "has-clear" : "",
2050
2152
  M === "bare" ? "input-bare" : "",
2051
2153
  b
2052
2154
  ].filter(Boolean).join(" "), J = /* @__PURE__ */ E(y.Control, {
2053
2155
  id: V,
2054
2156
  name: v,
2055
- type: U,
2157
+ type: ee,
2056
2158
  className: he,
2057
2159
  disabled: S,
2058
2160
  required: t,
@@ -2061,9 +2163,9 @@ var zt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2061
2163
  maxLength: T,
2062
2164
  ...I,
2063
2165
  placeholder: j ? " " : I.placeholder,
2064
- ref: ee,
2065
- onInput: oe || se ? ue : I.onInput
2066
- }), ge = P === !0 || P, _e = ge && typeof ge == "object" && ge.title || "Password Requirements", ve = se ? N(ce, ge) : null, ye = se ? /* @__PURE__ */ E("ul", {
2166
+ ref: te,
2167
+ onInput: se || K ? ue : I.onInput
2168
+ }), ge = P === !0 || P, _e = ge && typeof ge == "object" && ge.title || "Password Requirements", ve = K ? N(ce, ge) : null, ye = K ? /* @__PURE__ */ E("ul", {
2067
2169
  className: "pw-criteria",
2068
2170
  "aria-live": "polite",
2069
2171
  children: ve.map((e) => /* @__PURE__ */ D("li", {
@@ -2159,7 +2261,7 @@ var zt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2159
2261
  })
2160
2262
  ]
2161
2263
  });
2162
- be = se ? /* @__PURE__ */ E(Ge, {
2264
+ be = K ? /* @__PURE__ */ E(Ge, {
2163
2265
  trigger: e,
2164
2266
  triggerType: "focus",
2165
2267
  placement: F,
@@ -2230,36 +2332,36 @@ var zt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2230
2332
  children: r
2231
2333
  }) : null,
2232
2334
  w && /* @__PURE__ */ D("div", {
2233
- className: `field-count${T && ie >= T ? " at-limit" : ""}`,
2234
- children: [ie, T ? ` / ${T}` : ""]
2335
+ className: `field-count${T && ae >= T ? " at-limit" : ""}`,
2336
+ children: [ae, T ? ` / ${T}` : ""]
2235
2337
  })
2236
2338
  ]
2237
2339
  });
2238
- }), Bt = (e) => function({ size: t = 72 }) {
2340
+ }), Gt = (e) => function({ size: t = 72 }) {
2239
2341
  return /* @__PURE__ */ E("wui-status-icon", {
2240
2342
  tone: e,
2241
2343
  size: t
2242
2344
  });
2243
- }, Vt = {
2244
- success: Bt("success"),
2245
- error: Bt("error"),
2246
- warning: Bt("warning"),
2247
- info: Bt("info"),
2248
- delete: Bt("delete"),
2249
- primary: Bt("primary")
2345
+ }, Kt = {
2346
+ success: Gt("success"),
2347
+ error: Gt("error"),
2348
+ warning: Gt("warning"),
2349
+ info: Gt("info"),
2350
+ delete: Gt("delete"),
2351
+ primary: Gt("primary")
2250
2352
  };
2251
2353
  //#endregion
2252
2354
  //#region src/components/AppConfirmDialog.jsx
2253
- function Ht({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancelLabel: i = "Cancel", danger: a = !1, tone: s, image: c, iconSize: l, confirmPhrase: u, onConfirm: d, onClose: p, loading: m = !1, staticBackdrop: h = !1, placement: g = "center", size: _ = "md", className: v = "", ...y }) {
2254
- G("AppConfirmDialog", y);
2355
+ function qt({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancelLabel: i = "Cancel", danger: a = !1, tone: s, image: c, iconSize: l, confirmPhrase: u, onConfirm: d, onClose: p, loading: m = !1, staticBackdrop: h = !1, placement: g = "center", size: _ = "md", className: v = "", ...y }) {
2356
+ W("AppConfirmDialog", y);
2255
2357
  let [b, x] = f("");
2256
2358
  if (o(() => {
2257
2359
  e || x("");
2258
2360
  }, [e]), !e) return null;
2259
- let S = !!u && b.trim() !== u, C = c ? null : Vt[s || (a ? "delete" : "info")], w = l > 0 ? { "--wui-confirm-icon-size": `${l}px` } : void 0, O = () => {
2361
+ let S = !!u && b.trim() !== u, C = c ? null : Kt[s || (a ? "delete" : "info")], w = l > 0 ? { "--wui-confirm-icon-size": `${l}px` } : void 0, O = () => {
2260
2362
  m || p?.();
2261
2363
  };
2262
- return /* @__PURE__ */ E(jt, {
2364
+ return /* @__PURE__ */ E(It, {
2263
2365
  ...y,
2264
2366
  open: e,
2265
2367
  hideHeader: !0,
@@ -2310,7 +2412,7 @@ function Ht({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
2310
2412
  className: "wui-confirm-msg",
2311
2413
  children: n
2312
2414
  }),
2313
- u && /* @__PURE__ */ E(zt, {
2415
+ u && /* @__PURE__ */ E(Wt, {
2314
2416
  fieldClassName: "mt-3 mb-0 w-100 text-start",
2315
2417
  label: /* @__PURE__ */ D(T, { children: [
2316
2418
  "Type ",
@@ -2328,9 +2430,9 @@ function Ht({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
2328
2430
  }
2329
2431
  //#endregion
2330
2432
  //#region src/components/AppConsentBanner.jsx
2331
- var Ut = ["bottom-left", "bottom-right"];
2332
- function Wt({ heading: e, description: t, policyHref: n, policyLabel: r, analyticsDescription: i, functionalDescription: a, marketingDescription: s, position: c = "bottom-left", standalone: l = !1, className: u = "", style: d, ...f }) {
2333
- G("AppConsentBanner", f), K("AppConsentBanner", "position", c, Ut);
2433
+ var Jt = ["bottom-left", "bottom-right"];
2434
+ function Yt({ heading: e, description: t, policyHref: n, policyLabel: r, analyticsDescription: i, functionalDescription: a, marketingDescription: s, position: c = "bottom-left", standalone: l = !1, className: u = "", style: d, ...f }) {
2435
+ W("AppConsentBanner", f), G("AppConsentBanner", "position", c, Jt);
2334
2436
  let { setRef: p, innerRef: m } = Q({ on: { "wui-consent-save": (e) => {
2335
2437
  z(e.detail), m.current && (m.current.preferences = R());
2336
2438
  } } });
@@ -2357,13 +2459,13 @@ function Wt({ heading: e, description: t, policyHref: n, policyLabel: r, analyti
2357
2459
  }
2358
2460
  //#endregion
2359
2461
  //#region src/components/AppCopyButton.jsx
2360
- var Gt = {
2462
+ var Xt = {
2361
2463
  sm: 14,
2362
2464
  md: 16,
2363
2465
  lg: 20
2364
2466
  };
2365
- function Kt({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r = !1, size: i = "md", variant: s = "ghost", onCopied: c, className: l = "", tooltip: u, tooltipPlacement: p, ...m }) {
2366
- G("AppCopyButton", m), K("AppCopyButton", "size", i, Object.keys(Gt));
2467
+ function Zt({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r = !1, size: i = "md", variant: s = "ghost", onCopied: c, className: l = "", tooltip: u, tooltipPlacement: p, ...m }) {
2468
+ W("AppCopyButton", m), G("AppCopyButton", "size", i, Object.keys(Xt));
2367
2469
  let [h, g] = f(!1), _ = d(null);
2368
2470
  o(() => () => clearTimeout(_.current), []);
2369
2471
  let v = a(async () => {
@@ -2372,7 +2474,7 @@ function Kt({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r
2372
2474
  return q(r ? /* @__PURE__ */ E(je, {
2373
2475
  icon: b,
2374
2476
  label: y,
2375
- size: Gt[i] ?? Gt.md,
2477
+ size: Xt[i] ?? Xt.md,
2376
2478
  onClick: v,
2377
2479
  className: l,
2378
2480
  ...m
@@ -2389,12 +2491,12 @@ function Kt({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r
2389
2491
  }
2390
2492
  //#endregion
2391
2493
  //#region src/components/AppCountrySelect.jsx
2392
- var qt = [
2494
+ var Qt = [
2393
2495
  "sm",
2394
2496
  "md",
2395
2497
  "lg"
2396
- ], Jt = i(function({ value: e, onChange: t, countries: n, placeholder: r = "Select country", searchPlaceholder: i = "Search countries...", searchable: a = !0, clearable: o = !1, size: c = "md", floatingLabel: l = !1, disabled: u, label: d, required: f = !1, error: p, hint: m, help: h, helpLabel: g = "More information", id: _, name: v, className: y = "", fieldClassName: b = "", "aria-label": x, "aria-labelledby": S, "aria-describedby": C, ...w }, T) {
2397
- G("AppCountrySelect", w), K("AppCountrySelect", "size", c, qt);
2498
+ ], $t = i(function({ value: e, onChange: t, countries: n, placeholder: r = "Select country", searchPlaceholder: i = "Search countries...", searchable: a = !0, clearable: o = !1, size: c = "md", floatingLabel: l = !1, disabled: u, label: d, required: f = !1, error: p, hint: m, help: h, helpLabel: g = "More information", id: _, name: v, className: y = "", fieldClassName: b = "", "aria-label": x, "aria-labelledby": S, "aria-describedby": C, ...w }, T) {
2499
+ W("AppCountrySelect", w), G("AppCountrySelect", "size", c, Qt);
2398
2500
  let O = s(), { setRef: k } = Q({
2399
2501
  ref: T,
2400
2502
  value: e ?? "",
@@ -2455,8 +2557,8 @@ var qt = [
2455
2557
  });
2456
2558
  //#endregion
2457
2559
  //#region src/components/AppSkeleton.jsx
2458
- function Yt({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "", style: i, ...a }) {
2459
- return G("AppSkeleton", a), /* @__PURE__ */ E("span", {
2560
+ function en({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "", style: i, ...a }) {
2561
+ return W("AppSkeleton", a), /* @__PURE__ */ E("span", {
2460
2562
  className: `skeleton${r ? ` ${r}` : ""}`,
2461
2563
  "aria-hidden": "true",
2462
2564
  style: {
@@ -2468,29 +2570,29 @@ function Yt({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "
2468
2570
  ...a
2469
2571
  });
2470
2572
  }
2471
- function Xt({ rows: e = 4, cols: t = 5 }) {
2472
- return Array.from({ length: e }).map((e, n) => /* @__PURE__ */ E("tr", { children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ E("td", { children: /* @__PURE__ */ E(Yt, {
2573
+ function tn({ rows: e = 4, cols: t = 5 }) {
2574
+ return Array.from({ length: e }).map((e, n) => /* @__PURE__ */ E("tr", { children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ E("td", { children: /* @__PURE__ */ E(en, {
2473
2575
  width: t === 0 ? "70%" : "50%",
2474
2576
  height: 12
2475
2577
  }) }, `col-${t}`)) }, `row-${n}`));
2476
2578
  }
2477
2579
  //#endregion
2478
2580
  //#region src/lib/pageWindow.js
2479
- var Zt = (e, t) => {
2581
+ var nn = (e, t) => {
2480
2582
  let n = [];
2481
2583
  for (let r = e; r <= t; r += 1) n.push(r);
2482
2584
  return n;
2483
2585
  };
2484
- function Qt(e, t, { siblingCount: n = 2, boundaryCount: r = 1 } = {}) {
2586
+ function rn(e, t, { siblingCount: n = 2, boundaryCount: r = 1 } = {}) {
2485
2587
  let i = Math.max(1, t), a = Math.min(Math.max(1, e), i);
2486
- if (i <= n * 2 + 3 + r * 2) return Zt(1, i);
2487
- let o = Math.max(a - n, r + 2), s = Math.min(a + n, i - r - 1), c = o > r + 2, l = s < i - r - 1, u = Zt(1, r);
2488
- return u.push(...c ? ["ellipsis-left"] : Zt(r + 1, o - 1)), u.push(...Zt(o, s)), u.push(...l ? ["ellipsis-right"] : Zt(s + 1, i - r)), u.push(...Zt(i - r + 1, i)), u;
2588
+ if (i <= n * 2 + 3 + r * 2) return nn(1, i);
2589
+ let o = Math.max(a - n, r + 2), s = Math.min(a + n, i - r - 1), c = o > r + 2, l = s < i - r - 1, u = nn(1, r);
2590
+ return u.push(...c ? ["ellipsis-left"] : nn(r + 1, o - 1)), u.push(...nn(o, s)), u.push(...l ? ["ellipsis-right"] : nn(s + 1, i - r)), u.push(...nn(i - r + 1, i)), u;
2489
2591
  }
2490
2592
  //#endregion
2491
2593
  //#region src/components/AppSelectMini.jsx
2492
- function $t({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", name: i, ariaLabel: a, id: s, disabled: c, size: l, icon: u, prefix: d, className: f, ...p }) {
2493
- G("AppSelectMini", p);
2594
+ function an({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", name: i, ariaLabel: a, id: s, disabled: c, size: l, icon: u, prefix: d, className: f, ...p }) {
2595
+ W("AppSelectMini", p);
2494
2596
  let { setRef: m, innerRef: h } = Q({
2495
2597
  value: e ?? "",
2496
2598
  onChange: t
@@ -2526,22 +2628,22 @@ function $t({ value: e, onChange: t, options: n = [], placeholder: r = "Select..
2526
2628
  }
2527
2629
  //#endregion
2528
2630
  //#region src/components/AppTablePagination.jsx
2529
- var en = [
2631
+ var on = [
2530
2632
  5,
2531
2633
  10,
2532
2634
  25,
2533
2635
  50
2534
2636
  ];
2535
- function tn({ page: e, totalPages: t, pageSize: n, onPageChange: r, onPageSizeChange: i, pageSizes: a = en, mode: o = "numbered", showPageSize: s = !0, className: c = "", ...l }) {
2536
- G("AppTablePagination", l);
2537
- let u = o === "numbered", d = u ? Qt(e, t) : null;
2637
+ function sn({ page: e, totalPages: t, pageSize: n, onPageChange: r, onPageSizeChange: i, pageSizes: a = on, mode: o = "numbered", showPageSize: s = !0, className: c = "", ...l }) {
2638
+ W("AppTablePagination", l);
2639
+ let u = o === "numbered", d = u ? rn(e, t) : null;
2538
2640
  return /* @__PURE__ */ D("div", {
2539
2641
  className: `table-pagination${c ? ` ${c}` : ""}`,
2540
2642
  ...l,
2541
2643
  children: [
2542
2644
  s && /* @__PURE__ */ E("span", {
2543
2645
  className: "tpg-rows",
2544
- children: /* @__PURE__ */ E($t, {
2646
+ children: /* @__PURE__ */ E(an, {
2545
2647
  value: n,
2546
2648
  onChange: (e) => i(Number(e)),
2547
2649
  ariaLabel: "Rows per page",
@@ -2604,37 +2706,44 @@ function tn({ page: e, totalPages: t, pageSize: n, onPageChange: r, onPageSizeCh
2604
2706
  }
2605
2707
  //#endregion
2606
2708
  //#region src/components/AppDataTable.jsx
2607
- var nn = [
2709
+ var cn = [
2608
2710
  "comfortable",
2609
2711
  "cozy",
2610
2712
  "compact"
2611
2713
  ];
2612
- function rn(e) {
2714
+ function ln(e) {
2613
2715
  return e === "end" ? "wui-cell-end" : e === "num" ? "num" : e === "center" ? "text-center" : "";
2614
2716
  }
2615
- function an(e) {
2717
+ function un(e) {
2616
2718
  return e == null || e === "" ? "-" : typeof e == "boolean" ? String(e) : e;
2617
2719
  }
2618
- function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a, loading: s = !1, skeletonRows: c = 5, empty: l = "No records found.", emptyFiltered: u, sourceCount: p, rowActions: m, rowActionsLabel: h, pagination: g, ariaLabel: _, className: v = "", wrapperClassName: y = "", selectable: b = !1, selectedIds: x, onToggleRow: S, onToggleAll: C, renderExpanded: w, density: O = "comfortable", striped: k = !1, maxHeight: A, stickyFirstColumn: j = !1, rowStatus: M, ...N }) {
2619
- G("AppDataTable", N), K("AppDataTable", "density", O, nn);
2620
- let P = [
2720
+ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a, loading: s = !1, skeletonRows: c = 5, empty: l = "No records found.", emptyFiltered: u, sourceCount: p, rowActions: m, rowActionsLabel: h, pagination: g, ariaLabel: _, className: v = "", wrapperClassName: y = "", selectable: b = !1, selectedIds: x, onToggleRow: S, onToggleAll: C, renderExpanded: w, density: O = "comfortable", striped: k = !1, maxHeight: A, stickyFirstColumn: j = !1, stackOnMobile: M = !1, hiddenColumns: N, rowStatus: P, rowHref: F, onRowClick: I, ...L }) {
2721
+ W("AppDataTable", L);
2722
+ let R = N?.length ? new Set(N) : null;
2723
+ e = R ? e.filter((e) => !(e.hideable && R.has(e.key))) : e, G("AppDataTable", "density", O, cn);
2724
+ let z = [
2621
2725
  "table table-ledger",
2622
2726
  O === "cozy" || O === "compact" ? `wui-table-${O}` : "",
2623
2727
  k ? "wui-table-striped" : "",
2624
2728
  j ? "wui-table-sticky-first" : "",
2729
+ M ? "wui-table-stack" : "",
2625
2730
  v
2626
- ].filter(Boolean).join(" "), F = typeof w == "function", [I, L] = f(() => /* @__PURE__ */ new Set()), R = (e) => L((t) => {
2731
+ ].filter(Boolean).join(" "), B = typeof w == "function", [V, H] = f(() => /* @__PURE__ */ new Set()), ee = (e) => H((t) => {
2627
2732
  let n = new Set(t);
2628
2733
  return n.has(e) ? n.delete(e) : n.add(e), n;
2629
- }), z = e.some((e) => typeof e.footer == "function"), B = A !== void 0, V = [
2734
+ }), U = e.some((e) => typeof e.footer == "function"), te = typeof F == "function" || typeof I == "function", ne = (e) => !!e.target.closest("a, button, input, select, textarea, label, [role='menu'], [role='menuitem'], .dropdown"), re = (e, t) => {
2735
+ if (ne(t) || (I && I(e), !F)) return;
2736
+ let n = F(e);
2737
+ n && (t.ctrlKey || t.metaKey || t.button === 1 ? window.open(n, "_blank", "noopener") : window.location.assign(n));
2738
+ }, ie = A !== void 0, ae = [
2630
2739
  "table-wrap",
2631
- B ? "wui-table-scroll" : "",
2740
+ ie ? "wui-table-scroll" : "",
2632
2741
  y
2633
- ].filter(Boolean).join(" "), H = B ? { maxHeight: A } : void 0, U = Math.max(1, e.length + +!!m + +!!b + +!!F), W = b && n ? n.reduce((e, t, n) => e + +!!x?.has(r(t, n)), 0) : 0, ee = b && n && n.length > 0 && W === n.length, te = W > 0 && !ee, ne = (e) => {
2634
- e && (e.indeterminate = te);
2635
- }, re = d(null);
2742
+ ].filter(Boolean).join(" "), oe = ie ? { maxHeight: A } : void 0, se = Math.max(1, e.length + +!!m + +!!b + +!!B), K = b && n ? n.reduce((e, t, n) => e + +!!x?.has(r(t, n)), 0) : 0, ce = b && n && n.length > 0 && K === n.length, q = K > 0 && !ce, le = (e) => {
2743
+ e && (e.indeterminate = q);
2744
+ }, ue = d(null);
2636
2745
  o(() => {
2637
- let e = re.current;
2746
+ let e = ue.current;
2638
2747
  if (!e) return;
2639
2748
  let t = (e) => {
2640
2749
  let t = e.target.closest?.(".u-name");
@@ -2644,19 +2753,19 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2644
2753
  e.removeEventListener("mouseover", t), e.removeEventListener("focusin", t);
2645
2754
  };
2646
2755
  }, []);
2647
- let ie = u !== void 0 && p > 0 ? u : l;
2756
+ let de = u !== void 0 && p > 0 ? u : l;
2648
2757
  return /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ D("div", {
2649
- ref: re,
2650
- className: V,
2651
- style: H,
2758
+ ref: ue,
2759
+ className: ae,
2760
+ style: oe,
2652
2761
  tabIndex: 0,
2653
- ...N,
2762
+ ...L,
2654
2763
  children: [/* @__PURE__ */ D("table", {
2655
- className: P,
2764
+ className: z,
2656
2765
  "aria-label": _,
2657
2766
  children: [
2658
2767
  /* @__PURE__ */ E("thead", { children: /* @__PURE__ */ D("tr", { children: [
2659
- F && /* @__PURE__ */ E("th", {
2768
+ B && /* @__PURE__ */ E("th", {
2660
2769
  className: "wui-expand-cell",
2661
2770
  children: /* @__PURE__ */ E("span", {
2662
2771
  className: "visually-hidden",
@@ -2666,10 +2775,10 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2666
2775
  b && /* @__PURE__ */ E("th", {
2667
2776
  className: "wui-select-cell",
2668
2777
  children: /* @__PURE__ */ E("input", {
2669
- ref: ne,
2778
+ ref: le,
2670
2779
  type: "checkbox",
2671
2780
  className: "wui-check",
2672
- checked: ee,
2781
+ checked: ce,
2673
2782
  onChange: (e) => C?.(e.target.checked),
2674
2783
  "aria-label": "Select all rows"
2675
2784
  })
@@ -2683,7 +2792,7 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2683
2792
  })
2684
2793
  });
2685
2794
  return /* @__PURE__ */ D("th", {
2686
- className: (n ? "sortable " : "") + (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + rn(e.align),
2795
+ className: (n ? "sortable " : "") + (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + ln(e.align),
2687
2796
  style: e.width || e.minWidth ? {
2688
2797
  width: e.width,
2689
2798
  minWidth: e.minWidth
@@ -2712,16 +2821,23 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2712
2821
  })
2713
2822
  }))
2714
2823
  ] }) }),
2715
- /* @__PURE__ */ E("tbody", { children: s ? /* @__PURE__ */ E(Xt, {
2824
+ /* @__PURE__ */ E("tbody", { children: s ? /* @__PURE__ */ E(tn, {
2716
2825
  rows: c,
2717
- cols: U
2826
+ cols: se
2718
2827
  }) : n?.length ? n.map((n, i) => {
2719
- let a = r(n, i), o = F && I.has(a), s = String(a).replace(/[^a-z0-9]/gi, "_");
2828
+ let a = r(n, i), o = B && V.has(a), s = String(a).replace(/[^a-z0-9]/gi, "_");
2720
2829
  return /* @__PURE__ */ D(t, { children: [/* @__PURE__ */ D("tr", {
2721
- className: b && x?.has(a) ? "is-selected" : void 0,
2722
- "data-status": M?.(n) || void 0,
2830
+ className: [b && x?.has(a) ? "is-selected" : "", te ? "wui-row-link" : ""].filter(Boolean).join(" ") || void 0,
2831
+ "data-status": P?.(n) || void 0,
2832
+ "data-href": F?.(n) || void 0,
2833
+ tabIndex: te ? 0 : void 0,
2834
+ onClick: te ? (e) => re(n, e) : void 0,
2835
+ onAuxClick: te && F ? (e) => e.button === 1 && re(n, e) : void 0,
2836
+ onKeyDown: te ? (e) => {
2837
+ e.key === "Enter" && e.target === e.currentTarget && re(n, e);
2838
+ } : void 0,
2723
2839
  children: [
2724
- F && /* @__PURE__ */ E("td", {
2840
+ B && /* @__PURE__ */ E("td", {
2725
2841
  className: "wui-expand-cell",
2726
2842
  children: /* @__PURE__ */ E("button", {
2727
2843
  type: "button",
@@ -2729,7 +2845,7 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2729
2845
  "aria-expanded": o,
2730
2846
  "aria-controls": o ? `${s}-expanded` : void 0,
2731
2847
  "aria-label": o ? "Collapse row" : "Expand row",
2732
- onClick: () => R(a),
2848
+ onClick: () => ee(a),
2733
2849
  children: /* @__PURE__ */ E(Y, {
2734
2850
  name: "chevron-down",
2735
2851
  size: 16
@@ -2747,9 +2863,10 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2747
2863
  })
2748
2864
  }),
2749
2865
  e.map((e, t) => /* @__PURE__ */ E("td", {
2750
- className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + rn(e.align) + (e.cellClassName ? ` ${e.cellClassName}` : ""),
2866
+ className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + ln(e.align) + (e.cellClassName ? ` ${e.cellClassName}` : ""),
2751
2867
  style: e.cellStyle,
2752
- children: e.render ? e.render(n) : an(n[e.key])
2868
+ "data-label": M && typeof e.label == "string" ? e.label : void 0,
2869
+ children: e.render ? e.render(n) : un(n[e.key])
2753
2870
  }, e.key)),
2754
2871
  m && /* @__PURE__ */ E("td", { children: /* @__PURE__ */ E("div", {
2755
2872
  className: "u-row-actions",
@@ -2760,16 +2877,16 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2760
2877
  className: "wui-row-expanded",
2761
2878
  children: /* @__PURE__ */ E("td", {
2762
2879
  id: `${s}-expanded`,
2763
- colSpan: U,
2880
+ colSpan: se,
2764
2881
  children: w(n)
2765
2882
  })
2766
2883
  })] }, a);
2767
2884
  }) : null }),
2768
- z && !s && n?.length > 0 && /* @__PURE__ */ E("tfoot", { children: /* @__PURE__ */ D("tr", { children: [
2769
- F && /* @__PURE__ */ E("td", { className: "wui-expand-cell" }),
2885
+ U && !s && n?.length > 0 && /* @__PURE__ */ E("tfoot", { children: /* @__PURE__ */ D("tr", { children: [
2886
+ B && /* @__PURE__ */ E("td", { className: "wui-expand-cell" }),
2770
2887
  b && /* @__PURE__ */ E("td", { className: "wui-select-cell" }),
2771
2888
  e.map((e, t) => /* @__PURE__ */ E("td", {
2772
- className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + rn(e.align),
2889
+ className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + ln(e.align),
2773
2890
  children: e.footer ? e.footer(n) : null
2774
2891
  }, e.key)),
2775
2892
  m && /* @__PURE__ */ E("td", {})
@@ -2777,12 +2894,12 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2777
2894
  ]
2778
2895
  }), !s && !n?.length && /* @__PURE__ */ E("div", {
2779
2896
  className: "tbl-empty-block",
2780
- children: typeof ie == "string" ? /* @__PURE__ */ E("div", {
2897
+ children: typeof de == "string" ? /* @__PURE__ */ E("div", {
2781
2898
  className: "tbl-empty-plain",
2782
- children: ie
2783
- }) : ie
2899
+ children: de
2900
+ }) : de
2784
2901
  })]
2785
- }), g && g.total > 0 && /* @__PURE__ */ E(tn, {
2902
+ }), g && g.total > 0 && /* @__PURE__ */ E(sn, {
2786
2903
  page: g.page,
2787
2904
  totalPages: g.totalPages,
2788
2905
  pageSize: g.pageSize,
@@ -2794,8 +2911,8 @@ function on({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2794
2911
  }
2795
2912
  //#endregion
2796
2913
  //#region src/components/AppDatePicker.jsx
2797
- var sn = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i, error: a, name: o, min: c, max: l, placeholder: u = "Enter Date", disabled: d, size: f, firstDay: p, id: m, ariaLabel: h, className: g = "", fieldClassName: _ = "", ...v }, y) {
2798
- G("AppDatePicker", v);
2914
+ var fn = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i, error: a, name: o, min: c, max: l, placeholder: u = "Enter Date", disabled: d, size: f, firstDay: p, id: m, ariaLabel: h, className: g = "", fieldClassName: _ = "", ...v }, y) {
2915
+ W("AppDatePicker", v);
2799
2916
  let b = s(), x = m || b, { setRef: S } = Q({
2800
2917
  ref: y,
2801
2918
  value: e ?? "",
@@ -2838,8 +2955,8 @@ var sn = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
2838
2955
  })
2839
2956
  ]
2840
2957
  });
2841
- }), cn = i(function({ start: e, end: t, onChange: n, label: r, required: i = !1, hint: a, error: c, startName: l, endName: u, min: d, max: f, placeholder: p = "Start – End", disabled: m, size: h, firstDay: g, id: _, ariaLabel: v, className: y = "", fieldClassName: b = "", ...x }, S) {
2842
- G("AppDateRangePicker", x);
2958
+ }), pn = i(function({ start: e, end: t, onChange: n, label: r, required: i = !1, hint: a, error: c, startName: l, endName: u, min: d, max: f, placeholder: p = "Start – End", disabled: m, size: h, firstDay: g, id: _, ariaLabel: v, className: y = "", fieldClassName: b = "", ...x }, S) {
2959
+ W("AppDateRangePicker", x);
2843
2960
  let C = s(), w = _ || C, { setRef: T, innerRef: O } = Q({
2844
2961
  ref: S,
2845
2962
  onChange: n
@@ -2899,8 +3016,8 @@ var sn = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
2899
3016
  });
2900
3017
  //#endregion
2901
3018
  //#region src/components/AppDescriptions.jsx
2902
- function ln({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, title: i, className: a = "", ...o }) {
2903
- return G("AppDescriptions", o), /* @__PURE__ */ D("div", {
3019
+ function mn({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, title: i, className: a = "", ...o }) {
3020
+ return W("AppDescriptions", o), /* @__PURE__ */ D("div", {
2904
3021
  className: [
2905
3022
  "descs",
2906
3023
  `descs-col-${t}`,
@@ -2915,7 +3032,7 @@ function ln({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, t
2915
3032
  }), /* @__PURE__ */ E("dl", {
2916
3033
  className: "descs-list",
2917
3034
  children: e.map((e, t) => {
2918
- let n = Lt(e.value), r = e.span ?? 1, i = e.key ?? `${e.label}-${t}`;
3035
+ let n = Ht(e.value), r = e.span ?? 1, i = e.key ?? `${e.label}-${t}`;
2919
3036
  return /* @__PURE__ */ D("div", {
2920
3037
  className: "descs-item",
2921
3038
  style: { "--descs-span": r },
@@ -2932,96 +3049,17 @@ function ln({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, t
2932
3049
  });
2933
3050
  }
2934
3051
  //#endregion
2935
- //#region src/components/AppDropdown.jsx
2936
- var un = !1;
2937
- function dn() {
2938
- let e = !0;
2939
- try {
2940
- e = process.env.NODE_ENV !== "production";
2941
- } catch {
2942
- e = !0;
2943
- }
2944
- !e || un || (un = !0, console.warn("[@webority/ui-react] <AppDropdown> icon-only toggle has no accessible name — pass `label` or `ariaLabel`."));
2945
- }
2946
- function fn({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i, align: a = "end", items: s = [], menuClassName: c = "", linkComponent: l, children: u, trigger: d, ...p }) {
2947
- G("AppDropdown", p), !d && !i && !r && dn();
2948
- let m = n ?? (d ? "wui-dropdown-trigger" : "topbar-icon-btn"), [h, g] = f(!1);
2949
- return o(() => {
2950
- if (!h) return;
2951
- let e = () => g(!1);
2952
- return window.addEventListener("scroll", e, {
2953
- capture: !0,
2954
- passive: !0
2955
- }), window.addEventListener("resize", e), () => {
2956
- window.removeEventListener("scroll", e, { capture: !0 }), window.removeEventListener("resize", e);
2957
- };
2958
- }, [h]), /* @__PURE__ */ D(v, {
2959
- align: a,
2960
- show: h,
2961
- onToggle: (e) => g(e),
2962
- ...p,
2963
- children: [/* @__PURE__ */ E(v.Toggle, {
2964
- as: pn,
2965
- icon: e,
2966
- iconSize: t,
2967
- btnClassName: m,
2968
- trigger: d,
2969
- title: r,
2970
- "aria-label": i ?? (d ? void 0 : r)
2971
- }), /* @__PURE__ */ E(v.Menu, {
2972
- className: c,
2973
- renderOnMount: !0,
2974
- popperConfig: { strategy: "fixed" },
2975
- children: u ?? s.map((e) => {
2976
- if (e.divider) return /* @__PURE__ */ E(v.Divider, {}, e.key);
2977
- let t = e.to ? l ? {
2978
- as: l,
2979
- to: e.to
2980
- } : {
2981
- as: "a",
2982
- href: e.to
2983
- } : {
2984
- as: "button",
2985
- type: "button"
2986
- };
2987
- return /* @__PURE__ */ D(v.Item, {
2988
- ...t,
2989
- onClick: e.onClick,
2990
- className: e.danger ? "danger" : void 0,
2991
- children: [e.image ? /* @__PURE__ */ E("img", {
2992
- src: e.image,
2993
- alt: ""
2994
- }) : X(e.icon, { size: 16 }), e.label]
2995
- }, e.key);
2996
- })
2997
- })]
2998
- });
2999
- }
3000
- var pn = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-btn", trigger: r, "aria-label": i, className: a, ...o }, s) {
3001
- return /* @__PURE__ */ E("button", {
3002
- ref: s,
3003
- type: "button",
3004
- className: n,
3005
- "aria-label": i,
3006
- ...o,
3007
- children: r ?? /* @__PURE__ */ E(Y, {
3008
- name: e,
3009
- size: t
3010
- })
3011
- });
3012
- });
3013
- //#endregion
3014
3052
  //#region src/lib/fileItem.js
3015
- function mn(e) {
3053
+ function hn(e) {
3016
3054
  return e instanceof File ? `${e.name}:${e.size}` : e?.url || e?.name || "item";
3017
3055
  }
3018
- function hn(e) {
3056
+ function gn(e) {
3019
3057
  return e instanceof File ? e.name : e?.name;
3020
3058
  }
3021
- function gn(e) {
3059
+ function _n(e) {
3022
3060
  return e instanceof File ? `${(e.size / 1024).toFixed(0)} KB` : null;
3023
3061
  }
3024
- function _n(e, t) {
3062
+ function vn(e, t) {
3025
3063
  let [n, r] = f(null);
3026
3064
  return o(() => {
3027
3065
  if (!t) {
@@ -3037,8 +3075,8 @@ function _n(e, t) {
3037
3075
  }
3038
3076
  //#endregion
3039
3077
  //#region src/lib/FileItemRow.jsx
3040
- function vn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3041
- let i = _n(e, t), a = hn(e), o = gn(e);
3078
+ function yn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3079
+ let i = vn(e, t), a = gn(e), o = _n(e);
3042
3080
  return /* @__PURE__ */ D("div", {
3043
3081
  className: "attach-item",
3044
3082
  children: [
@@ -3077,9 +3115,9 @@ function vn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3077
3115
  }
3078
3116
  //#endregion
3079
3117
  //#region src/components/AppFileAttachment.jsx
3080
- function yn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple: i = !1, accept: a = k, maxSizeMb: o = A, optional: c = !1, validate: l = !0, error: u, id: d, ...p }) {
3081
- G("AppFileAttachment", p);
3082
- let m = s(), h = d || m, [g, _] = f(""), v = i && Array.isArray(t) ? t : t ? [t] : [], y = F(a), b = (e) => e instanceof File ? P(e) : y || P(e), x = !i && v.length === 1 && b(v[0]), S = bn(a, o);
3118
+ function bn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple: i = !1, accept: a = k, maxSizeMb: o = A, optional: c = !1, validate: l = !0, error: u, id: d, ...p }) {
3119
+ W("AppFileAttachment", p);
3120
+ let m = s(), h = d || m, [g, _] = f(""), v = i && Array.isArray(t) ? t : t ? [t] : [], y = F(a), b = (e) => e instanceof File ? P(e) : y || P(e), x = !i && v.length === 1 && b(v[0]), S = xn(a, o);
3083
3121
  function C(e) {
3084
3122
  let n = Array.from(e.target.files || []);
3085
3123
  if (e.target.value = "", !n.length) return;
@@ -3096,8 +3134,8 @@ function yn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3096
3134
  s.push(e);
3097
3135
  }
3098
3136
  if (_(c), s.length) if (i) {
3099
- let e = Array.isArray(t) ? t : t ? [t] : [], n = new Set(e.map(mn));
3100
- r(e.concat(s.filter((e) => !n.has(mn(e)))));
3137
+ let e = Array.isArray(t) ? t : t ? [t] : [], n = new Set(e.map(hn));
3138
+ r(e.concat(s.filter((e) => !n.has(hn(e)))));
3101
3139
  } else r(s[0]);
3102
3140
  }
3103
3141
  function w(e) {
@@ -3152,17 +3190,17 @@ function yn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3152
3190
  onChange: C,
3153
3191
  ...p
3154
3192
  })] }),
3155
- x ? /* @__PURE__ */ E(xn, {
3193
+ x ? /* @__PURE__ */ E(Sn, {
3156
3194
  item: v[0],
3157
3195
  isImage: !0,
3158
3196
  onRemove: () => w(0)
3159
3197
  }) : v.length > 0 && /* @__PURE__ */ E("div", {
3160
3198
  className: "attach-list",
3161
- children: v.map((e, t) => /* @__PURE__ */ E(vn, {
3199
+ children: v.map((e, t) => /* @__PURE__ */ E(yn, {
3162
3200
  item: e,
3163
3201
  isImage: b(e),
3164
3202
  onRemove: () => w(t)
3165
- }, mn(e)))
3203
+ }, hn(e)))
3166
3204
  }),
3167
3205
  O && /* @__PURE__ */ E("div", {
3168
3206
  className: "field-error",
@@ -3172,12 +3210,12 @@ function yn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3172
3210
  ]
3173
3211
  });
3174
3212
  }
3175
- function bn(e, t) {
3213
+ function xn(e, t) {
3176
3214
  let n = e?.trim() ? j(e) : "", r = t > 0 ? `up to ${t} MB` : "";
3177
3215
  return n && r ? `${n}, ${r}` : r ? `Up to ${t} MB` : n;
3178
3216
  }
3179
- function xn({ item: e, isImage: t, onRemove: n }) {
3180
- let r = _n(e, t), i = hn(e), a = gn(e);
3217
+ function Sn({ item: e, isImage: t, onRemove: n }) {
3218
+ let r = vn(e, t), i = gn(e), a = _n(e);
3181
3219
  return /* @__PURE__ */ D("div", {
3182
3220
  className: "attach-preview",
3183
3221
  children: [/* @__PURE__ */ D("div", {
@@ -3209,8 +3247,8 @@ function xn({ item: e, isImage: t, onRemove: n }) {
3209
3247
  }
3210
3248
  //#endregion
3211
3249
  //#region src/components/AppFilePicker.jsx
3212
- function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, maxFiles: c, accept: l = ".jpg,.jpeg,.png", maxSizeMb: u = A, required: p, error: m, hint: h, loading: g = !1, className: _ = "", fieldClassName: v = "", style: y, ...b }) {
3213
- G("AppFilePicker", b);
3250
+ function Cn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, maxFiles: c, accept: l = ".jpg,.jpeg,.png", maxSizeMb: u = A, required: p, error: m, hint: h, loading: g = !1, className: _ = "", fieldClassName: v = "", style: y, ...b }) {
3251
+ W("AppFilePicker", b);
3214
3252
  let [x, S] = f(null), [C, w] = f(!1), [T, O] = f(""), k = d(null), M = s(), N = r || M;
3215
3253
  o(() => {
3216
3254
  if (!a && t instanceof File && P(t)) {
@@ -3219,16 +3257,16 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3219
3257
  }
3220
3258
  S(null);
3221
3259
  }, [t, a]);
3222
- let I = a ? Array.isArray(t) ? t : t ? [t] : [] : [], R = m || T, z = R ? `${N}-error` : void 0, B = h && !R ? `${N}-hint` : void 0, V = z || B, H = F(l), U = !a && !!t, W = U && (t instanceof File ? P(t) : H || P(t)), ee = t?.name, te = W ? t?.url || x : null, ne = W ? "image" : "file", re = e ? `Change ${e}` : `Change ${ne}`, ie = e ? `Remove ${e}` : `Remove ${ne}`, ae = e ? `${e} preview` : `Selected ${ne} preview`, K = (e) => {
3260
+ let I = a ? Array.isArray(t) ? t : t ? [t] : [] : [], R = m || T, z = R ? `${N}-error` : void 0, B = h && !R ? `${N}-hint` : void 0, V = z || B, H = F(l), ee = !a && !!t, U = ee && (t instanceof File ? P(t) : H || P(t)), te = t?.name, ne = U ? t?.url || x : null, re = U ? "image" : "file", ie = e ? `Change ${e}` : `Change ${re}`, ae = e ? `Remove ${e}` : `Remove ${re}`, oe = e ? `${e} preview` : `Selected ${re} preview`, G = (e) => {
3223
3261
  let t = L(e, {
3224
3262
  accept: l,
3225
3263
  maxSizeMb: u
3226
3264
  });
3227
3265
  return t ? (O(t), !1) : (O(""), i(e), !0);
3228
- }, oe = (e) => {
3266
+ }, se = (e) => {
3229
3267
  let n = Array.from(e || []);
3230
3268
  if (!n.length) return;
3231
- let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(mn)), o = "", s = [];
3269
+ let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(hn)), o = "", s = [];
3232
3270
  for (let e of n) {
3233
3271
  let t = L(e, {
3234
3272
  accept: l,
@@ -3238,25 +3276,25 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3238
3276
  o ||= t;
3239
3277
  continue;
3240
3278
  }
3241
- a.has(mn(e)) || (a.add(mn(e)), s.push(e));
3279
+ a.has(hn(e)) || (a.add(hn(e)), s.push(e));
3242
3280
  }
3243
3281
  let d = r.concat(s);
3244
3282
  c && d.length > c && (d = d.slice(0, c), o ||= `Up to ${c} files.`), O(o), i(d);
3245
- }, se = (e) => {
3283
+ }, K = (e) => {
3246
3284
  if (a) {
3247
- oe(e.target.files);
3285
+ se(e.target.files);
3248
3286
  return;
3249
3287
  }
3250
3288
  let t = e.target.files?.[0] || null;
3251
- t && (K(t) || (e.target.value = ""));
3289
+ t && (G(t) || (e.target.value = ""));
3252
3290
  }, ce = (e) => {
3253
3291
  if (e.preventDefault(), w(!1), g) return;
3254
3292
  if (a) {
3255
- oe(e.dataTransfer.files);
3293
+ se(e.dataTransfer.files);
3256
3294
  return;
3257
3295
  }
3258
3296
  let t = e.dataTransfer.files?.[0];
3259
- t && K(t);
3297
+ t && G(t);
3260
3298
  }, le = (e) => {
3261
3299
  O(""), i(I.filter((t, n) => n !== e));
3262
3300
  }, ue = () => k.current?.click(), de = g ? /* @__PURE__ */ E("span", {
@@ -3279,7 +3317,7 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3279
3317
  onClick: (e) => {
3280
3318
  e.currentTarget.value = "";
3281
3319
  },
3282
- onChange: se,
3320
+ onChange: K,
3283
3321
  ...b
3284
3322
  });
3285
3323
  return /* @__PURE__ */ D("div", {
@@ -3290,7 +3328,7 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3290
3328
  htmlFor: N,
3291
3329
  children: [e, p && /* @__PURE__ */ E(Z, {})]
3292
3330
  }),
3293
- U ? /* @__PURE__ */ D("div", {
3331
+ ee ? /* @__PURE__ */ D("div", {
3294
3332
  className: `file-preview${R ? " error" : ""}${_ ? ` ${_}` : ""}`,
3295
3333
  style: y,
3296
3334
  "aria-busy": g || void 0,
@@ -3298,12 +3336,12 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3298
3336
  /* @__PURE__ */ D("button", {
3299
3337
  type: "button",
3300
3338
  className: "file-preview-open",
3301
- "aria-label": re,
3339
+ "aria-label": ie,
3302
3340
  onClick: ue,
3303
3341
  disabled: g,
3304
- children: [W && te ? /* @__PURE__ */ E("img", {
3305
- src: te,
3306
- alt: ae,
3342
+ children: [U && ne ? /* @__PURE__ */ E("img", {
3343
+ src: ne,
3344
+ alt: oe,
3307
3345
  className: "file-preview-img"
3308
3346
  }) : /* @__PURE__ */ D("span", {
3309
3347
  className: "file-preview-file",
@@ -3312,7 +3350,7 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3312
3350
  size: 28
3313
3351
  }), /* @__PURE__ */ E("span", {
3314
3352
  className: "file-preview-file-name",
3315
- children: ee
3353
+ children: te
3316
3354
  })]
3317
3355
  }), /* @__PURE__ */ E("span", {
3318
3356
  className: "file-preview-overlay",
@@ -3320,11 +3358,11 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3320
3358
  className: "file-preview-cta",
3321
3359
  children: [
3322
3360
  /* @__PURE__ */ E(Y, {
3323
- name: W ? "image" : "file-text",
3361
+ name: U ? "image" : "file-text",
3324
3362
  size: 16
3325
3363
  }),
3326
3364
  " ",
3327
- W ? "Change image" : "Change file"
3365
+ U ? "Change image" : "Change file"
3328
3366
  ]
3329
3367
  })
3330
3368
  })]
@@ -3332,14 +3370,14 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3332
3370
  q(/* @__PURE__ */ E("button", {
3333
3371
  type: "button",
3334
3372
  className: "file-preview-remove",
3335
- "aria-label": ie,
3373
+ "aria-label": ae,
3336
3374
  onClick: () => i(null),
3337
3375
  disabled: g,
3338
3376
  children: /* @__PURE__ */ E(Y, {
3339
3377
  name: "x",
3340
3378
  size: 16
3341
3379
  })
3342
- }), ie),
3380
+ }), ae),
3343
3381
  fe,
3344
3382
  de
3345
3383
  ]
@@ -3383,12 +3421,12 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3383
3421
  de,
3384
3422
  a && I.length > 0 && /* @__PURE__ */ E("div", {
3385
3423
  className: "attach-list",
3386
- children: I.map((e, t) => /* @__PURE__ */ E(vn, {
3424
+ children: I.map((e, t) => /* @__PURE__ */ E(yn, {
3387
3425
  item: e,
3388
3426
  isImage: e instanceof File ? P(e) : H || P(e),
3389
3427
  noun: "file",
3390
3428
  onRemove: () => le(t)
3391
- }, mn(e)))
3429
+ }, hn(e)))
3392
3430
  })
3393
3431
  ]
3394
3432
  }),
@@ -3406,8 +3444,8 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3406
3444
  }
3407
3445
  //#endregion
3408
3446
  //#region src/components/AppFloatingDock.jsx
3409
- function Cn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation", magnify: r = !0, maxScale: i, radius: a, className: o = "", ...s }) {
3410
- return G("AppFloatingDock", s), /* @__PURE__ */ E("wui-dock", {
3447
+ function wn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation", magnify: r = !0, maxScale: i, radius: a, className: o = "", ...s }) {
3448
+ return W("AppFloatingDock", s), /* @__PURE__ */ E("wui-dock", {
3411
3449
  role: "navigation",
3412
3450
  "aria-label": n,
3413
3451
  static: r ? void 0 : "",
@@ -3448,8 +3486,8 @@ function Cn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation"
3448
3486
  }
3449
3487
  //#endregion
3450
3488
  //#region src/components/AppFormActions.jsx
3451
- function wn({ children: e, sticky: t = !1, align: n = "end", className: r = "", ...i }) {
3452
- return G("AppFormActions", i), /* @__PURE__ */ E("div", {
3489
+ function Tn({ children: e, sticky: t = !1, align: n = "end", className: r = "", ...i }) {
3490
+ return W("AppFormActions", i), /* @__PURE__ */ E("div", {
3453
3491
  className: [
3454
3492
  "form-actions",
3455
3493
  t ? "form-actions-sticky" : "",
@@ -3462,8 +3500,8 @@ function wn({ children: e, sticky: t = !1, align: n = "end", className: r = "",
3462
3500
  }
3463
3501
  //#endregion
3464
3502
  //#region src/components/AppFormRow.jsx
3465
- function Tn({ children: e, columns: t = 2, className: n = "", ...r }) {
3466
- G("AppFormRow", r);
3503
+ function En({ children: e, columns: t = 2, className: n = "", ...r }) {
3504
+ W("AppFormRow", r);
3467
3505
  let { style: i, ...a } = r;
3468
3506
  return /* @__PURE__ */ E("div", {
3469
3507
  className: ["form-row-grid", n].filter(Boolean).join(" "),
@@ -3477,8 +3515,8 @@ function Tn({ children: e, columns: t = 2, className: n = "", ...r }) {
3477
3515
  }
3478
3516
  //#endregion
3479
3517
  //#region src/components/AppFormSection.jsx
3480
- function En({ children: e, title: t, description: n, className: r = "", ...i }) {
3481
- return G("AppFormSection", i), /* @__PURE__ */ D("section", {
3518
+ function Dn({ children: e, title: t, description: n, className: r = "", ...i }) {
3519
+ return W("AppFormSection", i), /* @__PURE__ */ D("section", {
3482
3520
  className: ["form-section", r].filter(Boolean).join(" "),
3483
3521
  ...i,
3484
3522
  children: [(t != null || n != null) && /* @__PURE__ */ D("div", {
@@ -3498,12 +3536,12 @@ function En({ children: e, title: t, description: n, className: r = "", ...i })
3498
3536
  }
3499
3537
  //#endregion
3500
3538
  //#region src/components/AppInfoList.jsx
3501
- function Dn({ items: e = [], className: t = "", ...n }) {
3502
- return G("AppInfoList", n), /* @__PURE__ */ E("div", {
3539
+ function On({ items: e = [], className: t = "", ...n }) {
3540
+ return W("AppInfoList", n), /* @__PURE__ */ E("div", {
3503
3541
  className: `info-list${t ? ` ${t}` : ""}`,
3504
3542
  ...n,
3505
3543
  children: e.map((e, t) => {
3506
- let n = Lt(e.value), r = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
3544
+ let n = Ht(e.value), r = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
3507
3545
  className: "info-icon",
3508
3546
  children: X(e.icon, { size: 16 })
3509
3547
  }), /* @__PURE__ */ D("span", {
@@ -3529,23 +3567,23 @@ function Dn({ items: e = [], className: t = "", ...n }) {
3529
3567
  }
3530
3568
  //#endregion
3531
3569
  //#region src/components/AppKpiTile.jsx
3532
- var On = 48, kn = 16;
3533
- function An(e) {
3534
- if (!e || e.length < 2) return `0,${kn / 2} ${On},${kn / 2}`;
3535
- let t = Math.min(...e), n = Math.max(...e) - t, r = On / (e.length - 1);
3536
- return e.map((e, i) => `${i * r},${n === 0 ? kn / 2 : kn - (e - t) / n * kn}`).join(" ");
3537
- }
3570
+ var kn = 48, An = 16;
3538
3571
  function jn(e) {
3572
+ if (!e || e.length < 2) return `0,${An / 2} ${kn},${An / 2}`;
3573
+ let t = Math.min(...e), n = Math.max(...e) - t, r = kn / (e.length - 1);
3574
+ return e.map((e, i) => `${i * r},${n === 0 ? An / 2 : An - (e - t) / n * An}`).join(" ");
3575
+ }
3576
+ function Mn(e) {
3539
3577
  if (typeof e != "string") return "flat";
3540
3578
  let t = e.trim();
3541
3579
  return t.startsWith("+") ? "up" : t.startsWith("-") || t.startsWith("−") ? "down" : "flat";
3542
3580
  }
3543
- function Mn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, deltaDirection: o, sparkline: s, variant: c = "plain", size: l = "md", valueSize: u, inline: d = !1, attention: f = !1, href: p, linkComponent: m, className: h = "", style: g, iconClassName: _ = "", labelClassName: v = "", valueClassName: y = "", captionClassName: b = "", deltaClassName: x = "", sparklineClassName: S = "", ...C }) {
3544
- G("AppKpiTile", C);
3581
+ function Nn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, deltaDirection: o, sparkline: s, variant: c = "plain", size: l = "md", valueSize: u, inline: d = !1, attention: f = !1, href: p, linkComponent: m, className: h = "", style: g, iconClassName: _ = "", labelClassName: v = "", valueClassName: y = "", captionClassName: b = "", deltaClassName: x = "", sparklineClassName: S = "", ...C }) {
3582
+ W("AppKpiTile", C);
3545
3583
  let w = `kpi${d ? " kpi-inline" : ""}${c === "filled" ? " kpi-filled" : c === "accent" ? " kpi-accent" : c === "spotlight" ? " kpi-spotlight" : ""}${l === "lg" ? " kpi-lg" : l === "sm" ? " kpi-sm" : ""}${f ? " kpi-attention" : ""}${h ? ` ${h}` : ""}`, T = typeof u == "number" && u > 0 ? {
3546
3584
  ...g,
3547
3585
  "--wui-kpi-value-size": `${u}px`
3548
- } : g, O = o ?? jn(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
3586
+ } : g, O = o ?? Mn(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
3549
3587
  return p != null && (A = m ? {
3550
3588
  as: m,
3551
3589
  to: p
@@ -3583,12 +3621,12 @@ function Mn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
3583
3621
  }),
3584
3622
  s && s.length > 0 && /* @__PURE__ */ E("svg", {
3585
3623
  className: `kpi-sparkline${S ? ` ${S}` : ""}`,
3586
- width: On,
3587
- height: kn,
3588
- viewBox: `0 0 ${On} ${kn}`,
3624
+ width: kn,
3625
+ height: An,
3626
+ viewBox: `0 0 ${kn} ${An}`,
3589
3627
  "aria-hidden": "true",
3590
3628
  children: /* @__PURE__ */ E("polyline", {
3591
- points: An(s),
3629
+ points: jn(s),
3592
3630
  stroke: "currentColor",
3593
3631
  fill: "none"
3594
3632
  })
@@ -3598,11 +3636,11 @@ function Mn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
3598
3636
  }
3599
3637
  //#endregion
3600
3638
  //#region src/components/AppLink.jsx
3601
- var Nn = {
3639
+ var Pn = {
3602
3640
  sm: 13,
3603
3641
  md: 15,
3604
3642
  lg: 18
3605
- }, Pn = [
3643
+ }, Fn = [
3606
3644
  "underline",
3607
3645
  "underline-center",
3608
3646
  "static",
@@ -3616,35 +3654,35 @@ var Nn = {
3616
3654
  "shine",
3617
3655
  "none"
3618
3656
  ];
3619
- function Fn(e, t, n) {
3657
+ function In(e, t, n) {
3620
3658
  if (!e) return null;
3621
3659
  let r = `wui-link__ic wui-link__ic--${t}`;
3622
3660
  return typeof e == "string" ? /* @__PURE__ */ E("span", {
3623
3661
  className: r,
3624
3662
  children: /* @__PURE__ */ E(Y, {
3625
3663
  name: e,
3626
- size: Nn[n] ?? Nn.md
3664
+ size: Pn[n] ?? Pn.md
3627
3665
  })
3628
3666
  }) : /* @__PURE__ */ E("span", {
3629
3667
  className: r,
3630
3668
  children: e
3631
3669
  });
3632
3670
  }
3633
- function In({ children: e, label: t, href: n, animation: r = "underline", leftIcon: i = null, rightIcon: a = null, size: o = "md", external: s = !1, disabled: c = !1, linkComponent: l, className: u = "", ...d }) {
3634
- G("AppLink", d), K("AppLink", "animation", r, Pn), K("AppLink", "size", o, Object.keys(Nn));
3635
- let f = Pn.includes(r) ? r : "underline", p = f === "icon" && !a && !i ? "arrow-right" : a, m = [
3671
+ function Ln({ children: e, label: t, href: n, animation: r = "underline", leftIcon: i = null, rightIcon: a = null, size: o = "md", external: s = !1, disabled: c = !1, linkComponent: l, className: u = "", ...d }) {
3672
+ W("AppLink", d), G("AppLink", "animation", r, Fn), G("AppLink", "size", o, Object.keys(Pn));
3673
+ let f = Fn.includes(r) ? r : "underline", p = f === "icon" && !a && !i ? "arrow-right" : a, m = [
3636
3674
  "wui-link",
3637
3675
  `wui-link--${f}`,
3638
3676
  o === "md" ? "" : `wui-link--${o}`,
3639
3677
  c ? "is-disabled" : "",
3640
3678
  u
3641
3679
  ].filter(Boolean).join(" "), h = /* @__PURE__ */ D(T, { children: [
3642
- Fn(i, "left", o),
3680
+ In(i, "left", o),
3643
3681
  /* @__PURE__ */ E("span", {
3644
3682
  className: "wui-link__label",
3645
3683
  children: e ?? t
3646
3684
  }),
3647
- Fn(p, "right", o)
3685
+ In(p, "right", o)
3648
3686
  ] });
3649
3687
  return c ? /* @__PURE__ */ E("span", {
3650
3688
  className: m,
@@ -3667,20 +3705,20 @@ function In({ children: e, label: t, href: n, animation: r = "underline", leftIc
3667
3705
  }
3668
3706
  //#endregion
3669
3707
  //#region src/components/AppLogoPicker.jsx
3670
- var Ln = {
3708
+ var Rn = {
3671
3709
  sm: 72,
3672
3710
  md: 120,
3673
3711
  lg: 160
3674
3712
  };
3675
- function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a = !1, disabled: c = !1, accept: l = "image/png,image/jpeg,image/webp", maxSizeMb: u = A, overlayIcon: p = "image", overlayLabel: m = "Update photo", ariaLabel: h = "Upload photo", label: g, hint: _, error: v, layout: y = "stacked", title: b, subtitle: x, required: S = !1, variant: C = "initials", size: w = "md", shape: T = "circle", className: O = "", ...k }) {
3676
- G("AppLogoPicker", k), K("AppLogoPicker", "size", typeof w == "string" ? w : null, Object.keys(Ln));
3713
+ function zn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a = !1, disabled: c = !1, accept: l = "image/png,image/jpeg,image/webp", maxSizeMb: u = A, overlayIcon: p = "image", overlayLabel: m = "Update photo", ariaLabel: h = "Upload photo", label: g, hint: _, error: v, layout: y = "stacked", title: b, subtitle: x, required: S = !1, variant: C = "initials", size: w = "md", shape: T = "circle", className: O = "", ...k }) {
3714
+ W("AppLogoPicker", k), G("AppLogoPicker", "size", typeof w == "string" ? w : null, Object.keys(Rn));
3677
3715
  let j = d(null), M = s(), [N, P] = f(null), [F, I] = f(""), [R, z] = f(!1), [B, V] = f(!1);
3678
3716
  o(() => () => N && URL.revokeObjectURL(N), [N]), o(() => {
3679
3717
  P(null), z(!1);
3680
3718
  }, [e]);
3681
- let H = a || c, U = N || (e && !R ? e : null), W = v || F, ee = _ && !W ? `${M}-hint` : void 0, te = W ? `${M}-error` : void 0, ne = !H && (!!N || !!U && !!i), re = () => {
3719
+ let H = a || c, ee = N || (e && !R ? e : null), U = v || F, te = _ && !U ? `${M}-hint` : void 0, ne = U ? `${M}-error` : void 0, re = !H && (!!N || !!ee && !!i), ie = () => {
3682
3720
  H || j.current?.click();
3683
- }, ie = (e) => {
3721
+ }, ae = (e) => {
3684
3722
  let t = L(e, {
3685
3723
  accept: l,
3686
3724
  maxSizeMb: u
@@ -3690,16 +3728,16 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3690
3728
  return;
3691
3729
  }
3692
3730
  I(""), z(!1), P(URL.createObjectURL(e)), r(e);
3693
- }, ae = (e) => {
3694
- let t = e.target.files?.[0];
3695
- e.target.value = "", t && ie(t);
3696
3731
  }, oe = (e) => {
3732
+ let t = e.target.files?.[0];
3733
+ e.target.value = "", t && ae(t);
3734
+ }, se = (e) => {
3697
3735
  if (e.preventDefault(), V(!1), H) return;
3698
3736
  let t = e.dataTransfer.files?.[0];
3699
- t && ie(t);
3700
- }, se = () => {
3737
+ t && ae(t);
3738
+ }, K = () => {
3701
3739
  P(null), I(""), z(!1), j.current && (j.current.value = ""), i?.();
3702
- }, ce = typeof w == "number" ? w : Ln[w] ?? Ln.md, le = Math.max(14, Math.round(ce * .18)), ue = Math.round(ce * .5), de = [
3740
+ }, ce = typeof w == "number" ? w : Rn[w] ?? Rn.md, le = Math.max(14, Math.round(ce * .18)), ue = Math.round(ce * .5), de = [
3703
3741
  "set-uploader",
3704
3742
  C === "avatar" ? "set-uploader--avatar" : "",
3705
3743
  T === "rounded" ? "set-uploader--rounded" : T === "square" ? "set-uploader--square" : "",
@@ -3711,25 +3749,25 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3711
3749
  /* @__PURE__ */ E("button", {
3712
3750
  type: "button",
3713
3751
  className: de,
3714
- onClick: re,
3752
+ onClick: ie,
3715
3753
  disabled: H,
3716
3754
  "aria-busy": a || void 0,
3717
3755
  "aria-label": h,
3718
- "aria-describedby": te || ee,
3756
+ "aria-describedby": ne || te,
3719
3757
  onDragOver: (e) => {
3720
3758
  e.preventDefault(), !H && !B && V(!0);
3721
3759
  },
3722
3760
  onDragLeave: (e) => {
3723
3761
  e.preventDefault(), V(!1);
3724
3762
  },
3725
- onDrop: oe,
3763
+ onDrop: se,
3726
3764
  ...k,
3727
3765
  children: /* @__PURE__ */ D("span", {
3728
3766
  className: "set-uploader-ring",
3729
3767
  "data-overlay-label": m,
3730
- children: [U ? /* @__PURE__ */ E("img", {
3768
+ children: [ee ? /* @__PURE__ */ E("img", {
3731
3769
  className: "set-uploader-img",
3732
- src: U,
3770
+ src: ee,
3733
3771
  alt: "",
3734
3772
  onError: () => z(!0)
3735
3773
  }) : /* @__PURE__ */ E("span", {
@@ -3758,14 +3796,14 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3758
3796
  q(/* @__PURE__ */ E("button", {
3759
3797
  type: "button",
3760
3798
  className: "set-uploader-remove",
3761
- hidden: !ne,
3799
+ hidden: !re,
3762
3800
  "aria-label": "Remove photo",
3763
- onClick: se,
3801
+ onClick: K,
3764
3802
  children: /* @__PURE__ */ E(Y, {
3765
3803
  name: "x",
3766
3804
  size: 14
3767
3805
  })
3768
- }), ne ? "Remove photo" : null),
3806
+ }), re ? "Remove photo" : null),
3769
3807
  /* @__PURE__ */ E("input", {
3770
3808
  id: M,
3771
3809
  ref: j,
@@ -3773,18 +3811,18 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3773
3811
  name: n,
3774
3812
  hidden: !0,
3775
3813
  accept: l,
3776
- onChange: ae,
3814
+ onChange: oe,
3777
3815
  disabled: H
3778
3816
  })
3779
3817
  ]
3780
- }), he = _ && !W ? /* @__PURE__ */ E("div", {
3818
+ }), he = _ && !U ? /* @__PURE__ */ E("div", {
3781
3819
  className: "set-uploader-hint",
3782
- id: ee,
3820
+ id: te,
3783
3821
  children: _
3784
- }) : null, J = W ? /* @__PURE__ */ E("div", {
3822
+ }) : null, J = U ? /* @__PURE__ */ E("div", {
3785
3823
  className: "field-error",
3786
- id: te,
3787
- children: W
3824
+ id: ne,
3825
+ children: U
3788
3826
  }) : null, ge = g && /* @__PURE__ */ D("label", {
3789
3827
  className: "label",
3790
3828
  htmlFor: M,
@@ -3829,27 +3867,27 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3829
3867
  }
3830
3868
  //#endregion
3831
3869
  //#region src/components/AppMeter.jsx
3832
- var zn = [
3870
+ var Bn = [
3833
3871
  "info",
3834
3872
  "success",
3835
3873
  "warning",
3836
3874
  "danger",
3837
3875
  "neutral"
3838
3876
  ];
3839
- function Bn(e, t, n) {
3877
+ function Vn(e, t, n) {
3840
3878
  let r = n - t;
3841
3879
  if (!(r > 0)) return 0;
3842
3880
  let i = Math.min(100, Math.max(0, (e - t) / r * 100));
3843
3881
  return Number(i.toFixed(2));
3844
3882
  }
3845
- function Vn(e, t, n, r, i) {
3883
+ function Hn(e, t, n, r, i) {
3846
3884
  if (t == null && n == null) return i;
3847
3885
  let a = "mid";
3848
3886
  return t != null && e <= t ? a = "low" : n != null && e >= n && (a = "high"), r === "low" ? a === "low" ? "success" : a === "high" ? "danger" : "warning" : a === "high" ? "success" : a === "low" ? "danger" : "warning";
3849
3887
  }
3850
- function Hn({ value: e = 0, min: t = 0, max: n = 100, tone: r = "info", optimum: i = "high", low: a, high: o, size: s = "md", label: c, showLabel: l = !1, className: u = "", ...d }) {
3851
- G("AppMeter", d);
3852
- let f = Vn(e, a, o, i, zn.includes(r) ? r : "info"), p = Bn(e, t, n);
3888
+ function Un({ value: e = 0, min: t = 0, max: n = 100, tone: r = "info", optimum: i = "high", low: a, high: o, size: s = "md", label: c, showLabel: l = !1, className: u = "", ...d }) {
3889
+ W("AppMeter", d);
3890
+ let f = Hn(e, a, o, i, Bn.includes(r) ? r : "info"), p = Vn(e, t, n);
3853
3891
  return /* @__PURE__ */ E("div", {
3854
3892
  className: `progress${s === "sm" ? " progress-sm" : ""}${u ? ` ${u}` : ""}`,
3855
3893
  role: "meter",
@@ -3867,8 +3905,8 @@ function Hn({ value: e = 0, min: t = 0, max: n = 100, tone: r = "info", optimum:
3867
3905
  }
3868
3906
  //#endregion
3869
3907
  //#region src/components/AppMultiSelect.jsx
3870
- var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Select…", searchPlaceholder: i = "Search…", searchable: a = !0, disabled: c = !1, icon: l, size: u, collapseChips: d = !1, allowCustom: f = !1, validateCustom: p, customPattern: m, customInvalidMessage: h, name: g, id: _, label: v, error: y, hint: b, required: x = !1, help: S, helpLabel: C = "More information", fieldClassName: w = "", ...T }, O) {
3871
- G("AppMultiSelect", T);
3908
+ var Wn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Select…", searchPlaceholder: i = "Search…", searchable: a = !0, disabled: c = !1, icon: l, size: u, collapseChips: d = !1, allowCustom: f = !1, validateCustom: p, customPattern: m, customInvalidMessage: h, name: g, id: _, label: v, error: y, hint: b, required: x = !1, help: S, helpLabel: C = "More information", fieldClassName: w = "", ...T }, O) {
3909
+ W("AppMultiSelect", T);
3872
3910
  let k = s(), A = _ || k, { setRef: j, innerRef: M } = Q({
3873
3911
  ref: O,
3874
3912
  value: e,
@@ -3930,8 +3968,8 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3930
3968
  }) : null
3931
3969
  ]
3932
3970
  });
3933
- }), Wn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", value: c, onChange: l, min: u, max: d, step: p = 1, precision: m = 0, unit: h, size: g = "md", id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, ...C }, w) {
3934
- G("AppNumberInput", C);
3971
+ }), Gn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", value: c, onChange: l, min: u, max: d, step: p = 1, precision: m = 0, unit: h, size: g = "md", id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, ...C }, w) {
3972
+ W("AppNumberInput", C);
3935
3973
  let T = s(), O = _ || T, k = (e) => {
3936
3974
  if (m === 0) return Math.round(e);
3937
3975
  let t = 10 ** m;
@@ -3962,7 +4000,7 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3962
4000
  N(t);
3963
4001
  let n = j(t);
3964
4002
  n !== null && l?.(n);
3965
- }, U = (e) => {
4003
+ }, ee = (e) => {
3966
4004
  let t = j(e.target.value);
3967
4005
  if (t === null) N(""), l?.("");
3968
4006
  else {
@@ -3970,9 +4008,9 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3970
4008
  N(String(e)), l?.(e);
3971
4009
  }
3972
4010
  C.onBlur?.(e);
3973
- }, W = (e) => {
4011
+ }, U = (e) => {
3974
4012
  e.key === "ArrowUp" ? (e.preventDefault(), P(1)) : e.key === "ArrowDown" && (e.preventDefault(), P(-1)), C.onKeyDown?.(e);
3975
- }, ee = /* @__PURE__ */ E(y.Control, {
4013
+ }, te = /* @__PURE__ */ E(y.Control, {
3976
4014
  ...C,
3977
4015
  id: O,
3978
4016
  name: v,
@@ -3986,9 +4024,9 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3986
4024
  value: M,
3987
4025
  ref: w,
3988
4026
  onChange: H,
3989
- onBlur: U,
3990
- onKeyDown: W
3991
- }), te = /* @__PURE__ */ D("div", {
4027
+ onBlur: ee,
4028
+ onKeyDown: U
4029
+ }), ne = /* @__PURE__ */ D("div", {
3992
4030
  className: [
3993
4031
  "num-wrap",
3994
4032
  g === "sm" ? "num-wrap-sm" : "",
@@ -4007,7 +4045,7 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4007
4045
  size: 16
4008
4046
  })
4009
4047
  }),
4010
- ee,
4048
+ te,
4011
4049
  h && /* @__PURE__ */ E("span", {
4012
4050
  className: "affix",
4013
4051
  children: h
@@ -4041,7 +4079,7 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4041
4079
  })
4042
4080
  ]
4043
4081
  }),
4044
- te,
4082
+ ne,
4045
4083
  n ? /* @__PURE__ */ E("div", {
4046
4084
  className: "field-error",
4047
4085
  id: R,
@@ -4053,8 +4091,8 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4053
4091
  }) : null
4054
4092
  ]
4055
4093
  });
4056
- }), Gn = i(function({ value: e, onChange: t, onComplete: n, length: r = 6, mode: i = "numeric", label: a, required: o = !1, hint: c, error: l, disabled: u = !1, name: d, id: f, className: p = "", fieldClassName: m = "", ...h }, g) {
4057
- G("AppOtpInput", h);
4094
+ }), Kn = i(function({ value: e, onChange: t, onComplete: n, length: r = 6, mode: i = "numeric", label: a, required: o = !1, hint: c, error: l, disabled: u = !1, name: d, id: f, className: p = "", fieldClassName: m = "", ...h }, g) {
4095
+ W("AppOtpInput", h);
4058
4096
  let _ = s(), v = f || _, y = l ? `${v}-error` : void 0, b = c ? `${v}-hint` : void 0, x = y || b, { setRef: S } = Q({
4059
4097
  ref: g,
4060
4098
  value: e ?? "",
@@ -4098,8 +4136,8 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4098
4136
  });
4099
4137
  //#endregion
4100
4138
  //#region src/components/AppPageHeader.jsx
4101
- function Kn({ title: e, subtitle: t, eyebrow: n, icon: r, tone: i = "primary", status: a, breadcrumbs: o, actions: s, size: c = "md", align: l = "start", divider: u = !1, sticky: d = !1, className: f = "", ...p }) {
4102
- G("AppPageHeader", p);
4139
+ function qn({ title: e, subtitle: t, eyebrow: n, icon: r, tone: i = "primary", status: a, breadcrumbs: o, actions: s, size: c = "md", align: l = "start", divider: u = !1, sticky: d = !1, className: f = "", ...p }) {
4140
+ W("AppPageHeader", p);
4103
4141
  let m = [
4104
4142
  "page-header",
4105
4143
  c && c !== "md" ? `page-header-${c}` : "",
@@ -4157,9 +4195,9 @@ function Kn({ title: e, subtitle: t, eyebrow: n, icon: r, tone: i = "primary", s
4157
4195
  }
4158
4196
  //#endregion
4159
4197
  //#region src/components/AppPagination.jsx
4160
- function qn({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
4161
- if (G("AppPagination", s), t <= 1) return null;
4162
- let c = Qt(e, t, { siblingCount: r });
4198
+ function Jn({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
4199
+ if (W("AppPagination", s), t <= 1) return null;
4200
+ let c = rn(e, t, { siblingCount: r });
4163
4201
  return /* @__PURE__ */ E("nav", {
4164
4202
  className: [
4165
4203
  "pagination-nav",
@@ -4217,8 +4255,8 @@ function qn({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "m
4217
4255
  }
4218
4256
  //#endregion
4219
4257
  //#region src/components/AppPhoneNumberInput.jsx
4220
- var Jn = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name: i, id: a, label: o = "Phone number", placeholder: c, required: l = !1, error: u, showFlag: d = !0, showDialCode: f = !0, size: p = "md", fieldClassName: m = "", ...h }, g) {
4221
- G("AppPhoneNumberInput", h);
4258
+ var Yn = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name: i, id: a, label: o = "Phone number", placeholder: c, required: l = !1, error: u, showFlag: d = !0, showDialCode: f = !0, size: p = "md", fieldClassName: m = "", ...h }, g) {
4259
+ W("AppPhoneNumberInput", h);
4222
4260
  let _ = s(), v = a || _, y = u && v ? `${v}-error` : void 0, { setRef: b } = Q({
4223
4261
  ref: g,
4224
4262
  value: e ?? "",
@@ -4258,8 +4296,8 @@ var Jn = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name:
4258
4296
  });
4259
4297
  //#endregion
4260
4298
  //#region src/components/AppPricingCard.jsx
4261
- function Yn({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a, featured: o = !1, current: s = !1, badge: c = "Most popular", className: l = "", ...u }) {
4262
- return G("AppPricingCard", u), /* @__PURE__ */ D("div", {
4299
+ function Xn({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a, featured: o = !1, current: s = !1, badge: c = "Most popular", className: l = "", ...u }) {
4300
+ return W("AppPricingCard", u), /* @__PURE__ */ D("div", {
4263
4301
  className: [
4264
4302
  "plan-card",
4265
4303
  o ? "featured" : "",
@@ -4312,21 +4350,21 @@ function Yn({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a,
4312
4350
  }
4313
4351
  //#endregion
4314
4352
  //#region src/components/AppProgress.jsx
4315
- var Xn = [
4353
+ var Zn = [
4316
4354
  "info",
4317
4355
  "success",
4318
4356
  "warning",
4319
4357
  "danger",
4320
4358
  "neutral"
4321
4359
  ];
4322
- function Zn(e, t) {
4360
+ function Qn(e, t) {
4323
4361
  if (!(t > 0)) return 0;
4324
4362
  let n = Math.min(100, Math.max(0, e / t * 100));
4325
4363
  return Number(n.toFixed(2));
4326
4364
  }
4327
- function Qn({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", label: i, showLabel: a = !1, striped: o = !1, animated: s = !1, indeterminate: c = !1, className: l = "", ...u }) {
4328
- G("AppProgress", u);
4329
- let d = Xn.includes(n) ? n : "info", f = Zn(e, t), p = `progress${r === "sm" ? " progress-sm" : ""}${l ? ` ${l}` : ""}`, m = [
4365
+ function $n({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", label: i, showLabel: a = !1, striped: o = !1, animated: s = !1, indeterminate: c = !1, className: l = "", ...u }) {
4366
+ W("AppProgress", u);
4367
+ let d = Zn.includes(n) ? n : "info", f = Qn(e, t), p = `progress${r === "sm" ? " progress-sm" : ""}${l ? ` ${l}` : ""}`, m = [
4330
4368
  "progress-bar",
4331
4369
  `wui-progress-${d}`,
4332
4370
  o || s ? "progress-bar-striped" : "",
@@ -4350,8 +4388,8 @@ function Qn({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", labe
4350
4388
  }
4351
4389
  //#endregion
4352
4390
  //#region src/components/AppRadio.jsx
4353
- var $n = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
4354
- return G("AppRadio", o), /* @__PURE__ */ E(vt, {
4391
+ var er = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
4392
+ return W("AppRadio", o), /* @__PURE__ */ E(vt, {
4355
4393
  ref: s,
4356
4394
  label: e,
4357
4395
  id: t,
@@ -4366,8 +4404,8 @@ var $n = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
4366
4404
  });
4367
4405
  //#endregion
4368
4406
  //#region src/components/AppRepeater.jsx
4369
- function er({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, addLabel: a = "Add another", addVariant: o = "secondary", removeLabel: s = "Remove row", emptyText: c, min: l = 0, max: u, numbered: d = !0, className: f = "", ...p }) {
4370
- G("AppRepeater", p);
4407
+ function tr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, addLabel: a = "Add another", addVariant: o = "secondary", removeLabel: s = "Remove row", emptyText: c, min: l = 0, max: u, numbered: d = !0, className: f = "", ...p }) {
4408
+ W("AppRepeater", p);
4371
4409
  let m = typeof u == "number" && e.length >= u, h = !!i && e.length > l;
4372
4410
  return /* @__PURE__ */ D("div", {
4373
4411
  className: `repeater${f ? ` ${f}` : ""}`,
@@ -4418,8 +4456,8 @@ function er({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
4418
4456
  }
4419
4457
  //#endregion
4420
4458
  //#region src/components/AppResourceCard.jsx
4421
- function tr({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
4422
- G("AppResourceCard", s);
4459
+ function nr({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
4460
+ W("AppResourceCard", s);
4423
4461
  let c = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
4424
4462
  className: "res-card-icon",
4425
4463
  children: /* @__PURE__ */ E(Y, {
@@ -4452,7 +4490,7 @@ function tr({ icon: e, title: t, text: n, href: r, external: i = !1, linkCompone
4452
4490
  }
4453
4491
  //#endregion
4454
4492
  //#region src/components/AppResult.jsx
4455
- var nr = {
4493
+ var rr = {
4456
4494
  success: {
4457
4495
  icon: "check-circle",
4458
4496
  tone: "success"
@@ -4473,9 +4511,9 @@ var nr = {
4473
4511
  404: { tone: "muted" },
4474
4512
  500: { tone: "muted" }
4475
4513
  };
4476
- function rr({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
4477
- G("AppResult", s), K("AppResult", "status", e, Object.keys(nr));
4478
- let c = nr[e] || nr.info, l = c.tone, u = /^\d+$/.test(e), d = r ?? (u ? null : c.icon);
4514
+ function ir({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
4515
+ W("AppResult", s), G("AppResult", "status", e, Object.keys(rr));
4516
+ let c = rr[e] || rr.info, l = c.tone, u = /^\d+$/.test(e), d = r ?? (u ? null : c.icon);
4479
4517
  return /* @__PURE__ */ D("div", {
4480
4518
  className: [
4481
4519
  "result",
@@ -4513,8 +4551,8 @@ function rr({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, ch
4513
4551
  }
4514
4552
  //#endregion
4515
4553
  //#region src/components/AppScrollbar.jsx
4516
- function ir({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
4517
- return G("AppScrollbar", i), /* @__PURE__ */ E("div", {
4554
+ function ar({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
4555
+ return W("AppScrollbar", i), /* @__PURE__ */ E("div", {
4518
4556
  className: t ? `wui-scroll ${t}` : "wui-scroll",
4519
4557
  style: n == null ? r : {
4520
4558
  maxHeight: n,
@@ -4526,8 +4564,8 @@ function ir({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
4526
4564
  }
4527
4565
  //#endregion
4528
4566
  //#region src/components/AppSearch.jsx
4529
- function ar({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search…", ariaLabel: i, iconSize: a = 18, size: o, loading: s = !1, disabled: c = !1, className: l = "", ...u }) {
4530
- G("AppSearch", u);
4567
+ function or({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search…", ariaLabel: i, iconSize: a = 18, size: o, loading: s = !1, disabled: c = !1, className: l = "", ...u }) {
4568
+ W("AppSearch", u);
4531
4569
  let d = t || n;
4532
4570
  return /* @__PURE__ */ D("div", {
4533
4571
  className: [
@@ -4573,17 +4611,17 @@ function ar({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search
4573
4611
  }
4574
4612
  //#endregion
4575
4613
  //#region src/components/AppSegmented.jsx
4576
- var or = {
4614
+ var sr = {
4577
4615
  sm: "segmented-sm",
4578
4616
  md: "",
4579
4617
  lg: "segmented-lg",
4580
4618
  xl: "wui-segmented-xl"
4581
4619
  };
4582
- function sr({ options: e = [], value: t, onChange: n, label: r, name: i, size: a = "md", fullWidth: c = !1, bordered: u = !0, disabled: f = !1, className: p = "", ...m }) {
4583
- G("AppSegmented", m), K("AppSegmented", "size", a, Object.keys(or));
4620
+ function cr({ options: e = [], value: t, onChange: n, label: r, name: i, size: a = "md", fullWidth: c = !1, bordered: u = !0, disabled: f = !1, className: p = "", ...m }) {
4621
+ W("AppSegmented", m), G("AppSegmented", "size", a, Object.keys(sr));
4584
4622
  let h = s(), g = i || h, _ = d(null), v = d(null), y = [
4585
4623
  "segmented",
4586
- or[a] ?? "",
4624
+ sr[a] ?? "",
4587
4625
  c ? "segmented-full" : "",
4588
4626
  u ? "" : "wui-segmented-borderless",
4589
4627
  f ? "is-disabled" : "",
@@ -4654,8 +4692,8 @@ function sr({ options: e = [], value: t, onChange: n, label: r, name: i, size: a
4654
4692
  }
4655
4693
  //#endregion
4656
4694
  //#region src/components/AppSelect.jsx
4657
- var cr = (e) => e == null ? "" : e.label ?? e.text ?? "", lr = i(function({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", searchPlaceholder: i = "Search...", searchable: a = !1, clearable: c = !1, size: l, icon: u, prefix: d, suffix: f, floatingLabel: p = !1, disabled: m, label: h, required: g = !1, error: _, hint: v, help: y, helpLabel: b = "More information", id: x, name: S, className: C = "", fieldClassName: w = "", "aria-label": T, "aria-labelledby": O, "aria-describedby": k, ...A }, j) {
4658
- G("AppSelect", A);
4695
+ var lr = (e) => e == null ? "" : e.label ?? e.text ?? "", ur = i(function({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", searchPlaceholder: i = "Search...", searchable: a = !1, clearable: c = !1, size: l, icon: u, prefix: d, suffix: f, floatingLabel: p = !1, disabled: m, label: h, required: g = !1, error: _, hint: v, help: y, helpLabel: b = "More information", id: x, name: S, className: C = "", fieldClassName: w = "", "aria-label": T, "aria-labelledby": O, "aria-describedby": k, ...A }, j) {
4696
+ W("AppSelect", A);
4659
4697
  let M = s(), { setRef: N, innerRef: P } = Q({
4660
4698
  ref: j,
4661
4699
  value: e ?? "",
@@ -4666,7 +4704,7 @@ var cr = (e) => e == null ? "" : e.label ?? e.text ?? "", lr = i(function({ valu
4666
4704
  if (!e) return;
4667
4705
  let t = n.map((e) => ({
4668
4706
  value: e.value,
4669
- label: cr(e),
4707
+ label: lr(e),
4670
4708
  icon: e.icon
4671
4709
  }));
4672
4710
  Ze(t, e.options) || (e.options = t);
@@ -4740,8 +4778,8 @@ var cr = (e) => e == null ? "" : e.label ?? e.text ?? "", lr = i(function({ valu
4740
4778
  });
4741
4779
  //#endregion
4742
4780
  //#region src/components/AppShell.jsx
4743
- function ur({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r, sidebarFooter: i, topbarStart: a, topbarEnd: s, footer: c, children: l, collapsed: u, onCollapsedChange: d, noSidebar: p = !1, navLabel: m = "Main navigation", linkComponent: h, className: g = "", ..._ }) {
4744
- G("AppShell", _);
4781
+ function dr({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r, sidebarFooter: i, topbarStart: a, topbarEnd: s, footer: c, children: l, collapsed: u, onCollapsedChange: d, noSidebar: p = !1, navLabel: m = "Main navigation", linkComponent: h, className: g = "", ..._ }) {
4782
+ W("AppShell", _);
4745
4783
  let [v, y] = f(!1), [b, x] = f(!1), [S, C] = f(!1), w = u ?? v, T = () => {
4746
4784
  let e = !w;
4747
4785
  u === void 0 && y(e), d?.(e);
@@ -4788,7 +4826,7 @@ function ur({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
4788
4826
  children: [e.label && /* @__PURE__ */ E("div", {
4789
4827
  className: "app-nav-group-label",
4790
4828
  children: e.label
4791
- }), e.items.map((e) => /* @__PURE__ */ E(dr, {
4829
+ }), e.items.map((e) => /* @__PURE__ */ E(fr, {
4792
4830
  item: e,
4793
4831
  linkComponent: h,
4794
4832
  onNavigate: () => x(!1)
@@ -4855,7 +4893,7 @@ function ur({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
4855
4893
  ]
4856
4894
  });
4857
4895
  }
4858
- function dr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
4896
+ function fr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
4859
4897
  let i = Array.isArray(e.children) && e.children.length > 0, a = i && e.children.some((e) => e.active), [s, c] = f(a);
4860
4898
  o(() => {
4861
4899
  a && !s && c(!0);
@@ -4897,7 +4935,7 @@ function dr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
4897
4935
  "aria-hidden": !s || void 0,
4898
4936
  children: /* @__PURE__ */ E("div", {
4899
4937
  className: "app-nav-sub-inner",
4900
- children: e.children.map((e) => /* @__PURE__ */ E(dr, {
4938
+ children: e.children.map((e) => /* @__PURE__ */ E(fr, {
4901
4939
  item: e,
4902
4940
  linkComponent: t,
4903
4941
  onNavigate: n,
@@ -4938,7 +4976,7 @@ function dr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
4938
4976
  }
4939
4977
  //#endregion
4940
4978
  //#region src/components/AppSidebarMenu.jsx
4941
- var fr = {
4979
+ var pr = {
4942
4980
  left: "start",
4943
4981
  right: "end",
4944
4982
  start: "start",
@@ -4946,9 +4984,9 @@ var fr = {
4946
4984
  top: "top",
4947
4985
  bottom: "bottom"
4948
4986
  };
4949
- function pr({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, header: a, children: o, footer: s, width: c, maxWidth: l, backdrop: u = !0, scroll: d = !1, keyboard: f = !0, closeButton: p = !0, responsive: m, className: h = "", bodyClassName: g = "", ariaLabel: _, ...v }) {
4950
- G("AppSidebarMenu", v), K("AppSidebarMenu", "side", n, Object.keys(fr));
4951
- let { style: y, ...b } = v, S = fr[n] || "end", C = c || l || y ? {
4987
+ function mr({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, header: a, children: o, footer: s, width: c, maxWidth: l, backdrop: u = !0, scroll: d = !1, keyboard: f = !0, closeButton: p = !0, responsive: m, className: h = "", bodyClassName: g = "", ariaLabel: _, ...v }) {
4988
+ W("AppSidebarMenu", v), G("AppSidebarMenu", "side", n, Object.keys(pr));
4989
+ let { style: y, ...b } = v, S = pr[n] || "end", C = c || l || y ? {
4952
4990
  ...c && { "--asm-width": c },
4953
4991
  ...l && { "--asm-max-width": l },
4954
4992
  ...y
@@ -5009,8 +5047,8 @@ function pr({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, hea
5009
5047
  }
5010
5048
  //#endregion
5011
5049
  //#region src/components/AppSlider.jsx
5012
- var mr = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, label: a, required: c = !1, hint: l, error: u, name: d, startName: f, endName: p, min: m = 0, max: h = 100, step: g = 1, disabled: _, size: v, showValue: y, unit: b, id: x, ariaLabel: S, className: C = "", fieldClassName: w = "", ...T }, O) {
5013
- G("AppSlider", T);
5050
+ var hr = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, label: a, required: c = !1, hint: l, error: u, name: d, startName: f, endName: p, min: m = 0, max: h = 100, step: g = 1, disabled: _, size: v, showValue: y, unit: b, id: x, ariaLabel: S, className: C = "", fieldClassName: w = "", ...T }, O) {
5051
+ W("AppSlider", T);
5014
5052
  let k = s(), A = x || k, j = r, { setRef: M, innerRef: N } = Q({
5015
5053
  ref: O,
5016
5054
  value: j ? void 0 : e,
@@ -5070,14 +5108,14 @@ var mr = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, la
5070
5108
  })
5071
5109
  ]
5072
5110
  });
5073
- }), hr = {
5111
+ }), gr = {
5074
5112
  sm: 44,
5075
5113
  md: 56,
5076
5114
  lg: 72
5077
5115
  };
5078
- function gr({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
5079
- G("AppSplash", c), K("AppSplash", "size", typeof a == "string" ? a : null, Object.keys(hr));
5080
- let { style: l, ...u } = c, d = typeof a == "number" ? a : hr[a] ?? hr.md, f = i === "ring" ? /* @__PURE__ */ E("span", {
5116
+ function _r({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
5117
+ W("AppSplash", c), G("AppSplash", "size", typeof a == "string" ? a : null, Object.keys(gr));
5118
+ let { style: l, ...u } = c, d = typeof a == "number" ? a : gr[a] ?? gr.md, f = i === "ring" ? /* @__PURE__ */ E("span", {
5081
5119
  className: "splash-ring",
5082
5120
  "aria-hidden": "true"
5083
5121
  }) : i === "dots" ? /* @__PURE__ */ D("span", {
@@ -5124,8 +5162,8 @@ function gr({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", siz
5124
5162
  }
5125
5163
  //#endregion
5126
5164
  //#region src/components/AppStatusBadge.jsx
5127
- function _r({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
5128
- return G("AppStatusBadge", a), e == null || e === "" ? "-" : q(/* @__PURE__ */ E("span", {
5165
+ function vr({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
5166
+ return W("AppStatusBadge", a), e == null || e === "" ? "-" : q(/* @__PURE__ */ E("span", {
5129
5167
  className: `status-label ${t}${n ? ` ${n}` : ""}`,
5130
5168
  ...a,
5131
5169
  children: e
@@ -5133,8 +5171,8 @@ function _r({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tool
5133
5171
  }
5134
5172
  //#endregion
5135
5173
  //#region src/components/AppStepper.jsx
5136
- function vr({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
5137
- G("AppStepper", c);
5174
+ function yr({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
5175
+ W("AppStepper", c);
5138
5176
  let l = t === "journey";
5139
5177
  return /* @__PURE__ */ E("nav", {
5140
5178
  className: [
@@ -5146,7 +5184,7 @@ function vr({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5146
5184
  "aria-label": a,
5147
5185
  ...c,
5148
5186
  children: e.map((t, n) => {
5149
- let a = t.status || yr(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5187
+ let a = t.status || br(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5150
5188
  c = a === "done" ? /* @__PURE__ */ E(Y, {
5151
5189
  name: "check",
5152
5190
  size: 14
@@ -5210,13 +5248,13 @@ function vr({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5210
5248
  })
5211
5249
  });
5212
5250
  }
5213
- function yr(e, t) {
5251
+ function br(e, t) {
5214
5252
  return typeof t == "number" ? e < t ? "done" : e === t ? "active" : "pending" : "pending";
5215
5253
  }
5216
5254
  //#endregion
5217
5255
  //#region src/components/AppSwitch.jsx
5218
- var br = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "round", className: o = "", ...s }, c) {
5219
- return G("AppSwitch", s), /* @__PURE__ */ E(vt, {
5256
+ var xr = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "round", className: o = "", ...s }, c) {
5257
+ return W("AppSwitch", s), /* @__PURE__ */ E(vt, {
5220
5258
  ref: c,
5221
5259
  label: e,
5222
5260
  id: t,
@@ -5231,8 +5269,8 @@ var br = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "r
5231
5269
  });
5232
5270
  //#endregion
5233
5271
  //#region src/components/AppTableEmptyState.jsx
5234
- function xr({ icon: e, title: t, text: n, action: r, ...i }) {
5235
- return G("AppTableEmptyState", i), /* @__PURE__ */ D("div", {
5272
+ function Sr({ icon: e, title: t, text: n, action: r, ...i }) {
5273
+ return W("AppTableEmptyState", i), /* @__PURE__ */ D("div", {
5236
5274
  className: "tbl-empty",
5237
5275
  ...i,
5238
5276
  children: [
@@ -5257,8 +5295,8 @@ function xr({ icon: e, title: t, text: n, action: r, ...i }) {
5257
5295
  }
5258
5296
  //#endregion
5259
5297
  //#region src/components/AppTableToolbar.jsx
5260
- function Sr({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onClearSelection: i, className: a = "", ...o }) {
5261
- G("AppTableToolbar", o);
5298
+ function Cr({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onClearSelection: i, className: a = "", ...o }) {
5299
+ W("AppTableToolbar", o);
5262
5300
  let s = n > 0;
5263
5301
  return /* @__PURE__ */ D("div", {
5264
5302
  className: `wui-table-toolbar${a ? ` ${a}` : ""}`,
@@ -5295,9 +5333,9 @@ function Sr({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onCl
5295
5333
  }
5296
5334
  //#endregion
5297
5335
  //#region src/components/AppTabs.jsx
5298
- var Cr = 1, wr = 28, Tr = .7;
5299
- function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "underline", orientation: s = "horizontal", size: c = "md", fitted: u = !1, activation: p = "automatic", ariaLabel: m, className: h = "", style: g, ..._ }) {
5300
- G("AppTabs", _);
5336
+ var wr = 1, Tr = 28, Er = .7;
5337
+ function Dr({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "underline", orientation: s = "horizontal", size: c = "md", fitted: u = !1, activation: p = "automatic", ariaLabel: m, className: h = "", style: g, ..._ }) {
5338
+ W("AppTabs", _);
5301
5339
  let v = d(null), y = d(null), b = s === "vertical", [x, S] = f(t);
5302
5340
  o(() => {
5303
5341
  S(t);
@@ -5308,7 +5346,7 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5308
5346
  let e = v.current, t = y.current;
5309
5347
  if (!e || !t || b) return;
5310
5348
  let n = e.scrollWidth - e.clientWidth;
5311
- t.classList.toggle("is-overflow-start", e.scrollLeft > Cr), t.classList.toggle("is-overflow-end", n > Cr && e.scrollLeft < n - Cr);
5349
+ t.classList.toggle("is-overflow-start", e.scrollLeft > wr), t.classList.toggle("is-overflow-end", n > wr && e.scrollLeft < n - wr);
5312
5350
  }, [b]), M = a(() => {
5313
5351
  let n = v.current;
5314
5352
  if (!n) return;
@@ -5324,7 +5362,7 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5324
5362
  if (!e || b) return;
5325
5363
  let t = e.querySelector(".app-tab.active");
5326
5364
  if (!t) return;
5327
- let n = wr, r = t.offsetLeft, i = r + t.offsetWidth;
5365
+ let n = Tr, r = t.offsetLeft, i = r + t.offsetWidth;
5328
5366
  r - n < e.scrollLeft ? e.scrollLeft = Math.max(0, r - n) : i + n > e.scrollLeft + e.clientWidth && (e.scrollLeft = i + n - e.clientWidth);
5329
5367
  }, [b]);
5330
5368
  l(() => {
@@ -5359,7 +5397,7 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5359
5397
  }
5360
5398
  let I = (e) => {
5361
5399
  let t = v.current;
5362
- t && t.scrollBy({ left: e * t.clientWidth * Tr });
5400
+ t && t.scrollBy({ left: e * t.clientWidth * Er });
5363
5401
  }, L = [
5364
5402
  "app-tabs",
5365
5403
  i === "pills" ? "app-tabs-pills" : "",
@@ -5472,8 +5510,8 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5472
5510
  }
5473
5511
  //#endregion
5474
5512
  //#region src/components/AppTagInput.jsx
5475
- var Dr = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r, label: i, error: a, hint: o, required: c = !1, size: l, maxTags: u, allowDuplicates: d = !1, disabled: f = !1, id: p, ariaLabel: m, className: h = "", fieldClassName: g = "", help: _, helpLabel: v = "More information", ...y }, b) {
5476
- G("AppTagInput", y);
5513
+ var Or = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r, label: i, error: a, hint: o, required: c = !1, size: l, maxTags: u, allowDuplicates: d = !1, disabled: f = !1, id: p, ariaLabel: m, className: h = "", fieldClassName: g = "", help: _, helpLabel: v = "More information", ...y }, b) {
5514
+ W("AppTagInput", y);
5477
5515
  let x = s(), S = p || x, { setRef: C } = Q({
5478
5516
  ref: b,
5479
5517
  value: e,
@@ -5523,8 +5561,8 @@ var Dr = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
5523
5561
  }) : null
5524
5562
  ]
5525
5563
  });
5526
- }), Or = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: c = "More information", id: u, name: p, rows: m = 4, autoGrow: h = !1, showCount: g = !1, maxLength: _, className: v = "", fieldClassName: b = "", ...x }, S) {
5527
- G("AppTextarea", x);
5564
+ }), kr = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: c = "More information", id: u, name: p, rows: m = 4, autoGrow: h = !1, showCount: g = !1, maxLength: _, className: v = "", fieldClassName: b = "", ...x }, S) {
5565
+ W("AppTextarea", x);
5528
5566
  let C = s(), w = u || C, T = [
5529
5567
  "textarea",
5530
5568
  h ? "autosize" : "",
@@ -5594,7 +5632,7 @@ var Dr = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
5594
5632
  })
5595
5633
  ]
5596
5634
  });
5597
- }), kr = {
5635
+ }), Ar = {
5598
5636
  done: "check",
5599
5637
  current: "clock",
5600
5638
  "on-hold": "lock",
@@ -5603,8 +5641,8 @@ var Dr = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
5603
5641
  skipped: "arrow-right",
5604
5642
  upcoming: null
5605
5643
  };
5606
- function Ar({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
5607
- G("AppTimeline", o);
5644
+ function jr({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
5645
+ W("AppTimeline", o);
5608
5646
  let s = t === "progress", c = `timeline${s ? " timeline--progress" : ""}${n === "horizontal" ? " timeline--horizontal" : ""}${i ? ` ${i}` : ""}`, l = typeof r == "number" && r > 0 ? r : void 0, u = l ? Math.round(l * .54) : s ? 13 : 12;
5609
5647
  return /* @__PURE__ */ E("ol", {
5610
5648
  className: c,
@@ -5614,7 +5652,7 @@ function Ar({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
5614
5652
  } : a,
5615
5653
  ...o,
5616
5654
  children: e.map((e, t) => {
5617
- let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? kr[n] : void 0) : e.icon || "circle";
5655
+ let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? Ar[n] : void 0) : e.icon || "circle";
5618
5656
  return /* @__PURE__ */ D("li", {
5619
5657
  className: `timeline-item${r}${i}`,
5620
5658
  children: [/* @__PURE__ */ E("span", {
@@ -5684,8 +5722,8 @@ function Ar({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
5684
5722
  }
5685
5723
  //#endregion
5686
5724
  //#region src/components/AppTimePicker.jsx
5687
- var jr = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i, error: a, name: o, min: c, max: l, step: u, format: d = "24", placeholder: f = "Select time", disabled: p, size: m, id: h, ariaLabel: g, className: _ = "", fieldClassName: v = "", ...y }, b) {
5688
- G("AppTimePicker", y);
5725
+ var Mr = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i, error: a, name: o, min: c, max: l, step: u, format: d = "24", placeholder: f = "Select time", disabled: p, size: m, id: h, ariaLabel: g, className: _ = "", fieldClassName: v = "", ...y }, b) {
5726
+ W("AppTimePicker", y);
5689
5727
  let x = s(), S = h || o || x, { setRef: C } = Q({
5690
5728
  ref: b,
5691
5729
  value: e ?? "",
@@ -5729,35 +5767,35 @@ var jr = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
5729
5767
  })
5730
5768
  ]
5731
5769
  });
5732
- }), Mr = 6, $ = [], Nr = /* @__PURE__ */ new Set(), Pr = /* @__PURE__ */ new Map(), Fr = /* @__PURE__ */ new Set(), Ir = 0;
5733
- function Lr() {
5734
- for (let e of Nr) e($);
5770
+ }), Nr = 6, $ = [], Pr = /* @__PURE__ */ new Set(), Fr = /* @__PURE__ */ new Map(), Ir = /* @__PURE__ */ new Set(), Lr = 0;
5771
+ function Rr() {
5772
+ for (let e of Pr) e($);
5735
5773
  }
5736
- function Rr(e) {
5737
- let t = Pr.get(e);
5738
- t !== void 0 && (clearTimeout(t), Pr.delete(e));
5774
+ function zr(e) {
5775
+ let t = Fr.get(e);
5776
+ t !== void 0 && (clearTimeout(t), Fr.delete(e));
5739
5777
  }
5740
- function zr(e, t) {
5741
- if (e.length <= Mr) return e;
5778
+ function Br(e, t) {
5779
+ if (e.length <= Nr) return e;
5742
5780
  let n = [...e], r = [];
5743
- for (; n.length > Mr;) {
5781
+ for (; n.length > Nr;) {
5744
5782
  let e = n.findIndex((e) => e.id !== t && e.duration !== 0);
5745
5783
  r.push(n.splice(e === -1 ? n.findIndex((e) => e.id !== t) : e, 1)[0]);
5746
5784
  }
5747
- for (let e of r) Rr(e.id), Fr.delete(e.id);
5785
+ for (let e of r) zr(e.id), Ir.delete(e.id);
5748
5786
  return n;
5749
5787
  }
5750
- function Br(e) {
5751
- return Nr.add(e), e($), () => {
5752
- if (Nr.delete(e), Nr.size === 0) for (let e of $) e.duration > 0 && !Pr.has(e.id) && (Fr.delete(e.id), Pr.set(e.id, setTimeout(() => Ur(e.id), e.duration)));
5788
+ function Vr(e) {
5789
+ return Pr.add(e), e($), () => {
5790
+ if (Pr.delete(e), Pr.size === 0) for (let e of $) e.duration > 0 && !Fr.has(e.id) && (Ir.delete(e.id), Fr.set(e.id, setTimeout(() => Wr(e.id), e.duration)));
5753
5791
  };
5754
5792
  }
5755
- function Vr(e, t, n = {}) {
5793
+ function Hr(e, t, n = {}) {
5756
5794
  let r = n.id, i = r || typeof e != "string" ? void 0 : `${t}:${e}`;
5757
5795
  if (r) {
5758
5796
  let i = $.find((e) => e.externalId === r);
5759
5797
  if (i) {
5760
- Rr(i.id);
5798
+ zr(i.id);
5761
5799
  let r = n.duration === void 0 ? 5e3 : n.duration;
5762
5800
  $ = $.map((a) => a.id === i.id ? {
5763
5801
  ...a,
@@ -5770,12 +5808,12 @@ function Vr(e, t, n = {}) {
5770
5808
  shape: n.shape,
5771
5809
  surface: n.surface,
5772
5810
  progress: n.progress
5773
- } : a), Lr(), r > 0 && !Fr.has(i.id) && Pr.set(i.id, setTimeout(() => Ur(i.id), r));
5811
+ } : a), Rr(), r > 0 && !Ir.has(i.id) && Fr.set(i.id, setTimeout(() => Wr(i.id), r));
5774
5812
  return;
5775
5813
  }
5776
5814
  } else if (i && $.some((e) => e.key === i)) return;
5777
- let a = ++Ir, o = n.duration === void 0 ? 5e3 : n.duration;
5778
- $ = zr([...$, {
5815
+ let a = ++Lr, o = n.duration === void 0 ? 5e3 : n.duration;
5816
+ $ = Br([...$, {
5779
5817
  id: a,
5780
5818
  externalId: r,
5781
5819
  message: e,
@@ -5788,25 +5826,25 @@ function Vr(e, t, n = {}) {
5788
5826
  surface: n.surface,
5789
5827
  progress: n.progress,
5790
5828
  key: i
5791
- }], a), Lr(), o > 0 && Pr.set(a, setTimeout(() => Ur(a), o));
5792
- }
5793
- function Hr(e) {
5794
- Rr(e), Fr.add(e);
5829
+ }], a), Rr(), o > 0 && Fr.set(a, setTimeout(() => Wr(a), o));
5795
5830
  }
5796
5831
  function Ur(e) {
5797
- Rr(e), Fr.delete(e);
5832
+ zr(e), Ir.add(e);
5833
+ }
5834
+ function Wr(e) {
5835
+ zr(e), Ir.delete(e);
5798
5836
  let t = $.filter((t) => t.id !== e);
5799
- t.length !== $.length && ($ = t, Lr());
5837
+ t.length !== $.length && ($ = t, Rr());
5800
5838
  }
5801
- function Wr() {
5802
- if (!($.length === 0 && Pr.size === 0 && Fr.size === 0)) {
5803
- for (let e of Pr.values()) clearTimeout(e);
5804
- Pr.clear(), Fr.clear(), $.length !== 0 && ($ = [], Lr());
5839
+ function Gr() {
5840
+ if (!($.length === 0 && Fr.size === 0 && Ir.size === 0)) {
5841
+ for (let e of Fr.values()) clearTimeout(e);
5842
+ Fr.clear(), Ir.clear(), $.length !== 0 && ($ = [], Rr());
5805
5843
  }
5806
5844
  }
5807
5845
  //#endregion
5808
5846
  //#region src/components/AppToast.jsx
5809
- var Gr = {
5847
+ var Kr = {
5810
5848
  success: {
5811
5849
  icon: "check-circle",
5812
5850
  assertive: !1
@@ -5823,7 +5861,7 @@ var Gr = {
5823
5861
  icon: "alert-circle",
5824
5862
  assertive: !0
5825
5863
  }
5826
- }, Kr = {
5864
+ }, qr = {
5827
5865
  "top-start": "top-0 start-0",
5828
5866
  "top-center": "top-0 start-50 translate-middle-x",
5829
5867
  "top-end": "top-0 end-0",
@@ -5831,21 +5869,21 @@ var Gr = {
5831
5869
  "bottom-start": "bottom-0 start-0",
5832
5870
  "bottom-center": "bottom-0 start-50 translate-middle-x",
5833
5871
  "bottom-end": "bottom-0 end-0"
5834
- }, qr = 64, Jr = /* @__PURE__ */ new Set([
5872
+ }, Jr = 64, Yr = /* @__PURE__ */ new Set([
5835
5873
  "rise",
5836
5874
  "organic",
5837
5875
  "jelly",
5838
5876
  "spring"
5839
- ]), Yr = /* @__PURE__ */ new Set([
5877
+ ]), Xr = /* @__PURE__ */ new Set([
5840
5878
  "rounded",
5841
5879
  "pill",
5842
5880
  "sharp"
5843
- ]), Xr = /* @__PURE__ */ new Set(["auto", "inverse"]);
5844
- function Zr({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
5845
- G("AppToast", s), K("AppToast", "position", e, Object.keys(Kr)), K("AppToast", "animation", n, Jr), K("AppToast", "shape", r, Yr), K("AppToast", "surface", i, Xr);
5881
+ ]), Zr = /* @__PURE__ */ new Set(["auto", "inverse"]);
5882
+ function Qr({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
5883
+ W("AppToast", s), G("AppToast", "position", e, Object.keys(qr)), G("AppToast", "animation", n, Yr), G("AppToast", "shape", r, Xr), G("AppToast", "surface", i, Zr);
5846
5884
  let [c, l] = f([]);
5847
- o(() => Br(l), []);
5848
- let u = Math.max(0, c.length - t), d = u ? c.slice(u) : c, p = Kr[e] ?? Kr["bottom-end"];
5885
+ o(() => Vr(l), []);
5886
+ let u = Math.max(0, c.length - t), d = u ? c.slice(u) : c, p = qr[e] ?? qr["bottom-end"];
5849
5887
  return /* @__PURE__ */ D("div", {
5850
5888
  ...s,
5851
5889
  className: `wui-toast-container toast-container position-fixed ${p} p-3 ${a}`.trim(),
@@ -5857,7 +5895,7 @@ function Zr({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
5857
5895
  u,
5858
5896
  " more"
5859
5897
  ]
5860
- }), d.map((e) => /* @__PURE__ */ E(Qr, {
5898
+ }), d.map((e) => /* @__PURE__ */ E($r, {
5861
5899
  toast: e,
5862
5900
  defaultAnimation: n,
5863
5901
  defaultShape: r,
@@ -5865,14 +5903,14 @@ function Zr({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
5865
5903
  }, e.id))]
5866
5904
  });
5867
5905
  }
5868
- function Qr({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
5869
- let i = Gr[e.variant] ?? Gr.success, a = Jr.has(e.animation) ? e.animation : t, s = Yr.has(e.shape) ? e.shape : n, c = Xr.has(e.surface) ? e.surface : r, l = (a !== "rise" && Jr.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && Yr.has(s) ? ` wui-toast--shape-${s}` : "") + (c === "inverse" ? " wui-toast--surface-inverse" : ""), u = e.duration === 0, [p, m] = f(0), [h, g] = f(!1), _ = d(null), v = () => Ur(e.id), y = d(null);
5906
+ function $r({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
5907
+ let i = Kr[e.variant] ?? Kr.success, a = Yr.has(e.animation) ? e.animation : t, s = Xr.has(e.shape) ? e.shape : n, c = Zr.has(e.surface) ? e.surface : r, l = (a !== "rise" && Yr.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && Xr.has(s) ? ` wui-toast--shape-${s}` : "") + (c === "inverse" ? " wui-toast--surface-inverse" : ""), u = e.duration === 0, [p, m] = f(0), [h, g] = f(!1), _ = d(null), v = () => Wr(e.id), y = d(null);
5870
5908
  o(() => {
5871
5909
  if (e.duration === 0) return;
5872
- Hr(e.id);
5910
+ Ur(e.id);
5873
5911
  let t = y.current, n = t == null ? "" : getComputedStyle(t).animationName;
5874
5912
  if (t != null && (typeof t.getAnimations == "function" ? t.getAnimations().length > 0 : n !== "" && n !== "none")) return;
5875
- let r = setTimeout(() => Ur(e.id), e.duration);
5913
+ let r = setTimeout(() => Wr(e.id), e.duration);
5876
5914
  return () => clearTimeout(r);
5877
5915
  }, [e.id, e.duration]);
5878
5916
  let b = (e) => {
@@ -5884,7 +5922,7 @@ function Qr({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
5884
5922
  }, C = (e) => {
5885
5923
  if (_.current === null) return;
5886
5924
  let t = e.clientX - _.current;
5887
- if (Math.abs(t) > qr) {
5925
+ if (Math.abs(t) > Jr) {
5888
5926
  v();
5889
5927
  return;
5890
5928
  }
@@ -5968,8 +6006,8 @@ function Qr({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
5968
6006
  }
5969
6007
  //#endregion
5970
6008
  //#region src/components/AppToolbar.jsx
5971
- function $r({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
5972
- G("AppToolbar", u);
6009
+ function ei({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
6010
+ W("AppToolbar", u);
5973
6011
  let d = s(), p = o || d, [m, h] = f(r), g = n === void 0 ? m : n;
5974
6012
  return /* @__PURE__ */ D("div", {
5975
6013
  className: [
@@ -6026,8 +6064,8 @@ function $r({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelec
6026
6064
  }
6027
6065
  //#endregion
6028
6066
  //#region src/components/AppWizard.jsx
6029
- var ei = i(function({ steps: t = [], children: n, active: r, defaultActive: i = 0, onStepChange: a, onFinish: s, onSkip: c, beforeNext: l, onInvalid: u, variant: f = "steps", tone: p, orientation: m = "horizontal", skippable: h = !1, nonLinear: g = !1, hideStepper: _ = !1, disabled: v = !1, label: y = "Progress", backLabel: b = "Back", nextLabel: x = "Next", skipLabel: S = "Skip", finishLabel: C = "Finish", className: w = "", ...T }, D) {
6030
- G("AppWizard", T);
6067
+ var ti = i(function({ steps: t = [], children: n, active: r, defaultActive: i = 0, onStepChange: a, onFinish: s, onSkip: c, beforeNext: l, onInvalid: u, variant: f = "steps", tone: p, orientation: m = "horizontal", skippable: h = !1, nonLinear: g = !1, hideStepper: _ = !1, disabled: v = !1, label: y = "Progress", backLabel: b = "Back", nextLabel: x = "Next", skipLabel: S = "Skip", finishLabel: C = "Finish", className: w = "", ...T }, D) {
6068
+ W("AppWizard", T);
6031
6069
  let O = d(null), k = (e) => {
6032
6070
  O.current = e, typeof D == "function" ? D(e) : D && (D.current = e);
6033
6071
  }, A = e.toArray(n), j = [p && `wui-step-tone-${p}`, w].filter(Boolean).join(" ");
@@ -6078,15 +6116,15 @@ var ei = i(function({ steps: t = [], children: n, active: r, defaultActive: i =
6078
6116
  children: A[t]
6079
6117
  }, e.key ?? `${e.label}-${t}`))
6080
6118
  });
6081
- }), ti = /* @__PURE__ */ new Set([
6119
+ }), ni = /* @__PURE__ */ new Set([
6082
6120
  "ArrowUp",
6083
6121
  "ArrowDown",
6084
6122
  "ArrowLeft",
6085
6123
  "ArrowRight"
6086
6124
  ]);
6087
- function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAction: i, linkComponent: a, searchable: s = !1, onCreate: c, canCreate: l = !1, createLabel: p = "Create workspace", compact: m = !1, size: h = "md", ariaLabel: g, ..._ }) {
6125
+ function ri({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAction: i, linkComponent: a, searchable: s = !1, onCreate: c, canCreate: l = !1, createLabel: p = "Create workspace", compact: m = !1, size: h = "md", ariaLabel: g, ..._ }) {
6088
6126
  let { onToggle: y, ...b } = _;
6089
- G("AppWorkspaceSwitcher", b);
6127
+ W("AppWorkspaceSwitcher", b);
6090
6128
  let [x, S] = f(""), [C, w] = f(!1), T = d(null), O = (e, t) => {
6091
6129
  w(e), y?.(e, t);
6092
6130
  }, k = e.find((e) => e.id === t) ?? e[0], A = u(() => {
@@ -6104,7 +6142,7 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6104
6142
  let e = T.current;
6105
6143
  if (!e) return;
6106
6144
  let t = (e) => {
6107
- if (ti.has(e.key)) {
6145
+ if (ni.has(e.key)) {
6108
6146
  e.stopPropagation();
6109
6147
  return;
6110
6148
  }
@@ -6122,7 +6160,7 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6122
6160
  onToggle: O,
6123
6161
  ...b,
6124
6162
  children: [/* @__PURE__ */ E(v.Toggle, {
6125
- as: oi,
6163
+ as: si,
6126
6164
  compact: m,
6127
6165
  tenant: k,
6128
6166
  "aria-label": M
@@ -6157,7 +6195,7 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6157
6195
  className: `workspace-switcher-option${e.id === k?.id ? " is-active" : ""}`,
6158
6196
  onClick: () => n?.(e),
6159
6197
  children: [
6160
- /* @__PURE__ */ E(ii, { tenant: e }),
6198
+ /* @__PURE__ */ E(ai, { tenant: e }),
6161
6199
  /* @__PURE__ */ E("span", {
6162
6200
  className: "workspace-switcher-option-name",
6163
6201
  children: e.name
@@ -6189,17 +6227,17 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6189
6227
  }) : null,
6190
6228
  i ? /* @__PURE__ */ E("div", {
6191
6229
  className: "workspace-switcher-footer",
6192
- children: ai(i, a)
6230
+ children: oi(i, a)
6193
6231
  }) : null
6194
6232
  ]
6195
6233
  })]
6196
6234
  });
6197
6235
  }
6198
- function ri(e) {
6236
+ function ii(e) {
6199
6237
  let t = String(e ?? "").trim().split(/\s+/).filter(Boolean);
6200
6238
  return t.length === 0 ? "" : (t[0][0] + (t.length > 1 ? t[t.length - 1][0] : "")).toUpperCase();
6201
6239
  }
6202
- function ii({ tenant: e }) {
6240
+ function ai({ tenant: e }) {
6203
6241
  return e?.logoUrl ? /* @__PURE__ */ E("img", {
6204
6242
  className: "workspace-switcher-mark",
6205
6243
  src: e.logoUrl,
@@ -6207,10 +6245,10 @@ function ii({ tenant: e }) {
6207
6245
  loading: "lazy"
6208
6246
  }) : /* @__PURE__ */ E("span", {
6209
6247
  className: "workspace-switcher-mark",
6210
- children: ri(e?.name)
6248
+ children: ii(e?.name)
6211
6249
  });
6212
6250
  }
6213
- function ai(e, t) {
6251
+ function oi(e, t) {
6214
6252
  if (typeof e != "object" || !e || !("label" in e)) return e;
6215
6253
  let { label: n, icon: r, href: i } = e;
6216
6254
  return /* @__PURE__ */ D(i ? t ?? "a" : "button", {
@@ -6222,7 +6260,7 @@ function ai(e, t) {
6222
6260
  }) : null, n]
6223
6261
  });
6224
6262
  }
6225
- var oi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
6263
+ var si = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
6226
6264
  return /* @__PURE__ */ D("button", {
6227
6265
  ref: a,
6228
6266
  type: "button",
@@ -6230,7 +6268,7 @@ var oi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
6230
6268
  "aria-haspopup": "true",
6231
6269
  "aria-label": n,
6232
6270
  ...i,
6233
- children: [/* @__PURE__ */ E(ii, { tenant: t }), e ? null : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
6271
+ children: [/* @__PURE__ */ E(ai, { tenant: t }), e ? null : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
6234
6272
  className: "workspace-switcher-trigger-name",
6235
6273
  children: t?.name
6236
6274
  }), /* @__PURE__ */ E(Y, {
@@ -6242,36 +6280,36 @@ var oi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
6242
6280
  });
6243
6281
  //#endregion
6244
6282
  //#region src/components/toast.js
6245
- function si() {
6246
- Wr();
6283
+ function ci() {
6284
+ Gr();
6247
6285
  }
6248
- var ci = /* @__PURE__ */ new Set([
6286
+ var li = /* @__PURE__ */ new Set([
6249
6287
  "success",
6250
6288
  "info",
6251
6289
  "warning",
6252
6290
  "danger"
6253
6291
  ]);
6254
- function li(e, t = "info") {
6292
+ function ui(e, t = "info") {
6255
6293
  let n = "info", r = {};
6256
- typeof t == "string" ? n = ci.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = ci.has(r.variant) ? r.variant : "info"), Vr(e, n, r);
6294
+ typeof t == "string" ? n = li.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = li.has(r.variant) ? r.variant : "info"), Hr(e, n, r);
6257
6295
  }
6258
- function ui(e, t = {}) {
6259
- Vr(e, "danger", t);
6296
+ function di(e, t = {}) {
6297
+ Hr(e, "danger", t);
6260
6298
  }
6261
- li.promise = (e, t, n = {}) => {
6299
+ ui.promise = (e, t, n = {}) => {
6262
6300
  let r = n.id || `promise-${Date.now()}-${Math.random()}`;
6263
- return li(t.loading || "Loading...", {
6301
+ return ui(t.loading || "Loading...", {
6264
6302
  ...n,
6265
6303
  variant: "info",
6266
6304
  id: r,
6267
6305
  duration: 0
6268
- }), e.then((e) => (li((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
6306
+ }), e.then((e) => (ui((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
6269
6307
  ...n,
6270
6308
  variant: "success",
6271
6309
  id: r,
6272
6310
  duration: n.duration === void 0 ? 5e3 : n.duration
6273
6311
  }), e)).catch((e) => {
6274
- throw li((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
6312
+ throw ui((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
6275
6313
  ...n,
6276
6314
  variant: "danger",
6277
6315
  id: r,
@@ -6281,7 +6319,7 @@ li.promise = (e, t, n = {}) => {
6281
6319
  };
6282
6320
  //#endregion
6283
6321
  //#region src/lib/useCommandPaletteShortcut.js
6284
- function di(e, { key: t = "k" } = {}) {
6322
+ function fi(e, { key: t = "k" } = {}) {
6285
6323
  let n = d(e);
6286
6324
  o(() => {
6287
6325
  n.current = e;
@@ -6294,7 +6332,7 @@ function di(e, { key: t = "k" } = {}) {
6294
6332
  }
6295
6333
  //#endregion
6296
6334
  //#region src/lib/usePagination.js
6297
- function fi(e, t = 10) {
6335
+ function pi(e, t = 10) {
6298
6336
  let [n, r] = f(1), [i, a] = f(t), s = e.length, c = Math.max(1, Math.ceil(s / i));
6299
6337
  o(() => {
6300
6338
  n > c && r(c);
@@ -6320,4 +6358,44 @@ function fi(e, t = 10) {
6320
6358
  };
6321
6359
  }
6322
6360
  //#endregion
6323
- export { ke as AppAccordion, je as AppActionIcon, Ie as AppAlert, Ue as AppAsyncBlock, nt as AppAutocomplete, ct as AppAvatar, dt as AppAvatarGroup, ft as AppBadge, mt as AppBanner, ht as AppBreadcrumbs, Be as AppButton, _t as AppCard, yt as AppCheckbox, bt as AppChip, wt as AppChoiceCard, Tt as AppChoiceChip, Et as AppColorField, Nt as AppCommandPalette, Rt as AppCompareTable, Ht as AppConfirmDialog, Wt as AppConsentBanner, Kt as AppCopyButton, Jt as AppCountrySelect, on as AppDataTable, sn as AppDatePicker, cn as AppDateRangePicker, ln as AppDescriptions, fn as AppDropdown, Ve as AppEmptyState, yn as AppFileAttachment, Sn as AppFilePicker, Cn as AppFloatingDock, wn as AppFormActions, Tn as AppFormRow, En as AppFormSection, Y as AppIcon, Dn as AppInfoList, qe as AppInfoTip, zt as AppInput, Mn as AppKpiTile, In as AppLink, Rn as AppLogoPicker, Hn as AppMeter, jt as AppModal, Un as AppMultiSelect, Wn as AppNumberInput, Gn as AppOtpInput, Kn as AppPageHeader, qn as AppPagination, Jn as AppPhoneNumberInput, Ge as AppPopover, Yn as AppPricingCard, Qn as AppProgress, $n as AppRadio, er as AppRepeater, Z as AppRequiredMark, tr as AppResourceCard, rr as AppResult, ir as AppScrollbar, ar as AppSearch, sr as AppSegmented, lr as AppSelect, $t as AppSelectMini, ur as AppShell, pr as AppSidebarMenu, Yt as AppSkeleton, Xt as AppSkeletonRows, mr as AppSlider, He as AppSpinner, gr as AppSplash, _r as AppStatusBadge, vr as AppStepper, br as AppSwitch, xr as AppTableEmptyState, tn as AppTablePagination, Sr as AppTableToolbar, Er as AppTabs, Dr as AppTagInput, Or as AppTextarea, jr as AppTimePicker, Ar as AppTimeline, Zr as AppToast, $r as AppToolbar, ce as AppTooltip, ei as AppWizard, ni as AppWorkspaceSwitcher, Vt as MODAL_ICONS, si as dismissAll, ui as errorToast, Ee as iconNames, Oe as registerIcons, li as toast, di as useCommandPaletteShortcut, fi as usePagination };
6361
+ //#region src/lib/useTableView.js
6362
+ var mi = (e) => `wui-view:${e}`;
6363
+ function hi(e, t) {
6364
+ try {
6365
+ let n = window.localStorage.getItem(mi(e));
6366
+ if (!n) return t;
6367
+ let r = JSON.parse(n);
6368
+ return {
6369
+ hidden: Array.isArray(r.hidden) ? r.hidden : t.hidden,
6370
+ sort: r.sort && typeof r.sort.key == "string" ? r.sort : t.sort
6371
+ };
6372
+ } catch {
6373
+ return t;
6374
+ }
6375
+ }
6376
+ function gi(e, { sort: t } = {}) {
6377
+ let [n, r] = f(() => hi(e, {
6378
+ hidden: [],
6379
+ sort: t
6380
+ }));
6381
+ o(() => {
6382
+ try {
6383
+ window.localStorage.setItem(mi(e), JSON.stringify(n));
6384
+ } catch {}
6385
+ }, [e, n]);
6386
+ let i = a((e) => r((t) => ({
6387
+ ...t,
6388
+ hidden: t.hidden.includes(e) ? t.hidden.filter((t) => t !== e) : [...t.hidden, e]
6389
+ })), []), s = a((e) => r((t) => ({
6390
+ ...t,
6391
+ sort: typeof e == "function" ? e(t.sort) : e
6392
+ })), []);
6393
+ return {
6394
+ hiddenColumns: n.hidden,
6395
+ toggleColumn: i,
6396
+ sort: n.sort,
6397
+ setSort: s
6398
+ };
6399
+ }
6400
+ //#endregion
6401
+ export { ke as AppAccordion, je as AppActionIcon, Ie as AppAlert, Ue as AppAsyncBlock, nt as AppAutocomplete, ct as AppAvatar, dt as AppAvatarGroup, ft as AppBadge, mt as AppBanner, ht as AppBreadcrumbs, Be as AppButton, _t as AppCard, yt as AppCheckbox, bt as AppChip, wt as AppChoiceCard, Tt as AppChoiceChip, Et as AppColorField, jt as AppColumnMenu, Rt as AppCommandPalette, Ut as AppCompareTable, qt as AppConfirmDialog, Yt as AppConsentBanner, Zt as AppCopyButton, $t as AppCountrySelect, dn as AppDataTable, fn as AppDatePicker, pn as AppDateRangePicker, mn as AppDescriptions, kt as AppDropdown, Ve as AppEmptyState, bn as AppFileAttachment, Cn as AppFilePicker, wn as AppFloatingDock, Tn as AppFormActions, En as AppFormRow, Dn as AppFormSection, Y as AppIcon, On as AppInfoList, qe as AppInfoTip, Wt as AppInput, Nn as AppKpiTile, Ln as AppLink, zn as AppLogoPicker, Un as AppMeter, It as AppModal, Wn as AppMultiSelect, Gn as AppNumberInput, Kn as AppOtpInput, qn as AppPageHeader, Jn as AppPagination, Yn as AppPhoneNumberInput, Ge as AppPopover, Xn as AppPricingCard, $n as AppProgress, er as AppRadio, tr as AppRepeater, Z as AppRequiredMark, nr as AppResourceCard, ir as AppResult, ar as AppScrollbar, or as AppSearch, cr as AppSegmented, ur as AppSelect, an as AppSelectMini, dr as AppShell, mr as AppSidebarMenu, en as AppSkeleton, tn as AppSkeletonRows, hr as AppSlider, He as AppSpinner, _r as AppSplash, vr as AppStatusBadge, yr as AppStepper, xr as AppSwitch, Sr as AppTableEmptyState, sn as AppTablePagination, Cr as AppTableToolbar, Dr as AppTabs, Or as AppTagInput, kr as AppTextarea, Mr as AppTimePicker, jr as AppTimeline, Qr as AppToast, ei as AppToolbar, ce as AppTooltip, ti as AppWizard, ri as AppWorkspaceSwitcher, Kt as MODAL_ICONS, ci as dismissAll, di as errorToast, Ee as iconNames, Oe as registerIcons, ui as toast, fi as useCommandPaletteShortcut, pi as usePagination, gi as useTableView };