@webority/ui-react 0.9.18 → 0.9.20

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
@@ -174,7 +174,7 @@ var O = {
174
174
  y: () => import("./y.g-BUi08-V_.js"),
175
175
  z: () => import("./z.g-COIy6PjH.js")
176
176
  }
177
- }, A = /* @__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-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("."), j = {
177
+ }, A = /* @__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("."), j = {
178
178
  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>",
179
179
  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>",
180
180
  "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>",
@@ -211,6 +211,8 @@ var O = {
211
211
  "chevron-left": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M15 19.92L8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08\"></path>",
212
212
  "chevron-right": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08\"></path>",
213
213
  "chevron-up": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52\"></path>",
214
+ "chevrons-left": "<path d=\"M12.7071 6.70711C13.0976 6.31658 13.0976 5.68342 12.7071 5.29289C12.3166 4.90237 11.6834 4.90237 11.2929 5.29289L5.29289 11.2929C4.91431 11.6715 4.90107 12.2811 5.26285 12.6757L10.7628 18.6757C11.136 19.0828 11.7686 19.1103 12.1757 18.7372C12.5828 18.364 12.6103 17.7314 12.2372 17.3243L7.38414 12.0301L12.7071 6.70711Z\" fill=\"currentColor\"/><path opacity=\"0.3\" d=\"M19.7071 6.70711C20.0976 6.31658 20.0976 5.68342 19.7071 5.29289C19.3166 4.90237 18.6834 4.90237 18.2929 5.29289L12.2929 11.2929C11.9143 11.6715 11.9011 12.2811 12.2628 12.6757L17.7628 18.6757C18.136 19.0828 18.7686 19.1103 19.1757 18.7372C19.5828 18.364 19.6103 17.7314 19.2372 17.3243L14.3841 12.0301L19.7071 6.70711Z\" fill=\"currentColor\"/>",
215
+ "chevrons-right": "<path d=\"M11.2929 6.70711C10.9024 6.31658 10.9024 5.68342 11.2929 5.29289C11.6834 4.90237 12.3166 4.90237 12.7071 5.29289L18.7071 11.2929C19.0857 11.6715 19.0989 12.2811 18.7372 12.6757L13.2372 18.6757C12.864 19.0828 12.2314 19.1103 11.8243 18.7372C11.4172 18.364 11.3897 17.7314 11.7628 17.3243L16.6159 12.0301L11.2929 6.70711Z\" fill=\"currentColor\"/><path opacity=\"0.3\" d=\"M4.29289 6.70711C3.90237 6.31658 3.90237 5.68342 4.29289 5.29289C4.68342 4.90237 5.31658 4.90237 5.70711 5.29289L11.7071 11.2929C12.0857 11.6715 12.0989 12.2811 11.7372 12.6757L6.23715 18.6757C5.86396 19.0828 5.23139 19.1103 4.82428 18.7372C4.41716 18.364 4.38965 17.7314 4.76285 17.3243L9.61586 12.0301L4.29289 6.70711Z\" fill=\"currentColor\"/>",
214
216
  "chevrons-up-down": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M9.01 20.5l-5.02-5.01M9.01 3.5v17M14.99 3.5l5.02 5.01M14.99 20.5v-17\"></path>",
215
217
  circle: "<path d=\"M11.97 22c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 16.23a4.23 4.23 0 1 0 0-8.46 4.23 4.23 0 0 0 0 8.46Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
216
218
  "circle-help": "<path d=\"M17 18.43h-4l-4.45 2.96A.997.997 0 0 1 7 20.56v-2.13c-3 0-5-2-5-5v-6c0-3 2-5 5-5h10c3 0 5 2 5 5v6c0 3-2 5-5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 11.36v-.21c0-.68.42-1.04.84-1.33.41-.28.82-.64.82-1.3 0-.92-.74-1.66-1.66-1.66-.92 0-1.66.74-1.66 1.66M11.995 13.75h.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
@@ -400,7 +402,7 @@ function ne(e, t) {
400
402
  }
401
403
  var re = null, ie = null, ae = !1, oe = /* @__PURE__ */ new Set();
