@webority/ui-react 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui-react.js CHANGED
@@ -1,14 +1,15 @@
1
1
  import { Children as e, Fragment as t, cloneElement as n, createElement as r, forwardRef as i, useCallback as a, useEffect as o, useId as s, useInsertionEffect as c, useLayoutEffect as l, useMemo as u, useRef as d, useState as f } from "react";
2
2
  import { Alert as p, Badge as m, Breadcrumb as h, Button as g, Card as _, Dropdown as v, Form as y, Modal as b, Offcanvas as x, OverlayTrigger as S, Popover as C, Tooltip as w } from "react-bootstrap";
3
3
  import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
4
- import { COPY_FEEDBACK_MS as O, DEFAULT_IMAGE_ACCEPT as k, DEFAULT_MAX_SIZE_MB as A, acceptLabel as j, copyTextToClipboard as M, evaluatePassword as N, isImageFile as P, isImageOnlyAccept as F, matchSegments as I, validateFile as L } from "@webority/ui-elements";
5
- import { getConsent as R, saveConsent as z } from "@webority/analytics/site";
4
+ import { COPY_FEEDBACK_MS as O, DEFAULT_IMAGE_ACCEPT as k, DEFAULT_MAX_SIZE_MB as A, DEFAULT_THEME_EFFECT as j, DEFAULT_THEME_STORAGE_KEY as M, THEME_CHANGE_EVENT as N, THEME_EFFECTS as P, THEME_MODES as F, acceptLabel as I, applyTheme as L, copyTextToClipboard as R, evaluatePassword as ee, isImageFile as z, isImageOnlyAccept as B, matchSegments as V, nextTheme as H, readStoredTheme as te, resolveTheme as U, storeTheme as ne, transitionTheme as re, validateFile as ie, watchSystemTheme as ae } from "@webority/ui-elements";
5
+ import { getConsent as oe, saveConsent as se } from "@webority/analytics/site";
6
+ import { flushSync as ce } from "react-dom";
6
7
  //#region src/components/iconCatalogLoaders.g.js
