@webority/ui-react 0.17.3 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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,62 @@ 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;
3052
+ //#region src/lib/focusField.js
3053
+ var hn = "input:not([type=\"hidden\"]):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
3054
+ function gn(e) {
3055
+ if (!e) return !1;
3056
+ let t = [document.getElementById(e), ...document.getElementsByName(e)];
3057
+ for (let e of t) {
3058
+ if (!e) continue;
3059
+ let t = e.matches(hn) ? e : e.querySelector(hn);
3060
+ if (t) return t.scrollIntoView?.({ block: "center" }), t.focus({ preventScroll: !0 }), !0;
2943
3061
  }
2944
- !e || un || (un = !0, console.warn("[@webority/ui-react] <AppDropdown> icon-only toggle has no accessible name — pass `label` or `ariaLabel`."));
3062
+ return !1;
2945
3063
  }
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);
3064
+ //#endregion
3065
+ //#region src/components/AppErrorSummary.jsx
3066
+ function _n({ errors: e = [], title: t, autoFocus: n = !0, id: r, className: i = "", ...a }) {
3067
+ W("AppErrorSummary", a);
3068
+ let c = s(), l = r || c, u = d(null), f = d(0), p = e.length;
2949
3069
  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
- })
3070
+ n && p > 0 && f.current === 0 && u.current?.focus(), f.current = p;
3071
+ }, [p, n]), p ? /* @__PURE__ */ D("div", {
3072
+ ref: u,
3073
+ className: ["alert alert-danger wui-error-summary", i].filter(Boolean).join(" "),
3074
+ role: "alert",
3075
+ tabIndex: -1,
3076
+ "aria-labelledby": `${l}-title`,
3077
+ id: l,
3078
+ "data-autofocus": n ? "" : void 0,
3079
+ ...a,
3080
+ children: [/* @__PURE__ */ E("h2", {
3081
+ className: "wui-error-summary-title",
3082
+ id: `${l}-title`,
3083
+ children: t ?? `Fix ${p} field${p > 1 ? "s" : ""} to continue`
3084
+ }), /* @__PURE__ */ E("ul", {
3085
+ className: "wui-error-summary-list",
3086
+ children: e.map((e) => /* @__PURE__ */ E("li", { children: /* @__PURE__ */ E("a", {
3087
+ href: `#${e.field}`,
3088
+ onClick: (t) => {
3089
+ t.preventDefault(), gn(e.field);
3090
+ },
3091
+ children: e.message
3092
+ }) }, `${e.field}:${e.message}`))
2997
3093
  })]
2998
- });
3094
+ }) : null;
2999
3095
  }
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
3096
  //#endregion
3014
3097
  //#region src/lib/fileItem.js
3015
- function mn(e) {
3098
+ function vn(e) {
3016
3099
  return e instanceof File ? `${e.name}:${e.size}` : e?.url || e?.name || "item";
3017
3100
  }
3018
- function hn(e) {
3101
+ function yn(e) {
3019
3102
  return e instanceof File ? e.name : e?.name;
3020
3103
  }
3021
- function gn(e) {
3104
+ function bn(e) {
3022
3105
  return e instanceof File ? `${(e.size / 1024).toFixed(0)} KB` : null;
3023
3106
  }
3024
- function _n(e, t) {
3107
+ function xn(e, t) {
3025
3108
  let [n, r] = f(null);
3026
3109
  return o(() => {
3027
3110
  if (!t) {
@@ -3037,8 +3120,8 @@ function _n(e, t) {
3037
3120
  }
3038
3121
  //#endregion
3039
3122
  //#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);
3123
+ function Sn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3124
+ let i = xn(e, t), a = yn(e), o = bn(e);
3042
3125
  return /* @__PURE__ */ D("div", {
3043
3126
  className: "attach-item",
3044
3127
  children: [
@@ -3077,9 +3160,9 @@ function vn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3077
3160
  }
3078
3161
  //#endregion
3079
3162
  //#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);
3163
+ function Cn({ 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 }) {
3164
+ W("AppFileAttachment", p);
3165
+ 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 = wn(a, o);
3083
3166
  function C(e) {
3084
3167
  let n = Array.from(e.target.files || []);
3085
3168
  if (e.target.value = "", !n.length) return;
@@ -3096,8 +3179,8 @@ function yn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3096
3179
  s.push(e);
3097
3180
  }
3098
3181
  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)))));
3182
+ let e = Array.isArray(t) ? t : t ? [t] : [], n = new Set(e.map(vn));
3183
+ r(e.concat(s.filter((e) => !n.has(vn(e)))));
3101
3184
  } else r(s[0]);
3102
3185
  }
3103
3186
  function w(e) {
@@ -3152,17 +3235,17 @@ function yn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3152
3235
  onChange: C,
3153
3236
  ...p
3154
3237
  })] }),
3155
- x ? /* @__PURE__ */ E(xn, {
3238
+ x ? /* @__PURE__ */ E(Tn, {
3156
3239
  item: v[0],
3157
3240
  isImage: !0,
3158
3241
  onRemove: () => w(0)
3159
3242
  }) : v.length > 0 && /* @__PURE__ */ E("div", {
3160
3243
  className: "attach-list",
3161
- children: v.map((e, t) => /* @__PURE__ */ E(vn, {
3244
+ children: v.map((e, t) => /* @__PURE__ */ E(Sn, {
3162
3245
  item: e,
3163
3246
  isImage: b(e),
3164
3247
  onRemove: () => w(t)
3165
- }, mn(e)))
3248
+ }, vn(e)))
3166
3249
  }),
3167
3250
  O && /* @__PURE__ */ E("div", {
3168
3251
  className: "field-error",
@@ -3172,12 +3255,12 @@ function yn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3172
3255
  ]
3173
3256
  });
3174
3257
  }