402
404
  function se() {
403
- return ie ||= import("./iconVariants.g-CLikIWjb.js").then((e) => {
405
+ return ie ||= import("./iconVariants.g-CVcnTWv5.js").then((e) => {
404
406
  re = e.VARIANT_GLYPHS, ae = !1;
405
407
  for (let e of oe) e();
406
408
  oe.clear();
@@ -860,16 +862,24 @@ var Pe = class extends HTMLElement {
860
862
  }, Fe = 4, Ie = 300, Le = 400;
861
863
  function Re(e, t, n = {}) {
862
864
  if (!e || !t) return;
863
- let r = e.getBoundingClientRect(), i = t.offsetHeight, a = window.innerHeight - r.bottom, o = a < i + Fe && r.top > a;
864
- t.classList.toggle("drop-up", o), t.style.position = "fixed", t.style.top = o ? `${Math.max(Fe, r.top - i - Fe)}px` : `${r.bottom + Fe}px`, n.matchWidth && (r.width >= Ie ? (t.style.minWidth = `${r.width}px`, t.style.width = `${r.width}px`, t.style.maxWidth = `${r.width}px`) : (t.style.minWidth = `${r.width}px`, t.style.width = "max-content", t.style.maxWidth = `${Math.min(Le, window.innerWidth - Fe * 2)}px`));
865
- let s = t.offsetWidth, c = Math.min(r.left, window.innerWidth - s - Fe);
866
- t.style.left = `${Math.max(Fe, c)}px`;
865
+ let r = e.getBoundingClientRect(), i = n.clampHeight ? t.scrollTop : 0;
866
+ n.clampHeight && (t.style.maxHeight = "");
867
+ let a = t.offsetHeight, o = window.innerHeight - r.bottom, s = o < a + Fe && r.top > o;
868
+ if (t.classList.toggle("drop-up", s), t.style.position = "fixed", t.style.top = s ? `${Math.max(Fe, r.top - a - Fe)}px` : `${r.bottom + Fe}px`, n.clampHeight) {
869
+ let e = s ? r.top - Fe * 2 : window.innerHeight - r.bottom - Fe * 2;
870
+ e < a && (t.style.maxHeight = `${Math.max(e, 0)}px`), t.scrollTop = i;
871
+ }
872
+ n.matchWidth && (r.width >= Ie ? (t.style.minWidth = `${r.width}px`, t.style.width = `${r.width}px`, t.style.maxWidth = `${r.width}px`) : (t.style.minWidth = `${r.width}px`, t.style.width = "max-content", t.style.maxWidth = `${Math.min(Le, window.innerWidth - Fe * 2)}px`));
873
+ let c = t.offsetWidth, l = Math.min(r.left, window.innerWidth - c - Fe);
874
+ t.style.left = `${Math.max(Fe, l)}px`;
867
875
  }
868
876
  function ze(e, t) {
869
- Be(e), e._reanchor = t, window.addEventListener("resize", e._reanchor), window.addEventListener("scroll", e._reanchor, !0);
877
+ Be(e), e._reanchor = t, e._reanchorScroll = (n) => {
878
+ n.target instanceof Node && typeof e.contains == "function" && e.contains(n.target) || t();
879
+ }, window.addEventListener("resize", e._reanchor), window.addEventListener("scroll", e._reanchorScroll, !0);
870
880
  }
871
881
  function Be(e) {
872
- e?._reanchor && (window.removeEventListener("resize", e._reanchor), window.removeEventListener("scroll", e._reanchor, !0), e._reanchor = null);
882
+ e?._reanchor && (window.removeEventListener("resize", e._reanchor), window.removeEventListener("scroll", e._reanchorScroll, !0), e._reanchor = null, e._reanchorScroll = null);
873
883
  }
874
884
  var Ve = "data-wui-mirror";
875
885
  function K(e, t) {
@@ -920,6 +930,8 @@ var He = {
920
930
  "chevron-left": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M15 19.92L8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08\"></path>",
921
931
  "chevron-right": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08\"></path>",
922
932
  "chevron-up": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52\"></path>",
933
+ "chevrons-left": "<path d=\"M12.7071 6.70711C13.0976 6.31658 13.0976 5.68342 12.7071 5.29289C12.3166 4.90237 11.6834 4.90237 11.2929 5.29289L5.29289 11.2929C4.91431 11.6715 4.90107 12.2811 5.26285 12.6757L10.7628 18.6757C11.136 19.0828 11.7686 19.1103 12.1757 18.7372C12.5828 18.364 12.6103 17.7314 12.2372 17.3243L7.38414 12.0301L12.7071 6.70711Z\" fill=\"currentColor\"/><path opacity=\"0.3\" d=\"M19.7071 6.70711C20.0976 6.31658 20.0976 5.68342 19.7071 5.29289C19.3166 4.90237 18.6834 4.90237 18.2929 5.29289L12.2929 11.2929C11.9143 11.6715 11.9011 12.2811 12.2628 12.6757L17.7628 18.6757C18.136 19.0828 18.7686 19.1103 19.1757 18.7372C19.5828 18.364 19.6103 17.7314 19.2372 17.3243L14.3841 12.0301L19.7071 6.70711Z\" fill=\"currentColor\"/>",
934
+ "chevrons-right": "<path d=\"M11.2929 6.70711C10.9024 6.31658 10.9024 5.68342 11.2929 5.29289C11.6834 4.90237 12.3166 4.90237 12.7071 5.29289L18.7071 11.2929C19.0857 11.6715 19.0989 12.2811 18.7372 12.6757L13.2372 18.6757C12.864 19.0828 12.2314 19.1103 11.8243 18.7372C11.4172 18.364 11.3897 17.7314 11.7628 17.3243L16.6159 12.0301L11.2929 6.70711Z\" fill=\"currentColor\"/><path opacity=\"0.3\" d=\"M4.29289 6.70711C3.90237 6.31658 3.90237 5.68342 4.29289 5.29289C4.68342 4.90237 5.31658 4.90237 5.70711 5.29289L11.7071 11.2929C12.0857 11.6715 12.0989 12.2811 11.7372 12.6757L6.23715 18.6757C5.86396 19.0828 5.23139 19.1103 4.82428 18.7372C4.41716 18.364 4.38965 17.7314 4.76285 17.3243L9.61586 12.0301L4.29289 6.70711Z\" fill=\"currentColor\"/>",
923
935
  "chevrons-up-down": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M9.01 20.5l-5.02-5.01M9.01 3.5v17M14.99 3.5l5.02 5.01M14.99 20.5v-17\"></path>",
924
936
  circle: "<path d=\"M11.97 22c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 16.23a4.23 4.23 0 1 0 0-8.46 4.23 4.23 0 0 0 0 8.46Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
925
937
  "circle-help": "<path d=\"M17 18.43h-4l-4.45 2.96A.997.997 0 0 1 7 20.56v-2.13c-3 0-5-2-5-5v-6c0-3 2-5 5-5h10c3 0 5 2 5 5v6c0 3-2 5-5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 11.36v-.21c0-.68.42-1.04.84-1.33.41-.28.82-.64.82-1.3 0-.92-.74-1.66-1.66-1.66-.92 0-1.66.74-1.66 1.66M11.995 13.75h.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
@@ -1547,7 +1559,7 @@ var We = Symbol("wui.trustedHtml"), J = (e) => String(e ?? "").replace(/&/g, "&a
1547
1559
  t && e.contains(document.activeElement) && t.focus();
1548
1560
  }
1549
1561
  _position(e, t) {
1550
- Re(e, t);
1562
+ Re(e, t, { clampHeight: !0 });
1551
1563
  }
1552
1564
  _setFocus(e, t, n, r) {
1553
1565
  let { y: i, m: a } = nt(e, t);
@@ -1839,7 +1851,7 @@ var We = Symbol("wui.trustedHtml"), J = (e) => String(e ?? "").replace(/&/g, "&a
1839
1851
  i && (i.textContent = this._start ? this._end ? `${et(this._start)} – ${et(this._end)}` : "Pick an end date" : "Pick a start date");
1840
1852
  }
1841
1853
  _position(e, t) {
1842
- Re(e, t);
1854
+ Re(e, t, { clampHeight: !0 });
1843
1855
  }
1844
1856
  _pick(e) {
1845
1857
  if (!this._start || this._start && this._end) {
@@ -3737,7 +3749,13 @@ function Tt(e, t) {
3737
3749
  return t;
3738
3750
  }
3739
3751
  }
3740
- function Et(e) {
3752
+ function Et(e, t) {
3753
+ if (t <= 0) return 0;
3754
+ let n = 0;
3755
+ for (let r = 0; r < e.length; r++) if (/[0-9]/.test(e[r]) && (n += 1, n === t)) return r + 1;
3756
+ return e.length;
3757
+ }
3758
+ function Dt(e) {
3741
3759
  if (!X) return null;
3742
3760
  try {
3743
3761
  return X.getExampleNumber(e, X.examples)?.formatNational() || null;
@@ -3745,7 +3763,7 @@ function Et(e) {
3745
3763
  return null;
3746
3764
  }
3747
3765
  }
3748
- function Dt(e) {
3766
+ function Ot(e) {
3749
3767
  if (!X || !e) return null;
3750
3768
  try {
3751
3769
  if (!X.isValidPhoneNumber(e)) return !1;
@@ -3755,7 +3773,7 @@ function Dt(e) {
3755
3773
  return null;
3756
3774
  }
3757
3775
  }
3758
- function Ot(e) {
3776
+ function kt(e) {
3759
3777
  if (!X) return null;
3760
3778
  try {
3761
3779
  let t = X.getExampleNumber(e, X.examples);
@@ -3764,7 +3782,7 @@ function Ot(e) {
3764
3782
  return null;
3765
3783
  }
3766
3784
  }
3767
- function kt(e) {
3785
+ function At(e) {
3768
3786
  if (!X || !e?.trim().startsWith("+")) return null;
3769
3787
  try {
3770
3788
  let t = new X.AsYouType();
@@ -3778,7 +3796,7 @@ function kt(e) {
3778
3796
  return null;
3779
3797
  }
3780
3798
  }
3781
- var At = class extends HTMLElement {
3799
+ var jt = class extends HTMLElement {
3782
3800
  static formAssociated = !0;
3783
3801
  static get observedAttributes() {
3784
3802
  return [
@@ -3828,7 +3846,7 @@ var At = class extends HTMLElement {
3828
3846
  return this._national ? `+${xt(this._country)}${this._national}` : "";
3829
3847
  }
3830
3848
  set value(e) {
3831
- let t = String(e ?? "").trim(), n = kt(t);
3849
+ let t = String(e ?? "").trim(), n = At(t);
3832
3850
  if (n) this._country = n.country, this._national = n.national.replace(/[^0-9]/g, "");
3833
3851
  else if (t.startsWith("+")) {
3834
3852
  let e = t.replace(/[^0-9]/g, ""), n = String(xt(this._country));
@@ -3847,25 +3865,25 @@ var At = class extends HTMLElement {
3847
3865
  }
3848
3866
  render() {
3849
3867
  this._defaultValue === void 0 && (this._defaultValue = this.getAttribute("value") || ""), this._country = this.getAttribute("country") || this._country;
3850
- let e = this.getAttribute("placeholder") || Et(this._country) || "Enter phone number";
3868
+ let e = this.getAttribute("placeholder") || Dt(this._country) || "Enter phone number";
3851
3869
  this.id ||= `wui-phone-${Math.random().toString(36).slice(2, 9)}`;
3852
3870
  let t = `${this.id}-listbox`;
3853
3871
  this._listboxId = t;
3854
- let n = bt.map(([e, n, r], i) => `<button type="button" role="option" id="${jt(`${t}-opt-${i}`)}" class="country-dropdown-item${e === this._country ? " selected" : ""}" data-iso="${e}" aria-selected="${e === this._country}"><span class="${St(e)}" aria-hidden="true"></span><span class="country-name-text">${n}<span class="country-code-text">+${r}</span></span></button>`).join("");
3872
+ let n = bt.map(([e, n, r], i) => `<button type="button" role="option" id="${Mt(`${t}-opt-${i}`)}" class="country-dropdown-item${e === this._country ? " selected" : ""}" data-iso="${e}" aria-selected="${e === this._country}"><span class="${St(e)}" aria-hidden="true"></span><span class="country-name-text">${n}<span class="country-code-text">+${r}</span></span></button>`).join("");
3855
3873
  this.innerHTML = `
3856
3874
  <div class="phone-input-wrap">
3857
3875
  <div class="phone-country-adornment">
3858
- <button type="button" class="country-toggle" aria-label="Choose country" aria-haspopup="listbox" aria-expanded="false" aria-controls="${jt(t)}"${this.hasAttribute("disabled") ? " disabled" : ""}>
3876
+ <button type="button" class="country-toggle" aria-label="Choose country" aria-haspopup="listbox" aria-expanded="false" aria-controls="${Mt(t)}"${this.hasAttribute("disabled") ? " disabled" : ""}>
3859
3877
  <span class="${St(this._country)}" data-flag aria-hidden="true"></span>
3860
3878
  ${q("chevron-down", { className: "phone-chevron" })}
3861
3879
  <span class="phone-dial" data-dial>+${xt(this._country)}</span>
3862
3880
  </button>
3863
- <div class="country-dropdown-menu" role="listbox" id="${jt(t)}" tabindex="-1" hidden>
3864
- <div class="dropdown-search-wrapper"><span class="dropdown-search-icon">${q("search")}</span><input type="text" class="dropdown-search-input" placeholder="Search country or code" aria-label="Search countries" aria-controls="${jt(t)}" aria-autocomplete="list" /></div>
3881
+ <div class="country-dropdown-menu" role="listbox" id="${Mt(t)}" tabindex="-1" hidden>
3882
+ <div class="dropdown-search-wrapper"><span class="dropdown-search-icon">${q("search")}</span><input type="text" class="dropdown-search-input" placeholder="Search country or code" aria-label="Search countries" aria-controls="${Mt(t)}" aria-autocomplete="list" /></div>
3865
3883
  <div class="country-list-scroll">${n}<div class="country-empty" hidden>No countries found</div></div>
3866
3884
  </div>
3867
3885
  </div>
3868
- <input type="tel" class="input" placeholder="${jt(e)}" value="${jt(Tt(this._country, this._national))}"${this.getAttribute("aria-label") ? ` aria-label="${jt(this.getAttribute("aria-label"))}"` : ""}${this.getAttribute("aria-describedby") ? ` aria-describedby="${jt(this.getAttribute("aria-describedby"))}"` : ""}${this.hasAttribute("required") ? " required aria-required=\"true\"" : ""}${this.hasAttribute("disabled") ? " disabled" : ""} />
3886
+ <input type="tel" class="input" placeholder="${Mt(e)}" value="${Mt(Tt(this._country, this._national))}"${this.getAttribute("aria-label") ? ` aria-label="${Mt(this.getAttribute("aria-label"))}"` : ""}${this.getAttribute("aria-describedby") ? ` aria-describedby="${Mt(this.getAttribute("aria-describedby"))}"` : ""}${this.hasAttribute("required") ? " required aria-required=\"true\"" : ""}${this.hasAttribute("disabled") ? " disabled" : ""} />
3869
3887
  </div>
3870
3888
  <div class="field-error" data-phone-error hidden></div>`, this._rendered = !0, K(this, this.value), this._wire();
3871
3889
  }
@@ -3901,7 +3919,7 @@ var At = class extends HTMLElement {
3901
3919
  let n = t.dataset.iso === e;
3902
3920
  t.classList.toggle("selected", n), t.setAttribute("aria-selected", String(n));
3903
3921
  }
3904
- !this.getAttribute("placeholder") && o && (o.placeholder = Et(e) || "Enter phone number"), o && this._national && (o.value = Tt(e, this._national)), p(), this._syncMirror(), this._emitChange(), o?.focus();
3922
+ !this.getAttribute("placeholder") && o && (o.placeholder = Dt(e) || "Enter phone number"), o && this._national && (o.value = Tt(e, this._national)), p(), this._syncMirror(), this._emitChange(), o?.focus();
3905
3923
  }, g = (t) => {
3906
3924
  let n = this._visibleItems();
3907
3925
  if (t.key === "ArrowDown") {
@@ -3935,7 +3953,7 @@ var At = class extends HTMLElement {
3935
3953
  let _ = this.querySelector("[data-phone-error]"), v = (e) => {
3936
3954
  if (o.classList.toggle("is-invalid", e), e ? o.setAttribute("aria-invalid", "true") : o.removeAttribute("aria-invalid"), _) {
3937
3955
  if (e) {
3938
- let e = Et(this._country);
3956
+ let e = Dt(this._country);
3939
3957
  _.textContent = e ? `Enter a valid phone number, e.g. ${e}` : "Enter a valid phone number";
3940
3958
  }
3941
3959
  _.hidden = !e;
@@ -3943,14 +3961,19 @@ var At = class extends HTMLElement {
3943
3961
  };
3944
3962
  o.addEventListener("input", (e) => {
3945
3963
  e.stopPropagation();
3946
- let t = o.value.replace(/[^0-9]/g, ""), n = Ot(this._country);
3947
- n && t.length > n && (t = t.slice(0, n)), this._national = t;
3948
- let r = Tt(this._country, this._national);
3949
- o.value !== r && (o.value = r), this._syncMirror(), this._emitInput(), o.classList.contains("is-invalid") && (!this._national || Dt(this.value) === !0) && v(!1);
3964
+ let t = o.selectionStart ?? o.value.length, n = o.value.slice(0, t).replace(/[^0-9]/g, "").length, r = o.value.replace(/[^0-9]/g, ""), i = kt(this._country);
3965
+ i && r.length > i && (r = r.slice(0, i)), this._national = r;
3966
+ let a = Tt(this._country, this._national);
3967
+ if (o.value !== a) {
3968
+ o.value = a;
3969
+ let e = Et(a, Math.min(n, r.length));
3970
+ o.setSelectionRange(e, e);
3971
+ }
3972
+ this._syncMirror(), this._emitInput(), o.classList.contains("is-invalid") && (!this._national || Ot(this.value) === !0) && v(!1);
3950
3973
  }), o.addEventListener("change", (e) => e.stopPropagation()), o.addEventListener("blur", () => {
3951
- v(this._national.length > 0 && Dt(this.value) === !1), this.value !== this._committedValue && this._emitChange();
3974
+ v(this._national.length > 0 && Ot(this.value) === !1), this.value !== this._committedValue && this._emitChange();
3952
3975
  }), o.addEventListener("paste", (e) => {
3953
- let t = kt(e.clipboardData?.getData("text"));
3976
+ let t = At(e.clipboardData?.getData("text"));
3954
3977
  t && (e.preventDefault(), this._national = t.national.replace(/[^0-9]/g, ""), t.country === this._country ? o.value = Tt(this._country, this._national) : this.setAttribute("country", t.country), this._syncMirror(), this._emitInput(), this._emitChange(), this.querySelector("input[type=tel]")?.focus());
3955
3978
  }), this._bindGlobal = () => {
3956
3979
  this._teardownGlobals?.(), this._onDocClick = (e) => {
@@ -3962,7 +3985,7 @@ var At = class extends HTMLElement {
3962
3985
  this._onDocClick &&= (document.removeEventListener("click", this._onDocClick), null), Be(this);
3963
3986
  }, this._bindGlobal(), wt().then((e) => {
3964
3987
  if (!(!e || !o.isConnected) && (this._national && (o.value = Tt(this._country, this._national)), !this.getAttribute("placeholder"))) {
3965
- let e = Et(this._country);
3988
+ let e = Dt(this._country);
3966
3989
  e && (o.placeholder = e);
3967
3990
  }
3968
3991
  }), this._syncMirror();
@@ -3973,7 +3996,7 @@ var At = class extends HTMLElement {
3973
3996
  disconnectedCallback() {
3974
3997
  this._teardown();
3975
3998
  }
3976
- }, jt = (e) => String(e ?? "").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Mt = class extends HTMLElement {
3999
+ }, Mt = (e) => String(e ?? "").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Nt = class extends HTMLElement {
3977
4000
  static formAssociated = !0;
3978
4001
  static get observedAttributes() {
3979
4002
  return [
@@ -4062,19 +4085,19 @@ var At = class extends HTMLElement {
4062
4085
  this._listboxId = u;
4063
4086
  let d = e.map((e, t) => {
4064
4087
  let n = String(e.value) === String(this._value);
4065
- return `<button type="button" role="option" id="${Nt(`${u}-opt-${t}`)}" class="search-select-option${n ? " selected" : ""}" data-value="${Nt(e.value)}" aria-selected="${n}">${Ke(e)}</button>`;
4088
+ return `<button type="button" role="option" id="${Pt(`${u}-opt-${t}`)}" class="search-select-option${n ? " selected" : ""}" data-value="${Pt(e.value)}" aria-selected="${n}">${Ke(e)}</button>`;
4066
4089
  }).join("");
4067
4090
  this.innerHTML = `
4068
4091
  <div class="search-select${this.hasAttribute("compact") ? " search-select-compact" : ""}${i}">
4069
- <button type="button" role="combobox" class="input search-select-control" aria-haspopup="listbox" aria-expanded="false" aria-controls="${Nt(u)}" aria-label="${Nt(this._accessibleName())}"${this.hasAttribute("aria-invalid") ? " aria-invalid=\"true\"" : ""}${this.hasAttribute("disabled") ? " disabled" : ""}>
4092
+ <button type="button" role="combobox" class="input search-select-control" aria-haspopup="listbox" aria-expanded="false" aria-controls="${Pt(u)}" aria-label="${Pt(this._accessibleName())}"${this.hasAttribute("aria-invalid") ? " aria-invalid=\"true\"" : ""}${this.hasAttribute("disabled") ? " disabled" : ""}>
4070
4093
  ${a ? q(a, { className: "search-select-icon" }) : ""}
4071
4094
  ${o ? `<span class="search-select-prefix">${J(o)}</span>` : ""}
4072
4095
  <span class="${l ? "" : "search-select-placeholder"}" data-label>${l ? Ke(l) : J(s)}</span>
4073
4096
  ${n ? `<span class="search-select-reset" role="button" aria-label="Clear selection" hidden>${q("x")}</span>` : ""}
4074
4097
  ${q("chevron-down", { className: "search-select-caret" })}
4075
4098
  </button>
4076
- <div class="search-select-menu search-select-menu-fixed" role="listbox" id="${Nt(u)}" tabindex="-1" hidden>
4077
- ${t ? `<div class="search-select-search">${q("search")}<input class="search-select-input" placeholder="${Nt(c)}" aria-autocomplete="list" /><button type="button" class="search-select-clear" aria-label="Clear search" hidden>${q("x")}</button></div>` : ""}
4099
+ <div class="search-select-menu search-select-menu-fixed" role="listbox" id="${Pt(u)}" tabindex="-1" hidden>
4100
+ ${t ? `<div class="search-select-search">${q("search")}<input class="search-select-input" placeholder="${Pt(c)}" aria-autocomplete="list" /><button type="button" class="search-select-clear" aria-label="Clear search" hidden>${q("x")}</button></div>` : ""}
4078
4101
  <div class="search-select-options">${d}<div class="search-select-empty" hidden>No matches</div></div>
4079
4102
  </div>
4080
4103
  </div>`, this._rendered = !0, K(this, this._value), this._wire(), this._syncReset();
@@ -4179,7 +4202,7 @@ var At = class extends HTMLElement {
4179
4202
  disconnectedCallback() {
4180
4203
  this._teardown();
4181
4204
  }
4182
- }, Nt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Pt = class extends HTMLElement {
4205
+ }, Pt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Ft = class extends HTMLElement {
4183
4206
  static formAssociated = !0;
4184
4207
  static get observedAttributes() {
4185
4208
  return [
@@ -4219,19 +4242,19 @@ var At = class extends HTMLElement {
4219
4242
  return this._value;
4220
4243
  }
4221
4244
  set value(e) {
4222
- this._value = this._snapToStep(this._clamp(Ft(e, this._value))), this._syncValue(), this._syncMirrors();
4245
+ this._value = this._snapToStep(this._clamp(It(e, this._value))), this._syncValue(), this._syncMirrors();
4223
4246
  }
4224
4247
  get start() {
4225
4248
  return this._start;
4226
4249
  }
4227
4250
  set start(e) {
4228
- this._start = Math.min(this._snapToStep(this._clamp(Ft(e, this._start))), this._end), this._syncValue(), this._syncMirrors();
4251
+ this._start = Math.min(this._snapToStep(this._clamp(It(e, this._start))), this._end), this._syncValue(), this._syncMirrors();
4229
4252
  }
4230
4253
  get end() {
4231
4254
  return this._end;
4232
4255
  }
4233
4256
  set end(e) {
4234
- this._end = Math.max(this._snapToStep(this._clamp(Ft(e, this._end))), this._start), this._syncValue(), this._syncMirrors();
4257
+ this._end = Math.max(this._snapToStep(this._clamp(It(e, this._end))), this._start), this._syncValue(), this._syncMirrors();
4235
4258
  }
4236
4259
  attributeChangedCallback(e, t, n) {
4237
4260
  if (e === "value" || e === "start" || e === "end" || e === "min" || e === "max" || e === "step") {
@@ -4244,19 +4267,19 @@ var At = class extends HTMLElement {
4244
4267
  this._isRange() ? this._resetRange() : this._resetSingle();
4245
4268
  }
4246
4269
  _updateFromAttribute(e) {
4247
- e === "value" ? this._value = this._snapToStep(this._clamp(Ft(this.getAttribute("value"), this._value))) : e === "start" ? this._start = this._snapToStep(this._clamp(Ft(this.getAttribute("start"), this._start))) : e === "end" && (this._end = this._snapToStep(this._clamp(Ft(this.getAttribute("end"), this._end))));
4270
+ e === "value" ? this._value = this._snapToStep(this._clamp(It(this.getAttribute("value"), this._value))) : e === "start" ? this._start = this._snapToStep(this._clamp(It(this.getAttribute("start"), this._start))) : e === "end" && (this._end = this._snapToStep(this._clamp(It(this.getAttribute("end"), this._end))));
4248
4271
  }
4249
4272
  _isRange() {
4250
4273
  return this.hasAttribute("range");
4251
4274
  }
4252
4275
  _min() {
4253
- return Ft(this.getAttribute("min"), 0);
4276
+ return It(this.getAttribute("min"), 0);
4254
4277
  }
4255
4278
  _max() {
4256
- return Ft(this.getAttribute("max"), 100);
4279
+ return It(this.getAttribute("max"), 100);
4257
4280
  }
4258
4281
  _step() {
4259
- return Ft(this.getAttribute("step"), 1);
4282
+ return It(this.getAttribute("step"), 1);
4260
4283
  }
4261
4284
  _clamp(e) {
4262
4285
  return Math.max(this._min(), Math.min(e, this._max()));
@@ -4321,7 +4344,7 @@ var At = class extends HTMLElement {
4321
4344
  aria-valuenow="${this._value}"
4322
4345
  aria-valuetext="${this._formatValue(this._value)}"
4323
4346
  ${a ? "disabled" : ""}
4324
- aria-label="${It(this.getAttribute("aria-label") || "Value")}"
4347
+ aria-label="${Lt(this.getAttribute("aria-label") || "Value")}"
4325
4348
  ></button>
4326
4349
  `}
4327
4350
  ${this.hasAttribute("show-value") ? n ? `<span class="slider-value">${this._formatValue(this._start)} – ${this._formatValue(this._end)}</span>` : `<span class="slider-value">${this._formatValue(this._value)}</span>` : ""}
@@ -4421,10 +4444,10 @@ var At = class extends HTMLElement {
4421
4444
  disconnectedCallback() {
4422
4445
  this._teardown();
4423
4446
  }
4424
- }, Ft = (e, t) => {
4447
+ }, It = (e, t) => {
4425
4448
  let n = Number.parseFloat(e);
4426
4449
  return Number.isFinite(n) ? n : t;
4427
- }, It = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Lt = class extends HTMLElement {
4450
+ }, Lt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Rt = class extends HTMLElement {
4428
4451
  static formAssociated = !0;
4429
4452
  _accessibleName() {
4430
4453
  return this.getAttribute("aria-label") || this.getAttribute("placeholder") || "Add tags";
@@ -4497,7 +4520,7 @@ var At = class extends HTMLElement {
4497
4520
  K(this, this._values.join(",")), this.innerHTML = `
4498
4521
  <div class="search-select${t}">
4499
4522
  <div class="input search-select-control search-select-multi"${this.hasAttribute("aria-invalid") ? " aria-invalid=\"true\"" : ""}${this.hasAttribute("disabled") ? " aria-disabled=\"true\"" : ""}>
4500
- <input type="text" class="ms-input" data-input aria-label="${zt(this._accessibleName())}" placeholder="${zt(this.getAttribute("placeholder") || "Add…")}" autocomplete="off"${this.hasAttribute("disabled") ? " disabled" : ""}/>
4523
+ <input type="text" class="ms-input" data-input aria-label="${Bt(this._accessibleName())}" placeholder="${Bt(this.getAttribute("placeholder") || "Add…")}" autocomplete="off"${this.hasAttribute("disabled") ? " disabled" : ""}/>
4501
4524
  <div class="ms-chips" data-chips></div>
4502
4525
  </div>
4503
4526
  </div>`, this._rendered = !0, K(this, this._values.join(",")), this._renderControl(), this._wire();
@@ -4509,7 +4532,7 @@ var At = class extends HTMLElement {
4509
4532
  e.innerHTML = "";
4510
4533
  return;
4511
4534
  }
4512
- e.innerHTML = this._values.map((e) => `<span class="chip chip-sm"><span class="chip-label">${Rt(e)}</span><button type="button" class="chip-remove" data-remove="${zt(e)}" aria-label="Remove ${zt(e)}">${q("x")}</button></span>`).join("");
4535
+ e.innerHTML = this._values.map((e) => `<span class="chip chip-sm"><span class="chip-label">${zt(e)}</span><button type="button" class="chip-remove" data-remove="${Bt(e)}" aria-label="Remove ${Bt(e)}">${q("x")}</button></span>`).join("");
4513
4536
  }
4514
4537
  }
4515
4538
  _wire() {
@@ -4580,18 +4603,18 @@ var At = class extends HTMLElement {
4580
4603
  disconnectedCallback() {
4581
4604
  this._teardown();
4582
4605
  }
4583
- }, Rt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), zt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Bt = (e) => String(e).padStart(2, "0"), Vt = (e, t) => `${Bt(e)}:${Bt(t)}`, Ht = (e) => {
4606
+ }, zt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Bt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), Vt = (e) => String(e).padStart(2, "0"), Ht = (e, t) => `${Vt(e)}:${Vt(t)}`, Ut = (e) => {
4584
4607
  let t = /^(\d{2}):(\d{2})$/.exec(e || "");
4585
4608
  return t ? {
4586
4609
  h: +t[1],
4587
4610
  m: +t[2]
4588
4611
  } : null;
4589
- }, Ut = (e, t = "24") => {
4612
+ }, Wt = (e, t = "24") => {
4590
4613
  if (!e) return "";
4591
- if (t === "24") return Vt(e.h, e.m);
4614
+ if (t === "24") return Ht(e.h, e.m);
4592
4615
  let n = e.h % 12 || 12, r = e.h >= 12 ? "PM" : "AM";
4593
- return `${n}:${Bt(e.m)} ${r}`;
4594
- }, Wt = class extends HTMLElement {
4616
+ return `${n}:${Vt(e.m)} ${r}`;
4617
+ }, Gt = class extends HTMLElement {
4595
4618
  static formAssociated = !0;
4596
4619
  static get observedAttributes() {
4597
4620
  return [
@@ -4638,11 +4661,11 @@ var At = class extends HTMLElement {
4638
4661
  }
4639
4662
  render() {
4640
4663
  this._defaultValue === void 0 && (this._defaultValue = this.getAttribute("value") || "", this._value = this._defaultValue || this._value);
4641
- let e = this.getAttribute("placeholder") || "Select time", t = Ht(this._value), n = this.getAttribute("format") || "24", r = this.getAttribute("size"), i = r === "sm" ? " input-sm" : r === "lg" ? " input-lg" : "", a = this.getAttribute("aria-label"), o = this.getAttribute("aria-describedby");
4664
+ let e = this.getAttribute("placeholder") || "Select time", t = Ut(this._value), n = this.getAttribute("format") || "24", r = this.getAttribute("size"), i = r === "sm" ? " input-sm" : r === "lg" ? " input-lg" : "", a = this.getAttribute("aria-label"), o = this.getAttribute("aria-describedby");
4642
4665
  this.innerHTML = `
4643
4666
  <div class="timepicker">
4644
4667
  <button type="button" class="input timepicker-trigger${i}${t ? " has-value" : ""}" aria-haspopup="listbox" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}${a ? ` aria-label="${J(a)}"` : ""}${o ? ` aria-describedby="${J(o)}"` : ""}>
4645
- <span data-trigger-label class="${t ? "" : "timepicker-placeholder"}">${t ? Ut(t, n) : J(e)}</span>
4668
+ <span data-trigger-label class="${t ? "" : "timepicker-placeholder"}">${t ? Wt(t, n) : J(e)}</span>
4646
4669
  ${q("clock")}
4647
4670
  </button>
4648
4671
  <div class="timepicker-pop" role="listbox" tabindex="-1" hidden></div>
@@ -4654,14 +4677,14 @@ var At = class extends HTMLElement {
4654
4677
  _syncTrigger() {
4655
4678
  let e = this.querySelector(".timepicker-trigger"), t = this.querySelector("[data-trigger-label]");
4656
4679
  if (!t) return;
4657
- let n = Ht(this._value), r = this.getAttribute("format") || "24";
4658
- t.textContent = n ? Ut(n, r) : this.getAttribute("placeholder") || "Select time", t.classList.toggle("timepicker-placeholder", !n), e?.classList.toggle("has-value", !!n);
4680
+ let n = Ut(this._value), r = this.getAttribute("format") || "24";
4681
+ t.textContent = n ? Wt(n, r) : this.getAttribute("placeholder") || "Select time", t.classList.toggle("timepicker-placeholder", !n), e?.classList.toggle("has-value", !!n);
4659
4682
  }
4660
4683
  _buildTimes() {
4661
- let e = Math.max(1, parseInt(this.getAttribute("step") || "30", 10)), t = this.getAttribute("min") || "00:00", n = this.getAttribute("max") || "23:59", r = Ht(t) || {
4684
+ let e = Math.max(1, parseInt(this.getAttribute("step") || "30", 10)), t = this.getAttribute("min") || "00:00", n = this.getAttribute("max") || "23:59", r = Ut(t) || {
4662
4685
  h: 0,
4663
4686
  m: 0
4664
- }, i = Ht(n) || {
4687
+ }, i = Ut(n) || {
4665
4688
  h: 23,
4666
4689
  m: 59
4667
4690
  }, a = [], o = r.h, s = r.m;
@@ -4674,10 +4697,10 @@ var At = class extends HTMLElement {
4674
4697
  _renderOptions() {
4675
4698
  let e = this.querySelector(".timepicker-pop");
4676
4699
  if (!e) return;
4677
- let t = this.getAttribute("format") || "24", n = this._buildTimes(), r = Ht(this._value), i = this._focus, a = "";
4700
+ let t = this.getAttribute("format") || "24", n = this._buildTimes(), r = Ut(this._value), i = this._focus, a = "";
4678
4701
  for (let e = 0; e < n.length; e++) {
4679
- let o = n[e], s = Vt(o.h, o.m), c = r && r.h === o.h && r.m === o.m;
4680
- a += `<button type="button" class="timepicker-option${c ? " is-selected" : ""}" data-hm="${s}" role="option" tabindex="${i === e ? "0" : "-1"}"${c ? " aria-selected=\"true\"" : ""}>${Ut(o, t)}</button>`;
4702
+ let o = n[e], s = Ht(o.h, o.m), c = r && r.h === o.h && r.m === o.m;
4703
+ a += `<button type="button" class="timepicker-option${c ? " is-selected" : ""}" data-hm="${s}" role="option" tabindex="${i === e ? "0" : "-1"}"${c ? " aria-selected=\"true\"" : ""}>${Wt(o, t)}</button>`;
4681
4704
  }
4682
4705
  e.innerHTML = a, this._focusActive();
4683
4706
  }
@@ -4775,7 +4798,7 @@ var At = class extends HTMLElement {
4775
4798
  disconnectedCallback() {
4776
4799
  this._teardown();
4777
4800
  }
4778
- }, Gt = "wui-wizard-step", Kt = class extends HTMLElement {
4801
+ }, Kt = "wui-wizard-step", qt = class extends HTMLElement {
4779
4802
  static get observedAttributes() {
4780
4803
  return [
4781
4804
  "active",
@@ -4809,7 +4832,7 @@ var At = class extends HTMLElement {
4809
4832
  this._beforeNext = typeof e == "function" ? e : null;
4810
4833
  }
4811
4834
  get _steps() {
4812
- return [...this.querySelectorAll(`:scope > ${Gt}`)];
4835
+ return [...this.querySelectorAll(`:scope > ${Kt}`)];
4813
4836
  }
4814
4837
  refresh() {
4815
4838
  this._rendered && this._renderChrome();
@@ -4868,13 +4891,13 @@ var At = class extends HTMLElement {
4868
4891
  return e.map((e, r) => {
4869
4892
  let a = this._stepStatus(e, r), o = e.getAttribute("label") || "", s = e.getAttribute("description") || "", c = e.getAttribute("icon") || "", l = r + 1, u;
4870
4893
  u = a === "done" ? q("check") : a === "error" ? q("alert-triangle") : a === "skipped" ? q("minus") : c ? q(c) : String(l);
4871
- let d = a === "pending" ? "step" : `step ${a}`, f = a === "active" ? " aria-current=\"step\"" : "", p = i || r < this._active, m = s ? `<span class="step-desc">${qt(s)}</span>` : "", h;
4872
- return h = t ? `<span class="step-circle">${u}</span><span class="step-text"><span class="step-index">Step ${l}</span><span class="step-label">${qt(o)}</span>${m}</span>` : n ? `<span class="step-circle">${u}</span><span class="step-index">Step ${l}</span><span class="step-label">${qt(o)}</span>${m}` : `<span class="step-circle">${u}</span><span class="step-label">${qt(o)}</span>${m}`, p ? `<button type="button" class="${d}" data-step="${r}"${f}>${h}</button>` : `<div class="${d}"${f}>${h}</div>`;
4894
+ let d = a === "pending" ? "step" : `step ${a}`, f = a === "active" ? " aria-current=\"step\"" : "", p = i || r < this._active, m = s ? `<span class="step-desc">${Jt(s)}</span>` : "", h;
4895
+ return h = t ? `<span class="step-circle">${u}</span><span class="step-text"><span class="step-index">Step ${l}</span><span class="step-label">${Jt(o)}</span>${m}</span>` : n ? `<span class="step-circle">${u}</span><span class="step-index">Step ${l}</span><span class="step-label">${Jt(o)}</span>${m}` : `<span class="step-circle">${u}</span><span class="step-label">${Jt(o)}</span>${m}`, p ? `<button type="button" class="${d}" data-step="${r}"${f}>${h}</button>` : `<div class="${d}"${f}>${h}</div>`;
4873
4896
  }).join("");
4874
4897
  }
4875
4898
  _footerHtml(e) {
4876
4899
  let t = this._active, n = e.length - 1, r = this.hasAttribute("disabled") ? " disabled" : "", i = e[t]?.hasAttribute("optional") || this.hasAttribute("skippable"), a = this.getAttribute("back-label") || "Back", o = this.getAttribute("next-label") || "Next", s = this.getAttribute("skip-label") || "Skip", c = this.getAttribute("finish-label") || "Finish";
4877
- return `${t > 0 ? `<button type="button" class="btn btn-secondary" data-nav="back"${r}>${q("arrow-left", { className: "me-2" })}${qt(a)}</button>` : "<span></span>"}<span class="wizard-footer-actions">${i && t < n ? `<button type="button" class="btn btn-subtle" data-nav="skip"${r}>${qt(s)}</button>` : ""}${t < n ? `<button type="button" class="btn btn-primary" data-nav="next"${r}>${qt(o)}${q("arrow-right", { className: "ms-2" })}</button>` : `<button type="button" class="btn btn-primary" data-nav="finish"${r}>${qt(c)}</button>`}</span>`;
4900
+ return `${t > 0 ? `<button type="button" class="btn btn-secondary" data-nav="back"${r}>${q("arrow-left", { className: "me-2" })}${Jt(a)}</button>` : "<span></span>"}<span class="wizard-footer-actions">${i && t < n ? `<button type="button" class="btn btn-subtle" data-nav="skip"${r}>${Jt(s)}</button>` : ""}${t < n ? `<button type="button" class="btn btn-primary" data-nav="next"${r}>${Jt(o)}${q("arrow-right", { className: "ms-2" })}</button>` : `<button type="button" class="btn btn-primary" data-nav="finish"${r}>${Jt(c)}</button>`}</span>`;
4878
4901
  }
4879
4902
  _wire() {
4880
4903
  this._teardown(), this._onHeaderClick = (e) => {
@@ -4942,7 +4965,7 @@ var At = class extends HTMLElement {
4942
4965
  _reflectActive(e) {
4943
4966
  this._reflecting = !0, this.setAttribute("active", String(e)), this._reflecting = !1;
4944
4967
  }
4945
- }, qt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Jt = class extends HTMLElement {
4968
+ }, Jt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Yt = class extends HTMLElement {
4946
4969
  static get observedAttributes() {
4947
4970
  return [
4948
4971
  "label",
@@ -4956,8 +4979,8 @@ var At = class extends HTMLElement {
4956
4979
  let e = this.closest("wui-wizard");
4957
4980
  e && typeof e.refresh == "function" && e.refresh();
4958
4981
  }
4959
- }, Yt = 2e3;
4960
- async function Xt(e) {
4982
+ }, Xt = 2e3;
4983
+ async function Zt(e) {
4961
4984
  try {
4962
4985
  if (navigator.clipboard?.writeText) return await navigator.clipboard.writeText(e), !0;
4963
4986
  } catch {}
@@ -4970,14 +4993,14 @@ async function Xt(e) {
4970
4993
  return !1;
4971
4994
  }
4972
4995
  }
4973
- var Zt = "image/png,image/jpeg,image/webp", Qt = {
4996
+ var Qt = "image/png,image/jpeg,image/webp", $t = {
4974
4997
  "image/png": [".png"],
4975
4998
  "image/jpeg": [".jpg", ".jpeg"],
4976
4999
  "image/webp": [".webp"],
4977
5000
  "image/gif": [".gif"],
4978
5001
  "image/svg+xml": [".svg"],
4979
5002
  "application/pdf": [".pdf"]
4980
- }, $t = {
5003
+ }, en = {
4981
5004
  "image/png": "PNG",
4982
5005
  "image/jpeg": "JPG",
4983
5006
  "image/webp": "WEBP",
@@ -4991,7 +5014,7 @@ var Zt = "image/png,image/jpeg,image/webp", Qt = {
4991
5014
  ".gif": "GIF",
4992
5015
  ".svg": "SVG",
4993
5016
  ".pdf": "PDF"
4994
- }, en = (e) => String(e || "").split(",").map((e) => e.trim().toLowerCase()).filter(Boolean), tn = [
5017
+ }, tn = (e) => String(e || "").split(",").map((e) => e.trim().toLowerCase()).filter(Boolean), nn = [
4995
5018
  ".png",
4996
5019
  ".jpg",
4997
5020
  ".jpeg",
@@ -5002,37 +5025,37 @@ var Zt = "image/png,image/jpeg,image/webp", Qt = {
5002
5025
  ".avif",
5003
5026
  ".heic"
5004
5027
  ];
5005
- function nn(e) {
5028
+ function rn(e) {
5006
5029
  if (!e) return !1;
5007
5030
  let t = typeof e == "object" && e.type ? String(e.type).toLowerCase() : "";
5008
5031
  if (t) return t.startsWith("image/");
5009
5032
  let n = typeof e == "string" ? e : e.name || e.url || "", r = String(n).toLowerCase();
5010
- return tn.some((e) => r.endsWith(e));
5011
- }
5012
- function rn(e) {
5013
- let t = en(e);
5014
- return t.length ? t.every((e) => e.startsWith(".") ? tn.includes(e) : e === "image/*" || e.startsWith("image/")) : !1;
5033
+ return nn.some((e) => r.endsWith(e));
5015
5034
  }
5016
5035
  function an(e) {
5036
+ let t = tn(e);
5037
+ return t.length ? t.every((e) => e.startsWith(".") ? nn.includes(e) : e === "image/*" || e.startsWith("image/")) : !1;
5038
+ }
5039
+ function on(e) {
5017
5040
  let t = [];
5018
- for (let n of en(e)) {
5019
- let e = $t[n] || (n.startsWith(".") ? n.slice(1).toUpperCase() : n.toUpperCase());
5041
+ for (let n of tn(e)) {
5042
+ let e = en[n] || (n.startsWith(".") ? n.slice(1).toUpperCase() : n.toUpperCase());
5020
5043
  t.includes(e) || t.push(e);
5021
5044
  }
5022
5045
  return t.length <= 1 ? t[0] || "supported" : `${t.slice(0, -1).join(", ")} or ${t[t.length - 1]}`;
5023
5046
  }
5024
- function on(e, t) {
5025
- let n = en(t);
5047
+ function sn(e, t) {
5048
+ let n = tn(t);
5026
5049
  if (!n.length) return !0;
5027
5050
  let r = (e.type || "").toLowerCase(), i = (e.name || "").toLowerCase();
5028
- return n.some((e) => e.startsWith(".") ? i.endsWith(e) : e.endsWith("/*") ? r.startsWith(e.slice(0, -1)) : r && r === e ? !0 : !r && (Qt[e] || []).some((e) => i.endsWith(e)));
5051
+ return n.some((e) => e.startsWith(".") ? i.endsWith(e) : e.endsWith("/*") ? r.startsWith(e.slice(0, -1)) : r && r === e ? !0 : !r && ($t[e] || []).some((e) => i.endsWith(e)));
5029
5052
  }
5030
- function sn(e, t = {}) {
5053
+ function cn(e, t = {}) {
5031
5054
  if (!e) return null;
5032
- let n = t.accept === void 0 ? Zt : t.accept, r = t.maxSizeMb || 5;
5033
- return on(e, n) ? e.size > r * 1024 * 1024 ? `Keep the file under ${r} MB.` : null : `Choose a ${an(n)} file.`;
5055
+ let n = t.accept === void 0 ? Qt : t.accept, r = t.maxSizeMb || 5;
5056
+ return sn(e, n) ? e.size > r * 1024 * 1024 ? `Keep the file under ${r} MB.` : null : `Choose a ${on(n)} file.`;
5034
5057
  }
5035
- var cn = {
5058
+ var ln = {
5036
5059
  minLength: 8,
5037
5060
  uppercase: !0,
5038
5061
  lowercase: !0,
@@ -5040,14 +5063,14 @@ var cn = {
5040
5063
  special: !0,
5041
5064
  uniqueChars: 0
5042
5065
  };
5043
- function ln(e) {
5044
- return e === !0 || e == null ? { ...cn } : {
5045
- ...cn,
5066
+ function un(e) {
5067
+ return e === !0 || e == null ? { ...ln } : {
5068
+ ...ln,
5046
5069
  ...e
5047
5070
  };
5048
5071
  }
5049
- function un(e) {
5050
- let t = ln(e), n = [];
5072
+ function dn(e) {
5073
+ let t = un(e), n = [];
5051
5074
  if (t.minLength > 0 && n.push({
5052
5075
  key: "length",
5053
5076
  label: `At least ${t.minLength} characters long`,
@@ -5078,9 +5101,9 @@ function un(e) {
5078
5101
  }
5079
5102
  return n;
5080
5103
  }
5081
- function dn(e, t) {
5104
+ function fn(e, t) {
5082
5105
  let n = e == null ? "" : String(e);
5083
- return un(t).map((e) => ({
5106
+ return dn(t).map((e) => ({
5084
5107
  key: e.key,
5085
5108
  label: e.label,
5086
5109
  met: e.test(n)
@@ -5089,20 +5112,20 @@ function dn(e, t) {
5089
5112
  var Z = (e, t) => {
5090
5113
  typeof customElements < "u" && !customElements.get(e) && customElements.define(e, t);
5091
5114
  };
5092
- function fn() {
5093
- Z("wui-select", Mt), Z("wui-phone", At), Z("wui-datepicker", rt), Z("wui-date-range", it), Z("wui-dock", at), Z("wui-feedback", dt), Z("wui-slider", Pt), Z("wui-timepicker", Wt), Z("wui-autocomplete", qe), Z("wui-multiselect", mt), Z("wui-taginput", Lt), Z("wui-otp", yt), Z("wui-status-icon", Pe), Z("wui-wizard-step", Jt), Z("wui-wizard", Kt);
5115
+ function pn() {
5116
+ Z("wui-select", Nt), Z("wui-phone", jt), Z("wui-datepicker", rt), Z("wui-date-range", it), Z("wui-dock", at), Z("wui-feedback", dt), Z("wui-slider", Ft), Z("wui-timepicker", Gt), Z("wui-autocomplete", qe), Z("wui-multiselect", mt), Z("wui-taginput", Rt), Z("wui-otp", yt), Z("wui-status-icon", Pe), Z("wui-wizard-step", Yt), Z("wui-wizard", qt);
5094
5117
  }
5095
- fn();
5118
+ pn();
5096
5119
  //#endregion
5097
5120
  //#region src/components/AppPopover.jsx
5098
- var pn = {
5121
+ var mn = {
5099
5122
  start: "left",
5100
5123
  end: "right",
5101
5124
  top: "top",
5102
5125
  bottom: "bottom",
5103
5126
  auto: "auto"
5104
5127
  };
5105
- function mn({ trigger: e, children: t, title: r, placement: i = "bottom", triggerType: a = "click", onToggle: o, className: c = "", ...l }) {
5128
+ function hn({ trigger: e, children: t, title: r, placement: i = "bottom", triggerType: a = "click", onToggle: o, className: c = "", ...l }) {
5106
5129
  I("AppPopover", l);
5107
5130
  let u = s(), [f, p] = d(!1), m = (e) => {
5108
5131
  p(e), o?.(e);
@@ -5124,7 +5147,7 @@ function mn({ trigger: e, children: t, title: r, placement: i = "bottom", trigge
5124
5147
  }), D = a === "click", O = a === "hover" || Array.isArray(a) && a.includes("hover");
5125
5148
  return /* @__PURE__ */ T(x, {
5126
5149
  trigger: a,
5127
- placement: pn[i] || i,
5150
+ placement: mn[i] || i,
5128
5151
  overlay: h,
5129
5152
  rootClose: D,
5130
5153
  delay: O ? {
@@ -5137,13 +5160,13 @@ function mn({ trigger: e, children: t, title: r, placement: i = "bottom", trigge
5137
5160
  }
5138
5161
  //#endregion
5139
5162
  //#region src/components/AppInfoTip.jsx
5140
- function hn({ label: e, children: t, placement: n = "auto", className: r = "", ...i }) {
5163
+ function gn({ label: e, children: t, placement: n = "auto", className: r = "", ...i }) {
5141
5164
  I("AppInfoTip", i);
5142
5165
  let [a, o] = d(!1), s = !!e;
5143
5166
  return !s && !t ? null : /* @__PURE__ */ T("span", {
5144
5167
  className: `infotip${r ? ` ${r}` : ""}`,
5145
5168
  ...i,
5146
- children: /* @__PURE__ */ T(mn, {
5169
+ children: /* @__PURE__ */ T(hn, {
5147
5170
  trigger: /* @__PURE__ */ T("button", {
5148
5171
  type: "button",
5149
5172
  className: "infotip-btn",
@@ -5173,8 +5196,8 @@ function Q() {
5173
5196
  }
5174
5197
  //#endregion
5175
5198
  //#region src/components/useWuiControl.js
5176
- function gn({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events: s = _n, on: c, syncDeps: l = [] } = {}) {
5177
- let d = u(null), f = r ?? vn, p = i ?? yn, m = (s || _n).join("\0"), h = Object.keys(c ?? {}).join("\0"), g = u({});
5199
+ function _n({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events: s = vn, on: c, syncDeps: l = [] } = {}) {
5200
+ let d = u(null), f = r ?? yn, p = i ?? bn, m = (s || vn).join("\0"), h = Object.keys(c ?? {}).join("\0"), g = u({});
5178
5201
  g.current = {
5179
5202
  ref: e,
5180
5203
  value: t,
@@ -5192,7 +5215,7 @@ function gn({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events
5192
5215
  _.current = null;
5193
5216
  }
5194
5217
  }, []), y = a((e) => {
5195
- let t = g.current.eventKey ? g.current.eventKey.split("\0") : _n, n = Object.keys(g.current.on ?? {}), r = {
5218
+ let t = g.current.eventKey ? g.current.eventKey.split("\0") : vn, n = Object.keys(g.current.on ?? {}), r = {
5196
5219
  el: e,
5197
5220
  names: t,
5198
5221
  extraNames: n,
@@ -5222,7 +5245,7 @@ function gn({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events
5222
5245
  ...l
5223
5246
  ]), o(() => {
5224
5247
  let e = d.current, t = _.current;
5225
- !e || !t || (t.names.join("\0") !== (m || _n.join("\0")) || t.extraNames.join("\0") !== h) && (v(), y(e));
5248
+ !e || !t || (t.names.join("\0") !== (m || vn.join("\0")) || t.extraNames.join("\0") !== h) && (v(), y(e));
5226
5249
  }, [
5227
5250
  m,
5228
5251
  h,
@@ -5233,15 +5256,15 @@ function gn({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events
5233
5256
  innerRef: d
5234
5257
  };
5235
5258
  }
5236
- var _n = ["change"];
5237
- function vn(e) {
5259
+ var vn = ["change"];
5260
+ function yn(e) {
5238
5261
  return e.value;
5239
5262
  }
5240
- function yn(e, t) {
5263
+ function bn(e, t) {
5241
5264
  let n = t ?? "";
5242
5265
  String(e.value ?? "") !== String(n) && (e.value = n);
5243
5266
  }
5244
- function bn(e, t) {
5267
+ function xn(e, t) {
5245
5268
  let n = e || [], r = t || [];
5246
5269
  return n.length === r.length && n.every((e, t) => {
5247
5270
  let n = r[t];
@@ -5251,29 +5274,29 @@ function bn(e, t) {
5251
5274
  return i.length === Object.keys(n).length && i.every((t) => Object.is(e[t], n[t]));
5252
5275
  });
5253
5276
  }
5254
- function xn(e) {
5277
+ function Sn(e) {
5255
5278
  return e.values;
5256
5279
  }
5257
- function Sn(e, t) {
5280
+ function Cn(e, t) {
5258
5281
  let n = t || [], r = e.values || [];
5259
5282
  (n.length !== r.length || !n.every((e, t) => e === r[t])) && (e.values = n);
5260
5283
  }
5261
- function Cn(e) {
5284
+ function wn(e) {
5262
5285
  return {
5263
5286
  start: e.start,
5264
5287
  end: e.end
5265
5288
  };
5266
5289
  }
5267
- function wn(e, t) {
5290
+ function Tn(e, t) {
5268
5291
  if (t === void 0) return;
5269
5292
  let n = Number.parseFloat(t);
5270
5293
  Number.isFinite(n) && e.value !== n && (e.value = n);
5271
5294
  }
5272
5295
  //#endregion
5273
5296
  //#region src/components/AppAutocomplete.jsx
5274
- var Tn = 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) {
5297
+ var En = 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) {
5275
5298
  I("AppAutocomplete", x);
5276
- let C = typeof r == "function", w = s(), D = p || w, { setRef: O, innerRef: k } = gn({
5299
+ let C = typeof r == "function", w = s(), D = p || w, { setRef: O, innerRef: k } = _n({
5277
5300
  ref: S,
5278
5301
  value: e ?? "",
5279
5302
  on: { change: (e) => t?.(e.currentTarget.value, { isCustom: !!e.detail?.isCustom }) }
@@ -5282,7 +5305,7 @@ var Tn = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
5282
5305
  let e = k.current;
5283
5306
  if (!e || C) return;
5284
5307
  let t = n || [];
5285
- bn(t, e.options) || (e.options = t);
5308
+ xn(t, e.options) || (e.options = t);
5286
5309
  }, [
5287
5310
  n,
5288
5311
  C,
@@ -5318,7 +5341,7 @@ var Tn = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
5318
5341
  children: [
5319
5342
  m,
5320
5343
  _ && /* @__PURE__ */ T(Q, {}),
5321
- v && /* @__PURE__ */ T(hn, {
5344
+ v && /* @__PURE__ */ T(gn, {
5322
5345
  label: y,
5323
5346
  children: v
5324
5347
  })
@@ -5352,14 +5375,14 @@ var Tn = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
5352
5375
  }) : null
5353
5376
  ]
5354
5377
  });
5355
- }), En = /* @__PURE__ */ new Set([
5378
+ }), Dn = /* @__PURE__ */ new Set([
5356
5379
  "xs",
5357
5380
  "sm",
5358
5381
  "md",
5359
5382
  "lg",
5360
5383
  "xl",
5361
5384
  "2xl"
5362
- ]), Dn = {
5385
+ ]), On = {
5363
5386
  xs: 20,
5364
5387
  sm: 24,
5365
5388
  md: 32,
@@ -5367,30 +5390,30 @@ var Tn = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
5367
5390
  xl: 64,
5368
5391
  "2xl": 96
5369
5392
  };
5370
- function On(e) {
5393
+ function kn(e) {
5371
5394
  let t = (e || "").trim();
5372
5395
  if (!t) return "?";
5373
5396
  let n = t.split(/\s+/).filter(Boolean);
5374
5397
  return n.length === 1 ? n[0].slice(0, 2).toUpperCase() : (n[0][0] + n[n.length - 1][0]).toUpperCase();
5375
5398
  }
5376
- function kn(e) {
5399
+ function An(e) {
5377
5400
  let t = e || "", n = 0;
5378
5401
  for (let e = 0; e < t.length; e += 1) n = Math.imul(n, 31) + t.charCodeAt(e) >>> 0;
5379
5402
  return n % 360;
5380
5403
  }
5381
- function An(e) {
5404
+ function jn(e) {
5382
5405
  if (typeof e == "number") return e;
5383
- if (Dn[e] != null) return Dn[e];
5406
+ if (On[e] != null) return On[e];
5384
5407
  let t = Number.parseInt(e, 10);
5385
5408
  return Number.isNaN(t) ? 32 : t;
5386
5409
  }
5387
- function jn({ 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: f, onClick: p, linkComponent: m, tooltip: h, tooltipPlacement: g, className: _ = "", ...v }) {
5410
+ function Mn({ 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: f, onClick: p, linkComponent: m, tooltip: h, tooltipPlacement: g, className: _ = "", ...v }) {
5388
5411
  I("AppAvatar", v);
5389
5412
  let { style: y, ...b } = v, [x, S] = d(!1);
5390
5413
  o(() => {
5391
5414
  S(!1);
5392
5415
  }, [t]);
5393
- let C = typeof n == "string" && En.has(n), D = C ? null : typeof n == "number" || /^\d+$/.test(n) ? `${n}px` : n, O = f != null || p != null, k = t != null && t !== "" && !x, A = [
5416
+ let C = typeof n == "string" && Dn.has(n), D = C ? null : typeof n == "number" || /^\d+$/.test(n) ? `${n}px` : n, O = f != null || p != null, k = t != null && t !== "" && !x, A = [
5394
5417
  "avatar",
5395
5418
  C && n !== "md" ? `avatar-${n}` : "",
5396
5419
  r === "circle" ? "" : `avatar-${r}`,
@@ -5399,16 +5422,16 @@ function jn({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "p
5399
5422
  O ? "avatar-clickable" : "",
5400
5423
  _
5401
5424
  ].filter(Boolean).join(" "), j = {};
5402
- D && (j["--avatar-size"] = D), i === "auto" && (j["--avatar-hue"] = kn(e));
5425
+ D && (j["--avatar-size"] = D), i === "auto" && (j["--avatar-hue"] = An(e));
5403
5426
  let M = Object.keys(j).length || y ? {
5404
5427
  ...j,
5405
5428
  ...y
5406
5429
  } : void 0, N = /* @__PURE__ */ T("span", {
5407
5430
  className: "avatar-face",
5408
5431
  "aria-hidden": "true",
5409
- children: l == null ? On(e) : /* @__PURE__ */ T(W, {
5432
+ children: l == null ? kn(e) : /* @__PURE__ */ T(W, {
5410
5433
  name: l,
5411
- size: Math.round(An(n) * .55)
5434
+ size: Math.round(jn(n) * .55)
5412
5435
  })
5413
5436
  }), P = /* @__PURE__ */ E(w, { children: [
5414
5437
  a !== "none" && /* @__PURE__ */ T("span", {
@@ -5470,7 +5493,7 @@ function jn({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "p
5470
5493
  }
5471
5494
  //#endregion
5472
5495
  //#region src/components/AppAvatarGroup.jsx
5473
- var Mn = {
5496
+ var Nn = {
5474
5497
  xs: 20,
5475
5498
  sm: 24,
5476
5499
  md: 32,
@@ -5478,16 +5501,16 @@ var Mn = {
5478
5501
  xl: 64,
5479
5502
  "2xl": 96
5480
5503
  };
5481
- function Nn(e) {
5482
- return e == null ? null : typeof e == "number" ? `${e}px` : Mn[e] == null ? /^\d+$/.test(e) ? `${e}px` : e : `${Mn[e]}px`;
5504
+ function Pn(e) {
5505
+ return e == null ? null : typeof e == "number" ? `${e}px` : Nn[e] == null ? /^\d+$/.test(e) ? `${e}px` : e : `${Nn[e]}px`;
5483
5506
  }
5484
- function Pn({ children: e, size: t, spacing: n = "normal", overflow: r, className: i = "", ...a }) {
5507
+ function Fn({ children: e, size: t, spacing: n = "normal", overflow: r, className: i = "", ...a }) {
5485
5508
  I("AppAvatarGroup", a);
5486
5509
  let { style: o, ...s } = a, c = [
5487
5510
  "avatar-group",
5488
5511
  n === "normal" ? "" : `avatar-group-${n}`,
5489
5512
  i
5490
- ].filter(Boolean).join(" "), l = Nn(t), u = l ? {
5513
+ ].filter(Boolean).join(" "), l = Pn(t), u = l ? {
5491
5514
  "--avatar-size": l,
5492
5515
  ...o
5493
5516
  } : o, d = typeof r == "string" ? Number.parseInt(r, 10) : r;
@@ -5505,7 +5528,7 @@ function Pn({ children: e, size: t, spacing: n = "normal", overflow: r, classNam
5505
5528
  }
5506
5529
  //#endregion
5507
5530
  //#region src/components/AppBadge.jsx
5508
- function Fn({ children: e, tone: t, dot: n = !1, tooltip: r, tooltipPlacement: i, className: a = "", ...o }) {
5531
+ function In({ children: e, tone: t, dot: n = !1, tooltip: r, tooltipPlacement: i, className: a = "", ...o }) {
5509
5532
  return I("AppBadge", o), H(/* @__PURE__ */ T(p, {
5510
5533
  bg: !1,
5511
5534
  className: [
@@ -5519,18 +5542,18 @@ function Fn({ children: e, tone: t, dot: n = !1, tooltip: r, tooltipPlacement: i
5519
5542
  }
5520
5543
  //#endregion
5521
5544
  //#region src/components/AppBanner.jsx
5522
- var In = [
5545
+ var Ln = [
5523
5546
  "info",
5524
5547
  "success",
5525
5548
  "warning",
5526
5549
  "danger",
5527
5550
  "neutral"
5528
5551
  ];
5529
- function Ln({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDismiss: i, className: a = "", ...o }) {
5552
+ function Rn({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDismiss: i, className: a = "", ...o }) {
5530
5553
  I("AppBanner", o);
5531
5554
  let [s, c] = d(!0);
5532
5555
  if (!s) return null;
5533
- let l = In.includes(e) ? e : "info", u = () => {
5556
+ let l = Ln.includes(e) ? e : "info", u = () => {
5534
5557
  c(!1), i?.();
5535
5558
  };
5536
5559
  return /* @__PURE__ */ E("div", {
@@ -5561,7 +5584,7 @@ function Ln({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDis
5561
5584
  }
5562
5585
  //#endregion
5563
5586
  //#region src/components/AppBreadcrumbs.jsx
5564
- function Rn({ items: e = [], linkComponent: t, className: n = "", ...r }) {
5587
+ function zn({ items: e = [], linkComponent: t, className: n = "", ...r }) {
5565
5588
  return I("AppBreadcrumbs", r), /* @__PURE__ */ T(m, {
5566
5589
  className: n || void 0,
5567
5590
  ...r,
@@ -5580,17 +5603,17 @@ function Rn({ items: e = [], linkComponent: t, className: n = "", ...r }) {
5580
5603
  }
5581
5604
  //#endregion
5582
5605
  //#region src/components/AppCallout.jsx
5583
- var zn = {
5606
+ var Bn = {
5584
5607
  info: "info",
5585
5608
  success: "check",
5586
5609
  warning: "alert-triangle",
5587
5610
  danger: "x"
5588
5611
  };
5589
- function Bn({ children: e, tone: t = "info", title: n, icon: r, image: i, imageAlt: a = "", size: o = "md", bordered: s = !0, action: c, dismissible: l = !1, onDismiss: u, className: f = "", ...p }) {
5612
+ function Vn({ children: e, tone: t = "info", title: n, icon: r, image: i, imageAlt: a = "", size: o = "md", bordered: s = !0, action: c, dismissible: l = !1, onDismiss: u, className: f = "", ...p }) {
5590
5613
  I("AppCallout", p);
5591
5614
  let [m, h] = d(!0);
5592
5615
  if (!m) return null;
5593
- let g = r === void 0 ? zn[t] : r === "none" ? null : r, _ = !!i, v = _ || !!g, y = v && !!n && e != null && e !== !1 && e !== "", b = y ? 13 : 11;
5616
+ let g = r === void 0 ? Bn[t] : r === "none" ? null : r, _ = !!i, v = _ || !!g, y = v && !!n && e != null && e !== !1 && e !== "", b = y ? 13 : 11;
5594
5617
  return /* @__PURE__ */ E("div", {
5595
5618
  className: [
5596
5619
  "info-callout",
@@ -5640,13 +5663,13 @@ function Bn({ children: e, tone: t = "info", title: n, icon: r, image: i, imageA
5640
5663
  }
5641
5664
  //#endregion
5642
5665
  //#region src/components/AppCard.jsx
5643
- var Vn = {
5666
+ var Hn = {
5644
5667
  xs: 320,
5645
5668
  sm: 420,
5646
5669
  md: 560,
5647
5670
  lg: 720
5648
5671
  };
5649
- function Hn({ 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: _ = "", body: v = !0, lifted: y = !1, href: b, onClick: x, linkComponent: S, ...C }) {
5672
+ function Un({ 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: _ = "", body: v = !0, lifted: y = !1, href: b, onClick: x, linkComponent: S, ...C }) {
5650
5673
  I("AppCard", C);
5651
5674
  let { style: D, ...O } = C, k = b != null || x != null, A = [
5652
5675
  u && u !== "default" ? `card-${u}` : "",
@@ -5656,7 +5679,7 @@ function Hn({ title: e, subtitle: t, headerIcon: n, titleClassName: r = "", head
5656
5679
  p == null ? "" : "card-constrained",
5657
5680
  k ? "card-clickable" : "",
5658
5681
  m
5659
- ].filter(Boolean).join(" ") || void 0, j = p == null ? void 0 : Vn[p] == null ? typeof p == "number" ? `${p}px` : p : `${Vn[p]}px`, M = j ? {
5682
+ ].filter(Boolean).join(" ") || void 0, j = p == null ? void 0 : Hn[p] == null ? typeof p == "number" ? `${p}px` : p : `${Hn[p]}px`, M = j ? {
5660
5683
  "--card-max-width": j,
5661
5684
  ...D
5662
5685
  } : D, N = {};
@@ -5727,7 +5750,7 @@ function Hn({ title: e, subtitle: t, headerIcon: n, titleClassName: r = "", head
5727
5750
  }
5728
5751
  //#endregion
5729
5752
  //#region src/lib/CheckField.jsx
5730
- var Un = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", rest: o = {}, inputType: c, wrapperClass: l }, u) {
5753
+ var Wn = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", rest: o = {}, inputType: c, wrapperClass: l }, u) {
5731
5754
  let d = s(), f = t || d, p = r ? `${f}-error` : void 0, m = i ? `${f}-hint` : void 0;
5732
5755
  return /* @__PURE__ */ E("div", {
5733
5756
  className: `${l}${a ? ` ${a}` : ""}`,
@@ -5758,8 +5781,8 @@ var Un = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
5758
5781
  }) : null
5759
5782
  ]
5760
5783
  });
5761
- }), Wn = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
5762
- return I("AppCheckbox", o), /* @__PURE__ */ T(Un, {
5784
+ }), Gn = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
5785
+ return I("AppCheckbox", o), /* @__PURE__ */ T(Wn, {
5763
5786
  ref: s,
5764
5787
  label: e,
5765
5788
  id: t,
@@ -5774,7 +5797,7 @@ var Un = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
5774
5797
  });
5775
5798
  //#endregion
5776
5799
  //#region src/components/AppChip.jsx
5777
- function Gn({ 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 }) {
5800
+ function Kn({ 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 }) {
5778
5801
  I("AppChip", f);
5779
5802
  let p = e ?? t, m = [
5780
5803
  "chip",
@@ -5828,7 +5851,7 @@ function Gn({ label: e, children: t, tone: n = "neutral", variant: r = "soft", s
5828
5851
  }
5829
5852
  //#endregion
5830
5853
  //#region src/components/AppChoiceCard.jsx
5831
- function Kn({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon: a, iconNode: o, iconSize: s = 18, image: c, imageAlt: l = "", children: u, title: d, description: f, checkIcon: p = "check", checkSize: m = 18, className: h = "", ...g }) {
5854
+ function qn({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon: a, iconNode: o, iconSize: s = 18, image: c, imageAlt: l = "", children: u, title: d, description: f, checkIcon: p = "check", checkSize: m = 18, className: h = "", ...g }) {
5832
5855
  return I("AppChoiceCard", g), /* @__PURE__ */ E("label", {
5833
5856
  className: `struct-card${c ? " struct-card-img-card" : ""}${r ? " checked" : ""}${h ? ` ${h}` : ""}`,
5834
5857
  ...g,
@@ -5877,7 +5900,7 @@ function Kn({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon
5877
5900
  }
5878
5901
  //#endregion
5879
5902
  //#region src/components/AppChoiceChip.jsx
5880
- function qn({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChange: a, children: o, count: s, size: c = "md", className: l = "", ...u }) {
5903
+ function Jn({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChange: a, children: o, count: s, size: c = "md", className: l = "", ...u }) {
5881
5904
  return I("AppChoiceChip", u), /* @__PURE__ */ E("label", {
5882
5905
  className: `choice-chip${i ? " checked" : ""}${c === "sm" ? " choice-chip-sm" : c === "lg" ? " choice-chip-lg" : ""}${l ? ` ${l}` : ""}`,
5883
5906
  ...u,
@@ -5899,7 +5922,7 @@ function qn({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChang
5899
5922
  }
5900
5923
  //#endregion
5901
5924
  //#region src/components/AppColorField.jsx
5902
- function Jn({ 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 }) {
5925
+ function Yn({ 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 }) {
5903
5926
  I("AppColorField", p);
5904
5927
  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" : "";
5905
5928
  return /* @__PURE__ */ E("div", {
@@ -5951,7 +5974,7 @@ function Jn({ value: e = "#000000", onChange: t, label: n, required: r = !1, err
5951
5974
  }
5952
5975
  //#endregion
5953
5976
  //#region src/components/AppCompareTable.jsx
5954
- function Yn({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i }) {
5977
+ function Xn({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i }) {
5955
5978
  I("AppCompareTable", i);
5956
5979
  let a = (e) => e === !0 ? /* @__PURE__ */ T("span", {
5957
5980
  className: "compare-yes",
@@ -5988,7 +6011,7 @@ function Yn({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i
5988
6011
  }
5989
6012
  //#endregion
5990
6013
  //#region src/components/AppInput.jsx
5991
- var Xn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", type: c = "text", size: l = "md", leftIcon: f, rightIcon: p, onRightIconClick: m, rightIconLabel: h, unit: g, id: _, name: y, className: b = "", fieldClassName: x = "", disabled: S = !1, clearable: C = !1, showCount: w = !1, maxLength: D, prefix: O, suffix: k, action: A, floatingLabel: j = !1, variant: M, passwordRequirements: N = !1, requirementsPlacement: P = "auto", ...F }, L) {
6014
+ var Zn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", type: c = "text", size: l = "md", leftIcon: f, rightIcon: p, onRightIconClick: m, rightIconLabel: h, unit: g, id: _, name: y, className: b = "", fieldClassName: x = "", disabled: S = !1, clearable: C = !1, showCount: w = !1, maxLength: D, prefix: O, suffix: k, action: A, floatingLabel: j = !1, variant: M, passwordRequirements: N = !1, requirementsPlacement: P = "auto", ...F }, L) {
5992
6015
  I("AppInput", F);
5993
6016
  let [R, z] = d(!1), ee = s(), B = _ || ee, V = c === "password", H = V && R ? "text" : c, te = u(null), ne = (e) => {
5994
6017
  te.current = e, typeof L == "function" ? L(e) : L && (L.current = e);
@@ -6044,7 +6067,7 @@ var Xn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
6044
6067
  placeholder: j ? " " : F.placeholder,
6045
6068
  ref: ne,
6046
6069
  onInput: le || U ? pe : F.onInput
6047
- }), be = N === !0 || N, xe = be && typeof be == "object" && be.title || "Password Requirements", G = U ? dn(ue, be) : null, Se = U ? /* @__PURE__ */ T("ul", {
6070
+ }), be = N === !0 || N, xe = be && typeof be == "object" && be.title || "Password Requirements", G = U ? fn(ue, be) : null, Se = U ? /* @__PURE__ */ T("ul", {
6048
6071
  className: "pw-criteria",
6049
6072
  "aria-live": "polite",
6050
6073
  children: G.map((e) => /* @__PURE__ */ E("li", {
@@ -6140,7 +6163,7 @@ var Xn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
6140
6163
  })
6141
6164
  ]
6142
6165
  });
6143
- Ce = U ? /* @__PURE__ */ T(mn, {
6166
+ Ce = U ? /* @__PURE__ */ T(hn, {
6144
6167
  trigger: e,
6145
6168
  triggerType: "focus",
6146
6169
  placement: P,
@@ -6194,7 +6217,7 @@ var Xn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
6194
6217
  children: [
6195
6218
  e,
6196
6219
  t && /* @__PURE__ */ T(Q, {}),
6197
- i && /* @__PURE__ */ T(hn, {
6220
+ i && /* @__PURE__ */ T(gn, {
6198
6221
  label: a,
6199
6222
  children: i
6200
6223
  })
@@ -6216,34 +6239,34 @@ var Xn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
6216
6239
  })
6217
6240
  ]
6218
6241
  });
6219
- }), Zn = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"])", Qn = {
6242
+ }), Qn = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"])", $n = {
6220
6243
  sm: 380,
6221
6244
  md: 440,
6222
6245
  lg: 640,
6223
6246
  xl: 880
6224
- }, $n = !1;
6225
- function er() {
6247
+ }, er = !1;
6248
+ function tr() {
6226
6249
  let e = !0;
6227
6250
  try {
6228
6251
  e = process.env.NODE_ENV !== "production";
6229
6252
  } catch {
6230
6253
  e = !0;
6231
6254
  }
6232
- !e || $n || ($n = !0, console.warn("[@webority/ui-react] <AppModal hideHeader> has no accessible name — pass `ariaLabel` (or a string `title`)."));
6255
+ !e || er || (er = !0, console.warn("[@webority/ui-react] <AppModal hideHeader> has no accessible name — pass `ariaLabel` (or a string `title`)."));
6233
6256
  }
6234
- function tr({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a = "default", dismissible: s = !0, onClose: c, footer: l, size: d = "md", placement: f = "center", hideHeader: p = !1, staticBackdrop: m = !1, ariaLabel: h, className: g = "", children: _, ...v }) {
6235
- I("AppModal", v), z("AppModal", "size", typeof d == "string" ? d : null, Object.keys(Qn));
6257
+ function nr({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a = "default", dismissible: s = !0, onClose: c, footer: l, size: d = "md", placement: f = "center", hideHeader: p = !1, staticBackdrop: m = !1, ariaLabel: h, className: g = "", children: _, ...v }) {
6258
+ I("AppModal", v), z("AppModal", "size", typeof d == "string" ? d : null, Object.keys($n));
6236
6259
  let { style: b, ...x } = v;
6237
- p && !h && typeof n != "string" && er();
6260
+ p && !h && typeof n != "string" && tr();
6238
6261
  let S = u(null);
6239
6262
  o(() => {
6240
6263
  if (!e) return;
6241
6264
  let t = S.current?.closest(".modal-content");
6242
6265
  if (!t) return;
6243
- let n = () => Array.from(t.querySelectorAll(Zn));
6266
+ let n = () => Array.from(t.querySelectorAll(Qn));
6244
6267
  (t.querySelector("[data-autofocus]") || n().find((e) => !e.classList.contains("wui-modal-close")) || n()[0] || t).focus?.();
6245
6268
  }, [e]);
6246
- let C = typeof d == "number" ? d : Qn[d] ?? Qn.md, w = [
6269
+ let C = typeof d == "number" ? d : $n[d] ?? $n.md, w = [
6247
6270
  "wui-modal",
6248
6271
  a === "default" ? "" : `tone-${a}`,
6249
6272
  g
@@ -6328,48 +6351,49 @@ function tr({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a
6328
6351
  }
6329
6352
  //#endregion
6330
6353
  //#region src/components/ModalIcons.jsx
6331
- var nr = (e) => function({ size: t = 72 }) {
6354
+ var rr = (e) => function({ size: t = 72 }) {
6332
6355
  return /* @__PURE__ */ T("wui-status-icon", {
6333
6356
  tone: e,
6334
6357
  size: t
6335
6358
  });
6336
- }, rr = {
6337
- success: nr("success"),
6338
- error: nr("error"),
6339
- warning: nr("warning"),
6340
- info: nr("info"),
6341
- delete: nr("delete")
6359
+ }, ir = {
6360
+ success: rr("success"),
6361
+ error: rr("error"),
6362
+ warning: rr("warning"),
6363
+ info: rr("info"),
6364
+ delete: rr("delete")
6342
6365
  };
6343
6366
  //#endregion
6344
6367
  //#region src/components/AppConfirmDialog.jsx
6345
- function ir({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancelLabel: i = "Cancel", danger: a = !1, tone: s, confirmPhrase: c, onConfirm: l, onClose: u, loading: f = !1, staticBackdrop: p = !1, placement: m = "center", className: h = "", ...g }) {
6346
- I("AppConfirmDialog", g);
6347
- let [_, v] = d("");
6368
+ function ar({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancelLabel: i = "Cancel", danger: a = !1, tone: s, confirmPhrase: c, onConfirm: l, onClose: u, loading: f = !1, staticBackdrop: p = !1, placement: m = "center", size: h = "md", className: g = "", ..._ }) {
6369
+ I("AppConfirmDialog", _);
6370
+ let [v, y] = d("");
6348
6371
  if (o(() => {
6349
- e || v("");
6372
+ e || y("");
6350
6373
  }, [e]), !e) return null;
6351
- let y = !!c && _.trim() !== c, b = rr[s || (a ? "delete" : "info")], x = () => {
6374
+ let b = !!c && v.trim() !== c, x = ir[s || (a ? "delete" : "info")], S = () => {
6352
6375
  f || u?.();
6353
6376
  };
6354
- return /* @__PURE__ */ T(tr, {
6355
- ...g,
6377
+ return /* @__PURE__ */ T(nr, {
6378
+ ..._,
6356
6379
  open: e,
6357
6380
  hideHeader: !0,
6358
6381
  title: t,
6359
- onClose: x,
6382
+ onClose: S,
6360
6383
  staticBackdrop: p,
6361
6384
  placement: m,
6362
- className: ["wui-confirm", h].filter(Boolean).join(" "),
6385
+ size: h,
6386
+ className: ["wui-confirm", g].filter(Boolean).join(" "),
6363
6387
  footer: /* @__PURE__ */ E("div", {
6364
6388
  className: "wui-confirm-actions",
6365
6389
  children: [/* @__PURE__ */ T(ke, {
6366
6390
  variant: "secondary",
6367
6391
  disabled: f,
6368
- onClick: x,
6392
+ onClick: S,
6369
6393
  children: i
6370
6394
  }), /* @__PURE__ */ T(ke, {
6371
6395
  variant: a ? "danger" : "primary",
6372
- disabled: y,
6396
+ disabled: b,
6373
6397
  loading: f,
6374
6398
  onClick: l,
6375
6399
  children: r
@@ -6378,9 +6402,9 @@ function ir({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
6378
6402
  children: /* @__PURE__ */ E("div", {
6379
6403
  className: "wui-confirm-content",
6380
6404
  children: [
6381
- b && /* @__PURE__ */ T("span", {
6405
+ x && /* @__PURE__ */ T("span", {
6382
6406
  className: "wui-confirm-icon",
6383
- children: /* @__PURE__ */ T(b, { size: 80 })
6407
+ children: /* @__PURE__ */ T(x, { size: 80 })
6384
6408
  }),
6385
6409
  /* @__PURE__ */ T("h3", {
6386
6410
  className: "wui-confirm-title",
@@ -6392,15 +6416,15 @@ function ir({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
6392
6416
  className: "wui-confirm-msg",
6393
6417
  children: n
6394
6418
  }),
6395
- c && /* @__PURE__ */ T(Xn, {
6419
+ c && /* @__PURE__ */ T(Zn, {
6396
6420
  fieldClassName: "mt-3 mb-0 w-100 text-start",
6397
6421
  label: /* @__PURE__ */ E(w, { children: [
6398
6422
  "Type ",
6399
6423
  /* @__PURE__ */ T("strong", { children: c }),
6400
6424
  " to confirm"
6401
6425
  ] }),
6402
- value: _,
6403
- onChange: (e) => v(e.target.value),
6426
+ value: v,
6427
+ onChange: (e) => y(e.target.value),
6404
6428
  "aria-label": `Type ${c} to confirm`,
6405
6429
  disabled: f
6406
6430
  })
@@ -6410,22 +6434,22 @@ function ir({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
6410
6434
  }
6411
6435
  //#endregion
6412
6436
  //#region src/components/AppCopyButton.jsx
6413
- var ar = {
6437
+ var or = {
6414
6438
  sm: 14,
6415
6439
  md: 16,
6416
6440
  lg: 20
6417
6441
  };
6418
- function or({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r = !1, size: i = "md", variant: s = "ghost", onCopied: c, className: l = "", tooltip: f, tooltipPlacement: p, ...m }) {
6419
- I("AppCopyButton", m), z("AppCopyButton", "size", i, Object.keys(ar));
6442
+ function sr({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r = !1, size: i = "md", variant: s = "ghost", onCopied: c, className: l = "", tooltip: f, tooltipPlacement: p, ...m }) {
6443
+ I("AppCopyButton", m), z("AppCopyButton", "size", i, Object.keys(or));
6420
6444
  let [h, g] = d(!1), _ = u(null);
6421
6445
  o(() => () => clearTimeout(_.current), []);
6422
6446
  let v = a(async () => {
6423
- await Xt(e) && (g(!0), clearTimeout(_.current), _.current = setTimeout(() => g(!1), Yt), c?.());
6447
+ await Zt(e) && (g(!0), clearTimeout(_.current), _.current = setTimeout(() => g(!1), Xt), c?.());
6424
6448
  }, [e, c]), y = h ? n : t, b = h ? "check" : "files";
6425
6449
  return H(r ? /* @__PURE__ */ T(Se, {
6426
6450
  icon: b,
6427
6451
  label: y,
6428
- size: ar[i] ?? ar.md,
6452
+ size: or[i] ?? or.md,
6429
6453
  onClick: v,
6430
6454
  className: l,
6431
6455
  ...m
@@ -6442,7 +6466,7 @@ function or({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r
6442
6466
  }
6443
6467
  //#endregion
6444
6468
  //#region src/components/AppSkeleton.jsx
6445
- function sr({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "", style: i, ...a }) {
6469
+ function cr({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "", style: i, ...a }) {
6446
6470
  return I("AppSkeleton", a), /* @__PURE__ */ T("span", {
6447
6471
  className: `skeleton${r ? ` ${r}` : ""}`,
6448
6472
  "aria-hidden": "true",
@@ -6455,30 +6479,30 @@ function sr({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "
6455
6479
  ...a
6456
6480
  });
6457
6481
  }
6458
- function cr({ rows: e = 4, cols: t = 5 }) {
6459
- return Array.from({ length: e }).map((e, n) => /* @__PURE__ */ T("tr", { children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ T("td", { children: /* @__PURE__ */ T(sr, {
6482
+ function lr({ rows: e = 4, cols: t = 5 }) {
6483
+ return Array.from({ length: e }).map((e, n) => /* @__PURE__ */ T("tr", { children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ T("td", { children: /* @__PURE__ */ T(cr, {
6460
6484
  width: t === 0 ? "70%" : "50%",
6461
6485
  height: 12
6462
6486
  }) }, `col-${t}`)) }, `row-${n}`));
6463
6487
  }
6464
6488
  //#endregion
6465
6489
  //#region src/lib/pageWindow.js
6466
- var lr = (e, t) => {
6490
+ var ur = (e, t) => {
6467
6491
  let n = [];
6468
6492
  for (let r = e; r <= t; r += 1) n.push(r);
6469
6493
  return n;
6470
6494
  };
6471
- function ur(e, t, { siblingCount: n = 2, boundaryCount: r = 1 } = {}) {
6495
+ function dr(e, t, { siblingCount: n = 2, boundaryCount: r = 1 } = {}) {
6472
6496
  let i = Math.max(1, t), a = Math.min(Math.max(1, e), i);
6473
- if (i <= n * 2 + 3 + r * 2) return lr(1, i);
6474
- 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 = lr(1, r);
6475
- return u.push(...c ? ["ellipsis-left"] : lr(r + 1, o - 1)), u.push(...lr(o, s)), u.push(...l ? ["ellipsis-right"] : lr(s + 1, i - r)), u.push(...lr(i - r + 1, i)), u;
6497
+ if (i <= n * 2 + 3 + r * 2) return ur(1, i);
6498
+ 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 = ur(1, r);
6499
+ return u.push(...c ? ["ellipsis-left"] : ur(r + 1, o - 1)), u.push(...ur(o, s)), u.push(...l ? ["ellipsis-right"] : ur(s + 1, i - r)), u.push(...ur(i - r + 1, i)), u;
6476
6500
  }
6477
6501
  //#endregion
6478
6502
  //#region src/components/AppSelectMini.jsx
6479
- function dr({ 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 }) {
6503
+ function fr({ 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 }) {
6480
6504
  I("AppSelectMini", p);
6481
- let { setRef: m, innerRef: h } = gn({
6505
+ let { setRef: m, innerRef: h } = _n({
6482
6506
  value: e ?? "",
6483
6507
  onChange: t
6484
6508
  });
@@ -6490,7 +6514,7 @@ function dr({ value: e, onChange: t, options: n = [], placeholder: r = "Select..
6490
6514
  label: e.label ?? e.text ?? "",
6491
6515
  icon: e.icon
6492
6516
  }));
6493
- bn(t, e.options) || (e.options = t);
6517
+ xn(t, e.options) || (e.options = t);
6494
6518
  }, [n, h]), o(() => {
6495
6519
  let e = h.current;
6496
6520
  if (e) for (let [t, n] of [["icon", u], ["prefix", d]]) n == null || n === "" ? e.removeAttribute(t) : e.setAttribute(t, n);
@@ -6513,22 +6537,22 @@ function dr({ value: e, onChange: t, options: n = [], placeholder: r = "Select..
6513
6537
  }
6514
6538
  //#endregion
6515
6539
  //#region src/components/AppTablePagination.jsx
6516
- var fr = [
6540
+ var pr = [
6517
6541
  5,
6518
6542
  10,
6519
6543
  25,
6520
6544
  50
6521
6545
  ];
6522
- function pr({ page: e, totalPages: t, pageSize: n, total: r, firstRow: i, lastRow: a, onPageChange: o, onPageSizeChange: s, pageSizes: c = fr, mode: l = "prev-next", showPageSize: u = !0, className: d = "", ...f }) {
6546
+ function mr({ page: e, totalPages: t, pageSize: n, total: r, firstRow: i, lastRow: a, onPageChange: o, onPageSizeChange: s, pageSizes: c = pr, mode: l = "prev-next", showPageSize: u = !0, className: d = "", ...f }) {
6523
6547
  I("AppTablePagination", f);
6524
- let p = l === "numbered", m = p ? ur(e, t) : null;
6548
+ let p = l === "numbered", m = p ? dr(e, t) : null;
6525
6549
  return /* @__PURE__ */ E("div", {
6526
6550
  className: `table-pagination${d ? ` ${d}` : ""}`,
6527
6551
  ...f,
6528
6552
  children: [
6529
6553
  u && /* @__PURE__ */ E("span", {
6530
6554
  className: "tpg-rows",
6531
- children: ["Rows per page:", /* @__PURE__ */ T(dr, {
6555
+ children: ["Rows per page:", /* @__PURE__ */ T(fr, {
6532
6556
  value: n,
6533
6557
  onChange: (e) => s(Number(e)),
6534
6558
  ariaLabel: "Rows per page",
@@ -6592,13 +6616,13 @@ function pr({ page: e, totalPages: t, pageSize: n, total: r, firstRow: i, lastRo
6592
6616
  }
6593
6617
  //#endregion
6594
6618
  //#region src/components/AppDataTable.jsx
6595
- function mr(e) {
6619
+ function hr(e) {
6596
6620
  return e === "end" ? "wui-cell-end" : e === "num" ? "num" : e === "center" ? "text-center" : "";
6597
6621
  }
6598
- function hr(e) {
6622
+ function gr(e) {
6599
6623
  return e == null || e === "" ? "—" : typeof e == "boolean" ? String(e) : e;
6600
6624
  }
6601
- function gr({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a, loading: o = !1, skeletonRows: s = 5, empty: c = "No records found.", emptyFiltered: l, sourceCount: u, rowActions: f, rowActionsLabel: p, pagination: m, ariaLabel: h, className: g = "", wrapperClassName: _ = "", selectable: v = !1, selectedIds: y, onToggleRow: b, onToggleAll: x, renderExpanded: S, ...C }) {
6625
+ function _r({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a, loading: o = !1, skeletonRows: s = 5, empty: c = "No records found.", emptyFiltered: l, sourceCount: u, rowActions: f, rowActionsLabel: p, pagination: m, ariaLabel: h, className: g = "", wrapperClassName: _ = "", selectable: v = !1, selectedIds: y, onToggleRow: b, onToggleAll: x, renderExpanded: S, ...C }) {
6602
6626
  I("AppDataTable", C);
6603
6627
  let D = typeof S == "function", [O, k] = d(() => /* @__PURE__ */ new Set()), A = (e) => k((t) => {
6604
6628
  let n = new Set(t);
@@ -6635,7 +6659,7 @@ function gr({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
6635
6659
  e.map((e, t) => {
6636
6660
  let n = !!(e.sortable && a), r = i && i.key === e.key;
6637
6661
  return /* @__PURE__ */ E("th", {
6638
- className: (n ? "sortable " : "") + (t === 0 ? "wui-name-cell " : "") + mr(e.align),
6662
+ className: (n ? "sortable " : "") + (t === 0 ? "wui-name-cell " : "") + hr(e.align),
6639
6663
  style: e.width ? { width: e.width } : void 0,
6640
6664
  tabIndex: n ? 0 : void 0,
6641
6665
  "aria-sort": r ? i.dir === "asc" ? "ascending" : "descending" : n ? "none" : void 0,
@@ -6662,7 +6686,7 @@ function gr({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
6662
6686
  children: "Actions"
6663
6687
  })
6664
6688
  }))
6665
- ] }) }), /* @__PURE__ */ T("tbody", { children: o ? /* @__PURE__ */ T(cr, {
6689
+ ] }) }), /* @__PURE__ */ T("tbody", { children: o ? /* @__PURE__ */ T(lr, {
6666
6690
  rows: s,
6667
6691
  cols: j
6668
6692
  }) : n?.length ? n.map((n, i) => {
@@ -6696,9 +6720,9 @@ function gr({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
6696
6720
  })
6697
6721
  }),
6698
6722
  e.map((e, t) => /* @__PURE__ */ T("td", {
6699
- className: (t === 0 ? "wui-name-cell " : "") + mr(e.align) + (e.cellClassName ? ` ${e.cellClassName}` : ""),
6723
+ className: (t === 0 ? "wui-name-cell " : "") + hr(e.align) + (e.cellClassName ? ` ${e.cellClassName}` : ""),
6700
6724
  style: e.cellStyle,
6701
- children: e.render ? e.render(n) : hr(n[e.key])
6725
+ children: e.render ? e.render(n) : gr(n[e.key])
6702
6726
  }, e.key)),
6703
6727
  f && /* @__PURE__ */ T("td", { children: /* @__PURE__ */ T("div", {
6704
6728
  className: "u-row-actions",
@@ -6721,7 +6745,7 @@ function gr({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
6721
6745
  children: L
6722
6746
  }) : L
6723
6747
  })]
6724
- }), m && !o && m.total > 0 && /* @__PURE__ */ T(pr, {
6748
+ }), m && !o && m.total > 0 && /* @__PURE__ */ T(mr, {
6725
6749
  page: m.page,
6726
6750
  totalPages: m.totalPages,
6727
6751
  pageSize: m.pageSize,
@@ -6734,9 +6758,9 @@ function gr({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
6734
6758
  }
6735
6759
  //#endregion
6736
6760
  //#region src/components/AppDatePicker.jsx
6737
- var _r = 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) {
6761
+ var vr = 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) {
6738
6762
  I("AppDatePicker", v);
6739
- let b = s(), x = m || b, { setRef: S } = gn({
6763
+ let b = s(), x = m || b, { setRef: S } = _n({
6740
6764
  ref: y,
6741
6765
  value: e ?? "",
6742
6766
  onChange: t
@@ -6778,9 +6802,9 @@ var _r = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
6778
6802
  })
6779
6803
  ]
6780
6804
  });
6781
- }), vr = 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) {
6805
+ }), yr = 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) {
6782
6806
  I("AppDateRangePicker", x);
6783
- let C = s(), w = _ || C, { setRef: D, innerRef: O } = gn({
6807
+ let C = s(), w = _ || C, { setRef: D, innerRef: O } = _n({
6784
6808
  ref: S,
6785
6809
  onChange: n
6786
6810
  });
@@ -6839,12 +6863,12 @@ var _r = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
6839
6863
  });
6840
6864
  //#endregion
6841
6865
  //#region src/lib/emptyValue.js
6842
- function yr(e) {
6866
+ function br(e) {
6843
6867
  return e == null || e === "";
6844
6868
  }
6845
6869
  //#endregion
6846
6870
  //#region src/components/AppDescriptions.jsx
6847
- function br({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, title: i, className: a = "", ...o }) {
6871
+ function xr({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, title: i, className: a = "", ...o }) {
6848
6872
  return I("AppDescriptions", o), /* @__PURE__ */ E("div", {
6849
6873
  className: [
6850
6874
  "descs",
@@ -6860,7 +6884,7 @@ function br({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, t
6860
6884
  }), /* @__PURE__ */ T("dl", {
6861
6885
  className: "descs-list",
6862
6886
  children: e.map((e, t) => {
6863
- let n = yr(e.value), r = e.span ?? 1, i = e.key ?? `${e.label}-${t}`;
6887
+ let n = br(e.value), r = e.span ?? 1, i = e.key ?? `${e.label}-${t}`;
6864
6888
  return /* @__PURE__ */ E("div", {
6865
6889
  className: "descs-item",
6866
6890
  style: { "--descs-span": r },
@@ -6878,18 +6902,18 @@ function br({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, t
6878
6902
  }
6879
6903
  //#endregion
6880
6904
  //#region src/components/AppDropdown.jsx
6881
- var xr = !1;
6882
- function Sr() {
6905
+ var Sr = !1;
6906
+ function Cr() {
6883
6907
  let e = !0;
6884
6908
  try {
6885
6909
  e = process.env.NODE_ENV !== "production";
6886
6910
  } catch {
6887
6911
  e = !0;
6888
6912
  }
6889
- !e || xr || (xr = !0, console.warn("[@webority/ui-react] <AppDropdown> icon-only toggle has no accessible name — pass `label` or `ariaLabel`."));
6913
+ !e || Sr || (Sr = !0, console.warn("[@webority/ui-react] <AppDropdown> icon-only toggle has no accessible name — pass `label` or `ariaLabel`."));
6890
6914
  }
6891
- function Cr({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i, align: a = "end", items: s = [], menuClassName: c = "", linkComponent: l, children: u, trigger: f, ...p }) {
6892
- I("AppDropdown", p), !f && !i && !r && Sr();
6915
+ function wr({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i, align: a = "end", items: s = [], menuClassName: c = "", linkComponent: l, children: u, trigger: f, ...p }) {
6916
+ I("AppDropdown", p), !f && !i && !r && Cr();
6893
6917
  let m = n ?? (f ? "wui-dropdown-trigger" : "topbar-icon-btn"), [h, g] = d(!1);
6894
6918
  return o(() => {
6895
6919
  if (!h) return;
@@ -6906,7 +6930,7 @@ function Cr({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i,
6906
6930
  onToggle: (e) => g(e),
6907
6931
  ...p,
6908
6932
  children: [/* @__PURE__ */ T(_.Toggle, {
6909
- as: wr,
6933
+ as: Tr,
6910
6934
  icon: e,
6911
6935
  iconSize: t,
6912
6936
  btnClassName: m,
@@ -6942,7 +6966,7 @@ function Cr({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i,
6942
6966
  })]
6943
6967
  });
6944
6968
  }
6945
- var wr = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-btn", trigger: r, "aria-label": i, className: a, ...o }, s) {
6969
+ var Tr = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-btn", trigger: r, "aria-label": i, className: a, ...o }, s) {
6946
6970
  return /* @__PURE__ */ T("button", {
6947
6971
  ref: s,
6948
6972
  type: "button",
@@ -6957,9 +6981,9 @@ var wr = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-
6957
6981
  });
6958
6982
  //#endregion
6959
6983
  //#region src/components/AppFeedback.jsx
6960
- function Tr({ onSubmit: e, surface: t, screen: n, heading: r = "Share feedback", label: i = "Feedback", placeholder: a, collectEmail: o = !1, position: s = "bottom-right", className: c = "", style: l, ...u }) {
6984
+ function Er({ onSubmit: e, surface: t, screen: n, heading: r = "Share feedback", label: i = "Feedback", placeholder: a, collectEmail: o = !1, position: s = "bottom-right", className: c = "", style: l, ...u }) {
6961
6985
  I("AppFeedback", u);
6962
- let { setRef: d, innerRef: f } = gn({ on: { "wui-feedback-submit": (t) => {
6986
+ let { setRef: d, innerRef: f } = _n({ on: { "wui-feedback-submit": (t) => {
6963
6987
  let n = f.current;
6964
6988
  n && Promise.resolve(e?.(t.detail)).then(() => n.submitted(), (e) => n.failed(typeof e?.userMessage == "string" ? e.userMessage : void 0));
6965
6989
  } } });
@@ -6979,16 +7003,16 @@ function Tr({ onSubmit: e, surface: t, screen: n, heading: r = "Share feedback",
6979
7003
  }
6980
7004
  //#endregion
6981
7005
  //#region src/lib/fileItem.js
6982
- function Er(e) {
7006
+ function Dr(e) {
6983
7007
  return e instanceof File ? `${e.name}:${e.size}` : e?.url || e?.name || "item";
6984
7008
  }
6985
- function Dr(e) {
7009
+ function Or(e) {
6986
7010
  return e instanceof File ? e.name : e?.name;
6987
7011
  }
6988
- function Or(e) {
7012
+ function kr(e) {
6989
7013
  return e instanceof File ? `${(e.size / 1024).toFixed(0)} KB` : null;
6990
7014
  }
6991
- function kr(e, t) {
7015
+ function Ar(e, t) {
6992
7016
  let [n, r] = d(null);
6993
7017
  return o(() => {
6994
7018
  if (!t) {
@@ -7004,8 +7028,8 @@ function kr(e, t) {
7004
7028
  }
7005
7029
  //#endregion
7006
7030
  //#region src/lib/FileItemRow.jsx
7007
- function Ar({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
7008
- let i = kr(e, t), a = Dr(e), o = Or(e);
7031
+ function jr({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
7032
+ let i = Ar(e, t), a = Or(e), o = kr(e);
7009
7033
  return /* @__PURE__ */ E("div", {
7010
7034
  className: "attach-item",
7011
7035
  children: [
@@ -7044,15 +7068,15 @@ function Ar({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
7044
7068
  }
7045
7069
  //#endregion
7046
7070
  //#region src/components/AppFileAttachment.jsx
7047
- function jr({ label: e = "Attachment", value: t, name: n, onChange: r, multiple: i = !1, accept: a = Zt, maxSizeMb: o = 5, optional: c = !1, error: l, id: u, ...f }) {
7071
+ function Mr({ label: e = "Attachment", value: t, name: n, onChange: r, multiple: i = !1, accept: a = Qt, maxSizeMb: o = 5, optional: c = !1, error: l, id: u, ...f }) {
7048
7072
  I("AppFileAttachment", f);
7049
- let p = s(), m = u || p, [h, g] = d(""), _ = i && Array.isArray(t) ? t : t ? [t] : [], v = rn(a), y = (e) => e instanceof File ? nn(e) : v || nn(e), b = !i && _.length === 1 && y(_[0]);
7073
+ let p = s(), m = u || p, [h, g] = d(""), _ = i && Array.isArray(t) ? t : t ? [t] : [], v = an(a), y = (e) => e instanceof File ? rn(e) : v || rn(e), b = !i && _.length === 1 && y(_[0]);
7050
7074
  function x(e) {
7051
7075
  let n = Array.from(e.target.files || []);
7052
7076
  if (e.target.value = "", !n.length) return;
7053
7077
  let s = [], c = "";
7054
7078
  for (let e of n) {
7055
- let t = sn(e, {
7079
+ let t = cn(e, {
7056
7080
  accept: a,
7057
7081
  maxSizeMb: o
7058
7082
  });
@@ -7063,8 +7087,8 @@ function jr({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
7063
7087
  s.push(e);
7064
7088
  }
7065
7089
  if (g(c), s.length) if (i) {
7066
- let e = Array.isArray(t) ? t : t ? [t] : [], n = new Set(e.map(Er));
7067
- r(e.concat(s.filter((e) => !n.has(Er(e)))));
7090
+ let e = Array.isArray(t) ? t : t ? [t] : [], n = new Set(e.map(Dr));
7091
+ r(e.concat(s.filter((e) => !n.has(Dr(e)))));
7068
7092
  } else r(s[0]);
7069
7093
  }
7070
7094
  function S(e) {
@@ -7101,7 +7125,7 @@ function jr({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
7101
7125
  }), /* @__PURE__ */ E("span", {
7102
7126
  className: "attach-drop-hint",
7103
7127
  children: [
7104
- an(a),
7128
+ on(a),
7105
7129
  ", up to ",
7106
7130
  o,
7107
7131
  " MB"
@@ -7124,17 +7148,17 @@ function jr({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
7124
7148
  onChange: x,
7125
7149
  ...f
7126
7150
  })] }),
7127
- b ? /* @__PURE__ */ T(Mr, {
7151
+ b ? /* @__PURE__ */ T(Nr, {
7128
7152
  item: _[0],
7129
7153
  isImage: !0,
7130
7154
  onRemove: () => S(0)
7131
7155
  }) : _.length > 0 && /* @__PURE__ */ T("div", {
7132
7156
  className: "attach-list",
7133
- children: _.map((e, t) => /* @__PURE__ */ T(Ar, {
7157
+ children: _.map((e, t) => /* @__PURE__ */ T(jr, {
7134
7158
  item: e,
7135
7159
  isImage: y(e),
7136
7160
  onRemove: () => S(t)
7137
- }, Er(e)))
7161
+ }, Dr(e)))
7138
7162
  }),
7139
7163
  C && /* @__PURE__ */ T("div", {
7140
7164
  className: "field-error",
@@ -7144,8 +7168,8 @@ function jr({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
7144
7168
  ]
7145
7169
  });
7146
7170
  }
7147
- function Mr({ item: e, isImage: t, onRemove: n }) {
7148
- let r = kr(e, t), i = Dr(e), a = Or(e);
7171
+ function Nr({ item: e, isImage: t, onRemove: n }) {
7172
+ let r = Ar(e, t), i = Or(e), a = kr(e);
7149
7173
  return /* @__PURE__ */ E("div", {
7150
7174
  className: "attach-preview",
7151
7175
  children: [/* @__PURE__ */ E("div", {
@@ -7177,18 +7201,18 @@ function Mr({ item: e, isImage: t, onRemove: n }) {
7177
7201
  }
7178
7202
  //#endregion
7179
7203
  //#region src/components/AppFilePicker.jsx
7180
- function Nr({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, maxFiles: c, accept: l = ".jpg,.jpeg,.png", maxSizeMb: f = 5, required: p, error: m, className: h = "", fieldClassName: g = "", style: _, ...v }) {
7204
+ function Pr({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, maxFiles: c, accept: l = ".jpg,.jpeg,.png", maxSizeMb: f = 5, required: p, error: m, className: h = "", fieldClassName: g = "", style: _, ...v }) {
7181
7205
  I("AppFilePicker", v);
7182
7206
  let [y, b] = d(null), [x, S] = d(!1), [C, w] = d(""), D = u(null), O = s(), k = r || O;
7183
7207
  o(() => {
7184
- if (!a && t instanceof File && nn(t)) {
7208
+ if (!a && t instanceof File && rn(t)) {
7185
7209
  let e = URL.createObjectURL(t);
7186
7210
  return b(e), () => URL.revokeObjectURL(e);
7187
7211
  }
7188
7212
  b(null);
7189
7213
  }, [t, a]);
7190
- let A = a ? Array.isArray(t) ? t : t ? [t] : [] : [], j = m || C, M = j ? `${k}-error` : void 0, N = rn(l), P = !a && !!t, F = P && (t instanceof File ? nn(t) : N || nn(t)), L = t?.name, R = F ? t?.url || y : null, z = F ? "image" : "file", ee = e ? `Change ${e}` : `Change ${z}`, B = e ? `Remove ${e}` : `Remove ${z}`, V = e ? `${e} preview` : `Selected ${z} preview`, H = (e) => {
7191
- let t = sn(e, {
7214
+ let A = a ? Array.isArray(t) ? t : t ? [t] : [] : [], j = m || C, M = j ? `${k}-error` : void 0, N = an(l), P = !a && !!t, F = P && (t instanceof File ? rn(t) : N || rn(t)), L = t?.name, R = F ? t?.url || y : null, z = F ? "image" : "file", ee = e ? `Change ${e}` : `Change ${z}`, B = e ? `Remove ${e}` : `Remove ${z}`, V = e ? `${e} preview` : `Selected ${z} preview`, H = (e) => {
7215
+ let t = cn(e, {
7192
7216
  accept: l,
7193
7217
  maxSizeMb: f
7194
7218
  });
@@ -7196,9 +7220,9 @@ function Nr({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
7196
7220
  }, te = (e) => {
7197
7221
  let n = Array.from(e || []);
7198
7222
  if (!n.length) return;
7199
- let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(Er)), o = "", s = [];
7223
+ let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(Dr)), o = "", s = [];
7200
7224
  for (let e of n) {
7201
- let t = sn(e, {
7225
+ let t = cn(e, {
7202
7226
  accept: l,
7203
7227
  maxSizeMb: f
7204
7228
  });
@@ -7206,7 +7230,7 @@ function Nr({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
7206
7230
  o ||= t;
7207
7231
  continue;
7208
7232
  }
7209
- a.has(Er(e)) || (a.add(Er(e)), s.push(e));
7233
+ a.has(Dr(e)) || (a.add(Dr(e)), s.push(e));
7210
7234
  }
7211
7235
  let u = r.concat(s);
7212
7236
  c && u.length > c && (u = u.slice(0, c), o ||= `Up to ${c} files.`), w(o), i(u);
@@ -7331,7 +7355,7 @@ function Nr({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
7331
7355
  /* @__PURE__ */ E("span", {
7332
7356
  className: "file-input-text",
7333
7357
  children: [
7334
- an(l),
7358
+ on(l),
7335
7359
  " · up to ",
7336
7360
  f,
7337
7361
  " MB"
@@ -7342,12 +7366,12 @@ function Nr({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
7342
7366
  oe,
7343
7367
  a && A.length > 0 && /* @__PURE__ */ T("div", {
7344
7368
  className: "attach-list",
7345
- children: A.map((e, t) => /* @__PURE__ */ T(Ar, {
7369
+ children: A.map((e, t) => /* @__PURE__ */ T(jr, {
7346
7370
  item: e,
7347
- isImage: e instanceof File ? nn(e) : N || nn(e),
7371
+ isImage: e instanceof File ? rn(e) : N || rn(e),
7348
7372
  noun: "file",
7349
7373
  onRemove: () => ie(t)
7350
- }, Er(e)))
7374
+ }, Dr(e)))
7351
7375
  })
7352
7376
  ]
7353
7377
  }),
@@ -7361,7 +7385,7 @@ function Nr({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
7361
7385
  }
7362
7386
  //#endregion
7363
7387
  //#region src/components/AppFloatingDock.jsx
7364
- function Pr({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation", magnify: r = !0, maxScale: i, radius: a, className: o = "", ...s }) {
7388
+ function Fr({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation", magnify: r = !0, maxScale: i, radius: a, className: o = "", ...s }) {
7365
7389
  return I("AppFloatingDock", s), /* @__PURE__ */ T("wui-dock", {
7366
7390
  role: "navigation",
7367
7391
  "aria-label": n,
@@ -7403,7 +7427,7 @@ function Pr({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation"
7403
7427
  }
7404
7428
  //#endregion
7405
7429
  //#region src/components/AppFormActions.jsx
7406
- function Fr({ children: e, sticky: t = !1, align: n = "end", className: r = "", ...i }) {
7430
+ function Ir({ children: e, sticky: t = !1, align: n = "end", className: r = "", ...i }) {
7407
7431
  return I("AppFormActions", i), /* @__PURE__ */ T("div", {
7408
7432
  className: [
7409
7433
  "form-actions",
@@ -7417,7 +7441,7 @@ function Fr({ children: e, sticky: t = !1, align: n = "end", className: r = "",
7417
7441
  }
7418
7442
  //#endregion
7419
7443
  //#region src/components/AppFormRow.jsx
7420
- function Ir({ children: e, columns: t = 2, className: n = "", ...r }) {
7444
+ function Lr({ children: e, columns: t = 2, className: n = "", ...r }) {
7421
7445
  I("AppFormRow", r);
7422
7446
  let { style: i, ...a } = r;
7423
7447
  return /* @__PURE__ */ T("div", {
@@ -7432,7 +7456,7 @@ function Ir({ children: e, columns: t = 2, className: n = "", ...r }) {
7432
7456
  }
7433
7457
  //#endregion
7434
7458
  //#region src/components/AppFormSection.jsx
7435
- function Lr({ children: e, title: t, description: n, className: r = "", ...i }) {
7459
+ function Rr({ children: e, title: t, description: n, className: r = "", ...i }) {
7436
7460
  return I("AppFormSection", i), /* @__PURE__ */ E("section", {
7437
7461
  className: ["form-section", r].filter(Boolean).join(" "),
7438
7462
  ...i,
@@ -7453,12 +7477,12 @@ function Lr({ children: e, title: t, description: n, className: r = "", ...i })
7453
7477
  }
7454
7478
  //#endregion
7455
7479
  //#region src/components/AppInfoList.jsx
7456
- function Rr({ items: e = [], className: t = "", ...n }) {
7480
+ function zr({ items: e = [], className: t = "", ...n }) {
7457
7481
  return I("AppInfoList", n), /* @__PURE__ */ T("div", {
7458
7482
  className: `info-list${t ? ` ${t}` : ""}`,
7459
7483
  ...n,
7460
7484
  children: e.map((e, t) => {
7461
- let n = yr(e.value), r = /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
7485
+ let n = br(e.value), r = /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
7462
7486
  className: "info-icon",
7463
7487
  children: G(e.icon, { size: 16 })
7464
7488
  }), /* @__PURE__ */ E("span", {
@@ -7484,23 +7508,23 @@ function Rr({ items: e = [], className: t = "", ...n }) {
7484
7508
  }
7485
7509
  //#endregion
7486
7510
  //#region src/components/AppKpiTile.jsx
7487
- var zr = 48, Br = 16;
7488
- function Vr(e) {
7489
- if (!e || e.length < 2) return `0,${Br / 2} ${zr},${Br / 2}`;
7490
- let t = Math.min(...e), n = Math.max(...e) - t, r = zr / (e.length - 1);
7491
- return e.map((e, i) => `${i * r},${n === 0 ? Br / 2 : Br - (e - t) / n * Br}`).join(" ");
7492
- }
7511
+ var Br = 48, Vr = 16;
7493
7512
  function Hr(e) {
7513
+ if (!e || e.length < 2) return `0,${Vr / 2} ${Br},${Vr / 2}`;
7514
+ let t = Math.min(...e), n = Math.max(...e) - t, r = Br / (e.length - 1);
7515
+ return e.map((e, i) => `${i * r},${n === 0 ? Vr / 2 : Vr - (e - t) / n * Vr}`).join(" ");
7516
+ }
7517
+ function Ur(e) {
7494
7518
  if (typeof e != "string") return "flat";
7495
7519
  let t = e.trim();
7496
7520
  return t.startsWith("+") ? "up" : t.startsWith("-") || t.startsWith("−") ? "down" : "flat";
7497
7521
  }
7498
- function Ur({ 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 }) {
7522
+ function Wr({ 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 }) {
7499
7523
  I("AppKpiTile", C);
7500
7524
  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}` : ""}`, D = typeof u == "number" && u > 0 ? {
7501
7525
  ...g,
7502
7526
  "--wui-kpi-value-size": `${u}px`
7503
- } : g, O = o ?? Hr(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
7527
+ } : g, O = o ?? Ur(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
7504
7528
  return p != null && (A = m ? {
7505
7529
  as: m,
7506
7530
  to: p
@@ -7538,12 +7562,12 @@ function Ur({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
7538
7562
  }),
7539
7563
  s && s.length > 0 && /* @__PURE__ */ T("svg", {
7540
7564
  className: `kpi-sparkline${S ? ` ${S}` : ""}`,
7541
- width: zr,
7542
- height: Br,
7543
- viewBox: `0 0 ${zr} ${Br}`,
7565
+ width: Br,
7566
+ height: Vr,
7567
+ viewBox: `0 0 ${Br} ${Vr}`,
7544
7568
  "aria-hidden": "true",
7545
7569
  children: /* @__PURE__ */ T("polyline", {
7546
- points: Vr(s),
7570
+ points: Hr(s),
7547
7571
  stroke: "currentColor",
7548
7572
  fill: "none"
7549
7573
  })
@@ -7553,11 +7577,11 @@ function Ur({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
7553
7577
  }
7554
7578
  //#endregion
7555
7579
  //#region src/components/AppLink.jsx
7556
- var Wr = {
7580
+ var Gr = {
7557
7581
  sm: 13,
7558
7582
  md: 15,
7559
7583
  lg: 18
7560
- }, Gr = [
7584
+ }, Kr = [
7561
7585
  "underline",
7562
7586
  "underline-center",
7563
7587
  "static",
@@ -7571,35 +7595,35 @@ var Wr = {
7571
7595
  "shine",
7572
7596
  "none"
7573
7597
  ];
7574
- function Kr(e, t, n) {
7598
+ function qr(e, t, n) {
7575
7599
  if (!e) return null;
7576
7600
  let r = `wui-link__ic wui-link__ic--${t}`;
7577
7601
  return typeof e == "string" ? /* @__PURE__ */ T("span", {
7578
7602
  className: r,
7579
7603
  children: /* @__PURE__ */ T(W, {
7580
7604
  name: e,
7581
- size: Wr[n] ?? Wr.md
7605
+ size: Gr[n] ?? Gr.md
7582
7606
  })
7583
7607
  }) : /* @__PURE__ */ T("span", {
7584
7608
  className: r,
7585
7609
  children: e
7586
7610
  });
7587
7611
  }
7588
- function qr({ 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 }) {
7589
- I("AppLink", d), z("AppLink", "animation", r, Gr), z("AppLink", "size", o, Object.keys(Wr));
7590
- let f = Gr.includes(r) ? r : "underline", p = f === "icon" && !a && !i ? "arrow-right" : a, m = [
7612
+ function Jr({ 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 }) {
7613
+ I("AppLink", d), z("AppLink", "animation", r, Kr), z("AppLink", "size", o, Object.keys(Gr));
7614
+ let f = Kr.includes(r) ? r : "underline", p = f === "icon" && !a && !i ? "arrow-right" : a, m = [
7591
7615
  "wui-link",
7592
7616
  `wui-link--${f}`,
7593
7617
  o === "md" ? "" : `wui-link--${o}`,
7594
7618
  c ? "is-disabled" : "",
7595
7619
  u
7596
7620
  ].filter(Boolean).join(" "), h = /* @__PURE__ */ E(w, { children: [
7597
- Kr(i, "left", o),
7621
+ qr(i, "left", o),
7598
7622
  /* @__PURE__ */ T("span", {
7599
7623
  className: "wui-link__label",
7600
7624
  children: e ?? t
7601
7625
  }),
7602
- Kr(p, "right", o)
7626
+ qr(p, "right", o)
7603
7627
  ] });
7604
7628
  return c ? /* @__PURE__ */ T("span", {
7605
7629
  className: m,
@@ -7622,13 +7646,13 @@ function qr({ children: e, label: t, href: n, animation: r = "underline", leftIc
7622
7646
  }
7623
7647
  //#endregion
7624
7648
  //#region src/components/AppLogoPicker.jsx
7625
- var Jr = {
7649
+ var Yr = {
7626
7650
  sm: 72,
7627
7651
  md: 120,
7628
7652
  lg: 160
7629
7653
  };
7630
- function Yr({ 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: f = 5, 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: D = "circle", className: O = "", ...k }) {
7631
- I("AppLogoPicker", k), z("AppLogoPicker", "size", typeof w == "string" ? w : null, Object.keys(Jr));
7654
+ function Xr({ 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: f = 5, 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: D = "circle", className: O = "", ...k }) {
7655
+ I("AppLogoPicker", k), z("AppLogoPicker", "size", typeof w == "string" ? w : null, Object.keys(Yr));
7632
7656
  let A = u(null), j = s(), [M, N] = d(null), [P, F] = d(""), [L, R] = d(!1), [ee, B] = d(!1);
7633
7657
  o(() => () => M && URL.revokeObjectURL(M), [M]), o(() => {
7634
7658
  N(null), R(!1);
@@ -7636,7 +7660,7 @@ function Yr({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
7636
7660
  let V = a || c, H = M || (e && !L ? e : null), te = v || P, ne = _ && !te ? `${j}-hint` : void 0, re = te ? `${j}-error` : void 0, ie = !V && (!!M || !!H && !!i), ae = () => {
7637
7661
  V || A.current?.click();
7638
7662
  }, oe = (e) => {
7639
- let t = sn(e, {
7663
+ let t = cn(e, {
7640
7664
  accept: l,
7641
7665
  maxSizeMb: f
7642
7666
  });
@@ -7654,7 +7678,7 @@ function Yr({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
7654
7678
  t && oe(t);
7655
7679
  }, le = () => {
7656
7680
  N(null), F(""), R(!1), A.current && (A.current.value = ""), i?.();
7657
- }, U = typeof w == "number" ? w : Jr[w] ?? Jr.md, ue = Math.max(14, Math.round(U * .18)), de = Math.round(U * .5), fe = [
7681
+ }, U = typeof w == "number" ? w : Yr[w] ?? Yr.md, ue = Math.max(14, Math.round(U * .18)), de = Math.round(U * .5), fe = [
7658
7682
  "set-uploader",
7659
7683
  C === "avatar" ? "set-uploader--avatar" : "",
7660
7684
  D === "rounded" ? "set-uploader--rounded" : D === "square" ? "set-uploader--square" : "",
@@ -7785,27 +7809,27 @@ function Yr({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
7785
7809
  }
7786
7810
  //#endregion
7787
7811
  //#region src/components/AppMeter.jsx
7788
- var Xr = [
7812
+ var Zr = [
7789
7813
  "info",
7790
7814
  "success",
7791
7815
  "warning",
7792
7816
  "danger",
7793
7817
  "neutral"
7794
7818
  ];
7795
- function Zr(e, t, n) {
7819
+ function Qr(e, t, n) {
7796
7820
  let r = n - t;
7797
7821
  if (!(r > 0)) return 0;
7798
7822
  let i = Math.min(100, Math.max(0, (e - t) / r * 100));
7799
7823
  return Number(i.toFixed(2));
7800
7824
  }
7801
- function Qr(e, t, n, r, i) {
7825
+ function $r(e, t, n, r, i) {
7802
7826
  if (t == null && n == null) return i;
7803
7827
  let a = "mid";
7804
7828
  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";
7805
7829
  }
7806
- function $r({ 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 }) {
7830
+ function ei({ 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 }) {
7807
7831
  I("AppMeter", d);
7808
- let f = Qr(e, a, o, i, Xr.includes(r) ? r : "info"), p = Zr(e, t, n);
7832
+ let f = $r(e, a, o, i, Zr.includes(r) ? r : "info"), p = Qr(e, t, n);
7809
7833
  return /* @__PURE__ */ T("div", {
7810
7834
  className: `progress${s === "sm" ? " progress-sm" : ""}${u ? ` ${u}` : ""}`,
7811
7835
  role: "meter",
@@ -7823,20 +7847,20 @@ function $r({ value: e = 0, min: t = 0, max: n = 100, tone: r = "info", optimum:
7823
7847
  }
7824
7848
  //#endregion
7825
7849
  //#region src/components/AppMultiSelect.jsx
7826
- var ei = 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, name: f, id: p, label: m, error: h, hint: g, required: _ = !1, help: v, helpLabel: y = "More information", fieldClassName: b = "", ...x }, S) {
7850
+ var ti = 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, name: f, id: p, label: m, error: h, hint: g, required: _ = !1, help: v, helpLabel: y = "More information", fieldClassName: b = "", ...x }, S) {
7827
7851
  I("AppMultiSelect", x);
7828
- let C = s(), w = p || C, { setRef: D, innerRef: O } = gn({
7852
+ let C = s(), w = p || C, { setRef: D, innerRef: O } = _n({
7829
7853
  ref: S,
7830
7854
  value: e,
7831
7855
  onChange: t,
7832
- readValue: xn,
7833
- writeValue: Sn
7856
+ readValue: Sn,
7857
+ writeValue: Cn
7834
7858
  });
7835
7859
  return o(() => {
7836
7860
  let e = O.current;
7837
7861
  if (!e) return;
7838
7862
  let t = n || [];
7839
- bn(t, e.options) || (e.options = t);
7863
+ xn(t, e.options) || (e.options = t);
7840
7864
  }, [n, O]), /* @__PURE__ */ E("div", {
7841
7865
  className: `field${b ? ` ${b}` : ""}`,
7842
7866
  children: [
@@ -7846,7 +7870,7 @@ var ei = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
7846
7870
  children: [
7847
7871
  m,
7848
7872
  _ && /* @__PURE__ */ T(Q, {}),
7849
- v && /* @__PURE__ */ T(hn, {
7873
+ v && /* @__PURE__ */ T(gn, {
7850
7874
  label: y,
7851
7875
  children: v
7852
7876
  })
@@ -7880,7 +7904,7 @@ var ei = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
7880
7904
  }) : null
7881
7905
  ]
7882
7906
  });
7883
- }), ti = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", value: c, onChange: l, min: u, max: f, step: p = 1, precision: m = 0, unit: h, size: g = "md", id: _, name: y, className: b = "", fieldClassName: x = "", disabled: S = !1, ...C }, w) {
7907
+ }), ni = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", value: c, onChange: l, min: u, max: f, step: p = 1, precision: m = 0, unit: h, size: g = "md", id: _, name: y, className: b = "", fieldClassName: x = "", disabled: S = !1, ...C }, w) {
7884
7908
  I("AppNumberInput", C);
7885
7909
  let D = s(), O = _ || D, k = (e) => {
7886
7910
  if (m === 0) return Math.round(e);
@@ -7985,7 +8009,7 @@ var ei = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
7985
8009
  children: [
7986
8010
  e,
7987
8011
  t && /* @__PURE__ */ T(Q, {}),
7988
- i && /* @__PURE__ */ T(hn, {
8012
+ i && /* @__PURE__ */ T(gn, {
7989
8013
  label: a,
7990
8014
  children: i
7991
8015
  })
@@ -8003,9 +8027,9 @@ var ei = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
8003
8027
  }) : null
8004
8028
  ]
8005
8029
  });
8006
- }), ni = 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) {
8030
+ }), ri = 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) {
8007
8031
  I("AppOtpInput", h);
8008
- let _ = s(), v = f || _, y = l ? `${v}-error` : void 0, b = c ? `${v}-hint` : void 0, x = y || b, { setRef: S } = gn({
8032
+ let _ = s(), v = f || _, y = l ? `${v}-error` : void 0, b = c ? `${v}-hint` : void 0, x = y || b, { setRef: S } = _n({
8009
8033
  ref: g,
8010
8034
  value: e ?? "",
8011
8035
  onChange: t,
@@ -8048,7 +8072,7 @@ var ei = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
8048
8072
  });
8049
8073
  //#endregion
8050
8074
  //#region src/components/AppPageHeader.jsx
8051
- function ri({ 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 }) {
8075
+ function ii({ 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 }) {
8052
8076
  I("AppPageHeader", p);
8053
8077
  let m = [
8054
8078
  "page-header",
@@ -8107,9 +8131,9 @@ function ri({ title: e, subtitle: t, eyebrow: n, icon: r, tone: i = "primary", s
8107
8131
  }
8108
8132
  //#endregion
8109
8133
  //#region src/components/AppPagination.jsx
8110
- function ii({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
8134
+ function ai({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
8111
8135
  if (I("AppPagination", s), t <= 1) return null;
8112
- let c = ur(e, t, { siblingCount: r });
8136
+ let c = dr(e, t, { siblingCount: r });
8113
8137
  return /* @__PURE__ */ T("nav", {
8114
8138
  className: [
8115
8139
  "pagination-nav",
@@ -8167,9 +8191,9 @@ function ii({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "m
8167
8191
  }
8168
8192
  //#endregion
8169
8193
  //#region src/components/AppPhoneNumberInput.jsx
8170
- var ai = 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) {
8194
+ var oi = 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) {
8171
8195
  I("AppPhoneNumberInput", h);
8172
- let _ = s(), v = a || _, y = u && v ? `${v}-error` : void 0, { setRef: b } = gn({
8196
+ let _ = s(), v = a || _, y = u && v ? `${v}-error` : void 0, { setRef: b } = _n({
8173
8197
  ref: g,
8174
8198
  value: e ?? "",
8175
8199
  onChange: t,
@@ -8208,7 +8232,7 @@ var ai = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name:
8208
8232
  });
8209
8233
  //#endregion
8210
8234
  //#region src/components/AppPricingCard.jsx
8211
- function oi({ 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 }) {
8235
+ function si({ 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 }) {
8212
8236
  return I("AppPricingCard", u), /* @__PURE__ */ E("div", {
8213
8237
  className: [
8214
8238
  "plan-card",
@@ -8262,21 +8286,21 @@ function oi({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a,
8262
8286
  }
8263
8287
  //#endregion
8264
8288
  //#region src/components/AppProgress.jsx
8265
- var si = [
8289
+ var ci = [
8266
8290
  "info",
8267
8291
  "success",
8268
8292
  "warning",
8269
8293
  "danger",
8270
8294
  "neutral"
8271
8295
  ];
8272
- function ci(e, t) {
8296
+ function li(e, t) {
8273
8297
  if (!(t > 0)) return 0;
8274
8298
  let n = Math.min(100, Math.max(0, e / t * 100));
8275
8299
  return Number(n.toFixed(2));
8276
8300
  }
8277
- function li({ 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 }) {
8301
+ function ui({ 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 }) {
8278
8302
  I("AppProgress", u);
8279
- let d = si.includes(n) ? n : "info", f = ci(e, t), p = `progress${r === "sm" ? " progress-sm" : ""}${l ? ` ${l}` : ""}`, m = [
8303
+ let d = ci.includes(n) ? n : "info", f = li(e, t), p = `progress${r === "sm" ? " progress-sm" : ""}${l ? ` ${l}` : ""}`, m = [
8280
8304
  "progress-bar",
8281
8305
  `wui-progress-${d}`,
8282
8306
  o || s ? "progress-bar-striped" : "",
@@ -8300,8 +8324,8 @@ function li({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", labe
8300
8324
  }
8301
8325
  //#endregion
8302
8326
  //#region src/components/AppRadio.jsx
8303
- var ui = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
8304
- return I("AppRadio", o), /* @__PURE__ */ T(Un, {
8327
+ var di = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
8328
+ return I("AppRadio", o), /* @__PURE__ */ T(Wn, {
8305
8329
  ref: s,
8306
8330
  label: e,
8307
8331
  id: t,
@@ -8316,7 +8340,7 @@ var ui = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
8316
8340
  });
8317
8341
  //#endregion
8318
8342
  //#region src/components/AppRepeater.jsx
8319
- function di({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, addLabel: a = "Add another", removeLabel: o = "Remove row", emptyText: s, min: c = 0, max: l, numbered: u = !0, className: d = "", ...f }) {
8343
+ function fi({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, addLabel: a = "Add another", removeLabel: o = "Remove row", emptyText: s, min: c = 0, max: l, numbered: u = !0, className: d = "", ...f }) {
8320
8344
  I("AppRepeater", f);
8321
8345
  let p = typeof l == "number" && e.length >= l, m = !!i && e.length > c;
8322
8346
  return /* @__PURE__ */ E("div", {
@@ -8368,7 +8392,7 @@ function di({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
8368
8392
  }
8369
8393
  //#endregion
8370
8394
  //#region src/components/AppResourceCard.jsx
8371
- function fi({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
8395
+ function pi({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
8372
8396
  I("AppResourceCard", s);
8373
8397
  let c = /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
8374
8398
  className: "res-card-icon",
@@ -8402,7 +8426,7 @@ function fi({ icon: e, title: t, text: n, href: r, external: i = !1, linkCompone
8402
8426
  }
8403
8427
  //#endregion
8404
8428
  //#region src/components/AppResult.jsx
8405
- var pi = {
8429
+ var mi = {
8406
8430
  success: {
8407
8431
  icon: "check-circle",
8408
8432
  tone: "success"
@@ -8423,9 +8447,9 @@ var pi = {
8423
8447
  404: { tone: "muted" },
8424
8448
  500: { tone: "muted" }
8425
8449
  };
8426
- function mi({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
8427
- I("AppResult", s), z("AppResult", "status", e, Object.keys(pi));
8428
- let c = pi[e] || pi.info, l = c.tone, u = /^\d+$/.test(e), d = r ?? (u ? null : c.icon);
8450
+ function hi({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
8451
+ I("AppResult", s), z("AppResult", "status", e, Object.keys(mi));
8452
+ let c = mi[e] || mi.info, l = c.tone, u = /^\d+$/.test(e), d = r ?? (u ? null : c.icon);
8429
8453
  return /* @__PURE__ */ E("div", {
8430
8454
  className: [
8431
8455
  "result",
@@ -8463,7 +8487,7 @@ function mi({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, ch
8463
8487
  }
8464
8488
  //#endregion
8465
8489
  //#region src/components/AppScrollbar.jsx
8466
- function hi({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
8490
+ function gi({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
8467
8491
  return I("AppScrollbar", i), /* @__PURE__ */ T("div", {
8468
8492
  className: t ? `wui-scroll ${t}` : "wui-scroll",
8469
8493
  style: n == null ? r : {
@@ -8476,7 +8500,7 @@ function hi({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
8476
8500
  }
8477
8501
  //#endregion
8478
8502
  //#region src/components/AppSearch.jsx
8479
- function gi({ 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 }) {
8503
+ function _i({ 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 }) {
8480
8504
  I("AppSearch", u);
8481
8505
  let d = t || n;
8482
8506
  return /* @__PURE__ */ E("div", {
@@ -8523,7 +8547,7 @@ function gi({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search
8523
8547
  }
8524
8548
  //#endregion
8525
8549
  //#region src/components/AppSegmented.jsx
8526
- function _i({ options: e = [], value: t, onChange: n, label: r, name: i, size: a = "md", fullWidth: l = !1, disabled: d = !1, className: f = "", ...p }) {
8550
+ function vi({ options: e = [], value: t, onChange: n, label: r, name: i, size: a = "md", fullWidth: l = !1, disabled: d = !1, className: f = "", ...p }) {
8527
8551
  I("AppSegmented", p);
8528
8552
  let m = s(), h = i || m, g = u(null), _ = u(null), v = [
8529
8553
  "segmented",
@@ -8597,9 +8621,9 @@ function _i({ options: e = [], value: t, onChange: n, label: r, name: i, size: a
8597
8621
  }
8598
8622
  //#endregion
8599
8623
  //#region src/components/AppSelect.jsx
8600
- var vi = (e) => e == null ? "" : e.label ?? e.text ?? "", yi = i(function({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", searchPlaceholder: i = "Search...", searchable: a = !1, clearable: c = !1, size: l, icon: u, floatingLabel: d = !1, disabled: f, label: p, required: m = !1, error: h, hint: g, help: _, helpLabel: v = "More information", id: y, name: b, className: x = "", fieldClassName: S = "", "aria-label": C, "aria-labelledby": w, "aria-describedby": D, ...O }, k) {
8624
+ var yi = (e) => e == null ? "" : e.label ?? e.text ?? "", bi = i(function({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", searchPlaceholder: i = "Search...", searchable: a = !1, clearable: c = !1, size: l, icon: u, floatingLabel: d = !1, disabled: f, label: p, required: m = !1, error: h, hint: g, help: _, helpLabel: v = "More information", id: y, name: b, className: x = "", fieldClassName: S = "", "aria-label": C, "aria-labelledby": w, "aria-describedby": D, ...O }, k) {
8601
8625
  I("AppSelect", O);
8602
- let A = s(), { setRef: j, innerRef: M } = gn({
8626
+ let A = s(), { setRef: j, innerRef: M } = _n({
8603
8627
  ref: k,
8604
8628
  value: e ?? "",
8605
8629
  onChange: t
@@ -8609,10 +8633,10 @@ var vi = (e) => e == null ? "" : e.label ?? e.text ?? "", yi = i(function({ valu
8609
8633
  if (!e) return;
8610
8634
  let t = n.map((e) => ({
8611
8635
  value: e.value,
8612
- label: vi(e),
8636
+ label: yi(e),
8613
8637
  icon: e.icon
8614
8638
  }));
8615
- bn(t, e.options) || (e.options = t);
8639
+ xn(t, e.options) || (e.options = t);
8616
8640
  }, [n, M]);
8617
8641
  let N = y || A, P = d && p, F = h && N ? `${N}-error` : void 0, L = g && N ? `${N}-hint` : void 0, R = /* @__PURE__ */ T("wui-select", {
8618
8642
  "aria-label": C || (typeof p == "string" ? p : void 0),
@@ -8642,7 +8666,7 @@ var vi = (e) => e == null ? "" : e.label ?? e.text ?? "", yi = i(function({ valu
8642
8666
  children: [
8643
8667
  p,
8644
8668
  m && /* @__PURE__ */ T(Q, {}),
8645
- _ && /* @__PURE__ */ T(hn, {
8669
+ _ && /* @__PURE__ */ T(gn, {
8646
8670
  label: v,
8647
8671
  children: _
8648
8672
  })
@@ -8670,7 +8694,7 @@ var vi = (e) => e == null ? "" : e.label ?? e.text ?? "", yi = i(function({ valu
8670
8694
  });
8671
8695
  //#endregion
8672
8696
  //#region src/components/AppShell.jsx
8673
- function bi({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r, sidebarFooter: i, topbarStart: a, topbarEnd: s, footer: c, children: l, collapsed: u, onCollapsedChange: f, noSidebar: p = !1, navLabel: m = "Main navigation", linkComponent: h, className: g = "", ..._ }) {
8697
+ function xi({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r, sidebarFooter: i, topbarStart: a, topbarEnd: s, footer: c, children: l, collapsed: u, onCollapsedChange: f, noSidebar: p = !1, navLabel: m = "Main navigation", linkComponent: h, className: g = "", ..._ }) {
8674
8698
  I("AppShell", _);
8675
8699
  let [v, y] = d(!1), [b, x] = d(!1), [S, C] = d(!1), w = u ?? v, D = () => {
8676
8700
  let e = !w;
@@ -8718,7 +8742,7 @@ function bi({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
8718
8742
  children: [e.label && /* @__PURE__ */ T("div", {
8719
8743
  className: "app-nav-group-label",
8720
8744
  children: e.label
8721
- }), e.items.map((e) => /* @__PURE__ */ T(xi, {
8745
+ }), e.items.map((e) => /* @__PURE__ */ T(Si, {
8722
8746
  item: e,
8723
8747
  linkComponent: h,
8724
8748
  onNavigate: () => x(!1)
@@ -8738,8 +8762,8 @@ function bi({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
8738
8762
  "aria-label": w ? "Expand navigation" : "Collapse navigation",
8739
8763
  "aria-expanded": !w,
8740
8764
  children: /* @__PURE__ */ T(W, {
8741
- name: "chevron-left",
8742
- size: 14
8765
+ name: "chevrons-left",
8766
+ size: 20
8743
8767
  })
8744
8768
  }),
8745
8769
  /* @__PURE__ */ E("div", {
@@ -8785,7 +8809,7 @@ function bi({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
8785
8809
  ]
8786
8810
  });
8787
8811
  }
8788
- function xi({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
8812
+ function Si({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
8789
8813
  let i = Array.isArray(e.children) && e.children.length > 0, a = i && e.children.some((e) => e.active), [s, c] = d(a);
8790
8814
  o(() => {
8791
8815
  a && !s && c(!0);
@@ -8827,7 +8851,7 @@ function xi({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
8827
8851
  "aria-hidden": !s || void 0,
8828
8852
  children: /* @__PURE__ */ T("div", {
8829
8853
  className: "app-nav-sub-inner",
8830
- children: e.children.map((e) => /* @__PURE__ */ T(xi, {
8854
+ children: e.children.map((e) => /* @__PURE__ */ T(Si, {
8831
8855
  item: e,
8832
8856
  linkComponent: t,
8833
8857
  onNavigate: n,
@@ -8868,7 +8892,7 @@ function xi({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
8868
8892
  }
8869
8893
  //#endregion
8870
8894
  //#region src/components/AppSidebarMenu.jsx
8871
- var Si = {
8895
+ var Ci = {
8872
8896
  left: "start",
8873
8897
  right: "end",
8874
8898
  start: "start",
@@ -8876,9 +8900,9 @@ var Si = {
8876
8900
  top: "top",
8877
8901
  bottom: "bottom"
8878
8902
  };
8879
- function Ci({ 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 }) {
8880
- I("AppSidebarMenu", v), z("AppSidebarMenu", "side", n, Object.keys(Si));
8881
- let { style: y, ...x } = v, S = Si[n] || "end", C = c || l || y ? {
8903
+ function wi({ 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 }) {
8904
+ I("AppSidebarMenu", v), z("AppSidebarMenu", "side", n, Object.keys(Ci));
8905
+ let { style: y, ...x } = v, S = Ci[n] || "end", C = c || l || y ? {
8882
8906
  ...c && { "--asm-width": c },
8883
8907
  ...l && { "--asm-max-width": l },
8884
8908
  ...y
@@ -8931,14 +8955,14 @@ function Ci({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, hea
8931
8955
  }
8932
8956
  //#endregion
8933
8957
  //#region src/components/AppSlider.jsx
8934
- var wi = 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 = "", ...D }, O) {
8958
+ var Ti = 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 = "", ...D }, O) {
8935
8959
  I("AppSlider", D);
8936
- let k = s(), A = x || k, j = r, { setRef: M, innerRef: N } = gn({
8960
+ let k = s(), A = x || k, j = r, { setRef: M, innerRef: N } = _n({
8937
8961
  ref: O,
8938
8962
  value: j ? void 0 : e,
8939
8963
  onChange: i,
8940
- readValue: j ? Cn : void 0,
8941
- writeValue: j ? void 0 : wn
8964
+ readValue: j ? wn : void 0,
8965
+ writeValue: j ? void 0 : Tn
8942
8966
  });
8943
8967
  o(() => {
8944
8968
  if (!j) return;
@@ -8992,14 +9016,14 @@ var wi = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, la
8992
9016
  })
8993
9017
  ]
8994
9018
  });
8995
- }), Ti = {
9019
+ }), Ei = {
8996
9020
  sm: 44,
8997
9021
  md: 56,
8998
9022
  lg: 72
8999
9023
  };
9000
- function Ei({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
9001
- I("AppSplash", c), z("AppSplash", "size", typeof a == "string" ? a : null, Object.keys(Ti));
9002
- let { style: l, ...u } = c, d = typeof a == "number" ? a : Ti[a] ?? Ti.md, f = i === "ring" ? /* @__PURE__ */ T("span", {
9024
+ function Di({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
9025
+ I("AppSplash", c), z("AppSplash", "size", typeof a == "string" ? a : null, Object.keys(Ei));
9026
+ let { style: l, ...u } = c, d = typeof a == "number" ? a : Ei[a] ?? Ei.md, f = i === "ring" ? /* @__PURE__ */ T("span", {
9003
9027
  className: "splash-ring",
9004
9028
  "aria-hidden": "true"
9005
9029
  }) : i === "dots" ? /* @__PURE__ */ E("span", {
@@ -9046,7 +9070,7 @@ function Ei({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", siz
9046
9070
  }
9047
9071
  //#endregion
9048
9072
  //#region src/components/AppStatusBadge.jsx
9049
- function Di({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
9073
+ function Oi({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
9050
9074
  return I("AppStatusBadge", a), e == null || e === "" ? "—" : H(/* @__PURE__ */ T("span", {
9051
9075
  className: `status-label ${t}${n ? ` ${n}` : ""}`,
9052
9076
  ...a,
@@ -9055,7 +9079,7 @@ function Di({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tool
9055
9079
  }
9056
9080
  //#endregion
9057
9081
  //#region src/components/AppStepper.jsx
9058
- function Oi({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
9082
+ function ki({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
9059
9083
  I("AppStepper", c);
9060
9084
  let l = t === "journey";
9061
9085
  return /* @__PURE__ */ T("nav", {
@@ -9068,7 +9092,7 @@ function Oi({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
9068
9092
  "aria-label": a,
9069
9093
  ...c,
9070
9094
  children: e.map((t, n) => {
9071
- let a = t.status || ki(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
9095
+ let a = t.status || Ai(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
9072
9096
  c = a === "done" ? /* @__PURE__ */ T(W, {
9073
9097
  name: "check",
9074
9098
  size: 14
@@ -9132,13 +9156,13 @@ function Oi({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
9132
9156
  })
9133
9157
  });
9134
9158
  }
9135
- function ki(e, t) {
9159
+ function Ai(e, t) {
9136
9160
  return typeof t == "number" ? e < t ? "done" : e === t ? "active" : "pending" : "pending";
9137
9161
  }
9138
9162
  //#endregion
9139
9163
  //#region src/components/AppSwitch.jsx
9140
- var Ai = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "pill", className: o = "", ...s }, c) {
9141
- return I("AppSwitch", s), /* @__PURE__ */ T(Un, {
9164
+ var ji = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "pill", className: o = "", ...s }, c) {
9165
+ return I("AppSwitch", s), /* @__PURE__ */ T(Wn, {
9142
9166
  ref: c,
9143
9167
  label: e,
9144
9168
  id: t,
@@ -9153,7 +9177,7 @@ var Ai = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "p
9153
9177
  });
9154
9178
  //#endregion
9155
9179
  //#region src/components/AppTableEmptyState.jsx
9156
- function ji({ icon: e, title: t, text: n, action: r, ...i }) {
9180
+ function Mi({ icon: e, title: t, text: n, action: r, ...i }) {
9157
9181
  return I("AppTableEmptyState", i), /* @__PURE__ */ E("div", {
9158
9182
  className: "tbl-empty",
9159
9183
  ...i,
@@ -9179,8 +9203,8 @@ function ji({ icon: e, title: t, text: n, action: r, ...i }) {
9179
9203
  }
9180
9204
  //#endregion
9181
9205
  //#region src/components/AppTabs.jsx
9182
- var Mi = 1, Ni = 28, Pi = .7;
9183
- function Fi({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "underline", orientation: s = "horizontal", size: l = "md", fitted: f = !1, activation: p = "automatic", ariaLabel: m, className: h = "", style: g, ..._ }) {
9206
+ var Ni = 1, Pi = 28, Fi = .7;
9207
+ function Ii({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "underline", orientation: s = "horizontal", size: l = "md", fitted: f = !1, activation: p = "automatic", ariaLabel: m, className: h = "", style: g, ..._ }) {
9184
9208
  I("AppTabs", _);
9185
9209
  let v = u(null), y = u(null), b = s === "vertical", [x, S] = d(t);
9186
9210
  o(() => {
@@ -9192,7 +9216,7 @@ function Fi({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
9192
9216
  let e = v.current, t = y.current;
9193
9217
  if (!e || !t || b) return;
9194
9218
  let n = e.scrollWidth - e.clientWidth;
9195
- t.classList.toggle("is-overflow-start", e.scrollLeft > Mi), t.classList.toggle("is-overflow-end", n > Mi && e.scrollLeft < n - Mi);
9219
+ t.classList.toggle("is-overflow-start", e.scrollLeft > Ni), t.classList.toggle("is-overflow-end", n > Ni && e.scrollLeft < n - Ni);
9196
9220
  }, [b]), M = a(() => {
9197
9221
  let n = v.current;
9198
9222
  if (!n) return;
@@ -9208,7 +9232,7 @@ function Fi({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
9208
9232
  if (!e || b) return;
9209
9233
  let t = e.querySelector(".app-tab.active");
9210
9234
  if (!t) return;
9211
- let n = Ni, r = t.offsetLeft, i = r + t.offsetWidth;
9235
+ let n = Pi, r = t.offsetLeft, i = r + t.offsetWidth;
9212
9236
  r - n < e.scrollLeft ? e.scrollLeft = Math.max(0, r - n) : i + n > e.scrollLeft + e.clientWidth && (e.scrollLeft = i + n - e.clientWidth);
9213
9237
  }, [b]);
9214
9238
  c(() => {
@@ -9243,7 +9267,7 @@ function Fi({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
9243
9267
  }
9244
9268
  let L = (e) => {
9245
9269
  let t = v.current;
9246
- t && t.scrollBy({ left: e * t.clientWidth * Pi });
9270
+ t && t.scrollBy({ left: e * t.clientWidth * Fi });
9247
9271
  }, R = [
9248
9272
  "app-tabs",
9249
9273
  i === "pills" ? "app-tabs-pills" : "",
@@ -9356,14 +9380,14 @@ function Fi({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
9356
9380
  }
9357
9381
  //#endregion
9358
9382
  //#region src/components/AppTagInput.jsx
9359
- var Ii = 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) {
9383
+ var Li = 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) {
9360
9384
  I("AppTagInput", y);
9361
- let x = s(), S = p || x, { setRef: C } = gn({
9385
+ let x = s(), S = p || x, { setRef: C } = _n({
9362
9386
  ref: b,
9363
9387
  value: e,
9364
9388
  onChange: t,
9365
- readValue: xn,
9366
- writeValue: Sn
9389
+ readValue: Sn,
9390
+ writeValue: Cn
9367
9391
  });
9368
9392
  return /* @__PURE__ */ E("div", {
9369
9393
  className: `field${g ? ` ${g}` : ""}`,
@@ -9374,7 +9398,7 @@ var Ii = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
9374
9398
  children: [
9375
9399
  i,
9376
9400
  c && /* @__PURE__ */ T(Q, {}),
9377
- _ && /* @__PURE__ */ T(hn, {
9401
+ _ && /* @__PURE__ */ T(gn, {
9378
9402
  label: v,
9379
9403
  children: _
9380
9404
  })
@@ -9407,7 +9431,7 @@ var Ii = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
9407
9431
  }) : null
9408
9432
  ]
9409
9433
  });
9410
- }), Li = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: l = "More information", id: f, name: p, rows: m = 4, autoGrow: h = !1, showCount: g = !1, maxLength: _, className: y = "", fieldClassName: b = "", ...x }, S) {
9434
+ }), Ri = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: l = "More information", id: f, name: p, rows: m = 4, autoGrow: h = !1, showCount: g = !1, maxLength: _, className: y = "", fieldClassName: b = "", ...x }, S) {
9411
9435
  I("AppTextarea", x);
9412
9436
  let C = s(), w = f || C, D = [
9413
9437
  "textarea",
@@ -9443,7 +9467,7 @@ var Ii = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
9443
9467
  children: [
9444
9468
  e,
9445
9469
  t && /* @__PURE__ */ T(Q, {}),
9446
- i && /* @__PURE__ */ T(hn, {
9470
+ i && /* @__PURE__ */ T(gn, {
9447
9471
  label: l,
9448
9472
  children: i
9449
9473
  })
@@ -9478,7 +9502,7 @@ var Ii = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
9478
9502
  })
9479
9503
  ]
9480
9504
  });
9481
- }), Ri = {
9505
+ }), zi = {
9482
9506
  done: "check",
9483
9507
  current: "clock",
9484
9508
  "on-hold": "lock",
@@ -9487,7 +9511,7 @@ var Ii = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
9487
9511
  skipped: "arrow-right",
9488
9512
  upcoming: null
9489
9513
  };
9490
- function zi({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
9514
+ function Bi({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
9491
9515
  I("AppTimeline", o);
9492
9516
  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;
9493
9517
  return /* @__PURE__ */ T("ol", {
@@ -9498,7 +9522,7 @@ function zi({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
9498
9522
  } : a,
9499
9523
  ...o,
9500
9524
  children: e.map((e, t) => {
9501
- let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? Ri[n] : void 0) : e.icon || "circle";
9525
+ let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? zi[n] : void 0) : e.icon || "circle";
9502
9526
  return /* @__PURE__ */ E("li", {
9503
9527
  className: `timeline-item${r}${i}`,
9504
9528
  children: [/* @__PURE__ */ T("span", {
@@ -9568,9 +9592,9 @@ function zi({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
9568
9592
  }
9569
9593
  //#endregion
9570
9594
  //#region src/components/AppTimePicker.jsx
9571
- var Bi = 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) {
9595
+ var Vi = 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) {
9572
9596
  I("AppTimePicker", y);
9573
- let x = s(), S = h || o || x, { setRef: C } = gn({
9597
+ let x = s(), S = h || o || x, { setRef: C } = _n({
9574
9598
  ref: b,
9575
9599
  value: e ?? "",
9576
9600
  onChange: t
@@ -9613,35 +9637,35 @@ var Bi = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
9613
9637
  })
9614
9638
  ]
9615
9639
  });
9616
- }), Vi = 6, $ = [], Hi = /* @__PURE__ */ new Set(), Ui = /* @__PURE__ */ new Map(), Wi = /* @__PURE__ */ new Set(), Gi = 0;
9617
- function Ki() {
9618
- for (let e of Hi) e($);
9619
- }
9620
- function qi(e) {
9621
- let t = Ui.get(e);
9622
- t !== void 0 && (clearTimeout(t), Ui.delete(e));
9640
+ }), Hi = 6, $ = [], Ui = /* @__PURE__ */ new Set(), Wi = /* @__PURE__ */ new Map(), Gi = /* @__PURE__ */ new Set(), Ki = 0;
9641
+ function qi() {
9642
+ for (let e of Ui) e($);
9623
9643
  }
9624
9644
  function Ji(e) {
9625
- if (e.length <= Vi) return e;
9645
+ let t = Wi.get(e);
9646
+ t !== void 0 && (clearTimeout(t), Wi.delete(e));
9647
+ }
9648
+ function Yi(e) {
9649
+ if (e.length <= Hi) return e;
9626
9650
  let t = [...e], n = [];
9627
- for (; t.length > Vi;) {
9651
+ for (; t.length > Hi;) {
9628
9652
  let e = t.findIndex((e) => e.duration !== 0);
9629
9653
  n.push(t.splice(e === -1 ? 0 : e, 1)[0]);
9630
9654
  }
9631
- for (let e of n) qi(e.id), Wi.delete(e.id);
9655
+ for (let e of n) Ji(e.id), Gi.delete(e.id);
9632
9656
  return t;
9633
9657
  }
9634
- function Yi(e) {
9635
- return Hi.add(e), e($), () => {
9636
- if (Hi.delete(e), Hi.size === 0) for (let e of $) e.duration > 0 && !Ui.has(e.id) && (Wi.delete(e.id), Ui.set(e.id, setTimeout(() => Qi(e.id), e.duration)));
9658
+ function Xi(e) {
9659
+ return Ui.add(e), e($), () => {
9660
+ if (Ui.delete(e), Ui.size === 0) for (let e of $) e.duration > 0 && !Wi.has(e.id) && (Gi.delete(e.id), Wi.set(e.id, setTimeout(() => $i(e.id), e.duration)));
9637
9661
  };
9638
9662
  }
9639
- function Xi(e, t, n = {}) {
9663
+ function Zi(e, t, n = {}) {
9640
9664
  let r = n.id, i = r || typeof e != "string" ? void 0 : `${t}:${e}`;
9641
9665
  if (r) {
9642
9666
  let i = $.find((e) => e.externalId === r);
9643
9667
  if (i) {
9644
- qi(i.id);
9668
+ Ji(i.id);
9645
9669
  let r = n.duration === void 0 ? 5e3 : n.duration;
9646
9670
  $ = $.map((a) => a.id === i.id ? {
9647
9671
  ...a,
@@ -9654,12 +9678,12 @@ function Xi(e, t, n = {}) {
9654
9678
  shape: n.shape,
9655
9679
  surface: n.surface,
9656
9680
  progress: n.progress
9657
- } : a), Ki(), r > 0 && !Wi.has(i.id) && Ui.set(i.id, setTimeout(() => Qi(i.id), r));
9681
+ } : a), qi(), r > 0 && !Gi.has(i.id) && Wi.set(i.id, setTimeout(() => $i(i.id), r));
9658
9682
  return;
9659
9683
  }
9660
9684
  } else if (i && $.some((e) => e.key === i)) return;
9661
- let a = ++Gi, o = n.duration === void 0 ? 5e3 : n.duration;
9662
- $ = Ji([...$, {
9685
+ let a = ++Ki, o = n.duration === void 0 ? 5e3 : n.duration;
9686
+ $ = Yi([...$, {
9663
9687
  id: a,
9664
9688
  externalId: r,
9665
9689
  message: e,
@@ -9672,25 +9696,25 @@ function Xi(e, t, n = {}) {
9672
9696
  surface: n.surface,
9673
9697
  progress: n.progress,
9674
9698
  key: i
9675
- }]), Ki(), o > 0 && Ui.set(a, setTimeout(() => Qi(a), o));
9676
- }
9677
- function Zi(e) {
9678
- qi(e), Wi.add(e);
9699
+ }]), qi(), o > 0 && Wi.set(a, setTimeout(() => $i(a), o));
9679
9700
  }
9680
9701
  function Qi(e) {
9681
- qi(e), Wi.delete(e);
9702
+ Ji(e), Gi.add(e);
9703
+ }
9704
+ function $i(e) {
9705
+ Ji(e), Gi.delete(e);
9682
9706
  let t = $.filter((t) => t.id !== e);
9683
- t.length !== $.length && ($ = t, Ki());
9707
+ t.length !== $.length && ($ = t, qi());
9684
9708
  }
9685
- function $i() {
9686
- if (!($.length === 0 && Ui.size === 0 && Wi.size === 0)) {
9687
- for (let e of Ui.values()) clearTimeout(e);
9688
- Ui.clear(), Wi.clear(), $.length !== 0 && ($ = [], Ki());
9709
+ function ea() {
9710
+ if (!($.length === 0 && Wi.size === 0 && Gi.size === 0)) {
9711
+ for (let e of Wi.values()) clearTimeout(e);
9712
+ Wi.clear(), Gi.clear(), $.length !== 0 && ($ = [], qi());
9689
9713
  }
9690
9714
  }
9691
9715
  //#endregion
9692
9716
  //#region src/components/AppToast.jsx
9693
- var ea = {
9717
+ var ta = {
9694
9718
  success: {
9695
9719
  icon: "check-circle",
9696
9720
  assertive: !1
@@ -9707,7 +9731,7 @@ var ea = {
9707
9731
  icon: "alert-circle",
9708
9732
  assertive: !0
9709
9733
  }
9710
- }, ta = {
9734
+ }, na = {
9711
9735
  "top-start": "top-0 start-0",
9712
9736
  "top-center": "top-0 start-50 translate-middle-x",
9713
9737
  "top-end": "top-0 end-0",
@@ -9715,21 +9739,21 @@ var ea = {
9715
9739
  "bottom-start": "bottom-0 start-0",
9716
9740
  "bottom-center": "bottom-0 start-50 translate-middle-x",
9717
9741
  "bottom-end": "bottom-0 end-0"
9718
- }, na = 64, ra = /* @__PURE__ */ new Set([
9742
+ }, ra = 64, ia = /* @__PURE__ */ new Set([
9719
9743
  "rise",
9720
9744
  "organic",
9721
9745
  "jelly",
9722
9746
  "spring"
9723
- ]), ia = /* @__PURE__ */ new Set([
9747
+ ]), aa = /* @__PURE__ */ new Set([
9724
9748
  "rounded",
9725
9749
  "pill",
9726
9750
  "sharp"
9727
- ]), aa = /* @__PURE__ */ new Set(["auto", "inverse"]);
9728
- function oa({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
9729
- I("AppToast", s), z("AppToast", "position", e, Object.keys(ta)), z("AppToast", "animation", n, ra), z("AppToast", "shape", r, ia), z("AppToast", "surface", i, aa);
9751
+ ]), oa = /* @__PURE__ */ new Set(["auto", "inverse"]);
9752
+ function sa({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
9753
+ I("AppToast", s), z("AppToast", "position", e, Object.keys(na)), z("AppToast", "animation", n, ia), z("AppToast", "shape", r, aa), z("AppToast", "surface", i, oa);
9730
9754
  let [c, l] = d([]);
9731
- o(() => Yi(l), []);
9732
- let u = Math.max(0, c.length - t), f = u ? c.slice(u) : c, p = ta[e] ?? ta["bottom-end"];
9755
+ o(() => Xi(l), []);
9756
+ let u = Math.max(0, c.length - t), f = u ? c.slice(u) : c, p = na[e] ?? na["bottom-end"];
9733
9757
  return /* @__PURE__ */ E("div", {
9734
9758
  ...s,
9735
9759
  className: `wui-toast-container toast-container position-fixed ${p} p-3 ${a}`.trim(),
@@ -9741,7 +9765,7 @@ function oa({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
9741
9765
  u,
9742
9766
  " more"
9743
9767
  ]
9744
- }), f.map((e) => /* @__PURE__ */ T(sa, {
9768
+ }), f.map((e) => /* @__PURE__ */ T(ca, {
9745
9769
  toast: e,
9746
9770
  defaultAnimation: n,
9747
9771
  defaultShape: r,
@@ -9749,14 +9773,14 @@ function oa({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
9749
9773
  }, e.id))]
9750
9774
  });
9751
9775
  }
9752
- function sa({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
9753
- let i = ea[e.variant] ?? ea.success, a = ra.has(e.animation) ? e.animation : t, s = ia.has(e.shape) ? e.shape : n, c = aa.has(e.surface) ? e.surface : r, l = (a !== "rise" && ra.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && ia.has(s) ? ` wui-toast--shape-${s}` : "") + (c === "inverse" ? " wui-toast--surface-inverse" : ""), f = e.duration === 0, [p, m] = d(0), [h, g] = d(!1), _ = u(null), v = () => Qi(e.id), y = u(null);
9776
+ function ca({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
9777
+ let i = ta[e.variant] ?? ta.success, a = ia.has(e.animation) ? e.animation : t, s = aa.has(e.shape) ? e.shape : n, c = oa.has(e.surface) ? e.surface : r, l = (a !== "rise" && ia.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && aa.has(s) ? ` wui-toast--shape-${s}` : "") + (c === "inverse" ? " wui-toast--surface-inverse" : ""), f = e.duration === 0, [p, m] = d(0), [h, g] = d(!1), _ = u(null), v = () => $i(e.id), y = u(null);
9754
9778
  o(() => {
9755
9779
  if (e.duration === 0) return;
9756
- Zi(e.id);
9780
+ Qi(e.id);
9757
9781
  let t = y.current, n = t == null ? "" : getComputedStyle(t).animationName;
9758
9782
  if (t != null && (typeof t.getAnimations == "function" ? t.getAnimations().length > 0 : n !== "" && n !== "none")) return;
9759
- let r = setTimeout(() => Qi(e.id), e.duration);
9783
+ let r = setTimeout(() => $i(e.id), e.duration);
9760
9784
  return () => clearTimeout(r);
9761
9785
  }, [e.id, e.duration]);
9762
9786
  let b = (e) => {
@@ -9768,7 +9792,7 @@ function sa({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
9768
9792
  }, C = (e) => {
9769
9793
  if (_.current === null) return;
9770
9794
  let t = e.clientX - _.current;
9771
- if (Math.abs(t) > na) {
9795
+ if (Math.abs(t) > ra) {
9772
9796
  v();
9773
9797
  return;
9774
9798
  }
@@ -9852,7 +9876,7 @@ function sa({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
9852
9876
  }
9853
9877
  //#endregion
9854
9878
  //#region src/components/AppToolbar.jsx
9855
- function ca({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
9879
+ function la({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
9856
9880
  I("AppToolbar", u);
9857
9881
  let f = s(), p = o || f, [m, h] = d(r), g = n === void 0 ? m : n;
9858
9882
  return /* @__PURE__ */ E("div", {
@@ -9910,7 +9934,7 @@ function ca({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelec
9910
9934
  }
9911
9935
  //#endregion
9912
9936
  //#region src/components/AppWizard.jsx
9913
- var la = i(function({ steps: t = [], children: n, active: r, defaultActive: i = 0, onStepChange: a, onFinish: s, onSkip: c, beforeNext: l, onInvalid: d, 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 = "", ...E }, D) {
9937
+ var ua = i(function({ steps: t = [], children: n, active: r, defaultActive: i = 0, onStepChange: a, onFinish: s, onSkip: c, beforeNext: l, onInvalid: d, 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 = "", ...E }, D) {
9914
9938
  I("AppWizard", E);
9915
9939
  let O = u(null), k = (e) => {
9916
9940
  O.current = e, typeof D == "function" ? D(e) : D && (D.current = e);
@@ -9962,13 +9986,13 @@ var la = i(function({ steps: t = [], children: n, active: r, defaultActive: i =
9962
9986
  children: A[t]
9963
9987
  }, e.key ?? `${e.label}-${t}`))
9964
9988
  });
9965
- }), ua = /* @__PURE__ */ new Set([
9989
+ }), da = /* @__PURE__ */ new Set([
9966
9990
  "ArrowUp",
9967
9991
  "ArrowDown",
9968
9992
  "ArrowLeft",
9969
9993
  "ArrowRight"
9970
9994
  ]);
9971
- function da({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAction: i, linkComponent: a, searchable: s = !1, onCreate: c, canCreate: f = !1, createLabel: p = "Create workspace", compact: m = !1, size: h = "md", ariaLabel: g, ...v }) {
9995
+ function fa({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAction: i, linkComponent: a, searchable: s = !1, onCreate: c, canCreate: f = !1, createLabel: p = "Create workspace", compact: m = !1, size: h = "md", ariaLabel: g, ...v }) {
9972
9996
  let { onToggle: y, ...b } = v;
9973
9997
  I("AppWorkspaceSwitcher", b);
9974
9998
  let [x, S] = d(""), [C, w] = d(!1), D = u(null), O = (e, t) => {
@@ -9988,7 +10012,7 @@ function da({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
9988
10012
  let e = D.current;
9989
10013
  if (!e) return;
9990
10014
  let t = (e) => {
9991
- if (ua.has(e.key)) {
10015
+ if (da.has(e.key)) {
9992
10016
  e.stopPropagation();
9993
10017
  return;
9994
10018
  }
@@ -10006,7 +10030,7 @@ function da({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
10006
10030
  onToggle: O,
10007
10031
  ...b,
10008
10032
  children: [/* @__PURE__ */ T(_.Toggle, {
10009
- as: ha,
10033
+ as: ga,
10010
10034
  compact: m,
10011
10035
  tenant: k,
10012
10036
  "aria-label": M
@@ -10041,7 +10065,7 @@ function da({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
10041
10065
  className: `workspace-switcher-option${e.id === k?.id ? " is-active" : ""}`,
10042
10066
  onClick: () => n?.(e),
10043
10067
  children: [
10044
- /* @__PURE__ */ T(pa, { tenant: e }),
10068
+ /* @__PURE__ */ T(ma, { tenant: e }),
10045
10069
  /* @__PURE__ */ T("span", {
10046
10070
  className: "workspace-switcher-option-name",
10047
10071
  children: e.name
@@ -10073,17 +10097,17 @@ function da({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
10073
10097
  }) : null,
10074
10098
  i ? /* @__PURE__ */ T("div", {
10075
10099
  className: "workspace-switcher-footer",
10076
- children: ma(i, a)
10100
+ children: ha(i, a)
10077
10101
  }) : null
10078
10102
  ]
10079
10103
  })]
10080
10104
  });
10081
10105
  }
10082
- function fa(e) {
10106
+ function pa(e) {
10083
10107
  let t = String(e ?? "").trim().split(/\s+/).filter(Boolean);
10084
10108
  return t.length === 0 ? "" : (t[0][0] + (t.length > 1 ? t[t.length - 1][0] : "")).toUpperCase();
10085
10109
  }
10086
- function pa({ tenant: e }) {
10110
+ function ma({ tenant: e }) {
10087
10111
  return e?.logoUrl ? /* @__PURE__ */ T("img", {
10088
10112
  className: "workspace-switcher-mark",
10089
10113
  src: e.logoUrl,
@@ -10091,10 +10115,10 @@ function pa({ tenant: e }) {
10091
10115
  loading: "lazy"
10092
10116
  }) : /* @__PURE__ */ T("span", {
10093
10117
  className: "workspace-switcher-mark",
10094
- children: fa(e?.name)
10118
+ children: pa(e?.name)
10095
10119
  });
10096
10120
  }
10097
- function ma(e, t) {
10121
+ function ha(e, t) {
10098
10122
  if (typeof e != "object" || !e || !("label" in e)) return e;
10099
10123
  let { label: n, icon: r, href: i } = e;
10100
10124
  return /* @__PURE__ */ E(i ? t ?? "a" : "button", {
@@ -10106,7 +10130,7 @@ function ma(e, t) {
10106
10130
  }) : null, n]
10107
10131
  });
10108
10132
  }
10109
- var ha = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
10133
+ var ga = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
10110
10134
  return /* @__PURE__ */ E("button", {
10111
10135
  ref: a,
10112
10136
  type: "button",
@@ -10114,7 +10138,7 @@ var ha = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
10114
10138
  "aria-haspopup": "true",
10115
10139
  "aria-label": n,
10116
10140
  ...i,
10117
- children: [/* @__PURE__ */ T(pa, { tenant: t }), e ? null : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
10141
+ children: [/* @__PURE__ */ T(ma, { tenant: t }), e ? null : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
10118
10142
  className: "workspace-switcher-trigger-name",
10119
10143
  children: t?.name
10120
10144
  }), /* @__PURE__ */ T(W, {
@@ -10126,36 +10150,36 @@ var ha = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
10126
10150
  });
10127
10151
  //#endregion
10128
10152
  //#region src/components/toast.js
10129
- function ga() {
10130
- $i();
10153
+ function _a() {
10154
+ ea();
10131
10155
  }
10132
- var _a = /* @__PURE__ */ new Set([
10156
+ var va = /* @__PURE__ */ new Set([
10133
10157
  "success",
10134
10158
  "info",
10135
10159
  "warning",
10136
10160
  "danger"
10137
10161
  ]);
10138
- function va(e, t = "info") {
10162
+ function ya(e, t = "info") {
10139
10163
  let n = "info", r = {};
10140
- typeof t == "string" ? n = _a.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = _a.has(r.variant) ? r.variant : "info"), Xi(e, n, r);
10164
+ typeof t == "string" ? n = va.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = va.has(r.variant) ? r.variant : "info"), Zi(e, n, r);
10141
10165
  }
10142
- function ya(e, t = {}) {
10143
- Xi(e, "danger", t);
10166
+ function ba(e, t = {}) {
10167
+ Zi(e, "danger", t);
10144
10168
  }
10145
- va.promise = (e, t, n = {}) => {
10169
+ ya.promise = (e, t, n = {}) => {
10146
10170
  let r = n.id || `promise-${Date.now()}-${Math.random()}`;
10147
- return va(t.loading || "Loading...", {
10171
+ return ya(t.loading || "Loading...", {
10148
10172
  ...n,
10149
10173
  variant: "info",
10150
10174
  id: r,
10151
10175
  duration: 0
10152
- }), e.then((e) => (va((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
10176
+ }), e.then((e) => (ya((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
10153
10177
  ...n,
10154
10178
  variant: "success",
10155
10179
  id: r,
10156
10180
  duration: n.duration === void 0 ? 5e3 : n.duration
10157
10181
  }), e)).catch((e) => {
10158
- throw va((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
10182
+ throw ya((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
10159
10183
  ...n,
10160
10184
  variant: "danger",
10161
10185
  id: r,
@@ -10165,7 +10189,7 @@ va.promise = (e, t, n = {}) => {
10165
10189
  };
10166
10190
  //#endregion
10167
10191
  //#region src/lib/usePagination.js
10168
- function ba(e, t = 10) {
10192
+ function xa(e, t = 10) {
10169
10193
  let [n, r] = d(1), [i, a] = d(t), s = e.length, c = Math.max(1, Math.ceil(s / i));
10170
10194
  o(() => {
10171
10195
  n > c && r(c);
@@ -10191,4 +10215,4 @@ function ba(e, t = 10) {
10191
10215
  };
10192
10216
  }
10193
10217
  //#endregion
10194
- export { xe as AppAccordion, Se as AppActionIcon, Te as AppAlert, Me as AppAsyncBlock, Tn as AppAutocomplete, jn as AppAvatar, Pn as AppAvatarGroup, Fn as AppBadge, Ln as AppBanner, Rn as AppBreadcrumbs, ke as AppButton, Bn as AppCallout, Hn as AppCard, Wn as AppCheckbox, Gn as AppChip, Kn as AppChoiceCard, qn as AppChoiceChip, Jn as AppColorField, Yn as AppCompareTable, ir as AppConfirmDialog, or as AppCopyButton, gr as AppDataTable, _r as AppDatePicker, vr as AppDateRangePicker, br as AppDescriptions, Cr as AppDropdown, Ae as AppEmptyState, Tr as AppFeedback, jr as AppFileAttachment, Nr as AppFilePicker, Pr as AppFloatingDock, Fr as AppFormActions, Ir as AppFormRow, Lr as AppFormSection, W as AppIcon, Rr as AppInfoList, hn as AppInfoTip, Xn as AppInput, Ur as AppKpiTile, qr as AppLink, Yr as AppLogoPicker, $r as AppMeter, tr as AppModal, ei as AppMultiSelect, ti as AppNumberInput, ni as AppOtpInput, ri as AppPageHeader, ii as AppPagination, ai as AppPhoneNumberInput, mn as AppPopover, oi as AppPricingCard, li as AppProgress, ui as AppRadio, di as AppRepeater, Q as AppRequiredMark, fi as AppResourceCard, mi as AppResult, hi as AppScrollbar, gi as AppSearch, _i as AppSegmented, yi as AppSelect, dr as AppSelectMini, bi as AppShell, Ci as AppSidebarMenu, sr as AppSkeleton, cr as AppSkeletonRows, wi as AppSlider, je as AppSpinner, Ei as AppSplash, Di as AppStatusBadge, Oi as AppStepper, Ai as AppSwitch, ji as AppTableEmptyState, pr as AppTablePagination, Fi as AppTabs, Ii as AppTagInput, Li as AppTextarea, Bi as AppTimePicker, zi as AppTimeline, oa as AppToast, ca as AppToolbar, V as AppTooltip, la as AppWizard, da as AppWorkspaceSwitcher, rr as MODAL_ICONS, ga as dismissAll, ya as errorToast, ve as iconNames, be as registerIcons, va as toast, ba as usePagination };
10218
+ export { xe as AppAccordion, Se as AppActionIcon, Te as AppAlert, Me as AppAsyncBlock, En as AppAutocomplete, Mn as AppAvatar, Fn as AppAvatarGroup, In as AppBadge, Rn as AppBanner, zn as AppBreadcrumbs, ke as AppButton, Vn as AppCallout, Un as AppCard, Gn as AppCheckbox, Kn as AppChip, qn as AppChoiceCard, Jn as AppChoiceChip, Yn as AppColorField, Xn as AppCompareTable, ar as AppConfirmDialog, sr as AppCopyButton, _r as AppDataTable, vr as AppDatePicker, yr as AppDateRangePicker, xr as AppDescriptions, wr as AppDropdown, Ae as AppEmptyState, Er as AppFeedback, Mr as AppFileAttachment, Pr as AppFilePicker, Fr as AppFloatingDock, Ir as AppFormActions, Lr as AppFormRow, Rr as AppFormSection, W as AppIcon, zr as AppInfoList, gn as AppInfoTip, Zn as AppInput, Wr as AppKpiTile, Jr as AppLink, Xr as AppLogoPicker, ei as AppMeter, nr as AppModal, ti as AppMultiSelect, ni as AppNumberInput, ri as AppOtpInput, ii as AppPageHeader, ai as AppPagination, oi as AppPhoneNumberInput, hn as AppPopover, si as AppPricingCard, ui as AppProgress, di as AppRadio, fi as AppRepeater, Q as AppRequiredMark, pi as AppResourceCard, hi as AppResult, gi as AppScrollbar, _i as AppSearch, vi as AppSegmented, bi as AppSelect, fr as AppSelectMini, xi as AppShell, wi as AppSidebarMenu, cr as AppSkeleton, lr as AppSkeletonRows, Ti as AppSlider, je as AppSpinner, Di as AppSplash, Oi as AppStatusBadge, ki as AppStepper, ji as AppSwitch, Mi as AppTableEmptyState, mr as AppTablePagination, Ii as AppTabs, Li as AppTagInput, Ri as AppTextarea, Vi as AppTimePicker, Bi as AppTimeline, sa as AppToast, la as AppToolbar, V as AppTooltip, ua as AppWizard, fa as AppWorkspaceSwitcher, ir as MODAL_ICONS, _a as dismissAll, ba as errorToast, ve as iconNames, be as registerIcons, ya as toast, xa as usePagination };