7
- function B(e) {
8
+ function W(e) {
8
9
  let t = e[0]?.toLowerCase();
9
10
  return t && t >= "a" && t <= "z" ? t : "_";
10
11
  }
11
- var V = {
12
+ var le = {
12
13
  a: () => import("./a.g-kGcGx7fd.js"),
13
14
  b: () => import("./b.g-Dkq-W_Lw.js"),
14
15
  c: () => import("./c.g-D3DSTTq_.js"),
@@ -34,7 +35,7 @@ var V = {
34
35
  w: () => import("./w.g-CGXIqJB2.js"),
35
36
  x: () => import("./x.g-CIuI3Fqx.js"),
36
37
  z: () => import("./z.g-BUP3BJiy.js")
37
- }, H = {
38
+ }, ue = {
38
39
  outline: {
39
40
  a: () => import("./a.g-DpfOFhWD.js"),
40
41
  b: () => import("./b.g-MJlor3xB.js"),
@@ -170,7 +171,7 @@ var V = {
170
171
  x: () => import("./x.g-Cc7upOBC.js"),
171
172
  z: () => import("./z.g-COIy6PjH.js")
172
173
  }
173
- }, ee = /* @__PURE__ */ "aave.activity.add.add-circle.add-square.additem.airdrop.airplane.airplane-square.airpod.airpods.alarm.alert-circle.alert-triangle.align-bottom.align-horizontally.align-left.align-right.align-top.align-vertically.android.ankr.apple.aquarius.archive.archive-add.archive-book.archive-box.archive-minus.archive-slash.archive-tick.arrange-horizontal.arrange-horizontal-circle.arrange-horizontal-square.arrange-vertical.arrange-vertical-circle.arrange-vertical-square.arrow.arrow-circle-down.arrow-circle-down-2.arrow-circle-left.arrow-circle-left-2.arrow-circle-right.arrow-circle-right-2.arrow-circle-up.arrow-circle-up-2.arrow-down.arrow-down-2.arrow-down-3.arrow-down-up.arrow-forward.arrow-forward-square.arrow-left.arrow-left-2.arrow-left-3.arrow-right.arrow-right-2.arrow-right-3.arrow-rotate-left.arrow-rotate-right.arrow-square.arrow-square-down.arrow-square-left.arrow-square-right.arrow-square-up.arrow-swap-horizontal.arrow-swap-vertical.arrow-up.arrow-up-2.arrow-up-3.arrow-up-right.attach-circle.attach-square.audio-square.augur.autobrightness.autonio.avalanche.award.back.back-square.backward.backward-10-seconds.backward-15-seconds.backward-5-seconds.backward-item.badge-check.bag.bag-2.bag-cross.bag-cross-1.bag-happy.bag-tick.bag-tick-2.bag-timer.bank.barcode.battery-charging.battery-disable.battery-empty.battery-empty-1.battery-full.be.bell.bezier.bill.binance-coin.binance-usd.bitcoin.bitcoin-card.bitcoin-convert.bitcoin-refresh.blend.blend-2.blogger.bluetooth.bluetooth-2.bluetooth-circle.bluetooth-rectangle.blur.book.book-1.book-saved.book-square.bookmark.bookmark-2.bootstrap.box.box-1.box-2.box-add.box-remove.box-seam.box-search.box-tick.box-time.briefcase.brifecase-cross.brifecase-tick.brifecase-timer.brodcast.broom.brush.brush-2.brush-3.brush-big.brush-square.bubble.bucket.bucket-circle.bucket-square.bug.building.building-2.building-3.building-4.buildings.buildings-2.buliding.bullseye.bus.buy-crypto.cake.calculator.calendar.calendar-1.calendar-2.calendar-add.calendar-check.calendar-circle.calendar-dots.calendar-edit.calendar-remove.calendar-search.calendar-tick.call.call-add.call-calling.call-incoming.call-minus.call-outgoing.call-received.call-remove.call-slash.camera.camera-slash.candle.candle-2.car.card.card-add.card-coin.card-edit.card-pos.card-receive.card-remove.card-remove-1.card-send.card-slash.card-tick.card-tick-1.cardano.cards.cash-stack.category.category-2.cd.celo.celsius.chainlink.chart.chart-1.chart-2.chart-21.chart-circle.chart-column.chart-fail.chart-square.chart-success.chat.chat-dots.check.check-check.check-circle.chemical-glass.chevron-down.chevron-left.chevron-right.chevron-up.chevrons-left.chevrons-right.chevrons-up-down.chrome.circle.circle-help.civic.clipboard.clipboard-check.clipboard-close.clipboard-export.clipboard-import.clipboard-text.clipboard-tick.clock.close-circle.close-square.cloud.cloud-add.cloud-change.cloud-connection.cloud-cross.cloud-drizzle.cloud-fog.cloud-lightning.cloud-minus.cloud-notif.cloud-plus.cloud-remove.cloud-snow.cloud-sunny.code.code-1.code-circle.coffee.coin.coin-1.coins.color-swatch.colorfilter.colors-square.command.command-square.component.computing.contact.convert.convert-3-d-cube.convert-card.convertshape.convertshape-2.copy.copy-success.copyright.courthouse.cpu.cpu-charge.cpu-setting.creative-commons.credit-card.crop.crown.crown-1.cup.cursor.cut.dai.danger.dash.data.data-2.decred.dent.designtools.device-message.devices.diagram.diagram-3.diamonds.direct.direct-down.direct-inbox.direct-left.direct-normal.direct-notification.direct-right.direct-send.direct-up.directbox-default.directbox-notif.directbox-receive.directbox-send.discount-circle.discount-shape.discover.dislike.display.document.document-cloud.document-code.document-code-2.document-copy.document-download.document-favorite.document-filter.document-forward.document-like.document-previous.document-sketch.document-text.document-text-1.document-upload.dollar-circle.dollar-square.download.dribbble.driver.driver-2.driver-refresh.driving.drop.dropbox.edit.edit-2.educare.electricity.element.element-2.element-3.element-4.element-equal.element-plus.emercoin.emoji-happy.emoji-normal.emoji-sad.emoji-smile.empty-wallet.empty-wallet-add.empty-wallet-change.empty-wallet-remove.empty-wallet-tick.empty-wallet-time.enjin-coin.eos.eraser.eraser-square.ethereum.ethereum-classic.export.export-circle.export-curve.export-square.external-drive.external-link.eye.eye-off.eye-slash.facebook.factory.fatrows.favorite-chart.figma.figma-1.file-plus-2.file-text.files.filter.filter-add.filter-edit.filter-remove.filter-search.filter-square.filter-tick.finger-cricle.finger-scan.firstline.flag.flag-2.flash.flash-circle.flash-slash.flashy.folder.folder-2.folder-add.folder-cloud.folder-connection.folder-cross.folder-favorite.folder-kanban.folder-minus.folder-open.folder-plus.forbidden.forbidden-2.format-circle.format-square.forward.forward-10-seconds.forward-15-seconds.forward-5-seconds.forward-item.framer.ftx-token.gallery.gallery-add.gallery-edit.gallery-export.gallery-favorite.gallery-import.gallery-remove.gallery-slash.gallery-tick.game.gameboy.gas-station.gauge.gemini.gemini-2.ghost.gift.glass.global.global-edit.global-refresh.global-search.globe.globe2.google.google-drive.google-play.gps.gps-slash.grammerly.graph.grid.grid-1.grid-2.grid-3.grid-4.grid-5.grid-6.grid-7.grid-8.grid-9.grid-edit.grid-eraser.grid-lock.hamberger-menu.happyemoji.hard-hat.harmony.hashtag.hashtag-down.hashtag-square.hashtag-up.headphone.headphones.health.heart.heart-add.heart-circle.heart-edit.heart-remove.heart-search.heart-slash.heart-tick.hedera-hashgraph.hex.hierarchy.hierarchy-2.hierarchy-3.hierarchy-square.hierarchy-square-2.hierarchy-square-3.history.home.home-2.home-3.home-hashtag.home-trend-down.home-trend-up.home-wifi.hospital.house.house-2.html-3.html-5.huobi-token.i-24-support.i-3-d-cube-scan.i-3-d-rotate.i-3-d-square.i-3-dcube.i-3-square.icon.illustrator.image.import.import-circle.import-curve.import-square.inbox.info.info-circle.information.instagram.iost.java-script.js.judge.kanban.key.key-square.keyboard.keyboard-open.kyber-network.lamp.lamp-charge.lamp-on.lamp-slash.language-circle.language-square.layer.layout-dashboard.layout-grid.layout-maximize.level.lifebuoy.lightbulb.like.like-1.like-dislike.like-shapes.like-tag.link.link-1.link-2.link-21.link-circle.link-square.list.litecoin.location.location-add.location-cross.location-discover.location-minus.location-slash.location-tick.lock.lock-1.lock-circle.lock-slash.log-out.login.login-curve.logout.logout-curve.lovely.magic-star.magicpen.mail.main-component.maker.man.map.map-1.map-pin.mask.mask-left.mask-right.math.maximize.maximize-1.maximize-2.maximize-3.maximize-4.maximize-circle.medal.medal-star.menu.menu-board.message.message-2.message-add.message-add-1.message-circle.message-edit.message-favorite.message-minus.message-notif.message-programming.message-question.message-remove.message-search.message-square.message-text.message-text-1.message-tick.message-time.messages.messages-1.messages-2.messages-3.messenger.microphone.microphone-2.microphone-slash.microphone-slash-1.microscope.milk.mini-music-sqaure.minus.minus-cirlce.minus-square.mirror.mirroring-screen.mobile.mobile-programming.monero.money.money-2.money-3.money-4.money-add.money-archive.money-change.money-forbidden.money-recive.money-remove.money-send.money-tick.money-time.moneys.monitor.monitor-mobbile.monitor-recorder.moon.more.more-2.more-circle.more-horizontal.more-square.mouse.mouse-circle.mouse-square.music.music-circle.music-dashboard.music-filter.music-library-2.music-play.music-playlist.music-square.music-square-add.music-square-remove.music-square-search.musicnote.nebulas.nem.nexo.next.note.note-1.note-add.note-favorite.note-remove.note-square.note-text.notepad.notepad-2.notification.notification-1.notification-bing.notification-circle.notification-favorite.notification-status.ocean-protocol.okb.okru.omega-circle.omega-square.ontology.paintbucket.palette.panel-left-close.panel-left-open.paperclip.paperclip-2.password-check.path-tool.path-tool-2.path-tool-square.pause.pause-circle.paypal.pen-add.pen-close.pen-remove.pen-tool.pen-tool-2.pencil.people.percentage-circle.percentage-square.personalcard.pet.pharagraphspacing.phone.photoshop.picture-frame.play.play-add.play-circle.play-cricle.play-remove.plug.plus.plus-circle.pointer.polkadot.polygon.polyswarm.presention-chart.previous.printer.printer-slash.profile.profile-2-user.profile-add.profile-circle.profile-delete.profile-remove.profile-tick.programming-arrow.programming-arrows.python.quant.quote-down.quote-down-circle.quote-down-square.quote-up.quote-up-circle.quote-up-square.radar.radar-2.radio.ram.ram-2.rank.ranking.receipt.receipt-1.receipt-2.receipt-21.receipt-add.receipt-discount.receipt-disscount.receipt-edit.receipt-item.receipt-minus.receipt-search.receipt-square.receipt-text.receive.receive-square.receive-square-2.record.record-circle.recovery-convert.refresh.refresh-2.refresh-circle.refresh-cw.refresh-left-square.refresh-right-square.refresh-square.repeat.repeat-circle.repeate-music.repeate-one.reserve.rotate-ccw.rotate-left.rotate-right.route-square.routing.routing-2.row-horizontal.row-vertical.ruler.ruler-pen.safe-home.sagittarius.save-2.save-add.save-minus.save-remove.scan.scan-barcode.scanner.scanning.scissor.screenmirroring.scroll.search.search-favorite.search-favorite-1.search-normal.search-normal-1.search-status.search-status-1.search-zoom-in.search-zoom-in-1.search-zoom-out.search-zoom-out-1.security.security-card.security-safe.security-time.security-user.send.send-2.server.setting.setting-2.setting-3.setting-4.setting-5.settings.shapes.shapes-1.share.share-2.shield.shield-check.shield-cross.shield-lock.shield-plus.shield-search.shield-security.shield-slash.shield-tick.ship.shop.shop-add.shop-remove.shopping-bag.shopping-cart.shuffle.shutterstock.siacoin.sidebar-bottom.sidebar-left.sidebar-right.sidebar-top.signpost.simcard.simcard-1.simcard-2.size.slack.slash.slider.slider-horizontal.slider-horizontal-1.slider-vertical.slider-vertical-1.smallcaps.smart-car.smart-home.smileys.sms.sms-edit.sms-notification.sms-search.sms-star.sms-tracking.snapchat.solana.sort.sound.sparkles.speaker.speedometer.spotify.stacks.star.star-1.star-slash.stars.status.status-up.stellar.sticker.stickynote.stop.stop-circle.story.strongbox.strongbox-2.subtitle.sun.sun-1.sun-fog.table-document.table-lamp.tag.tag-2.tag-cross.tag-right.tag-user.task.task-square.teacher.telephone.tenx.tether.text.text-block.text-bold.text-italic.text-underline.textalign-center.textalign-justifycenter.textalign-justifyleft.textalign-justifyright.textalign-left.textalign-right.the-graph.theta.thorchain.tick-circle.tick-square.ticket.ticket-2.ticket-discount.ticket-expired.ticket-star.timer.timer-1.timer-pause.timer-start.toggle-off.toggle-off-circle.toggle-on.toggle-on-circle.trade.transaction-minus.translate.transmit.transmit-sqaure-2.transmit-square.trash.trash-2.tree.trello.trend-down.trend-up.trending-up.triangle.triangle-logo.trontron.truck.truck-fast.truck-remove.truck-tick.truck-time.trush-square.twitch.two-page.ui-8.unlimited.unlock.upload.usd-coin.user.user-add.user-check.user-cirlce-add.user-edit.user-minus.user-octagon.user-plus.user-remove.user-search.user-square.user-tag.user-tick.users.velas.verify.vibe.video.video-add.video-circle.video-horizontal.video-octagon.video-play.video-remove.video-slash.video-square.video-tick.video-time.video-vertical.voice-cricle.voice-square.volume.volume-cross.volume-high.volume-low.volume-low-1.volume-mute.volume-slash.volume-up.wallet.wallet-1.wallet-2.wallet-3.wallet-add.wallet-add-1.wallet-check.wallet-minus.wallet-money.wallet-remove.wallet-search.wallet2.wanchain.wanchain-1.wand-sparkles.warning-2.watch.watch-status.weight.weight-meter.whatsapp.wifi.wifi-square.wind.wind-2.windows.wing.woman.wrist-clock.x.x-circle.xd.xiaomi.xrp.youtube.zap.zel.zoom.zoom-in.zoom-out".split("."), U = {
174
+ }, de = /* @__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("."), fe = {
174
175
  activity: "<path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m7.33 14.49 2.38-3.09c.34-.44.97-.52 1.41-.18l1.83 1.44c.44.34 1.07.26 1.41-.17l2.31-2.98\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
175
176
  alarm: "<path d=\"M2 22h20M12 6a9 9 0 0 0-9 9v7h18v-7a9 9 0 0 0-9-9ZM12 2v1M4 4l1 1M20 4l-1 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
176
177
  "alert-circle": "<path d=\"M12 7.75V13M21.08 8.58v6.84c0 1.12-.6 2.16-1.57 2.73l-5.94 3.43c-.97.56-2.17.56-3.15 0l-5.94-3.43a3.15 3.15 0 0 1-1.57-2.73V8.58c0-1.12.6-2.16 1.57-2.73l5.94-3.43c.97-.56 2.17-.56 3.15 0l5.94 3.43c.97.57 1.57 1.6 1.57 2.73Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 16.2v.1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
@@ -319,55 +320,55 @@ var V = {
319
320
  "zoom-in": "<path d=\"M11 20a9 9 0 1 0 0-18 9 9 0 0 0 0 18ZM8.5 11h5M11 13.5v-5M18.93 20.69c.53 1.6 1.74 1.76 2.67.36.85-1.28.29-2.33-1.25-2.33-1.14-.01-1.78.88-1.42 1.97Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
320
321
  "zoom-out": "<path d=\"M9 11.7h5M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>"
321
322
  };
322
- Object.keys(U);
323
+ Object.keys(fe);
323
324
  //#endregion
324
325
  //#region src/components/warnUnknownProps.js
325
- var te = /* @__PURE__ */ new Set(/* @__PURE__ */ "id.title.role.style.className.class.tabIndex.lang.dir.hidden.slot.part.draggable.spellCheck.translate.inert.popover.name.type.value.defaultValue.checked.defaultChecked.placeholder.disabled.readOnly.required.autoFocus.autoComplete.form.formAction.formMethod.formNoValidate.formTarget.min.max.step.minLength.maxLength.pattern.multiple.accept.capture.rows.cols.wrap.list.htmlFor.inputMode.enterKeyHint.href.target.rel.download.ping.referrerPolicy.src.srcSet.alt.width.height.loading.decoding.sizes.crossOrigin.useMap.colSpan.rowSpan.headers.scope.span.key.ref.children.dangerouslySetInnerHTML.suppressHydrationWarning".split(".")), ne = () => {
326
+ var pe = /* @__PURE__ */ new Set(/* @__PURE__ */ "id.title.role.style.className.class.tabIndex.lang.dir.hidden.slot.part.draggable.spellCheck.translate.inert.popover.name.type.value.defaultValue.checked.defaultChecked.placeholder.disabled.readOnly.required.autoFocus.autoComplete.form.formAction.formMethod.formNoValidate.formTarget.min.max.step.minLength.maxLength.pattern.multiple.accept.capture.rows.cols.wrap.list.htmlFor.inputMode.enterKeyHint.href.target.rel.download.ping.referrerPolicy.src.srcSet.alt.width.height.loading.decoding.sizes.crossOrigin.useMap.colSpan.rowSpan.headers.scope.span.key.ref.children.dangerouslySetInnerHTML.suppressHydrationWarning".split(".")), me = () => {
326
327
  try {
327
328
  return process.env.NODE_ENV !== "production";
328
329
  } catch {
329
330
  return !0;
330
331
  }
331
- }, re = (e) => e.startsWith("data-") || e.startsWith("aria-") || /^on[A-Z]/.test(e), ie = /* @__PURE__ */ new Set();
332
- function W(e, t) {
333
- if (!(!ne() || !t) && !("as" in t)) for (let n of Object.keys(t)) {
334
- if (re(n) || te.has(n)) continue;
332
+ }, he = (e) => e.startsWith("data-") || e.startsWith("aria-") || /^on[A-Z]/.test(e), ge = /* @__PURE__ */ new Set();
333
+ function G(e, t) {
334
+ if (!(!me() || !t) && !("as" in t)) for (let n of Object.keys(t)) {
335
+ if (he(n) || pe.has(n)) continue;
335
336
  let t = `${e}.${n}`;
336
- ie.has(t) || (ie.add(t), console.warn(`[@webority/ui-react] <${e}> received an unknown prop "${n}". It is not part of the component's API and is not a valid HTML attribute, so it will either be dropped or land on the DOM — check the prop name against the component catalogue at https://ui-react.webority.dev.`));
337
+ ge.has(t) || (ge.add(t), console.warn(`[@webority/ui-react] <${e}> received an unknown prop "${n}". It is not part of the component's API and is not a valid HTML attribute, so it will either be dropped or land on the DOM — check the prop name against the component catalogue at https://ui-react.webority.dev.`));
337
338
  }
338
339
  }
339
340
  //#endregion
340
341
  //#region src/components/warnInvalidValue.js
341
- var ae = () => {
342
+ var _e = () => {
342
343
  try {
343
344
  return process.env.NODE_ENV !== "production";
344
345
  } catch {
345
346
  return !0;
346
347
  }
347
- }, oe = /* @__PURE__ */ new Set();
348
- function G(e, t, n, r) {
349
- if (!ae() || n == null) return;
348
+ }, K = /* @__PURE__ */ new Set();
349
+ function q(e, t, n, r) {
350
+ if (!_e() || n == null) return;
350
351
  let i = r instanceof Set ? r : new Set(r);
351
352
  if (i.has(n)) return;
352
353
  let a = `${e}.${t}.${String(n)}`;
353
- oe.has(a) || (oe.add(a), console.warn(`[@webority/ui-react] <${e}> received ${t}="${String(n)}", which is not one of ${[...i].map((e) => `"${e}"`).join(" | ")}. The component fell back to its default, so this renders something other than what the call site asks for — check the value against the component catalogue at https://ui-react.webority.dev.`));
354
+ K.has(a) || (K.add(a), console.warn(`[@webority/ui-react] <${e}> received ${t}="${String(n)}", which is not one of ${[...i].map((e) => `"${e}"`).join(" | ")}. The component fell back to its default, so this renders something other than what the call site asks for — check the value against the component catalogue at https://ui-react.webority.dev.`));
354
355
  }
355
356
  //#endregion
356
357
  //#region src/components/AppTooltip.jsx
357
- var se = {
358
+ var ve = {
358
359
  start: "left",
359
360
  end: "right",
360
361
  top: "top",
361
362
  bottom: "bottom"
362
- }, K = [
363
+ }, ye = [
363
364
  "auto",
364
365
  "top",
365
366
  "bottom",
366
367
  "start",
367
368
  "end"
368
369
  ];
369
- function ce({ content: e, children: t, placement: r = "top", tone: i = "default", size: a = "md", className: o = "", ...c }) {
370
- W("AppTooltip", c), G("AppTooltip", "placement", r, K);
370
+ function be({ content: e, children: t, placement: r = "top", tone: i = "default", size: a = "md", className: o = "", ...c }) {
371
+ G("AppTooltip", c), q("AppTooltip", "placement", r, ye);
371
372
  let l = /* @__PURE__ */ E(w, {
372
373
  id: s(),
373
374
  className: [
@@ -380,15 +381,15 @@ function ce({ content: e, children: t, placement: r = "top", tone: i = "default"
380
381
  });
381
382
  return /* @__PURE__ */ E(S, {
382
383
  trigger: ["hover", "focus"],
383
- placement: se[r] || r,
384
+ placement: ve[r] || r,
384
385
  overlay: l,
385
386
  children: n(t, c)
386
387
  });
387
388
  }
388
389
  //#endregion
389
390
  //#region src/components/withTooltip.jsx
390
- function q(e, t, n) {
391
- return t == null || t === "" ? e : /* @__PURE__ */ E(ce, {
391
+ function J(e, t, n) {
392
+ return t == null || t === "" ? e : /* @__PURE__ */ E(be, {
392
393
  content: t,
393
394
  placement: n || "auto",
394
395
  children: e
@@ -396,79 +397,79 @@ function q(e, t, n) {
396
397
  }
397
398
  //#endregion
398
399
  //#region src/components/AppIcon.jsx
399
- var le = /* @__PURE__ */ new Set();
400
- function ue(e, t) {
401
- le.has(e) || (le.add(e), console.warn(`[@webority/ui-react] The ${e} failed to load (${t?.message ?? t}); icons fall back to the linear default until a later render retries it.`));
402
- }
403
- var de = null, fe = null, pe = !1, me = /* @__PURE__ */ new Set();
404
- function he() {
405
- return fe ||= import("./iconVariants.g-p_LLiCjc.js").then((e) => {
406
- de = e.VARIANT_GLYPHS, pe = !1;
407
- for (let e of me) e();
408
- me.clear();
400
+ var xe = /* @__PURE__ */ new Set();
401
+ function Se(e, t) {
402
+ xe.has(e) || (xe.add(e), console.warn(`[@webority/ui-react] The ${e} failed to load (${t?.message ?? t}); icons fall back to the linear default until a later render retries it.`));
403
+ }
404
+ var Ce = null, we = null, Te = !1, Ee = /* @__PURE__ */ new Set();
405
+ function De() {
406
+ return we ||= import("./iconVariants.g-p_LLiCjc.js").then((e) => {
407
+ Ce = e.VARIANT_GLYPHS, Te = !1;
408
+ for (let e of Ee) e();
409
+ Ee.clear();
409
410
  }).catch((e) => {
410
- fe = null, ue("curated icon variants chunk", e), pe ? me.clear() : (pe = !0, setTimeout(() => {
411
- for (let e of [...me]) e();
411
+ we = null, Se("curated icon variants chunk", e), Te ? Ee.clear() : (Te = !0, setTimeout(() => {
412
+ for (let e of [...Ee]) e();
412
413
  }, 1e3));
413
- }), fe;
414
- }
415
- var J = new Set(ee), ge = Object.create(null), _e = Object.create(null), ve = Object.create(null), ye = Object.create(null);
416
- function be(e) {
417
- let t = B(e), n = V[t];
418
- return n ? (_e[t] ||= n().then((e) => {
419
- Object.assign(ge, e.FULL_GLYPHS), ye[t] = !1;
420
- let n = ve[t];
414
+ }), we;
415
+ }
416
+ var Oe = new Set(de), ke = Object.create(null), Ae = Object.create(null), je = Object.create(null), Me = Object.create(null);
417
+ function Ne(e) {
418
+ let t = W(e), n = le[t];
419
+ return n ? (Ae[t] ||= n().then((e) => {
420
+ Object.assign(ke, e.FULL_GLYPHS), Me[t] = !1;
421
+ let n = je[t];
421
422
  if (n) {
422
423
  for (let e of n) e();
423
424
  n.clear();
424
425
  }
425
426
  }).catch((e) => {
426
- _e[t] = null, ue(`full icon catalogue '${t}' shard`, e), ye[t] ? ve[t]?.clear() : (ye[t] = !0, setTimeout(() => {
427
- for (let e of [...ve[t] || []]) e();
427
+ Ae[t] = null, Se(`full icon catalogue '${t}' shard`, e), Me[t] ? je[t]?.clear() : (Me[t] = !0, setTimeout(() => {
428
+ for (let e of [...je[t] || []]) e();
428
429
  }, 1e3));
429
- }), _e[t]) : null;
430
+ }), Ae[t]) : null;
430
431
  }
431
- var xe = Object.create(null), Se = Object.create(null), Ce = Object.create(null), we = Object.create(null);
432
- function Te(e, t) {
433
- let n = H[e];
432
+ var Pe = Object.create(null), Fe = Object.create(null), Ie = Object.create(null), Le = Object.create(null);
433
+ function Re(e, t) {
434
+ let n = ue[e];
434
435
  if (!n) return null;
435
- let r = B(t), i = n[r];
436
+ let r = W(t), i = n[r];
436
437
  if (!i) return null;
437
438
  let a = `${e}:${r}`;
438
- return Se[a] ||= i().then((t) => {
439
- let n = xe[e] || (xe[e] = Object.create(null));
440
- Object.assign(n, t.FULL_VARIANT_GLYPHS), we[a] = !1;
441
- let r = Ce[a];
439
+ return Fe[a] ||= i().then((t) => {
440
+ let n = Pe[e] || (Pe[e] = Object.create(null));
441
+ Object.assign(n, t.FULL_VARIANT_GLYPHS), Le[a] = !1;
442
+ let r = Ie[a];
442
443
  if (r) {
443
444
  for (let e of r) e();
444
445
  r.clear();
445
446
  }
446
447
  }).catch((t) => {
447
- Se[a] = null, ue(`${e} icon catalogue '${r}' shard`, t), we[a] ? Ce[a]?.clear() : (we[a] = !0, setTimeout(() => {
448
- for (let e of [...Ce[a] || []]) e();
448
+ Fe[a] = null, Se(`${e} icon catalogue '${r}' shard`, t), Le[a] ? Ie[a]?.clear() : (Le[a] = !0, setTimeout(() => {
449
+ for (let e of [...Ie[a] || []]) e();
449
450
  }, 1e3));
450
- }), Se[a];
451
+ }), Fe[a];
451
452
  }
452
- var Ee = ee, De = /* @__PURE__ */ new Map();
453
- function Oe(e) {
454
- for (let [t, n] of Object.entries(e)) De.set(t, n);
453
+ var ze = de, Be = /* @__PURE__ */ new Map();
454
+ function Ve(e) {
455
+ for (let [t, n] of Object.entries(e)) Be.set(t, n);
455
456
  }
456
457
  function Y({ name: e, size: t = 16, variant: n, tooltip: r, tooltipPlacement: i, className: a, color: s, style: c, ...l }) {
457
- W("AppIcon", l);
458
- let u = !!n && n !== "linear", d = r != null && r !== "", p = (e) => d ? q(/* @__PURE__ */ E("span", {
458
+ G("AppIcon", l);
459
+ let u = !!n && n !== "linear", d = r != null && r !== "", p = (e) => d ? J(/* @__PURE__ */ E("span", {
459
460
  className: "wui-icon-tip",
460
461
  role: "img",
461
462
  "aria-label": r,
462
463
  children: e
463
- }), r, i) : e, m = U[e] !== void 0, h = !m && J.has(e), [, g] = f(0);
464
+ }), r, i) : e, m = fe[e] !== void 0, h = !m && Oe.has(e), [, g] = f(0);
464
465
  o(() => {
465
466
  let t = () => g((e) => e + 1);
466
- u && m && !de && (me.add(t), he());
467
- let r = h ? B(e) : null;
468
- h && ge[e] === void 0 && ((ve[r] ||= /* @__PURE__ */ new Set()).add(t), be(e));
469
- let i = u && h ? `${n}:${B(e)}` : null;
470
- return u && h && xe[n]?.[e] === void 0 && ((Ce[i] ||= /* @__PURE__ */ new Set()).add(t), Te(n, e)), () => {
471
- me.delete(t), r && ve[r]?.delete(t), i && Ce[i]?.delete(t);
467
+ u && m && !Ce && (Ee.add(t), De());
468
+ let r = h ? W(e) : null;
469
+ h && ke[e] === void 0 && ((je[r] ||= /* @__PURE__ */ new Set()).add(t), Ne(e));
470
+ let i = u && h ? `${n}:${W(e)}` : null;
471
+ return u && h && Pe[n]?.[e] === void 0 && ((Ie[i] ||= /* @__PURE__ */ new Set()).add(t), Re(n, e)), () => {
472
+ Ee.delete(t), r && je[r]?.delete(t), i && Ie[i]?.delete(t);
472
473
  };
473
474
  }, [
474
475
  e,
@@ -477,7 +478,7 @@ function Y({ name: e, size: t = 16, variant: n, tooltip: r, tooltipPlacement: i,
477
478
  h,
478
479
  n
479
480
  ]);
480
- let _ = De.get(e);
481
+ let _ = Be.get(e);
481
482
  if (_) return p(_({
482
483
  size: t,
483
484
  color: s,
@@ -507,7 +508,7 @@ function Y({ name: e, size: t = 16, variant: n, tooltip: r, tooltipPlacement: i,
507
508
  }), /* @__PURE__ */ E("path", { d: "M3.2 22.5C3.2 17.4 7.5 14.9 11 14.7L12 17.4l1-2.7C16.5 14.9 20.8 17.4 20.8 22.5z" })]
508
509
  })
509
510
  }));
510
- let v = u && (de?.[n]?.[e] || xe?.[n]?.[e]) || U[e] || ge[e];
511
+ let v = u && (Ce?.[n]?.[e] || Pe?.[n]?.[e]) || fe[e] || ke[e];
511
512
  return v ? p(/* @__PURE__ */ E("svg", {
512
513
  width: t,
513
514
  height: t,
@@ -527,8 +528,8 @@ function Y({ name: e, size: t = 16, variant: n, tooltip: r, tooltipPlacement: i,
527
528
  }
528
529
  //#endregion
529
530
  //#region src/components/AppAccordion.jsx
530
- function ke({ items: e = [], multiple: t = !1, id: n, className: r = "", ...i }) {
531
- W("AppAccordion", i);
531
+ function He({ items: e = [], multiple: t = !1, id: n, className: r = "", ...i }) {
532
+ G("AppAccordion", i);
532
533
  let a = s(), o = n || a, [c, l] = f(() => {
533
534
  let n = e.map((e, t) => ({
534
535
  item: e,
@@ -589,7 +590,7 @@ function X(e, { size: t = 16, className: n, variant: i } = {}) {
589
590
  }
590
591
  //#endregion
591
592
  //#region src/components/AppActionIcon.jsx
592
- var Ae = [
593
+ var Ue = [
593
594
  "linear",
594
595
  "outline",
595
596
  "bold",
@@ -597,8 +598,8 @@ var Ae = [
597
598
  "broken",
598
599
  "twotone"
599
600
  ];
600
- function je({ icon: e, iconVariant: t, label: n, tooltipPlacement: r = "auto", danger: i = !1, disabled: a = !1, size: o = 20, onClick: s, className: c = "", as: l, href: u, ...d }) {
601
- W("AppActionIcon", d), G("AppActionIcon", "iconVariant", t, Ae);
601
+ function We({ icon: e, iconVariant: t, label: n, tooltipPlacement: r = "auto", danger: i = !1, disabled: a = !1, size: o = 20, onClick: s, className: c = "", as: l, href: u, ...d }) {
602
+ G("AppActionIcon", d), q("AppActionIcon", "iconVariant", t, Ue);
602
603
  let f = [
603
604
  "u-action",
604
605
  i ? "danger" : "",
@@ -607,7 +608,7 @@ function je({ icon: e, iconVariant: t, label: n, tooltipPlacement: r = "auto", d
607
608
  "--wui-action-size": `${o + 16}px`,
608
609
  ...p
609
610
  }, g = l ?? (u ? "a" : "button"), _ = g === "button";
610
- return q(/* @__PURE__ */ E(g, {
611
+ return J(/* @__PURE__ */ E(g, {
611
612
  type: _ ? "button" : void 0,
612
613
  href: _ || a ? void 0 : u,
613
614
  className: f,
@@ -633,21 +634,21 @@ function je({ icon: e, iconVariant: t, label: n, tooltipPlacement: r = "auto", d
633
634
  }
634
635
  //#endregion
635
636
  //#region src/components/AppAlert.jsx
636
- var Me = {
637
+ var Ge = {
637
638
  info: "info",
638
639
  success: "check",
639
640
  warning: "alert-triangle",
640
641
  danger: "x"
641
- }, Ne = [
642
+ }, Ke = [
642
643
  "sm",
643
644
  "md",
644
645
  "lg"
645
- ], Pe = [
646
+ ], qe = [
646
647
  "alert",
647
648
  "status",
648
649
  "none"
649
650
  ];
650
- function Fe(e, t, n, r, i) {
651
+ function Je(e, t, n, r, i) {
651
652
  return n ? /* @__PURE__ */ E("span", {
652
653
  className: "alert-icon alert-icon-image",
653
654
  style: i > 0 ? {
@@ -669,9 +670,9 @@ function Fe(e, t, n, r, i) {
669
670
  children: e
670
671
  }) : null;
671
672
  }
672
- function Ie({ variant: e = "info", children: t, title: n, icon: r, image: i, imageAlt: a = "", imageSize: o, className: s = "", onClose: c, dismissible: l, bordered: u = !0, accent: d = !1, size: f = "md", action: m, role: h = "alert", ...g }) {
673
- W("AppAlert", g), G("AppAlert", "size", f, Ne), G("AppAlert", "role", h, Pe);
674
- let _ = r === void 0 ? Me[e] : r === "none" ? null : r, v = !!i || !!_, y = m != null && m !== !1, b = n ? /* @__PURE__ */ E("div", {
673
+ function Ye({ variant: e = "info", children: t, title: n, icon: r, image: i, imageAlt: a = "", imageSize: o, className: s = "", onClose: c, dismissible: l, bordered: u = !0, accent: d = !1, size: f = "md", action: m, role: h = "alert", ...g }) {
674
+ G("AppAlert", g), q("AppAlert", "size", f, Ke), q("AppAlert", "role", h, qe);
675
+ let _ = r === void 0 ? Ge[e] : r === "none" ? null : r, v = !!i || !!_, y = m != null && m !== !1, b = n ? /* @__PURE__ */ E("div", {
675
676
  className: "alert-heading",
676
677
  children: n
677
678
  }) : null, x = v && !!b && !!t, S = f === "lg" ? x ? 17 : 15 : x ? 13 : 11;
@@ -693,7 +694,7 @@ function Ie({ variant: e = "info", children: t, title: n, icon: r, image: i, ima
693
694
  role: h === "none" ? void 0 : h,
694
695
  ...g,
695
696
  children: v || y ? /* @__PURE__ */ D(T, { children: [
696
- v && Fe(_, S, i, a, o),
697
+ v && Je(_, S, i, a, o),
697
698
  /* @__PURE__ */ D("div", {
698
699
  className: "alert-content",
699
700
  children: [b, t]
@@ -707,7 +708,7 @@ function Ie({ variant: e = "info", children: t, title: n, icon: r, image: i, ima
707
708
  }
708
709
  //#endregion
709
710
  //#region src/components/AppButton.jsx
710
- var Le = {
711
+ var Xe = {
711
712
  primary: "primary",
712
713
  secondary: "secondary",
713
714
  outline: "outline-primary",
@@ -720,28 +721,28 @@ var Le = {
720
721
  warning: "warning",
721
722
  subtle: "subtle",
722
723
  "outline-light": "outline-light"
723
- }, Re = {
724
+ }, Ze = {
724
725
  sm: 14,
725
726
  md: 16,
726
727
  lg: 20
727
728
  };
728
- function ze(e, t, n) {
729
+ function Qe(e, t, n) {
729
730
  if (!e) return null;
730
731
  let r = t === "left" ? "me-2" : "ms-2";
731
732
  return typeof e == "string" ? /* @__PURE__ */ E(Y, {
732
733
  name: e,
733
- size: Re[n] ?? Re.md,
734
+ size: Ze[n] ?? Ze.md,
734
735
  className: r
735
736
  }) : /* @__PURE__ */ E("span", {
736
737
  className: `d-inline-flex ${r}`,
737
738
  children: e
738
739
  });
739
740
  }
740
- function Be({ children: e, variant: t = "primary", size: n = "md", type: r = "button", loading: i = !1, disabled: a = !1, block: o = !1, leftIcon: s = null, rightIcon: c = null, href: l, static: u = !1, tooltip: d, tooltipPlacement: f, className: p = "", ...m }) {
741
- if (W("AppButton", m), G("AppButton", "variant", t, Object.keys(Le)), G("AppButton", "size", n, Object.keys(Re)), u) return q(/* @__PURE__ */ D("span", {
741
+ function $e({ children: e, variant: t = "primary", size: n = "md", type: r = "button", loading: i = !1, disabled: a = !1, block: o = !1, leftIcon: s = null, rightIcon: c = null, href: l, static: u = !1, tooltip: d, tooltipPlacement: f, className: p = "", ...m }) {
742
+ if (G("AppButton", m), q("AppButton", "variant", t, Object.keys(Xe)), q("AppButton", "size", n, Object.keys(Ze)), u) return J(/* @__PURE__ */ D("span", {
742
743
  className: [
743
744
  "btn",
744
- `btn-${Le[t] ?? "primary"}`,
745
+ `btn-${Xe[t] ?? "primary"}`,
745
746
  n === "sm" ? "btn-sm" : n === "lg" ? "btn-lg" : "",
746
747
  o ? "w-100" : "",
747
748
  "btn-static",
@@ -749,9 +750,9 @@ function Be({ children: e, variant: t = "primary", size: n = "md", type: r = "bu
749
750
  ].filter(Boolean).join(" "),
750
751
  ...m,
751
752
  children: [
752
- ze(s, "left", n),
753
+ Qe(s, "left", n),
753
754
  e,
754
- ze(c, "right", n)
755
+ Qe(c, "right", n)
755
756
  ]
756
757
  }), d, f);
757
758
  let h = [
@@ -762,10 +763,10 @@ function Be({ children: e, variant: t = "primary", size: n = "md", type: r = "bu
762
763
  role: void 0,
763
764
  tabIndex: a || i ? -1 : void 0
764
765
  };
765
- return q(/* @__PURE__ */ D(g, {
766
+ return J(/* @__PURE__ */ D(g, {
766
767
  type: _ ? r : void 0,
767
768
  href: l,
768
- variant: Le[t] ?? "primary",
769
+ variant: Xe[t] ?? "primary",
769
770
  size: n === "md" ? void 0 : n,
770
771
  disabled: a || i,
771
772
  "aria-busy": i || void 0,
@@ -777,16 +778,16 @@ function Be({ children: e, variant: t = "primary", size: n = "md", type: r = "bu
777
778
  className: "spinner-border spinner-border-sm me-2",
778
779
  "aria-hidden": "true"
779
780
  }),
780
- !i && ze(s, "left", n),
781
+ !i && Qe(s, "left", n),
781
782
  e,
782
- !i && ze(c, "right", n)
783
+ !i && Qe(c, "right", n)
783
784
  ]
784
785
  }), d, f);
785
786
  }
786
787
  //#endregion
787
788
  //#region src/components/AppEmptyState.jsx
788
- function Ve({ icon: e, iconSize: t = 24, size: n = "md", title: r, text: i, action: a, className: o = "", style: s, ...c }) {
789
- return W("AppEmptyState", c), /* @__PURE__ */ D("div", {
789
+ function et({ icon: e, iconSize: t = 24, size: n = "md", title: r, text: i, action: a, className: o = "", style: s, ...c }) {
790
+ return G("AppEmptyState", c), /* @__PURE__ */ D("div", {
790
791
  className: [
791
792
  "empty-state",
792
793
  n === "sm" ? "empty-state-sm" : "",
@@ -816,8 +817,8 @@ function Ve({ icon: e, iconSize: t = 24, size: n = "md", title: r, text: i, acti
816
817
  }
817
818
  //#endregion
818
819
  //#region src/components/AppSpinner.jsx
819
- function He({ size: e = "md", label: t = "Loading", className: n = "", ...r }) {
820
- W("AppSpinner", r);
820
+ function tt({ size: e = "md", label: t = "Loading", className: n = "", ...r }) {
821
+ G("AppSpinner", r);
821
822
  let { style: i, ...a } = r, o = Number(e), s = Number.isFinite(o) && o > 0;
822
823
  return /* @__PURE__ */ E("span", {
823
824
  className: `spinner-border${!s && e === "sm" ? " spinner-border-sm" : ""}${n ? ` ${n}` : ""}`,
@@ -834,8 +835,8 @@ function He({ size: e = "md", label: t = "Loading", className: n = "", ...r }) {
834
835
  }
835
836
  //#endregion
836
837
  //#region src/components/AppAsyncBlock.jsx
837
- function Ue({ loading: e = !1, error: t = null, empty: n = !1, children: r, onRetry: i, skeleton: a, className: o = "", ...s }) {
838
- W("AppAsyncBlock", s);
838
+ function nt({ loading: e = !1, error: t = null, empty: n = !1, children: r, onRetry: i, skeleton: a, className: o = "", ...s }) {
839
+ G("AppAsyncBlock", s);
839
840
  let c = `async-block${o ? ` ${o}` : ""}`;
840
841
  return e ? /* @__PURE__ */ E("div", {
841
842
  className: c,
@@ -843,17 +844,17 @@ function Ue({ loading: e = !1, error: t = null, empty: n = !1, children: r, onRe
843
844
  ...s,
844
845
  children: a ?? /* @__PURE__ */ E("div", {
845
846
  className: "d-flex align-items-center justify-content-center py-5",
846
- children: /* @__PURE__ */ E(He, { label: "Loading" })
847
+ children: /* @__PURE__ */ E(tt, { label: "Loading" })
847
848
  })
848
849
  }) : t ? /* @__PURE__ */ E("div", {
849
850
  className: c,
850
851
  "data-state": "error",
851
852
  ...s,
852
- children: /* @__PURE__ */ E(Ve, {
853
+ children: /* @__PURE__ */ E(et, {
853
854
  icon: "alert-circle",
854
855
  title: "Something went wrong",
855
856
  text: t,
856
- action: i ? /* @__PURE__ */ E(Be, {
857
+ action: i ? /* @__PURE__ */ E($e, {
857
858
  variant: "secondary",
858
859
  onClick: i,
859
860
  children: "Retry"
@@ -863,7 +864,7 @@ function Ue({ loading: e = !1, error: t = null, empty: n = !1, children: r, onRe
863
864
  className: c,
864
865
  "data-state": "empty",
865
866
  ...s,
866
- children: /* @__PURE__ */ E(Ve, {
867
+ children: /* @__PURE__ */ E(et, {
867
868
  icon: "inbox",
868
869
  title: "Nothing to show yet"
869
870
  })
@@ -876,15 +877,15 @@ function Ue({ loading: e = !1, error: t = null, empty: n = !1, children: r, onRe
876
877
  }
877
878
  //#endregion
878
879
  //#region src/components/AppPopover.jsx
879
- var We = {
880
+ var rt = {
880
881
  start: "left",
881
882
  end: "right",
882
883
  top: "top",
883
884
  bottom: "bottom",
884
885
  auto: "auto"
885
886
  };
886
- function Ge({ trigger: e, children: t, title: r, placement: i = "bottom", triggerType: a = "click", onToggle: o, className: c = "", ...l }) {
887
- W("AppPopover", l);
887
+ function it({ trigger: e, children: t, title: r, placement: i = "bottom", triggerType: a = "click", onToggle: o, className: c = "", ...l }) {
888
+ G("AppPopover", l);
888
889
  let u = s(), [d, p] = f(!1), m = (e) => {
889
890
  p(e), o?.(e);
890
891
  }, h = /* @__PURE__ */ D(C, {
@@ -905,7 +906,7 @@ function Ge({ trigger: e, children: t, title: r, placement: i = "bottom", trigge
905
906
  }), T = a === "click", O = a === "hover" || Array.isArray(a) && a.includes("hover");
906
907
  return /* @__PURE__ */ E(S, {
907
908
  trigger: a,
908
- placement: We[i] || i,
909
+ placement: rt[i] || i,
909
910
  overlay: h,
910
911
  rootClose: T,
911
912
  delay: O ? {
@@ -918,19 +919,19 @@ function Ge({ trigger: e, children: t, title: r, placement: i = "bottom", trigge
918
919
  }
919
920
  //#endregion
920
921
  //#region src/components/AppInfoTip.jsx
921
- var Ke = {
922
+ var at = {
922
923
  sm: " infotip-popover-sm",
923
924
  md: "",
924
925
  lg: " infotip-popover-lg",
925
926
  xl: " infotip-popover-xl"
926
927
  };
927
- function qe({ label: e, children: t, placement: n = "auto", width: r = "md", className: i = "", ...a }) {
928
- W("AppInfoTip", a), G("AppInfoTip", "width", r, Object.keys(Ke));
928
+ function ot({ label: e, children: t, placement: n = "auto", width: r = "md", className: i = "", ...a }) {
929
+ G("AppInfoTip", a), q("AppInfoTip", "width", r, Object.keys(at));
929
930
  let [o, s] = f(!1), c = !!e;
930
931
  return !c && !t ? null : /* @__PURE__ */ E("span", {
931
932
  className: `infotip${i ? ` ${i}` : ""}`,
932
933
  ...a,
933
- children: /* @__PURE__ */ E(Ge, {
934
+ children: /* @__PURE__ */ E(it, {
934
935
  trigger: /* @__PURE__ */ E("button", {
935
936
  type: "button",
936
937
  className: "infotip-btn",
@@ -943,7 +944,7 @@ function qe({ label: e, children: t, placement: n = "auto", width: r = "md", cla
943
944
  title: c ? e : void 0,
944
945
  placement: n,
945
946
  triggerType: ["hover", "focus"],
946
- className: `infotip-popover${Ke[r] ?? ""}`,
947
+ className: `infotip-popover${at[r] ?? ""}`,
947
948
  onToggle: s,
948
949
  "aria-expanded": o,
949
950
  children: t
@@ -961,8 +962,8 @@ function Z() {
961
962
  }
962
963
  //#endregion
963
964
  //#region src/components/useWuiControl.js
964
- function Q({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events: s = Je, on: l } = {}) {
965
- let u = d(null), f = r ?? Ye, p = i ?? Xe, m = (s || Je).join("\0"), h = Object.keys(l ?? {}).join("\0"), g = d(null);
965
+ function Q({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events: s = st, on: l } = {}) {
966
+ let u = d(null), f = r ?? ct, p = i ?? lt, m = (s || st).join("\0"), h = Object.keys(l ?? {}).join("\0"), g = d(null);
966
967
  g.current === null && (g.current = {
967
968
  ref: e,
968
969
  value: t,
@@ -990,7 +991,7 @@ function Q({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events:
990
991
  _.current = null;
991
992
  }
992
993
  }, []), y = a((e) => {
993
- let t = g.current.eventKey ? g.current.eventKey.split("\0") : Je, n = Object.keys(g.current.on ?? {}), r = {
994
+ let t = g.current.eventKey ? g.current.eventKey.split("\0") : st, n = Object.keys(g.current.on ?? {}), r = {
994
995
  el: e,
995
996
  names: t,
996
997
  extraNames: n,
@@ -1016,7 +1017,7 @@ function Q({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events:
1016
1017
  n && !Object.is(t, n.last) && (n.last = void 0);
1017
1018
  }, [t, p]), o(() => {
1018
1019
  let e = u.current, t = _.current;
1019
- !e || !t || (t.names.join("\0") !== (m || Je.join("\0")) || t.extraNames.join("\0") !== h) && (v(), y(e));
1020
+ !e || !t || (t.names.join("\0") !== (m || st.join("\0")) || t.extraNames.join("\0") !== h) && (v(), y(e));
1020
1021
  }, [
1021
1022
  m,
1022
1023
  h,
@@ -1027,15 +1028,15 @@ function Q({ ref: e, value: t, onChange: n, readValue: r, writeValue: i, events:
1027
1028
  innerRef: u
1028
1029
  };
1029
1030
  }
1030
- var Je = ["change"];
1031
- function Ye(e) {
1031
+ var st = ["change"];
1032
+ function ct(e) {
1032
1033
  return e.value;
1033
1034
  }
1034
- function Xe(e, t) {
1035
+ function lt(e, t) {
1035
1036
  let n = t ?? "";
1036
1037
  String(e.value ?? "") !== String(n) && (e.value = n);
1037
1038
  }
1038
- function Ze(e, t) {
1039
+ function ut(e, t) {
1039
1040
  let n = e || [], r = t || [];
1040
1041
  return n.length === r.length && n.every((e, t) => {
1041
1042
  let n = r[t];
@@ -1045,28 +1046,28 @@ function Ze(e, t) {
1045
1046
  return i.length === Object.keys(n).length && i.every((t) => Object.is(e[t], n[t]));
1046
1047
  });
1047
1048
  }
1048
- function Qe(e) {
1049
+ function dt(e) {
1049
1050
  return e.values;
1050
1051
  }
1051
- function $e(e, t) {
1052
+ function ft(e, t) {
1052
1053
  let n = t || [], r = e.values || [];
1053
1054
  (n.length !== r.length || !n.every((e, t) => e === r[t])) && (e.values = n);
1054
1055
  }
1055
- function et(e) {
1056
+ function pt(e) {
1056
1057
  return {
1057
1058
  start: e.start,
1058
1059
  end: e.end
1059
1060
  };
1060
1061
  }
1061
- function tt(e, t) {
1062
+ function mt(e, t) {
1062
1063
  if (t === void 0) return;
1063
1064
  let n = Number.parseFloat(t);
1064
1065
  Number.isFinite(n) && e.value !== n && (e.value = n);
1065
1066
  }
1066
1067
  //#endregion
1067
1068
  //#region src/components/AppAutocomplete.jsx
1068
- var nt = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeholder: i = "Search…", minChars: a, debounce: c, disabled: l = !1, size: u, allowCustom: d = !1, name: f, id: p, label: m, error: h, hint: g, required: _ = !1, help: v, helpLabel: y = "More information", fieldClassName: b = "", ...x }, S) {
1069
- W("AppAutocomplete", x);
1069
+ var ht = 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) {
1070
+ G("AppAutocomplete", x);
1070
1071
  let C = typeof r == "function", w = s(), T = p || w, { setRef: O, innerRef: k } = Q({
1071
1072
  ref: S,
1072
1073
  value: e ?? "",
@@ -1076,7 +1077,7 @@ var nt = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
1076
1077
  let e = k.current;
1077
1078
  if (!e || C) return;
1078
1079
  let t = n || [];
1079
- Ze(t, e.options) || (e.options = t);
1080
+ ut(t, e.options) || (e.options = t);
1080
1081
  }, [
1081
1082
  n,
1082
1083
  C,
@@ -1112,7 +1113,7 @@ var nt = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
1112
1113
  children: [
1113
1114
  m,
1114
1115
  _ && /* @__PURE__ */ E(Z, {}),
1115
- v && /* @__PURE__ */ E(qe, {
1116
+ v && /* @__PURE__ */ E(ot, {
1116
1117
  label: y,
1117
1118
  children: v
1118
1119
  })
@@ -1146,14 +1147,14 @@ var nt = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
1146
1147
  }) : null
1147
1148
  ]
1148
1149
  });
1149
- }), rt = /* @__PURE__ */ new Set([
1150
+ }), gt = /* @__PURE__ */ new Set([
1150
1151
  "xs",
1151
1152
  "sm",
1152
1153
  "md",
1153
1154
  "lg",
1154
1155
  "xl",
1155
1156
  "2xl"
1156
- ]), it = {
1157
+ ]), _t = {
1157
1158
  xs: 20,
1158
1159
  sm: 24,
1159
1160
  md: 32,
@@ -1161,30 +1162,30 @@ var nt = i(function({ value: e, onChange: t, options: n, loadOptions: r, placeho
1161
1162
  xl: 64,
1162
1163
  "2xl": 96
1163
1164
  };
1164
- function at(e) {
1165
+ function vt(e) {
1165
1166
  let t = (e || "").trim();
1166
1167
  if (!t) return "?";
1167
1168
  let n = t.split(/\s+/).filter(Boolean);
1168
1169
  return n.length === 1 ? n[0].slice(0, 2).toUpperCase() : (n[0][0] + n[n.length - 1][0]).toUpperCase();
1169
1170
  }
1170
- function ot(e) {
1171
+ function yt(e) {
1171
1172
  let t = e || "", n = 0;
1172
1173
  for (let e = 0; e < t.length; e += 1) n = Math.imul(n, 31) + t.charCodeAt(e) >>> 0;
1173
1174
  return n % 360;
1174
1175
  }
1175
- function st(e) {
1176
+ function bt(e) {
1176
1177
  if (typeof e == "number") return e;
1177
- if (it[e] != null) return it[e];
1178
+ if (_t[e] != null) return _t[e];
1178
1179
  let t = Number.parseInt(e, 10);
1179
1180
  return Number.isNaN(t) ? 32 : t;
1180
1181
  }
1181
- function ct({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "primary", status: a = "none", ring: s = !1, label: c, icon: l, badge: u, href: d, onClick: p, linkComponent: m, tooltip: h, tooltipPlacement: g, className: _ = "", ...v }) {
1182
- W("AppAvatar", v);
1182
+ function xt({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "primary", status: a = "none", ring: s = !1, label: c, icon: l, badge: u, href: d, onClick: p, linkComponent: m, tooltip: h, tooltipPlacement: g, className: _ = "", ...v }) {
1183
+ G("AppAvatar", v);
1183
1184
  let { style: y, ...b } = v, [x, S] = f(!1);
1184
1185
  o(() => {
1185
1186
  S(!1);
1186
1187
  }, [t]);
1187
- let C = typeof n == "string" && rt.has(n), w = C ? null : typeof n == "number" || /^\d+$/.test(n) ? `${n}px` : n, O = d != null || p != null, k = t != null && t !== "" && !x, A = [
1188
+ let C = typeof n == "string" && gt.has(n), w = C ? null : typeof n == "number" || /^\d+$/.test(n) ? `${n}px` : n, O = d != null || p != null, k = t != null && t !== "" && !x, A = [
1188
1189
  "avatar",
1189
1190
  C && n !== "md" ? `avatar-${n}` : "",
1190
1191
  r === "circle" ? "" : `avatar-${r}`,
@@ -1193,16 +1194,16 @@ function ct({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "p
1193
1194
  O ? "avatar-clickable" : "",
1194
1195
  _
1195
1196
  ].filter(Boolean).join(" "), j = {};
1196
- w && (j["--avatar-size"] = w), i === "auto" && (j["--avatar-hue"] = ot(e));
1197
+ w && (j["--avatar-size"] = w), i === "auto" && (j["--avatar-hue"] = yt(e));
1197
1198
  let M = Object.keys(j).length || y ? {
1198
1199
  ...j,
1199
1200
  ...y
1200
1201
  } : void 0, N = /* @__PURE__ */ E("span", {
1201
1202
  className: "avatar-face",
1202
1203
  "aria-hidden": "true",
1203
- children: l == null ? at(e) : /* @__PURE__ */ E(Y, {
1204
+ children: l == null ? vt(e) : /* @__PURE__ */ E(Y, {
1204
1205
  name: l,
1205
- size: Math.round(st(n) * .55)
1206
+ size: Math.round(bt(n) * .55)
1206
1207
  })
1207
1208
  }), P = /* @__PURE__ */ D(T, { children: [
1208
1209
  a !== "none" && /* @__PURE__ */ E("span", {
@@ -1230,7 +1231,7 @@ function ct({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "p
1230
1231
  ] });
1231
1232
  if (d != null) {
1232
1233
  let t = m || "a", n = m ? { to: d } : { href: d };
1233
- return q(/* @__PURE__ */ E(t, {
1234
+ return J(/* @__PURE__ */ E(t, {
1234
1235
  className: A,
1235
1236
  style: M,
1236
1237
  ...b,
@@ -1240,7 +1241,7 @@ function ct({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "p
1240
1241
  children: F
1241
1242
  }), h, g);
1242
1243
  }
1243
- return q(p == null ? k ? /* @__PURE__ */ E("span", {
1244
+ return J(p == null ? k ? /* @__PURE__ */ E("span", {
1244
1245
  className: A,
1245
1246
  style: M,
1246
1247
  ...b,
@@ -1264,7 +1265,7 @@ function ct({ name: e, src: t, size: n = "md", shape: r = "circle", tone: i = "p
1264
1265
  }
1265
1266
  //#endregion
1266
1267
  //#region src/components/AppAvatarGroup.jsx
1267
- var lt = {
1268
+ var St = {
1268
1269
  xs: 20,
1269
1270
  sm: 24,
1270
1271
  md: 32,
@@ -1272,16 +1273,16 @@ var lt = {
1272
1273
  xl: 64,
1273
1274
  "2xl": 96
1274
1275
  };
1275
- function ut(e) {
1276
- return e == null ? null : typeof e == "number" ? `${e}px` : lt[e] == null ? /^\d+$/.test(e) ? `${e}px` : e : `${lt[e]}px`;
1276
+ function Ct(e) {
1277
+ return e == null ? null : typeof e == "number" ? `${e}px` : St[e] == null ? /^\d+$/.test(e) ? `${e}px` : e : `${St[e]}px`;
1277
1278
  }
1278
- function dt({ children: e, size: t, spacing: n = "normal", overflow: r, className: i = "", ...a }) {
1279
- W("AppAvatarGroup", a);
1279
+ function wt({ children: e, size: t, spacing: n = "normal", overflow: r, className: i = "", ...a }) {
1280
+ G("AppAvatarGroup", a);
1280
1281
  let { style: o, ...s } = a, c = [
1281
1282
  "avatar-group",
1282
1283
  n === "normal" ? "" : `avatar-group-${n}`,
1283
1284
  i
1284
- ].filter(Boolean).join(" "), l = ut(t), u = l ? {
1285
+ ].filter(Boolean).join(" "), l = Ct(t), u = l ? {
1285
1286
  "--avatar-size": l,
1286
1287
  ...o
1287
1288
  } : o, d = typeof r == "string" ? Number.parseInt(r, 10) : r;
@@ -1299,8 +1300,8 @@ function dt({ children: e, size: t, spacing: n = "normal", overflow: r, classNam
1299
1300
  }
1300
1301
  //#endregion
1301
1302
  //#region src/components/AppBadge.jsx
1302
- function ft({ children: e, tone: t, dot: n = !1, tooltip: r, tooltipPlacement: i, className: a = "", ...o }) {
1303
- return W("AppBadge", o), q(/* @__PURE__ */ E(m, {
1303
+ function Tt({ children: e, tone: t, dot: n = !1, tooltip: r, tooltipPlacement: i, className: a = "", ...o }) {
1304
+ return G("AppBadge", o), J(/* @__PURE__ */ E(m, {
1304
1305
  bg: !1,
1305
1306
  className: [
1306
1307
  t && t !== "neutral" ? `badge-${t}` : "",
@@ -1313,18 +1314,18 @@ function ft({ children: e, tone: t, dot: n = !1, tooltip: r, tooltipPlacement: i
1313
1314
  }
1314
1315
  //#endregion
1315
1316
  //#region src/components/AppBanner.jsx
1316
- var pt = [
1317
+ var Et = [
1317
1318
  "info",
1318
1319
  "success",
1319
1320
  "warning",
1320
1321
  "danger",
1321
1322
  "neutral"
1322
1323
  ];
1323
- function mt({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDismiss: i, className: a = "", ...o }) {
1324
- W("AppBanner", o);
1324
+ function Dt({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDismiss: i, className: a = "", ...o }) {
1325
+ G("AppBanner", o);
1325
1326
  let [s, c] = f(!0);
1326
1327
  if (!s) return null;
1327
- let l = pt.includes(e) ? e : "info", u = () => {
1328
+ let l = Et.includes(e) ? e : "info", u = () => {
1328
1329
  c(!1), i?.();
1329
1330
  };
1330
1331
  return /* @__PURE__ */ D("div", {
@@ -1355,8 +1356,8 @@ function mt({ tone: e = "info", icon: t, children: n, dismissible: r = !1, onDis
1355
1356
  }
1356
1357
  //#endregion
1357
1358
  //#region src/components/AppBreadcrumbs.jsx
1358
- function ht({ items: e = [], linkComponent: t, className: n = "", ...r }) {
1359
- return W("AppBreadcrumbs", r), /* @__PURE__ */ E(h, {
1359
+ function Ot({ items: e = [], linkComponent: t, className: n = "", ...r }) {
1360
+ return G("AppBreadcrumbs", r), /* @__PURE__ */ E(h, {
1360
1361
  className: n || void 0,
1361
1362
  ...r,
1362
1363
  children: e.map((n, r) => {
@@ -1374,14 +1375,14 @@ function ht({ items: e = [], linkComponent: t, className: n = "", ...r }) {
1374
1375
  }
1375
1376
  //#endregion
1376
1377
  //#region src/components/AppCard.jsx
1377
- var gt = {
1378
+ var kt = {
1378
1379
  xs: 320,
1379
1380
  sm: 420,
1380
1381
  md: 560,
1381
1382
  lg: 720
1382
1383
  };
1383
- function _t({ title: e, subtitle: t, headerIcon: n, titleClassName: r = "", header: i, headerExtra: a, headerActions: o, footer: s, media: c, children: l, variant: u = "default", tone: d = "primary", padding: f = "md", maxWidth: p, className: m = "", bodyClassName: h = "", headerClassName: g = "", body: v = !0, lifted: y = !1, href: b, onClick: x, linkComponent: S, ...C }) {
1384
- W("AppCard", C);
1384
+ function At({ title: e, subtitle: t, headerIcon: n, titleClassName: r = "", header: i, headerExtra: a, headerActions: o, footer: s, media: c, children: l, variant: u = "default", tone: d = "primary", padding: f = "md", maxWidth: p, className: m = "", bodyClassName: h = "", headerClassName: g = "", body: v = !0, lifted: y = !1, href: b, onClick: x, linkComponent: S, ...C }) {
1385
+ G("AppCard", C);
1385
1386
  let { style: w, ...O } = C, k = b != null || x != null, A = [
1386
1387
  u && u !== "default" ? `card-${u}` : "",
1387
1388
  u === "accent" && d && d !== "primary" ? `tone-${d}` : "",
@@ -1390,7 +1391,7 @@ function _t({ title: e, subtitle: t, headerIcon: n, titleClassName: r = "", head
1390
1391
  p == null ? "" : "card-constrained",
1391
1392
  k ? "card-clickable" : "",
1392
1393
  m
1393
- ].filter(Boolean).join(" ") || void 0, j = p == null ? void 0 : gt[p] == null ? typeof p == "number" ? `${p}px` : p : `${gt[p]}px`, M = j ? {
1394
+ ].filter(Boolean).join(" ") || void 0, j = p == null ? void 0 : kt[p] == null ? typeof p == "number" ? `${p}px` : p : `${kt[p]}px`, M = j ? {
1394
1395
  "--card-max-width": j,
1395
1396
  ...w
1396
1397
  } : w, N = {};
@@ -1461,7 +1462,7 @@ function _t({ title: e, subtitle: t, headerIcon: n, titleClassName: r = "", head
1461
1462
  }
1462
1463
  //#endregion
1463
1464
  //#region src/lib/CheckField.jsx
1464
- var vt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", rest: o = {}, inputType: c, wrapperClass: l }, u) {
1465
+ var jt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", rest: o = {}, inputType: c, wrapperClass: l }, u) {
1465
1466
  let d = s(), f = t || d, p = r ? `${f}-error` : void 0, m = i ? `${f}-hint` : void 0;
1466
1467
  return /* @__PURE__ */ D("div", {
1467
1468
  className: `${l}${a ? ` ${a}` : ""}`,
@@ -1492,8 +1493,8 @@ var vt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
1492
1493
  }) : null
1493
1494
  ]
1494
1495
  });
1495
- }), yt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
1496
- return W("AppCheckbox", o), /* @__PURE__ */ E(vt, {
1496
+ }), Mt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
1497
+ return G("AppCheckbox", o), /* @__PURE__ */ E(jt, {
1497
1498
  ref: s,
1498
1499
  label: e,
1499
1500
  id: t,
@@ -1508,8 +1509,8 @@ var vt = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
1508
1509
  });
1509
1510
  //#endregion
1510
1511
  //#region src/components/AppChip.jsx
1511
- function bt({ label: e, children: t, tone: n = "neutral", variant: r = "soft", size: i = "md", leadingIcon: a, avatar: o, onRemove: s, onClick: c, disabled: l = !1, removeLabel: u, className: d = "", ...f }) {
1512
- W("AppChip", f);
1512
+ function Nt({ 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 }) {
1513
+ G("AppChip", f);
1513
1514
  let p = e ?? t, m = [
1514
1515
  "chip",
1515
1516
  n && n !== "neutral" ? n : "",
@@ -1562,21 +1563,21 @@ function bt({ label: e, children: t, tone: n = "neutral", variant: r = "soft", s
1562
1563
  }
1563
1564
  //#endregion
1564
1565
  //#region src/components/AppChoiceCard.jsx
1565
- var xt = {
1566
+ var Pt = {
1566
1567
  sm: " wui-struct-card-sm",
1567
1568
  md: "",
1568
1569
  lg: " wui-struct-card-lg"
1569
- }, St = {
1570
+ }, Ft = {
1570
1571
  inline: "",
1571
1572
  stacked: " wui-struct-card-stacked"
1572
- }, Ct = {
1573
+ }, It = {
1573
1574
  sm: 16,
1574
1575
  md: 18,
1575
1576
  lg: 22
1576
1577
  };
1577
- function wt({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon: a, iconNode: o, iconSize: s, image: c, imageAlt: l = "", children: u, title: d, description: f, checkIcon: p = "check", checkSize: m = 18, hideCheck: h = !1, size: g = "md", layout: _ = "inline", className: v = "", ...y }) {
1578
- W("AppChoiceCard", y), G("AppChoiceCard", "size", g, Object.keys(xt)), G("AppChoiceCard", "layout", _, Object.keys(St));
1579
- let b = xt[g] ?? "", x = St[_] ?? "", S = s ?? Ct[g] ?? Ct.md;
1578
+ function Lt({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon: a, iconNode: o, iconSize: s, image: c, imageAlt: l = "", children: u, title: d, description: f, checkIcon: p = "check", checkSize: m = 18, hideCheck: h = !1, size: g = "md", layout: _ = "inline", className: v = "", ...y }) {
1579
+ G("AppChoiceCard", y), q("AppChoiceCard", "size", g, Object.keys(Pt)), q("AppChoiceCard", "layout", _, Object.keys(Ft));
1580
+ let b = Pt[g] ?? "", x = Ft[_] ?? "", S = s ?? It[g] ?? It.md;
1580
1581
  return /* @__PURE__ */ D("label", {
1581
1582
  className: `struct-card${c ? " struct-card-img-card" : ""}${b}${x}${h ? " wui-struct-card-no-check" : ""}${r ? " checked" : ""}${v ? ` ${v}` : ""}`,
1582
1583
  ...y,
@@ -1626,8 +1627,8 @@ function wt({ name: e, multiple: t = !1, value: n, checked: r, onChange: i, icon
1626
1627
  }
1627
1628
  //#endregion
1628
1629
  //#region src/components/AppChoiceChip.jsx
1629
- function Tt({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChange: a, children: o, count: s, size: c = "md", className: l = "", ...u }) {
1630
- return W("AppChoiceChip", u), /* @__PURE__ */ D("label", {
1630
+ function Rt({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChange: a, children: o, count: s, size: c = "md", className: l = "", ...u }) {
1631
+ return G("AppChoiceChip", u), /* @__PURE__ */ D("label", {
1631
1632
  className: `choice-chip${i ? " checked" : ""}${c === "sm" ? " choice-chip-sm" : c === "lg" ? " choice-chip-lg" : ""}${l ? ` ${l}` : ""}`,
1632
1633
  ...u,
1633
1634
  children: [
@@ -1648,8 +1649,8 @@ function Tt({ multiple: e = !0, label: t, name: n, value: r, checked: i, onChang
1648
1649
  }
1649
1650
  //#endregion
1650
1651
  //#region src/components/AppColorField.jsx
1651
- function Et({ value: e = "#000000", onChange: t, label: n, required: r = !1, error: i, hint: a, name: o, id: c, disabled: l = !1, size: u = "md", className: d = "", fieldClassName: f = "", ...p }) {
1652
- W("AppColorField", p);
1652
+ function zt({ 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 }) {
1653
+ G("AppColorField", p);
1653
1654
  let m = s(), h = c || m, g = i ? `${h}-error` : a ? `${h}-hint` : void 0, _ = (e) => /^#[0-9a-f]{6}$/i.test(e), v = u === "sm" ? " color-field-sm" : u === "lg" ? " color-field-lg" : "", y = u === "sm" ? " input-sm" : u === "lg" ? " input-lg" : "";
1654
1655
  return /* @__PURE__ */ D("div", {
1655
1656
  className: `field${f ? ` ${f}` : ""}`,
@@ -1700,18 +1701,18 @@ function Et({ value: e = "#000000", onChange: t, label: n, required: r = !1, err
1700
1701
  }
1701
1702
  //#endregion
1702
1703
  //#region src/components/AppDropdown.jsx
1703
- var Dt = !1;
1704
- function Ot() {
1704
+ var Bt = !1;
1705
+ function Vt() {
1705
1706
  let e = !0;
1706
1707
  try {
1707
1708
  e = process.env.NODE_ENV !== "production";
1708
1709
  } catch {
1709
1710
  e = !0;
1710
1711
  }
1711
- !e || Dt || (Dt = !0, console.warn("[@webority/ui-react] <AppDropdown> icon-only toggle has no accessible name — pass `label` or `ariaLabel`."));
1712
+ !e || Bt || (Bt = !0, console.warn("[@webority/ui-react] <AppDropdown> icon-only toggle has no accessible name — pass `label` or `ariaLabel`."));
1712
1713
  }
1713
- function kt({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i, align: a = "end", items: s = [], menuClassName: c = "", linkComponent: l, children: u, trigger: d, ...p }) {
1714
- W("AppDropdown", p), !d && !i && !r && Ot();
1714
+ function Ht({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i, align: a = "end", items: s = [], menuClassName: c = "", linkComponent: l, children: u, trigger: d, ...p }) {
1715
+ G("AppDropdown", p), !d && !i && !r && Vt();
1715
1716
  let m = n ?? (d ? "wui-dropdown-trigger" : "topbar-icon-btn"), [h, g] = f(!1);
1716
1717
  return o(() => {
1717
1718
  if (!h) return;
@@ -1728,7 +1729,7 @@ function kt({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i,
1728
1729
  onToggle: (e) => g(e),
1729
1730
  ...p,
1730
1731
  children: [/* @__PURE__ */ E(v.Toggle, {
1731
- as: At,
1732
+ as: Ut,
1732
1733
  icon: e,
1733
1734
  iconSize: t,
1734
1735
  btnClassName: m,
@@ -1764,7 +1765,7 @@ function kt({ icon: e, iconSize: t, toggleClassName: n, label: r, ariaLabel: i,
1764
1765
  })]
1765
1766
  });
1766
1767
  }
1767
- var At = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-btn", trigger: r, "aria-label": i, className: a, ...o }, s) {
1768
+ var Ut = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-btn", trigger: r, "aria-label": i, className: a, ...o }, s) {
1768
1769
  return /* @__PURE__ */ E("button", {
1769
1770
  ref: s,
1770
1771
  type: "button",
@@ -1779,10 +1780,10 @@ var At = i(function({ icon: e, iconSize: t = 20, btnClassName: n = "topbar-icon-
1779
1780
  });
1780
1781
  //#endregion
1781
1782
  //#region src/components/AppColumnMenu.jsx
1782
- function jt({ columns: e, hiddenColumns: t = [], onToggle: n, label: r = "Columns", className: i = "", ...a }) {
1783
- W("AppColumnMenu", a);
1783
+ function Wt({ columns: e, hiddenColumns: t = [], onToggle: n, label: r = "Columns", className: i = "", ...a }) {
1784
+ G("AppColumnMenu", a);
1784
1785
  let o = e.filter((e) => e.hideable);
1785
- return /* @__PURE__ */ D(kt, {
1786
+ return /* @__PURE__ */ D(Ht, {
1786
1787
  icon: "layout-grid",
1787
1788
  label: r,
1788
1789
  menuClassName: `wui-column-menu${i ? ` ${i}` : ""}`,
@@ -1802,34 +1803,34 @@ function jt({ columns: e, hiddenColumns: t = [], onToggle: n, label: r = "Column
1802
1803
  }
1803
1804
  //#endregion
1804
1805
  //#region src/components/AppModal.jsx
1805
- var Mt = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"])", Nt = {
1806
+ var Gt = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"])", Kt = {
1806
1807
  sm: 380,
1807
1808
  md: 440,
1808
1809
  lg: 640,
1809
1810
  xl: 880
1810
- }, Pt = !1;
1811
- function Ft() {
1811
+ }, qt = !1;
1812
+ function Jt() {
1812
1813
  let e = !0;
1813
1814
  try {
1814
1815
  e = process.env.NODE_ENV !== "production";
1815
1816
  } catch {
1816
1817
  e = !0;
1817
1818
  }
1818
- !e || Pt || (Pt = !0, console.warn("[@webority/ui-react] <AppModal hideHeader> has no accessible name — pass `ariaLabel` (or a string `title`)."));
1819
+ !e || qt || (qt = !0, console.warn("[@webority/ui-react] <AppModal hideHeader> has no accessible name — pass `ariaLabel` (or a string `title`)."));
1819
1820
  }
1820
- function It({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a = "default", dismissible: s = !0, onClose: c, footer: l, size: u = "md", placement: f = "center", hideHeader: p = !1, staticBackdrop: m = !1, ariaLabel: h, className: g = "", children: _, ...v }) {
1821
- W("AppModal", v), G("AppModal", "size", typeof u == "string" ? u : null, Object.keys(Nt));
1821
+ function Yt({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a = "default", dismissible: s = !0, onClose: c, footer: l, size: u = "md", placement: f = "center", hideHeader: p = !1, staticBackdrop: m = !1, ariaLabel: h, className: g = "", children: _, ...v }) {
1822
+ G("AppModal", v), q("AppModal", "size", typeof u == "string" ? u : null, Object.keys(Kt));
1822
1823
  let { style: y, ...x } = v;
1823
- p && !h && typeof n != "string" && Ft();
1824
+ p && !h && typeof n != "string" && Jt();
1824
1825
  let S = d(null);
1825
1826
  o(() => {
1826
1827
  if (!e) return;
1827
1828
  let t = S.current?.closest(".modal-content");
1828
1829
  if (!t) return;
1829
- let n = () => Array.from(t.querySelectorAll(Mt));
1830
+ let n = () => Array.from(t.querySelectorAll(Gt));
1830
1831
  (t.querySelector("[data-autofocus]") || n().find((e) => !e.classList.contains("wui-modal-close")) || n()[0] || t).focus?.();
1831
1832
  }, [e]);
1832
- let C = typeof u == "number" ? u : Nt[u] ?? Nt.md, w = [
1833
+ let C = typeof u == "number" ? u : Kt[u] ?? Kt.md, w = [
1833
1834
  "wui-modal",
1834
1835
  a === "default" ? "" : `tone-${a}`,
1835
1836
  g
@@ -1914,19 +1915,19 @@ function It({ open: e, eyebrow: t, title: n, subtitle: r, headerIcon: i, tone: a
1914
1915
  }
1915
1916
  //#endregion
1916
1917
  //#region src/components/AppCommandPalette.jsx
1917
- var Lt = "lg";
1918
- function Rt({ open: e, onClose: t, query: n = "", onQueryChange: r, placeholder: i = "Search…", groups: a = [], loading: o = !1, emptyText: c = "No results", footer: l, ariaLabel: u = "Search", highlight: d = !0, id: f, className: p = "", ...m }) {
1919
- W("AppCommandPalette", m);
1918
+ var Xt = "lg";
1919
+ function Zt({ open: e, onClose: t, query: n = "", onQueryChange: r, placeholder: i = "Search…", groups: a = [], loading: o = !1, emptyText: c = "No results", footer: l, ariaLabel: u = "Search", highlight: d = !0, id: f, className: p = "", ...m }) {
1920
+ G("AppCommandPalette", m);
1920
1921
  let h = s(), g = f || h;
1921
- return /* @__PURE__ */ E(It, {
1922
+ return /* @__PURE__ */ E(Yt, {
1922
1923
  open: e,
1923
1924
  onClose: t,
1924
1925
  hideHeader: !0,
1925
1926
  placement: "top",
1926
- size: Lt,
1927
+ size: Xt,
1927
1928
  ariaLabel: u,
1928
1929
  className: `wui-cmd-card${p ? ` ${p}` : ""}`,
1929
- children: /* @__PURE__ */ E(zt, {
1930
+ children: /* @__PURE__ */ E(Qt, {
1930
1931
  baseId: g,
1931
1932
  query: n,
1932
1933
  onQueryChange: r,
@@ -1942,7 +1943,7 @@ function Rt({ open: e, onClose: t, query: n = "", onQueryChange: r, placeholder:
1942
1943
  })
1943
1944
  });
1944
1945
  }
1945
- function zt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i, loading: a, emptyText: s, footer: c, ariaLabel: u, highlight: f, onClose: p, rest: m }) {
1946
+ function Qt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i, loading: a, emptyText: s, footer: c, ariaLabel: u, highlight: f, onClose: p, rest: m }) {
1946
1947
  let h = d(null), g = `${e}-list`, _ = i.filter((e) => e.items?.length), v = !a && t.trim() !== "" && _.length === 0;
1947
1948
  return l(() => {
1948
1949
  h.current?.refresh?.();
@@ -1982,7 +1983,7 @@ function zt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
1982
1983
  value: t,
1983
1984
  onChange: (e) => n?.(e.target.value)
1984
1985
  }),
1985
- a && /* @__PURE__ */ E(He, {
1986
+ a && /* @__PURE__ */ E(tt, {
1986
1987
  size: "sm",
1987
1988
  className: "wui-cmd-spinner"
1988
1989
  })
@@ -1996,7 +1997,7 @@ function zt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
1996
1997
  "aria-busy": a ? "true" : void 0,
1997
1998
  hidden: _.length === 0,
1998
1999
  children: _.map((n) => {
1999
- let r = `${e}-${Vt(n.key)}`;
2000
+ let r = `${e}-${en(n.key)}`;
2000
2001
  return /* @__PURE__ */ D("div", {
2001
2002
  className: "wui-cmd-group",
2002
2003
  role: "group",
@@ -2009,7 +2010,7 @@ function zt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
2009
2010
  }), n.items.map((e) => /* @__PURE__ */ D("div", {
2010
2011
  className: "wui-cmd-item",
2011
2012
  role: "option",
2012
- id: `${r}-${Vt(e.key)}`,
2013
+ id: `${r}-${en(e.key)}`,
2013
2014
  "data-group-key": String(n.key),
2014
2015
  "data-key": String(e.key),
2015
2016
  children: [
@@ -2022,7 +2023,7 @@ function zt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
2022
2023
  className: "wui-cmd-item-text",
2023
2024
  children: [/* @__PURE__ */ E("span", {
2024
2025
  className: "wui-cmd-item-label",
2025
- children: f ? Bt(e.label, t) : e.label
2026
+ children: f ? $t(e.label, t) : e.label
2026
2027
  }), e.description != null && /* @__PURE__ */ E("span", {
2027
2028
  className: "wui-cmd-item-desc",
2028
2029
  children: e.description
@@ -2049,9 +2050,9 @@ function zt({ baseId: e, query: t, onQueryChange: n, placeholder: r, groups: i,
2049
2050
  ]
2050
2051
  });
2051
2052
  }
2052
- function Bt(e, n) {
2053
+ function $t(e, n) {
2053
2054
  if (typeof e != "string") return e;
2054
- let r = I(e, n);
2055
+ let r = V(e, n);
2055
2056
  if (r.length === 1 && !r[0].match) return e;
2056
2057
  let i = 0;
2057
2058
  return r.map((e) => {
@@ -2062,18 +2063,18 @@ function Bt(e, n) {
2062
2063
  }, n) : /* @__PURE__ */ E(t, { children: e.text }, n);
2063
2064
  });
2064
2065
  }
2065
- function Vt(e) {
2066
+ function en(e) {
2066
2067
  return String(e).replace(/\s+/g, "_");
2067
2068
  }
2068
2069
  //#endregion
2069
2070
  //#region src/lib/emptyValue.js
2070
- function Ht(e) {
2071
+ function tn(e) {
2071
2072
  return e == null || e === "";
2072
2073
  }
2073
2074
  //#endregion
2074
2075
  //#region src/components/AppCompareTable.jsx
2075
- function Ut({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i }) {
2076
- W("AppCompareTable", i);
2076
+ function nn({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i }) {
2077
+ G("AppCompareTable", i);
2077
2078
  let a = (e) => e === !0 ? /* @__PURE__ */ E("span", {
2078
2079
  className: "compare-yes",
2079
2080
  children: /* @__PURE__ */ E(Y, {
@@ -2109,27 +2110,27 @@ function Ut({ columns: e = [], rows: t = [], caption: n, className: r = "", ...i
2109
2110
  }
2110
2111
  //#endregion
2111
2112
  //#region src/components/AppInput.jsx
2112
- var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", type: c = "text", size: l = "md", leftIcon: u, rightIcon: p, onRightIconClick: m, rightIconLabel: h, unit: g, id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, clearable: C = !1, showCount: w = !1, maxLength: T, prefix: O, suffix: k, action: A, floatingLabel: j = !1, variant: M, passwordRequirements: P = !1, requirementsPlacement: F = "auto", ...I }, L) {
2113
- W("AppInput", I);
2114
- let [R, z] = f(!1), B = s(), V = _ || B, H = c === "password", ee = H && R ? "text" : c, U = d(null), te = (e) => {
2115
- U.current = e, typeof L == "function" ? L(e) : L && (L.current = e);
2116
- }, ne = String(I.value ?? I.defaultValue ?? ""), [re, ie] = f(() => !!ne), [ae, oe] = f(() => ne.length), G = C && !S, se = C || w, K = H && !!P, [ce, q] = f(ne);
2113
+ var rn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", type: c = "text", size: l = "md", leftIcon: u, rightIcon: p, onRightIconClick: m, rightIconLabel: h, unit: g, id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, clearable: C = !1, showCount: w = !1, maxLength: T, prefix: O, suffix: k, action: A, floatingLabel: j = !1, variant: M, passwordRequirements: N = !1, requirementsPlacement: P = "auto", ...F }, I) {
2114
+ G("AppInput", F);
2115
+ let [L, R] = f(!1), z = s(), B = _ || z, V = c === "password", H = V && L ? "text" : c, te = d(null), U = (e) => {
2116
+ te.current = e, typeof I == "function" ? I(e) : I && (I.current = e);
2117
+ }, ne = String(F.value ?? F.defaultValue ?? ""), [re, ie] = f(() => !!ne), [ae, oe] = f(() => ne.length), se = C && !S, ce = C || w, W = V && !!N, [le, ue] = f(ne);
2117
2118
  o(() => {
2118
- !K || I.value === void 0 || q(String(I.value ?? ""));
2119
- }, [I.value, K]), o(() => {
2120
- if (!se || I.value === void 0) return;
2121
- let e = String(I.value ?? "");
2119
+ !W || F.value === void 0 || ue(String(F.value ?? ""));
2120
+ }, [F.value, W]), o(() => {
2121
+ if (!ce || F.value === void 0) return;
2122
+ let e = String(F.value ?? "");
2122
2123
  ie(!!e), oe(e.length);
2123
- }, [I.value, se]);
2124
- let le = (e) => {
2125
- ie(!!e.target.value), oe(e.target.value.length), I.onInput?.(e);
2126
- }, ue = (e) => {
2127
- K && q(e.target.value), se ? le(e) : I.onInput?.(e);
2128
- }, de = G ? /* @__PURE__ */ E("button", {
2124
+ }, [F.value, ce]);
2125
+ let de = (e) => {
2126
+ ie(!!e.target.value), oe(e.target.value.length), F.onInput?.(e);
2127
+ }, fe = (e) => {
2128
+ W && ue(e.target.value), ce ? de(e) : F.onInput?.(e);
2129
+ }, pe = se ? /* @__PURE__ */ E("button", {
2129
2130
  type: "button",
2130
2131
  className: "input-clear",
2131
2132
  onClick: () => {
2132
- let e = U.current;
2133
+ let e = te.current;
2133
2134
  if (!e) return;
2134
2135
  let t = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set;
2135
2136
  t ? t.call(e, "") : e.value = "", e.dispatchEvent(new Event("input", { bubbles: !0 })), ie(!1), e.focus();
@@ -2141,34 +2142,34 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2141
2142
  name: "x",
2142
2143
  size: 16
2143
2144
  })
2144
- }) : null, fe = n && V ? `${V}-error` : void 0, pe = r && V ? `${V}-hint` : void 0, me = fe || pe, he = [
2145
+ }) : null, me = n && B ? `${B}-error` : void 0, he = r && B ? `${B}-hint` : void 0, ge = me || he, _e = [
2145
2146
  "input",
2146
2147
  l === "sm" ? "input-sm" : "",
2147
2148
  l === "lg" ? "input-lg" : "",
2148
2149
  n ? "error" : "",
2149
- H ? "pw" : "",
2150
+ V ? "pw" : "",
2150
2151
  g ? "num-input" : "",
2151
- !(j && e || O || k || g || H || p) && C && G ? "has-clear" : "",
2152
+ !(j && e || O || k || g || V || p) && C && se ? "has-clear" : "",
2152
2153
  M === "bare" ? "input-bare" : "",
2153
2154
  b
2154
- ].filter(Boolean).join(" "), J = /* @__PURE__ */ E(y.Control, {
2155
- id: V,
2155
+ ].filter(Boolean).join(" "), K = /* @__PURE__ */ E(y.Control, {
2156
+ id: B,
2156
2157
  name: v,
2157
- type: ee,
2158
- className: he,
2158
+ type: H,
2159
+ className: _e,
2159
2160
  disabled: S,
2160
2161
  required: t,
2161
2162
  "aria-invalid": n ? "true" : "false",
2162
- "aria-describedby": me,
2163
+ "aria-describedby": ge,
2163
2164
  maxLength: T,
2164
- ...I,
2165
- placeholder: j ? " " : I.placeholder,
2166
- ref: te,
2167
- onInput: se || K ? ue : I.onInput
2168
- }), ge = P === !0 || P, _e = ge && typeof ge == "object" && ge.title || "Password Requirements", ve = K ? N(ce, ge) : null, ye = K ? /* @__PURE__ */ E("ul", {
2165
+ ...F,
2166
+ placeholder: j ? " " : F.placeholder,
2167
+ ref: U,
2168
+ onInput: ce || W ? fe : F.onInput
2169
+ }), q = N === !0 || N, ve = q && typeof q == "object" && q.title || "Password Requirements", ye = W ? ee(le, q) : null, be = W ? /* @__PURE__ */ E("ul", {
2169
2170
  className: "pw-criteria",
2170
2171
  "aria-live": "polite",
2171
- children: ve.map((e) => /* @__PURE__ */ D("li", {
2172
+ children: ye.map((e) => /* @__PURE__ */ D("li", {
2172
2173
  className: `pw-rule ${e.met ? "met" : "unmet"}`,
2173
2174
  children: [
2174
2175
  /* @__PURE__ */ E("span", {
@@ -2185,16 +2186,16 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2185
2186
  })
2186
2187
  ]
2187
2188
  }, e.key))
2188
- }) : null, be;
2189
- if (j && e) be = /* @__PURE__ */ D("div", {
2189
+ }) : null, J;
2190
+ if (j && e) J = /* @__PURE__ */ D("div", {
2190
2191
  className: "field-float",
2191
- children: [J, /* @__PURE__ */ D("label", {
2192
+ children: [K, /* @__PURE__ */ D("label", {
2192
2193
  className: "float-label",
2193
- htmlFor: V,
2194
+ htmlFor: B,
2194
2195
  children: [e, t && /* @__PURE__ */ E(Z, {})]
2195
2196
  })]
2196
2197
  });
2197
- else if (A) be = /* @__PURE__ */ D("div", {
2198
+ else if (A) J = /* @__PURE__ */ D("div", {
2198
2199
  className: "input-action-row",
2199
2200
  children: [/* @__PURE__ */ D("div", {
2200
2201
  className: u ? "input-icon" : "input-wrap",
@@ -2204,34 +2205,34 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2204
2205
  name: u,
2205
2206
  size: 16
2206
2207
  })
2207
- }), J]
2208
+ }), K]
2208
2209
  }), /* @__PURE__ */ E("div", {
2209
2210
  className: "input-action",
2210
2211
  children: A
2211
2212
  })]
2212
2213
  });
2213
- else if (O || k) be = /* @__PURE__ */ D("div", {
2214
+ else if (O || k) J = /* @__PURE__ */ D("div", {
2214
2215
  className: "input-affixed",
2215
2216
  children: [
2216
2217
  O != null && /* @__PURE__ */ E("span", {
2217
2218
  className: "affix affix-pre",
2218
2219
  children: O
2219
2220
  }),
2220
- J,
2221
+ K,
2221
2222
  k != null && /* @__PURE__ */ E("span", {
2222
2223
  className: "affix affix-suf",
2223
2224
  children: k
2224
2225
  })
2225
2226
  ]
2226
2227
  });
2227
- else if (g) be = /* @__PURE__ */ D("div", {
2228
+ else if (g) J = /* @__PURE__ */ D("div", {
2228
2229
  className: "input-with-unit",
2229
- children: [J, /* @__PURE__ */ E("span", {
2230
+ children: [K, /* @__PURE__ */ E("span", {
2230
2231
  className: "unit",
2231
2232
  children: g
2232
2233
  })]
2233
2234
  });
2234
- else if (H) {
2235
+ else if (V) {
2235
2236
  let e = /* @__PURE__ */ D("div", {
2236
2237
  className: u ? "input-icon" : "input-wrap",
2237
2238
  children: [
@@ -2242,12 +2243,12 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2242
2243
  size: 16
2243
2244
  })
2244
2245
  }),
2245
- J,
2246
+ K,
2246
2247
  /* @__PURE__ */ D("button", {
2247
2248
  type: "button",
2248
- className: `pw-toggle${R ? " pw-revealed" : ""}`,
2249
- onClick: () => z((e) => !e),
2250
- "aria-label": R ? "Hide password" : "Show password",
2249
+ className: `pw-toggle${L ? " pw-revealed" : ""}`,
2250
+ onClick: () => R((e) => !e),
2251
+ "aria-label": L ? "Hide password" : "Show password",
2251
2252
  tabIndex: -1,
2252
2253
  children: [/* @__PURE__ */ E(Y, {
2253
2254
  name: "eye",
@@ -2261,17 +2262,17 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2261
2262
  })
2262
2263
  ]
2263
2264
  });
2264
- be = K ? /* @__PURE__ */ E(Ge, {
2265
+ J = W ? /* @__PURE__ */ E(it, {
2265
2266
  trigger: e,
2266
2267
  triggerType: "focus",
2267
- placement: F,
2268
- title: _e,
2268
+ placement: P,
2269
+ title: ve,
2269
2270
  className: "pw-popover",
2270
- children: ye
2271
+ children: be
2271
2272
  }) : e;
2272
- } else be = p ? /* @__PURE__ */ D("div", {
2273
+ } else J = p ? /* @__PURE__ */ D("div", {
2273
2274
  className: "input-wrap",
2274
- children: [J, /* @__PURE__ */ E("button", {
2275
+ children: [K, /* @__PURE__ */ E("button", {
2275
2276
  type: "button",
2276
2277
  className: "pw-toggle",
2277
2278
  onClick: m,
@@ -2293,8 +2294,8 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2293
2294
  size: 16
2294
2295
  })
2295
2296
  }),
2296
- J,
2297
- de
2297
+ K,
2298
+ pe
2298
2299
  ]
2299
2300
  }) : u ? /* @__PURE__ */ D("div", {
2300
2301
  className: "input-icon",
@@ -2304,31 +2305,31 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2304
2305
  name: u,
2305
2306
  size: 16
2306
2307
  })
2307
- }), J]
2308
- }) : J;
2308
+ }), K]
2309
+ }) : K;
2309
2310
  return /* @__PURE__ */ D(y.Group, {
2310
2311
  className: `field${x ? ` ${x}` : ""}`,
2311
2312
  children: [
2312
2313
  e && !j && /* @__PURE__ */ D(y.Label, {
2313
2314
  className: "label",
2314
- htmlFor: V,
2315
+ htmlFor: B,
2315
2316
  children: [
2316
2317
  e,
2317
2318
  t && /* @__PURE__ */ E(Z, {}),
2318
- i && /* @__PURE__ */ E(qe, {
2319
+ i && /* @__PURE__ */ E(ot, {
2319
2320
  label: a,
2320
2321
  children: i
2321
2322
  })
2322
2323
  ]
2323
2324
  }),
2324
- be,
2325
+ J,
2325
2326
  n ? /* @__PURE__ */ E("div", {
2326
2327
  className: "field-error",
2327
- id: fe,
2328
+ id: me,
2328
2329
  children: n
2329
2330
  }) : r ? /* @__PURE__ */ E("div", {
2330
2331
  className: "field-hint",
2331
- id: pe,
2332
+ id: he,
2332
2333
  children: r
2333
2334
  }) : null,
2334
2335
  w && /* @__PURE__ */ D("div", {
@@ -2337,31 +2338,31 @@ var Wt = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, he
2337
2338
  })
2338
2339
  ]
2339
2340
  });
2340
- }), Gt = (e) => function({ size: t = 72 }) {
2341
+ }), an = (e) => function({ size: t = 72 }) {
2341
2342
  return /* @__PURE__ */ E("wui-status-icon", {
2342
2343
  tone: e,
2343
2344
  size: t
2344
2345
  });
2345
- }, Kt = {
2346
- success: Gt("success"),
2347
- error: Gt("error"),
2348
- warning: Gt("warning"),
2349
- info: Gt("info"),
2350
- delete: Gt("delete"),
2351
- primary: Gt("primary")
2346
+ }, on = {
2347
+ success: an("success"),
2348
+ error: an("error"),
2349
+ warning: an("warning"),
2350
+ info: an("info"),
2351
+ delete: an("delete"),
2352
+ primary: an("primary")
2352
2353
  };
2353
2354
  //#endregion
2354
2355
  //#region src/components/AppConfirmDialog.jsx
2355
- function qt({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancelLabel: i = "Cancel", danger: a = !1, tone: s, image: c, iconSize: l, confirmPhrase: u, onConfirm: d, onClose: p, loading: m = !1, staticBackdrop: h = !1, placement: g = "center", size: _ = "md", className: v = "", ...y }) {
2356
- W("AppConfirmDialog", y);
2356
+ function sn({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancelLabel: i = "Cancel", danger: a = !1, tone: s, image: c, iconSize: l, confirmPhrase: u, onConfirm: d, onClose: p, loading: m = !1, staticBackdrop: h = !1, placement: g = "center", size: _ = "md", className: v = "", ...y }) {
2357
+ G("AppConfirmDialog", y);
2357
2358
  let [b, x] = f("");
2358
2359
  if (o(() => {
2359
2360
  e || x("");
2360
2361
  }, [e]), !e) return null;
2361
- let S = !!u && b.trim() !== u, C = c ? null : Kt[s || (a ? "delete" : "info")], w = l > 0 ? { "--wui-confirm-icon-size": `${l}px` } : void 0, O = () => {
2362
+ let S = !!u && b.trim() !== u, C = c ? null : on[s || (a ? "delete" : "info")], w = l > 0 ? { "--wui-confirm-icon-size": `${l}px` } : void 0, O = () => {
2362
2363
  m || p?.();
2363
2364
  };
2364
- return /* @__PURE__ */ E(It, {
2365
+ return /* @__PURE__ */ E(Yt, {
2365
2366
  ...y,
2366
2367
  open: e,
2367
2368
  hideHeader: !0,
@@ -2373,12 +2374,12 @@ function qt({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
2373
2374
  className: ["wui-confirm", v].filter(Boolean).join(" "),
2374
2375
  footer: /* @__PURE__ */ D("div", {
2375
2376
  className: "wui-confirm-actions",
2376
- children: [/* @__PURE__ */ E(Be, {
2377
+ children: [/* @__PURE__ */ E($e, {
2377
2378
  variant: "secondary",
2378
2379
  disabled: m,
2379
2380
  onClick: O,
2380
2381
  children: i
2381
- }), /* @__PURE__ */ E(Be, {
2382
+ }), /* @__PURE__ */ E($e, {
2382
2383
  variant: a ? "danger" : "primary",
2383
2384
  disabled: S,
2384
2385
  loading: m,
@@ -2412,7 +2413,7 @@ function qt({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
2412
2413
  className: "wui-confirm-msg",
2413
2414
  children: n
2414
2415
  }),
2415
- u && /* @__PURE__ */ E(Wt, {
2416
+ u && /* @__PURE__ */ E(rn, {
2416
2417
  fieldClassName: "mt-3 mb-0 w-100 text-start",
2417
2418
  label: /* @__PURE__ */ D(T, { children: [
2418
2419
  "Type ",
@@ -2430,16 +2431,16 @@ function qt({ open: e, title: t, message: n, confirmLabel: r = "Confirm", cancel
2430
2431
  }
2431
2432
  //#endregion
2432
2433
  //#region src/components/AppConsentBanner.jsx
2433
- var Jt = ["bottom-left", "bottom-right"];
2434
- function Yt({ heading: e, description: t, policyHref: n, policyLabel: r, analyticsDescription: i, functionalDescription: a, marketingDescription: s, position: c = "bottom-left", standalone: l = !1, className: u = "", style: d, ...f }) {
2435
- W("AppConsentBanner", f), G("AppConsentBanner", "position", c, Jt);
2434
+ var cn = ["bottom-left", "bottom-right"];
2435
+ function ln({ heading: e, description: t, policyHref: n, policyLabel: r, analyticsDescription: i, functionalDescription: a, marketingDescription: s, position: c = "bottom-left", standalone: l = !1, className: u = "", style: d, ...f }) {
2436
+ G("AppConsentBanner", f), q("AppConsentBanner", "position", c, cn);
2436
2437
  let { setRef: p, innerRef: m } = Q({ on: { "wui-consent-save": (e) => {
2437
- z(e.detail), m.current && (m.current.preferences = R());
2438
+ se(e.detail), m.current && (m.current.preferences = oe());
2438
2439
  } } });
2439
2440
  return o(() => {
2440
2441
  let e = m.current;
2441
2442
  if (!e) return;
2442
- let t = R();
2443
+ let t = oe();
2443
2444
  e.preferences = t, t.decided || e.open();
2444
2445
  }, [m]), /* @__PURE__ */ E("wui-consent-banner", {
2445
2446
  ref: p,
@@ -2459,26 +2460,26 @@ function Yt({ heading: e, description: t, policyHref: n, policyLabel: r, analyti
2459
2460
  }
2460
2461
  //#endregion
2461
2462
  //#region src/components/AppCopyButton.jsx
2462
- var Xt = {
2463
+ var un = {
2463
2464
  sm: 14,
2464
2465
  md: 16,
2465
2466
  lg: 20
2466
2467
  };
2467
- function Zt({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r = !1, size: i = "md", variant: s = "ghost", onCopied: c, className: l = "", tooltip: u, tooltipPlacement: p, ...m }) {
2468
- W("AppCopyButton", m), G("AppCopyButton", "size", i, Object.keys(Xt));
2468
+ function dn({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r = !1, size: i = "md", variant: s = "ghost", onCopied: c, className: l = "", tooltip: u, tooltipPlacement: p, ...m }) {
2469
+ G("AppCopyButton", m), q("AppCopyButton", "size", i, Object.keys(un));
2469
2470
  let [h, g] = f(!1), _ = d(null);
2470
2471
  o(() => () => clearTimeout(_.current), []);
2471
2472
  let v = a(async () => {
2472
- await M(e) && (g(!0), clearTimeout(_.current), _.current = setTimeout(() => g(!1), O), c?.());
2473
+ await R(e) && (g(!0), clearTimeout(_.current), _.current = setTimeout(() => g(!1), O), c?.());
2473
2474
  }, [e, c]), y = h ? n : t, b = h ? "check" : "files";
2474
- return q(r ? /* @__PURE__ */ E(je, {
2475
+ return J(r ? /* @__PURE__ */ E(We, {
2475
2476
  icon: b,
2476
2477
  label: y,
2477
- size: Xt[i] ?? Xt.md,
2478
+ size: un[i] ?? un.md,
2478
2479
  onClick: v,
2479
2480
  className: l,
2480
2481
  ...m
2481
- }) : /* @__PURE__ */ E(Be, {
2482
+ }) : /* @__PURE__ */ E($e, {
2482
2483
  leftIcon: b,
2483
2484
  variant: s,
2484
2485
  size: i,
@@ -2491,12 +2492,12 @@ function Zt({ text: e, label: t = "Copy", copiedLabel: n = "Copied", iconOnly: r
2491
2492
  }
2492
2493
  //#endregion
2493
2494
  //#region src/components/AppCountrySelect.jsx
2494
- var Qt = [
2495
+ var fn = [
2495
2496
  "sm",
2496
2497
  "md",
2497
2498
  "lg"
2498
- ], $t = i(function({ value: e, onChange: t, countries: n, placeholder: r = "Select country", searchPlaceholder: i = "Search countries...", searchable: a = !0, clearable: o = !1, size: c = "md", floatingLabel: l = !1, disabled: u, label: d, required: f = !1, error: p, hint: m, help: h, helpLabel: g = "More information", id: _, name: v, className: y = "", fieldClassName: b = "", "aria-label": x, "aria-labelledby": S, "aria-describedby": C, ...w }, T) {
2499
- W("AppCountrySelect", w), G("AppCountrySelect", "size", c, Qt);
2499
+ ], pn = i(function({ value: e, onChange: t, countries: n, placeholder: r = "Select country", searchPlaceholder: i = "Search countries...", searchable: a = !0, clearable: o = !1, size: c = "md", floatingLabel: l = !1, disabled: u, label: d, required: f = !1, error: p, hint: m, help: h, helpLabel: g = "More information", id: _, name: v, className: y = "", fieldClassName: b = "", "aria-label": x, "aria-labelledby": S, "aria-describedby": C, ...w }, T) {
2500
+ G("AppCountrySelect", w), q("AppCountrySelect", "size", c, fn);
2500
2501
  let O = s(), { setRef: k } = Q({
2501
2502
  ref: T,
2502
2503
  value: e ?? "",
@@ -2529,7 +2530,7 @@ var Qt = [
2529
2530
  children: [
2530
2531
  d,
2531
2532
  f && /* @__PURE__ */ E(Z, {}),
2532
- h && /* @__PURE__ */ E(qe, {
2533
+ h && /* @__PURE__ */ E(ot, {
2533
2534
  label: g,
2534
2535
  children: h
2535
2536
  })
@@ -2557,8 +2558,8 @@ var Qt = [
2557
2558
  });
2558
2559
  //#endregion
2559
2560
  //#region src/components/AppSkeleton.jsx
2560
- function en({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "", style: i, ...a }) {
2561
- return W("AppSkeleton", a), /* @__PURE__ */ E("span", {
2561
+ function mn({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "", style: i, ...a }) {
2562
+ return G("AppSkeleton", a), /* @__PURE__ */ E("span", {
2562
2563
  className: `skeleton${r ? ` ${r}` : ""}`,
2563
2564
  "aria-hidden": "true",
2564
2565
  style: {
@@ -2570,29 +2571,29 @@ function en({ width: e = "100%", height: t = 14, radius: n = 6, className: r = "
2570
2571
  ...a
2571
2572
  });
2572
2573
  }
2573
- function tn({ rows: e = 4, cols: t = 5 }) {
2574
- return Array.from({ length: e }).map((e, n) => /* @__PURE__ */ E("tr", { children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ E("td", { children: /* @__PURE__ */ E(en, {
2574
+ function hn({ rows: e = 4, cols: t = 5 }) {
2575
+ return Array.from({ length: e }).map((e, n) => /* @__PURE__ */ E("tr", { children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ E("td", { children: /* @__PURE__ */ E(mn, {
2575
2576
  width: t === 0 ? "70%" : "50%",
2576
2577
  height: 12
2577
2578
  }) }, `col-${t}`)) }, `row-${n}`));
2578
2579
  }
2579
2580
  //#endregion
2580
2581
  //#region src/lib/pageWindow.js
2581
- var nn = (e, t) => {
2582
+ var gn = (e, t) => {
2582
2583
  let n = [];
2583
2584
  for (let r = e; r <= t; r += 1) n.push(r);
2584
2585
  return n;
2585
2586
  };
2586
- function rn(e, t, { siblingCount: n = 2, boundaryCount: r = 1 } = {}) {
2587
+ function _n(e, t, { siblingCount: n = 2, boundaryCount: r = 1 } = {}) {
2587
2588
  let i = Math.max(1, t), a = Math.min(Math.max(1, e), i);
2588
- if (i <= n * 2 + 3 + r * 2) return nn(1, i);
2589
- let o = Math.max(a - n, r + 2), s = Math.min(a + n, i - r - 1), c = o > r + 2, l = s < i - r - 1, u = nn(1, r);
2590
- return u.push(...c ? ["ellipsis-left"] : nn(r + 1, o - 1)), u.push(...nn(o, s)), u.push(...l ? ["ellipsis-right"] : nn(s + 1, i - r)), u.push(...nn(i - r + 1, i)), u;
2589
+ if (i <= n * 2 + 3 + r * 2) return gn(1, i);
2590
+ 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 = gn(1, r);
2591
+ return u.push(...c ? ["ellipsis-left"] : gn(r + 1, o - 1)), u.push(...gn(o, s)), u.push(...l ? ["ellipsis-right"] : gn(s + 1, i - r)), u.push(...gn(i - r + 1, i)), u;
2591
2592
  }
2592
2593
  //#endregion
2593
2594
  //#region src/components/AppSelectMini.jsx
2594
- function an({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", name: i, ariaLabel: a, id: s, disabled: c, size: l, icon: u, prefix: d, className: f, ...p }) {
2595
- W("AppSelectMini", p);
2595
+ function vn({ 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 }) {
2596
+ G("AppSelectMini", p);
2596
2597
  let { setRef: m, innerRef: h } = Q({
2597
2598
  value: e ?? "",
2598
2599
  onChange: t
@@ -2605,7 +2606,7 @@ function an({ value: e, onChange: t, options: n = [], placeholder: r = "Select..
2605
2606
  label: e.label ?? e.text ?? "",
2606
2607
  icon: e.icon
2607
2608
  }));
2608
- Ze(t, e.options) || (e.options = t);
2609
+ ut(t, e.options) || (e.options = t);
2609
2610
  }, [n, h]), o(() => {
2610
2611
  let e = h.current;
2611
2612
  if (e) for (let [t, n] of [["icon", u], ["prefix", d]]) n == null || n === "" ? e.removeAttribute(t) : e.setAttribute(t, n);
@@ -2628,22 +2629,22 @@ function an({ value: e, onChange: t, options: n = [], placeholder: r = "Select..
2628
2629
  }
2629
2630
  //#endregion
2630
2631
  //#region src/components/AppTablePagination.jsx
2631
- var on = [
2632
+ var yn = [
2632
2633
  5,
2633
2634
  10,
2634
2635
  25,
2635
2636
  50
2636
2637
  ];
2637
- function sn({ page: e, totalPages: t, pageSize: n, onPageChange: r, onPageSizeChange: i, pageSizes: a = on, mode: o = "numbered", showPageSize: s = !0, className: c = "", ...l }) {
2638
- W("AppTablePagination", l);
2639
- let u = o === "numbered", d = u ? rn(e, t) : null;
2638
+ function bn({ page: e, totalPages: t, pageSize: n, onPageChange: r, onPageSizeChange: i, pageSizes: a = yn, mode: o = "numbered", showPageSize: s = !0, className: c = "", ...l }) {
2639
+ G("AppTablePagination", l);
2640
+ let u = o === "numbered", d = u ? _n(e, t) : null;
2640
2641
  return /* @__PURE__ */ D("div", {
2641
2642
  className: `table-pagination${c ? ` ${c}` : ""}`,
2642
2643
  ...l,
2643
2644
  children: [
2644
2645
  s && /* @__PURE__ */ E("span", {
2645
2646
  className: "tpg-rows",
2646
- children: /* @__PURE__ */ E(an, {
2647
+ children: /* @__PURE__ */ E(vn, {
2647
2648
  value: n,
2648
2649
  onChange: (e) => i(Number(e)),
2649
2650
  ariaLabel: "Rows per page",
@@ -2706,32 +2707,32 @@ function sn({ page: e, totalPages: t, pageSize: n, onPageChange: r, onPageSizeCh
2706
2707
  }
2707
2708
  //#endregion
2708
2709
  //#region src/components/AppDataTable.jsx
2709
- var cn = [
2710
+ var xn = [
2710
2711
  "comfortable",
2711
2712
  "cozy",
2712
2713
  "compact"
2713
2714
  ];
2714
- function ln(e) {
2715
+ function Sn(e) {
2715
2716
  return e === "end" ? "wui-cell-end" : e === "num" ? "num" : e === "center" ? "text-center" : "";
2716
2717
  }
2717
- function un(e) {
2718
+ function Cn(e) {
2718
2719
  return e == null || e === "" ? "-" : typeof e == "boolean" ? String(e) : e;
2719
2720
  }
2720
- function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a, loading: s = !1, skeletonRows: c = 5, empty: l = "No records found.", emptyFiltered: u, sourceCount: p, rowActions: m, rowActionsLabel: h, pagination: g, ariaLabel: _, className: v = "", wrapperClassName: y = "", selectable: b = !1, selectedIds: x, onToggleRow: S, onToggleAll: C, renderExpanded: w, density: O = "comfortable", striped: k = !1, maxHeight: A, stickyFirstColumn: j = !1, stackOnMobile: M = !1, hiddenColumns: N, rowStatus: P, rowHref: F, onRowClick: I, ...L }) {
2721
- W("AppDataTable", L);
2721
+ function wn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a, loading: s = !1, skeletonRows: c = 5, empty: l = "No records found.", emptyFiltered: u, sourceCount: p, rowActions: m, rowActionsLabel: h, pagination: g, ariaLabel: _, className: v = "", wrapperClassName: y = "", selectable: b = !1, selectedIds: x, onToggleRow: S, onToggleAll: C, renderExpanded: w, density: O = "comfortable", striped: k = !1, maxHeight: A, stickyFirstColumn: j = !1, stackOnMobile: M = !1, hiddenColumns: N, rowStatus: P, rowHref: F, onRowClick: I, ...L }) {
2722
+ G("AppDataTable", L);
2722
2723
  let R = N?.length ? new Set(N) : null;
2723
- e = R ? e.filter((e) => !(e.hideable && R.has(e.key))) : e, G("AppDataTable", "density", O, cn);
2724
- let z = [
2724
+ e = R ? e.filter((e) => !(e.hideable && R.has(e.key))) : e, q("AppDataTable", "density", O, xn);
2725
+ let ee = [
2725
2726
  "table table-ledger",
2726
2727
  O === "cozy" || O === "compact" ? `wui-table-${O}` : "",
2727
2728
  k ? "wui-table-striped" : "",
2728
2729
  j ? "wui-table-sticky-first" : "",
2729
2730
  M ? "wui-table-stack" : "",
2730
2731
  v
2731
- ].filter(Boolean).join(" "), B = typeof w == "function", [V, H] = f(() => /* @__PURE__ */ new Set()), ee = (e) => H((t) => {
2732
+ ].filter(Boolean).join(" "), z = typeof w == "function", [B, V] = f(() => /* @__PURE__ */ new Set()), H = (e) => V((t) => {
2732
2733
  let n = new Set(t);
2733
2734
  return n.has(e) ? n.delete(e) : n.add(e), n;
2734
- }), U = e.some((e) => typeof e.footer == "function"), te = typeof F == "function" || typeof I == "function", ne = (e) => !!e.target.closest("a, button, input, select, textarea, label, [role='menu'], [role='menuitem'], .dropdown"), re = (e, t) => {
2735
+ }), te = e.some((e) => typeof e.footer == "function"), U = typeof F == "function" || typeof I == "function", ne = (e) => !!e.target.closest("a, button, input, select, textarea, label, [role='menu'], [role='menuitem'], .dropdown"), re = (e, t) => {
2735
2736
  if (ne(t) || (I && I(e), !F)) return;
2736
2737
  let n = F(e);
2737
2738
  n && (t.ctrlKey || t.metaKey || t.button === 1 ? window.open(n, "_blank", "noopener") : window.location.assign(n));
@@ -2739,11 +2740,11 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2739
2740
  "table-wrap",
2740
2741
  ie ? "wui-table-scroll" : "",
2741
2742
  y
2742
- ].filter(Boolean).join(" "), oe = ie ? { maxHeight: A } : void 0, se = Math.max(1, e.length + +!!m + +!!b + +!!B), K = b && n ? n.reduce((e, t, n) => e + +!!x?.has(r(t, n)), 0) : 0, ce = b && n && n.length > 0 && K === n.length, q = K > 0 && !ce, le = (e) => {
2743
- e && (e.indeterminate = q);
2744
- }, ue = d(null);
2743
+ ].filter(Boolean).join(" "), oe = ie ? { maxHeight: A } : void 0, se = Math.max(1, e.length + +!!m + +!!b + +!!z), ce = b && n ? n.reduce((e, t, n) => e + +!!x?.has(r(t, n)), 0) : 0, W = b && n && n.length > 0 && ce === n.length, le = ce > 0 && !W, ue = (e) => {
2744
+ e && (e.indeterminate = le);
2745
+ }, de = d(null);
2745
2746
  o(() => {
2746
- let e = ue.current;
2747
+ let e = de.current;
2747
2748
  if (!e) return;
2748
2749
  let t = (e) => {
2749
2750
  let t = e.target.closest?.(".u-name");
@@ -2753,19 +2754,19 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2753
2754
  e.removeEventListener("mouseover", t), e.removeEventListener("focusin", t);
2754
2755
  };
2755
2756
  }, []);
2756
- let de = u !== void 0 && p > 0 ? u : l;
2757
+ let fe = u !== void 0 && p > 0 ? u : l;
2757
2758
  return /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ D("div", {
2758
- ref: ue,
2759
+ ref: de,
2759
2760
  className: ae,
2760
2761
  style: oe,
2761
2762
  tabIndex: 0,
2762
2763
  ...L,
2763
2764
  children: [/* @__PURE__ */ D("table", {
2764
- className: z,
2765
+ className: ee,
2765
2766
  "aria-label": _,
2766
2767
  children: [
2767
2768
  /* @__PURE__ */ E("thead", { children: /* @__PURE__ */ D("tr", { children: [
2768
- B && /* @__PURE__ */ E("th", {
2769
+ z && /* @__PURE__ */ E("th", {
2769
2770
  className: "wui-expand-cell",
2770
2771
  children: /* @__PURE__ */ E("span", {
2771
2772
  className: "visually-hidden",
@@ -2775,10 +2776,10 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2775
2776
  b && /* @__PURE__ */ E("th", {
2776
2777
  className: "wui-select-cell",
2777
2778
  children: /* @__PURE__ */ E("input", {
2778
- ref: le,
2779
+ ref: ue,
2779
2780
  type: "checkbox",
2780
2781
  className: "wui-check",
2781
- checked: ce,
2782
+ checked: W,
2782
2783
  onChange: (e) => C?.(e.target.checked),
2783
2784
  "aria-label": "Select all rows"
2784
2785
  })
@@ -2792,7 +2793,7 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2792
2793
  })
2793
2794
  });
2794
2795
  return /* @__PURE__ */ D("th", {
2795
- className: (n ? "sortable " : "") + (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + ln(e.align),
2796
+ className: (n ? "sortable " : "") + (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + Sn(e.align),
2796
2797
  style: e.width || e.minWidth ? {
2797
2798
  width: e.width,
2798
2799
  minWidth: e.minWidth
@@ -2821,23 +2822,23 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2821
2822
  })
2822
2823
  }))
2823
2824
  ] }) }),
2824
- /* @__PURE__ */ E("tbody", { children: s ? /* @__PURE__ */ E(tn, {
2825
+ /* @__PURE__ */ E("tbody", { children: s ? /* @__PURE__ */ E(hn, {
2825
2826
  rows: c,
2826
2827
  cols: se
2827
2828
  }) : n?.length ? n.map((n, i) => {
2828
- let a = r(n, i), o = B && V.has(a), s = String(a).replace(/[^a-z0-9]/gi, "_");
2829
+ let a = r(n, i), o = z && B.has(a), s = String(a).replace(/[^a-z0-9]/gi, "_");
2829
2830
  return /* @__PURE__ */ D(t, { children: [/* @__PURE__ */ D("tr", {
2830
- className: [b && x?.has(a) ? "is-selected" : "", te ? "wui-row-link" : ""].filter(Boolean).join(" ") || void 0,
2831
+ className: [b && x?.has(a) ? "is-selected" : "", U ? "wui-row-link" : ""].filter(Boolean).join(" ") || void 0,
2831
2832
  "data-status": P?.(n) || void 0,
2832
2833
  "data-href": F?.(n) || void 0,
2833
- tabIndex: te ? 0 : void 0,
2834
- onClick: te ? (e) => re(n, e) : void 0,
2835
- onAuxClick: te && F ? (e) => e.button === 1 && re(n, e) : void 0,
2836
- onKeyDown: te ? (e) => {
2834
+ tabIndex: U ? 0 : void 0,
2835
+ onClick: U ? (e) => re(n, e) : void 0,
2836
+ onAuxClick: U && F ? (e) => e.button === 1 && re(n, e) : void 0,
2837
+ onKeyDown: U ? (e) => {
2837
2838
  e.key === "Enter" && e.target === e.currentTarget && re(n, e);
2838
2839
  } : void 0,
2839
2840
  children: [
2840
- B && /* @__PURE__ */ E("td", {
2841
+ z && /* @__PURE__ */ E("td", {
2841
2842
  className: "wui-expand-cell",
2842
2843
  children: /* @__PURE__ */ E("button", {
2843
2844
  type: "button",
@@ -2845,7 +2846,7 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2845
2846
  "aria-expanded": o,
2846
2847
  "aria-controls": o ? `${s}-expanded` : void 0,
2847
2848
  "aria-label": o ? "Collapse row" : "Expand row",
2848
- onClick: () => ee(a),
2849
+ onClick: () => H(a),
2849
2850
  children: /* @__PURE__ */ E(Y, {
2850
2851
  name: "chevron-down",
2851
2852
  size: 16
@@ -2863,10 +2864,10 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2863
2864
  })
2864
2865
  }),
2865
2866
  e.map((e, t) => /* @__PURE__ */ E("td", {
2866
- className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + ln(e.align) + (e.cellClassName ? ` ${e.cellClassName}` : ""),
2867
+ className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + Sn(e.align) + (e.cellClassName ? ` ${e.cellClassName}` : ""),
2867
2868
  style: e.cellStyle,
2868
2869
  "data-label": M && typeof e.label == "string" ? e.label : void 0,
2869
- children: e.render ? e.render(n) : un(n[e.key])
2870
+ children: e.render ? e.render(n) : Cn(n[e.key])
2870
2871
  }, e.key)),
2871
2872
  m && /* @__PURE__ */ E("td", { children: /* @__PURE__ */ E("div", {
2872
2873
  className: "u-row-actions",
@@ -2882,11 +2883,11 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2882
2883
  })
2883
2884
  })] }, a);
2884
2885
  }) : null }),
2885
- U && !s && n?.length > 0 && /* @__PURE__ */ E("tfoot", { children: /* @__PURE__ */ D("tr", { children: [
2886
- B && /* @__PURE__ */ E("td", { className: "wui-expand-cell" }),
2886
+ te && !s && n?.length > 0 && /* @__PURE__ */ E("tfoot", { children: /* @__PURE__ */ D("tr", { children: [
2887
+ z && /* @__PURE__ */ E("td", { className: "wui-expand-cell" }),
2887
2888
  b && /* @__PURE__ */ E("td", { className: "wui-select-cell" }),
2888
2889
  e.map((e, t) => /* @__PURE__ */ E("td", {
2889
- className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + ln(e.align),
2890
+ className: (t === 0 ? "wui-name-cell " : "") + (e.nowrap ? "text-nowrap " : "") + Sn(e.align),
2890
2891
  children: e.footer ? e.footer(n) : null
2891
2892
  }, e.key)),
2892
2893
  m && /* @__PURE__ */ E("td", {})
@@ -2894,12 +2895,12 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2894
2895
  ]
2895
2896
  }), !s && !n?.length && /* @__PURE__ */ E("div", {
2896
2897
  className: "tbl-empty-block",
2897
- children: typeof de == "string" ? /* @__PURE__ */ E("div", {
2898
+ children: typeof fe == "string" ? /* @__PURE__ */ E("div", {
2898
2899
  className: "tbl-empty-plain",
2899
- children: de
2900
- }) : de
2900
+ children: fe
2901
+ }) : fe
2901
2902
  })]
2902
- }), g && g.total > 0 && /* @__PURE__ */ E(sn, {
2903
+ }), g && g.total > 0 && /* @__PURE__ */ E(bn, {
2903
2904
  page: g.page,
2904
2905
  totalPages: g.totalPages,
2905
2906
  pageSize: g.pageSize,
@@ -2911,8 +2912,8 @@ function dn({ columns: e, rows: n, rowKey: r = (e) => e.id, sort: i, onSort: a,
2911
2912
  }
2912
2913
  //#endregion
2913
2914
  //#region src/components/AppDatePicker.jsx
2914
- var fn = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i, error: a, name: o, min: c, max: l, placeholder: u = "Enter Date", disabled: d, size: f, firstDay: p, id: m, ariaLabel: h, className: g = "", fieldClassName: _ = "", ...v }, y) {
2915
- W("AppDatePicker", v);
2915
+ var Tn = 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) {
2916
+ G("AppDatePicker", v);
2916
2917
  let b = s(), x = m || b, { setRef: S } = Q({
2917
2918
  ref: y,
2918
2919
  value: e ?? "",
@@ -2955,8 +2956,8 @@ var fn = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
2955
2956
  })
2956
2957
  ]
2957
2958
  });
2958
- }), pn = i(function({ start: e, end: t, onChange: n, label: r, required: i = !1, hint: a, error: c, startName: l, endName: u, min: d, max: f, placeholder: p = "Start – End", disabled: m, size: h, firstDay: g, id: _, ariaLabel: v, className: y = "", fieldClassName: b = "", ...x }, S) {
2959
- W("AppDateRangePicker", x);
2959
+ }), En = 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) {
2960
+ G("AppDateRangePicker", x);
2960
2961
  let C = s(), w = _ || C, { setRef: T, innerRef: O } = Q({
2961
2962
  ref: S,
2962
2963
  onChange: n
@@ -3016,8 +3017,8 @@ var fn = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i
3016
3017
  });
3017
3018
  //#endregion
3018
3019
  //#region src/components/AppDescriptions.jsx
3019
- function mn({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, title: i, className: a = "", ...o }) {
3020
- return W("AppDescriptions", o), /* @__PURE__ */ D("div", {
3020
+ function Dn({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, title: i, className: a = "", ...o }) {
3021
+ return G("AppDescriptions", o), /* @__PURE__ */ D("div", {
3021
3022
  className: [
3022
3023
  "descs",
3023
3024
  `descs-col-${t}`,
@@ -3032,7 +3033,7 @@ function mn({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, t
3032
3033
  }), /* @__PURE__ */ E("dl", {
3033
3034
  className: "descs-list",
3034
3035
  children: e.map((e, t) => {
3035
- let n = Ht(e.value), r = e.span ?? 1, i = e.key ?? `${e.label}-${t}`;
3036
+ let n = tn(e.value), r = e.span ?? 1, i = e.key ?? `${e.label}-${t}`;
3036
3037
  return /* @__PURE__ */ D("div", {
3037
3038
  className: "descs-item",
3038
3039
  style: { "--descs-span": r },
@@ -3050,21 +3051,21 @@ function mn({ items: e = [], columns: t = 2, size: n = "md", bordered: r = !1, t
3050
3051
  }
3051
3052
  //#endregion
3052
3053
  //#region src/lib/focusField.js
3053
- var hn = "input:not([type=\"hidden\"]):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
3054
- function gn(e) {
3054
+ var On = "input:not([type=\"hidden\"]):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
3055
+ function kn(e) {
3055
3056
  if (!e) return !1;
3056
3057
  let t = [document.getElementById(e), ...document.getElementsByName(e)];
3057
3058
  for (let e of t) {
3058
3059
  if (!e) continue;
3059
- let t = e.matches(hn) ? e : e.querySelector(hn);
3060
+ let t = e.matches(On) ? e : e.querySelector(On);
3060
3061
  if (t) return t.scrollIntoView?.({ block: "center" }), t.focus({ preventScroll: !0 }), !0;
3061
3062
  }
3062
3063
  return !1;
3063
3064
  }
3064
3065
  //#endregion
3065
3066
  //#region src/components/AppErrorSummary.jsx
3066
- function _n({ errors: e = [], title: t, autoFocus: n = !0, id: r, className: i = "", ...a }) {
3067
- W("AppErrorSummary", a);
3067
+ function An({ errors: e = [], title: t, autoFocus: n = !0, id: r, className: i = "", ...a }) {
3068
+ G("AppErrorSummary", a);
3068
3069
  let c = s(), l = r || c, u = d(null), f = d(0), p = e.length;
3069
3070
  return o(() => {
3070
3071
  n && p > 0 && f.current === 0 && u.current?.focus(), f.current = p;
@@ -3086,7 +3087,7 @@ function _n({ errors: e = [], title: t, autoFocus: n = !0, id: r, className: i =
3086
3087
  children: e.map((e) => /* @__PURE__ */ E("li", { children: /* @__PURE__ */ E("a", {
3087
3088
  href: `#${e.field}`,
3088
3089
  onClick: (t) => {
3089
- t.preventDefault(), gn(e.field);
3090
+ t.preventDefault(), kn(e.field);
3090
3091
  },
3091
3092
  children: e.message
3092
3093
  }) }, `${e.field}:${e.message}`))
@@ -3095,16 +3096,16 @@ function _n({ errors: e = [], title: t, autoFocus: n = !0, id: r, className: i =
3095
3096
  }
3096
3097
  //#endregion
3097
3098
  //#region src/lib/fileItem.js
3098
- function vn(e) {
3099
+ function jn(e) {
3099
3100
  return e instanceof File ? `${e.name}:${e.size}` : e?.url || e?.name || "item";
3100
3101
  }
3101
- function yn(e) {
3102
+ function Mn(e) {
3102
3103
  return e instanceof File ? e.name : e?.name;
3103
3104
  }
3104
- function bn(e) {
3105
+ function Nn(e) {
3105
3106
  return e instanceof File ? `${(e.size / 1024).toFixed(0)} KB` : null;
3106
3107
  }
3107
- function xn(e, t) {
3108
+ function Pn(e, t) {
3108
3109
  let [n, r] = f(null);
3109
3110
  return o(() => {
3110
3111
  if (!t) {
@@ -3120,8 +3121,8 @@ function xn(e, t) {
3120
3121
  }
3121
3122
  //#endregion
3122
3123
  //#region src/lib/FileItemRow.jsx
3123
- function Sn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3124
- let i = xn(e, t), a = yn(e), o = bn(e);
3124
+ function Fn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3125
+ let i = Pn(e, t), a = Mn(e), o = Nn(e);
3125
3126
  return /* @__PURE__ */ D("div", {
3126
3127
  className: "attach-item",
3127
3128
  children: [
@@ -3160,15 +3161,15 @@ function Sn({ item: e, isImage: t, onRemove: n, noun: r = "attachment" }) {
3160
3161
  }
3161
3162
  //#endregion
3162
3163
  //#region src/components/AppFileAttachment.jsx
3163
- function Cn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple: i = !1, accept: a = k, maxSizeMb: o = A, optional: c = !1, validate: l = !0, error: u, id: d, ...p }) {
3164
- W("AppFileAttachment", p);
3165
- let m = s(), h = d || m, [g, _] = f(""), v = i && Array.isArray(t) ? t : t ? [t] : [], y = F(a), b = (e) => e instanceof File ? P(e) : y || P(e), x = !i && v.length === 1 && b(v[0]), S = wn(a, o);
3164
+ function In({ label: e = "Attachment", value: t, name: n, onChange: r, multiple: i = !1, accept: a = k, maxSizeMb: o = A, optional: c = !1, validate: l = !0, error: u, id: d, ...p }) {
3165
+ G("AppFileAttachment", p);
3166
+ let m = s(), h = d || m, [g, _] = f(""), v = i && Array.isArray(t) ? t : t ? [t] : [], y = B(a), b = (e) => e instanceof File ? z(e) : y || z(e), x = !i && v.length === 1 && b(v[0]), S = Ln(a, o);
3166
3167
  function C(e) {
3167
3168
  let n = Array.from(e.target.files || []);
3168
3169
  if (e.target.value = "", !n.length) return;
3169
3170
  let s = [], c = "";
3170
3171
  for (let e of n) {
3171
- let t = l ? L(e, {
3172
+ let t = l ? ie(e, {
3172
3173
  accept: a,
3173
3174
  maxSizeMb: o
3174
3175
  }) : null;
@@ -3179,14 +3180,14 @@ function Cn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3179
3180
  s.push(e);
3180
3181
  }
3181
3182
  if (_(c), s.length) if (i) {
3182
- let e = Array.isArray(t) ? t : t ? [t] : [], n = new Set(e.map(vn));
3183
- r(e.concat(s.filter((e) => !n.has(vn(e)))));
3183
+ let e = Array.isArray(t) ? t : t ? [t] : [], n = new Set(e.map(jn));
3184
+ r(e.concat(s.filter((e) => !n.has(jn(e)))));
3184
3185
  } else r(s[0]);
3185
3186
  }
3186
3187
  function w(e) {
3187
3188
  _(""), r(i ? v.filter((t, n) => n !== e) : null);
3188
3189
  }
3189
- let O = u || g, j = O ? `${h}-error` : void 0, M = i || v.length === 0, N = y ? "image" : "file", I = i ? `Add ${N}s` : `Add ${y ? "an" : "a"} ${N}`;
3190
+ let O = u || g, j = O ? `${h}-error` : void 0, M = i || v.length === 0, N = y ? "image" : "file", P = i ? `Add ${N}s` : `Add ${y ? "an" : "a"} ${N}`;
3190
3191
  return /* @__PURE__ */ D("div", {
3191
3192
  className: "field",
3192
3193
  children: [
@@ -3213,7 +3214,7 @@ function Cn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3213
3214
  className: "attach-drop-copy",
3214
3215
  children: [/* @__PURE__ */ E("span", {
3215
3216
  className: "attach-drop-title",
3216
- children: I
3217
+ children: P
3217
3218
  }), S && /* @__PURE__ */ E("span", {
3218
3219
  className: "attach-drop-hint",
3219
3220
  children: S
@@ -3235,17 +3236,17 @@ function Cn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3235
3236
  onChange: C,
3236
3237
  ...p
3237
3238
  })] }),
3238
- x ? /* @__PURE__ */ E(Tn, {
3239
+ x ? /* @__PURE__ */ E(Rn, {
3239
3240
  item: v[0],
3240
3241
  isImage: !0,
3241
3242
  onRemove: () => w(0)
3242
3243
  }) : v.length > 0 && /* @__PURE__ */ E("div", {
3243
3244
  className: "attach-list",
3244
- children: v.map((e, t) => /* @__PURE__ */ E(Sn, {
3245
+ children: v.map((e, t) => /* @__PURE__ */ E(Fn, {
3245
3246
  item: e,
3246
3247
  isImage: b(e),
3247
3248
  onRemove: () => w(t)
3248
- }, vn(e)))
3249
+ }, jn(e)))
3249
3250
  }),
3250
3251
  O && /* @__PURE__ */ E("div", {
3251
3252
  className: "field-error",
@@ -3255,12 +3256,12 @@ function Cn({ label: e = "Attachment", value: t, name: n, onChange: r, multiple:
3255
3256
  ]
3256
3257
  });
3257
3258
  }
3258
- function wn(e, t) {
3259
- let n = e?.trim() ? j(e) : "", r = t > 0 ? `up to ${t} MB` : "";
3259
+ function Ln(e, t) {
3260
+ let n = e?.trim() ? I(e) : "", r = t > 0 ? `up to ${t} MB` : "";
3260
3261
  return n && r ? `${n}, ${r}` : r ? `Up to ${t} MB` : n;
3261
3262
  }
3262
- function Tn({ item: e, isImage: t, onRemove: n }) {
3263
- let r = xn(e, t), i = yn(e), a = bn(e);
3263
+ function Rn({ item: e, isImage: t, onRemove: n }) {
3264
+ let r = Pn(e, t), i = Mn(e), a = Nn(e);
3264
3265
  return /* @__PURE__ */ D("div", {
3265
3266
  className: "attach-preview",
3266
3267
  children: [/* @__PURE__ */ D("div", {
@@ -3292,28 +3293,28 @@ function Tn({ item: e, isImage: t, onRemove: n }) {
3292
3293
  }
3293
3294
  //#endregion
3294
3295
  //#region src/components/AppFilePicker.jsx
3295
- function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, maxFiles: c, accept: l = ".jpg,.jpeg,.png", maxSizeMb: u = A, required: p, error: m, hint: h, loading: g = !1, className: _ = "", fieldClassName: v = "", style: y, ...b }) {
3296
- W("AppFilePicker", b);
3297
- let [x, S] = f(null), [C, w] = f(!1), [T, O] = f(""), k = d(null), M = s(), N = r || M;
3296
+ function zn({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, maxFiles: c, accept: l = ".jpg,.jpeg,.png", maxSizeMb: u = A, required: p, error: m, hint: h, loading: g = !1, className: _ = "", fieldClassName: v = "", style: y, ...b }) {
3297
+ G("AppFilePicker", b);
3298
+ let [x, S] = f(null), [C, w] = f(!1), [T, O] = f(""), k = d(null), j = s(), M = r || j;
3298
3299
  o(() => {
3299
- if (!a && t instanceof File && P(t)) {
3300
+ if (!a && t instanceof File && z(t)) {
3300
3301
  let e = URL.createObjectURL(t);
3301
3302
  return S(e), () => URL.revokeObjectURL(e);
3302
3303
  }
3303
3304
  S(null);
3304
3305
  }, [t, a]);
3305
- let I = a ? Array.isArray(t) ? t : t ? [t] : [] : [], R = m || T, z = R ? `${N}-error` : void 0, B = h && !R ? `${N}-hint` : void 0, V = z || B, H = F(l), ee = !a && !!t, U = ee && (t instanceof File ? P(t) : H || P(t)), te = t?.name, ne = U ? t?.url || x : null, re = U ? "image" : "file", ie = e ? `Change ${e}` : `Change ${re}`, ae = e ? `Remove ${e}` : `Remove ${re}`, oe = e ? `${e} preview` : `Selected ${re} preview`, G = (e) => {
3306
- let t = L(e, {
3306
+ let N = a ? Array.isArray(t) ? t : t ? [t] : [] : [], P = m || T, F = P ? `${M}-error` : void 0, L = h && !P ? `${M}-hint` : void 0, R = F || L, ee = B(l), V = !a && !!t, H = V && (t instanceof File ? z(t) : ee || z(t)), te = t?.name, U = H ? t?.url || x : null, ne = H ? "image" : "file", re = e ? `Change ${e}` : `Change ${ne}`, ae = e ? `Remove ${e}` : `Remove ${ne}`, oe = e ? `${e} preview` : `Selected ${ne} preview`, se = (e) => {
3307
+ let t = ie(e, {
3307
3308
  accept: l,
3308
3309
  maxSizeMb: u
3309
3310
  });
3310
3311
  return t ? (O(t), !1) : (O(""), i(e), !0);
3311
- }, se = (e) => {
3312
+ }, ce = (e) => {
3312
3313
  let n = Array.from(e || []);
3313
3314
  if (!n.length) return;
3314
- let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(vn)), o = "", s = [];
3315
+ let r = Array.isArray(t) ? t : t ? [t] : [], a = new Set(r.map(jn)), o = "", s = [];
3315
3316
  for (let e of n) {
3316
- let t = L(e, {
3317
+ let t = ie(e, {
3317
3318
  accept: l,
3318
3319
  maxSizeMb: u
3319
3320
  });
@@ -3321,40 +3322,40 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3321
3322
  o ||= t;
3322
3323
  continue;
3323
3324
  }
3324
- a.has(vn(e)) || (a.add(vn(e)), s.push(e));
3325
+ a.has(jn(e)) || (a.add(jn(e)), s.push(e));
3325
3326
  }
3326
3327
  let d = r.concat(s);
3327
3328
  c && d.length > c && (d = d.slice(0, c), o ||= `Up to ${c} files.`), O(o), i(d);
3328
- }, K = (e) => {
3329
+ }, W = (e) => {
3329
3330
  if (a) {
3330
- se(e.target.files);
3331
+ ce(e.target.files);
3331
3332
  return;
3332
3333
  }
3333
3334
  let t = e.target.files?.[0] || null;
3334
- t && (G(t) || (e.target.value = ""));
3335
- }, ce = (e) => {
3335
+ t && (se(t) || (e.target.value = ""));
3336
+ }, le = (e) => {
3336
3337
  if (e.preventDefault(), w(!1), g) return;
3337
3338
  if (a) {
3338
- se(e.dataTransfer.files);
3339
+ ce(e.dataTransfer.files);
3339
3340
  return;
3340
3341
  }
3341
3342
  let t = e.dataTransfer.files?.[0];
3342
- t && G(t);
3343
- }, le = (e) => {
3344
- O(""), i(I.filter((t, n) => n !== e));
3345
- }, ue = () => k.current?.click(), de = g ? /* @__PURE__ */ E("span", {
3343
+ t && se(t);
3344
+ }, ue = (e) => {
3345
+ O(""), i(N.filter((t, n) => n !== e));
3346
+ }, de = () => k.current?.click(), fe = g ? /* @__PURE__ */ E("span", {
3346
3347
  className: "wui-file-busy",
3347
3348
  children: /* @__PURE__ */ E("span", {
3348
3349
  className: "spinner-border spinner-border-sm",
3349
3350
  role: "status",
3350
3351
  "aria-label": "Loading"
3351
3352
  })
3352
- }) : null, fe = /* @__PURE__ */ E("input", {
3353
- id: N,
3353
+ }) : null, pe = /* @__PURE__ */ E("input", {
3354
+ id: M,
3354
3355
  name: n,
3355
3356
  ref: k,
3356
3357
  type: "file",
3357
- "aria-describedby": V,
3358
+ "aria-describedby": R,
3358
3359
  accept: l,
3359
3360
  multiple: a || void 0,
3360
3361
  disabled: g || void 0,
@@ -3362,7 +3363,7 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3362
3363
  onClick: (e) => {
3363
3364
  e.currentTarget.value = "";
3364
3365
  },
3365
- onChange: K,
3366
+ onChange: W,
3366
3367
  ...b
3367
3368
  });
3368
3369
  return /* @__PURE__ */ D("div", {
@@ -3370,22 +3371,22 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3370
3371
  children: [
3371
3372
  /* @__PURE__ */ D("label", {
3372
3373
  className: "label",
3373
- htmlFor: N,
3374
+ htmlFor: M,
3374
3375
  children: [e, p && /* @__PURE__ */ E(Z, {})]
3375
3376
  }),
3376
- ee ? /* @__PURE__ */ D("div", {
3377
- className: `file-preview${R ? " error" : ""}${_ ? ` ${_}` : ""}`,
3377
+ V ? /* @__PURE__ */ D("div", {
3378
+ className: `file-preview${P ? " error" : ""}${_ ? ` ${_}` : ""}`,
3378
3379
  style: y,
3379
3380
  "aria-busy": g || void 0,
3380
3381
  children: [
3381
3382
  /* @__PURE__ */ D("button", {
3382
3383
  type: "button",
3383
3384
  className: "file-preview-open",
3384
- "aria-label": ie,
3385
- onClick: ue,
3385
+ "aria-label": re,
3386
+ onClick: de,
3386
3387
  disabled: g,
3387
- children: [U && ne ? /* @__PURE__ */ E("img", {
3388
- src: ne,
3388
+ children: [H && U ? /* @__PURE__ */ E("img", {
3389
+ src: U,
3389
3390
  alt: oe,
3390
3391
  className: "file-preview-img"
3391
3392
  }) : /* @__PURE__ */ D("span", {
@@ -3403,16 +3404,16 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3403
3404
  className: "file-preview-cta",
3404
3405
  children: [
3405
3406
  /* @__PURE__ */ E(Y, {
3406
- name: U ? "image" : "file-text",
3407
+ name: H ? "image" : "file-text",
3407
3408
  size: 16
3408
3409
  }),
3409
3410
  " ",
3410
- U ? "Change image" : "Change file"
3411
+ H ? "Change image" : "Change file"
3411
3412
  ]
3412
3413
  })
3413
3414
  })]
3414
3415
  }),
3415
- q(/* @__PURE__ */ E("button", {
3416
+ J(/* @__PURE__ */ E("button", {
3416
3417
  type: "button",
3417
3418
  className: "file-preview-remove",
3418
3419
  "aria-label": ae,
@@ -3423,11 +3424,11 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3423
3424
  size: 16
3424
3425
  })
3425
3426
  }), ae),
3426
- fe,
3427
- de
3427
+ pe,
3428
+ fe
3428
3429
  ]
3429
3430
  }) : /* @__PURE__ */ D("div", {
3430
- className: `file-input file-input-tall${C ? " dragging" : ""}${R ? " error" : ""}${a && I.length > 0 ? " has-files" : ""}${_ ? ` ${_}` : ""}`,
3431
+ className: `file-input file-input-tall${C ? " dragging" : ""}${P ? " error" : ""}${a && N.length > 0 ? " has-files" : ""}${_ ? ` ${_}` : ""}`,
3431
3432
  style: y,
3432
3433
  "aria-busy": g || void 0,
3433
3434
  onDragOver: (e) => {
@@ -3436,10 +3437,10 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3436
3437
  onDragLeave: (e) => {
3437
3438
  e.preventDefault(), w(!1);
3438
3439
  },
3439
- onDrop: ce,
3440
+ onDrop: le,
3440
3441
  children: [
3441
3442
  /* @__PURE__ */ D("label", {
3442
- htmlFor: N,
3443
+ htmlFor: M,
3443
3444
  className: "file-input-zone-label",
3444
3445
  children: [
3445
3446
  /* @__PURE__ */ E("span", {
@@ -3458,30 +3459,30 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3458
3459
  }),
3459
3460
  /* @__PURE__ */ E("span", {
3460
3461
  className: "file-input-text",
3461
- children: u > 0 ? `${j(l)} · up to ${u} MB` : j(l)
3462
+ children: u > 0 ? `${I(l)} · up to ${u} MB` : I(l)
3462
3463
  })
3463
3464
  ]
3464
3465
  }),
3466
+ pe,
3465
3467
  fe,
3466
- de,
3467
- a && I.length > 0 && /* @__PURE__ */ E("div", {
3468
+ a && N.length > 0 && /* @__PURE__ */ E("div", {
3468
3469
  className: "attach-list",
3469
- children: I.map((e, t) => /* @__PURE__ */ E(Sn, {
3470
+ children: N.map((e, t) => /* @__PURE__ */ E(Fn, {
3470
3471
  item: e,
3471
- isImage: e instanceof File ? P(e) : H || P(e),
3472
+ isImage: e instanceof File ? z(e) : ee || z(e),
3472
3473
  noun: "file",
3473
- onRemove: () => le(t)
3474
- }, vn(e)))
3474
+ onRemove: () => ue(t)
3475
+ }, jn(e)))
3475
3476
  })
3476
3477
  ]
3477
3478
  }),
3478
- R ? /* @__PURE__ */ E("div", {
3479
+ P ? /* @__PURE__ */ E("div", {
3479
3480
  className: "field-error",
3480
- id: z,
3481
- children: R
3481
+ id: F,
3482
+ children: P
3482
3483
  }) : h ? /* @__PURE__ */ E("div", {
3483
3484
  className: "field-hint",
3484
- id: B,
3485
+ id: L,
3485
3486
  children: h
3486
3487
  }) : null
3487
3488
  ]
@@ -3489,8 +3490,8 @@ function En({ label: e, value: t, name: n, id: r, onPick: i, multiple: a = !1, m
3489
3490
  }
3490
3491
  //#endregion
3491
3492
  //#region src/components/AppFloatingDock.jsx
3492
- function Dn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation", magnify: r = !0, maxScale: i, radius: a, className: o = "", ...s }) {
3493
- return W("AppFloatingDock", s), /* @__PURE__ */ E("wui-dock", {
3493
+ function Bn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation", magnify: r = !0, maxScale: i, radius: a, className: o = "", ...s }) {
3494
+ return G("AppFloatingDock", s), /* @__PURE__ */ E("wui-dock", {
3494
3495
  role: "navigation",
3495
3496
  "aria-label": n,
3496
3497
  static: r ? void 0 : "",
@@ -3531,8 +3532,8 @@ function Dn({ items: e = [], linkComponent: t, ariaLabel: n = "Quick navigation"
3531
3532
  }
3532
3533
  //#endregion
3533
3534
  //#region src/components/AppFormActions.jsx
3534
- function On({ children: e, sticky: t = !1, align: n = "end", className: r = "", ...i }) {
3535
- return W("AppFormActions", i), /* @__PURE__ */ E("div", {
3535
+ function Vn({ children: e, sticky: t = !1, align: n = "end", className: r = "", ...i }) {
3536
+ return G("AppFormActions", i), /* @__PURE__ */ E("div", {
3536
3537
  className: [
3537
3538
  "form-actions",
3538
3539
  t ? "form-actions-sticky" : "",
@@ -3545,8 +3546,8 @@ function On({ children: e, sticky: t = !1, align: n = "end", className: r = "",
3545
3546
  }
3546
3547
  //#endregion
3547
3548
  //#region src/components/AppFormRow.jsx
3548
- function kn({ children: e, columns: t = 2, className: n = "", ...r }) {
3549
- W("AppFormRow", r);
3549
+ function Hn({ children: e, columns: t = 2, className: n = "", ...r }) {
3550
+ G("AppFormRow", r);
3550
3551
  let { style: i, ...a } = r;
3551
3552
  return /* @__PURE__ */ E("div", {
3552
3553
  className: ["form-row-grid", n].filter(Boolean).join(" "),
@@ -3560,9 +3561,9 @@ function kn({ children: e, columns: t = 2, className: n = "", ...r }) {
3560
3561
  }
3561
3562
  //#endregion
3562
3563
  //#region src/components/AppFormSection.jsx
3563
- var An = ["stacked", "side"], jn = ["top", "start"], Mn = ["comfortable", "compact"];
3564
- function Nn({ children: e, title: t, description: n, layout: r = "stacked", labels: i = "top", density: a = "comfortable", className: o = "", ...s }) {
3565
- return W("AppFormSection", s), G("AppFormSection", "layout", r, An), G("AppFormSection", "labels", i, jn), G("AppFormSection", "density", a, Mn), /* @__PURE__ */ D("section", {
3564
+ var Un = ["stacked", "side"], Wn = ["top", "start"], Gn = ["comfortable", "compact"];
3565
+ function Kn({ children: e, title: t, description: n, layout: r = "stacked", labels: i = "top", density: a = "comfortable", className: o = "", ...s }) {
3566
+ return G("AppFormSection", s), q("AppFormSection", "layout", r, Un), q("AppFormSection", "labels", i, Wn), q("AppFormSection", "density", a, Gn), /* @__PURE__ */ D("section", {
3566
3567
  className: [
3567
3568
  "form-section",
3568
3569
  r === "side" ? "wui-form-side" : "",
@@ -3588,12 +3589,12 @@ function Nn({ children: e, title: t, description: n, layout: r = "stacked", labe
3588
3589
  }
3589
3590
  //#endregion
3590
3591
  //#region src/components/AppInfoList.jsx
3591
- function Pn({ items: e = [], className: t = "", ...n }) {
3592
- return W("AppInfoList", n), /* @__PURE__ */ E("div", {
3592
+ function qn({ items: e = [], className: t = "", ...n }) {
3593
+ return G("AppInfoList", n), /* @__PURE__ */ E("div", {
3593
3594
  className: `info-list${t ? ` ${t}` : ""}`,
3594
3595
  ...n,
3595
3596
  children: e.map((e, t) => {
3596
- let n = Ht(e.value), r = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
3597
+ let n = tn(e.value), r = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
3597
3598
  className: "info-icon",
3598
3599
  children: X(e.icon, { size: 16 })
3599
3600
  }), /* @__PURE__ */ D("span", {
@@ -3619,23 +3620,23 @@ function Pn({ items: e = [], className: t = "", ...n }) {
3619
3620
  }
3620
3621
  //#endregion
3621
3622
  //#region src/components/AppKpiTile.jsx
3622
- var Fn = 48, In = 16;
3623
- function Ln(e) {
3624
- if (!e || e.length < 2) return `0,${In / 2} ${Fn},${In / 2}`;
3625
- let t = Math.min(...e), n = Math.max(...e) - t, r = Fn / (e.length - 1);
3626
- return e.map((e, i) => `${i * r},${n === 0 ? In / 2 : In - (e - t) / n * In}`).join(" ");
3623
+ var Jn = 48, Yn = 16;
3624
+ function Xn(e) {
3625
+ if (!e || e.length < 2) return `0,${Yn / 2} ${Jn},${Yn / 2}`;
3626
+ let t = Math.min(...e), n = Math.max(...e) - t, r = Jn / (e.length - 1);
3627
+ return e.map((e, i) => `${i * r},${n === 0 ? Yn / 2 : Yn - (e - t) / n * Yn}`).join(" ");
3627
3628
  }
3628
- function Rn(e) {
3629
+ function Zn(e) {
3629
3630
  if (typeof e != "string") return "flat";
3630
3631
  let t = e.trim();
3631
3632
  return t.startsWith("+") ? "up" : t.startsWith("-") || t.startsWith("−") ? "down" : "flat";
3632
3633
  }
3633
- function zn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, deltaDirection: o, sparkline: s, variant: c = "plain", size: l = "md", valueSize: u, inline: d = !1, attention: f = !1, href: p, linkComponent: m, className: h = "", style: g, iconClassName: _ = "", labelClassName: v = "", valueClassName: y = "", captionClassName: b = "", deltaClassName: x = "", sparklineClassName: S = "", ...C }) {
3634
- W("AppKpiTile", C);
3634
+ function Qn({ 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 }) {
3635
+ G("AppKpiTile", C);
3635
3636
  let w = `kpi${d ? " kpi-inline" : ""}${c === "filled" ? " kpi-filled" : c === "accent" ? " kpi-accent" : c === "spotlight" ? " kpi-spotlight" : ""}${l === "lg" ? " kpi-lg" : l === "sm" ? " kpi-sm" : ""}${f ? " kpi-attention" : ""}${h ? ` ${h}` : ""}`, T = typeof u == "number" && u > 0 ? {
3636
3637
  ...g,
3637
3638
  "--wui-kpi-value-size": `${u}px`
3638
- } : g, O = o ?? Rn(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
3639
+ } : g, O = o ?? Zn(a), k = O === "up" ? "arrow-up" : O === "down" ? "arrow-down" : null, A = {};
3639
3640
  return p != null && (A = m ? {
3640
3641
  as: m,
3641
3642
  to: p
@@ -3673,12 +3674,12 @@ function zn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
3673
3674
  }),
3674
3675
  s && s.length > 0 && /* @__PURE__ */ E("svg", {
3675
3676
  className: `kpi-sparkline${S ? ` ${S}` : ""}`,
3676
- width: Fn,
3677
- height: In,
3678
- viewBox: `0 0 ${Fn} ${In}`,
3677
+ width: Jn,
3678
+ height: Yn,
3679
+ viewBox: `0 0 ${Jn} ${Yn}`,
3679
3680
  "aria-hidden": "true",
3680
3681
  children: /* @__PURE__ */ E("polyline", {
3681
- points: Ln(s),
3682
+ points: Xn(s),
3682
3683
  stroke: "currentColor",
3683
3684
  fill: "none"
3684
3685
  })
@@ -3688,11 +3689,11 @@ function zn({ label: e, value: t, caption: n, icon: r, iconTone: i, delta: a, de
3688
3689
  }
3689
3690
  //#endregion
3690
3691
  //#region src/components/AppLink.jsx
3691
- var Bn = {
3692
+ var $n = {
3692
3693
  sm: 13,
3693
3694
  md: 15,
3694
3695
  lg: 18
3695
- }, Vn = [
3696
+ }, er = [
3696
3697
  "underline",
3697
3698
  "underline-center",
3698
3699
  "static",
@@ -3706,35 +3707,35 @@ var Bn = {
3706
3707
  "shine",
3707
3708
  "none"
3708
3709
  ];
3709
- function Hn(e, t, n) {
3710
+ function tr(e, t, n) {
3710
3711
  if (!e) return null;
3711
3712
  let r = `wui-link__ic wui-link__ic--${t}`;
3712
3713
  return typeof e == "string" ? /* @__PURE__ */ E("span", {
3713
3714
  className: r,
3714
3715
  children: /* @__PURE__ */ E(Y, {
3715
3716
  name: e,
3716
- size: Bn[n] ?? Bn.md
3717
+ size: $n[n] ?? $n.md
3717
3718
  })
3718
3719
  }) : /* @__PURE__ */ E("span", {
3719
3720
  className: r,
3720
3721
  children: e
3721
3722
  });
3722
3723
  }
3723
- function Un({ children: e, label: t, href: n, animation: r = "underline", leftIcon: i = null, rightIcon: a = null, size: o = "md", external: s = !1, disabled: c = !1, linkComponent: l, className: u = "", ...d }) {
3724
- W("AppLink", d), G("AppLink", "animation", r, Vn), G("AppLink", "size", o, Object.keys(Bn));
3725
- let f = Vn.includes(r) ? r : "underline", p = f === "icon" && !a && !i ? "arrow-right" : a, m = [
3724
+ function nr({ 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 }) {
3725
+ G("AppLink", d), q("AppLink", "animation", r, er), q("AppLink", "size", o, Object.keys($n));
3726
+ let f = er.includes(r) ? r : "underline", p = f === "icon" && !a && !i ? "arrow-right" : a, m = [
3726
3727
  "wui-link",
3727
3728
  `wui-link--${f}`,
3728
3729
  o === "md" ? "" : `wui-link--${o}`,
3729
3730
  c ? "is-disabled" : "",
3730
3731
  u
3731
3732
  ].filter(Boolean).join(" "), h = /* @__PURE__ */ D(T, { children: [
3732
- Hn(i, "left", o),
3733
+ tr(i, "left", o),
3733
3734
  /* @__PURE__ */ E("span", {
3734
3735
  className: "wui-link__label",
3735
3736
  children: e ?? t
3736
3737
  }),
3737
- Hn(p, "right", o)
3738
+ tr(p, "right", o)
3738
3739
  ] });
3739
3740
  return c ? /* @__PURE__ */ E("span", {
3740
3741
  className: m,
@@ -3757,21 +3758,21 @@ function Un({ children: e, label: t, href: n, animation: r = "underline", leftIc
3757
3758
  }
3758
3759
  //#endregion
3759
3760
  //#region src/components/AppLogoPicker.jsx
3760
- var Wn = {
3761
+ var rr = {
3761
3762
  sm: 72,
3762
3763
  md: 120,
3763
3764
  lg: 160
3764
3765
  };
3765
- function Gn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a = !1, disabled: c = !1, accept: l = "image/png,image/jpeg,image/webp", maxSizeMb: u = A, overlayIcon: p = "image", overlayLabel: m = "Update photo", ariaLabel: h = "Upload photo", label: g, hint: _, error: v, layout: y = "stacked", title: b, subtitle: x, required: S = !1, variant: C = "initials", size: w = "md", shape: T = "circle", className: O = "", ...k }) {
3766
- W("AppLogoPicker", k), G("AppLogoPicker", "size", typeof w == "string" ? w : null, Object.keys(Wn));
3767
- let j = d(null), M = s(), [N, P] = f(null), [F, I] = f(""), [R, z] = f(!1), [B, V] = f(!1);
3766
+ function ir({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a = !1, disabled: c = !1, accept: l = "image/png,image/jpeg,image/webp", maxSizeMb: u = A, overlayIcon: p = "image", overlayLabel: m = "Update photo", ariaLabel: h = "Upload photo", label: g, hint: _, error: v, layout: y = "stacked", title: b, subtitle: x, required: S = !1, variant: C = "initials", size: w = "md", shape: T = "circle", className: O = "", ...k }) {
3767
+ G("AppLogoPicker", k), q("AppLogoPicker", "size", typeof w == "string" ? w : null, Object.keys(rr));
3768
+ let j = d(null), M = s(), [N, P] = f(null), [F, I] = f(""), [L, R] = f(!1), [ee, z] = f(!1);
3768
3769
  o(() => () => N && URL.revokeObjectURL(N), [N]), o(() => {
3769
- P(null), z(!1);
3770
+ P(null), R(!1);
3770
3771
  }, [e]);
3771
- let H = a || c, ee = N || (e && !R ? e : null), U = v || F, te = _ && !U ? `${M}-hint` : void 0, ne = U ? `${M}-error` : void 0, re = !H && (!!N || !!ee && !!i), ie = () => {
3772
- H || j.current?.click();
3772
+ let B = a || c, V = N || (e && !L ? e : null), H = v || F, te = _ && !H ? `${M}-hint` : void 0, U = H ? `${M}-error` : void 0, ne = !B && (!!N || !!V && !!i), re = () => {
3773
+ B || j.current?.click();
3773
3774
  }, ae = (e) => {
3774
- let t = L(e, {
3775
+ let t = ie(e, {
3775
3776
  accept: l,
3776
3777
  maxSizeMb: u
3777
3778
  });
@@ -3779,49 +3780,49 @@ function Gn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3779
3780
  I(t);
3780
3781
  return;
3781
3782
  }
3782
- I(""), z(!1), P(URL.createObjectURL(e)), r(e);
3783
+ I(""), R(!1), P(URL.createObjectURL(e)), r(e);
3783
3784
  }, oe = (e) => {
3784
3785
  let t = e.target.files?.[0];
3785
3786
  e.target.value = "", t && ae(t);
3786
3787
  }, se = (e) => {
3787
- if (e.preventDefault(), V(!1), H) return;
3788
+ if (e.preventDefault(), z(!1), B) return;
3788
3789
  let t = e.dataTransfer.files?.[0];
3789
3790
  t && ae(t);
3790
- }, K = () => {
3791
- P(null), I(""), z(!1), j.current && (j.current.value = ""), i?.();
3792
- }, ce = typeof w == "number" ? w : Wn[w] ?? Wn.md, le = Math.max(14, Math.round(ce * .18)), ue = Math.round(ce * .5), de = [
3791
+ }, ce = () => {
3792
+ P(null), I(""), R(!1), j.current && (j.current.value = ""), i?.();
3793
+ }, W = typeof w == "number" ? w : rr[w] ?? rr.md, le = Math.max(14, Math.round(W * .18)), ue = Math.round(W * .5), de = [
3793
3794
  "set-uploader",
3794
3795
  C === "avatar" ? "set-uploader--avatar" : "",
3795
3796
  T === "rounded" ? "set-uploader--rounded" : T === "square" ? "set-uploader--square" : "",
3796
- B && "is-dragging"
3797
+ ee && "is-dragging"
3797
3798
  ].filter(Boolean).join(" "), fe = y === "inline", pe = y === "profile", me = /* @__PURE__ */ D("div", {
3798
3799
  className: "set-uploader-shell",
3799
- style: { "--wui-logo-size": `${ce}px` },
3800
+ style: { "--wui-logo-size": `${W}px` },
3800
3801
  children: [
3801
3802
  /* @__PURE__ */ E("button", {
3802
3803
  type: "button",
3803
3804
  className: de,
3804
- onClick: ie,
3805
- disabled: H,
3805
+ onClick: re,
3806
+ disabled: B,
3806
3807
  "aria-busy": a || void 0,
3807
3808
  "aria-label": h,
3808
- "aria-describedby": ne || te,
3809
+ "aria-describedby": U || te,
3809
3810
  onDragOver: (e) => {
3810
- e.preventDefault(), !H && !B && V(!0);
3811
+ e.preventDefault(), !B && !ee && z(!0);
3811
3812
  },
3812
3813
  onDragLeave: (e) => {
3813
- e.preventDefault(), V(!1);
3814
+ e.preventDefault(), z(!1);
3814
3815
  },
3815
3816
  onDrop: se,
3816
3817
  ...k,
3817
3818
  children: /* @__PURE__ */ D("span", {
3818
3819
  className: "set-uploader-ring",
3819
3820
  "data-overlay-label": m,
3820
- children: [ee ? /* @__PURE__ */ E("img", {
3821
+ children: [V ? /* @__PURE__ */ E("img", {
3821
3822
  className: "set-uploader-img",
3822
- src: ee,
3823
+ src: V,
3823
3824
  alt: "",
3824
- onError: () => z(!0)
3825
+ onError: () => R(!0)
3825
3826
  }) : /* @__PURE__ */ E("span", {
3826
3827
  className: "set-uploader-logo",
3827
3828
  children: t || C === "avatar" && /* @__PURE__ */ E(Y, {
@@ -3845,17 +3846,17 @@ function Gn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3845
3846
  })]
3846
3847
  })
3847
3848
  }),
3848
- q(/* @__PURE__ */ E("button", {
3849
+ J(/* @__PURE__ */ E("button", {
3849
3850
  type: "button",
3850
3851
  className: "set-uploader-remove",
3851
- hidden: !re,
3852
+ hidden: !ne,
3852
3853
  "aria-label": "Remove photo",
3853
- onClick: K,
3854
+ onClick: ce,
3854
3855
  children: /* @__PURE__ */ E(Y, {
3855
3856
  name: "x",
3856
3857
  size: 14
3857
3858
  })
3858
- }), re ? "Remove photo" : null),
3859
+ }), ne ? "Remove photo" : null),
3859
3860
  /* @__PURE__ */ E("input", {
3860
3861
  id: M,
3861
3862
  ref: j,
@@ -3864,22 +3865,22 @@ function Gn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3864
3865
  hidden: !0,
3865
3866
  accept: l,
3866
3867
  onChange: oe,
3867
- disabled: H
3868
+ disabled: B
3868
3869
  })
3869
3870
  ]
3870
- }), he = _ && !U ? /* @__PURE__ */ E("div", {
3871
+ }), he = _ && !H ? /* @__PURE__ */ E("div", {
3871
3872
  className: "set-uploader-hint",
3872
3873
  id: te,
3873
3874
  children: _
3874
- }) : null, J = U ? /* @__PURE__ */ E("div", {
3875
+ }) : null, ge = H ? /* @__PURE__ */ E("div", {
3875
3876
  className: "field-error",
3876
- id: ne,
3877
- children: U
3878
- }) : null, ge = g && /* @__PURE__ */ D("label", {
3877
+ id: U,
3878
+ children: H
3879
+ }) : null, _e = g && /* @__PURE__ */ D("label", {
3879
3880
  className: "label",
3880
3881
  htmlFor: M,
3881
3882
  children: [g, S && /* @__PURE__ */ E(Z, {})]
3882
- }), _e = /* @__PURE__ */ D("div", {
3883
+ }), K = /* @__PURE__ */ D("div", {
3883
3884
  className: "set-uploader-meta",
3884
3885
  children: [
3885
3886
  b && /* @__PURE__ */ E("div", {
@@ -3891,55 +3892,55 @@ function Gn({ value: e, fallback: t, name: n, onPick: r, onRemove: i, loading: a
3891
3892
  children: x
3892
3893
  }),
3893
3894
  he,
3894
- J
3895
+ ge
3895
3896
  ]
3896
3897
  });
3897
3898
  return fe ? /* @__PURE__ */ D("div", {
3898
3899
  className: `field set-uploader-field set-uploader-field--inline${O ? ` ${O}` : ""}`,
3899
- children: [ge, /* @__PURE__ */ D("div", {
3900
+ children: [_e, /* @__PURE__ */ D("div", {
3900
3901
  className: "set-uploader-row",
3901
- children: [me, _e]
3902
+ children: [me, K]
3902
3903
  })]
3903
3904
  }) : pe ? /* @__PURE__ */ D("div", {
3904
3905
  className: `field set-uploader-field set-uploader-field--profile${O ? ` ${O}` : ""}`,
3905
3906
  children: [
3906
- ge,
3907
+ _e,
3907
3908
  me,
3908
- _e
3909
+ K
3909
3910
  ]
3910
3911
  }) : /* @__PURE__ */ D("div", {
3911
3912
  className: `field set-uploader-field${O ? ` ${O}` : ""}`,
3912
3913
  children: [
3913
- ge,
3914
+ _e,
3914
3915
  me,
3915
3916
  he,
3916
- J
3917
+ ge
3917
3918
  ]
3918
3919
  });
3919
3920
  }
3920
3921
  //#endregion
3921
3922
  //#region src/components/AppMeter.jsx
3922
- var Kn = [
3923
+ var ar = [
3923
3924
  "info",
3924
3925
  "success",
3925
3926
  "warning",
3926
3927
  "danger",
3927
3928
  "neutral"
3928
3929
  ];
3929
- function qn(e, t, n) {
3930
+ function or(e, t, n) {
3930
3931
  let r = n - t;
3931
3932
  if (!(r > 0)) return 0;
3932
3933
  let i = Math.min(100, Math.max(0, (e - t) / r * 100));
3933
3934
  return Number(i.toFixed(2));
3934
3935
  }
3935
- function Jn(e, t, n, r, i) {
3936
+ function sr(e, t, n, r, i) {
3936
3937
  if (t == null && n == null) return i;
3937
3938
  let a = "mid";
3938
3939
  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";
3939
3940
  }
3940
- function Yn({ value: e = 0, min: t = 0, max: n = 100, tone: r = "info", optimum: i = "high", low: a, high: o, size: s = "md", label: c, showLabel: l = !1, className: u = "", ...d }) {
3941
- W("AppMeter", d);
3942
- let f = Jn(e, a, o, i, Kn.includes(r) ? r : "info"), p = qn(e, t, n);
3941
+ function cr({ 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 }) {
3942
+ G("AppMeter", d);
3943
+ let f = sr(e, a, o, i, ar.includes(r) ? r : "info"), p = or(e, t, n);
3943
3944
  return /* @__PURE__ */ E("div", {
3944
3945
  className: `progress${s === "sm" ? " progress-sm" : ""}${u ? ` ${u}` : ""}`,
3945
3946
  role: "meter",
@@ -3957,20 +3958,20 @@ function Yn({ value: e = 0, min: t = 0, max: n = 100, tone: r = "info", optimum:
3957
3958
  }
3958
3959
  //#endregion
3959
3960
  //#region src/components/AppMultiSelect.jsx
3960
- var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Select…", searchPlaceholder: i = "Search…", searchable: a = !0, disabled: c = !1, icon: l, size: u, collapseChips: d = !1, allowCustom: f = !1, validateCustom: p, customPattern: m, customInvalidMessage: h, name: g, id: _, label: v, error: y, hint: b, required: x = !1, help: S, helpLabel: C = "More information", fieldClassName: w = "", ...T }, O) {
3961
- W("AppMultiSelect", T);
3961
+ var lr = i(function({ values: e, onChange: t, options: n, placeholder: r = "Select…", searchPlaceholder: i = "Search…", searchable: a = !0, disabled: c = !1, icon: l, size: u, collapseChips: d = !1, allowCustom: f = !1, validateCustom: p, customPattern: m, customInvalidMessage: h, name: g, id: _, label: v, error: y, hint: b, required: x = !1, help: S, helpLabel: C = "More information", fieldClassName: w = "", ...T }, O) {
3962
+ G("AppMultiSelect", T);
3962
3963
  let k = s(), A = _ || k, { setRef: j, innerRef: M } = Q({
3963
3964
  ref: O,
3964
3965
  value: e,
3965
3966
  onChange: t,
3966
- readValue: Qe,
3967
- writeValue: $e
3967
+ readValue: dt,
3968
+ writeValue: ft
3968
3969
  });
3969
3970
  return o(() => {
3970
3971
  let e = M.current;
3971
3972
  if (!e) return;
3972
3973
  let t = n || [];
3973
- Ze(t, e.options) || (e.options = t);
3974
+ ut(t, e.options) || (e.options = t);
3974
3975
  }, [n, M]), o(() => {
3975
3976
  let e = M.current;
3976
3977
  e && (e.validateCustom = p ?? null);
@@ -3983,7 +3984,7 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
3983
3984
  children: [
3984
3985
  v,
3985
3986
  x && /* @__PURE__ */ E(Z, {}),
3986
- S && /* @__PURE__ */ E(qe, {
3987
+ S && /* @__PURE__ */ E(ot, {
3987
3988
  label: C,
3988
3989
  children: S
3989
3990
  })
@@ -4020,8 +4021,8 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4020
4021
  }) : null
4021
4022
  ]
4022
4023
  });
4023
- }), Zn = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", value: c, onChange: l, min: u, max: d, step: p = 1, precision: m = 0, unit: h, size: g = "md", id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, ...C }, w) {
4024
- W("AppNumberInput", C);
4024
+ }), ur = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: a = "More information", value: c, onChange: l, min: u, max: d, step: p = 1, precision: m = 0, unit: h, size: g = "md", id: _, name: v, className: b = "", fieldClassName: x = "", disabled: S = !1, ...C }, w) {
4025
+ G("AppNumberInput", C);
4025
4026
  let T = s(), O = _ || T, k = (e) => {
4026
4027
  if (m === 0) return Math.round(e);
4027
4028
  let t = 10 ** m;
@@ -4040,19 +4041,19 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4040
4041
  let P = (e) => {
4041
4042
  let t = (j(M) ?? A(0)) + e * p, n = A(k(t));
4042
4043
  N(String(n)), l?.(n);
4043
- }, F = j(M), I = S || F !== null && typeof u == "number" && F <= u, L = S || F !== null && typeof d == "number" && F >= d, R = n && O ? `${O}-error` : void 0, z = r && O ? `${O}-hint` : void 0, B = R || z, V = [
4044
+ }, F = j(M), I = S || F !== null && typeof u == "number" && F <= u, L = S || F !== null && typeof d == "number" && F >= d, R = n && O ? `${O}-error` : void 0, ee = r && O ? `${O}-hint` : void 0, z = R || ee, B = [
4044
4045
  "input",
4045
4046
  g === "sm" ? "input-sm" : "",
4046
4047
  g === "lg" ? "input-lg" : "",
4047
4048
  n ? "error" : "",
4048
4049
  "num-input",
4049
4050
  b
4050
- ].filter(Boolean).join(" "), H = (e) => {
4051
+ ].filter(Boolean).join(" "), V = (e) => {
4051
4052
  let t = e.target.value;
4052
4053
  N(t);
4053
4054
  let n = j(t);
4054
4055
  n !== null && l?.(n);
4055
- }, ee = (e) => {
4056
+ }, H = (e) => {
4056
4057
  let t = j(e.target.value);
4057
4058
  if (t === null) N(""), l?.("");
4058
4059
  else {
@@ -4060,24 +4061,24 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4060
4061
  N(String(e)), l?.(e);
4061
4062
  }
4062
4063
  C.onBlur?.(e);
4063
- }, U = (e) => {
4064
+ }, te = (e) => {
4064
4065
  e.key === "ArrowUp" ? (e.preventDefault(), P(1)) : e.key === "ArrowDown" && (e.preventDefault(), P(-1)), C.onKeyDown?.(e);
4065
- }, te = /* @__PURE__ */ E(y.Control, {
4066
+ }, U = /* @__PURE__ */ E(y.Control, {
4066
4067
  ...C,
4067
4068
  id: O,
4068
4069
  name: v,
4069
4070
  type: "text",
4070
4071
  inputMode: m > 0 ? "decimal" : "numeric",
4071
- className: V,
4072
+ className: B,
4072
4073
  disabled: S,
4073
4074
  required: t,
4074
4075
  "aria-invalid": n ? "true" : "false",
4075
- "aria-describedby": B,
4076
+ "aria-describedby": z,
4076
4077
  value: M,
4077
4078
  ref: w,
4078
- onChange: H,
4079
- onBlur: ee,
4080
- onKeyDown: U
4079
+ onChange: V,
4080
+ onBlur: H,
4081
+ onKeyDown: te
4081
4082
  }), ne = /* @__PURE__ */ D("div", {
4082
4083
  className: [
4083
4084
  "num-wrap",
@@ -4097,7 +4098,7 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4097
4098
  size: 16
4098
4099
  })
4099
4100
  }),
4100
- te,
4101
+ U,
4101
4102
  h && /* @__PURE__ */ E("span", {
4102
4103
  className: "affix",
4103
4104
  children: h
@@ -4125,7 +4126,7 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4125
4126
  children: [
4126
4127
  e,
4127
4128
  t && /* @__PURE__ */ E(Z, {}),
4128
- i && /* @__PURE__ */ E(qe, {
4129
+ i && /* @__PURE__ */ E(ot, {
4129
4130
  label: a,
4130
4131
  children: i
4131
4132
  })
@@ -4138,13 +4139,13 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4138
4139
  children: n
4139
4140
  }) : r ? /* @__PURE__ */ E("div", {
4140
4141
  className: "field-hint",
4141
- id: z,
4142
+ id: ee,
4142
4143
  children: r
4143
4144
  }) : null
4144
4145
  ]
4145
4146
  });
4146
- }), Qn = i(function({ value: e, onChange: t, onComplete: n, length: r = 6, mode: i = "numeric", label: a, required: o = !1, hint: c, error: l, disabled: u = !1, name: d, id: f, className: p = "", fieldClassName: m = "", ...h }, g) {
4147
- W("AppOtpInput", h);
4147
+ }), dr = 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) {
4148
+ G("AppOtpInput", h);
4148
4149
  let _ = s(), v = f || _, y = l ? `${v}-error` : void 0, b = c ? `${v}-hint` : void 0, x = y || b, { setRef: S } = Q({
4149
4150
  ref: g,
4150
4151
  value: e ?? "",
@@ -4185,71 +4186,76 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4185
4186
  })
4186
4187
  ]
4187
4188
  });
4188
- });
4189
- //#endregion
4190
- //#region src/components/AppPageHeader.jsx
4191
- function $n({ title: e, subtitle: t, eyebrow: n, icon: r, tone: i = "primary", status: a, breadcrumbs: o, actions: s, size: c = "md", align: l = "start", divider: u = !1, sticky: d = !1, className: f = "", ...p }) {
4192
- W("AppPageHeader", p);
4193
- let m = [
4189
+ }), fr = [
4190
+ "h1",
4191
+ "h2",
4192
+ "h3",
4193
+ "h4",
4194
+ "h5",
4195
+ "h6"
4196
+ ];
4197
+ function pr({ title: e, as: t = "h1", subtitle: n, eyebrow: r, icon: i, tone: a = "primary", status: o, breadcrumbs: s, actions: c, size: l = "md", align: u = "start", divider: d = !1, sticky: f = !1, className: p = "", ...m }) {
4198
+ G("AppPageHeader", m), q("AppPageHeader", "as", t, fr);
4199
+ let h = fr.includes(t) ? t : "h1", g = [
4194
4200
  "page-header",
4195
- c && c !== "md" ? `page-header-${c}` : "",
4196
- l === "center" ? "page-header-center" : "",
4197
- u ? "page-header-divider" : "",
4198
- d ? "page-header-sticky" : "",
4199
- i && i !== "primary" ? `tone-${i}` : "",
4200
- f
4201
- ].filter(Boolean).join(" "), h = r == null ? null : typeof r == "string" ? /* @__PURE__ */ E(Y, {
4202
- name: r,
4201
+ l && l !== "md" ? `page-header-${l}` : "",
4202
+ u === "center" ? "page-header-center" : "",
4203
+ d ? "page-header-divider" : "",
4204
+ f ? "page-header-sticky" : "",
4205
+ a && a !== "primary" ? `tone-${a}` : "",
4206
+ p
4207
+ ].filter(Boolean).join(" "), _ = i == null ? null : typeof i == "string" ? /* @__PURE__ */ E(Y, {
4208
+ name: i,
4203
4209
  size: 20
4204
- }) : r;
4210
+ }) : i;
4205
4211
  return /* @__PURE__ */ D("div", {
4206
- className: m,
4207
- ...p,
4208
- children: [o != null && /* @__PURE__ */ E("div", {
4212
+ className: g,
4213
+ ...m,
4214
+ children: [s != null && /* @__PURE__ */ E("div", {
4209
4215
  className: "page-breadcrumbs",
4210
- children: o
4216
+ children: s
4211
4217
  }), /* @__PURE__ */ D("div", {
4212
4218
  className: "page-header-bar",
4213
4219
  children: [/* @__PURE__ */ D("div", {
4214
4220
  className: "page-header-lead",
4215
- children: [h != null && /* @__PURE__ */ E("span", {
4221
+ children: [_ != null && /* @__PURE__ */ E("span", {
4216
4222
  className: "page-header-icon",
4217
- children: h
4223
+ children: _
4218
4224
  }), /* @__PURE__ */ D("div", {
4219
4225
  className: "page-header-titles",
4220
4226
  children: [
4221
- n != null && /* @__PURE__ */ E("div", {
4227
+ r != null && /* @__PURE__ */ E("div", {
4222
4228
  className: "page-eyebrow",
4223
- children: n
4229
+ children: r
4224
4230
  }),
4225
4231
  /* @__PURE__ */ D("div", {
4226
4232
  className: "page-titlebar",
4227
- children: [e != null && /* @__PURE__ */ E("div", {
4233
+ children: [e != null && /* @__PURE__ */ E(h, {
4228
4234
  className: "page-title",
4229
4235
  children: e
4230
- }), a != null && /* @__PURE__ */ E("span", {
4236
+ }), o != null && /* @__PURE__ */ E("span", {
4231
4237
  className: "page-status",
4232
- children: a
4238
+ children: o
4233
4239
  })]
4234
4240
  }),
4235
- t != null && /* @__PURE__ */ E("div", {
4241
+ n != null && /* @__PURE__ */ E("div", {
4236
4242
  className: "page-subtitle",
4237
- children: t
4243
+ children: n
4238
4244
  })
4239
4245
  ]
4240
4246
  })]
4241
- }), s != null && /* @__PURE__ */ E("div", {
4247
+ }), c != null && /* @__PURE__ */ E("div", {
4242
4248
  className: "page-actions",
4243
- children: s
4249
+ children: c
4244
4250
  })]
4245
4251
  })]
4246
4252
  });
4247
4253
  }
4248
4254
  //#endregion
4249
4255
  //#region src/components/AppPagination.jsx
4250
- function er({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
4251
- if (W("AppPagination", s), t <= 1) return null;
4252
- let c = rn(e, t, { siblingCount: r });
4256
+ function mr({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
4257
+ if (G("AppPagination", s), t <= 1) return null;
4258
+ let c = _n(e, t, { siblingCount: r });
4253
4259
  return /* @__PURE__ */ E("nav", {
4254
4260
  className: [
4255
4261
  "pagination-nav",
@@ -4307,8 +4313,8 @@ function er({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "m
4307
4313
  }
4308
4314
  //#endregion
4309
4315
  //#region src/components/AppPhoneNumberInput.jsx
4310
- var tr = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name: i, id: a, label: o = "Phone number", placeholder: c, required: l = !1, error: u, showFlag: d = !0, showDialCode: f = !0, size: p = "md", fieldClassName: m = "", ...h }, g) {
4311
- W("AppPhoneNumberInput", h);
4316
+ var hr = 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) {
4317
+ G("AppPhoneNumberInput", h);
4312
4318
  let _ = s(), v = a || _, y = u && v ? `${v}-error` : void 0, { setRef: b } = Q({
4313
4319
  ref: g,
4314
4320
  value: e ?? "",
@@ -4348,8 +4354,8 @@ var tr = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name:
4348
4354
  });
4349
4355
  //#endregion
4350
4356
  //#region src/components/AppPricingCard.jsx
4351
- function nr({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a, featured: o = !1, current: s = !1, badge: c = "Most popular", className: l = "", ...u }) {
4352
- return W("AppPricingCard", u), /* @__PURE__ */ D("div", {
4357
+ function gr({ 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 }) {
4358
+ return G("AppPricingCard", u), /* @__PURE__ */ D("div", {
4353
4359
  className: [
4354
4360
  "plan-card",
4355
4361
  o ? "featured" : "",
@@ -4402,21 +4408,21 @@ function nr({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a,
4402
4408
  }
4403
4409
  //#endregion
4404
4410
  //#region src/components/AppProgress.jsx
4405
- var rr = [
4411
+ var _r = [
4406
4412
  "info",
4407
4413
  "success",
4408
4414
  "warning",
4409
4415
  "danger",
4410
4416
  "neutral"
4411
4417
  ];
4412
- function ir(e, t) {
4418
+ function vr(e, t) {
4413
4419
  if (!(t > 0)) return 0;
4414
4420
  let n = Math.min(100, Math.max(0, e / t * 100));
4415
4421
  return Number(n.toFixed(2));
4416
4422
  }
4417
- function ar({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", label: i, showLabel: a = !1, striped: o = !1, animated: s = !1, indeterminate: c = !1, className: l = "", ...u }) {
4418
- W("AppProgress", u);
4419
- let d = rr.includes(n) ? n : "info", f = ir(e, t), p = `progress${r === "sm" ? " progress-sm" : ""}${l ? ` ${l}` : ""}`, m = [
4423
+ function yr({ 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 }) {
4424
+ G("AppProgress", u);
4425
+ let d = _r.includes(n) ? n : "info", f = vr(e, t), p = `progress${r === "sm" ? " progress-sm" : ""}${l ? ` ${l}` : ""}`, m = [
4420
4426
  "progress-bar",
4421
4427
  `wui-progress-${d}`,
4422
4428
  o || s ? "progress-bar-striped" : "",
@@ -4440,22 +4446,22 @@ function ar({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", labe
4440
4446
  }
4441
4447
  //#endregion
4442
4448
  //#region src/lib/qrCode.js
4443
- var or = {
4449
+ var br = {
4444
4450
  L: 0,
4445
4451
  M: 1,
4446
4452
  Q: 2,
4447
4453
  H: 3
4448
- }, sr = [
4454
+ }, xr = [
4449
4455
  1,
4450
4456
  0,
4451
4457
  3,
4452
4458
  2
4453
- ], cr = [
4459
+ ], Sr = [
4454
4460
  "L",
4455
4461
  "M",
4456
4462
  "Q",
4457
4463
  "H"
4458
- ], lr = 3, ur = 3, dr = 40, fr = 10, pr = [
4464
+ ], Cr = 3, wr = 3, Tr = 40, Er = 10, Dr = [
4459
4465
  [
4460
4466
  -1,
4461
4467
  7,
@@ -4628,7 +4634,7 @@ var or = {
4628
4634
  30,
4629
4635
  30
4630
4636
  ]
4631
- ], mr = [
4637
+ ], Or = [
4632
4638
  [
4633
4639
  -1,
4634
4640
  1,
@@ -4802,24 +4808,24 @@ var or = {
4802
4808
  81
4803
4809
  ]
4804
4810
  ];
4805
- function hr(e, t = "M", { mask: n = -1, boostEcc: r = !0 } = {}) {
4806
- if (!Object.hasOwn(or, t)) throw RangeError(`Unknown error correction level "${t}"`);
4811
+ function kr(e, t = "M", { mask: n = -1, boostEcc: r = !0 } = {}) {
4812
+ if (!Object.hasOwn(br, t)) throw RangeError(`Unknown error correction level "${t}"`);
4807
4813
  if (!Number.isInteger(n) || n < -1 || n > 7) throw RangeError("Mask must be -1 to 7");
4808
- let i = new TextEncoder().encode(String(e)), a = or[t], o = 1, s = 0;
4809
- for (; s = _r(i.length, o), !(s <= Er(o, a) * 8); o++) if (o >= 40) throw RangeError(`Data too long for a QR code: ${i.length} bytes`);
4810
- for (let e = 1; e <= 3; e++) r && s <= Er(o, e) * 8 && (a = Math.max(a, e));
4814
+ let i = new TextEncoder().encode(String(e)), a = br[t], o = 1, s = 0;
4815
+ for (; s = jr(i.length, o), !(s <= Br(o, a) * 8); o++) if (o >= 40) throw RangeError(`Data too long for a QR code: ${i.length} bytes`);
4816
+ for (let e = 1; e <= 3; e++) r && s <= Br(o, e) * 8 && (a = Math.max(a, e));
4811
4817
  let c = [];
4812
- jr(4, 4, c), jr(i.length, o <= 9 ? 8 : 16, c);
4813
- for (let e of i) jr(e, 8, c);
4814
- let l = Er(o, a) * 8;
4815
- jr(0, Math.min(4, l - c.length), c), jr(0, (8 - c.length % 8) % 8, c);
4816
- for (let e = 236; c.length < l; e ^= 253) jr(e, 8, c);
4818
+ Gr(4, 4, c), Gr(i.length, o <= 9 ? 8 : 16, c);
4819
+ for (let e of i) Gr(e, 8, c);
4820
+ let l = Br(o, a) * 8;
4821
+ Gr(0, Math.min(4, l - c.length), c), Gr(0, (8 - c.length % 8) % 8, c);
4822
+ for (let e = 236; c.length < l; e ^= 253) Gr(e, 8, c);
4817
4823
  let u = new Uint8Array(c.length / 8);
4818
4824
  return c.forEach((e, t) => {
4819
4825
  u[t >>> 3] |= e << 7 - (t & 7);
4820
- }), vr(o, a, u, n);
4826
+ }), Mr(o, a, u, n);
4821
4827
  }
4822
- function gr(e, t = 4) {
4828
+ function Ar(e, t = 4) {
4823
4829
  let { size: n } = e, r = "";
4824
4830
  for (let i = 0; i < n; i++) {
4825
4831
  let a = 0;
@@ -4836,22 +4842,22 @@ function gr(e, t = 4) {
4836
4842
  }
4837
4843
  return r;
4838
4844
  }
4839
- function _r(e, t) {
4845
+ function jr(e, t) {
4840
4846
  let n = t <= 9 ? 8 : 16;
4841
4847
  return e >= 1 << n ? Infinity : 4 + n + e * 8;
4842
4848
  }
4843
- function vr(e, t, n, r) {
4849
+ function Mr(e, t, n, r) {
4844
4850
  let i = e * 4 + 17, a = new Uint8Array(i * i), o = new Uint8Array(i * i), s = (e, t, n) => {
4845
4851
  a[t * i + e] = +!!n, o[t * i + e] = 1;
4846
4852
  }, c = (e) => {
4847
- let n = sr[t] << 3 | e, r = n;
4853
+ let n = xr[t] << 3 | e, r = n;
4848
4854
  for (let e = 0; e < 10; e++) r = r << 1 ^ (r >>> 9) * 1335;
4849
4855
  let a = (n << 10 | r) ^ 21522;
4850
- for (let e = 0; e <= 5; e++) s(8, e, Mr(a, e));
4851
- s(8, 7, Mr(a, 6)), s(8, 8, Mr(a, 7)), s(7, 8, Mr(a, 8));
4852
- for (let e = 9; e < 15; e++) s(14 - e, 8, Mr(a, e));
4853
- for (let e = 0; e < 8; e++) s(i - 1 - e, 8, Mr(a, e));
4854
- for (let e = 8; e < 15; e++) s(8, i - 15 + e, Mr(a, e));
4856
+ for (let e = 0; e <= 5; e++) s(8, e, Kr(a, e));
4857
+ s(8, 7, Kr(a, 6)), s(8, 8, Kr(a, 7)), s(7, 8, Kr(a, 8));
4858
+ for (let e = 9; e < 15; e++) s(14 - e, 8, Kr(a, e));
4859
+ for (let e = 0; e < 8; e++) s(i - 1 - e, 8, Kr(a, e));
4860
+ for (let e = 8; e < 15; e++) s(8, i - 15 + e, Kr(a, e));
4855
4861
  s(8, i - 8, !0);
4856
4862
  }, l = (e, t) => {
4857
4863
  for (let n = -4; n <= 4; n++) for (let r = -4; r <= 4; r++) {
@@ -4863,45 +4869,45 @@ function vr(e, t, n, r) {
4863
4869
  };
4864
4870
  for (let e = 0; e < i; e++) s(6, e, e % 2 == 0), s(e, 6, e % 2 == 0);
4865
4871
  l(3, 3), l(i - 4, 3), l(3, i - 4);
4866
- let d = wr(e, i), f = d.length;
4872
+ let d = Rr(e, i), f = d.length;
4867
4873
  for (let e = 0; e < f; e++) for (let t = 0; t < f; t++) e === 0 && t === 0 || e === 0 && t === f - 1 || e === f - 1 && t === 0 || u(d[e], d[t]);
4868
4874
  if (c(0), e >= 7) {
4869
4875
  let t = e;
4870
4876
  for (let e = 0; e < 12; e++) t = t << 1 ^ (t >>> 11) * 7973;
4871
4877
  let n = e << 12 | t;
4872
4878
  for (let e = 0; e < 18; e++) {
4873
- let t = Mr(n, e), r = i - 11 + e % 3, a = Math.floor(e / 3);
4879
+ let t = Kr(n, e), r = i - 11 + e % 3, a = Math.floor(e / 3);
4874
4880
  s(r, a, t), s(a, r, t);
4875
4881
  }
4876
4882
  }
4877
- let p = Dr(n, e, t), m = 0, h = p.length * 8;
4883
+ let p = Vr(n, e, t), m = 0, h = p.length * 8;
4878
4884
  for (let e = i - 1; e >= 1; e -= 2) {
4879
4885
  e === 6 && (e = 5);
4880
4886
  for (let t = 0; t < i; t++) for (let n = 0; n < 2; n++) {
4881
4887
  let r = e - n, s = e + 1 & 2 ? t : i - 1 - t;
4882
- !o[s * i + r] && m < h && (a[s * i + r] = +!!Mr(p[m >>> 3], 7 - (m & 7)), m++);
4888
+ !o[s * i + r] && m < h && (a[s * i + r] = +!!Kr(p[m >>> 3], 7 - (m & 7)), m++);
4883
4889
  }
4884
4890
  }
4885
4891
  let g = (e) => {
4886
- for (let t = 0; t < i; t++) for (let n = 0; n < i; n++) !o[t * i + n] && yr(e, n, t) && (a[t * i + n] ^= 1);
4892
+ for (let t = 0; t < i; t++) for (let n = 0; n < i; n++) !o[t * i + n] && Nr(e, n, t) && (a[t * i + n] ^= 1);
4887
4893
  }, _ = r;
4888
4894
  if (_ === -1) {
4889
4895
  let e = Infinity;
4890
4896
  for (let t = 0; t < 8; t++) {
4891
4897
  g(t), c(t);
4892
- let n = br(a, i);
4898
+ let n = Pr(a, i);
4893
4899
  n < e && (_ = t, e = n), g(t);
4894
4900
  }
4895
4901
  }
4896
4902
  return g(_), c(_), Object.freeze({
4897
4903
  size: i,
4898
4904
  version: e,
4899
- ecc: cr[t],
4905
+ ecc: Sr[t],
4900
4906
  mask: _,
4901
4907
  isDark: (e, t) => e >= 0 && e < i && t >= 0 && t < i && a[e * i + t] === 1
4902
4908
  });
4903
4909
  }
4904
- function yr(e, t, n) {
4910
+ function Nr(e, t, n) {
4905
4911
  switch (e) {
4906
4912
  case 0: return (t + n) % 2 == 0;
4907
4913
  case 1: return n % 2 == 0;
@@ -4913,7 +4919,7 @@ function yr(e, t, n) {
4913
4919
  default: return ((t + n) % 2 + t * n % 3) % 2 == 0;
4914
4920
  }
4915
4921
  }
4916
- function br(e, t) {
4922
+ function Pr(e, t) {
4917
4923
  let n = 0, r = (n, r) => e[r * t + n] === 1;
4918
4924
  for (let e = 0; e < 2; e++) for (let i = 0; i < t; i++) {
4919
4925
  let a = !1, o = 0, s = [
@@ -4927,38 +4933,38 @@ function br(e, t) {
4927
4933
  ];
4928
4934
  for (let c = 0; c < t; c++) {
4929
4935
  let l = e === 0 ? r(c, i) : r(i, c);
4930
- l === a ? (o++, o === 5 ? n += lr : o > 5 && n++) : (Cr(o, s, t), a || (n += xr(s) * dr), a = l, o = 1);
4936
+ l === a ? (o++, o === 5 ? n += Cr : o > 5 && n++) : (Lr(o, s, t), a || (n += Fr(s) * Tr), a = l, o = 1);
4931
4937
  }
4932
- n += Sr(a, o, s, t) * dr;
4938
+ n += Ir(a, o, s, t) * Tr;
4933
4939
  }
4934
4940
  for (let e = 0; e < t - 1; e++) for (let i = 0; i < t - 1; i++) {
4935
4941
  let t = r(i, e);
4936
- t === r(i + 1, e) && t === r(i, e + 1) && t === r(i + 1, e + 1) && (n += ur);
4942
+ t === r(i + 1, e) && t === r(i, e + 1) && t === r(i + 1, e + 1) && (n += wr);
4937
4943
  }
4938
4944
  let i = 0;
4939
4945
  for (let t of e) i += t;
4940
4946
  let a = t * t, o = Math.ceil(Math.abs(i * 20 - a * 10) / a) - 1;
4941
- return n += o * fr, n;
4947
+ return n += o * Er, n;
4942
4948
  }
4943
- function xr(e) {
4949
+ function Fr(e) {
4944
4950
  let t = e[1], n = t > 0 && e[2] === t && e[3] === t * 3 && e[4] === t && e[5] === t;
4945
4951
  return (n && e[0] >= t * 4 && e[6] >= t ? 1 : 0) + (n && e[6] >= t * 4 && e[0] >= t ? 1 : 0);
4946
4952
  }
4947
- function Sr(e, t, n, r) {
4953
+ function Ir(e, t, n, r) {
4948
4954
  let i = t;
4949
- return e && (Cr(i, n, r), i = 0), i += r, Cr(i, n, r), xr(n);
4955
+ return e && (Lr(i, n, r), i = 0), i += r, Lr(i, n, r), Fr(n);
4950
4956
  }
4951
- function Cr(e, t, n) {
4957
+ function Lr(e, t, n) {
4952
4958
  let r = t[0] === 0 ? e + n : e;
4953
4959
  t.pop(), t.unshift(r);
4954
4960
  }
4955
- function wr(e, t) {
4961
+ function Rr(e, t) {
4956
4962
  if (e === 1) return [];
4957
4963
  let n = Math.floor(e / 7) + 2, r = Math.floor((e * 8 + n * 3 + 5) / (n * 4 - 4)) * 2, i = [6];
4958
4964
  for (let e = t - 7; i.length < n; e -= r) i.splice(1, 0, e);
4959
4965
  return i;
4960
4966
  }
4961
- function Tr(e) {
4967
+ function zr(e) {
4962
4968
  let t = (16 * e + 128) * e + 64;
4963
4969
  if (e >= 2) {
4964
4970
  let n = Math.floor(e / 7) + 2;
@@ -4966,15 +4972,15 @@ function Tr(e) {
4966
4972
  }
4967
4973
  return t;
4968
4974
  }
4969
- function Er(e, t) {
4970
- return Math.floor(Tr(e) / 8) - pr[t][e] * mr[t][e];
4975
+ function Br(e, t) {
4976
+ return Math.floor(zr(e) / 8) - Dr[t][e] * Or[t][e];
4971
4977
  }
4972
- function Dr(e, t, n) {
4973
- let r = mr[n][t], i = pr[n][t], a = Math.floor(Tr(t) / 8), o = r - a % r, s = Math.floor(a / r), c = [], l = Or(i);
4978
+ function Vr(e, t, n) {
4979
+ let r = Or[n][t], i = Dr[n][t], a = Math.floor(zr(t) / 8), o = r - a % r, s = Math.floor(a / r), c = [], l = Hr(i);
4974
4980
  for (let t = 0, n = 0; t < r; t++) {
4975
4981
  let r = Array.from(e.subarray(n, n + s - i + (t < o ? 0 : 1)));
4976
4982
  n += r.length;
4977
- let a = kr(r, l);
4983
+ let a = Ur(r, l);
4978
4984
  t < o && r.push(0), c.push(r.concat(a));
4979
4985
  }
4980
4986
  let u = [];
@@ -4983,48 +4989,48 @@ function Dr(e, t, n) {
4983
4989
  });
4984
4990
  return u;
4985
4991
  }
4986
- function Or(e) {
4992
+ function Hr(e) {
4987
4993
  let t = Array(e).fill(0);
4988
4994
  t[e - 1] = 1;
4989
4995
  let n = 1;
4990
4996
  for (let r = 0; r < e; r++) {
4991
- for (let e = 0; e < t.length; e++) t[e] = Ar(t[e], n), e + 1 < t.length && (t[e] ^= t[e + 1]);
4992
- n = Ar(n, 2);
4997
+ for (let e = 0; e < t.length; e++) t[e] = Wr(t[e], n), e + 1 < t.length && (t[e] ^= t[e + 1]);
4998
+ n = Wr(n, 2);
4993
4999
  }
4994
5000
  return t;
4995
5001
  }
4996
- function kr(e, t) {
5002
+ function Ur(e, t) {
4997
5003
  let n = t.map(() => 0);
4998
5004
  for (let r of e) {
4999
5005
  let e = r ^ n.shift();
5000
5006
  n.push(0), t.forEach((t, r) => {
5001
- n[r] ^= Ar(t, e);
5007
+ n[r] ^= Wr(t, e);
5002
5008
  });
5003
5009
  }
5004
5010
  return n;
5005
5011
  }
5006
- function Ar(e, t) {
5012
+ function Wr(e, t) {
5007
5013
  let n = 0;
5008
5014
  for (let r = 7; r >= 0; r--) n = n << 1 ^ (n >>> 7) * 285, n ^= (t >>> r & 1) * e;
5009
5015
  return n;
5010
5016
  }
5011
- function jr(e, t, n) {
5017
+ function Gr(e, t, n) {
5012
5018
  for (let r = t - 1; r >= 0; r--) n.push(e >>> r & 1);
5013
5019
  }
5014
- function Mr(e, t) {
5020
+ function Kr(e, t) {
5015
5021
  return (e >>> t & 1) != 0;
5016
5022
  }
5017
5023
  //#endregion
5018
5024
  //#region src/components/AppQrCode.jsx
5019
- var Nr = 4;
5020
- function Pr({ value: e, size: t = 240, title: n = "QR code", className: r, style: i, ...a }) {
5021
- W("AppQrCode", a);
5025
+ var qr = 4;
5026
+ function Jr({ value: e, size: t = 240, title: n = "QR code", className: r, style: i, ...a }) {
5027
+ G("AppQrCode", a);
5022
5028
  let o = u(() => {
5023
5029
  if (!e) return null;
5024
- let t = hr(String(e));
5030
+ let t = kr(String(e));
5025
5031
  return {
5026
- modules: t.size + Nr * 2,
5027
- path: gr(t, Nr)
5032
+ modules: t.size + qr * 2,
5033
+ path: Ar(t, qr)
5028
5034
  };
5029
5035
  }, [e]);
5030
5036
  if (!o) return null;
@@ -5051,8 +5057,8 @@ function Pr({ value: e, size: t = 240, title: n = "QR code", className: r, style
5051
5057
  }
5052
5058
  //#endregion
5053
5059
  //#region src/components/AppRadio.jsx
5054
- var Fr = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
5055
- return W("AppRadio", o), /* @__PURE__ */ E(vt, {
5060
+ var Yr = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
5061
+ return G("AppRadio", o), /* @__PURE__ */ E(jt, {
5056
5062
  ref: s,
5057
5063
  label: e,
5058
5064
  id: t,
@@ -5067,8 +5073,8 @@ var Fr = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
5067
5073
  });
5068
5074
  //#endregion
5069
5075
  //#region src/components/AppRadioGroup.jsx
5070
- function Ir({ label: e, options: t = [], name: n, value: r, defaultValue: i, onChange: a, inline: o = !1, required: c = !1, disabled: l = !1, error: u, hint: d, help: f, helpLabel: p = "More information", id: m, className: h = "", fieldClassName: g = "", style: _, ...v }) {
5071
- W("AppRadioGroup", v);
5076
+ function Xr({ label: e, options: t = [], name: n, value: r, defaultValue: i, onChange: a, inline: o = !1, required: c = !1, disabled: l = !1, error: u, hint: d, help: f, helpLabel: p = "More information", id: m, className: h = "", fieldClassName: g = "", style: _, ...v }) {
5077
+ G("AppRadioGroup", v);
5072
5078
  let y = s(), b = m || y, x = n || b, S = `${b}-error`, C = `${b}-hint`, w = r !== void 0;
5073
5079
  return /* @__PURE__ */ D("div", {
5074
5080
  className: `field${g ? ` ${g}` : ""}`,
@@ -5079,7 +5085,7 @@ function Ir({ label: e, options: t = [], name: n, value: r, defaultValue: i, onC
5079
5085
  children: [
5080
5086
  e,
5081
5087
  c && /* @__PURE__ */ E(Z, {}),
5082
- f && /* @__PURE__ */ E(qe, {
5088
+ f && /* @__PURE__ */ E(ot, {
5083
5089
  label: p,
5084
5090
  children: f
5085
5091
  })
@@ -5140,8 +5146,8 @@ function Ir({ label: e, options: t = [], name: n, value: r, defaultValue: i, onC
5140
5146
  }
5141
5147
  //#endregion
5142
5148
  //#region src/components/AppRepeater.jsx
5143
- function Lr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, addLabel: a = "Add another", addVariant: o = "secondary", removeLabel: s = "Remove row", emptyText: c, min: l = 0, max: u, numbered: d = !0, className: f = "", ...p }) {
5144
- W("AppRepeater", p);
5149
+ function Zr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, addLabel: a = "Add another", addVariant: o = "secondary", removeLabel: s = "Remove row", emptyText: c, min: l = 0, max: u, numbered: d = !0, className: f = "", ...p }) {
5150
+ G("AppRepeater", p);
5145
5151
  let m = typeof u == "number" && e.length >= u, h = !!i && e.length > l;
5146
5152
  return /* @__PURE__ */ D("div", {
5147
5153
  className: `repeater${f ? ` ${f}` : ""}`,
@@ -5168,7 +5174,7 @@ function Lr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
5168
5174
  className: "repeater-body",
5169
5175
  children: t(e, r)
5170
5176
  }),
5171
- h && /* @__PURE__ */ E(je, {
5177
+ h && /* @__PURE__ */ E(We, {
5172
5178
  icon: "trash-2",
5173
5179
  label: `${s} ${r + 1}`,
5174
5180
  danger: !0,
@@ -5178,7 +5184,7 @@ function Lr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
5178
5184
  ]
5179
5185
  }, e.id ?? r);
5180
5186
  }),
5181
- /* @__PURE__ */ E(Be, {
5187
+ /* @__PURE__ */ E($e, {
5182
5188
  variant: o,
5183
5189
  size: "sm",
5184
5190
  leftIcon: "plus",
@@ -5192,8 +5198,8 @@ function Lr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
5192
5198
  }
5193
5199
  //#endregion
5194
5200
  //#region src/components/AppResourceCard.jsx
5195
- function Rr({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
5196
- W("AppResourceCard", s);
5201
+ function Qr({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
5202
+ G("AppResourceCard", s);
5197
5203
  let c = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
5198
5204
  className: "res-card-icon",
5199
5205
  children: /* @__PURE__ */ E(Y, {
@@ -5226,7 +5232,7 @@ function Rr({ icon: e, title: t, text: n, href: r, external: i = !1, linkCompone
5226
5232
  }
5227
5233
  //#endregion
5228
5234
  //#region src/components/AppResult.jsx
5229
- var zr = {
5235
+ var $r = {
5230
5236
  success: {
5231
5237
  icon: "check-circle",
5232
5238
  tone: "success"
@@ -5247,9 +5253,9 @@ var zr = {
5247
5253
  404: { tone: "muted" },
5248
5254
  500: { tone: "muted" }
5249
5255
  };
5250
- function Br({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
5251
- W("AppResult", s), G("AppResult", "status", e, Object.keys(zr));
5252
- let c = zr[e] || zr.info, l = c.tone, u = /^\d+$/.test(e), d = r ?? (u ? null : c.icon);
5256
+ function ei({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
5257
+ G("AppResult", s), q("AppResult", "status", e, Object.keys($r));
5258
+ let c = $r[e] || $r.info, l = c.tone, u = /^\d+$/.test(e), d = r ?? (u ? null : c.icon);
5253
5259
  return /* @__PURE__ */ D("div", {
5254
5260
  className: [
5255
5261
  "result",
@@ -5287,8 +5293,8 @@ function Br({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, ch
5287
5293
  }
5288
5294
  //#endregion
5289
5295
  //#region src/components/AppScrollbar.jsx
5290
- function Vr({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
5291
- return W("AppScrollbar", i), /* @__PURE__ */ E("div", {
5296
+ function ti({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
5297
+ return G("AppScrollbar", i), /* @__PURE__ */ E("div", {
5292
5298
  className: t ? `wui-scroll ${t}` : "wui-scroll",
5293
5299
  style: n == null ? r : {
5294
5300
  maxHeight: n,
@@ -5300,8 +5306,8 @@ function Vr({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
5300
5306
  }
5301
5307
  //#endregion
5302
5308
  //#region src/components/AppSearch.jsx
5303
- function Hr({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search…", ariaLabel: i, iconSize: a = 18, size: o, loading: s = !1, disabled: c = !1, className: l = "", ...u }) {
5304
- W("AppSearch", u);
5309
+ function ni({ 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 }) {
5310
+ G("AppSearch", u);
5305
5311
  let d = t || n;
5306
5312
  return /* @__PURE__ */ D("div", {
5307
5313
  className: [
@@ -5347,17 +5353,17 @@ function Hr({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search
5347
5353
  }
5348
5354
  //#endregion
5349
5355
  //#region src/components/AppSegmented.jsx
5350
- var Ur = {
5356
+ var ri = {
5351
5357
  sm: "segmented-sm",
5352
5358
  md: "",
5353
5359
  lg: "segmented-lg",
5354
5360
  xl: "wui-segmented-xl"
5355
5361
  };
5356
- function Wr({ options: e = [], value: t, onChange: n, label: r, name: i, size: a = "md", fullWidth: c = !1, bordered: u = !0, disabled: f = !1, className: p = "", ...m }) {
5357
- W("AppSegmented", m), G("AppSegmented", "size", a, Object.keys(Ur));
5362
+ function ii({ options: e = [], value: t, onChange: n, label: r, name: i, size: a = "md", fullWidth: c = !1, bordered: u = !0, disabled: f = !1, className: p = "", ...m }) {
5363
+ G("AppSegmented", m), q("AppSegmented", "size", a, Object.keys(ri));
5358
5364
  let h = s(), g = i || h, _ = d(null), v = d(null), y = [
5359
5365
  "segmented",
5360
- Ur[a] ?? "",
5366
+ ri[a] ?? "",
5361
5367
  c ? "segmented-full" : "",
5362
5368
  u ? "" : "wui-segmented-borderless",
5363
5369
  f ? "is-disabled" : "",
@@ -5428,8 +5434,8 @@ function Wr({ options: e = [], value: t, onChange: n, label: r, name: i, size: a
5428
5434
  }
5429
5435
  //#endregion
5430
5436
  //#region src/components/AppSelect.jsx
5431
- var Gr = (e) => e == null ? "" : e.label ?? e.text ?? "", Kr = i(function({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", searchPlaceholder: i = "Search...", searchable: a = !1, clearable: c = !1, size: l, icon: u, prefix: d, suffix: f, floatingLabel: p = !1, disabled: m, label: h, required: g = !1, error: _, hint: v, help: y, helpLabel: b = "More information", id: x, name: S, className: C = "", fieldClassName: w = "", "aria-label": T, "aria-labelledby": O, "aria-describedby": k, ...A }, j) {
5432
- W("AppSelect", A);
5437
+ var ai = (e) => e == null ? "" : e.label ?? e.text ?? "", oi = i(function({ value: e, onChange: t, options: n = [], placeholder: r = "Select...", searchPlaceholder: i = "Search...", searchable: a = !1, clearable: c = !1, size: l, icon: u, prefix: d, suffix: f, floatingLabel: p = !1, disabled: m, label: h, required: g = !1, error: _, hint: v, help: y, helpLabel: b = "More information", id: x, name: S, className: C = "", fieldClassName: w = "", "aria-label": T, "aria-labelledby": O, "aria-describedby": k, ...A }, j) {
5438
+ G("AppSelect", A);
5433
5439
  let M = s(), { setRef: N, innerRef: P } = Q({
5434
5440
  ref: j,
5435
5441
  value: e ?? "",
@@ -5440,12 +5446,12 @@ var Gr = (e) => e == null ? "" : e.label ?? e.text ?? "", Kr = i(function({ valu
5440
5446
  if (!e) return;
5441
5447
  let t = n.map((e) => ({
5442
5448
  value: e.value,
5443
- label: Gr(e),
5449
+ label: ai(e),
5444
5450
  icon: e.icon
5445
5451
  }));
5446
- Ze(t, e.options) || (e.options = t);
5452
+ ut(t, e.options) || (e.options = t);
5447
5453
  }, [n, P]);
5448
- let F = x || M, I = p && h, L = _ && F ? `${F}-error` : void 0, R = v && F ? `${F}-hint` : void 0, z = /* @__PURE__ */ E("wui-select", {
5454
+ let F = x || M, I = p && h, L = _ && F ? `${F}-error` : void 0, R = v && F ? `${F}-hint` : void 0, ee = /* @__PURE__ */ E("wui-select", {
5449
5455
  "aria-label": T || (typeof h == "string" ? h : void 0),
5450
5456
  "aria-labelledby": O || void 0,
5451
5457
  "aria-describedby": L || R || k || void 0,
@@ -5463,21 +5469,21 @@ var Gr = (e) => e == null ? "" : e.label ?? e.text ?? "", Kr = i(function({ valu
5463
5469
  required: g ? "" : void 0,
5464
5470
  className: C || void 0,
5465
5471
  ...A
5466
- }), B = !I && (d != null || f != null) ? /* @__PURE__ */ D("div", {
5472
+ }), z = !I && (d != null || f != null) ? /* @__PURE__ */ D("div", {
5467
5473
  className: "input-affixed",
5468
5474
  children: [
5469
5475
  d != null && /* @__PURE__ */ E("span", {
5470
5476
  className: "affix affix-pre",
5471
5477
  children: d
5472
5478
  }),
5473
- z,
5479
+ ee,
5474
5480
  f != null && /* @__PURE__ */ E("span", {
5475
5481
  className: "affix affix-suf",
5476
5482
  children: f
5477
5483
  })
5478
5484
  ]
5479
- }) : z;
5480
- return !h && !_ && !v ? B : /* @__PURE__ */ D("div", {
5485
+ }) : ee;
5486
+ return !h && !_ && !v ? z : /* @__PURE__ */ D("div", {
5481
5487
  className: ["field", w].filter(Boolean).join(" "),
5482
5488
  children: [
5483
5489
  h && !I && /* @__PURE__ */ D("label", {
@@ -5486,7 +5492,7 @@ var Gr = (e) => e == null ? "" : e.label ?? e.text ?? "", Kr = i(function({ valu
5486
5492
  children: [
5487
5493
  h,
5488
5494
  g && /* @__PURE__ */ E(Z, {}),
5489
- y && /* @__PURE__ */ E(qe, {
5495
+ y && /* @__PURE__ */ E(ot, {
5490
5496
  label: b,
5491
5497
  children: y
5492
5498
  })
@@ -5494,12 +5500,12 @@ var Gr = (e) => e == null ? "" : e.label ?? e.text ?? "", Kr = i(function({ valu
5494
5500
  }),
5495
5501
  I ? /* @__PURE__ */ D("div", {
5496
5502
  className: "field-float",
5497
- children: [z, /* @__PURE__ */ D("label", {
5503
+ children: [ee, /* @__PURE__ */ D("label", {
5498
5504
  className: "float-label",
5499
5505
  htmlFor: F,
5500
5506
  children: [h, g && /* @__PURE__ */ E(Z, {})]
5501
5507
  })]
5502
- }) : B,
5508
+ }) : z,
5503
5509
  _ ? /* @__PURE__ */ E("div", {
5504
5510
  className: "field-error",
5505
5511
  id: L,
@@ -5514,8 +5520,8 @@ var Gr = (e) => e == null ? "" : e.label ?? e.text ?? "", Kr = i(function({ valu
5514
5520
  });
5515
5521
  //#endregion
5516
5522
  //#region src/components/AppShell.jsx
5517
- function qr({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r, sidebarFooter: i, topbarStart: a, topbarEnd: s, footer: c, children: l, collapsed: u, onCollapsedChange: d, noSidebar: p = !1, navLabel: m = "Main navigation", linkComponent: h, className: g = "", ..._ }) {
5518
- W("AppShell", _);
5523
+ function si({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r, sidebarFooter: i, topbarStart: a, topbarEnd: s, footer: c, children: l, collapsed: u, onCollapsedChange: d, noSidebar: p = !1, navLabel: m = "Main navigation", linkComponent: h, className: g = "", ..._ }) {
5524
+ G("AppShell", _);
5519
5525
  let [v, y] = f(!1), [b, x] = f(!1), [S, C] = f(!1), w = u ?? v, T = () => {
5520
5526
  let e = !w;
5521
5527
  u === void 0 && y(e), d?.(e);
@@ -5562,7 +5568,7 @@ function qr({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
5562
5568
  children: [e.label && /* @__PURE__ */ E("div", {
5563
5569
  className: "app-nav-group-label",
5564
5570
  children: e.label
5565
- }), e.items.map((e) => /* @__PURE__ */ E(Jr, {
5571
+ }), e.items.map((e) => /* @__PURE__ */ E(ci, {
5566
5572
  item: e,
5567
5573
  linkComponent: h,
5568
5574
  onNavigate: () => x(!1)
@@ -5629,7 +5635,7 @@ function qr({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
5629
5635
  ]
5630
5636
  });
5631
5637
  }
5632
- function Jr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5638
+ function ci({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5633
5639
  let i = Array.isArray(e.children) && e.children.length > 0, a = i && e.children.some((e) => e.active), [s, c] = f(a);
5634
5640
  o(() => {
5635
5641
  a && !s && c(!0);
@@ -5671,7 +5677,7 @@ function Jr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5671
5677
  "aria-hidden": !s || void 0,
5672
5678
  children: /* @__PURE__ */ E("div", {
5673
5679
  className: "app-nav-sub-inner",
5674
- children: e.children.map((e) => /* @__PURE__ */ E(Jr, {
5680
+ children: e.children.map((e) => /* @__PURE__ */ E(ci, {
5675
5681
  item: e,
5676
5682
  linkComponent: t,
5677
5683
  onNavigate: n,
@@ -5712,7 +5718,7 @@ function Jr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5712
5718
  }
5713
5719
  //#endregion
5714
5720
  //#region src/components/AppSidebarMenu.jsx
5715
- var Yr = {
5721
+ var li = {
5716
5722
  left: "start",
5717
5723
  right: "end",
5718
5724
  start: "start",
@@ -5720,9 +5726,9 @@ var Yr = {
5720
5726
  top: "top",
5721
5727
  bottom: "bottom"
5722
5728
  };
5723
- function Xr({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, header: a, children: o, footer: s, width: c, maxWidth: l, backdrop: u = !0, scroll: d = !1, keyboard: f = !0, closeButton: p = !0, responsive: m, className: h = "", bodyClassName: g = "", ariaLabel: _, ...v }) {
5724
- W("AppSidebarMenu", v), G("AppSidebarMenu", "side", n, Object.keys(Yr));
5725
- let { style: y, ...b } = v, S = Yr[n] || "end", C = c || l || y ? {
5729
+ function ui({ 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 }) {
5730
+ G("AppSidebarMenu", v), q("AppSidebarMenu", "side", n, Object.keys(li));
5731
+ let { style: y, ...b } = v, S = li[n] || "end", C = c || l || y ? {
5726
5732
  ...c && { "--asm-width": c },
5727
5733
  ...l && { "--asm-max-width": l },
5728
5734
  ...y
@@ -5783,14 +5789,14 @@ function Xr({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, hea
5783
5789
  }
5784
5790
  //#endregion
5785
5791
  //#region src/components/AppSlider.jsx
5786
- var Zr = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, label: a, required: c = !1, hint: l, error: u, name: d, startName: f, endName: p, min: m = 0, max: h = 100, step: g = 1, disabled: _, size: v, showValue: y, unit: b, id: x, ariaLabel: S, className: C = "", fieldClassName: w = "", ...T }, O) {
5787
- W("AppSlider", T);
5792
+ var di = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, label: a, required: c = !1, hint: l, error: u, name: d, startName: f, endName: p, min: m = 0, max: h = 100, step: g = 1, disabled: _, size: v, showValue: y, unit: b, id: x, ariaLabel: S, className: C = "", fieldClassName: w = "", ...T }, O) {
5793
+ G("AppSlider", T);
5788
5794
  let k = s(), A = x || k, j = r, { setRef: M, innerRef: N } = Q({
5789
5795
  ref: O,
5790
5796
  value: j ? void 0 : e,
5791
5797
  onChange: i,
5792
- readValue: j ? et : void 0,
5793
- writeValue: j ? void 0 : tt
5798
+ readValue: j ? pt : void 0,
5799
+ writeValue: j ? void 0 : mt
5794
5800
  });
5795
5801
  o(() => {
5796
5802
  if (!j) return;
@@ -5844,14 +5850,14 @@ var Zr = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, la
5844
5850
  })
5845
5851
  ]
5846
5852
  });
5847
- }), Qr = {
5853
+ }), fi = {
5848
5854
  sm: 44,
5849
5855
  md: 56,
5850
5856
  lg: 72
5851
5857
  };
5852
- function $r({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
5853
- W("AppSplash", c), G("AppSplash", "size", typeof a == "string" ? a : null, Object.keys(Qr));
5854
- let { style: l, ...u } = c, d = typeof a == "number" ? a : Qr[a] ?? Qr.md, f = i === "ring" ? /* @__PURE__ */ E("span", {
5858
+ function pi({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
5859
+ G("AppSplash", c), q("AppSplash", "size", typeof a == "string" ? a : null, Object.keys(fi));
5860
+ let { style: l, ...u } = c, d = typeof a == "number" ? a : fi[a] ?? fi.md, f = i === "ring" ? /* @__PURE__ */ E("span", {
5855
5861
  className: "splash-ring",
5856
5862
  "aria-hidden": "true"
5857
5863
  }) : i === "dots" ? /* @__PURE__ */ D("span", {
@@ -5898,8 +5904,8 @@ function $r({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", siz
5898
5904
  }
5899
5905
  //#endregion
5900
5906
  //#region src/components/AppStatusBadge.jsx
5901
- function ei({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
5902
- return W("AppStatusBadge", a), e == null || e === "" ? "-" : q(/* @__PURE__ */ E("span", {
5907
+ function mi({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
5908
+ return G("AppStatusBadge", a), e == null || e === "" ? "-" : J(/* @__PURE__ */ E("span", {
5903
5909
  className: `status-label ${t}${n ? ` ${n}` : ""}`,
5904
5910
  ...a,
5905
5911
  children: e
@@ -5907,8 +5913,8 @@ function ei({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tool
5907
5913
  }
5908
5914
  //#endregion
5909
5915
  //#region src/components/AppStepper.jsx
5910
- function ti({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
5911
- W("AppStepper", c);
5916
+ function hi({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
5917
+ G("AppStepper", c);
5912
5918
  let l = t === "journey";
5913
5919
  return /* @__PURE__ */ E("nav", {
5914
5920
  className: [
@@ -5920,7 +5926,7 @@ function ti({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5920
5926
  "aria-label": a,
5921
5927
  ...c,
5922
5928
  children: e.map((t, n) => {
5923
- let a = t.status || ni(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5929
+ let a = t.status || gi(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5924
5930
  c = a === "done" ? /* @__PURE__ */ E(Y, {
5925
5931
  name: "check",
5926
5932
  size: 14
@@ -5984,13 +5990,13 @@ function ti({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5984
5990
  })
5985
5991
  });
5986
5992
  }
5987
- function ni(e, t) {
5993
+ function gi(e, t) {
5988
5994
  return typeof t == "number" ? e < t ? "done" : e === t ? "active" : "pending" : "pending";
5989
5995
  }
5990
5996
  //#endregion
5991
5997
  //#region src/components/AppSwitch.jsx
5992
- var ri = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "round", className: o = "", ...s }, c) {
5993
- return W("AppSwitch", s), /* @__PURE__ */ E(vt, {
5998
+ var _i = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "round", className: o = "", ...s }, c) {
5999
+ return G("AppSwitch", s), /* @__PURE__ */ E(jt, {
5994
6000
  ref: c,
5995
6001
  label: e,
5996
6002
  id: t,
@@ -6005,8 +6011,8 @@ var ri = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "r
6005
6011
  });
6006
6012
  //#endregion
6007
6013
  //#region src/components/AppTableEmptyState.jsx
6008
- function ii({ icon: e, title: t, text: n, action: r, ...i }) {
6009
- return W("AppTableEmptyState", i), /* @__PURE__ */ D("div", {
6014
+ function vi({ icon: e, title: t, text: n, action: r, ...i }) {
6015
+ return G("AppTableEmptyState", i), /* @__PURE__ */ D("div", {
6010
6016
  className: "tbl-empty",
6011
6017
  ...i,
6012
6018
  children: [
@@ -6031,8 +6037,8 @@ function ii({ icon: e, title: t, text: n, action: r, ...i }) {
6031
6037
  }
6032
6038
  //#endregion
6033
6039
  //#region src/components/AppTableToolbar.jsx
6034
- function ai({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onClearSelection: i, className: a = "", ...o }) {
6035
- W("AppTableToolbar", o);
6040
+ function yi({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onClearSelection: i, className: a = "", ...o }) {
6041
+ G("AppTableToolbar", o);
6036
6042
  let s = n > 0;
6037
6043
  return /* @__PURE__ */ D("div", {
6038
6044
  className: `wui-table-toolbar${a ? ` ${a}` : ""}`,
@@ -6069,9 +6075,9 @@ function ai({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onCl
6069
6075
  }
6070
6076
  //#endregion
6071
6077
  //#region src/components/AppTabs.jsx
6072
- var oi = 1, si = 28, ci = .7;
6073
- function li({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "underline", orientation: s = "horizontal", size: c = "md", fitted: u = !1, activation: p = "automatic", ariaLabel: m, className: h = "", style: g, ..._ }) {
6074
- W("AppTabs", _);
6078
+ var bi = 1, xi = 28, Si = .7;
6079
+ function Ci({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "underline", orientation: s = "horizontal", size: c = "md", fitted: u = !1, activation: p = "automatic", ariaLabel: m, className: h = "", style: g, ..._ }) {
6080
+ G("AppTabs", _);
6075
6081
  let v = d(null), y = d(null), b = s === "vertical", [x, S] = f(t);
6076
6082
  o(() => {
6077
6083
  S(t);
@@ -6082,7 +6088,7 @@ function li({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6082
6088
  let e = v.current, t = y.current;
6083
6089
  if (!e || !t || b) return;
6084
6090
  let n = e.scrollWidth - e.clientWidth;
6085
- t.classList.toggle("is-overflow-start", e.scrollLeft > oi), t.classList.toggle("is-overflow-end", n > oi && e.scrollLeft < n - oi);
6091
+ t.classList.toggle("is-overflow-start", e.scrollLeft > bi), t.classList.toggle("is-overflow-end", n > bi && e.scrollLeft < n - bi);
6086
6092
  }, [b]), M = a(() => {
6087
6093
  let n = v.current;
6088
6094
  if (!n) return;
@@ -6098,7 +6104,7 @@ function li({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6098
6104
  if (!e || b) return;
6099
6105
  let t = e.querySelector(".app-tab.active");
6100
6106
  if (!t) return;
6101
- let n = si, r = t.offsetLeft, i = r + t.offsetWidth;
6107
+ let n = xi, r = t.offsetLeft, i = r + t.offsetWidth;
6102
6108
  r - n < e.scrollLeft ? e.scrollLeft = Math.max(0, r - n) : i + n > e.scrollLeft + e.clientWidth && (e.scrollLeft = i + n - e.clientWidth);
6103
6109
  }, [b]);
6104
6110
  l(() => {
@@ -6133,7 +6139,7 @@ function li({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6133
6139
  }
6134
6140
  let I = (e) => {
6135
6141
  let t = v.current;
6136
- t && t.scrollBy({ left: e * t.clientWidth * ci });
6142
+ t && t.scrollBy({ left: e * t.clientWidth * Si });
6137
6143
  }, L = [
6138
6144
  "app-tabs",
6139
6145
  i === "pills" ? "app-tabs-pills" : "",
@@ -6205,7 +6211,7 @@ function li({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6205
6211
  },
6206
6212
  children: s
6207
6213
  }, e.key);
6208
- return e.tooltip ? /* @__PURE__ */ E(ce, {
6214
+ return e.tooltip ? /* @__PURE__ */ E(be, {
6209
6215
  content: e.tooltip,
6210
6216
  children: c
6211
6217
  }, e.key) : c;
@@ -6246,14 +6252,14 @@ function li({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6246
6252
  }
6247
6253
  //#endregion
6248
6254
  //#region src/components/AppTagInput.jsx
6249
- var ui = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r, label: i, error: a, hint: o, required: c = !1, size: l, maxTags: u, allowDuplicates: d = !1, disabled: f = !1, id: p, ariaLabel: m, className: h = "", fieldClassName: g = "", help: _, helpLabel: v = "More information", ...y }, b) {
6250
- W("AppTagInput", y);
6255
+ var wi = 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) {
6256
+ G("AppTagInput", y);
6251
6257
  let x = s(), S = p || x, { setRef: C } = Q({
6252
6258
  ref: b,
6253
6259
  value: e,
6254
6260
  onChange: t,
6255
- readValue: Qe,
6256
- writeValue: $e
6261
+ readValue: dt,
6262
+ writeValue: ft
6257
6263
  });
6258
6264
  return /* @__PURE__ */ D("div", {
6259
6265
  className: `field${g ? ` ${g}` : ""}`,
@@ -6264,7 +6270,7 @@ var ui = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6264
6270
  children: [
6265
6271
  i,
6266
6272
  c && /* @__PURE__ */ E(Z, {}),
6267
- _ && /* @__PURE__ */ E(qe, {
6273
+ _ && /* @__PURE__ */ E(ot, {
6268
6274
  label: v,
6269
6275
  children: _
6270
6276
  })
@@ -6297,8 +6303,8 @@ var ui = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6297
6303
  }) : null
6298
6304
  ]
6299
6305
  });
6300
- }), di = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: c = "More information", id: u, name: p, rows: m = 4, autoGrow: h = !1, showCount: g = !1, maxLength: _, className: v = "", fieldClassName: b = "", ...x }, S) {
6301
- W("AppTextarea", x);
6306
+ }), Ti = i(function({ label: e, required: t = !1, error: n, hint: r, help: i, helpLabel: c = "More information", id: u, name: p, rows: m = 4, autoGrow: h = !1, showCount: g = !1, maxLength: _, className: v = "", fieldClassName: b = "", ...x }, S) {
6307
+ G("AppTextarea", x);
6302
6308
  let C = s(), w = u || C, T = [
6303
6309
  "textarea",
6304
6310
  h ? "autosize" : "",
@@ -6333,7 +6339,7 @@ var ui = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6333
6339
  children: [
6334
6340
  e,
6335
6341
  t && /* @__PURE__ */ E(Z, {}),
6336
- i && /* @__PURE__ */ E(qe, {
6342
+ i && /* @__PURE__ */ E(ot, {
6337
6343
  label: c,
6338
6344
  children: i
6339
6345
  })
@@ -6368,7 +6374,99 @@ var ui = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6368
6374
  })
6369
6375
  ]
6370
6376
  });
6371
- }), fi = {
6377
+ }), Ei = {
6378
+ light: "sun",
6379
+ dark: "moon",
6380
+ auto: "refresh-cw"
6381
+ }, Di = ["icon", "segmented"], Oi = {
6382
+ sm: 16,
6383
+ md: 20,
6384
+ lg: 24,
6385
+ xl: 28
6386
+ };
6387
+ function ki({ variant: e = "icon", effect: t = j, includeAuto: n = !1, storageKey: r = M, duration: i, label: c = "Theme", lightLabel: l = "Light", darkLabel: u = "Dark", autoLabel: d = "System", name: p, size: m = "md", tooltipPlacement: h = "auto", onChange: g, className: _ = "", ...v }) {
6388
+ G("AppThemeToggle", v), q("AppThemeToggle", "variant", e, Di), q("AppThemeToggle", "effect", t, P), q("AppThemeToggle", "size", m, Object.keys(Oi));
6389
+ let [y, b] = f(() => typeof window > "u" ? "light" : te(r, { includeAuto: n })), x = s(), S = p || x, C = a((e) => e === "auto" && !n ? U(e) : e, [n]);
6390
+ o(() => {
6391
+ let e = document.documentElement.getAttribute("data-theme");
6392
+ F.includes(e) ? b(C(e)) : L(y);
6393
+ }, []), o(() => {
6394
+ let e = (e) => {
6395
+ e.detail?.mode && b(C(e.detail.mode));
6396
+ };
6397
+ return document.addEventListener(N, e), () => document.removeEventListener(N, e);
6398
+ }, [C]), o(() => ae(() => {
6399
+ document.documentElement.getAttribute("data-theme") === "auto" && L("auto");
6400
+ }), []);
6401
+ let w = a((e, n, a) => {
6402
+ let o = n?.getBoundingClientRect?.() ?? {
6403
+ left: 0,
6404
+ top: 0,
6405
+ width: 0,
6406
+ height: 0
6407
+ }, s = {
6408
+ x: o.left + o.width / 2,
6409
+ y: o.top + o.height / 2
6410
+ };
6411
+ re(() => {
6412
+ L(e), ne(e, r), ce(() => b(e)), g?.(e);
6413
+ }, {
6414
+ effect: t,
6415
+ to: U(e),
6416
+ origin: s,
6417
+ duration: i,
6418
+ live: a
6419
+ });
6420
+ }, [
6421
+ r,
6422
+ t,
6423
+ i,
6424
+ g
6425
+ ]);
6426
+ if (e === "segmented") {
6427
+ let e = [{
6428
+ value: "light",
6429
+ label: l,
6430
+ icon: Ei.light
6431
+ }, {
6432
+ value: "dark",
6433
+ label: u,
6434
+ icon: Ei.dark
6435
+ }];
6436
+ return n && e.push({
6437
+ value: "auto",
6438
+ label: d,
6439
+ icon: Ei.auto
6440
+ }), /* @__PURE__ */ E(ii, {
6441
+ options: e,
6442
+ value: y,
6443
+ name: S,
6444
+ label: c,
6445
+ size: m,
6446
+ className: [
6447
+ "wui-theme-toggle",
6448
+ "wui-theme-toggle-segmented",
6449
+ _
6450
+ ].filter(Boolean).join(" "),
6451
+ onChange: (e) => {
6452
+ if (e === y) return;
6453
+ let t = document.querySelector(`.segmented-input[name="${CSS.escape(S)}"][value="${e}"]`);
6454
+ w(e, t?.closest(".segmented-option") ?? t, t?.closest(".segmented"));
6455
+ }
6456
+ });
6457
+ }
6458
+ return /* @__PURE__ */ E(We, {
6459
+ icon: Ei[y],
6460
+ label: `${c}: ${y}`,
6461
+ size: Oi[m] ?? Oi.md,
6462
+ tooltipPlacement: h,
6463
+ onClick: (e) => w(H(y, { includeAuto: n }), e.currentTarget, e.currentTarget),
6464
+ className: ["wui-theme-toggle", _].filter(Boolean).join(" ")
6465
+ });
6466
+ }
6467
+ //#endregion
6468
+ //#region src/components/AppTimeline.jsx
6469
+ var Ai = {
6372
6470
  done: "check",
6373
6471
  current: "clock",
6374
6472
  "on-hold": "lock",
@@ -6377,8 +6475,8 @@ var ui = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6377
6475
  skipped: "arrow-right",
6378
6476
  upcoming: null
6379
6477
  };
6380
- function pi({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
6381
- W("AppTimeline", o);
6478
+ function ji({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
6479
+ G("AppTimeline", o);
6382
6480
  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;
6383
6481
  return /* @__PURE__ */ E("ol", {
6384
6482
  className: c,
@@ -6388,7 +6486,7 @@ function pi({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
6388
6486
  } : a,
6389
6487
  ...o,
6390
6488
  children: e.map((e, t) => {
6391
- let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? fi[n] : void 0) : e.icon || "circle";
6489
+ let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? Ai[n] : void 0) : e.icon || "circle";
6392
6490
  return /* @__PURE__ */ D("li", {
6393
6491
  className: `timeline-item${r}${i}`,
6394
6492
  children: [/* @__PURE__ */ E("span", {
@@ -6458,80 +6556,87 @@ function pi({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
6458
6556
  }
6459
6557
  //#endregion
6460
6558
  //#region src/components/AppTimePicker.jsx
6461
- var mi = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i, error: a, name: o, min: c, max: l, step: u, format: d = "24", placeholder: f = "Select time", disabled: p, size: m, id: h, ariaLabel: g, className: _ = "", fieldClassName: v = "", ...y }, b) {
6462
- W("AppTimePicker", y);
6463
- let x = s(), S = h || o || x, { setRef: C } = Q({
6464
- ref: b,
6559
+ var Mi = i(function({ value: e, onChange: t, label: n, required: r = !1, hint: i, error: a, help: o, helpLabel: c = "More information", name: l, min: u, max: d, step: f, format: p = "24", placeholder: m = "Select time", disabled: h, size: g, id: _, ariaLabel: v, className: y = "", fieldClassName: b = "", ...x }, S) {
6560
+ G("AppTimePicker", x);
6561
+ let C = s(), w = _ || l || C, { setRef: T } = Q({
6562
+ ref: S,
6465
6563
  value: e ?? "",
6466
6564
  onChange: t
6467
- }), w = !n && !a && !i, T = a ? `${S}-error` : void 0, O = i ? `${S}-hint` : void 0, k = /* @__PURE__ */ E("wui-timepicker", {
6468
- ref: C,
6469
- id: S,
6470
- name: o,
6471
- min: c,
6472
- max: l,
6473
- step: u == null ? void 0 : String(u),
6474
- format: d,
6475
- placeholder: f,
6476
- size: m || void 0,
6477
- "aria-label": g || (typeof n == "string" ? n : void 0),
6478
- "aria-describedby": T || O,
6565
+ }), O = !n && !a && !i, k = a ? `${w}-error` : void 0, A = i ? `${w}-hint` : void 0, j = /* @__PURE__ */ E("wui-timepicker", {
6566
+ ref: T,
6567
+ id: w,
6568
+ name: l,
6569
+ min: u,
6570
+ max: d,
6571
+ step: f == null ? void 0 : String(f),
6572
+ format: p,
6573
+ placeholder: m,
6574
+ size: g || void 0,
6575
+ "aria-label": v || (typeof n == "string" ? n : void 0),
6576
+ "aria-describedby": k || A,
6479
6577
  "aria-invalid": a ? "true" : void 0,
6480
- disabled: p ? "" : void 0,
6578
+ disabled: h ? "" : void 0,
6481
6579
  required: r ? "" : void 0,
6482
- className: _ || void 0,
6483
- ...y
6580
+ className: y || void 0,
6581
+ ...x
6484
6582
  });
6485
- return w ? k : /* @__PURE__ */ D("div", {
6486
- className: `field${v ? ` ${v}` : ""}`,
6583
+ return O ? j : /* @__PURE__ */ D("div", {
6584
+ className: `field${b ? ` ${b}` : ""}`,
6487
6585
  children: [
6488
6586
  n && /* @__PURE__ */ D("label", {
6489
6587
  className: "label",
6490
- htmlFor: S,
6491
- children: [n, r && /* @__PURE__ */ E(Z, {})]
6588
+ htmlFor: w,
6589
+ children: [
6590
+ n,
6591
+ r && /* @__PURE__ */ E(Z, {}),
6592
+ o && /* @__PURE__ */ E(ot, {
6593
+ label: c,
6594
+ children: o
6595
+ })
6596
+ ]
6492
6597
  }),
6493
- k,
6598
+ j,
6494
6599
  a && /* @__PURE__ */ E("div", {
6495
6600
  className: "field-error",
6496
- id: T,
6601
+ id: k,
6497
6602
  children: a
6498
6603
  }),
6499
6604
  !a && i && /* @__PURE__ */ E("div", {
6500
6605
  className: "field-hint",
6501
- id: O,
6606
+ id: A,
6502
6607
  children: i
6503
6608
  })
6504
6609
  ]
6505
6610
  });
6506
- }), hi = 6, $ = [], gi = /* @__PURE__ */ new Set(), _i = /* @__PURE__ */ new Map(), vi = /* @__PURE__ */ new Set(), yi = 0;
6507
- function bi() {
6508
- for (let e of gi) e($);
6611
+ }), Ni = 6, $ = [], Pi = /* @__PURE__ */ new Set(), Fi = /* @__PURE__ */ new Map(), Ii = /* @__PURE__ */ new Set(), Li = 0;
6612
+ function Ri() {
6613
+ for (let e of Pi) e($);
6509
6614
  }
6510
- function xi(e) {
6511
- let t = _i.get(e);
6512
- t !== void 0 && (clearTimeout(t), _i.delete(e));
6615
+ function zi(e) {
6616
+ let t = Fi.get(e);
6617
+ t !== void 0 && (clearTimeout(t), Fi.delete(e));
6513
6618
  }
6514
- function Si(e, t) {
6515
- if (e.length <= hi) return e;
6619
+ function Bi(e, t) {
6620
+ if (e.length <= Ni) return e;
6516
6621
  let n = [...e], r = [];
6517
- for (; n.length > hi;) {
6622
+ for (; n.length > Ni;) {
6518
6623
  let e = n.findIndex((e) => e.id !== t && e.duration !== 0);
6519
6624
  r.push(n.splice(e === -1 ? n.findIndex((e) => e.id !== t) : e, 1)[0]);
6520
6625
  }
6521
- for (let e of r) xi(e.id), vi.delete(e.id);
6626
+ for (let e of r) zi(e.id), Ii.delete(e.id);
6522
6627
  return n;
6523
6628
  }
6524
- function Ci(e) {
6525
- return gi.add(e), e($), () => {
6526
- if (gi.delete(e), gi.size === 0) for (let e of $) e.duration > 0 && !_i.has(e.id) && (vi.delete(e.id), _i.set(e.id, setTimeout(() => Ei(e.id), e.duration)));
6629
+ function Vi(e) {
6630
+ return Pi.add(e), e($), () => {
6631
+ if (Pi.delete(e), Pi.size === 0) for (let e of $) e.duration > 0 && !Fi.has(e.id) && (Ii.delete(e.id), Fi.set(e.id, setTimeout(() => Wi(e.id), e.duration)));
6527
6632
  };
6528
6633
  }
6529
- function wi(e, t, n = {}) {
6634
+ function Hi(e, t, n = {}) {
6530
6635
  let r = n.id, i = r || typeof e != "string" ? void 0 : `${t}:${e}`;
6531
6636
  if (r) {
6532
6637
  let i = $.find((e) => e.externalId === r);
6533
6638
  if (i) {
6534
- xi(i.id);
6639
+ zi(i.id);
6535
6640
  let r = n.duration === void 0 ? 5e3 : n.duration;
6536
6641
  $ = $.map((a) => a.id === i.id ? {
6537
6642
  ...a,
@@ -6544,12 +6649,12 @@ function wi(e, t, n = {}) {
6544
6649
  shape: n.shape,
6545
6650
  surface: n.surface,
6546
6651
  progress: n.progress
6547
- } : a), bi(), r > 0 && !vi.has(i.id) && _i.set(i.id, setTimeout(() => Ei(i.id), r));
6652
+ } : a), Ri(), r > 0 && !Ii.has(i.id) && Fi.set(i.id, setTimeout(() => Wi(i.id), r));
6548
6653
  return;
6549
6654
  }
6550
6655
  } else if (i && $.some((e) => e.key === i)) return;
6551
- let a = ++yi, o = n.duration === void 0 ? 5e3 : n.duration;
6552
- $ = Si([...$, {
6656
+ let a = ++Li, o = n.duration === void 0 ? 5e3 : n.duration;
6657
+ $ = Bi([...$, {
6553
6658
  id: a,
6554
6659
  externalId: r,
6555
6660
  message: e,
@@ -6562,25 +6667,25 @@ function wi(e, t, n = {}) {
6562
6667
  surface: n.surface,
6563
6668
  progress: n.progress,
6564
6669
  key: i
6565
- }], a), bi(), o > 0 && _i.set(a, setTimeout(() => Ei(a), o));
6670
+ }], a), Ri(), o > 0 && Fi.set(a, setTimeout(() => Wi(a), o));
6566
6671
  }
6567
- function Ti(e) {
6568
- xi(e), vi.add(e);
6672
+ function Ui(e) {
6673
+ zi(e), Ii.add(e);
6569
6674
  }
6570
- function Ei(e) {
6571
- xi(e), vi.delete(e);
6675
+ function Wi(e) {
6676
+ zi(e), Ii.delete(e);
6572
6677
  let t = $.filter((t) => t.id !== e);
6573
- t.length !== $.length && ($ = t, bi());
6678
+ t.length !== $.length && ($ = t, Ri());
6574
6679
  }
6575
- function Di() {
6576
- if (!($.length === 0 && _i.size === 0 && vi.size === 0)) {
6577
- for (let e of _i.values()) clearTimeout(e);
6578
- _i.clear(), vi.clear(), $.length !== 0 && ($ = [], bi());
6680
+ function Gi() {
6681
+ if (!($.length === 0 && Fi.size === 0 && Ii.size === 0)) {
6682
+ for (let e of Fi.values()) clearTimeout(e);
6683
+ Fi.clear(), Ii.clear(), $.length !== 0 && ($ = [], Ri());
6579
6684
  }
6580
6685
  }
6581
6686
  //#endregion
6582
6687
  //#region src/components/AppToast.jsx
6583
- var Oi = {
6688
+ var Ki = {
6584
6689
  success: {
6585
6690
  icon: "check-circle",
6586
6691
  assertive: !1
@@ -6597,7 +6702,7 @@ var Oi = {
6597
6702
  icon: "alert-circle",
6598
6703
  assertive: !0
6599
6704
  }
6600
- }, ki = {
6705
+ }, qi = {
6601
6706
  "top-start": "top-0 start-0",
6602
6707
  "top-center": "top-0 start-50 translate-middle-x",
6603
6708
  "top-end": "top-0 end-0",
@@ -6605,21 +6710,21 @@ var Oi = {
6605
6710
  "bottom-start": "bottom-0 start-0",
6606
6711
  "bottom-center": "bottom-0 start-50 translate-middle-x",
6607
6712
  "bottom-end": "bottom-0 end-0"
6608
- }, Ai = 64, ji = /* @__PURE__ */ new Set([
6713
+ }, Ji = 64, Yi = /* @__PURE__ */ new Set([
6609
6714
  "rise",
6610
6715
  "organic",
6611
6716
  "jelly",
6612
6717
  "spring"
6613
- ]), Mi = /* @__PURE__ */ new Set([
6718
+ ]), Xi = /* @__PURE__ */ new Set([
6614
6719
  "rounded",
6615
6720
  "pill",
6616
6721
  "sharp"
6617
- ]), Ni = /* @__PURE__ */ new Set(["auto", "inverse"]);
6618
- function Pi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
6619
- W("AppToast", s), G("AppToast", "position", e, Object.keys(ki)), G("AppToast", "animation", n, ji), G("AppToast", "shape", r, Mi), G("AppToast", "surface", i, Ni);
6722
+ ]), Zi = /* @__PURE__ */ new Set(["auto", "inverse"]);
6723
+ function Qi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
6724
+ G("AppToast", s), q("AppToast", "position", e, Object.keys(qi)), q("AppToast", "animation", n, Yi), q("AppToast", "shape", r, Xi), q("AppToast", "surface", i, Zi);
6620
6725
  let [c, l] = f([]);
6621
- o(() => Ci(l), []);
6622
- let u = Math.max(0, c.length - t), d = u ? c.slice(u) : c, p = ki[e] ?? ki["bottom-end"];
6726
+ o(() => Vi(l), []);
6727
+ let u = Math.max(0, c.length - t), d = u ? c.slice(u) : c, p = qi[e] ?? qi["bottom-end"];
6623
6728
  return /* @__PURE__ */ D("div", {
6624
6729
  ...s,
6625
6730
  className: `wui-toast-container toast-container position-fixed ${p} p-3 ${a}`.trim(),
@@ -6631,7 +6736,7 @@ function Pi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
6631
6736
  u,
6632
6737
  " more"
6633
6738
  ]
6634
- }), d.map((e) => /* @__PURE__ */ E(Fi, {
6739
+ }), d.map((e) => /* @__PURE__ */ E($i, {
6635
6740
  toast: e,
6636
6741
  defaultAnimation: n,
6637
6742
  defaultShape: r,
@@ -6639,14 +6744,14 @@ function Pi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
6639
6744
  }, e.id))]
6640
6745
  });
6641
6746
  }
6642
- function Fi({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
6643
- let i = Oi[e.variant] ?? Oi.success, a = ji.has(e.animation) ? e.animation : t, s = Mi.has(e.shape) ? e.shape : n, c = Ni.has(e.surface) ? e.surface : r, l = (a !== "rise" && ji.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && Mi.has(s) ? ` wui-toast--shape-${s}` : "") + (c === "inverse" ? " wui-toast--surface-inverse" : ""), u = e.duration === 0, [p, m] = f(0), [h, g] = f(!1), _ = d(null), v = () => Ei(e.id), y = d(null);
6747
+ function $i({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
6748
+ let i = Ki[e.variant] ?? Ki.success, a = Yi.has(e.animation) ? e.animation : t, s = Xi.has(e.shape) ? e.shape : n, c = Zi.has(e.surface) ? e.surface : r, l = (a !== "rise" && Yi.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && Xi.has(s) ? ` wui-toast--shape-${s}` : "") + (c === "inverse" ? " wui-toast--surface-inverse" : ""), u = e.duration === 0, [p, m] = f(0), [h, g] = f(!1), _ = d(null), v = () => Wi(e.id), y = d(null);
6644
6749
  o(() => {
6645
6750
  if (e.duration === 0) return;
6646
- Ti(e.id);
6751
+ Ui(e.id);
6647
6752
  let t = y.current, n = t == null ? "" : getComputedStyle(t).animationName;
6648
6753
  if (t != null && (typeof t.getAnimations == "function" ? t.getAnimations().length > 0 : n !== "" && n !== "none")) return;
6649
- let r = setTimeout(() => Ei(e.id), e.duration);
6754
+ let r = setTimeout(() => Wi(e.id), e.duration);
6650
6755
  return () => clearTimeout(r);
6651
6756
  }, [e.id, e.duration]);
6652
6757
  let b = (e) => {
@@ -6658,7 +6763,7 @@ function Fi({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
6658
6763
  }, C = (e) => {
6659
6764
  if (_.current === null) return;
6660
6765
  let t = e.clientX - _.current;
6661
- if (Math.abs(t) > Ai) {
6766
+ if (Math.abs(t) > Ji) {
6662
6767
  v();
6663
6768
  return;
6664
6769
  }
@@ -6742,8 +6847,8 @@ function Fi({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
6742
6847
  }
6743
6848
  //#endregion
6744
6849
  //#region src/components/AppToolbar.jsx
6745
- function Ii({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
6746
- W("AppToolbar", u);
6850
+ function ea({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
6851
+ G("AppToolbar", u);
6747
6852
  let d = s(), p = o || d, [m, h] = f(r), g = n === void 0 ? m : n;
6748
6853
  return /* @__PURE__ */ D("div", {
6749
6854
  className: [
@@ -6800,8 +6905,8 @@ function Ii({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelec
6800
6905
  }
6801
6906
  //#endregion
6802
6907
  //#region src/components/AppWizard.jsx
6803
- var Li = i(function({ steps: t = [], children: n, active: r, defaultActive: i = 0, onStepChange: a, onFinish: s, onSkip: c, beforeNext: l, onInvalid: u, variant: f = "steps", tone: p, orientation: m = "horizontal", skippable: h = !1, nonLinear: g = !1, hideStepper: _ = !1, disabled: v = !1, label: y = "Progress", backLabel: b = "Back", nextLabel: x = "Next", skipLabel: S = "Skip", finishLabel: C = "Finish", className: w = "", ...T }, D) {
6804
- W("AppWizard", T);
6908
+ var ta = i(function({ steps: t = [], children: n, active: r, defaultActive: i = 0, onStepChange: a, onFinish: s, onSkip: c, beforeNext: l, onInvalid: u, variant: f = "steps", tone: p, orientation: m = "horizontal", skippable: h = !1, nonLinear: g = !1, hideStepper: _ = !1, disabled: v = !1, label: y = "Progress", backLabel: b = "Back", nextLabel: x = "Next", skipLabel: S = "Skip", finishLabel: C = "Finish", className: w = "", ...T }, D) {
6909
+ G("AppWizard", T);
6805
6910
  let O = d(null), k = (e) => {
6806
6911
  O.current = e, typeof D == "function" ? D(e) : D && (D.current = e);
6807
6912
  }, A = e.toArray(n), j = [p && `wui-step-tone-${p}`, w].filter(Boolean).join(" ");
@@ -6852,15 +6957,15 @@ var Li = i(function({ steps: t = [], children: n, active: r, defaultActive: i =
6852
6957
  children: A[t]
6853
6958
  }, e.key ?? `${e.label}-${t}`))
6854
6959
  });
6855
- }), Ri = /* @__PURE__ */ new Set([
6960
+ }), na = /* @__PURE__ */ new Set([
6856
6961
  "ArrowUp",
6857
6962
  "ArrowDown",
6858
6963
  "ArrowLeft",
6859
6964
  "ArrowRight"
6860
6965
  ]);
6861
- function zi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAction: i, linkComponent: a, searchable: s = !1, onCreate: c, canCreate: l = !1, createLabel: p = "Create workspace", compact: m = !1, size: h = "md", ariaLabel: g, ..._ }) {
6966
+ function ra({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAction: i, linkComponent: a, searchable: s = !1, onCreate: c, canCreate: l = !1, createLabel: p = "Create workspace", compact: m = !1, size: h = "md", ariaLabel: g, ..._ }) {
6862
6967
  let { onToggle: y, ...b } = _;
6863
- W("AppWorkspaceSwitcher", b);
6968
+ G("AppWorkspaceSwitcher", b);
6864
6969
  let [x, S] = f(""), [C, w] = f(!1), T = d(null), O = (e, t) => {
6865
6970
  w(e), y?.(e, t);
6866
6971
  }, k = e.find((e) => e.id === t) ?? e[0], A = u(() => {
@@ -6878,7 +6983,7 @@ function zi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6878
6983
  let e = T.current;
6879
6984
  if (!e) return;
6880
6985
  let t = (e) => {
6881
- if (Ri.has(e.key)) {
6986
+ if (na.has(e.key)) {
6882
6987
  e.stopPropagation();
6883
6988
  return;
6884
6989
  }
@@ -6896,7 +7001,7 @@ function zi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6896
7001
  onToggle: O,
6897
7002
  ...b,
6898
7003
  children: [/* @__PURE__ */ E(v.Toggle, {
6899
- as: Ui,
7004
+ as: sa,
6900
7005
  compact: m,
6901
7006
  tenant: k,
6902
7007
  "aria-label": M
@@ -6931,7 +7036,7 @@ function zi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6931
7036
  className: `workspace-switcher-option${e.id === k?.id ? " is-active" : ""}`,
6932
7037
  onClick: () => n?.(e),
6933
7038
  children: [
6934
- /* @__PURE__ */ E(Vi, { tenant: e }),
7039
+ /* @__PURE__ */ E(aa, { tenant: e }),
6935
7040
  /* @__PURE__ */ E("span", {
6936
7041
  className: "workspace-switcher-option-name",
6937
7042
  children: e.name
@@ -6963,17 +7068,17 @@ function zi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6963
7068
  }) : null,
6964
7069
  i ? /* @__PURE__ */ E("div", {
6965
7070
  className: "workspace-switcher-footer",
6966
- children: Hi(i, a)
7071
+ children: oa(i, a)
6967
7072
  }) : null
6968
7073
  ]
6969
7074
  })]
6970
7075
  });
6971
7076
  }
6972
- function Bi(e) {
7077
+ function ia(e) {
6973
7078
  let t = String(e ?? "").trim().split(/\s+/).filter(Boolean);
6974
7079
  return t.length === 0 ? "" : (t[0][0] + (t.length > 1 ? t[t.length - 1][0] : "")).toUpperCase();
6975
7080
  }
6976
- function Vi({ tenant: e }) {
7081
+ function aa({ tenant: e }) {
6977
7082
  return e?.logoUrl ? /* @__PURE__ */ E("img", {
6978
7083
  className: "workspace-switcher-mark",
6979
7084
  src: e.logoUrl,
@@ -6981,10 +7086,10 @@ function Vi({ tenant: e }) {
6981
7086
  loading: "lazy"
6982
7087
  }) : /* @__PURE__ */ E("span", {
6983
7088
  className: "workspace-switcher-mark",
6984
- children: Bi(e?.name)
7089
+ children: ia(e?.name)
6985
7090
  });
6986
7091
  }
6987
- function Hi(e, t) {
7092
+ function oa(e, t) {
6988
7093
  if (typeof e != "object" || !e || !("label" in e)) return e;
6989
7094
  let { label: n, icon: r, href: i } = e;
6990
7095
  return /* @__PURE__ */ D(i ? t ?? "a" : "button", {
@@ -6996,7 +7101,7 @@ function Hi(e, t) {
6996
7101
  }) : null, n]
6997
7102
  });
6998
7103
  }
6999
- var Ui = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
7104
+ var sa = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i }, a) {
7000
7105
  return /* @__PURE__ */ D("button", {
7001
7106
  ref: a,
7002
7107
  type: "button",
@@ -7004,7 +7109,7 @@ var Ui = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
7004
7109
  "aria-haspopup": "true",
7005
7110
  "aria-label": n,
7006
7111
  ...i,
7007
- children: [/* @__PURE__ */ E(Vi, { tenant: t }), e ? null : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
7112
+ children: [/* @__PURE__ */ E(aa, { tenant: t }), e ? null : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
7008
7113
  className: "workspace-switcher-trigger-name",
7009
7114
  children: t?.name
7010
7115
  }), /* @__PURE__ */ E(Y, {
@@ -7016,36 +7121,36 @@ var Ui = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
7016
7121
  });
7017
7122
  //#endregion
7018
7123
  //#region src/components/toast.js
7019
- function Wi() {
7020
- Di();
7124
+ function ca() {
7125
+ Gi();
7021
7126
  }
7022
- var Gi = /* @__PURE__ */ new Set([
7127
+ var la = /* @__PURE__ */ new Set([
7023
7128
  "success",
7024
7129
  "info",
7025
7130
  "warning",
7026
7131
  "danger"
7027
7132
  ]);
7028
- function Ki(e, t = "info") {
7133
+ function ua(e, t = "info") {
7029
7134
  let n = "info", r = {};
7030
- typeof t == "string" ? n = Gi.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = Gi.has(r.variant) ? r.variant : "info"), wi(e, n, r);
7135
+ typeof t == "string" ? n = la.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = la.has(r.variant) ? r.variant : "info"), Hi(e, n, r);
7031
7136
  }
7032
- function qi(e, t = {}) {
7033
- wi(e, "danger", t);
7137
+ function da(e, t = {}) {
7138
+ Hi(e, "danger", t);
7034
7139
  }
7035
- Ki.promise = (e, t, n = {}) => {
7140
+ ua.promise = (e, t, n = {}) => {
7036
7141
  let r = n.id || `promise-${Date.now()}-${Math.random()}`;
7037
- return Ki(t.loading || "Loading...", {
7142
+ return ua(t.loading || "Loading...", {
7038
7143
  ...n,
7039
7144
  variant: "info",
7040
7145
  id: r,
7041
7146
  duration: 0
7042
- }), e.then((e) => (Ki((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
7147
+ }), e.then((e) => (ua((typeof t.success == "function" ? t.success(e) : t.success) || "Done", {
7043
7148
  ...n,
7044
7149
  variant: "success",
7045
7150
  id: r,
7046
7151
  duration: n.duration === void 0 ? 5e3 : n.duration
7047
7152
  }), e)).catch((e) => {
7048
- throw Ki((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
7153
+ throw ua((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
7049
7154
  ...n,
7050
7155
  variant: "danger",
7051
7156
  id: r,
@@ -7055,7 +7160,7 @@ Ki.promise = (e, t, n = {}) => {
7055
7160
  };
7056
7161
  //#endregion
7057
7162
  //#region src/lib/useCommandPaletteShortcut.js
7058
- function Ji(e, { key: t = "k" } = {}) {
7163
+ function fa(e, { key: t = "k" } = {}) {
7059
7164
  let n = d(e);
7060
7165
  o(() => {
7061
7166
  n.current = e;
@@ -7068,7 +7173,7 @@ function Ji(e, { key: t = "k" } = {}) {
7068
7173
  }
7069
7174
  //#endregion
7070
7175
  //#region src/lib/usePagination.js
7071
- function Yi(e, t = 10) {
7176
+ function pa(e, t = 10) {
7072
7177
  let [n, r] = f(1), [i, a] = f(t), s = e.length, c = Math.max(1, Math.ceil(s / i));
7073
7178
  o(() => {
7074
7179
  n > c && r(c);
@@ -7095,10 +7200,10 @@ function Yi(e, t = 10) {
7095
7200
  }
7096
7201
  //#endregion
7097
7202
  //#region src/lib/useTableView.js
7098
- var Xi = (e) => `wui-view:${e}`;
7099
- function Zi(e, t) {
7203
+ var ma = (e) => `wui-view:${e}`;
7204
+ function ha(e, t) {
7100
7205
  try {
7101
- let n = window.localStorage.getItem(Xi(e));
7206
+ let n = window.localStorage.getItem(ma(e));
7102
7207
  if (!n) return t;
7103
7208
  let r = JSON.parse(n);
7104
7209
  return {
@@ -7109,14 +7214,14 @@ function Zi(e, t) {
7109
7214
  return t;
7110
7215
  }
7111
7216
  }
7112
- function Qi(e, { sort: t } = {}) {
7113
- let [n, r] = f(() => Zi(e, {
7217
+ function ga(e, { sort: t } = {}) {
7218
+ let [n, r] = f(() => ha(e, {
7114
7219
  hidden: [],
7115
7220
  sort: t
7116
7221
  }));
7117
7222
  o(() => {
7118
7223
  try {
7119
- window.localStorage.setItem(Xi(e), JSON.stringify(n));
7224
+ window.localStorage.setItem(ma(e), JSON.stringify(n));
7120
7225
  } catch {}
7121
7226
  }, [e, n]);
7122
7227
  let i = a((e) => r((t) => ({
@@ -7134,4 +7239,4 @@ function Qi(e, { sort: t } = {}) {
7134
7239
  };
7135
7240
  }
7136
7241
  //#endregion
7137
- export { ke as AppAccordion, je as AppActionIcon, Ie as AppAlert, Ue as AppAsyncBlock, nt as AppAutocomplete, ct as AppAvatar, dt as AppAvatarGroup, ft as AppBadge, mt as AppBanner, ht as AppBreadcrumbs, Be as AppButton, _t as AppCard, yt as AppCheckbox, bt as AppChip, wt as AppChoiceCard, Tt as AppChoiceChip, Et as AppColorField, jt as AppColumnMenu, Rt as AppCommandPalette, Ut as AppCompareTable, qt as AppConfirmDialog, Yt as AppConsentBanner, Zt as AppCopyButton, $t as AppCountrySelect, dn as AppDataTable, fn as AppDatePicker, pn as AppDateRangePicker, mn as AppDescriptions, kt as AppDropdown, Ve as AppEmptyState, _n as AppErrorSummary, Cn as AppFileAttachment, En as AppFilePicker, Dn as AppFloatingDock, On as AppFormActions, kn as AppFormRow, Nn as AppFormSection, Y as AppIcon, Pn as AppInfoList, qe as AppInfoTip, Wt as AppInput, zn as AppKpiTile, Un as AppLink, Gn as AppLogoPicker, Yn as AppMeter, It as AppModal, Xn as AppMultiSelect, Zn as AppNumberInput, Qn as AppOtpInput, $n as AppPageHeader, er as AppPagination, tr as AppPhoneNumberInput, Ge as AppPopover, nr as AppPricingCard, ar as AppProgress, Pr as AppQrCode, Fr as AppRadio, Ir as AppRadioGroup, Lr as AppRepeater, Z as AppRequiredMark, Rr as AppResourceCard, Br as AppResult, Vr as AppScrollbar, Hr as AppSearch, Wr as AppSegmented, Kr as AppSelect, an as AppSelectMini, qr as AppShell, Xr as AppSidebarMenu, en as AppSkeleton, tn as AppSkeletonRows, Zr as AppSlider, He as AppSpinner, $r as AppSplash, ei as AppStatusBadge, ti as AppStepper, ri as AppSwitch, ii as AppTableEmptyState, sn as AppTablePagination, ai as AppTableToolbar, li as AppTabs, ui as AppTagInput, di as AppTextarea, mi as AppTimePicker, pi as AppTimeline, Pi as AppToast, Ii as AppToolbar, ce as AppTooltip, Li as AppWizard, zi as AppWorkspaceSwitcher, Kt as MODAL_ICONS, Wi as dismissAll, qi as errorToast, Ee as iconNames, Oe as registerIcons, Ki as toast, Ji as useCommandPaletteShortcut, Yi as usePagination, Qi as useTableView };
7242
+ export { He as AppAccordion, We as AppActionIcon, Ye as AppAlert, nt as AppAsyncBlock, ht as AppAutocomplete, xt as AppAvatar, wt as AppAvatarGroup, Tt as AppBadge, Dt as AppBanner, Ot as AppBreadcrumbs, $e as AppButton, At as AppCard, Mt as AppCheckbox, Nt as AppChip, Lt as AppChoiceCard, Rt as AppChoiceChip, zt as AppColorField, Wt as AppColumnMenu, Zt as AppCommandPalette, nn as AppCompareTable, sn as AppConfirmDialog, ln as AppConsentBanner, dn as AppCopyButton, pn as AppCountrySelect, wn as AppDataTable, Tn as AppDatePicker, En as AppDateRangePicker, Dn as AppDescriptions, Ht as AppDropdown, et as AppEmptyState, An as AppErrorSummary, In as AppFileAttachment, zn as AppFilePicker, Bn as AppFloatingDock, Vn as AppFormActions, Hn as AppFormRow, Kn as AppFormSection, Y as AppIcon, qn as AppInfoList, ot as AppInfoTip, rn as AppInput, Qn as AppKpiTile, nr as AppLink, ir as AppLogoPicker, cr as AppMeter, Yt as AppModal, lr as AppMultiSelect, ur as AppNumberInput, dr as AppOtpInput, pr as AppPageHeader, mr as AppPagination, hr as AppPhoneNumberInput, it as AppPopover, gr as AppPricingCard, yr as AppProgress, Jr as AppQrCode, Yr as AppRadio, Xr as AppRadioGroup, Zr as AppRepeater, Z as AppRequiredMark, Qr as AppResourceCard, ei as AppResult, ti as AppScrollbar, ni as AppSearch, ii as AppSegmented, oi as AppSelect, vn as AppSelectMini, si as AppShell, ui as AppSidebarMenu, mn as AppSkeleton, hn as AppSkeletonRows, di as AppSlider, tt as AppSpinner, pi as AppSplash, mi as AppStatusBadge, hi as AppStepper, _i as AppSwitch, vi as AppTableEmptyState, bn as AppTablePagination, yi as AppTableToolbar, Ci as AppTabs, wi as AppTagInput, Ti as AppTextarea, ki as AppThemeToggle, Mi as AppTimePicker, ji as AppTimeline, Qi as AppToast, ea as AppToolbar, be as AppTooltip, ta as AppWizard, ra as AppWorkspaceSwitcher, on as MODAL_ICONS, ca as dismissAll, da as errorToast, ze as iconNames, Ve as registerIcons, ua as toast, fa as useCommandPaletteShortcut, pa as usePagination, ga as useTableView };