@webority/ui-react 0.18.1 → 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,7 +4186,7 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4185
4186
  })
4186
4187
  ]
4187
4188
  });
4188
- }), $n = [
4189
+ }), fr = [
4189
4190
  "h1",
4190
4191
  "h2",
4191
4192
  "h3",
@@ -4193,9 +4194,9 @@ var Xn = i(function({ values: e, onChange: t, options: n, placeholder: r = "Sele
4193
4194
  "h5",
4194
4195
  "h6"
4195
4196
  ];
4196
- function er({ 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 }) {
4197
- W("AppPageHeader", m), G("AppPageHeader", "as", t, $n);
4198
- let h = $n.includes(t) ? t : "h1", g = [
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 = [
4199
4200
  "page-header",
4200
4201
  l && l !== "md" ? `page-header-${l}` : "",
4201
4202
  u === "center" ? "page-header-center" : "",
@@ -4252,9 +4253,9 @@ function er({ title: e, as: t = "h1", subtitle: n, eyebrow: r, icon: i, tone: a
4252
4253
  }
4253
4254
  //#endregion
4254
4255
  //#region src/components/AppPagination.jsx
4255
- function tr({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "md", ariaLabel: a = "Pagination", className: o, ...s }) {
4256
- if (W("AppPagination", s), t <= 1) return null;
4257
- 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 });
4258
4259
  return /* @__PURE__ */ E("nav", {
4259
4260
  className: [
4260
4261
  "pagination-nav",
@@ -4312,8 +4313,8 @@ function tr({ page: e, totalPages: t, onChange: n, siblings: r = 1, size: i = "m
4312
4313
  }
4313
4314
  //#endregion
4314
4315
  //#region src/components/AppPhoneNumberInput.jsx
4315
- var nr = 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) {
4316
- 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);
4317
4318
  let _ = s(), v = a || _, y = u && v ? `${v}-error` : void 0, { setRef: b } = Q({
4318
4319
  ref: g,
4319
4320
  value: e ?? "",
@@ -4353,8 +4354,8 @@ var nr = i(function({ value: e, onChange: t, country: n, disabled: r = !1, name:
4353
4354
  });
4354
4355
  //#endregion
4355
4356
  //#region src/components/AppPricingCard.jsx
4356
- function rr({ 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 }) {
4357
- 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", {
4358
4359
  className: [
4359
4360
  "plan-card",
4360
4361
  o ? "featured" : "",
@@ -4407,21 +4408,21 @@ function rr({ name: e, price: t, unit: n, tagline: r, features: i = [], cta: a,
4407
4408
  }
4408
4409
  //#endregion
4409
4410
  //#region src/components/AppProgress.jsx
4410
- var ir = [
4411
+ var _r = [
4411
4412
  "info",
4412
4413
  "success",
4413
4414
  "warning",
4414
4415
  "danger",
4415
4416
  "neutral"
4416
4417
  ];
4417
- function ar(e, t) {
4418
+ function vr(e, t) {
4418
4419
  if (!(t > 0)) return 0;
4419
4420
  let n = Math.min(100, Math.max(0, e / t * 100));
4420
4421
  return Number(n.toFixed(2));
4421
4422
  }
4422
- function or({ 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 }) {
4423
- W("AppProgress", u);
4424
- let d = ir.includes(n) ? n : "info", f = ar(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 = [
4425
4426
  "progress-bar",
4426
4427
  `wui-progress-${d}`,
4427
4428
  o || s ? "progress-bar-striped" : "",
@@ -4445,22 +4446,22 @@ function or({ value: e = 0, max: t = 100, tone: n = "info", size: r = "md", labe
4445
4446
  }
4446
4447
  //#endregion
4447
4448
  //#region src/lib/qrCode.js
4448
- var sr = {
4449
+ var br = {
4449
4450
  L: 0,
4450
4451
  M: 1,
4451
4452
  Q: 2,
4452
4453
  H: 3
4453
- }, cr = [
4454
+ }, xr = [
4454
4455
  1,
4455
4456
  0,
4456
4457
  3,
4457
4458
  2
4458
- ], lr = [
4459
+ ], Sr = [
4459
4460
  "L",
4460
4461
  "M",
4461
4462
  "Q",
4462
4463
  "H"
4463
- ], ur = 3, dr = 3, fr = 40, pr = 10, mr = [
4464
+ ], Cr = 3, wr = 3, Tr = 40, Er = 10, Dr = [
4464
4465
  [
4465
4466
  -1,
4466
4467
  7,
@@ -4633,7 +4634,7 @@ var sr = {
4633
4634
  30,
4634
4635
  30
4635
4636
  ]
4636
- ], hr = [
4637
+ ], Or = [
4637
4638
  [
4638
4639
  -1,
4639
4640
  1,
@@ -4807,24 +4808,24 @@ var sr = {
4807
4808
  81
4808
4809
  ]
4809
4810
  ];
4810
- function gr(e, t = "M", { mask: n = -1, boostEcc: r = !0 } = {}) {
4811
- if (!Object.hasOwn(sr, 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}"`);
4812
4813
  if (!Number.isInteger(n) || n < -1 || n > 7) throw RangeError("Mask must be -1 to 7");
4813
- let i = new TextEncoder().encode(String(e)), a = sr[t], o = 1, s = 0;
4814
- for (; s = vr(i.length, o), !(s <= Dr(o, a) * 8); o++) if (o >= 40) throw RangeError(`Data too long for a QR code: ${i.length} bytes`);
4815
- for (let e = 1; e <= 3; e++) r && s <= Dr(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));
4816
4817
  let c = [];
4817
- Mr(4, 4, c), Mr(i.length, o <= 9 ? 8 : 16, c);
4818
- for (let e of i) Mr(e, 8, c);
4819
- let l = Dr(o, a) * 8;
4820
- Mr(0, Math.min(4, l - c.length), c), Mr(0, (8 - c.length % 8) % 8, c);
4821
- for (let e = 236; c.length < l; e ^= 253) Mr(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);
4822
4823
  let u = new Uint8Array(c.length / 8);
4823
4824
  return c.forEach((e, t) => {
4824
4825
  u[t >>> 3] |= e << 7 - (t & 7);
4825
- }), yr(o, a, u, n);
4826
+ }), Mr(o, a, u, n);
4826
4827
  }
4827
- function _r(e, t = 4) {
4828
+ function Ar(e, t = 4) {
4828
4829
  let { size: n } = e, r = "";
4829
4830
  for (let i = 0; i < n; i++) {
4830
4831
  let a = 0;
@@ -4841,22 +4842,22 @@ function _r(e, t = 4) {
4841
4842
  }
4842
4843
  return r;
4843
4844
  }
4844
- function vr(e, t) {
4845
+ function jr(e, t) {
4845
4846
  let n = t <= 9 ? 8 : 16;
4846
4847
  return e >= 1 << n ? Infinity : 4 + n + e * 8;
4847
4848
  }
4848
- function yr(e, t, n, r) {
4849
+ function Mr(e, t, n, r) {
4849
4850
  let i = e * 4 + 17, a = new Uint8Array(i * i), o = new Uint8Array(i * i), s = (e, t, n) => {
4850
4851
  a[t * i + e] = +!!n, o[t * i + e] = 1;
4851
4852
  }, c = (e) => {
4852
- let n = cr[t] << 3 | e, r = n;
4853
+ let n = xr[t] << 3 | e, r = n;
4853
4854
  for (let e = 0; e < 10; e++) r = r << 1 ^ (r >>> 9) * 1335;
4854
4855
  let a = (n << 10 | r) ^ 21522;
4855
- for (let e = 0; e <= 5; e++) s(8, e, Nr(a, e));
4856
- s(8, 7, Nr(a, 6)), s(8, 8, Nr(a, 7)), s(7, 8, Nr(a, 8));
4857
- for (let e = 9; e < 15; e++) s(14 - e, 8, Nr(a, e));
4858
- for (let e = 0; e < 8; e++) s(i - 1 - e, 8, Nr(a, e));
4859
- for (let e = 8; e < 15; e++) s(8, i - 15 + e, Nr(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));
4860
4861
  s(8, i - 8, !0);
4861
4862
  }, l = (e, t) => {
4862
4863
  for (let n = -4; n <= 4; n++) for (let r = -4; r <= 4; r++) {
@@ -4868,45 +4869,45 @@ function yr(e, t, n, r) {
4868
4869
  };
4869
4870
  for (let e = 0; e < i; e++) s(6, e, e % 2 == 0), s(e, 6, e % 2 == 0);
4870
4871
  l(3, 3), l(i - 4, 3), l(3, i - 4);
4871
- let d = Tr(e, i), f = d.length;
4872
+ let d = Rr(e, i), f = d.length;
4872
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]);
4873
4874
  if (c(0), e >= 7) {
4874
4875
  let t = e;
4875
4876
  for (let e = 0; e < 12; e++) t = t << 1 ^ (t >>> 11) * 7973;
4876
4877
  let n = e << 12 | t;
4877
4878
  for (let e = 0; e < 18; e++) {
4878
- let t = Nr(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);
4879
4880
  s(r, a, t), s(a, r, t);
4880
4881
  }
4881
4882
  }
4882
- let p = Or(n, e, t), m = 0, h = p.length * 8;
4883
+ let p = Vr(n, e, t), m = 0, h = p.length * 8;
4883
4884
  for (let e = i - 1; e >= 1; e -= 2) {
4884
4885
  e === 6 && (e = 5);
4885
4886
  for (let t = 0; t < i; t++) for (let n = 0; n < 2; n++) {
4886
4887
  let r = e - n, s = e + 1 & 2 ? t : i - 1 - t;
4887
- !o[s * i + r] && m < h && (a[s * i + r] = +!!Nr(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++);
4888
4889
  }
4889
4890
  }
4890
4891
  let g = (e) => {
4891
- for (let t = 0; t < i; t++) for (let n = 0; n < i; n++) !o[t * i + n] && br(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);
4892
4893
  }, _ = r;
4893
4894
  if (_ === -1) {
4894
4895
  let e = Infinity;
4895
4896
  for (let t = 0; t < 8; t++) {
4896
4897
  g(t), c(t);
4897
- let n = xr(a, i);
4898
+ let n = Pr(a, i);
4898
4899
  n < e && (_ = t, e = n), g(t);
4899
4900
  }
4900
4901
  }
4901
4902
  return g(_), c(_), Object.freeze({
4902
4903
  size: i,
4903
4904
  version: e,
4904
- ecc: lr[t],
4905
+ ecc: Sr[t],
4905
4906
  mask: _,
4906
4907
  isDark: (e, t) => e >= 0 && e < i && t >= 0 && t < i && a[e * i + t] === 1
4907
4908
  });
4908
4909
  }
4909
- function br(e, t, n) {
4910
+ function Nr(e, t, n) {
4910
4911
  switch (e) {
4911
4912
  case 0: return (t + n) % 2 == 0;
4912
4913
  case 1: return n % 2 == 0;
@@ -4918,7 +4919,7 @@ function br(e, t, n) {
4918
4919
  default: return ((t + n) % 2 + t * n % 3) % 2 == 0;
4919
4920
  }
4920
4921
  }
4921
- function xr(e, t) {
4922
+ function Pr(e, t) {
4922
4923
  let n = 0, r = (n, r) => e[r * t + n] === 1;
4923
4924
  for (let e = 0; e < 2; e++) for (let i = 0; i < t; i++) {
4924
4925
  let a = !1, o = 0, s = [
@@ -4932,38 +4933,38 @@ function xr(e, t) {
4932
4933
  ];
4933
4934
  for (let c = 0; c < t; c++) {
4934
4935
  let l = e === 0 ? r(c, i) : r(i, c);
4935
- l === a ? (o++, o === 5 ? n += ur : o > 5 && n++) : (wr(o, s, t), a || (n += Sr(s) * fr), 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);
4936
4937
  }
4937
- n += Cr(a, o, s, t) * fr;
4938
+ n += Ir(a, o, s, t) * Tr;
4938
4939
  }
4939
4940
  for (let e = 0; e < t - 1; e++) for (let i = 0; i < t - 1; i++) {
4940
4941
  let t = r(i, e);
4941
- t === r(i + 1, e) && t === r(i, e + 1) && t === r(i + 1, e + 1) && (n += dr);
4942
+ t === r(i + 1, e) && t === r(i, e + 1) && t === r(i + 1, e + 1) && (n += wr);
4942
4943
  }
4943
4944
  let i = 0;
4944
4945
  for (let t of e) i += t;
4945
4946
  let a = t * t, o = Math.ceil(Math.abs(i * 20 - a * 10) / a) - 1;
4946
- return n += o * pr, n;
4947
+ return n += o * Er, n;
4947
4948
  }
4948
- function Sr(e) {
4949
+ function Fr(e) {
4949
4950
  let t = e[1], n = t > 0 && e[2] === t && e[3] === t * 3 && e[4] === t && e[5] === t;
4950
4951
  return (n && e[0] >= t * 4 && e[6] >= t ? 1 : 0) + (n && e[6] >= t * 4 && e[0] >= t ? 1 : 0);
4951
4952
  }
4952
- function Cr(e, t, n, r) {
4953
+ function Ir(e, t, n, r) {
4953
4954
  let i = t;
4954
- return e && (wr(i, n, r), i = 0), i += r, wr(i, n, r), Sr(n);
4955
+ return e && (Lr(i, n, r), i = 0), i += r, Lr(i, n, r), Fr(n);
4955
4956
  }
4956
- function wr(e, t, n) {
4957
+ function Lr(e, t, n) {
4957
4958
  let r = t[0] === 0 ? e + n : e;
4958
4959
  t.pop(), t.unshift(r);
4959
4960
  }
4960
- function Tr(e, t) {
4961
+ function Rr(e, t) {
4961
4962
  if (e === 1) return [];
4962
4963
  let n = Math.floor(e / 7) + 2, r = Math.floor((e * 8 + n * 3 + 5) / (n * 4 - 4)) * 2, i = [6];
4963
4964
  for (let e = t - 7; i.length < n; e -= r) i.splice(1, 0, e);
4964
4965
  return i;
4965
4966
  }
4966
- function Er(e) {
4967
+ function zr(e) {
4967
4968
  let t = (16 * e + 128) * e + 64;
4968
4969
  if (e >= 2) {
4969
4970
  let n = Math.floor(e / 7) + 2;
@@ -4971,15 +4972,15 @@ function Er(e) {
4971
4972
  }
4972
4973
  return t;
4973
4974
  }
4974
- function Dr(e, t) {
4975
- return Math.floor(Er(e) / 8) - mr[t][e] * hr[t][e];
4975
+ function Br(e, t) {
4976
+ return Math.floor(zr(e) / 8) - Dr[t][e] * Or[t][e];
4976
4977
  }
4977
- function Or(e, t, n) {
4978
- let r = hr[n][t], i = mr[n][t], a = Math.floor(Er(t) / 8), o = r - a % r, s = Math.floor(a / r), c = [], l = kr(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);
4979
4980
  for (let t = 0, n = 0; t < r; t++) {
4980
4981
  let r = Array.from(e.subarray(n, n + s - i + (t < o ? 0 : 1)));
4981
4982
  n += r.length;
4982
- let a = Ar(r, l);
4983
+ let a = Ur(r, l);
4983
4984
  t < o && r.push(0), c.push(r.concat(a));
4984
4985
  }
4985
4986
  let u = [];
@@ -4988,48 +4989,48 @@ function Or(e, t, n) {
4988
4989
  });
4989
4990
  return u;
4990
4991
  }
4991
- function kr(e) {
4992
+ function Hr(e) {
4992
4993
  let t = Array(e).fill(0);
4993
4994
  t[e - 1] = 1;
4994
4995
  let n = 1;
4995
4996
  for (let r = 0; r < e; r++) {
4996
- for (let e = 0; e < t.length; e++) t[e] = jr(t[e], n), e + 1 < t.length && (t[e] ^= t[e + 1]);
4997
- n = jr(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);
4998
4999
  }
4999
5000
  return t;
5000
5001
  }
5001
- function Ar(e, t) {
5002
+ function Ur(e, t) {
5002
5003
  let n = t.map(() => 0);
5003
5004
  for (let r of e) {
5004
5005
  let e = r ^ n.shift();
5005
5006
  n.push(0), t.forEach((t, r) => {
5006
- n[r] ^= jr(t, e);
5007
+ n[r] ^= Wr(t, e);
5007
5008
  });
5008
5009
  }
5009
5010
  return n;
5010
5011
  }
5011
- function jr(e, t) {
5012
+ function Wr(e, t) {
5012
5013
  let n = 0;
5013
5014
  for (let r = 7; r >= 0; r--) n = n << 1 ^ (n >>> 7) * 285, n ^= (t >>> r & 1) * e;
5014
5015
  return n;
5015
5016
  }
5016
- function Mr(e, t, n) {
5017
+ function Gr(e, t, n) {
5017
5018
  for (let r = t - 1; r >= 0; r--) n.push(e >>> r & 1);
5018
5019
  }
5019
- function Nr(e, t) {
5020
+ function Kr(e, t) {
5020
5021
  return (e >>> t & 1) != 0;
5021
5022
  }
5022
5023
  //#endregion
5023
5024
  //#region src/components/AppQrCode.jsx
5024
- var Pr = 4;
5025
- function Fr({ value: e, size: t = 240, title: n = "QR code", className: r, style: i, ...a }) {
5026
- 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);
5027
5028
  let o = u(() => {
5028
5029
  if (!e) return null;
5029
- let t = gr(String(e));
5030
+ let t = kr(String(e));
5030
5031
  return {
5031
- modules: t.size + Pr * 2,
5032
- path: _r(t, Pr)
5032
+ modules: t.size + qr * 2,
5033
+ path: Ar(t, qr)
5033
5034
  };
5034
5035
  }, [e]);
5035
5036
  if (!o) return null;
@@ -5056,8 +5057,8 @@ function Fr({ value: e, size: t = 240, title: n = "QR code", className: r, style
5056
5057
  }
5057
5058
  //#endregion
5058
5059
  //#region src/components/AppRadio.jsx
5059
- var Ir = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a = "", ...o }, s) {
5060
- 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, {
5061
5062
  ref: s,
5062
5063
  label: e,
5063
5064
  id: t,
@@ -5072,8 +5073,8 @@ var Ir = i(function({ label: e, id: t, name: n, error: r, hint: i, className: a
5072
5073
  });
5073
5074
  //#endregion
5074
5075
  //#region src/components/AppRadioGroup.jsx
5075
- function Lr({ 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 }) {
5076
- 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);
5077
5078
  let y = s(), b = m || y, x = n || b, S = `${b}-error`, C = `${b}-hint`, w = r !== void 0;
5078
5079
  return /* @__PURE__ */ D("div", {
5079
5080
  className: `field${g ? ` ${g}` : ""}`,
@@ -5084,7 +5085,7 @@ function Lr({ label: e, options: t = [], name: n, value: r, defaultValue: i, onC
5084
5085
  children: [
5085
5086
  e,
5086
5087
  c && /* @__PURE__ */ E(Z, {}),
5087
- f && /* @__PURE__ */ E(qe, {
5088
+ f && /* @__PURE__ */ E(ot, {
5088
5089
  label: p,
5089
5090
  children: f
5090
5091
  })
@@ -5145,8 +5146,8 @@ function Lr({ label: e, options: t = [], name: n, value: r, defaultValue: i, onC
5145
5146
  }
5146
5147
  //#endregion
5147
5148
  //#region src/components/AppRepeater.jsx
5148
- function Rr({ 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 }) {
5149
- 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);
5150
5151
  let m = typeof u == "number" && e.length >= u, h = !!i && e.length > l;
5151
5152
  return /* @__PURE__ */ D("div", {
5152
5153
  className: `repeater${f ? ` ${f}` : ""}`,
@@ -5173,7 +5174,7 @@ function Rr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
5173
5174
  className: "repeater-body",
5174
5175
  children: t(e, r)
5175
5176
  }),
5176
- h && /* @__PURE__ */ E(je, {
5177
+ h && /* @__PURE__ */ E(We, {
5177
5178
  icon: "trash-2",
5178
5179
  label: `${s} ${r + 1}`,
5179
5180
  danger: !0,
@@ -5183,7 +5184,7 @@ function Rr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
5183
5184
  ]
5184
5185
  }, e.id ?? r);
5185
5186
  }),
5186
- /* @__PURE__ */ E(Be, {
5187
+ /* @__PURE__ */ E($e, {
5187
5188
  variant: o,
5188
5189
  size: "sm",
5189
5190
  leftIcon: "plus",
@@ -5197,8 +5198,8 @@ function Rr({ rows: e = [], renderRow: t, rowLabel: n, onAdd: r, onRemove: i, ad
5197
5198
  }
5198
5199
  //#endregion
5199
5200
  //#region src/components/AppResourceCard.jsx
5200
- function zr({ icon: e, title: t, text: n, href: r, external: i = !1, linkComponent: a, className: o = "", ...s }) {
5201
- 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);
5202
5203
  let c = /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E("span", {
5203
5204
  className: "res-card-icon",
5204
5205
  children: /* @__PURE__ */ E(Y, {
@@ -5231,7 +5232,7 @@ function zr({ icon: e, title: t, text: n, href: r, external: i = !1, linkCompone
5231
5232
  }
5232
5233
  //#endregion
5233
5234
  //#region src/components/AppResult.jsx
5234
- var Br = {
5235
+ var $r = {
5235
5236
  success: {
5236
5237
  icon: "check-circle",
5237
5238
  tone: "success"
@@ -5252,9 +5253,9 @@ var Br = {
5252
5253
  404: { tone: "muted" },
5253
5254
  500: { tone: "muted" }
5254
5255
  };
5255
- function Vr({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, children: a, className: o = "", ...s }) {
5256
- W("AppResult", s), G("AppResult", "status", e, Object.keys(Br));
5257
- let c = Br[e] || Br.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);
5258
5259
  return /* @__PURE__ */ D("div", {
5259
5260
  className: [
5260
5261
  "result",
@@ -5292,8 +5293,8 @@ function Vr({ status: e = "info", title: t, subtitle: n, icon: r, actions: i, ch
5292
5293
  }
5293
5294
  //#endregion
5294
5295
  //#region src/components/AppScrollbar.jsx
5295
- function Hr({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
5296
- 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", {
5297
5298
  className: t ? `wui-scroll ${t}` : "wui-scroll",
5298
5299
  style: n == null ? r : {
5299
5300
  maxHeight: n,
@@ -5305,8 +5306,8 @@ function Hr({ children: e, className: t = "", maxHeight: n, style: r, ...i }) {
5305
5306
  }
5306
5307
  //#endregion
5307
5308
  //#region src/components/AppSearch.jsx
5308
- function Ur({ 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 }) {
5309
- 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);
5310
5311
  let d = t || n;
5311
5312
  return /* @__PURE__ */ D("div", {
5312
5313
  className: [
@@ -5352,17 +5353,17 @@ function Ur({ value: e, onChange: t, onValueChange: n, placeholder: r = "Search
5352
5353
  }
5353
5354
  //#endregion
5354
5355
  //#region src/components/AppSegmented.jsx
5355
- var Wr = {
5356
+ var ri = {
5356
5357
  sm: "segmented-sm",
5357
5358
  md: "",
5358
5359
  lg: "segmented-lg",
5359
5360
  xl: "wui-segmented-xl"
5360
5361
  };
5361
- function Gr({ 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 }) {
5362
- W("AppSegmented", m), G("AppSegmented", "size", a, Object.keys(Wr));
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));
5363
5364
  let h = s(), g = i || h, _ = d(null), v = d(null), y = [
5364
5365
  "segmented",
5365
- Wr[a] ?? "",
5366
+ ri[a] ?? "",
5366
5367
  c ? "segmented-full" : "",
5367
5368
  u ? "" : "wui-segmented-borderless",
5368
5369
  f ? "is-disabled" : "",
@@ -5433,8 +5434,8 @@ function Gr({ options: e = [], value: t, onChange: n, label: r, name: i, size: a
5433
5434
  }
5434
5435
  //#endregion
5435
5436
  //#region src/components/AppSelect.jsx
5436
- var Kr = (e) => e == null ? "" : e.label ?? e.text ?? "", qr = 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) {
5437
- 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);
5438
5439
  let M = s(), { setRef: N, innerRef: P } = Q({
5439
5440
  ref: j,
5440
5441
  value: e ?? "",
@@ -5445,12 +5446,12 @@ var Kr = (e) => e == null ? "" : e.label ?? e.text ?? "", qr = i(function({ valu
5445
5446
  if (!e) return;
5446
5447
  let t = n.map((e) => ({
5447
5448
  value: e.value,
5448
- label: Kr(e),
5449
+ label: ai(e),
5449
5450
  icon: e.icon
5450
5451
  }));
5451
- Ze(t, e.options) || (e.options = t);
5452
+ ut(t, e.options) || (e.options = t);
5452
5453
  }, [n, P]);
5453
- 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", {
5454
5455
  "aria-label": T || (typeof h == "string" ? h : void 0),
5455
5456
  "aria-labelledby": O || void 0,
5456
5457
  "aria-describedby": L || R || k || void 0,
@@ -5468,21 +5469,21 @@ var Kr = (e) => e == null ? "" : e.label ?? e.text ?? "", qr = i(function({ valu
5468
5469
  required: g ? "" : void 0,
5469
5470
  className: C || void 0,
5470
5471
  ...A
5471
- }), B = !I && (d != null || f != null) ? /* @__PURE__ */ D("div", {
5472
+ }), z = !I && (d != null || f != null) ? /* @__PURE__ */ D("div", {
5472
5473
  className: "input-affixed",
5473
5474
  children: [
5474
5475
  d != null && /* @__PURE__ */ E("span", {
5475
5476
  className: "affix affix-pre",
5476
5477
  children: d
5477
5478
  }),
5478
- z,
5479
+ ee,
5479
5480
  f != null && /* @__PURE__ */ E("span", {
5480
5481
  className: "affix affix-suf",
5481
5482
  children: f
5482
5483
  })
5483
5484
  ]
5484
- }) : z;
5485
- return !h && !_ && !v ? B : /* @__PURE__ */ D("div", {
5485
+ }) : ee;
5486
+ return !h && !_ && !v ? z : /* @__PURE__ */ D("div", {
5486
5487
  className: ["field", w].filter(Boolean).join(" "),
5487
5488
  children: [
5488
5489
  h && !I && /* @__PURE__ */ D("label", {
@@ -5491,7 +5492,7 @@ var Kr = (e) => e == null ? "" : e.label ?? e.text ?? "", qr = i(function({ valu
5491
5492
  children: [
5492
5493
  h,
5493
5494
  g && /* @__PURE__ */ E(Z, {}),
5494
- y && /* @__PURE__ */ E(qe, {
5495
+ y && /* @__PURE__ */ E(ot, {
5495
5496
  label: b,
5496
5497
  children: y
5497
5498
  })
@@ -5499,12 +5500,12 @@ var Kr = (e) => e == null ? "" : e.label ?? e.text ?? "", qr = i(function({ valu
5499
5500
  }),
5500
5501
  I ? /* @__PURE__ */ D("div", {
5501
5502
  className: "field-float",
5502
- children: [z, /* @__PURE__ */ D("label", {
5503
+ children: [ee, /* @__PURE__ */ D("label", {
5503
5504
  className: "float-label",
5504
5505
  htmlFor: F,
5505
5506
  children: [h, g && /* @__PURE__ */ E(Z, {})]
5506
5507
  })]
5507
- }) : B,
5508
+ }) : z,
5508
5509
  _ ? /* @__PURE__ */ E("div", {
5509
5510
  className: "field-error",
5510
5511
  id: L,
@@ -5519,8 +5520,8 @@ var Kr = (e) => e == null ? "" : e.label ?? e.text ?? "", qr = i(function({ valu
5519
5520
  });
5520
5521
  //#endregion
5521
5522
  //#region src/components/AppShell.jsx
5522
- function Jr({ 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 = "", ..._ }) {
5523
- 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", _);
5524
5525
  let [v, y] = f(!1), [b, x] = f(!1), [S, C] = f(!1), w = u ?? v, T = () => {
5525
5526
  let e = !w;
5526
5527
  u === void 0 && y(e), d?.(e);
@@ -5567,7 +5568,7 @@ function Jr({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
5567
5568
  children: [e.label && /* @__PURE__ */ E("div", {
5568
5569
  className: "app-nav-group-label",
5569
5570
  children: e.label
5570
- }), e.items.map((e) => /* @__PURE__ */ E(Yr, {
5571
+ }), e.items.map((e) => /* @__PURE__ */ E(ci, {
5571
5572
  item: e,
5572
5573
  linkComponent: h,
5573
5574
  onNavigate: () => x(!1)
@@ -5634,7 +5635,7 @@ function Jr({ groups: e = [], brand: t, sidebarStart: n, sidebarStartCompact: r,
5634
5635
  ]
5635
5636
  });
5636
5637
  }
5637
- function Yr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5638
+ function ci({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5638
5639
  let i = Array.isArray(e.children) && e.children.length > 0, a = i && e.children.some((e) => e.active), [s, c] = f(a);
5639
5640
  o(() => {
5640
5641
  a && !s && c(!0);
@@ -5676,7 +5677,7 @@ function Yr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5676
5677
  "aria-hidden": !s || void 0,
5677
5678
  children: /* @__PURE__ */ E("div", {
5678
5679
  className: "app-nav-sub-inner",
5679
- children: e.children.map((e) => /* @__PURE__ */ E(Yr, {
5680
+ children: e.children.map((e) => /* @__PURE__ */ E(ci, {
5680
5681
  item: e,
5681
5682
  linkComponent: t,
5682
5683
  onNavigate: n,
@@ -5717,7 +5718,7 @@ function Yr({ item: e, linkComponent: t, onNavigate: n, sub: r = !1 }) {
5717
5718
  }
5718
5719
  //#endregion
5719
5720
  //#region src/components/AppSidebarMenu.jsx
5720
- var Xr = {
5721
+ var li = {
5721
5722
  left: "start",
5722
5723
  right: "end",
5723
5724
  start: "start",
@@ -5725,9 +5726,9 @@ var Xr = {
5725
5726
  top: "top",
5726
5727
  bottom: "bottom"
5727
5728
  };
5728
- function Zr({ 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 }) {
5729
- W("AppSidebarMenu", v), G("AppSidebarMenu", "side", n, Object.keys(Xr));
5730
- let { style: y, ...b } = v, S = Xr[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 ? {
5731
5732
  ...c && { "--asm-width": c },
5732
5733
  ...l && { "--asm-max-width": l },
5733
5734
  ...y
@@ -5788,14 +5789,14 @@ function Zr({ show: e, onHide: t, side: n = "right", title: r, titleIcon: i, hea
5788
5789
  }
5789
5790
  //#endregion
5790
5791
  //#region src/components/AppSlider.jsx
5791
- var Qr = 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) {
5792
- 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);
5793
5794
  let k = s(), A = x || k, j = r, { setRef: M, innerRef: N } = Q({
5794
5795
  ref: O,
5795
5796
  value: j ? void 0 : e,
5796
5797
  onChange: i,
5797
- readValue: j ? et : void 0,
5798
- writeValue: j ? void 0 : tt
5798
+ readValue: j ? pt : void 0,
5799
+ writeValue: j ? void 0 : mt
5799
5800
  });
5800
5801
  o(() => {
5801
5802
  if (!j) return;
@@ -5849,14 +5850,14 @@ var Qr = i(function({ value: e, start: t, end: n, range: r = !1, onChange: i, la
5849
5850
  })
5850
5851
  ]
5851
5852
  });
5852
- }), $r = {
5853
+ }), fi = {
5853
5854
  sm: 44,
5854
5855
  md: 56,
5855
5856
  lg: 72
5856
5857
  };
5857
- function ei({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", size: a = "md", label: o = "Loading", className: s = "", ...c }) {
5858
- W("AppSplash", c), G("AppSplash", "size", typeof a == "string" ? a : null, Object.keys($r));
5859
- let { style: l, ...u } = c, d = typeof a == "number" ? a : $r[a] ?? $r.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", {
5860
5861
  className: "splash-ring",
5861
5862
  "aria-hidden": "true"
5862
5863
  }) : i === "dots" ? /* @__PURE__ */ D("span", {
@@ -5903,8 +5904,8 @@ function ei({ logo: e, initials: t, text: n, subtext: r, variant: i = "bar", siz
5903
5904
  }
5904
5905
  //#endregion
5905
5906
  //#region src/components/AppStatusBadge.jsx
5906
- function ti({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tooltipPlacement: i, ...a }) {
5907
- 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", {
5908
5909
  className: `status-label ${t}${n ? ` ${n}` : ""}`,
5909
5910
  ...a,
5910
5911
  children: e
@@ -5912,8 +5913,8 @@ function ti({ label: e, tone: t = "neutral", className: n = "", tooltip: r, tool
5912
5913
  }
5913
5914
  //#endregion
5914
5915
  //#region src/components/AppStepper.jsx
5915
- function ni({ steps: e = [], variant: t = "steps", orientation: n = "horizontal", activeStep: r, onStepClick: i, label: a = "Progress", linkComponent: o, className: s = "", ...c }) {
5916
- 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);
5917
5918
  let l = t === "journey";
5918
5919
  return /* @__PURE__ */ E("nav", {
5919
5920
  className: [
@@ -5925,7 +5926,7 @@ function ni({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5925
5926
  "aria-label": a,
5926
5927
  ...c,
5927
5928
  children: e.map((t, n) => {
5928
- let a = t.status || ri(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5929
+ let a = t.status || gi(n, r), s = `step${a === "pending" ? "" : ` ${a}`}`, c;
5929
5930
  c = a === "done" ? /* @__PURE__ */ E(Y, {
5930
5931
  name: "check",
5931
5932
  size: 14
@@ -5989,13 +5990,13 @@ function ni({ steps: e = [], variant: t = "steps", orientation: n = "horizontal"
5989
5990
  })
5990
5991
  });
5991
5992
  }
5992
- function ri(e, t) {
5993
+ function gi(e, t) {
5993
5994
  return typeof t == "number" ? e < t ? "done" : e === t ? "active" : "pending" : "pending";
5994
5995
  }
5995
5996
  //#endregion
5996
5997
  //#region src/components/AppSwitch.jsx
5997
- var ii = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "round", className: o = "", ...s }, c) {
5998
- 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, {
5999
6000
  ref: c,
6000
6001
  label: e,
6001
6002
  id: t,
@@ -6010,8 +6011,8 @@ var ii = i(function({ label: e, id: t, name: n, error: r, hint: i, shape: a = "r
6010
6011
  });
6011
6012
  //#endregion
6012
6013
  //#region src/components/AppTableEmptyState.jsx
6013
- function ai({ icon: e, title: t, text: n, action: r, ...i }) {
6014
- 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", {
6015
6016
  className: "tbl-empty",
6016
6017
  ...i,
6017
6018
  children: [
@@ -6036,8 +6037,8 @@ function ai({ icon: e, title: t, text: n, action: r, ...i }) {
6036
6037
  }
6037
6038
  //#endregion
6038
6039
  //#region src/components/AppTableToolbar.jsx
6039
- function oi({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onClearSelection: i, className: a = "", ...o }) {
6040
- W("AppTableToolbar", o);
6040
+ function yi({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onClearSelection: i, className: a = "", ...o }) {
6041
+ G("AppTableToolbar", o);
6041
6042
  let s = n > 0;
6042
6043
  return /* @__PURE__ */ D("div", {
6043
6044
  className: `wui-table-toolbar${a ? ` ${a}` : ""}`,
@@ -6074,9 +6075,9 @@ function oi({ filters: e, actions: t, selectedCount: n = 0, bulkActions: r, onCl
6074
6075
  }
6075
6076
  //#endregion
6076
6077
  //#region src/components/AppTabs.jsx
6077
- var si = 1, ci = 28, li = .7;
6078
- function ui({ 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, ..._ }) {
6079
- 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", _);
6080
6081
  let v = d(null), y = d(null), b = s === "vertical", [x, S] = f(t);
6081
6082
  o(() => {
6082
6083
  S(t);
@@ -6087,7 +6088,7 @@ function ui({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6087
6088
  let e = v.current, t = y.current;
6088
6089
  if (!e || !t || b) return;
6089
6090
  let n = e.scrollWidth - e.clientWidth;
6090
- t.classList.toggle("is-overflow-start", e.scrollLeft > si), t.classList.toggle("is-overflow-end", n > si && e.scrollLeft < n - si);
6091
+ t.classList.toggle("is-overflow-start", e.scrollLeft > bi), t.classList.toggle("is-overflow-end", n > bi && e.scrollLeft < n - bi);
6091
6092
  }, [b]), M = a(() => {
6092
6093
  let n = v.current;
6093
6094
  if (!n) return;
@@ -6103,7 +6104,7 @@ function ui({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6103
6104
  if (!e || b) return;
6104
6105
  let t = e.querySelector(".app-tab.active");
6105
6106
  if (!t) return;
6106
- let n = ci, r = t.offsetLeft, i = r + t.offsetWidth;
6107
+ let n = xi, r = t.offsetLeft, i = r + t.offsetWidth;
6107
6108
  r - n < e.scrollLeft ? e.scrollLeft = Math.max(0, r - n) : i + n > e.scrollLeft + e.clientWidth && (e.scrollLeft = i + n - e.clientWidth);
6108
6109
  }, [b]);
6109
6110
  l(() => {
@@ -6138,7 +6139,7 @@ function ui({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6138
6139
  }
6139
6140
  let I = (e) => {
6140
6141
  let t = v.current;
6141
- t && t.scrollBy({ left: e * t.clientWidth * li });
6142
+ t && t.scrollBy({ left: e * t.clientWidth * Si });
6142
6143
  }, L = [
6143
6144
  "app-tabs",
6144
6145
  i === "pills" ? "app-tabs-pills" : "",
@@ -6210,7 +6211,7 @@ function ui({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6210
6211
  },
6211
6212
  children: s
6212
6213
  }, e.key);
6213
- return e.tooltip ? /* @__PURE__ */ E(ce, {
6214
+ return e.tooltip ? /* @__PURE__ */ E(be, {
6214
6215
  content: e.tooltip,
6215
6216
  children: c
6216
6217
  }, e.key) : c;
@@ -6251,14 +6252,14 @@ function ui({ tabs: e, value: t, onChange: n, linkComponent: r, variant: i = "un
6251
6252
  }
6252
6253
  //#endregion
6253
6254
  //#region src/components/AppTagInput.jsx
6254
- var di = 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) {
6255
- 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);
6256
6257
  let x = s(), S = p || x, { setRef: C } = Q({
6257
6258
  ref: b,
6258
6259
  value: e,
6259
6260
  onChange: t,
6260
- readValue: Qe,
6261
- writeValue: $e
6261
+ readValue: dt,
6262
+ writeValue: ft
6262
6263
  });
6263
6264
  return /* @__PURE__ */ D("div", {
6264
6265
  className: `field${g ? ` ${g}` : ""}`,
@@ -6269,7 +6270,7 @@ var di = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6269
6270
  children: [
6270
6271
  i,
6271
6272
  c && /* @__PURE__ */ E(Z, {}),
6272
- _ && /* @__PURE__ */ E(qe, {
6273
+ _ && /* @__PURE__ */ E(ot, {
6273
6274
  label: v,
6274
6275
  children: _
6275
6276
  })
@@ -6302,8 +6303,8 @@ var di = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6302
6303
  }) : null
6303
6304
  ]
6304
6305
  });
6305
- }), fi = 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) {
6306
- 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);
6307
6308
  let C = s(), w = u || C, T = [
6308
6309
  "textarea",
6309
6310
  h ? "autosize" : "",
@@ -6338,7 +6339,7 @@ var di = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6338
6339
  children: [
6339
6340
  e,
6340
6341
  t && /* @__PURE__ */ E(Z, {}),
6341
- i && /* @__PURE__ */ E(qe, {
6342
+ i && /* @__PURE__ */ E(ot, {
6342
6343
  label: c,
6343
6344
  children: i
6344
6345
  })
@@ -6373,7 +6374,99 @@ var di = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6373
6374
  })
6374
6375
  ]
6375
6376
  });
6376
- }), pi = {
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 = {
6377
6470
  done: "check",
6378
6471
  current: "clock",
6379
6472
  "on-hold": "lock",
@@ -6382,8 +6475,8 @@ var di = i(function({ values: e, onChange: t, placeholder: n = "Add…", name: r
6382
6475
  skipped: "arrow-right",
6383
6476
  upcoming: null
6384
6477
  };
6385
- function mi({ items: e = [], variant: t = "feed", orientation: n = "vertical", size: r, className: i = "", style: a, ...o }) {
6386
- 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);
6387
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;
6388
6481
  return /* @__PURE__ */ E("ol", {
6389
6482
  className: c,
@@ -6393,7 +6486,7 @@ function mi({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
6393
6486
  } : a,
6394
6487
  ...o,
6395
6488
  children: e.map((e, t) => {
6396
- let n = s ? e.status : void 0, r = n ? ` is-${n}` : "", i = e.tone && e.tone !== "neutral" ? ` ${e.tone}` : "", a = s ? e.icon ?? (n ? pi[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";
6397
6490
  return /* @__PURE__ */ D("li", {
6398
6491
  className: `timeline-item${r}${i}`,
6399
6492
  children: [/* @__PURE__ */ E("span", {
@@ -6463,80 +6556,87 @@ function mi({ items: e = [], variant: t = "feed", orientation: n = "vertical", s
6463
6556
  }
6464
6557
  //#endregion
6465
6558
  //#region src/components/AppTimePicker.jsx
6466
- var hi = 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) {
6467
- W("AppTimePicker", y);
6468
- let x = s(), S = h || o || x, { setRef: C } = Q({
6469
- 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,
6470
6563
  value: e ?? "",
6471
6564
  onChange: t
6472
- }), w = !n && !a && !i, T = a ? `${S}-error` : void 0, O = i ? `${S}-hint` : void 0, k = /* @__PURE__ */ E("wui-timepicker", {
6473
- ref: C,
6474
- id: S,
6475
- name: o,
6476
- min: c,
6477
- max: l,
6478
- step: u == null ? void 0 : String(u),
6479
- format: d,
6480
- placeholder: f,
6481
- size: m || void 0,
6482
- "aria-label": g || (typeof n == "string" ? n : void 0),
6483
- "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,
6484
6577
  "aria-invalid": a ? "true" : void 0,
6485
- disabled: p ? "" : void 0,
6578
+ disabled: h ? "" : void 0,
6486
6579
  required: r ? "" : void 0,
6487
- className: _ || void 0,
6488
- ...y
6580
+ className: y || void 0,
6581
+ ...x
6489
6582
  });
6490
- return w ? k : /* @__PURE__ */ D("div", {
6491
- className: `field${v ? ` ${v}` : ""}`,
6583
+ return O ? j : /* @__PURE__ */ D("div", {
6584
+ className: `field${b ? ` ${b}` : ""}`,
6492
6585
  children: [
6493
6586
  n && /* @__PURE__ */ D("label", {
6494
6587
  className: "label",
6495
- htmlFor: S,
6496
- 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
+ ]
6497
6597
  }),
6498
- k,
6598
+ j,
6499
6599
  a && /* @__PURE__ */ E("div", {
6500
6600
  className: "field-error",
6501
- id: T,
6601
+ id: k,
6502
6602
  children: a
6503
6603
  }),
6504
6604
  !a && i && /* @__PURE__ */ E("div", {
6505
6605
  className: "field-hint",
6506
- id: O,
6606
+ id: A,
6507
6607
  children: i
6508
6608
  })
6509
6609
  ]
6510
6610
  });
6511
- }), gi = 6, $ = [], _i = /* @__PURE__ */ new Set(), vi = /* @__PURE__ */ new Map(), yi = /* @__PURE__ */ new Set(), bi = 0;
6512
- function xi() {
6513
- for (let e of _i) 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($);
6514
6614
  }
6515
- function Si(e) {
6516
- let t = vi.get(e);
6517
- t !== void 0 && (clearTimeout(t), vi.delete(e));
6615
+ function zi(e) {
6616
+ let t = Fi.get(e);
6617
+ t !== void 0 && (clearTimeout(t), Fi.delete(e));
6518
6618
  }
6519
- function Ci(e, t) {
6520
- if (e.length <= gi) return e;
6619
+ function Bi(e, t) {
6620
+ if (e.length <= Ni) return e;
6521
6621
  let n = [...e], r = [];
6522
- for (; n.length > gi;) {
6622
+ for (; n.length > Ni;) {
6523
6623
  let e = n.findIndex((e) => e.id !== t && e.duration !== 0);
6524
6624
  r.push(n.splice(e === -1 ? n.findIndex((e) => e.id !== t) : e, 1)[0]);
6525
6625
  }
6526
- for (let e of r) Si(e.id), yi.delete(e.id);
6626
+ for (let e of r) zi(e.id), Ii.delete(e.id);
6527
6627
  return n;
6528
6628
  }
6529
- function wi(e) {
6530
- return _i.add(e), e($), () => {
6531
- if (_i.delete(e), _i.size === 0) for (let e of $) e.duration > 0 && !vi.has(e.id) && (yi.delete(e.id), vi.set(e.id, setTimeout(() => Di(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)));
6532
6632
  };
6533
6633
  }
6534
- function Ti(e, t, n = {}) {
6634
+ function Hi(e, t, n = {}) {
6535
6635
  let r = n.id, i = r || typeof e != "string" ? void 0 : `${t}:${e}`;
6536
6636
  if (r) {
6537
6637
  let i = $.find((e) => e.externalId === r);
6538
6638
  if (i) {
6539
- Si(i.id);
6639
+ zi(i.id);
6540
6640
  let r = n.duration === void 0 ? 5e3 : n.duration;
6541
6641
  $ = $.map((a) => a.id === i.id ? {
6542
6642
  ...a,
@@ -6549,12 +6649,12 @@ function Ti(e, t, n = {}) {
6549
6649
  shape: n.shape,
6550
6650
  surface: n.surface,
6551
6651
  progress: n.progress
6552
- } : a), xi(), r > 0 && !yi.has(i.id) && vi.set(i.id, setTimeout(() => Di(i.id), r));
6652
+ } : a), Ri(), r > 0 && !Ii.has(i.id) && Fi.set(i.id, setTimeout(() => Wi(i.id), r));
6553
6653
  return;
6554
6654
  }
6555
6655
  } else if (i && $.some((e) => e.key === i)) return;
6556
- let a = ++bi, o = n.duration === void 0 ? 5e3 : n.duration;
6557
- $ = Ci([...$, {
6656
+ let a = ++Li, o = n.duration === void 0 ? 5e3 : n.duration;
6657
+ $ = Bi([...$, {
6558
6658
  id: a,
6559
6659
  externalId: r,
6560
6660
  message: e,
@@ -6567,25 +6667,25 @@ function Ti(e, t, n = {}) {
6567
6667
  surface: n.surface,
6568
6668
  progress: n.progress,
6569
6669
  key: i
6570
- }], a), xi(), o > 0 && vi.set(a, setTimeout(() => Di(a), o));
6670
+ }], a), Ri(), o > 0 && Fi.set(a, setTimeout(() => Wi(a), o));
6571
6671
  }
6572
- function Ei(e) {
6573
- Si(e), yi.add(e);
6672
+ function Ui(e) {
6673
+ zi(e), Ii.add(e);
6574
6674
  }
6575
- function Di(e) {
6576
- Si(e), yi.delete(e);
6675
+ function Wi(e) {
6676
+ zi(e), Ii.delete(e);
6577
6677
  let t = $.filter((t) => t.id !== e);
6578
- t.length !== $.length && ($ = t, xi());
6678
+ t.length !== $.length && ($ = t, Ri());
6579
6679
  }
6580
- function Oi() {
6581
- if (!($.length === 0 && vi.size === 0 && yi.size === 0)) {
6582
- for (let e of vi.values()) clearTimeout(e);
6583
- vi.clear(), yi.clear(), $.length !== 0 && ($ = [], xi());
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());
6584
6684
  }
6585
6685
  }
6586
6686
  //#endregion
6587
6687
  //#region src/components/AppToast.jsx
6588
- var ki = {
6688
+ var Ki = {
6589
6689
  success: {
6590
6690
  icon: "check-circle",
6591
6691
  assertive: !1
@@ -6602,7 +6702,7 @@ var ki = {
6602
6702
  icon: "alert-circle",
6603
6703
  assertive: !0
6604
6704
  }
6605
- }, Ai = {
6705
+ }, qi = {
6606
6706
  "top-start": "top-0 start-0",
6607
6707
  "top-center": "top-0 start-50 translate-middle-x",
6608
6708
  "top-end": "top-0 end-0",
@@ -6610,21 +6710,21 @@ var ki = {
6610
6710
  "bottom-start": "bottom-0 start-0",
6611
6711
  "bottom-center": "bottom-0 start-50 translate-middle-x",
6612
6712
  "bottom-end": "bottom-0 end-0"
6613
- }, ji = 64, Mi = /* @__PURE__ */ new Set([
6713
+ }, Ji = 64, Yi = /* @__PURE__ */ new Set([
6614
6714
  "rise",
6615
6715
  "organic",
6616
6716
  "jelly",
6617
6717
  "spring"
6618
- ]), Ni = /* @__PURE__ */ new Set([
6718
+ ]), Xi = /* @__PURE__ */ new Set([
6619
6719
  "rounded",
6620
6720
  "pill",
6621
6721
  "sharp"
6622
- ]), Pi = /* @__PURE__ */ new Set(["auto", "inverse"]);
6623
- function Fi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "rise", shape: r = "rounded", surface: i = "auto", className: a = "", ...s }) {
6624
- W("AppToast", s), G("AppToast", "position", e, Object.keys(Ai)), G("AppToast", "animation", n, Mi), G("AppToast", "shape", r, Ni), G("AppToast", "surface", i, Pi);
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);
6625
6725
  let [c, l] = f([]);
6626
- o(() => wi(l), []);
6627
- let u = Math.max(0, c.length - t), d = u ? c.slice(u) : c, p = Ai[e] ?? Ai["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"];
6628
6728
  return /* @__PURE__ */ D("div", {
6629
6729
  ...s,
6630
6730
  className: `wui-toast-container toast-container position-fixed ${p} p-3 ${a}`.trim(),
@@ -6636,7 +6736,7 @@ function Fi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
6636
6736
  u,
6637
6737
  " more"
6638
6738
  ]
6639
- }), d.map((e) => /* @__PURE__ */ E(Ii, {
6739
+ }), d.map((e) => /* @__PURE__ */ E($i, {
6640
6740
  toast: e,
6641
6741
  defaultAnimation: n,
6642
6742
  defaultShape: r,
@@ -6644,14 +6744,14 @@ function Fi({ position: e = "bottom-end", maxVisible: t = 4, animation: n = "ris
6644
6744
  }, e.id))]
6645
6745
  });
6646
6746
  }
6647
- function Ii({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded", defaultSurface: r = "auto" }) {
6648
- let i = ki[e.variant] ?? ki.success, a = Mi.has(e.animation) ? e.animation : t, s = Ni.has(e.shape) ? e.shape : n, c = Pi.has(e.surface) ? e.surface : r, l = (a !== "rise" && Mi.has(a) ? ` wui-toast--anim-${a}` : "") + (s !== "rounded" && Ni.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 = () => Di(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);
6649
6749
  o(() => {
6650
6750
  if (e.duration === 0) return;
6651
- Ei(e.id);
6751
+ Ui(e.id);
6652
6752
  let t = y.current, n = t == null ? "" : getComputedStyle(t).animationName;
6653
6753
  if (t != null && (typeof t.getAnimations == "function" ? t.getAnimations().length > 0 : n !== "" && n !== "none")) return;
6654
- let r = setTimeout(() => Di(e.id), e.duration);
6754
+ let r = setTimeout(() => Wi(e.id), e.duration);
6655
6755
  return () => clearTimeout(r);
6656
6756
  }, [e.id, e.duration]);
6657
6757
  let b = (e) => {
@@ -6663,7 +6763,7 @@ function Ii({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
6663
6763
  }, C = (e) => {
6664
6764
  if (_.current === null) return;
6665
6765
  let t = e.clientX - _.current;
6666
- if (Math.abs(t) > ji) {
6766
+ if (Math.abs(t) > Ji) {
6667
6767
  v();
6668
6768
  return;
6669
6769
  }
@@ -6747,8 +6847,8 @@ function Ii({ toast: e, defaultAnimation: t = "rise", defaultShape: n = "rounded
6747
6847
  }
6748
6848
  //#endregion
6749
6849
  //#region src/components/AppToolbar.jsx
6750
- function Li({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelect: i, label: a, name: o, disabled: c = !1, className: l = "", ...u }) {
6751
- 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);
6752
6852
  let d = s(), p = o || d, [m, h] = f(r), g = n === void 0 ? m : n;
6753
6853
  return /* @__PURE__ */ D("div", {
6754
6854
  className: [
@@ -6805,8 +6905,8 @@ function Li({ items: e = [], actions: t = [], value: n, defaultValue: r, onSelec
6805
6905
  }
6806
6906
  //#endregion
6807
6907
  //#region src/components/AppWizard.jsx
6808
- var Ri = 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) {
6809
- 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);
6810
6910
  let O = d(null), k = (e) => {
6811
6911
  O.current = e, typeof D == "function" ? D(e) : D && (D.current = e);
6812
6912
  }, A = e.toArray(n), j = [p && `wui-step-tone-${p}`, w].filter(Boolean).join(" ");
@@ -6857,15 +6957,15 @@ var Ri = i(function({ steps: t = [], children: n, active: r, defaultActive: i =
6857
6957
  children: A[t]
6858
6958
  }, e.key ?? `${e.label}-${t}`))
6859
6959
  });
6860
- }), zi = /* @__PURE__ */ new Set([
6960
+ }), na = /* @__PURE__ */ new Set([
6861
6961
  "ArrowUp",
6862
6962
  "ArrowDown",
6863
6963
  "ArrowLeft",
6864
6964
  "ArrowRight"
6865
6965
  ]);
6866
- function Bi({ 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, ..._ }) {
6867
6967
  let { onToggle: y, ...b } = _;
6868
- W("AppWorkspaceSwitcher", b);
6968
+ G("AppWorkspaceSwitcher", b);
6869
6969
  let [x, S] = f(""), [C, w] = f(!1), T = d(null), O = (e, t) => {
6870
6970
  w(e), y?.(e, t);
6871
6971
  }, k = e.find((e) => e.id === t) ?? e[0], A = u(() => {
@@ -6883,7 +6983,7 @@ function Bi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6883
6983
  let e = T.current;
6884
6984
  if (!e) return;
6885
6985
  let t = (e) => {
6886
- if (zi.has(e.key)) {
6986
+ if (na.has(e.key)) {
6887
6987
  e.stopPropagation();
6888
6988
  return;
6889
6989
  }
@@ -6901,7 +7001,7 @@ function Bi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6901
7001
  onToggle: O,
6902
7002
  ...b,
6903
7003
  children: [/* @__PURE__ */ E(v.Toggle, {
6904
- as: Wi,
7004
+ as: sa,
6905
7005
  compact: m,
6906
7006
  tenant: k,
6907
7007
  "aria-label": M
@@ -6936,7 +7036,7 @@ function Bi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6936
7036
  className: `workspace-switcher-option${e.id === k?.id ? " is-active" : ""}`,
6937
7037
  onClick: () => n?.(e),
6938
7038
  children: [
6939
- /* @__PURE__ */ E(Hi, { tenant: e }),
7039
+ /* @__PURE__ */ E(aa, { tenant: e }),
6940
7040
  /* @__PURE__ */ E("span", {
6941
7041
  className: "workspace-switcher-option-name",
6942
7042
  children: e.name
@@ -6968,17 +7068,17 @@ function Bi({ tenants: e = [], currentId: t, onSelect: n, menuLabel: r, footerAc
6968
7068
  }) : null,
6969
7069
  i ? /* @__PURE__ */ E("div", {
6970
7070
  className: "workspace-switcher-footer",
6971
- children: Ui(i, a)
7071
+ children: oa(i, a)
6972
7072
  }) : null
6973
7073
  ]
6974
7074
  })]
6975
7075
  });
6976
7076
  }
6977
- function Vi(e) {
7077
+ function ia(e) {
6978
7078
  let t = String(e ?? "").trim().split(/\s+/).filter(Boolean);
6979
7079
  return t.length === 0 ? "" : (t[0][0] + (t.length > 1 ? t[t.length - 1][0] : "")).toUpperCase();
6980
7080
  }
6981
- function Hi({ tenant: e }) {
7081
+ function aa({ tenant: e }) {
6982
7082
  return e?.logoUrl ? /* @__PURE__ */ E("img", {
6983
7083
  className: "workspace-switcher-mark",
6984
7084
  src: e.logoUrl,
@@ -6986,10 +7086,10 @@ function Hi({ tenant: e }) {
6986
7086
  loading: "lazy"
6987
7087
  }) : /* @__PURE__ */ E("span", {
6988
7088
  className: "workspace-switcher-mark",
6989
- children: Vi(e?.name)
7089
+ children: ia(e?.name)
6990
7090
  });
6991
7091
  }
6992
- function Ui(e, t) {
7092
+ function oa(e, t) {
6993
7093
  if (typeof e != "object" || !e || !("label" in e)) return e;
6994
7094
  let { label: n, icon: r, href: i } = e;
6995
7095
  return /* @__PURE__ */ D(i ? t ?? "a" : "button", {
@@ -7001,7 +7101,7 @@ function Ui(e, t) {
7001
7101
  }) : null, n]
7002
7102
  });
7003
7103
  }
7004
- var Wi = 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) {
7005
7105
  return /* @__PURE__ */ D("button", {
7006
7106
  ref: a,
7007
7107
  type: "button",
@@ -7009,7 +7109,7 @@ var Wi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
7009
7109
  "aria-haspopup": "true",
7010
7110
  "aria-label": n,
7011
7111
  ...i,
7012
- children: [/* @__PURE__ */ E(Hi, { 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", {
7013
7113
  className: "workspace-switcher-trigger-name",
7014
7114
  children: t?.name
7015
7115
  }), /* @__PURE__ */ E(Y, {
@@ -7021,36 +7121,36 @@ var Wi = i(function({ compact: e, tenant: t, "aria-label": n, className: r, ...i
7021
7121
  });
7022
7122
  //#endregion
7023
7123
  //#region src/components/toast.js
7024
- function Gi() {
7025
- Oi();
7124
+ function ca() {
7125
+ Gi();
7026
7126
  }
7027
- var Ki = /* @__PURE__ */ new Set([
7127
+ var la = /* @__PURE__ */ new Set([
7028
7128
  "success",
7029
7129
  "info",
7030
7130
  "warning",
7031
7131
  "danger"
7032
7132
  ]);
7033
- function qi(e, t = "info") {
7133
+ function ua(e, t = "info") {
7034
7134
  let n = "info", r = {};
7035
- typeof t == "string" ? n = Ki.has(t) ? t : "info" : typeof t == "object" && t && (r = t, n = Ki.has(r.variant) ? r.variant : "info"), Ti(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);
7036
7136
  }
7037
- function Ji(e, t = {}) {
7038
- Ti(e, "danger", t);
7137
+ function da(e, t = {}) {
7138
+ Hi(e, "danger", t);
7039
7139
  }
7040
- qi.promise = (e, t, n = {}) => {
7140
+ ua.promise = (e, t, n = {}) => {
7041
7141
  let r = n.id || `promise-${Date.now()}-${Math.random()}`;
7042
- return qi(t.loading || "Loading...", {
7142
+ return ua(t.loading || "Loading...", {
7043
7143
  ...n,
7044
7144
  variant: "info",
7045
7145
  id: r,
7046
7146
  duration: 0
7047
- }), e.then((e) => (qi((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", {
7048
7148
  ...n,
7049
7149
  variant: "success",
7050
7150
  id: r,
7051
7151
  duration: n.duration === void 0 ? 5e3 : n.duration
7052
7152
  }), e)).catch((e) => {
7053
- throw qi((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
7153
+ throw ua((typeof t.error == "function" ? t.error(e) : t.error) || "Error", {
7054
7154
  ...n,
7055
7155
  variant: "danger",
7056
7156
  id: r,
@@ -7060,7 +7160,7 @@ qi.promise = (e, t, n = {}) => {
7060
7160
  };
7061
7161
  //#endregion
7062
7162
  //#region src/lib/useCommandPaletteShortcut.js
7063
- function Yi(e, { key: t = "k" } = {}) {
7163
+ function fa(e, { key: t = "k" } = {}) {
7064
7164
  let n = d(e);
7065
7165
  o(() => {
7066
7166
  n.current = e;
@@ -7073,7 +7173,7 @@ function Yi(e, { key: t = "k" } = {}) {
7073
7173
  }
7074
7174
  //#endregion
7075
7175
  //#region src/lib/usePagination.js
7076
- function Xi(e, t = 10) {
7176
+ function pa(e, t = 10) {
7077
7177
  let [n, r] = f(1), [i, a] = f(t), s = e.length, c = Math.max(1, Math.ceil(s / i));
7078
7178
  o(() => {
7079
7179
  n > c && r(c);
@@ -7100,10 +7200,10 @@ function Xi(e, t = 10) {
7100
7200
  }
7101
7201
  //#endregion
7102
7202
  //#region src/lib/useTableView.js
7103
- var Zi = (e) => `wui-view:${e}`;
7104
- function Qi(e, t) {
7203
+ var ma = (e) => `wui-view:${e}`;
7204
+ function ha(e, t) {
7105
7205
  try {
7106
- let n = window.localStorage.getItem(Zi(e));
7206
+ let n = window.localStorage.getItem(ma(e));
7107
7207
  if (!n) return t;
7108
7208
  let r = JSON.parse(n);
7109
7209
  return {
@@ -7114,14 +7214,14 @@ function Qi(e, t) {
7114
7214
  return t;
7115
7215
  }
7116
7216
  }
7117
- function $i(e, { sort: t } = {}) {
7118
- let [n, r] = f(() => Qi(e, {
7217
+ function ga(e, { sort: t } = {}) {
7218
+ let [n, r] = f(() => ha(e, {
7119
7219
  hidden: [],
7120
7220
  sort: t
7121
7221
  }));
7122
7222
  o(() => {
7123
7223
  try {
7124
- window.localStorage.setItem(Zi(e), JSON.stringify(n));
7224
+ window.localStorage.setItem(ma(e), JSON.stringify(n));
7125
7225
  } catch {}
7126
7226
  }, [e, n]);
7127
7227
  let i = a((e) => r((t) => ({
@@ -7139,4 +7239,4 @@ function $i(e, { sort: t } = {}) {
7139
7239
  };
7140
7240
  }
7141
7241
  //#endregion
7142
- 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, er as AppPageHeader, tr as AppPagination, nr as AppPhoneNumberInput, Ge as AppPopover, rr as AppPricingCard, or as AppProgress, Fr as AppQrCode, Ir as AppRadio, Lr as AppRadioGroup, Rr as AppRepeater, Z as AppRequiredMark, zr as AppResourceCard, Vr as AppResult, Hr as AppScrollbar, Ur as AppSearch, Gr as AppSegmented, qr as AppSelect, an as AppSelectMini, Jr as AppShell, Zr as AppSidebarMenu, en as AppSkeleton, tn as AppSkeletonRows, Qr as AppSlider, He as AppSpinner, ei as AppSplash, ti as AppStatusBadge, ni as AppStepper, ii as AppSwitch, ai as AppTableEmptyState, sn as AppTablePagination, oi as AppTableToolbar, ui as AppTabs, di as AppTagInput, fi as AppTextarea, hi as AppTimePicker, mi as AppTimeline, Fi as AppToast, Li as AppToolbar, ce as AppTooltip, Ri as AppWizard, Bi as AppWorkspaceSwitcher, Kt as MODAL_ICONS, Gi as dismissAll, Ji as errorToast, Ee as iconNames, Oe as registerIcons, qi as toast, Yi as useCommandPaletteShortcut, Xi as usePagination, $i 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 };