3175
- function bn(e, t) {
3258
+ function wn(e, t) {
3176
3259
  let n = e?.trim() ? j(e) : "", r = t > 0 ? `up to ${t} MB` : "";
3177
3260
  return n && r ? `${n}, ${r}` : r ? `Up to ${t} MB` : n;
3178
3261
  }
3179
- function xn({ item: e, isImage: t, onRemove: n }) {
3180
- let r = _n(e, t), i = hn(e), a = gn(e);
3262
+ function Tn({ item: e, isImage: t, onRemove: n }) {
3263
+ let r = xn(e, t), i = yn(e), a = bn(e);
3181
3264
  return /* @__PURE__ */ D("div", {
3182
3265
  className: "attach-preview",
3183
3266
  children: [/* @__PURE__ */ D("div", {
@@ -3209,8 +3292,8 @@ function xn({ item: e, isImage: t, onRemove: n }) {
3209
3292
  }
3210
3293
  //#endregion
3211
3294
  //#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);
3295
+ function En({ 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 }) {
3296
+ W("AppFilePicker", b);
3214
3297
  let [x, S] = f(null), [C, w] = f(!1), [T, O] = f(""), k = d(null), M = s(), N = r || M;
3215
3298
  o(() => {
3216
3299
  if (!a && t instanceof File && P(t)) {
@@ -3219,16 +3302,16 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3219
3302
  }
3220
3303
  S(null);
3221
3304
  }, [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) => {
3305
+ 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
3306
  let t = L(e, {
3224
3307
  accept: l,
3225
3308
  maxSizeMb: u
3226
3309
  });
3227
3310
  return t ? (O(t), !1) : (O(""), i(e), !0);
3228
- }, oe = (e) => {
3311
+ }, se = (e) => {
3229
3312
  let n = Array.from(e || []);
3230
3313
  if (!n.length) return;
3231
- let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(mn)), o = "", s = [];
3314
+ let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(vn)), o = "", s = [];
3232
3315
  for (let e of n) {
3233
3316
  let t = L(e, {
3234
3317
  accept: l,
@@ -3238,25 +3321,25 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3238
3321
  o ||= t;
3239
3322
  continue;
3240
3323
  }
3241
- a.has(mn(e)) || (a.add(mn(e)), s.push(e));
3324
+ a.has(vn(e)) || (a.add(vn(e)), s.push(e));
3242
3325
  }
3243
3326
  let d = r.concat(s);
3244
3327
  c && d.length > c && (d = d.slice(0, c), o ||= `Up to ${c} files.`), O(o), i(d);
3245
- }, se = (e) => {
3328
+ }, K = (e) => {
3246
3329
  if (a) {
3247
- oe(e.target.files);
3330
+ se(e.target.files);
3248
3331
  return;
3249
3332
  }
3250
3333
  let t = e.target.files?.[0] || null;
3251
- t && (K(t) || (e.target.value = ""));
3334
+ t && (G(t) || (e.target.value = ""));
3252
3335
  }, ce = (e) => {
3253
3336
  if (e.preventDefault(), w(!1), g) return;
3254
3337
  if (a) {
3255
- oe(e.dataTransfer.files);
3338
+ se(e.dataTransfer.files);
3256
3339
  return;
3257
3340
  }
3258
3341
  let t = e.dataTransfer.files?.[0];
3259
- t && K(t);
3342
+ t && G(t);
3260
3343
  }, le = (e) => {
3261
3344
  O(""), i(I.filter((t, n) => n !== e));
3262
3345
  }, ue = () => k.current?.click(), de = g ? /* @__PURE__ */ E("span", {
@@ -3279,7 +3362,7 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3279
3362
  onClick: (e) => {
3280
3363
  e.currentTarget.value = "";
3281
3364
  },
3282
- onChange: se,
3365
+ onChange: K,
3283
3366
  ...b
3284
3367
  });
3285
3368
  return /* @__PURE__ */ D("div", {
@@ -3290,7 +3373,7 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3290
3373
  htmlFor: N,
3291
3374
  children: [e, p && /* @__PURE__ */ E(Z, {})]
3292
3375
  }),
3293
- U ? /* @__PURE__ */ D("div", {
3376
+ ee ? /* @__PURE__ */ D("div", {
3294
3377
  className: `file-preview${R ? " error" : ""}${_ ? ` ${_}` : ""}`,
3295
3378
  style: y,
3296
3379
  "aria-busy": g || void 0,
@@ -3298,12 +3381,12 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3298
3381
  /* @__PURE__ */ D("button", {
3299
3382
  type: "button",
3300
3383
  className: "file-preview-open",
3301
- "aria-label": re,
3384
+ "aria-label": ie,
3302
3385
  onClick: ue,
3303
3386
  disabled: g,
3304
- children: [W && te ? /* @__PURE__ */ E("img", {
3305
- src: te,
3306
- alt: ae,
3387
+ children: [U && ne ? /* @__PURE__ */ E("img", {
3388
+ src: ne,
3389
+ alt: oe,
3307
3390
  className: "file-preview-img"
3308
3391
  }) : /* @__PURE__ */ D("span", {
3309
3392
  className: "file-preview-file",
@@ -3312,7 +3395,7 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3312
3395
  size: 28
3313
3396
  }), /* @__PURE__ */ E("span", {
3314
3397
  className: "file-preview-file-name",
3315
- children: ee
3398
+ children: te
3316
3399
  })]
3317
3400
  }), /* @__PURE__ */ E("span", {
3318
3401
  className: "file-preview-overlay",
@@ -3320,11 +3403,11 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3320
3403
  className: "file-preview-cta",
3321
3404
  children: [
3322
3405
  /* @__PURE__ */ E(Y, {
3323
- name: W ? "image" : "file-text",
3406
+ name: U ? "image" : "file-text",
3324
3407
  size: 16
3325
3408
  }),
3326
3409
  " ",
3327
- W ? "Change image" : "Change file"
3410
+ U ? "Change image" : "Change file"
3328
3411
  ]
3329
3412
  })
3330
3413
  })]
@@ -3332,14 +3415,14 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3332
3415
  q(/* @__PURE__ */ E("button", {
3333
3416
  type: "button",
3334
3417
  className: "file-preview-remove",
3335
- "aria-label": ie,
3418
+ "aria-label": ae,
3336
3419
  onClick: () => i(null),
3337
3420
  disabled: g,
3338
3421
  children: /* @__PURE__ */ E(Y, {
3339
3422
  name: "x",
3340
3423
  size: 16
3341
3424
  })
3342
- }), ie),
3425
+ }), ae),
3343
3426
  fe,
3344
3427
  de
3345
3428
  ]
@@ -3383,12 +3466,12 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3383
3466
  de,
3384
3467
  a && I.length > 0 && /* @__PURE__ */ E("div", {
3385
3468
  className: "attach-list",
3386
- children: I.map((e, t) => /* @__PURE__ */ E(vn, {
3469
+ children: I.map((e, t) => /* @__PURE__ */ E(Sn, {
3387
3470
  item: e,
3388
3471
  isImage: e instanceof File ? P(e) : H || P(e),
3389
3472
  noun: "file",
3390
3473
  onRemove: () => le(t)
3391
- }, mn(e)))
3474
+ }, vn(e)))
3392
3475
  })
3393
3476
  ]
3394
3477
  }),
@@ -3406,8 +3489,8 @@ function Sn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3406
3489
  }
3407
3490
  //#endregion
3408
3491
  //#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", {
3492
+ function Dn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation", magnify: r = !0, maxScale: i, radius: a, className: o = "", ...s }) {
3493
+ return W("AppFloatingDock", s), /* @__PURE__ */ E("wui-dock", {
3411
3494
  role: "navigation",
3412
3495
  "aria-label": n,
3413
3496
  static: r ? void 0 : "",
@@ -3448,8 +3531,8 @@ function Cn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation"
3448
3531
  }
3449
3532
  //#endregion
3450
3533
  //#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", {
3534
+ function On({ children: e, sticky: t = !1, align: n = "end", className: r = "", ...i }) {
3535
+ return W("AppFormActions", i), /* @__PURE__ */ E("div", {
3453
3536
  className: [
3454
3537
  "form-actions",
3455
3538
  t ? "form-actions-sticky" : "",
@@ -3462,8 +3545,8 @@ function wn({ children: e, sticky: t = !1, align: n = "end", className: r = "",
3462
3545
  }
3463
3546
  //#endregion
3464
3547
  //#region src/components/AppFormRow.jsx
3465
- function Tn({ children: e, columns: t = 2, className: n = "", ...r }) {
3466
- G("AppFormRow", r);
3548
+ function kn({ children: e, columns: t = 2, className: n = "", ...r }) {
3549
+ W("AppFormRow", r);
3467
3550
  let { style: i, ...a } = r;
3468
3551
  return /* @__PURE__ */ E("div", {
3469
3552
  className: ["form-row-grid", n].filter(Boolean).join(" "),
@@ -3477,10 +3560,17 @@ function Tn({ children: e, columns: t = 2, className: n = "", ...r }) {
3477
3560
  }
3478
3561
  //#endregion
3479
3562
  //#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", {
3482
- className: ["form-section", r].filter(Boolean).join(" "),
3483
- ...i,
3563
+ var An = ["stacked", "side"], jn = ["top", "start"], Mn = ["comfortable", "compact"];
3564
+ function Nn({ children: e, title: t, description: n, layout: r = "stacked", labels: i = "top", density: a = "comfortable", className: o = "", ...s }) {
3565
+ return W("AppFormSection", s), G("AppFormSection", "layout", r, An), G("AppFormSection", "labels", i, jn), G("AppFormSection", "density", a, Mn), /* @__PURE__ */ D("section", {
3566
+ className: [
3567
+ "form-section",
3568
+ r === "side" ? "wui-form-side" : "",
3569
+ i === "start" ? "wui-form-labels-start" : "",
3570
+ a === "compact" ? "wui-form-compact" : "",
3571
+ o
3572
+ ].filter(Boolean).join(" "),
3573
+ ...s,
3484
3574
  children: [(t != null || n != null) && /* @__PURE__ */ D("div", {
3485
3575
  className: "form-section-head",
3486
3576
  children: [t != null && /* @__PURE__ */ E("h3", {
@@ -3498,12 +3588,12 @@ function En({ children: e, title: t, description: n, className: r = "", ...i })
3498
3588
  }
3499
3589
  //#endregion
3500
3590
  //#region src/components/AppInfoList.jsx
3501
- function Dn({ items: e = [], className: t = "", ...n }) {
3502
- return G("AppInfoList", n), /* @__PURE__ */ E("div", {
3591
+ function Pn({ items: e = [], className: t = "", ...n }) {
3592
+ return W("AppInfoList", n), /* @__PURE__ */ E("div", {
3503
3593
  className: `info-list${t ? ` ${t}` : ""}`,
3504
3594
  ...n,
3505
3595
  children: e.map((e, t) => {
3506
- let n = Lt(e.value), r = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
3596
+ let n = Ht(e.value), r = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
3507
3597
  className: "info-icon",
3508
3598
  children: X(e.icon, { size: 16 })
3509
3599
  }), /* @__PURE__ */ D("span", {
@@ -3529,23 +3619,23 @@ function Dn({ items: e = [], className: t = "", ...n }) {
3529
3619
  }
3530
3620
  //#endregion
3531
3621
  //#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(" ");
3622
+ var Fn = 48, In = 16;
3623
+ function Ln(e) {
3624
+ if (!e || e.length < 2) return `0,${In / 2} ${Fn},${In / 2}`;
3625
+ let t = Math.min(...e), n = Math.max(...e) - t, r = Fn / (e.length - 1);
3626
+ return e.map((e, i) => `${i * r},${n === 0 ? In / 2 : In - (e - t) / n * In}`).join(" ");
3537
3627
  }
3538
- function jn(e) {
3628
+ function Rn(e) {
3539
3629
  if (typeof e != "string") return "flat";
3540
3630
  let t = e.trim();
3541
3631
  return t.startsWith("+") ? "up" : t.startsWith("-") || t.startsWith("−") ? "down" : "flat";
3542
3632
  }
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);
3633
+ function zn({ 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 }) {
3634
+ W("AppKpiTile", C);
3545
3635
  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
3636
  ...g,
3547
3637
  "--wui-kpi-value-size": `${u}px`
3548
- } : g, O = o ?? jn(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
3638
+ } : g, O = o ?? Rn(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
3549
3639
  return p != null && (A = m ? {
3550
3640
  as: m,
3551
3641
  to: p
@@ -3583,12 +3673,12 @@ function Mn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
3583
3673
  }),
3584
3674
  s && s.length > 0 && /* @__PURE__ */ E("svg", {
3585
3675
  className: `kpi-sparkline${S ? ` ${S}` : ""}`,
3586
- width: On,
3587
- height: kn,
3588
- viewBox: `0 0 ${On} ${kn}`,
3676
+ width: Fn,
3677
+ height: In,
3678
+ viewBox: `0 0 ${Fn} ${In}`,
3589
3679
  "aria-hidden": "true",
3590
3680
  children: /* @__PURE__ */ E("polyline", {
3591
- points: An(s),
3681
+ points: Ln(s),
3592
3682
  stroke: "currentColor",
3593
3683
  fill: "none"
3594
3684
  })
@@ -3598,11 +3688,11 @@ function Mn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
3598
3688
  }
3599
3689
  //#endregion
3600
3690
  //#region src/components/AppLink.jsx
3601
- var Nn = {
3691
+ var Bn = {
3602
3692
  sm: 13,
3603
3693
  md: 15,
3604
3694
  lg: 18
3605
- }, Pn = [
3695
+ }, Vn = [
3606
3696
  "underline",
3607
3697
  "underline-center",
3608
3698
  "static",
@@ -3616,35 +3706,35 @@ var Nn = {
3616
3706
  "shine",
3617
3707
  "none"
3618
3708
  ];
3619
- function Fn(e, t, n) {
3709
+ function Hn(e, t, n) {
3620
3710
  if (!e) return null;
3621
3711
  let r = `wui-link__ic wui-link__ic--${t}`;
3622
3712
  return typeof e == "string" ? /* @__PURE__ */ E("span", {
3623
3713
  className: r,
3624
3714
  children: /* @__PURE__ */ E(Y, {
3625
3715
  name: e,
3626
- size: Nn[n] ?? Nn.md
3716
+ size: Bn[n] ?? Bn.md
3627
3717
  })
3628
3718
  }) : /* @__PURE__ */ E("span", {
3629
3719
  className: r,
3630
3720
  children: e
3631
3721
  });
3632
3722
  }
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 = [
3723
+ function Un({ 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 }) {
3724
+ W("AppLink", d), G("AppLink", "animation", r, Vn), G("AppLink", "size", o, Object.keys(Bn));
3725
+ let f = Vn.includes(r) ? r : "underline", p = f === "icon" && !a && !i ? "arrow-right" : a, m = [
3636
3726
  "wui-link",
3637
3727
  `wui-link--${f}`,
3638
3728
  o === "md" ? "" : `wui-link--${o}`,
3639
3729
  c ? "is-disabled" : "",
3640
3730
  u
3641
3731
  ].filter(Boolean).join(" "), h = /* @__PURE__ */ D(T, { children: [
3642
- Fn(i, "left", o),
3732
+ Hn(i, "left", o),
3643
3733
  /* @__PURE__ */ E("span", {
3644
3734
  className: "wui-link__label",
3645
3735
  children: e ?? t
3646
3736
  }),
3647
- Fn(p, "right", o)
3737
+ Hn(p, "right", o)
3648
3738
  ] });
3649
3739
  return c ? /* @__PURE__ */ E("span", {
3650
3740
  className: m,
@@ -3667,20 +3757,20 @@ function In({ children: e, label: t, href: n, animation: r = "underline", leftIc
3667
3757
  }
3668
3758
  //#endregion
3669
3759
  //#region src/components/AppLogoPicker.jsx
3670
- var Ln = {
3760
+ var Wn = {
3671
3761
  sm: 72,
3672
3762
  md: 120,
3673
3763
  lg: 160
3674
3764
  };
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));
3765
+ function Gn({ 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 }) {
3766
+ W("AppLogoPicker", k), G("AppLogoPicker", "size", typeof w == "string" ? w : null, Object.keys(Wn));
3677
3767
  let j = d(null), M = s(), [N, P] = f(null), [F, I] = f(""), [R, z] = f(!1), [B, V] = f(!1);
3678
3768
  o(() => () => N && URL.revokeObjectURL(N), [N]), o(() => {
3679
3769
  P(null), z(!1);
3680
3770
  }, [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 = () => {
3771
+ 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
3772
  H || j.current?.click();
3683
- }, ie = (e) => {
3773
+ }, ae = (e) => {
3684
3774
  let t = L(e, {
3685
3775
  accept: l,
3686
3776
  maxSizeMb: u
@@ -3690,16 +3780,16 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3690
3780
  return;
3691
3781
  }
3692
3782
  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
3783
  }, oe = (e) => {
3784
+ let t = e.target.files?.[0];
3785
+ e.target.value = "", t && ae(t);
3786
+ }, se = (e) => {
3697
3787
  if (e.preventDefault(), V(!1), H) return;
3698
3788
  let t = e.dataTransfer.files?.[0];
3699
- t && ie(t);
3700
- }, se = () => {
3789
+ t && ae(t);
3790
+ }, K = () => {
3701
3791
  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 = [
3792
+ }, ce = typeof w == "number" ? w : Wn[w] ?? Wn.md, le = Math.max(14, Math.round(ce * .18)), ue = Math.round(ce * .5), de = [
3703
3793
  "set-uploader",
3704
3794
  C === "avatar" ? "set-uploader--avatar" : "",
3705
3795
  T === "rounded" ? "set-uploader--rounded" : T === "square" ? "set-uploader--square" : "",
@@ -3711,25 +3801,25 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3711
3801
  /* @__PURE__ */ E("button", {
3712
3802
  type: "button",
3713
3803
  className: de,
3714
- onClick: re,
3804
+ onClick: ie,
3715
3805
  disabled: H,
3716
3806
  "aria-busy": a || void 0,
3717
3807
  "aria-label": h,
3718
- "aria-describedby": te || ee,
3808
+ "aria-describedby": ne || te,
3719
3809
  onDragOver: (e) => {
3720
3810
  e.preventDefault(), !H && !B && V(!0);
3721
3811
  },
3722
3812
  onDragLeave: (e) => {
3723
3813
  e.preventDefault(), V(!1);
3724
3814
  },
3725
- onDrop: oe,
3815
+ onDrop: se,
3726
3816
  ...k,
3727
3817
  children: /* @__PURE__ */ D("span", {
3728
3818
  className: "set-uploader-ring",
3729
3819
  "data-overlay-label": m,
3730
- children: [U ? /* @__PURE__ */ E("img", {
3820
+ children: [ee ? /* @__PURE__ */ E("img", {
3731
3821
  className: "set-uploader-img",
3732
- src: U,
3822
+ src: ee,
3733
3823
  alt: "",
3734
3824
  onError: () => z(!0)
3735
3825
  }) : /* @__PURE__ */ E("span", {
@@ -3758,14 +3848,14 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3758
3848
  q(/* @__PURE__ */ E("button", {
3759
3849
  type: "button",
3760
3850
  className: "set-uploader-remove",
3761
- hidden: !ne,
3851
+ hidden: !re,
3762
3852
  "aria-label": "Remove photo",
3763
- onClick: se,
3853
+ onClick: K,
3764
3854
  children: /* @__PURE__ */ E(Y, {
3765
3855
  name: "x",
3766
3856
  size: 14
3767
3857
  })
3768
- }), ne ? "Remove photo" : null),
3858
+ }), re ? "Remove photo" : null),
3769
3859
  /* @__PURE__ */ E("input", {
3770
3860
  id: M,
3771
3861
  ref: j,
@@ -3773,18 +3863,18 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3773
3863
  name: n,
3774
3864
  hidden: !0,
3775
3865
  accept: l,
3776
- onChange: ae,
3866
+ onChange: oe,
3777
3867
  disabled: H
3778
3868
  })
3779
3869
  ]
3780
- }), he = _ && !W ? /* @__PURE__ */ E("div", {
3870
+ }), he = _ && !U ? /* @__PURE__ */ E("div", {
3781
3871
  className: "set-uploader-hint",
3782
- id: ee,
3872
+ id: te,
3783
3873
  children: _
3784
- }) : null, J = W ? /* @__PURE__ */ E("div", {
3874
+ }) : null, J = U ? /* @__PURE__ */ E("div", {
3785
3875
  className: "field-error",
3786
- id: te,
3787
- children: W
3876
+ id: ne,
3877
+ children: U
3788
3878
  }) : null, ge = g && /* @__PURE__ */ D("label", {
3789
3879
  className: "label",
3790
3880
  htmlFor: M,
@@ -3829,27 +3919,27 @@ function Rn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3829
3919
  }
3830
3920
  //#endregion
3831
3921
  //#region src/components/AppMeter.jsx
3832
- var zn = [
3922
+ var Kn = [
3833
3923
  "info",
3834
3924
  "success",
3835
3925
  "warning",
3836
3926
  "danger",
3837
3927
  "neutral"
3838
3928
  ];
3839
- function Bn(e, t, n) {
3929
+ function qn(e, t, n) {
3840
3930
  let r = n - t;
3841
3931
  if (!(r > 0)) return 0;
3842
3932
  let i = Math.min(100, Math.max(0, (e - t) / r * 100));
3843
3933
  return Number(i.toFixed(2));
3844
3934
  }
3845
- function Vn(e, t, n, r, i) {
3935
+ function Jn(e, t, n, r, i) {
3846
3936
  if (t == null && n == null) return i;
3847
3937
  let a = "mid";
3848
3938
  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
3939
  }
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);
3940
+ function Yn({ 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 }) {
3941
+ W("AppMeter", d);
3942
+ let f = Jn(e, a, o, i, Kn.includes(r) ? r : "info"), p = qn(e, t, n);
3853
3943
  return /* @__PURE__ */ E("div", {
3854
3944
  className: `progress${s === "sm" ? " progress-sm" : ""}${u ? ` ${u}` : ""}`,
3855
3945
  role: "meter",
@@ -3867,8 +3957,8 @@ function Hn({ value: e = 0, min: t = 0, max: n = 100, tone: r = "info", optimum:
3867
3957
  }
3868
3958
  //#endregion
3869
3959
  //#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);
3960
+ var Xn = 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) {
3961
+ W("AppMultiSelect", T);
3872
3962
  let k = s(), A = _ || k, { setRef: j, innerRef: M } = Q({
3873
3963
  ref: O,
3874
3964
  value: e,
@@ -3930,8 +4020,8 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3930
4020
  }) : null
3931
4021
  ]
3932
4022
  });
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);
4023
+ }), Zn = 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) {
4024
+ W("AppNumberInput", C);
3935
4025
  let T = s(), O = _ || T, k = (e) => {
3936
4026
  if (m === 0) return Math.round(e);
3937
4027
  let t = 10 ** m;
@@ -3962,7 +4052,7 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3962
4052
  N(t);
3963
4053
  let n = j(t);
3964
4054
  n !== null && l?.(n);
3965
- }, U = (e) => {
4055
+ }, ee = (e) => {
3966
4056
  let t = j(e.target.value);
3967
4057
  if (t === null) N(""), l?.("");
3968
4058
  else {
@@ -3970,9 +4060,9 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3970
4060
  N(String(e)), l?.(e);
3971
4061
  }
3972
4062
  C.onBlur?.(e);
3973
- }, W = (e) => {
4063
+ }, U = (e) => {
3974
4064
  e.key === "ArrowUp" ? (e.preventDefault(), P(1)) : e.key === "ArrowDown" && (e.preventDefault(), P(-1)), C.onKeyDown?.(e);
3975
- }, ee = /* @__PURE__ */ E(y.Control, {
4065
+ }, te = /* @__PURE__ */ E(y.Control, {
3976
4066
  ...C,
3977
4067
  id: O,
3978
4068
  name: v,
@@ -3986,9 +4076,9 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3986
4076
  value: M,
3987
4077
  ref: w,
3988
4078
  onChange: H,
3989
- onBlur: U,
3990
- onKeyDown: W
3991
- }), te = /* @__PURE__ */ D("div", {
4079
+ onBlur: ee,
4080
+ onKeyDown: U
4081
+ }), ne = /* @__PURE__ */ D("div", {
3992
4082
  className: [
3993
4083
  "num-wrap",
3994
4084
  g === "sm" ? "num-wrap-sm" : "",
@@ -4007,7 +4097,7 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4007
4097
  size: 16
4008
4098
  })
4009
4099
  }),
4010
- ee,
4100
+ te,
4011
4101
  h && /* @__PURE__ */ E("span", {
4012
4102
  className: "affix",
4013
4103
  children: h
@@ -4041,7 +4131,7 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4041
4131
  })
4042
4132
  ]
4043
4133
  }),
4044
- te,
4134
+ ne,
4045
4135
  n ? /* @__PURE__ */ E("div", {
4046
4136
  className: "field-error",
4047
4137
  id: R,
@@ -4053,8 +4143,8 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4053
4143
  }) : null
4054
4144
  ]
4055
4145
  });
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);
4146
+ }), Qn = 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) {
4147
+ W("AppOtpInput", h);
4058
4148
  let _ = s(), v = f || _, y = l ? `${v}-error` : void 0, b = c ? `${v}-hint` : void 0, x = y || b, { setRef: S } = Q({
4059
4149
  ref: g,
4060
4150
  value: e ?? "",
@@ -4098,8 +4188,8 @@ var Un = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4098
4188
  });
4099
4189
  //#endregion
4100
4190
  //#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);
4191
+ function $n({ 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 }) {
4192
+ W("AppPageHeader", p);
4103
4193
  let m = [
4104
4194
  "page-header",
4105
4195
  c && c !== "md" ? `page-header-${c}` : "",
@@ -4157,9 +4247,9 @@ function Kn({ title: e, subtitle: t, eyebrow: n, icon: r, tone: i = "primary", s
4157
4247
  }
4158
4248
  //#endregion
4159
4249
  //#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 });
4250
+ function er({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
4251
+ if (W("AppPagination", s), t <= 1) return null;
4252
+ let c = rn(e, t, { siblingCount: r });
4163
4253
  return /* @__PURE__ */ E("nav", {
4164
4254
  className: [
4165
4255
  "pagination-nav",
@@ -4217,8 +4307,8 @@ function qn({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "m
4217
4307
  }
4218
4308
  //#endregion
4219
4309
  //#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);
4310
+ var tr = 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) {
4311
+ W("AppPhoneNumberInput", h);
4222
4312
  let _ = s(), v = a || _, y = u && v ? `${v}-error` : void 0, { setRef: b } = Q({
4223
4313
  ref: g,
4224
4314
  value: e ?? "",
@@ -4258,8 +4348,8 @@ var Jn = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name:
4258
4348
  });
4259
4349
  //#endregion
4260
4350
  //#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", {
4351
+ function nr({ 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 }) {
4352
+ return W("AppPricingCard", u), /* @__PURE__ */ D("div", {
4263
4353
  className: [
4264
4354
  "plan-card",
4265
4355
  o ? "featured" : "",
@@ -4312,21 +4402,21 @@ function Yn({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a,
4312
4402
  }
4313
4403
  //#endregion
4314
4404
  //#region src/components/AppProgress.jsx
4315
- var Xn = [
4405
+ var rr = [
4316
4406
  "info",
4317
4407
  "success",
4318
4408
  "warning",
4319
4409
  "danger",
4320
4410
  "neutral"
4321
4411
  ];
4322
- function Zn(e, t) {
4412
+ function ir(e, t) {
4323
4413
  if (!(t > 0)) return 0;
4324
4414
  let n = Math.min(100, Math.max(0, e / t * 100));
4325
4415
  return Number(n.toFixed(2));
4326
4416
  }
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 = [
4417
+ function ar({ 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 }) {
4418
+ W("AppProgress", u);
4419
+ let d = rr.includes(n) ? n : "info", f = ir(e, t), p = `progress${r === "sm" ? " progress-sm" : ""}${l ? ` ${l}` : ""}`, m = [
4330
4420
  "progress-bar",
4331
4421
  `wui-progress-${d}`,
4332
4422
  o || s ? "progress-bar-striped" : "",
@@ -4349,9 +4439,620 @@ function Qn({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", labe
4349
4439
  });
4350
4440
  }
4351
4441
  //#endregion
4442
+ //#region src/lib/qrCode.js
4443
+ var or = {
4444
+ L: 0,
4445
+ M: 1,
4446
+ Q: 2,
4447
+ H: 3
4448
+ }, sr = [
4449
+ 1,
4450
+ 0,
4451
+ 3,
4452
+ 2
4453
+ ], cr = [
4454
+ "L",
4455
+ "M",
4456
+ "Q",
4457
+ "H"
4458
+ ], lr = 3, ur = 3, dr = 40, fr = 10, pr = [
4459
+ [
4460
+ -1,
4461
+ 7,
4462
+ 10,
4463
+ 15,
4464
+ 20,
4465
+ 26,
4466
+ 18,
4467
+ 20,
4468
+ 24,
4469
+ 30,
4470
+ 18,
4471
+ 20,
4472
+ 24,
4473
+ 26,
4474
+ 30,
4475
+ 22,
4476
+ 24,
4477
+ 28,
4478
+ 30,
4479
+ 28,
4480
+ 28,
4481
+ 28,
4482
+ 28,
4483
+ 30,
4484
+ 30,
4485
+ 26,
4486
+ 28,
4487
+ 30,
4488
+ 30,
4489
+ 30,
4490
+ 30,
4491
+ 30,
4492
+ 30,
4493
+ 30,
4494
+ 30,
4495
+ 30,
4496
+ 30,
4497
+ 30,
4498
+ 30,
4499
+ 30,
4500
+ 30
4501
+ ],
4502
+ [
4503
+ -1,
4504
+ 10,
4505
+ 16,
4506
+ 26,
4507
+ 18,
4508
+ 24,
4509
+ 16,
4510
+ 18,
4511
+ 22,
4512
+ 22,
4513
+ 26,
4514
+ 30,
4515
+ 22,
4516
+ 22,
4517
+ 24,
4518
+ 24,
4519
+ 28,
4520
+ 28,
4521
+ 26,
4522
+ 26,
4523
+ 26,
4524
+ 26,
4525
+ 28,
4526
+ 28,
4527
+ 28,
4528
+ 28,
4529
+ 28,
4530
+ 28,
4531
+ 28,
4532
+ 28,
4533
+ 28,
4534
+ 28,
4535
+ 28,
4536
+ 28,
4537
+ 28,
4538
+ 28,
4539
+ 28,
4540
+ 28,
4541
+ 28,
4542
+ 28,
4543
+ 28
4544
+ ],
4545
+ [
4546
+ -1,
4547
+ 13,
4548
+ 22,
4549
+ 18,
4550
+ 26,
4551
+ 18,
4552
+ 24,
4553
+ 18,
4554
+ 22,
4555
+ 20,
4556
+ 24,
4557
+ 28,
4558
+ 26,
4559
+ 24,
4560
+ 20,
4561
+ 30,
4562
+ 24,
4563
+ 28,
4564
+ 28,
4565
+ 26,
4566
+ 30,
4567
+ 28,
4568
+ 30,
4569
+ 30,
4570
+ 30,
4571
+ 30,
4572
+ 28,
4573
+ 30,
4574
+ 30,
4575
+ 30,
4576
+ 30,
4577
+ 30,
4578
+ 30,
4579
+ 30,
4580
+ 30,
4581
+ 30,
4582
+ 30,
4583
+ 30,
4584
+ 30,
4585
+ 30,
4586
+ 30
4587
+ ],
4588
+ [
4589
+ -1,
4590
+ 17,
4591
+ 28,
4592
+ 22,
4593
+ 16,
4594
+ 22,
4595
+ 28,
4596
+ 26,
4597
+ 26,
4598
+ 24,
4599
+ 28,
4600
+ 24,
4601
+ 28,
4602
+ 22,
4603
+ 24,
4604
+ 24,
4605
+ 30,
4606
+ 28,
4607
+ 28,
4608
+ 26,
4609
+ 28,
4610
+ 30,
4611
+ 24,
4612
+ 30,
4613
+ 30,
4614
+ 30,
4615
+ 30,
4616
+ 30,
4617
+ 30,
4618
+ 30,
4619
+ 30,
4620
+ 30,
4621
+ 30,
4622
+ 30,
4623
+ 30,
4624
+ 30,
4625
+ 30,
4626
+ 30,
4627
+ 30,
4628
+ 30,
4629
+ 30
4630
+ ]
4631
+ ], mr = [
4632
+ [
4633
+ -1,
4634
+ 1,
4635
+ 1,
4636
+ 1,
4637
+ 1,
4638
+ 1,
4639
+ 2,
4640
+ 2,
4641
+ 2,
4642
+ 2,
4643
+ 4,
4644
+ 4,
4645
+ 4,
4646
+ 4,
4647
+ 4,
4648
+ 6,
4649
+ 6,
4650
+ 6,
4651
+ 6,
4652
+ 7,
4653
+ 8,
4654
+ 8,
4655
+ 9,
4656
+ 9,
4657
+ 10,
4658
+ 12,
4659
+ 12,
4660
+ 12,
4661
+ 13,
4662
+ 14,
4663
+ 15,
4664
+ 16,
4665
+ 17,
4666
+ 18,
4667
+ 19,
4668
+ 19,
4669
+ 20,
4670
+ 21,
4671
+ 22,
4672
+ 24,
4673
+ 25
4674
+ ],
4675
+ [
4676
+ -1,
4677
+ 1,
4678
+ 1,
4679
+ 1,
4680
+ 2,
4681
+ 2,
4682
+ 4,
4683
+ 4,
4684
+ 4,
4685
+ 5,
4686
+ 5,
4687
+ 5,
4688
+ 8,
4689
+ 9,
4690
+ 9,
4691
+ 10,
4692
+ 10,
4693
+ 11,
4694
+ 13,
4695
+ 14,
4696
+ 16,
4697
+ 17,
4698
+ 17,
4699
+ 18,
4700
+ 20,
4701
+ 21,
4702
+ 23,
4703
+ 25,
4704
+ 26,
4705
+ 28,
4706
+ 29,
4707
+ 31,
4708
+ 33,
4709
+ 35,
4710
+ 37,
4711
+ 38,
4712
+ 40,
4713
+ 43,
4714
+ 45,
4715
+ 47,
4716
+ 49
4717
+ ],
4718
+ [
4719
+ -1,
4720
+ 1,
4721
+ 1,
4722
+ 2,
4723
+ 2,
4724
+ 4,
4725
+ 4,
4726
+ 6,
4727
+ 6,
4728
+ 8,
4729
+ 8,
4730
+ 8,
4731
+ 10,
4732
+ 12,
4733
+ 16,
4734
+ 12,
4735
+ 17,
4736
+ 16,
4737
+ 18,
4738
+ 21,
4739
+ 20,
4740
+ 23,
4741
+ 23,
4742
+ 25,
4743
+ 27,
4744
+ 29,
4745
+ 34,
4746
+ 34,
4747
+ 35,
4748
+ 38,
4749
+ 40,
4750
+ 43,
4751
+ 45,
4752
+ 48,
4753
+ 51,
4754
+ 53,
4755
+ 56,
4756
+ 59,
4757
+ 62,
4758
+ 65,
4759
+ 68
4760
+ ],
4761
+ [
4762
+ -1,
4763
+ 1,
4764
+ 1,
4765
+ 2,
4766
+ 4,
4767
+ 4,
4768
+ 4,
4769
+ 5,
4770
+ 6,
4771
+ 8,
4772
+ 8,
4773
+ 11,
4774
+ 11,
4775
+ 16,
4776
+ 16,
4777
+ 18,
4778
+ 16,
4779
+ 19,
4780
+ 21,
4781
+ 25,
4782
+ 25,
4783
+ 25,
4784
+ 34,
4785
+ 30,
4786
+ 32,
4787
+ 35,
4788
+ 37,
4789
+ 40,
4790
+ 42,
4791
+ 45,
4792
+ 48,
4793
+ 51,
4794
+ 54,
4795
+ 57,
4796
+ 60,
4797
+ 63,
4798
+ 66,
4799
+ 70,
4800
+ 74,
4801
+ 77,
4802
+ 81
4803
+ ]
4804
+ ];
4805
+ function hr(e, t = "M", { mask: n = -1, boostEcc: r = !0 } = {}) {
4806
+ if (!Object.hasOwn(or, t)) throw RangeError(`Unknown error correction level "${t}"`);
4807
+ if (!Number.isInteger(n) || n < -1 || n > 7) throw RangeError("Mask must be -1 to 7");
4808
+ let i = new TextEncoder().encode(String(e)), a = or[t], o = 1, s = 0;
4809
+ for (; s = _r(i.length, o), !(s <= Er(o, a) * 8); o++) if (o >= 40) throw RangeError(`Data too long for a QR code: ${i.length} bytes`);
4810
+ for (let e = 1; e <= 3; e++) r && s <= Er(o, e) * 8 && (a = Math.max(a, e));
4811
+ let c = [];
4812
+ jr(4, 4, c), jr(i.length, o <= 9 ? 8 : 16, c);
4813
+ for (let e of i) jr(e, 8, c);
4814
+ let l = Er(o, a) * 8;
4815
+ jr(0, Math.min(4, l - c.length), c), jr(0, (8 - c.length % 8) % 8, c);
4816
+ for (let e = 236; c.length < l; e ^= 253) jr(e, 8, c);
4817
+ let u = new Uint8Array(c.length / 8);
4818
+ return c.forEach((e, t) => {
4819
+ u[t >>> 3] |= e << 7 - (t & 7);
4820
+ }), vr(o, a, u, n);
4821
+ }
4822
+ function gr(e, t = 4) {
4823
+ let { size: n } = e, r = "";
4824
+ for (let i = 0; i < n; i++) {
4825
+ let a = 0;
4826
+ for (; a < n;) {
4827
+ if (!e.isDark(i, a)) {
4828
+ a++;
4829
+ continue;
4830
+ }
4831
+ let o = a;
4832
+ for (; a < n && e.isDark(i, a);) a++;
4833
+ let s = a - o;
4834
+ r += `M${o + t} ${i + t}h${s}v1h-${s}z`;
4835
+ }
4836
+ }
4837
+ return r;
4838
+ }
4839
+ function _r(e, t) {
4840
+ let n = t <= 9 ? 8 : 16;
4841
+ return e >= 1 << n ? Infinity : 4 + n + e * 8;
4842
+ }
4843
+ function vr(e, t, n, r) {
4844
+ let i = e * 4 + 17, a = new Uint8Array(i * i), o = new Uint8Array(i * i), s = (e, t, n) => {
4845
+ a[t * i + e] = +!!n, o[t * i + e] = 1;
4846
+ }, c = (e) => {
4847
+ let n = sr[t] << 3 | e, r = n;
4848
+ for (let e = 0; e < 10; e++) r = r << 1 ^ (r >>> 9) * 1335;
4849
+ let a = (n << 10 | r) ^ 21522;
4850
+ for (let e = 0; e <= 5; e++) s(8, e, Mr(a, e));
4851
+ s(8, 7, Mr(a, 6)), s(8, 8, Mr(a, 7)), s(7, 8, Mr(a, 8));
4852
+ for (let e = 9; e < 15; e++) s(14 - e, 8, Mr(a, e));
4853
+ for (let e = 0; e < 8; e++) s(i - 1 - e, 8, Mr(a, e));
4854
+ for (let e = 8; e < 15; e++) s(8, i - 15 + e, Mr(a, e));
4855
+ s(8, i - 8, !0);
4856
+ }, l = (e, t) => {
4857
+ for (let n = -4; n <= 4; n++) for (let r = -4; r <= 4; r++) {
4858
+ let a = Math.max(Math.abs(r), Math.abs(n)), o = e + r, c = t + n;
4859
+ o >= 0 && o < i && c >= 0 && c < i && s(o, c, a !== 2 && a !== 4);
4860
+ }
4861
+ }, u = (e, t) => {
4862
+ for (let n = -2; n <= 2; n++) for (let r = -2; r <= 2; r++) s(e + r, t + n, Math.max(Math.abs(r), Math.abs(n)) !== 1);
4863
+ };
4864
+ for (let e = 0; e < i; e++) s(6, e, e % 2 == 0), s(e, 6, e % 2 == 0);
4865
+ l(3, 3), l(i - 4, 3), l(3, i - 4);
4866
+ let d = wr(e, i), f = d.length;
4867
+ for (let e = 0; e < f; e++) for (let t = 0; t < f; t++) e === 0 && t === 0 || e === 0 && t === f - 1 || e === f - 1 && t === 0 || u(d[e], d[t]);
4868
+ if (c(0), e >= 7) {
4869
+ let t = e;
4870
+ for (let e = 0; e < 12; e++) t = t << 1 ^ (t >>> 11) * 7973;
4871
+ let n = e << 12 | t;
4872
+ for (let e = 0; e < 18; e++) {
4873
+ let t = Mr(n, e), r = i - 11 + e % 3, a = Math.floor(e / 3);
4874
+ s(r, a, t), s(a, r, t);
4875
+ }
4876
+ }
4877
+ let p = Dr(n, e, t), m = 0, h = p.length * 8;
4878
+ for (let e = i - 1; e >= 1; e -= 2) {
4879
+ e === 6 && (e = 5);
4880
+ for (let t = 0; t < i; t++) for (let n = 0; n < 2; n++) {
4881
+ let r = e - n, s = e + 1 & 2 ? t : i - 1 - t;
4882
+ !o[s * i + r] && m < h && (a[s * i + r] = +!!Mr(p[m >>> 3], 7 - (m & 7)), m++);
4883
+ }
4884
+ }
4885
+ let g = (e) => {
4886
+ for (let t = 0; t < i; t++) for (let n = 0; n < i; n++) !o[t * i + n] && yr(e, n, t) && (a[t * i + n] ^= 1);
4887
+ }, _ = r;
4888
+ if (_ === -1) {
4889
+ let e = Infinity;
4890
+ for (let t = 0; t < 8; t++) {
4891
+ g(t), c(t);
4892
+ let n = br(a, i);
4893
+ n < e && (_ = t, e = n), g(t);
4894
+ }
4895
+ }
4896
+ return g(_), c(_), Object.freeze({
4897
+ size: i,
4898
+ version: e,
4899
+ ecc: cr[t],
4900
+ mask: _,
4901
+ isDark: (e, t) => e >= 0 && e < i && t >= 0 && t < i && a[e * i + t] === 1
4902
+ });
4903
+ }
4904
+ function yr(e, t, n) {
4905
+ switch (e) {
4906
+ case 0: return (t + n) % 2 == 0;
4907
+ case 1: return n % 2 == 0;
4908
+ case 2: return t % 3 == 0;
4909
+ case 3: return (t + n) % 3 == 0;
4910
+ case 4: return (Math.floor(t / 3) + Math.floor(n / 2)) % 2 == 0;
4911
+ case 5: return t * n % 2 + t * n % 3 == 0;
4912
+ case 6: return (t * n % 2 + t * n % 3) % 2 == 0;
4913
+ default: return ((t + n) % 2 + t * n % 3) % 2 == 0;
4914
+ }
4915
+ }
4916
+ function br(e, t) {
4917
+ let n = 0, r = (n, r) => e[r * t + n] === 1;
4918
+ for (let e = 0; e < 2; e++) for (let i = 0; i < t; i++) {
4919
+ let a = !1, o = 0, s = [
4920
+ 0,
4921
+ 0,
4922
+ 0,
4923
+ 0,
4924
+ 0,
4925
+ 0,
4926
+ 0
4927
+ ];
4928
+ for (let c = 0; c < t; c++) {
4929
+ let l = e === 0 ? r(c, i) : r(i, c);
4930
+ l === a ? (o++, o === 5 ? n += lr : o > 5 && n++) : (Cr(o, s, t), a || (n += xr(s) * dr), a = l, o = 1);
4931
+ }
4932
+ n += Sr(a, o, s, t) * dr;
4933
+ }
4934
+ for (let e = 0; e < t - 1; e++) for (let i = 0; i < t - 1; i++) {
4935
+ let t = r(i, e);
4936
+ t === r(i + 1, e) && t === r(i, e + 1) && t === r(i + 1, e + 1) && (n += ur);
4937
+ }
4938
+ let i = 0;
4939
+ for (let t of e) i += t;
4940
+ let a = t * t, o = Math.ceil(Math.abs(i * 20 - a * 10) / a) - 1;
4941
+ return n += o * fr, n;
4942
+ }
4943
+ function xr(e) {
4944
+ let t = e[1], n = t > 0 && e[2] === t && e[3] === t * 3 && e[4] === t && e[5] === t;
4945
+ return (n && e[0] >= t * 4 && e[6] >= t ? 1 : 0) + (n && e[6] >= t * 4 && e[0] >= t ? 1 : 0);
4946
+ }
4947
+ function Sr(e, t, n, r) {
4948
+ let i = t;
4949
+ return e && (Cr(i, n, r), i = 0), i += r, Cr(i, n, r), xr(n);
4950
+ }
4951
+ function Cr(e, t, n) {
4952
+ let r = t[0] === 0 ? e + n : e;
4953
+ t.pop(), t.unshift(r);
4954
+ }
4955
+ function wr(e, t) {
4956
+ if (e === 1) return [];
4957
+ let n = Math.floor(e / 7) + 2, r = Math.floor((e * 8 + n * 3 + 5) / (n * 4 - 4)) * 2, i = [6];
4958
+ for (let e = t - 7; i.length < n; e -= r) i.splice(1, 0, e);
4959
+ return i;
4960
+ }
4961
+ function Tr(e) {
4962
+ let t = (16 * e + 128) * e + 64;
4963
+ if (e >= 2) {
4964
+ let n = Math.floor(e / 7) + 2;
4965
+ t -= (25 * n - 10) * n - 55, e >= 7 && (t -= 36);
4966
+ }
4967
+ return t;
4968
+ }
4969
+ function Er(e, t) {
4970
+ return Math.floor(Tr(e) / 8) - pr[t][e] * mr[t][e];
4971
+ }
4972
+ function Dr(e, t, n) {
4973
+ let r = mr[n][t], i = pr[n][t], a = Math.floor(Tr(t) / 8), o = r - a % r, s = Math.floor(a / r), c = [], l = Or(i);
4974
+ for (let t = 0, n = 0; t < r; t++) {
4975
+ let r = Array.from(e.subarray(n, n + s - i + (t < o ? 0 : 1)));
4976
+ n += r.length;
4977
+ let a = kr(r, l);
4978
+ t < o && r.push(0), c.push(r.concat(a));
4979
+ }
4980
+ let u = [];
4981
+ for (let e = 0; e < c[0].length; e++) c.forEach((t, n) => {
4982
+ (e !== s - i || n >= o) && u.push(t[e]);
4983
+ });
4984
+ return u;
4985
+ }
4986
+ function Or(e) {
4987
+ let t = Array(e).fill(0);
4988
+ t[e - 1] = 1;
4989
+ let n = 1;
4990
+ for (let r = 0; r < e; r++) {
4991
+ for (let e = 0; e < t.length; e++) t[e] = Ar(t[e], n), e + 1 < t.length && (t[e] ^= t[e + 1]);
4992
+ n = Ar(n, 2);
4993
+ }
4994
+ return t;
4995
+ }
4996
+ function kr(e, t) {
4997
+ let n = t.map(() => 0);
4998
+ for (let r of e) {
4999
+ let e = r ^ n.shift();
5000
+ n.push(0), t.forEach((t, r) => {
5001
+ n[r] ^= Ar(t, e);
5002
+ });
5003
+ }
5004
+ return n;
5005
+ }
5006
+ function Ar(e, t) {
5007
+ let n = 0;
5008
+ for (let r = 7; r >= 0; r--) n = n << 1 ^ (n >>> 7) * 285, n ^= (t >>> r & 1) * e;
5009
+ return n;
5010
+ }
5011
+ function jr(e, t, n) {
5012
+ for (let r = t - 1; r >= 0; r--) n.push(e >>> r & 1);
5013
+ }
5014
+ function Mr(e, t) {
5015
+ return (e >>> t & 1) != 0;
5016
+ }
5017
+ //#endregion
5018
+ //#region src/components/AppQrCode.jsx
5019
+ var Nr = 4;
5020
+ function Pr({ value: e, size: t = 240, title: n = "QR code", className: r, style: i, ...a }) {
5021
+ W("AppQrCode", a);
5022
+ let o = u(() => {
5023
+ if (!e) return null;
5024
+ let t = hr(String(e));
5025
+ return {
5026
+ modules: t.size + Nr * 2,
5027
+ path: gr(t, Nr)
5028
+ };
5029
+ }, [e]);
5030
+ if (!o) return null;
5031
+ let { modules: s, path: c } = o, l = Math.max(1, Math.floor(Number(t) / s) || 1) * s;
5032
+ return /* @__PURE__ */ D("svg", {
5033
+ viewBox: `0 0 ${s} ${s}`,
5034
+ width: l,
5035
+ height: l,
5036
+ role: "img",
5037
+ "aria-label": n,
5038
+ shapeRendering: "crispEdges",
5039
+ className: r || void 0,
5040
+ style: i,
5041
+ ...a,
5042
+ children: [/* @__PURE__ */ E("rect", {
5043
+ width: s,
5044
+ height: s,
5045
+ fill: "#ffffff"
5046
+ }), /* @__PURE__ */ E("path", {
5047
+ d: c,
5048
+ fill: "#000000"
5049
+ })]
5050
+ });
5051
+ }
5052
+ //#endregion
4352
5053
  //#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, {
5054
+ var Fr = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
5055
+ return W("AppRadio", o), /* @__PURE__ */ E(vt, {
4355
5056
  ref: s,
4356
5057
  label: e,
4357
5058
  id: t,
@@ -4365,9 +5066,82 @@ var $n = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
4365
5066
  });
4366
5067
  });
4367
5068
  //#endregion
5069
+ //#region src/components/AppRadioGroup.jsx
5070
+ function Ir({ label: e, options: t = [], name: n, value: r, defaultValue: i, onChange: a, inline: o = !1, required: c = !1, disabled: l = !1, error: u, hint: d, help: f, helpLabel: p = "More information", id: m, className: h = "", fieldClassName: g = "", style: _, ...v }) {
5071
+ W("AppRadioGroup", v);
5072
+ let y = s(), b = m || y, x = n || b, S = `${b}-error`, C = `${b}-hint`, w = r !== void 0;
5073
+ return /* @__PURE__ */ D("div", {
5074
+ className: `field${g ? ` ${g}` : ""}`,
5075
+ children: [
5076
+ e != null && /* @__PURE__ */ D("span", {
5077
+ className: "label",
5078
+ id: `${b}-label`,
5079
+ children: [
5080
+ e,
5081
+ c && /* @__PURE__ */ E(Z, {}),
5082
+ f && /* @__PURE__ */ E(qe, {
5083
+ label: p,
5084
+ children: f
5085
+ })
5086
+ ]
5087
+ }),
5088
+ /* @__PURE__ */ E("div", {
5089
+ className: [
5090
+ "wui-radio-group",
5091
+ o ? "wui-radio-group-inline" : "",
5092
+ h
5093
+ ].filter(Boolean).join(" "),
5094
+ style: _,
5095
+ id: b,
5096
+ role: "radiogroup",
5097
+ "aria-labelledby": e == null ? void 0 : `${b}-label`,
5098
+ "aria-required": c ? "true" : void 0,
5099
+ "aria-invalid": u ? "true" : void 0,
5100
+ "aria-describedby": u ? S : d ? C : void 0,
5101
+ ...v,
5102
+ children: t.map((e, t) => {
5103
+ let n = `${b}-${t}`;
5104
+ return /* @__PURE__ */ D("div", {
5105
+ className: "form-check",
5106
+ children: [/* @__PURE__ */ E("input", {
5107
+ type: "radio",
5108
+ className: "form-check-input",
5109
+ id: n,
5110
+ name: x,
5111
+ value: e.value,
5112
+ disabled: l || e.disabled || void 0,
5113
+ required: c || void 0,
5114
+ ...w ? {
5115
+ checked: r === e.value,
5116
+ onChange: () => a?.(e.value)
5117
+ } : {
5118
+ defaultChecked: i === e.value,
5119
+ onChange: () => a?.(e.value)
5120
+ }
5121
+ }), /* @__PURE__ */ E("label", {
5122
+ className: "form-check-label",
5123
+ htmlFor: n,
5124
+ children: e.label
5125
+ })]
5126
+ }, e.value);
5127
+ })
5128
+ }),
5129
+ u ? /* @__PURE__ */ E("div", {
5130
+ className: "field-error",
5131
+ id: S,
5132
+ children: u
5133
+ }) : d ? /* @__PURE__ */ E("div", {
5134
+ className: "field-hint",
5135
+ id: C,
5136
+ children: d
5137
+ }) : null
5138
+ ]
5139
+ });
5140
+ }
5141
+ //#endregion
4368
5142
  //#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);
5143
+ function Lr({ 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 }) {
5144
+ W("AppRepeater", p);
4371
5145
  let m = typeof u == "number" && e.length >= u, h = !!i && e.length > l;
4372
5146
  return /* @__PURE__ */ D("div", {
4373
5147
  className: `repeater${f ? ` ${f}` : ""}`,
@@ -4418,8 +5192,8 @@ function er({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
4418
5192
  }
4419
5193
  //#endregion
4420
5194
  //#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);
5195
+ function Rr({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
5196
+ W("AppResourceCard", s);
4423
5197
  let c = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
4424
5198
  className: "res-card-icon",
4425
5199
  children: /* @__PURE__ */ E(Y, {
@@ -4452,7 +5226,7 @@ function tr({ icon: e, title: t, text: n, href: r, external: i = !1, linkCompone
4452
5226
  }
4453
5227
  //#endregion
4454
5228
  //#region src/components/AppResult.jsx
4455
- var nr = {
5229
+ var zr = {
4456
5230
  success: {
4457
5231
  icon: "check-circle",
4458
5232
  tone: "success"
@@ -4473,9 +5247,9 @@ var nr = {
4473
5247
  404: { tone: "muted" },
4474
5248
  500: { tone: "muted" }
4475
5249
  };
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);
5250
+ function Br({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
5251
+ W("AppResult", s), G("AppResult", "status", e, Object.keys(zr));
5252
+ let c = zr[e] || zr.info, l = c.tone, u = /^\d+$/.test(e), d = r ?? (u ? null : c.icon);
4479
5253
  return /* @__PURE__ */ D("div", {
4480
5254
  className: [
4481
5255
  "result",
@@ -4513,8 +5287,8 @@ function rr({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, ch
4513
5287
  }
4514
5288
  //#endregion
4515
5289
  //#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", {
5290
+ function Vr({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
5291
+ return W("AppScrollbar", i), /* @__PURE__ */ E("div", {
4518
5292
  className: t ? `wui-scroll ${t}` : "wui-scroll",
4519
5293
  style: n == null ? r : {
4520
5294
  maxHeight: n,
@@ -4526,8 +5300,8 @@ function ir({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
4526
5300
  }
4527
5301
  //#endregion
4528
5302
  //#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);
5303
+ function Hr({ 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 }) {
5304
+ W("AppSearch", u);
4531
5305
  let d = t || n;
4532
5306
  return /* @__PURE__ */ D("div", {
4533
5307
  className: [
@@ -4573,17 +5347,17 @@ function ar({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search
4573
5347
  }
4574
5348
  //#endregion
4575
5349
  //#region src/components/AppSegmented.jsx
4576
- var or = {
5350
+ var Ur = {
4577
5351
  sm: "segmented-sm",
4578
5352
  md: "",
4579
5353
  lg: "segmented-lg",
4580
5354
  xl: "wui-segmented-xl"
4581
5355
  };
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));
5356
+ function Wr({ 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 }) {
5357
+ W("AppSegmented", m), G("AppSegmented", "size", a, Object.keys(Ur));
4584
5358
  let h = s(), g = i || h, _ = d(null), v = d(null), y = [
4585
5359
  "segmented",
4586
- or[a] ?? "",
5360
+ Ur[a] ?? "",
4587
5361
  c ? "segmented-full" : "",
4588
5362
  u ? "" : "wui-segmented-borderless",
4589
5363
  f ? "is-disabled" : "",
@@ -4654,8 +5428,8 @@ function sr({ options: e = [], value: t, onChange: n, label: r, name: i, size: a
4654
5428
  }
4655
5429
  //#endregion
4656
5430
  //#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);
5431
+ var Gr = (e) => e == null ? "" : e.label ?? e.text ?? "", Kr = 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) {
5432
+ W("AppSelect", A);
4659
5433
  let M = s(), { setRef: N, innerRef: P } = Q({
4660
5434
  ref: j,
4661
5435
  value: e ?? "",
@@ -4666,7 +5440,7 @@ var cr = (e) => e == null ? "" : e.label ?? e.text ?? "", lr = i(function({ valu
4666
5440
  if (!e) return;
4667
5441
  let t = n.map((e) => ({
4668
5442
  value: e.value,
4669
- label: cr(e),
5443
+ label: Gr(e),
4670
5444
  icon: e.icon
4671
5445
  }));
4672
5446
  Ze(t, e.options) || (e.options = t);
@@ -4740,8 +5514,8 @@ var cr = (e) => e == null ? "" : e.label ?? e.text ?? "", lr = i(function({ valu
4740
5514
  });
4741
5515
  //#endregion
4742
5516
  //#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", _);
5517
+ function qr({ 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 = "", ..._ }) {
5518
+ W("AppShell", _);
4745
5519
  let [v, y] = f(!1), [b, x] = f(!1), [S, C] = f(!1), w = u ?? v, T = () => {
4746
5520
  let e = !w;
4747
5521
  u === void 0 && y(e), d?.(e);
@@ -4788,7 +5562,7 @@ function ur({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
4788
5562
  children: [e.label && /* @__PURE__ */ E("div", {
4789
5563
  className: "app-nav-group-label",
4790
5564
  children: e.label
4791
- }), e.items.map((e) => /* @__PURE__ */ E(dr, {
5565
+ }), e.items.map((e) => /* @__PURE__ */ E(Jr, {
4792
5566
  item: e,
4793
5567
  linkComponent: h,
4794
5568
  onNavigate: () => x(!1)
@@ -4855,7 +5629,7 @@ function ur({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
4855
5629
  ]
4856
5630
  });
4857
5631
  }
4858
- function dr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5632
+ function Jr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
4859
5633
  let i = Array.isArray(e.children) && e.children.length > 0, a = i && e.children.some((e) => e.active), [s, c] = f(a);
4860
5634
  o(() => {
4861
5635
  a && !s && c(!0);
@@ -4897,7 +5671,7 @@ function dr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
4897
5671
  "aria-hidden": !s || void 0,
4898
5672
  children: /* @__PURE__ */ E("div", {
4899
5673
  className: "app-nav-sub-inner",
4900
- children: e.children.map((e) => /* @__PURE__ */ E(dr, {
5674
+ children: e.children.map((e) => /* @__PURE__ */ E(Jr, {
4901
5675
  item: e,
4902
5676
  linkComponent: t,
4903
5677
  onNavigate: n,
@@ -4938,7 +5712,7 @@ function dr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
4938
5712
  }
4939
5713
  //#endregion
4940
5714
  //#region src/components/AppSidebarMenu.jsx
4941
- var fr = {
5715
+ var Yr = {
4942
5716
  left: "start",
4943
5717
  right: "end",
4944
5718
  start: "start",
@@ -4946,9 +5720,9 @@ var fr = {
4946
5720
  top: "top",
4947
5721
  bottom: "bottom"
4948
5722
  };
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 ? {
5723
+ function Xr({ 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 }) {
5724
+ W("AppSidebarMenu", v), G("AppSidebarMenu", "side", n, Object.keys(Yr));
5725
+ let { style: y, ...b } = v, S = Yr[n] || "end", C = c || l || y ? {
4952
5726
  ...c && { "--asm-width": c },
4953
5727
  ...l && { "--asm-max-width": l },
4954
5728
  ...y
@@ -5009,8 +5783,8 @@ function pr({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, hea
5009
5783
  }
5010
5784
  //#endregion
5011
5785
  //#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);
5786
+ var Zr = 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) {
5787
+ W("AppSlider", T);
5014
5788
  let k = s(), A = x || k, j = r, { setRef: M, innerRef: N } = Q({
5015
5789
  ref: O,
5016
5790
  value: j ? void 0 : e,
@@ -5070,14 +5844,14 @@ var mr = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, la
5070
5844
  })
5071
5845
  ]
5072
5846
  });
5073
- }), hr = {
5847
+ }), Qr = {
5074
5848
  sm: 44,
5075
5849
  md: 56,
5076
5850
  lg: 72
5077
5851
  };
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", {
5852
+ function $r({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
5853
+ W("AppSplash", c), G("AppSplash", "size", typeof a == "string" ? a : null, Object.keys(Qr));
5854
+ let { style: l, ...u } = c, d = typeof a == "number" ? a : Qr[a] ?? Qr.md, f = i === "ring" ? /* @__PURE__ */ E("span", {
5081
5855
  className: "splash-ring",
5082
5856
  "aria-hidden": "true"
5083
5857
  }) : i === "dots" ? /* @__PURE__ */ D("span", {
@@ -5124,8 +5898,8 @@ function gr({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", siz
5124
5898
  }
5125
5899
  //#endregion
5126
5900
  //#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", {
5901
+ function ei({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
5902
+ return W("AppStatusBadge", a), e == null || e === "" ? "-" : q(/* @__PURE__ */ E("span", {
5129
5903
  className: `status-label ${t}${n ? ` ${n}` : ""}`,
5130
5904
  ...a,
5131
5905
  children: e
@@ -5133,8 +5907,8 @@ function _r({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tool
5133
5907
  }
5134
5908
  //#endregion
5135
5909
  //#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);
5910
+ function ti({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
5911
+ W("AppStepper", c);
5138
5912
  let l = t === "journey";
5139
5913
  return /* @__PURE__ */ E("nav", {
5140
5914
  className: [
@@ -5146,7 +5920,7 @@ function vr({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5146
5920
  "aria-label": a,
5147
5921
  ...c,
5148
5922
  children: e.map((t, n) => {
5149
- let a = t.status || yr(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5923
+ let a = t.status || ni(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5150
5924
  c = a === "done" ? /* @__PURE__ */ E(Y, {
5151
5925
  name: "check",
5152
5926
  size: 14
@@ -5210,13 +5984,13 @@ function vr({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5210
5984
  })
5211
5985
  });
5212
5986
  }
5213
- function yr(e, t) {
5987
+ function ni(e, t) {
5214
5988
  return typeof t == "number" ? e < t ? "done" : e === t ? "active" : "pending" : "pending";
5215
5989
  }
5216
5990
  //#endregion
5217
5991
  //#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, {
5992
+ var ri = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "round", className: o = "", ...s }, c) {
5993
+ return W("AppSwitch", s), /* @__PURE__ */ E(vt, {
5220
5994
  ref: c,
5221
5995
  label: e,
5222
5996
  id: t,
@@ -5231,8 +6005,8 @@ var br = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "r
5231
6005
  });
5232
6006
  //#endregion
5233
6007
  //#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", {
6008
+ function ii({ icon: e, title: t, text: n, action: r, ...i }) {
6009
+ return W("AppTableEmptyState", i), /* @__PURE__ */ D("div", {
5236
6010
  className: "tbl-empty",
5237
6011
  ...i,
5238
6012
  children: [
@@ -5257,8 +6031,8 @@ function xr({ icon: e, title: t, text: n, action: r, ...i }) {
5257
6031
  }
5258
6032
  //#endregion
5259
6033
  //#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);
6034
+ function ai({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onClearSelection: i, className: a = "", ...o }) {
6035
+ W("AppTableToolbar", o);
5262
6036
  let s = n > 0;
5263
6037
  return /* @__PURE__ */ D("div", {
5264
6038
  className: `wui-table-toolbar${a ? ` ${a}` : ""}`,
@@ -5295,9 +6069,9 @@ function Sr({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onCl
5295
6069
  }
5296
6070
  //#endregion
5297
6071
  //#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", _);
6072
+ var oi = 1, si = 28, ci = .7;
6073
+ function li({ 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, ..._ }) {
6074
+ W("AppTabs", _);
5301
6075
  let v = d(null), y = d(null), b = s === "vertical", [x, S] = f(t);
5302
6076
  o(() => {
5303
6077
  S(t);
@@ -5308,7 +6082,7 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5308
6082
  let e = v.current, t = y.current;
5309
6083
  if (!e || !t || b) return;
5310
6084
  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);
6085
+ t.classList.toggle("is-overflow-start", e.scrollLeft > oi), t.classList.toggle("is-overflow-end", n > oi && e.scrollLeft < n - oi);
5312
6086
  }, [b]), M = a(() => {
5313
6087
  let n = v.current;
5314
6088
  if (!n) return;
@@ -5324,7 +6098,7 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5324
6098
  if (!e || b) return;
5325
6099
  let t = e.querySelector(".app-tab.active");
5326
6100
  if (!t) return;
5327
- let n = wr, r = t.offsetLeft, i = r + t.offsetWidth;
6101
+ let n = si, r = t.offsetLeft, i = r + t.offsetWidth;
5328
6102
  r - n < e.scrollLeft ? e.scrollLeft = Math.max(0, r - n) : i + n > e.scrollLeft + e.clientWidth && (e.scrollLeft = i + n - e.clientWidth);
5329
6103
  }, [b]);
5330
6104
  l(() => {
@@ -5359,7 +6133,7 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5359
6133
  }
5360
6134
  let I = (e) => {
5361
6135
  let t = v.current;
5362
- t && t.scrollBy({ left: e * t.clientWidth * Tr });
6136
+ t && t.scrollBy({ left: e * t.clientWidth * ci });
5363
6137
  }, L = [
5364
6138
  "app-tabs",
5365
6139
  i === "pills" ? "app-tabs-pills" : "",
@@ -5472,8 +6246,8 @@ function Er({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
5472
6246
  }
5473
6247
  //#endregion
5474
6248
  //#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);
6249
+ var ui = 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) {
6250
+ W("AppTagInput", y);
5477
6251
  let x = s(), S = p || x, { setRef: C } = Q({
5478
6252
  ref: b,
5479
6253
  value: e,
@@ -5523,8 +6297,8 @@ var Dr = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
5523
6297
  }) : null
5524
6298
  ]
5525
6299
  });
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);
6300
+ }), di = 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) {
6301
+ W("AppTextarea", x);
5528
6302
  let C = s(), w = u || C, T = [
5529
6303
  "textarea",
5530
6304
  h ? "autosize" : "",
@@ -5594,7 +6368,7 @@ var Dr = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
5594
6368
  })
5595
6369
  ]
5596
6370
  });
5597
- }), kr = {
6371
+ }), fi = {
5598
6372
  done: "check",
5599
6373
  current: "clock",
5600
6374
  "on-hold": "lock",
@@ -5603,8 +6377,8 @@ var Dr = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
5603
6377
  skipped: "arrow-right",
5604
6378
  upcoming: null
5605
6379
  };
5606
- function Ar({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
5607
- G("AppTimeline", o);
6380
+ function pi({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
6381
+ W("AppTimeline", o);
5608
6382
  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
6383
  return /* @__PURE__ */ E("ol", {
5610
6384
  className: c,
@@ -5614,7 +6388,7 @@ function Ar({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
5614
6388
  } : a,
5615
6389
  ...o,
5616
6390
  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";
6391
+ let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? fi[n] : void 0) : e.icon || "circle";
5618
6392
  return /* @__PURE__ */ D("li", {
5619
6393
  className: `timeline-item${r}${i}`,
5620
6394
  children: [/* @__PURE__ */ E("span", {
@@ -5684,8 +6458,8 @@ function Ar({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
5684
6458
  }
5685
6459
  //#endregion
5686
6460
  //#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);
6461
+ var mi = 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) {
6462
+ W("AppTimePicker", y);
5689
6463
  let x = s(), S = h || o || x, { setRef: C } = Q({
5690
6464
  ref: b,
5691
6465
  value: e ?? "",
@@ -5729,35 +6503,35 @@ var jr = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
5729
6503
  })
5730
6504
  ]
5731
6505
  });
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($);
6506
+ }), hi = 6, $ = [], gi = /* @__PURE__ */ new Set(), _i = /* @__PURE__ */ new Map(), vi = /* @__PURE__ */ new Set(), yi = 0;
6507
+ function bi() {
6508
+ for (let e of gi) e($);
5735
6509
  }
5736
- function Rr(e) {
5737
- let t = Pr.get(e);
5738
- t !== void 0 && (clearTimeout(t), Pr.delete(e));
6510
+ function xi(e) {
6511
+ let t = _i.get(e);
6512
+ t !== void 0 && (clearTimeout(t), _i.delete(e));
5739
6513
  }
5740
- function zr(e, t) {
5741
- if (e.length <= Mr) return e;
6514
+ function Si(e, t) {
6515
+ if (e.length <= hi) return e;
5742
6516
  let n = [...e], r = [];
5743
- for (; n.length > Mr;) {
6517
+ for (; n.length > hi;) {
5744
6518
  let e = n.findIndex((e) => e.id !== t && e.duration !== 0);
5745
6519
  r.push(n.splice(e === -1 ? n.findIndex((e) => e.id !== t) : e, 1)[0]);
5746
6520
  }
5747
- for (let e of r) Rr(e.id), Fr.delete(e.id);
6521
+ for (let e of r) xi(e.id), vi.delete(e.id);
5748
6522
  return n;
5749
6523
  }
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)));
6524
+ function Ci(e) {
6525
+ return gi.add(e), e($), () => {
6526
+ if (gi.delete(e), gi.size === 0) for (let e of $) e.duration > 0 && !_i.has(e.id) && (vi.delete(e.id), _i.set(e.id, setTimeout(() => Ei(e.id), e.duration)));
5753
6527
  };
5754
6528
  }
5755
- function Vr(e, t, n = {}) {
6529
+ function wi(e, t, n = {}) {
5756
6530
  let r = n.id, i = r || typeof e != "string" ? void 0 : `${t}:${e}`;
5757
6531
  if (r) {
5758
6532
  let i = $.find((e) => e.externalId === r);
5759
6533
  if (i) {
5760
- Rr(i.id);
6534
+ xi(i.id);
5761
6535
  let r = n.duration === void 0 ? 5e3 : n.duration;
5762
6536
  $ = $.map((a) => a.id === i.id ? {
5763
6537
  ...a,
@@ -5770,12 +6544,12 @@ function Vr(e, t, n = {}) {
5770
6544
  shape: n.shape,
5771
6545
  surface: n.surface,
5772
6546
  progress: n.progress
5773
- } : a), Lr(), r > 0 && !Fr.has(i.id) && Pr.set(i.id, setTimeout(() => Ur(i.id), r));
6547
+ } : a), bi(), r > 0 && !vi.has(i.id) && _i.set(i.id, setTimeout(() => Ei(i.id), r));
5774
6548
  return;
5775
6549
  }
5776
6550
  } else if (i && $.some((e) => e.key === i)) return;
5777
- let a = ++Ir, o = n.duration === void 0 ? 5e3 : n.duration;
5778
- $ = zr([...$, {
6551
+ let a = ++yi, o = n.duration === void 0 ? 5e3 : n.duration;
6552
+ $ = Si([...$, {
5779
6553
  id: a,
5780
6554
  externalId: r,
5781
6555
  message: e,
@@ -5788,25 +6562,25 @@ function Vr(e, t, n = {}) {
5788
6562
  surface: n.surface,
5789
6563
  progress: n.progress,
5790
6564
  key: i
5791
- }], a), Lr(), o > 0 && Pr.set(a, setTimeout(() => Ur(a), o));
6565
+ }], a), bi(), o > 0 && _i.set(a, setTimeout(() => Ei(a), o));
5792
6566
  }
5793
- function Hr(e) {
5794
- Rr(e), Fr.add(e);
6567
+ function Ti(e) {
6568
+ xi(e), vi.add(e);
5795
6569
  }
5796
- function Ur(e) {
5797
- Rr(e), Fr.delete(e);
6570
+ function Ei(e) {
6571
+ xi(e), vi.delete(e);
5798
6572
  let t = $.filter((t) => t.id !== e);
5799
- t.length !== $.length && ($ = t, Lr());
6573
+ t.length !== $.length && ($ = t, bi());
5800
6574
  }
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());
6575
+ function Di() {
6576
+ if (!($.length === 0 && _i.size === 0 && vi.size === 0)) {
6577
+ for (let e of _i.values()) clearTimeout(e);
6578
+ _i.clear(), vi.clear(), $.length !== 0 && ($ = [], bi());
5805
6579
  }
5806
6580
  }
5807
6581
  //#endregion
5808
6582
  //#region src/components/AppToast.jsx
5809
- var Gr = {
6583
+ var Oi = {
5810
6584
  success: {
5811
6585
  icon: "check-circle",
5812
6586
  assertive: !1
@@ -5823,7 +6597,7 @@ var Gr = {
5823
6597
  icon: "alert-circle",
5824
6598
  assertive: !0
5825
6599
  }
5826
- }, Kr = {
6600
+ }, ki = {
5827
6601
  "top-start": "top-0 start-0",
5828
6602
  "top-center": "top-0 start-50 translate-middle-x",
5829
6603
  "top-end": "top-0 end-0",
@@ -5831,21 +6605,21 @@ var Gr = {
5831
6605
  "bottom-start": "bottom-0 start-0",
5832
6606
  "bottom-center": "bottom-0 start-50 translate-middle-x",
5833
6607
  "bottom-end": "bottom-0 end-0"
5834
- }, qr = 64, Jr = /* @__PURE__ */ new Set([
6608
+ }, Ai = 64, ji = /* @__PURE__ */ new Set([
5835
6609
  "rise",
5836
6610
  "organic",
5837
6611
  "jelly",
5838
6612
  "spring"
5839
- ]), Yr = /* @__PURE__ */ new Set([
6613
+ ]), Mi = /* @__PURE__ */ new Set([
5840
6614
  "rounded",
5841
6615
  "pill",
5842
6616
  "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);
6617
+ ]), Ni = /* @__PURE__ */ new Set(["auto", "inverse"]);
6618
+ function Pi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
6619
+ W("AppToast", s), G("AppToast", "position", e, Object.keys(ki)), G("AppToast", "animation", n, ji), G("AppToast", "shape", r, Mi), G("AppToast", "surface", i, Ni);
5846
6620
  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"];
6621
+ o(() => Ci(l), []);
6622
+ let u = Math.max(0, c.length - t), d = u ? c.slice(u) : c, p = ki[e] ?? ki["bottom-end"];
5849
6623
  return /* @__PURE__ */ D("div", {
5850
6624
  ...s,
5851
6625
  className: `wui-toast-container toast-container position-fixed ${p} p-3 ${a}`.trim(),
@@ -5857,7 +6631,7 @@ function Zr({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
5857
6631
  u,
5858
6632
  " more"
5859
6633
  ]
5860
- }), d.map((e) => /* @__PURE__ */ E(Qr, {
6634
+ }), d.map((e) => /* @__PURE__ */ E(Fi, {
5861
6635
  toast: e,
5862
6636
  defaultAnimation: n,
5863
6637
  defaultShape: r,
@@ -5865,14 +6639,14 @@ function Zr({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
5865
6639
  }, e.id))]
5866
6640
  });
5867
6641
  }
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);
6642
+ function Fi({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
6643
+ let i = Oi[e.variant] ?? Oi.success, a = ji.has(e.animation) ? e.animation : t, s = Mi.has(e.shape) ? e.shape : n, c = Ni.has(e.surface) ? e.surface : r, l = (a !== "rise" && ji.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && Mi.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 = () => Ei(e.id), y = d(null);
5870
6644
  o(() => {
5871
6645
  if (e.duration === 0) return;
5872
- Hr(e.id);
6646
+ Ti(e.id);
5873
6647
  let t = y.current, n = t == null ? "" : getComputedStyle(t).animationName;
5874
6648
  if (t != null && (typeof t.getAnimations == "function" ? t.getAnimations().length > 0 : n !== "" && n !== "none")) return;
5875
- let r = setTimeout(() => Ur(e.id), e.duration);
6649
+ let r = setTimeout(() => Ei(e.id), e.duration);
5876
6650
  return () => clearTimeout(r);
5877
6651
  }, [e.id, e.duration]);
5878
6652
  let b = (e) => {
@@ -5884,7 +6658,7 @@ function Qr({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
5884
6658
  }, C = (e) => {
5885
6659
  if (_.current === null) return;
5886
6660
  let t = e.clientX - _.current;
5887
- if (Math.abs(t) > qr) {
6661
+ if (Math.abs(t) > Ai) {
5888
6662
  v();
5889
6663
  return;
5890
6664
  }
@@ -5968,8 +6742,8 @@ function Qr({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
5968
6742
  }
5969
6743
  //#endregion
5970
6744
  //#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);
6745
+ function Ii({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
6746
+ W("AppToolbar", u);
5973
6747
  let d = s(), p = o || d, [m, h] = f(r), g = n === void 0 ? m : n;
5974
6748
  return /* @__PURE__ */ D("div", {
5975
6749
  className: [
@@ -6026,8 +6800,8 @@ function $r({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelec
6026
6800
  }
6027
6801
  //#endregion
6028
6802
  //#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);
6803
+ var Li = 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) {
6804
+ W("AppWizard", T);
6031
6805
  let O = d(null), k = (e) => {
6032
6806
  O.current = e, typeof D == "function" ? D(e) : D && (D.current = e);
6033
6807
  }, A = e.toArray(n), j = [p && `wui-step-tone-${p}`, w].filter(Boolean).join(" ");
@@ -6078,15 +6852,15 @@ var ei = i(function({ steps: t = [], children: n, active: r, defaultActive: i =
6078
6852
  children: A[t]
6079
6853
  }, e.key ?? `${e.label}-${t}`))
6080
6854
  });
6081
- }), ti = /* @__PURE__ */ new Set([
6855
+ }), Ri = /* @__PURE__ */ new Set([
6082
6856
  "ArrowUp",
6083
6857
  "ArrowDown",
6084
6858
  "ArrowLeft",
6085
6859
  "ArrowRight"
6086
6860
  ]);
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, ..._ }) {
6861
+ function zi({ 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
6862
  let { onToggle: y, ...b } = _;
6089
- G("AppWorkspaceSwitcher", b);
6863
+ W("AppWorkspaceSwitcher", b);
6090
6864
  let [x, S] = f(""), [C, w] = f(!1), T = d(null), O = (e, t) => {
6091
6865
  w(e), y?.(e, t);
6092
6866
  }, k = e.find((e) => e.id === t) ?? e[0], A = u(() => {
@@ -6104,7 +6878,7 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6104
6878
  let e = T.current;
6105
6879
  if (!e) return;
6106
6880
  let t = (e) => {
6107
- if (ti.has(e.key)) {
6881
+ if (Ri.has(e.key)) {
6108
6882
  e.stopPropagation();
6109
6883
  return;
6110
6884
  }
@@ -6122,7 +6896,7 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6122
6896
  onToggle: O,
6123
6897
  ...b,
6124
6898
  children: [/* @__PURE__ */ E(v.Toggle, {
6125
- as: oi,
6899
+ as: Ui,
6126
6900
  compact: m,
6127
6901
  tenant: k,
6128
6902
  "aria-label": M
@@ -6157,7 +6931,7 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6157
6931
  className: `workspace-switcher-option${e.id === k?.id ? " is-active" : ""}`,
6158
6932
  onClick: () => n?.(e),
6159
6933
  children: [
6160
- /* @__PURE__ */ E(ii, { tenant: e }),
6934
+ /* @__PURE__ */ E(Vi, { tenant: e }),
6161
6935
  /* @__PURE__ */ E("span", {
6162
6936
  className: "workspace-switcher-option-name",
6163
6937
  children: e.name
@@ -6189,17 +6963,17 @@ function ni({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6189
6963
  }) : null,
6190
6964
  i ? /* @__PURE__ */ E("div", {
6191
6965
  className: "workspace-switcher-footer",
6192
- children: ai(i, a)
6966
+ children: Hi(i, a)
6193
6967
  }) : null
6194
6968
  ]
6195
6969
  })]
6196
6970
  });
6197
6971
  }
6198
- function ri(e) {
6972
+ function Bi(e) {
6199
6973
  let t = String(e ?? "").trim().split(/\s+/).filter(Boolean);
6200
6974
  return t.length === 0 ? "" : (t[0][0] + (t.length > 1 ? t[t.length - 1][0] : "")).toUpperCase();
6201
6975
  }
6202
- function ii({ tenant: e }) {
6976
+ function Vi({ tenant: e }) {
6203
6977
  return e?.logoUrl ? /* @__PURE__ */ E("img", {
6204
6978
  className: "workspace-switcher-mark",
6205
6979
  src: e.logoUrl,
@@ -6207,10 +6981,10 @@ function ii({ tenant: e }) {
6207
6981
  loading: "lazy"
6208
6982
  }) : /* @__PURE__ */ E("span", {
6209
6983
  className: "workspace-switcher-mark",
6210
- children: ri(e?.name)
6984
+ children: Bi(e?.name)
6211
6985
  });
6212
6986
  }
6213
- function ai(e, t) {
6987
+ function Hi(e, t) {
6214
6988
  if (typeof e != "object" || !e || !("label" in e)) return e;
6215
6989
  let { label: n, icon: r, href: i } = e;
6216
6990
  return /* @__PURE__ */ D(i ? t ?? "a" : "button", {
@@ -6222,7 +6996,7 @@ function ai(e, t) {
6222
6996
  }) : null, n]
6223
6997
  });
6224
6998
  }
6225
- var oi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
6999
+ var Ui = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
6226
7000
  return /* @__PURE__ */ D("button", {
6227
7001
  ref: a,
6228
7002
  type: "button",
@@ -6230,7 +7004,7 @@ var oi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
6230
7004
  "aria-haspopup": "true",
6231
7005
  "aria-label": n,
6232
7006
  ...i,
6233
- children: [/* @__PURE__ */ E(ii, { tenant: t }), e ? null : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
7007
+ children: [/* @__PURE__ */ E(Vi, { tenant: t }), e ? null : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
6234
7008
  className: "workspace-switcher-trigger-name",
6235
7009
  children: t?.name
6236
7010
  }), /* @__PURE__ */ E(Y, {
@@ -6242,36 +7016,36 @@ var oi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
6242
7016
  });
6243
7017
  //#endregion
6244
7018
  //#region src/components/toast.js
6245
- function si() {
6246
- Wr();
7019
+ function Wi() {
7020
+ Di();
6247
7021
  }
6248
- var ci = /* @__PURE__ */ new Set([
7022
+ var Gi = /* @__PURE__ */ new Set([
6249
7023
  "success",
6250
7024
  "info",
6251
7025
  "warning",
6252
7026
  "danger"
6253
7027
  ]);
6254
- function li(e, t = "info") {
7028
+ function Ki(e, t = "info") {
6255
7029
  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);
7030
+ typeof t == "string" ? n = Gi.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = Gi.has(r.variant) ? r.variant : "info"), wi(e, n, r);
6257
7031
  }
6258
- function ui(e, t = {}) {
6259
- Vr(e, "danger", t);
7032
+ function qi(e, t = {}) {
7033
+ wi(e, "danger", t);
6260
7034
  }
6261
- li.promise = (e, t, n = {}) => {
7035
+ Ki.promise = (e, t, n = {}) => {
6262
7036
  let r = n.id || `promise-${Date.now()}-${Math.random()}`;
6263
- return li(t.loading || "Loading...", {
7037
+ return Ki(t.loading || "Loading...", {
6264
7038
  ...n,
6265
7039
  variant: "info",
6266
7040
  id: r,
6267
7041
  duration: 0
6268
- }), e.then((e) => (li((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
7042
+ }), e.then((e) => (Ki((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
6269
7043
  ...n,
6270
7044
  variant: "success",
6271
7045
  id: r,
6272
7046
  duration: n.duration === void 0 ? 5e3 : n.duration
6273
7047
  }), e)).catch((e) => {
6274
- throw li((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
7048
+ throw Ki((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
6275
7049
  ...n,
6276
7050
  variant: "danger",
6277
7051
  id: r,
@@ -6281,7 +7055,7 @@ li.promise = (e, t, n = {}) => {
6281
7055
  };
6282
7056
  //#endregion
6283
7057
  //#region src/lib/useCommandPaletteShortcut.js
6284
- function di(e, { key: t = "k" } = {}) {
7058
+ function Ji(e, { key: t = "k" } = {}) {
6285
7059
  let n = d(e);
6286
7060
  o(() => {
6287
7061
  n.current = e;
@@ -6294,7 +7068,7 @@ function di(e, { key: t = "k" } = {}) {
6294
7068
  }
6295
7069
  //#endregion
6296
7070
  //#region src/lib/usePagination.js
6297
- function fi(e, t = 10) {
7071
+ function Yi(e, t = 10) {
6298
7072
  let [n, r] = f(1), [i, a] = f(t), s = e.length, c = Math.max(1, Math.ceil(s / i));
6299
7073
  o(() => {
6300
7074
  n > c && r(c);
@@ -6320,4 +7094,44 @@ function fi(e, t = 10) {
6320
7094
  };
6321
7095
  }
6322
7096
  //#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 };
7097
+ //#region src/lib/useTableView.js
7098
+ var Xi = (e) => `wui-view:${e}`;
7099
+ function Zi(e, t) {
7100
+ try {
7101
+ let n = window.localStorage.getItem(Xi(e));
7102
+ if (!n) return t;
7103
+ let r = JSON.parse(n);
7104
+ return {
7105
+ hidden: Array.isArray(r.hidden) ? r.hidden : t.hidden,
7106
+ sort: r.sort && typeof r.sort.key == "string" ? r.sort : t.sort
7107
+ };
7108
+ } catch {
7109
+ return t;
7110
+ }
7111
+ }
7112
+ function Qi(e, { sort: t } = {}) {
7113
+ let [n, r] = f(() => Zi(e, {
7114
+ hidden: [],
7115
+ sort: t
7116
+ }));
7117
+ o(() => {
7118
+ try {
7119
+ window.localStorage.setItem(Xi(e), JSON.stringify(n));
7120
+ } catch {}
7121
+ }, [e, n]);
7122
+ let i = a((e) => r((t) => ({
7123
+ ...t,
7124
+ hidden: t.hidden.includes(e) ? t.hidden.filter((t) => t !== e) : [...t.hidden, e]
7125
+ })), []), s = a((e) => r((t) => ({
7126
+ ...t,
7127
+ sort: typeof e == "function" ? e(t.sort) : e
7128
+ })), []);
7129
+ return {
7130
+ hiddenColumns: n.hidden,
7131
+ toggleColumn: i,
7132
+ sort: n.sort,
7133
+ setSort: s
7134
+ };
7135
+ }
7136
+ //#endregion
7137
+ 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, _n as AppErrorSummary, Cn as AppFileAttachment, En as AppFilePicker, Dn as AppFloatingDock, On as AppFormActions, kn as AppFormRow, Nn as AppFormSection, Y as AppIcon, Pn as AppInfoList, qe as AppInfoTip, Wt as AppInput, zn as AppKpiTile, Un as AppLink, Gn as AppLogoPicker, Yn as AppMeter, It as AppModal, Xn as AppMultiSelect, Zn as AppNumberInput, Qn as AppOtpInput, $n as AppPageHeader, er as AppPagination, tr as AppPhoneNumberInput, Ge as AppPopover, nr as AppPricingCard, ar as AppProgress, Pr as AppQrCode, Fr as AppRadio, Ir as AppRadioGroup, Lr as AppRepeater, Z as AppRequiredMark, Rr as AppResourceCard, Br as AppResult, Vr as AppScrollbar, Hr as AppSearch, Wr as AppSegmented, Kr as AppSelect, an as AppSelectMini, qr as AppShell, Xr as AppSidebarMenu, en as AppSkeleton, tn as AppSkeletonRows, Zr as AppSlider, He as AppSpinner, $r as AppSplash, ei as AppStatusBadge, ti as AppStepper, ri as AppSwitch, ii as AppTableEmptyState, sn as AppTablePagination, ai as AppTableToolbar, li as AppTabs, ui as AppTagInput, di as AppTextarea, mi as AppTimePicker, pi as AppTimeline, Pi as AppToast, Ii as AppToolbar, ce as AppTooltip, Li as AppWizard, zi as AppWorkspaceSwitcher, Kt as MODAL_ICONS, Wi as dismissAll, qi as errorToast, Ee as iconNames, Oe as registerIcons, Ki as toast, Ji as useCommandPaletteShortcut, Yi as usePagination, Qi as useTableView };