@luzmo/lucero 0.0.4 → 0.0.8
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/components/accordion/accordion-item.d.ts +24 -0
- package/components/accordion/accordion.d.ts +42 -0
- package/components/accordion/index.cjs +43 -0
- package/components/accordion/index.d.ts +10 -0
- package/{lib → components}/accordion/index.js +10 -11
- package/components/action-bar/action-bar.d.ts +42 -0
- package/components/action-bar/index.cjs +39 -0
- package/components/action-bar/index.d.ts +7 -0
- package/{lib → components}/action-bar/index.js +9 -10
- package/components/action-button/action-button.d.ts +81 -0
- package/components/action-button/index.cjs +24 -0
- package/components/action-button/index.d.ts +7 -0
- package/{lib → components}/action-button/index.js +6 -7
- package/components/action-group/action-group.d.ts +50 -0
- package/{lib → components}/action-group/index.cjs +1 -1
- package/components/action-group/index.d.ts +7 -0
- package/{lib → components}/action-group/index.js +1 -1
- package/components/action-group-Uimj-MJP.cjs +20 -0
- package/{lib/action-group-BoIH8s8R.js → components/action-group-enfc-YnW.js} +11 -12
- package/components/action-menu/action-menu.d.ts +40 -0
- package/{lib → components}/action-menu/index.cjs +5 -5
- package/components/action-menu/index.d.ts +7 -0
- package/{lib → components}/action-menu/index.js +10 -11
- package/{lib/async-directive-FGzMycjH.js → components/async-directive-DWRUSKKF.js} +1 -1
- package/{lib/async-directive-CV2MII86.cjs → components/async-directive-D_Ter1F8.cjs} +1 -1
- package/components/avatar/avatar.d.ts +31 -0
- package/components/avatar/index.cjs +24 -0
- package/components/avatar/index.d.ts +7 -0
- package/{lib → components}/avatar/index.js +13 -14
- package/components/base-B7Pfl2if.cjs +40 -0
- package/components/base-CawdqE7p.js +666 -0
- package/components/button/button-base.d.ts +44 -0
- package/components/button/button.d.ts +59 -0
- package/components/button/clear-button.d.ts +22 -0
- package/components/button/close-button.d.ts +24 -0
- package/components/button/index.cjs +20 -0
- package/components/button/index.d.ts +13 -0
- package/{lib → components}/button/index.js +11 -12
- package/{lib/button-base-DgtT6sU5.js → components/button-base-B7v4eeRh.js} +13 -12
- package/components/button-base-DmjYs2s9.cjs +25 -0
- package/components/button-group/button-group.d.ts +19 -0
- package/components/button-group/index.cjs +18 -0
- package/components/button-group/index.d.ts +7 -0
- package/{lib → components}/button-group/index.js +7 -8
- package/components/checkbox/checkbox-base.d.ts +9 -0
- package/components/checkbox/checkbox-mixin.d.ts +14 -0
- package/components/checkbox/checkbox.d.ts +54 -0
- package/components/checkbox/index.cjs +25 -0
- package/components/checkbox/index.d.ts +7 -0
- package/{lib → components}/checkbox/index.js +5 -6
- package/{lib/checkbox-mixin-DegQlk5C.js → components/checkbox-mixin-BFGTmw17.js} +15 -16
- package/{lib/checkbox-mixin-H0Hm-VLk.cjs → components/checkbox-mixin-DUhXwD46.cjs} +3 -3
- package/{lib/clear-button-Ap5H3UyH.js → components/clear-button-DgZmX5RX.js} +9 -10
- package/components/clear-button-KdrF2jaV.cjs +18 -0
- package/{lib/close-button-CGISEF33.js → components/close-button-CFHQnbsK.js} +7 -8
- package/components/close-button-DVGUppyd.cjs +18 -0
- package/components/color-area/color-area.d.ts +67 -0
- package/components/color-area/index.cjs +80 -0
- package/components/color-area/index.d.ts +7 -0
- package/{lib → components}/color-area/index.js +11 -11
- package/components/color-field/color-field.d.ts +20 -0
- package/components/color-field/index.cjs +23 -0
- package/components/color-field/index.d.ts +7 -0
- package/{lib → components}/color-field/index.js +2 -3
- package/components/color-handle/color-handle.d.ts +13 -0
- package/components/color-handle/index.cjs +24 -0
- package/components/color-handle/index.d.ts +7 -0
- package/{lib → components}/color-handle/index.js +2 -3
- package/components/color-loupe/color-loupe.d.ts +7 -0
- package/{lib → components}/color-loupe/index.cjs +1 -1
- package/components/color-loupe/index.d.ts +7 -0
- package/{lib → components}/color-loupe/index.js +1 -1
- package/{lib/color-loupe-DBEApMDT.js → components/color-loupe-DxcqXoJ6.js} +3 -4
- package/components/color-loupe-SskbNeMp.cjs +56 -0
- package/components/color-menu/color-menu.d.ts +54 -0
- package/components/color-menu/index.cjs +86 -0
- package/components/color-menu/index.d.ts +7 -0
- package/{lib → components}/color-menu/index.js +9 -10
- package/components/color-picker/color-picker.d.ts +39 -0
- package/components/color-picker/index.cjs +48 -0
- package/components/color-picker/index.d.ts +7 -0
- package/{lib → components}/color-picker/index.js +33 -34
- package/components/color-slider/color-slider.d.ts +57 -0
- package/components/color-slider/index.cjs +57 -0
- package/components/color-slider/index.d.ts +7 -0
- package/{lib → components}/color-slider/index.js +6 -6
- package/{lib/directive-helpers-C2vOfhFx.cjs → components/directive-helpers-TkFq2eZF.cjs} +1 -1
- package/{lib/directive-helpers-BLDZnGQv.js → components/directive-helpers-nlQRAaQt.js} +1 -1
- package/components/divider/divider.d.ts +24 -0
- package/components/divider/index.cjs +18 -0
- package/components/divider/index.d.ts +7 -0
- package/{lib → components}/divider/index.js +6 -7
- package/components/field-group/field-group.d.ts +24 -0
- package/{lib → components}/field-group/index.cjs +1 -1
- package/components/field-group/index.d.ts +7 -0
- package/{lib → components}/field-group/index.js +1 -1
- package/{lib/field-group-CBWafIUV.js → components/field-group-DAhrTCfl.js} +2 -3
- package/components/field-group-DSY2HUoj.cjs +23 -0
- package/components/field-label/field-label.d.ts +50 -0
- package/{lib → components}/field-label/index.cjs +1 -1
- package/components/field-label/index.d.ts +7 -0
- package/{lib → components}/field-label/index.js +2 -2
- package/{lib/field-label-BK_tk8vP.js → components/field-label-CAFfGxEL.js} +15 -16
- package/components/field-label-CjsQ3ujK.cjs +25 -0
- package/{lib/focusable-Dv_6CFaY.cjs → components/focusable-DGWL1v1p.cjs} +1 -1
- package/{lib/focusable-DbUg-3Vp.js → components/focusable-cj2QhwDT.js} +1 -1
- package/components/icon/icon-base.d.ts +11 -0
- package/components/icon/icon.d.ts +12 -0
- package/components/icon/index.cjs +18 -0
- package/components/icon/index.d.ts +7 -0
- package/{lib → components}/icon/index.js +4 -5
- package/{lib/if-defined-Cv6xanXh.cjs → components/if-defined-B56xGmAg.cjs} +2 -2
- package/{lib/if-defined-CYpcjGCb.js → components/if-defined-BSAr_4u4.js} +1 -1
- package/{lib/index-ovT-qVzf.js → components/index-CMvLpPKD.js} +8 -9
- package/{lib/index-yNcLzjhM.cjs → components/index-DnWavOZD.cjs} +15 -15
- package/components/index.cjs +18 -0
- package/{lib → components}/index.js +131 -90
- package/components/infield-button/index.cjs +22 -0
- package/components/infield-button/index.d.ts +7 -0
- package/{lib → components}/infield-button/index.js +3 -4
- package/components/infield-button/infield-button.d.ts +25 -0
- package/components/label/index.cjs +18 -0
- package/components/label/index.d.ts +7 -0
- package/{lib → components}/label/index.js +1 -2
- package/components/label/label.d.ts +7 -0
- package/components/language-resolution-8yZa5r_P.js +53 -0
- package/components/language-resolution-DJzmyzZq.cjs +18 -0
- package/{lib/like-anchor-K8W0QYwC.cjs → components/like-anchor-Bmabl9ra.cjs} +4 -4
- package/{lib/like-anchor-cDeGGeHh.js → components/like-anchor-QBlvwFfT.js} +8 -9
- package/{lib/manage-help-text-2mSEy-AD.js → components/manage-help-text-Cozl9Sgn.js} +8 -8
- package/{lib/manage-help-text-iOk-zmy8.cjs → components/manage-help-text-OHXDgxyj.cjs} +3 -3
- package/{lib → components}/menu/index.cjs +1 -1
- package/components/menu/index.d.ts +16 -0
- package/{lib → components}/menu/index.js +1 -1
- package/components/menu/menu-divider.d.ts +14 -0
- package/components/menu/menu-group.d.ts +17 -0
- package/components/menu/menu-item.d.ts +125 -0
- package/components/menu/menu.d.ts +119 -0
- package/components/multi-language-field/index.cjs +39 -0
- package/components/multi-language-field/index.d.ts +7 -0
- package/{lib → components}/multi-language-field/index.js +6 -7
- package/components/multi-language-field/multi-language-field.d.ts +41 -0
- package/components/number-field/index.cjs +57 -0
- package/components/number-field/index.d.ts +7 -0
- package/{lib → components}/number-field/index.js +24 -24
- package/components/number-field/number-field.d.ts +113 -0
- package/{lib/observe-slot-text-BmsCNJig.cjs → components/observe-slot-text-CrYB2Pj-.cjs} +1 -1
- package/{lib/observe-slot-text-BoFRF-VI.js → components/observe-slot-text-ggb4kKgY.js} +1 -1
- package/components/overlay/abstract-overlay.d.ts +72 -0
- package/components/overlay/click-controller.d.ts +14 -0
- package/components/overlay/events.d.ts +23 -0
- package/components/overlay/full-size-plugin.d.ts +12 -0
- package/components/overlay/hover-controller.d.ts +20 -0
- package/components/overlay/index.cjs +73 -0
- package/components/overlay/index.d.ts +22 -0
- package/{lib → components}/overlay/index.js +55 -38
- package/components/overlay/interaction-controller.d.ts +38 -0
- package/components/overlay/loader.d.ts +4 -0
- package/components/overlay/longpress-controller.d.ts +21 -0
- package/components/overlay/overlay-dialog.d.ts +4 -0
- package/components/overlay/overlay-events.d.ts +11 -0
- package/components/overlay/overlay-no-popover.d.ts +4 -0
- package/components/overlay/overlay-popover.d.ts +4 -0
- package/components/overlay/overlay-stack.d.ts +44 -0
- package/components/overlay/overlay-timer.d.ts +21 -0
- package/components/overlay/overlay-trigger-directive.d.ts +26 -0
- package/components/overlay/overlay-trigger.d.ts +53 -0
- package/components/overlay/overlay-types.d.ts +50 -0
- package/components/overlay/overlay.d.ts +464 -0
- package/components/overlay/placement-controller.d.ts +157 -0
- package/components/overlay/slottable-request-directive.d.ts +17 -0
- package/components/overlay/slottable-request-event.d.ts +12 -0
- package/components/overlay/strategies.d.ts +8 -0
- package/components/overlay/virtual-trigger.d.ts +7 -0
- package/{lib/overlay-C7QKFqRc.js → components/overlay-CJ9by37f.js} +94 -84
- package/components/overlay-Deh6Ki6I.cjs +47 -0
- package/{lib/pending-state-Dbc2HIM2.cjs → components/pending-state-Do522lTd.cjs} +2 -2
- package/{lib/pending-state-D5KTK4_1.js → components/pending-state-TJj1x9xn.js} +2 -2
- package/components/picker/desktop-controller.d.ts +7 -0
- package/{lib → components}/picker/index.cjs +1 -1
- package/components/picker/index.d.ts +7 -0
- package/{lib → components}/picker/index.js +2 -2
- package/components/picker/interaction-controller.d.ts +43 -0
- package/components/picker/mobile-controller.d.ts +9 -0
- package/components/picker/picker.d.ts +154 -0
- package/components/picker/strategies.d.ts +6 -0
- package/components/picker-833Apxe4.js +655 -0
- package/components/picker-DDx8ii73.cjs +127 -0
- package/{lib/platform-DQYMG7JI.js → components/platform-BM-uMWpX.js} +34 -19
- package/components/platform-BiXhwqk3.cjs +18 -0
- package/{lib → components}/popover/index.cjs +1 -1
- package/components/popover/index.d.ts +7 -0
- package/{lib → components}/popover/index.js +2 -2
- package/components/popover/popover.d.ts +29 -0
- package/components/popover-BGOgXaka.cjs +30 -0
- package/{lib/popover-ZRVxogyp.js → components/popover-DlkzrLpl.js} +8 -9
- package/{lib → components}/progress-circle/index.cjs +1 -1
- package/components/progress-circle/index.d.ts +7 -0
- package/{lib → components}/progress-circle/index.js +1 -1
- package/components/progress-circle/progress-circle.d.ts +35 -0
- package/{lib/progress-circle-DpXiqW6a.js → components/progress-circle-Be24kv6B.js} +5 -6
- package/components/progress-circle-NNbCMK2i.cjs +33 -0
- package/components/radio/index.cjs +22 -0
- package/components/radio/index.d.ts +10 -0
- package/{lib → components}/radio/index.js +10 -11
- package/components/radio/radio-group.d.ts +27 -0
- package/components/radio/radio.d.ts +39 -0
- package/components/search/index.cjs +45 -0
- package/components/search/index.d.ts +7 -0
- package/{lib → components}/search/index.js +3 -4
- package/components/search/search.d.ts +27 -0
- package/{lib/sized-mixin-Dl0KoEcV.js → components/sized-mixin-BxMraZLS.js} +1 -1
- package/{lib/sized-mixin-BSYHt8nT.cjs → components/sized-mixin-D9LkrMjb.cjs} +1 -1
- package/components/slider/index.cjs +18 -0
- package/components/slider/index.d.ts +7 -0
- package/{lib → components}/slider/index.js +5 -6
- package/components/slider/slider.d.ts +24 -0
- package/{lib/state-DReJ3hB6.cjs → components/state-C5I1gP3G.cjs} +1 -1
- package/{lib/state-BAO-13Bs.js → components/state-CYxk12SV.js} +1 -1
- package/{lib/streaming-listener-DLo0wkMc.js → components/streaming-listener-CCalHg57.js} +18 -52
- package/components/streaming-listener-KVex1WWB.cjs +18 -0
- package/{lib/style-map-BqvQDFJt.js → components/style-map-Ct2LiEds.js} +1 -1
- package/{lib/style-map-BjBGQ_u3.cjs → components/style-map-uMq-yDJ3.cjs} +2 -2
- package/components/swatch/index.cjs +49 -0
- package/components/swatch/index.d.ts +10 -0
- package/{lib → components}/swatch/index.js +9 -10
- package/components/swatch/swatch-group.d.ts +41 -0
- package/components/swatch/swatch.d.ts +40 -0
- package/components/switch/index.cjs +22 -0
- package/components/switch/index.d.ts +7 -0
- package/{lib → components}/switch/index.js +6 -7
- package/components/switch/switch.d.ts +27 -0
- package/components/tags/index.cjs +32 -0
- package/components/tags/index.d.ts +10 -0
- package/{lib → components}/tags/index.js +17 -18
- package/components/tags/tag.d.ts +29 -0
- package/components/tags/tags.d.ts +28 -0
- package/components/text-field/help-text-manager.d.ts +19 -0
- package/components/text-field/help-text.d.ts +20 -0
- package/components/text-field/index.cjs +21 -0
- package/components/text-field/index.d.ts +14 -0
- package/{lib → components}/text-field/index.js +9 -9
- package/components/text-field/manage-help-text.d.ts +13 -0
- package/components/text-field/text-field.d.ts +142 -0
- package/{lib/text-field-C6Aa7XOb.cjs → components/text-field-5_ev9way.cjs} +15 -15
- package/{lib/text-field-DPk332j9.js → components/text-field-CvKSS59x.js} +28 -30
- package/components/toast/index.cjs +51 -0
- package/components/toast/index.d.ts +7 -0
- package/{lib → components}/toast/index.js +2 -3
- package/components/toast/toast.d.ts +77 -0
- package/components/tooltip/index.cjs +45 -0
- package/components/tooltip/index.d.ts +8 -0
- package/{lib → components}/tooltip/index.js +13 -12
- package/components/tooltip/tooltip-directive.d.ts +5 -0
- package/components/tooltip/tooltip.d.ts +55 -0
- package/components/unit-input/index.cjs +43 -0
- package/components/unit-input/index.d.ts +7 -0
- package/{lib → components}/unit-input/index.js +5 -6
- package/components/unit-input/unit-input.d.ts +33 -0
- package/components/utils.cjs +18 -0
- package/components/utils.js +42 -0
- package/custom-elements.json +1 -0
- package/index.d.ts +40 -0
- package/package.json +141 -103
- package/utils/base.d.ts +16 -0
- package/utils/condition-attribute-with-id.d.ts +2 -0
- package/utils/first-focusable-in.d.ts +3 -0
- package/utils/focus-visible.d.ts +29 -0
- package/utils/focusable-selectors.d.ts +2 -0
- package/utils/focusable.d.ts +58 -0
- package/utils/get-css-variable.d.ts +1 -0
- package/utils/get-label-from-slot.d.ts +1 -0
- package/utils/index.d.ts +6 -0
- package/utils/like-anchor.d.ts +23 -0
- package/utils/observe-slot-presence.d.ts +12 -0
- package/utils/observe-slot-text.d.ts +11 -0
- package/utils/platform.d.ts +10 -0
- package/utils/random-id.d.ts +1 -0
- package/utils/reactive-controllers/color.d.ts +54 -0
- package/utils/reactive-controllers/dependency-manger.d.ts +26 -0
- package/utils/reactive-controllers/element-resolution.d.ts +23 -0
- package/utils/reactive-controllers/focus-group.d.ts +62 -0
- package/utils/reactive-controllers/language-resolution.d.ts +11 -0
- package/utils/reactive-controllers/match-media.d.ts +13 -0
- package/utils/reactive-controllers/pending-state.d.ts +41 -0
- package/utils/reactive-controllers/roving-tabindex.d.ts +19 -0
- package/utils/reparent-child.d.ts +4 -0
- package/utils/sized-mixin.d.ts +17 -0
- package/utils/streaming-listener.d.ts +48 -0
- package/lib/accordion/index.cjs +0 -43
- package/lib/action-bar/index.cjs +0 -39
- package/lib/action-button/index.cjs +0 -24
- package/lib/action-group-D4MxBrq8.cjs +0 -20
- package/lib/avatar/index.cjs +0 -24
- package/lib/base-BCmA9Wxv.cjs +0 -30
- package/lib/base-nYalvNMy.js +0 -390
- package/lib/button/index.cjs +0 -20
- package/lib/button-base-B0iB_JTv.cjs +0 -25
- package/lib/button-group/index.cjs +0 -18
- package/lib/checkbox/index.cjs +0 -25
- package/lib/clear-button-D0djuaLb.cjs +0 -18
- package/lib/close-button-BrfeZvjk.cjs +0 -18
- package/lib/color-area/index.cjs +0 -80
- package/lib/color-field/index.cjs +0 -23
- package/lib/color-handle/index.cjs +0 -24
- package/lib/color-loupe-BICpNqFs.cjs +0 -56
- package/lib/color-menu/index.cjs +0 -86
- package/lib/color-picker/index.cjs +0 -48
- package/lib/color-slider/index.cjs +0 -57
- package/lib/divider/index.cjs +0 -18
- package/lib/field-group-TUFvhJkk.cjs +0 -23
- package/lib/field-label-BrJaeORz.cjs +0 -25
- package/lib/icon/index.cjs +0 -18
- package/lib/index.cjs +0 -18
- package/lib/infield-button/index.cjs +0 -22
- package/lib/label/index.cjs +0 -18
- package/lib/legend-position/index.cjs +0 -27
- package/lib/legend-position/index.js +0 -85
- package/lib/lit-html-B3ugcwD9.js +0 -248
- package/lib/lit-html-p4Oxv2-5.cjs +0 -24
- package/lib/multi-language-field/index.cjs +0 -39
- package/lib/number-field/index.cjs +0 -57
- package/lib/overlay/index.cjs +0 -73
- package/lib/overlay-DScraBAi.cjs +0 -47
- package/lib/picker--2OCYWnV.js +0 -657
- package/lib/picker-B9W7Haf4.cjs +0 -127
- package/lib/platform-CQzYNWKq.cjs +0 -18
- package/lib/popover-CVbjhSnx.cjs +0 -30
- package/lib/progress-circle-CiJoS8J7.cjs +0 -33
- package/lib/radio/index.cjs +0 -22
- package/lib/search/index.cjs +0 -45
- package/lib/slider/index.cjs +0 -18
- package/lib/streaming-listener-Bw4jE33f.cjs +0 -18
- package/lib/swatch/index.cjs +0 -49
- package/lib/switch/index.cjs +0 -22
- package/lib/tags/index.cjs +0 -32
- package/lib/text-field/index.cjs +0 -21
- package/lib/toast/index.cjs +0 -51
- package/lib/tooltip/index.cjs +0 -45
- package/lib/unit-input/index.cjs +0 -43
- /package/{lib → components}/base-BjTwmyRF.cjs +0 -0
- /package/{lib → components}/base-D76d76ww.js +0 -0
- /package/{lib → components}/color-Bg3tYsAQ.js +0 -0
- /package/{lib → components}/color-DphK4hwx.cjs +0 -0
- /package/{lib → components}/condition-attribute-with-id-DrQYZzFS.cjs +0 -0
- /package/{lib → components}/condition-attribute-with-id-Dv4lSRbe.js +0 -0
- /package/{lib → components}/dependency-manger-C5HCkMMB.cjs +0 -0
- /package/{lib → components}/dependency-manger-CEXvGQUV.js +0 -0
- /package/{lib → components}/directive-C7oCP5Bh.cjs +0 -0
- /package/{lib → components}/directive-oAbCiebi.js +0 -0
- /package/{lib → components}/divider.module-CXMNveQc.cjs +0 -0
- /package/{lib → components}/divider.module-DwOuLGU3.js +0 -0
- /package/{lib → components}/element-resolution-BvRLGqIU.cjs +0 -0
- /package/{lib → components}/element-resolution-FCUT-wql.js +0 -0
- /package/{lib → components}/focus-group-DHeTq18L.js +0 -0
- /package/{lib → components}/focus-group-DnxZUBhQ.cjs +0 -0
- /package/{lib → components}/focus-visible-B0P9aY_G.cjs +0 -0
- /package/{lib → components}/focus-visible-DBlJGoEW.js +0 -0
- /package/{lib → components}/focusable-selectors-B4YgbghQ.js +0 -0
- /package/{lib → components}/focusable-selectors-BgFlyFcY.cjs +0 -0
- /package/{lib → components}/index-C1chwzNp.js +0 -0
- /package/{lib → components}/index-DCKCHDTt.cjs +0 -0
- /package/{lib → components}/mutation-controller-DH7YOCyj.js +0 -0
- /package/{lib → components}/mutation-controller-DkOMCW-c.cjs +0 -0
- /package/{lib → components}/query-BL-TJj7K.cjs +0 -0
- /package/{lib → components}/query-D_KR_GUc.js +0 -0
- /package/{lib → components}/query-assigned-elements-DjfhL1cl.js +0 -0
- /package/{lib → components}/query-assigned-elements-DsKsfk7G.cjs +0 -0
- /package/{lib → components}/query-assigned-nodes-BcKWmGzy.cjs +0 -0
- /package/{lib → components}/query-assigned-nodes-C76XVPWY.js +0 -0
- /package/{lib → components}/random-id-ByCz1xaq.js +0 -0
- /package/{lib → components}/random-id-CqvckpWe.cjs +0 -0
- /package/{lib → components}/roving-tabindex-By_fCy_e.cjs +0 -0
- /package/{lib → components}/roving-tabindex-DOg4z6ZU.js +0 -0
- /package/{lib → components}/slottable-request-event-BfUUt1Mh.cjs +0 -0
- /package/{lib → components}/slottable-request-event-DggLA4Rx.js +0 -0
- /package/{lib → components}/when-CDK1Tt5Y.js +0 -0
- /package/{lib → components}/when-CDZyJPvd.cjs +0 -0
|
@@ -15,19 +15,18 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import { r as
|
|
19
|
-
import {
|
|
20
|
-
import { unsafeCSS as fe, html as ht } from "lit";
|
|
21
|
-
import { L as me, n as z } from "./base-nYalvNMy.js";
|
|
22
|
-
import { r as ge } from "./state-BAO-13Bs.js";
|
|
18
|
+
import { a as ue, r as pe, x as ht, n as z } from "./base-CawdqE7p.js";
|
|
19
|
+
import { r as fe } from "./state-CYxk12SV.js";
|
|
23
20
|
import { e as te } from "./query-D_KR_GUc.js";
|
|
24
|
-
import { o as
|
|
25
|
-
import { o as Ct } from "./if-defined-
|
|
26
|
-
import { o as Ut } from "./style-map-
|
|
21
|
+
import { o as me } from "./query-assigned-elements-DjfhL1cl.js";
|
|
22
|
+
import { o as Ct } from "./if-defined-BSAr_4u4.js";
|
|
23
|
+
import { o as Ut } from "./style-map-Ct2LiEds.js";
|
|
24
|
+
import { r as St } from "./random-id-ByCz1xaq.js";
|
|
25
|
+
import { E as ge, e as ve } from "./element-resolution-FCUT-wql.js";
|
|
27
26
|
import { u as lt } from "./focusable-selectors-B4YgbghQ.js";
|
|
28
27
|
import { S as ye, r as we } from "./slottable-request-event-DggLA4Rx.js";
|
|
29
|
-
import { c as
|
|
30
|
-
import {
|
|
28
|
+
import { c as Tt } from "./condition-attribute-with-id-Dv4lSRbe.js";
|
|
29
|
+
import { c as be, j as xe } from "./platform-BM-uMWpX.js";
|
|
31
30
|
function Ee(e, t, i = []) {
|
|
32
31
|
for (const [n, o] of t.entries()) {
|
|
33
32
|
const s = e[n], r = s.parentElement || s.getRootNode();
|
|
@@ -57,7 +56,7 @@ const Pe = (e, t, {
|
|
|
57
56
|
return Ee(a, e, l);
|
|
58
57
|
};
|
|
59
58
|
}, Ce = 1e3, Oe = 1e3;
|
|
60
|
-
class
|
|
59
|
+
class Te {
|
|
61
60
|
constructor(t = {}) {
|
|
62
61
|
this.warmUpDelay = Ce, this.coolDownDelay = Oe, this.isWarm = !1, this.timeout = 0, Object.assign(this, t);
|
|
63
62
|
}
|
|
@@ -84,7 +83,7 @@ class Ae {
|
|
|
84
83
|
this.cooldownTimeout && window.clearTimeout(this.cooldownTimeout), delete this.cooldownTimeout;
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
|
-
const mt = new
|
|
86
|
+
const mt = new Te(), J = () => {
|
|
88
87
|
}, kt = (e, t, i) => {
|
|
89
88
|
const n = new AbortController(), o = /* @__PURE__ */ new Map(), s = () => {
|
|
90
89
|
n.abort(), i();
|
|
@@ -118,7 +117,7 @@ const mt = new Ae(), J = () => {
|
|
|
118
117
|
function R() {
|
|
119
118
|
return new Promise((e) => requestAnimationFrame(() => e()));
|
|
120
119
|
}
|
|
121
|
-
class rt extends
|
|
120
|
+
class rt extends ue {
|
|
122
121
|
constructor() {
|
|
123
122
|
super(...arguments), this.dispose = J, this.offset = 0, this.willPreventClose = !1;
|
|
124
123
|
}
|
|
@@ -290,7 +289,7 @@ class wt {
|
|
|
290
289
|
};
|
|
291
290
|
}
|
|
292
291
|
}
|
|
293
|
-
function
|
|
292
|
+
function Ae(e) {
|
|
294
293
|
class t extends e {
|
|
295
294
|
async manageDialogOpen() {
|
|
296
295
|
const n = this.open;
|
|
@@ -665,7 +664,7 @@ class ke {
|
|
|
665
664
|
this.closeOverlay(t);
|
|
666
665
|
}
|
|
667
666
|
}
|
|
668
|
-
const Kt = new ke(), Fe = ':host{display:contents;pointer-events:none;--luzmo-overlay-animation-distance: .5rem}:host(:has(> luzmo-tooltip)){--luzmo-overlay-animation-distance: var( --luzmo-tooltip-animation-distance, 4px )}.dialog{margin:0;border:0;background:none;padding:0;position:fixed;overflow:visible;opacity:1!important;box-sizing:border-box;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);max-width:calc(100vw - 16px);height:auto;inset:auto;top:0;left:0;display:flex;--luzmo-overlay-open: true}.dialog:not([is-visible]){display:none}.dialog:focus{outline:none}dialog:modal{--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}:host(:not([open])) .dialog{--luzmo-overlay-open: false}.dialog::backdrop{display:none}.dialog:before{position:absolute;top:-999em;right:-999em;bottom:-999em;left:-999em;content:"";pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}::slotted(luzmo-popover){position:static}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports (overlay: auto){.dialog{display:none;transition:all var(--luzmo-overlay-animation-duration, .13s),translate 0s,display var(--luzmo-overlay-animation-duration, .13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}.dialog[actual-placement]{z-index:calc(var(--luzmo-overlay-z-index-base, 1000) + var(--luzmo-overlay-open-count))}}', Y = Math.min,
|
|
667
|
+
const Kt = new ke(), Fe = ':host{display:contents;pointer-events:none;--luzmo-overlay-animation-distance: .5rem}:host(:has(> luzmo-tooltip)){--luzmo-overlay-animation-distance: var( --luzmo-tooltip-animation-distance, 4px )}.dialog{margin:0;border:0;background:none;padding:0;position:fixed;overflow:visible;opacity:1!important;box-sizing:border-box;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);max-width:calc(100vw - 16px);height:auto;inset:auto;top:0;left:0;display:flex;--luzmo-overlay-open: true}.dialog:not([is-visible]){display:none}.dialog:focus{outline:none}dialog:modal{--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}:host(:not([open])) .dialog{--luzmo-overlay-open: false}.dialog::backdrop{display:none}.dialog:before{position:absolute;top:-999em;right:-999em;bottom:-999em;left:-999em;content:"";pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}::slotted(luzmo-popover){position:static}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports (overlay: auto){.dialog{display:none;transition:all var(--luzmo-overlay-animation-duration, .13s),translate 0s,display var(--luzmo-overlay-animation-duration, .13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}.dialog[actual-placement]{z-index:calc(var(--luzmo-overlay-z-index-base, 1000) + var(--luzmo-overlay-open-count))}}', Y = Math.min, T = Math.max, gt = Math.round, dt = Math.floor, M = (e) => ({
|
|
669
668
|
x: e,
|
|
670
669
|
y: e
|
|
671
670
|
}), ze = {
|
|
@@ -677,13 +676,13 @@ const Kt = new ke(), Fe = ':host{display:contents;pointer-events:none;--luzmo-ov
|
|
|
677
676
|
start: "end",
|
|
678
677
|
end: "start"
|
|
679
678
|
};
|
|
680
|
-
function
|
|
681
|
-
return
|
|
679
|
+
function At(e, t, i) {
|
|
680
|
+
return T(e, Y(t, i));
|
|
682
681
|
}
|
|
683
682
|
function nt(e, t) {
|
|
684
683
|
return typeof e == "function" ? e(t) : e;
|
|
685
684
|
}
|
|
686
|
-
function
|
|
685
|
+
function X(e) {
|
|
687
686
|
return e.split("-")[0];
|
|
688
687
|
}
|
|
689
688
|
function ot(e) {
|
|
@@ -696,7 +695,7 @@ function $t(e) {
|
|
|
696
695
|
return e === "y" ? "height" : "width";
|
|
697
696
|
}
|
|
698
697
|
function Q(e) {
|
|
699
|
-
return ["top", "bottom"].includes(
|
|
698
|
+
return ["top", "bottom"].includes(X(e)) ? "y" : "x";
|
|
700
699
|
}
|
|
701
700
|
function Mt(e) {
|
|
702
701
|
return ee(Q(e));
|
|
@@ -729,7 +728,7 @@ function Me(e, t, i) {
|
|
|
729
728
|
}
|
|
730
729
|
function He(e, t, i, n) {
|
|
731
730
|
const o = ot(e);
|
|
732
|
-
let s = Me(
|
|
731
|
+
let s = Me(X(e), i === "start", n);
|
|
733
732
|
return o && (s = s.map((r) => r + "-" + o), t && (s = s.concat(s.map(Rt)))), s;
|
|
734
733
|
}
|
|
735
734
|
function vt(e) {
|
|
@@ -775,7 +774,7 @@ function Yt(e, t, i) {
|
|
|
775
774
|
reference: n,
|
|
776
775
|
floating: o
|
|
777
776
|
} = e;
|
|
778
|
-
const s = Q(t), r = Mt(t), a = $t(r), l =
|
|
777
|
+
const s = Q(t), r = Mt(t), a = $t(r), l = X(t), h = s === "y", c = n.x + n.width / 2 - o.width / 2, d = n.y + n.height / 2 - o.height / 2, f = n[a] / 2 - o[a] / 2;
|
|
779
778
|
let u;
|
|
780
779
|
switch (l) {
|
|
781
780
|
case "top":
|
|
@@ -948,7 +947,7 @@ const qe = (e) => ({
|
|
|
948
947
|
}, u = Mt(o), p = $t(u), m = await r.getDimensions(h), v = u === "y", g = v ? "top" : "left", y = v ? "bottom" : "right", w = v ? "clientHeight" : "clientWidth", x = s.reference[p] + s.reference[u] - f[u] - s.floating[p], b = f[u] - s.reference[u], D = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(h));
|
|
949
948
|
let E = D ? D[w] : 0;
|
|
950
949
|
(!E || !await (r.isElement == null ? void 0 : r.isElement(D))) && (E = a.floating[w] || s.floating[p]);
|
|
951
|
-
const W = x / 2 - b / 2, N = E / 2 - m[p] / 2 - 1, L = Y(d[g], N), V = Y(d[y], N), _ = L, U = E - m[p] - V, C = E / 2 - m[p] / 2 + W, tt =
|
|
950
|
+
const W = x / 2 - b / 2, N = E / 2 - m[p] / 2 - 1, L = Y(d[g], N), V = Y(d[y], N), _ = L, U = E - m[p] - V, C = E / 2 - m[p] / 2 + W, tt = At(_, C, U), q = !l.arrow && ot(o) != null && C !== tt && s.reference[p] / 2 - (C < _ ? L : V) - m[p] / 2 < 0, $ = q ? C < _ ? C - _ : C - U : 0;
|
|
952
951
|
return {
|
|
953
952
|
[u]: f[u] + $,
|
|
954
953
|
data: {
|
|
@@ -985,7 +984,7 @@ const qe = (e) => ({
|
|
|
985
984
|
} = nt(e, t);
|
|
986
985
|
if ((i = s.arrow) != null && i.alignmentOffset)
|
|
987
986
|
return {};
|
|
988
|
-
const g =
|
|
987
|
+
const g = X(o), y = Q(a), w = X(a) === a, x = await (l.isRTL == null ? void 0 : l.isRTL(h.floating)), b = f || (w || !m ? [vt(a)] : $e(a)), D = p !== "none";
|
|
989
988
|
!f && D && b.push(...He(a, m, p, x));
|
|
990
989
|
const E = [a, ...b], W = await Ht(t, v), N = [];
|
|
991
990
|
let L = ((n = s.flip) == null ? void 0 : n.overflows) || [];
|
|
@@ -1046,7 +1045,7 @@ async function Ve(e, t) {
|
|
|
1046
1045
|
placement: i,
|
|
1047
1046
|
platform: n,
|
|
1048
1047
|
elements: o
|
|
1049
|
-
} = e, s = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), r =
|
|
1048
|
+
} = e, s = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), r = X(i), a = ot(i), l = Q(i) === "y", h = ["left", "top"].includes(r) ? -1 : 1, c = s && l ? -1 : 1, d = nt(t, e);
|
|
1050
1049
|
let {
|
|
1051
1050
|
mainAxis: f,
|
|
1052
1051
|
crossAxis: u,
|
|
@@ -1118,15 +1117,15 @@ const Ue = function(e) {
|
|
|
1118
1117
|
} = nt(e, t), h = {
|
|
1119
1118
|
x: i,
|
|
1120
1119
|
y: n
|
|
1121
|
-
}, c = await Ht(t, l), d = Q(
|
|
1120
|
+
}, c = await Ht(t, l), d = Q(X(o)), f = ee(d);
|
|
1122
1121
|
let u = h[f], p = h[d];
|
|
1123
1122
|
if (s) {
|
|
1124
1123
|
const v = f === "y" ? "top" : "left", g = f === "y" ? "bottom" : "right", y = u + c[v], w = u - c[g];
|
|
1125
|
-
u =
|
|
1124
|
+
u = At(y, u, w);
|
|
1126
1125
|
}
|
|
1127
1126
|
if (r) {
|
|
1128
1127
|
const v = d === "y" ? "top" : "left", g = d === "y" ? "bottom" : "right", y = p + c[v], w = p - c[g];
|
|
1129
|
-
p =
|
|
1128
|
+
p = At(y, p, w);
|
|
1130
1129
|
}
|
|
1131
1130
|
const m = a.fn({
|
|
1132
1131
|
...t,
|
|
@@ -1161,7 +1160,7 @@ const Ue = function(e) {
|
|
|
1161
1160
|
apply: l = () => {
|
|
1162
1161
|
},
|
|
1163
1162
|
...h
|
|
1164
|
-
} = nt(e, t), c = await Ht(t, h), d =
|
|
1163
|
+
} = nt(e, t), c = await Ht(t, h), d = X(o), f = ot(o), u = Q(o) === "y", {
|
|
1165
1164
|
width: p,
|
|
1166
1165
|
height: m
|
|
1167
1166
|
} = s.floating;
|
|
@@ -1170,8 +1169,8 @@ const Ue = function(e) {
|
|
|
1170
1169
|
const y = m - c.top - c.bottom, w = p - c.left - c.right, x = Y(m - c[v], y), b = Y(p - c[g], w), D = !t.middlewareData.shift;
|
|
1171
1170
|
let E = x, W = b;
|
|
1172
1171
|
if ((i = t.middlewareData.shift) != null && i.enabled.x && (W = w), (n = t.middlewareData.shift) != null && n.enabled.y && (E = y), D && !f) {
|
|
1173
|
-
const L =
|
|
1174
|
-
u ? W = p - 2 * (L !== 0 || V !== 0 ? L + V :
|
|
1172
|
+
const L = T(c.left, 0), V = T(c.right, 0), _ = T(c.top, 0), U = T(c.bottom, 0);
|
|
1173
|
+
u ? W = p - 2 * (L !== 0 || V !== 0 ? L + V : T(c.left, c.right)) : E = m - 2 * (_ !== 0 || U !== 0 ? _ + U : T(c.top, c.bottom));
|
|
1175
1174
|
}
|
|
1176
1175
|
await l({
|
|
1177
1176
|
...t,
|
|
@@ -1193,7 +1192,7 @@ function bt() {
|
|
|
1193
1192
|
function st(e) {
|
|
1194
1193
|
return ne(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1195
1194
|
}
|
|
1196
|
-
function
|
|
1195
|
+
function A(e) {
|
|
1197
1196
|
var t;
|
|
1198
1197
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
1199
1198
|
}
|
|
@@ -1202,16 +1201,16 @@ function B(e) {
|
|
|
1202
1201
|
return (t = (ne(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
1203
1202
|
}
|
|
1204
1203
|
function ne(e) {
|
|
1205
|
-
return bt() ? e instanceof Node || e instanceof
|
|
1204
|
+
return bt() ? e instanceof Node || e instanceof A(e).Node : !1;
|
|
1206
1205
|
}
|
|
1207
1206
|
function k(e) {
|
|
1208
|
-
return bt() ? e instanceof Element || e instanceof
|
|
1207
|
+
return bt() ? e instanceof Element || e instanceof A(e).Element : !1;
|
|
1209
1208
|
}
|
|
1210
1209
|
function H(e) {
|
|
1211
|
-
return bt() ? e instanceof HTMLElement || e instanceof
|
|
1210
|
+
return bt() ? e instanceof HTMLElement || e instanceof A(e).HTMLElement : !1;
|
|
1212
1211
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return !bt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
1212
|
+
function Xt(e) {
|
|
1213
|
+
return !bt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof A(e).ShadowRoot;
|
|
1215
1214
|
}
|
|
1216
1215
|
function ct(e) {
|
|
1217
1216
|
const {
|
|
@@ -1238,14 +1237,14 @@ function Bt(e) {
|
|
|
1238
1237
|
const t = Wt(), i = k(e) ? F(e) : e;
|
|
1239
1238
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => i[n] ? i[n] !== "none" : !1) || (i.containerType ? i.containerType !== "normal" : !1) || !t && (i.backdropFilter ? i.backdropFilter !== "none" : !1) || !t && (i.filter ? i.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (i.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (i.contain || "").includes(n));
|
|
1240
1239
|
}
|
|
1241
|
-
function
|
|
1242
|
-
let t =
|
|
1240
|
+
function Xe(e) {
|
|
1241
|
+
let t = G(e);
|
|
1243
1242
|
for (; H(t) && !it(t); ) {
|
|
1244
1243
|
if (Bt(t))
|
|
1245
1244
|
return t;
|
|
1246
1245
|
if (xt(t))
|
|
1247
1246
|
return null;
|
|
1248
|
-
t =
|
|
1247
|
+
t = G(t);
|
|
1249
1248
|
}
|
|
1250
1249
|
return null;
|
|
1251
1250
|
}
|
|
@@ -1256,7 +1255,7 @@ function it(e) {
|
|
|
1256
1255
|
return ["html", "body", "#document"].includes(st(e));
|
|
1257
1256
|
}
|
|
1258
1257
|
function F(e) {
|
|
1259
|
-
return
|
|
1258
|
+
return A(e).getComputedStyle(e);
|
|
1260
1259
|
}
|
|
1261
1260
|
function Et(e) {
|
|
1262
1261
|
return k(e) ? {
|
|
@@ -1267,26 +1266,26 @@ function Et(e) {
|
|
|
1267
1266
|
scrollTop: e.scrollY
|
|
1268
1267
|
};
|
|
1269
1268
|
}
|
|
1270
|
-
function
|
|
1269
|
+
function G(e) {
|
|
1271
1270
|
if (st(e) === "html")
|
|
1272
1271
|
return e;
|
|
1273
1272
|
const t = (
|
|
1274
1273
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
1275
1274
|
e.assignedSlot || // DOM Element detected.
|
|
1276
1275
|
e.parentNode || // ShadowRoot detected.
|
|
1277
|
-
|
|
1276
|
+
Xt(e) && e.host || // Fallback.
|
|
1278
1277
|
B(e)
|
|
1279
1278
|
);
|
|
1280
|
-
return
|
|
1279
|
+
return Xt(t) ? t.host : t;
|
|
1281
1280
|
}
|
|
1282
1281
|
function oe(e) {
|
|
1283
|
-
const t =
|
|
1282
|
+
const t = G(e);
|
|
1284
1283
|
return it(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : H(t) && ct(t) ? t : oe(t);
|
|
1285
1284
|
}
|
|
1286
1285
|
function at(e, t, i) {
|
|
1287
1286
|
var n;
|
|
1288
1287
|
t === void 0 && (t = []), i === void 0 && (i = !0);
|
|
1289
|
-
const o = oe(e), s = o === ((n = e.ownerDocument) == null ? void 0 : n.body), r =
|
|
1288
|
+
const o = oe(e), s = o === ((n = e.ownerDocument) == null ? void 0 : n.body), r = A(o);
|
|
1290
1289
|
if (s) {
|
|
1291
1290
|
const a = Dt(r);
|
|
1292
1291
|
return t.concat(r, r.visualViewport || [], ct(o) ? o : [], a && i ? at(a) : []);
|
|
@@ -1324,16 +1323,16 @@ function et(e) {
|
|
|
1324
1323
|
y: a
|
|
1325
1324
|
};
|
|
1326
1325
|
}
|
|
1327
|
-
const
|
|
1326
|
+
const Ge = /* @__PURE__ */ M(0);
|
|
1328
1327
|
function re(e) {
|
|
1329
|
-
const t =
|
|
1330
|
-
return !Wt() || !t.visualViewport ?
|
|
1328
|
+
const t = A(e);
|
|
1329
|
+
return !Wt() || !t.visualViewport ? Ge : {
|
|
1331
1330
|
x: t.visualViewport.offsetLeft,
|
|
1332
1331
|
y: t.visualViewport.offsetTop
|
|
1333
1332
|
};
|
|
1334
1333
|
}
|
|
1335
1334
|
function Je(e, t, i) {
|
|
1336
|
-
return t === void 0 && (t = !1), !i || t && i !==
|
|
1335
|
+
return t === void 0 && (t = !1), !i || t && i !== A(e) ? !1 : t;
|
|
1337
1336
|
}
|
|
1338
1337
|
function Z(e, t, i, n) {
|
|
1339
1338
|
t === void 0 && (t = !1), i === void 0 && (i = !1);
|
|
@@ -1343,11 +1342,11 @@ function Z(e, t, i, n) {
|
|
|
1343
1342
|
const a = Je(s, i, n) ? re(s) : M(0);
|
|
1344
1343
|
let l = (o.left + a.x) / r.x, h = (o.top + a.y) / r.y, c = o.width / r.x, d = o.height / r.y;
|
|
1345
1344
|
if (s) {
|
|
1346
|
-
const f =
|
|
1345
|
+
const f = A(s), u = n && k(n) ? A(n) : n;
|
|
1347
1346
|
let p = f, m = Dt(p);
|
|
1348
1347
|
for (; m && n && u !== p; ) {
|
|
1349
1348
|
const v = et(m), g = m.getBoundingClientRect(), y = F(m), w = g.left + (m.clientLeft + parseFloat(y.paddingLeft)) * v.x, x = g.top + (m.clientTop + parseFloat(y.paddingTop)) * v.y;
|
|
1350
|
-
l *= v.x, h *= v.y, c *= v.x, d *= v.y, l += w, h += x, p =
|
|
1349
|
+
l *= v.x, h *= v.y, c *= v.x, d *= v.y, l += w, h += x, p = A(m), m = Dt(p);
|
|
1351
1350
|
}
|
|
1352
1351
|
}
|
|
1353
1352
|
return yt({
|
|
@@ -1403,10 +1402,10 @@ function Ze(e) {
|
|
|
1403
1402
|
return Array.from(e.getClientRects());
|
|
1404
1403
|
}
|
|
1405
1404
|
function ti(e) {
|
|
1406
|
-
const t = B(e), i = Et(e), n = e.ownerDocument.body, o =
|
|
1405
|
+
const t = B(e), i = Et(e), n = e.ownerDocument.body, o = T(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), s = T(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
1407
1406
|
let r = -i.scrollLeft + It(e);
|
|
1408
1407
|
const a = -i.scrollTop;
|
|
1409
|
-
return F(n).direction === "rtl" && (r +=
|
|
1408
|
+
return F(n).direction === "rtl" && (r += T(t.clientWidth, n.clientWidth) - o), {
|
|
1410
1409
|
width: o,
|
|
1411
1410
|
height: s,
|
|
1412
1411
|
x: r,
|
|
@@ -1414,7 +1413,7 @@ function ti(e) {
|
|
|
1414
1413
|
};
|
|
1415
1414
|
}
|
|
1416
1415
|
function ei(e, t) {
|
|
1417
|
-
const i =
|
|
1416
|
+
const i = A(e), n = B(e), o = i.visualViewport;
|
|
1418
1417
|
let s = n.clientWidth, r = n.clientHeight, a = 0, l = 0;
|
|
1419
1418
|
if (o) {
|
|
1420
1419
|
s = o.width, r = o.height;
|
|
@@ -1437,7 +1436,7 @@ function ii(e, t) {
|
|
|
1437
1436
|
y: h
|
|
1438
1437
|
};
|
|
1439
1438
|
}
|
|
1440
|
-
function
|
|
1439
|
+
function Gt(e, t, i) {
|
|
1441
1440
|
let n;
|
|
1442
1441
|
if (t === "viewport")
|
|
1443
1442
|
n = ei(e, i);
|
|
@@ -1457,7 +1456,7 @@ function Xt(e, t, i) {
|
|
|
1457
1456
|
return yt(n);
|
|
1458
1457
|
}
|
|
1459
1458
|
function le(e, t) {
|
|
1460
|
-
const i =
|
|
1459
|
+
const i = G(e);
|
|
1461
1460
|
return i === t || !k(i) || it(i) ? !1 : F(i).position === "fixed" || le(i, t);
|
|
1462
1461
|
}
|
|
1463
1462
|
function ni(e, t) {
|
|
@@ -1466,10 +1465,10 @@ function ni(e, t) {
|
|
|
1466
1465
|
return i;
|
|
1467
1466
|
let n = at(e, [], !1).filter((a) => k(a) && st(a) !== "body"), o = null;
|
|
1468
1467
|
const s = F(e).position === "fixed";
|
|
1469
|
-
let r = s ?
|
|
1468
|
+
let r = s ? G(e) : e;
|
|
1470
1469
|
for (; k(r) && !it(r); ) {
|
|
1471
1470
|
const a = F(r), l = Bt(r);
|
|
1472
|
-
!l && a.position === "fixed" && (o = null), (s ? !l && !o : !l && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || ct(r) && !l && le(e, r)) ? n = n.filter((c) => c !== r) : o = a, r =
|
|
1471
|
+
!l && a.position === "fixed" && (o = null), (s ? !l && !o : !l && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || ct(r) && !l && le(e, r)) ? n = n.filter((c) => c !== r) : o = a, r = G(r);
|
|
1473
1472
|
}
|
|
1474
1473
|
return t.set(e, n), n;
|
|
1475
1474
|
}
|
|
@@ -1481,9 +1480,9 @@ function oi(e) {
|
|
|
1481
1480
|
strategy: o
|
|
1482
1481
|
} = e;
|
|
1483
1482
|
const r = [...i === "clippingAncestors" ? xt(t) ? [] : ni(t, this._c) : [].concat(i), n], a = r[0], l = r.reduce((h, c) => {
|
|
1484
|
-
const d =
|
|
1485
|
-
return h.top =
|
|
1486
|
-
},
|
|
1483
|
+
const d = Gt(t, c, o);
|
|
1484
|
+
return h.top = T(d.top, h.top), h.right = Y(d.right, h.right), h.bottom = Y(d.bottom, h.bottom), h.left = T(d.left, h.left), h;
|
|
1485
|
+
}, Gt(t, a, o));
|
|
1487
1486
|
return {
|
|
1488
1487
|
width: l.right - l.left,
|
|
1489
1488
|
height: l.bottom - l.top,
|
|
@@ -1533,22 +1532,22 @@ function Jt(e, t) {
|
|
|
1533
1532
|
return B(e) === i && (i = i.ownerDocument.body), i;
|
|
1534
1533
|
}
|
|
1535
1534
|
function ce(e, t) {
|
|
1536
|
-
const i =
|
|
1535
|
+
const i = A(e);
|
|
1537
1536
|
if (xt(e))
|
|
1538
1537
|
return i;
|
|
1539
1538
|
if (!H(e)) {
|
|
1540
|
-
let o =
|
|
1539
|
+
let o = G(e);
|
|
1541
1540
|
for (; o && !it(o); ) {
|
|
1542
1541
|
if (k(o) && !Ot(o))
|
|
1543
1542
|
return o;
|
|
1544
|
-
o =
|
|
1543
|
+
o = G(o);
|
|
1545
1544
|
}
|
|
1546
1545
|
return i;
|
|
1547
1546
|
}
|
|
1548
1547
|
let n = Jt(e, t);
|
|
1549
1548
|
for (; n && Ye(n) && Ot(n); )
|
|
1550
1549
|
n = Jt(n, t);
|
|
1551
|
-
return n && it(n) && Ot(n) && !Bt(n) ? i : n ||
|
|
1550
|
+
return n && it(n) && Ot(n) && !Bt(n) ? i : n || Xe(e) || i;
|
|
1552
1551
|
}
|
|
1553
1552
|
const ai = async function(e) {
|
|
1554
1553
|
const t = this.getOffsetParent || ce, i = this.getDimensions, n = await i(e.floating);
|
|
@@ -1599,7 +1598,7 @@ function hi(e, t) {
|
|
|
1599
1598
|
return;
|
|
1600
1599
|
const p = dt(d), m = dt(o.clientWidth - (c + f)), v = dt(o.clientHeight - (d + u)), g = dt(c), w = {
|
|
1601
1600
|
rootMargin: -p + "px " + -m + "px " + -v + "px " + -g + "px",
|
|
1602
|
-
threshold:
|
|
1601
|
+
threshold: T(0, Y(1, l)) || 1
|
|
1603
1602
|
};
|
|
1604
1603
|
let x = !0;
|
|
1605
1604
|
function b(D) {
|
|
@@ -1694,7 +1693,7 @@ const pt = 8, gi = 100, vi = (e) => ({
|
|
|
1694
1693
|
bottom: ["top", "left", "right"],
|
|
1695
1694
|
"bottom-start": ["top-start", "left", "right"],
|
|
1696
1695
|
"bottom-end": ["top-end", "left", "right"]
|
|
1697
|
-
})[e] ?? [e];
|
|
1696
|
+
})[e] ?? [e], qi = Symbol("placement updated");
|
|
1698
1697
|
class yi {
|
|
1699
1698
|
/**
|
|
1700
1699
|
* Creates an instance of the PlacementController.
|
|
@@ -1891,7 +1890,7 @@ class Vt {
|
|
|
1891
1890
|
return;
|
|
1892
1891
|
}
|
|
1893
1892
|
t && (customElements.whenDefined("luzmo-overlay").then(async () => {
|
|
1894
|
-
const {
|
|
1893
|
+
const { LuzmoOverlay: i } = await Promise.resolve().then(() => Lt);
|
|
1895
1894
|
this.overlay = new i(), this.overlay.open = !0;
|
|
1896
1895
|
}), Promise.resolve().then(() => Lt));
|
|
1897
1896
|
}
|
|
@@ -1982,7 +1981,7 @@ class xi extends Vt {
|
|
|
1982
1981
|
t === n ? this.prepareOverlayRelativeDescription() : t === i && this.prepareContentRelativeDescription();
|
|
1983
1982
|
}
|
|
1984
1983
|
prepareOverlayRelativeDescription() {
|
|
1985
|
-
const t =
|
|
1984
|
+
const t = Tt(
|
|
1986
1985
|
this.target,
|
|
1987
1986
|
"aria-describedby",
|
|
1988
1987
|
[this.overlay.id]
|
|
@@ -1994,7 +1993,7 @@ class xi extends Vt {
|
|
|
1994
1993
|
prepareContentRelativeDescription() {
|
|
1995
1994
|
const t = [], i = this.overlay.elements.map((o) => (t.push(o.id), o.id || (o.id = `${this.overlay.tagName.toLowerCase()}-helper-${St()}`), o.id));
|
|
1996
1995
|
this.elementIds = t;
|
|
1997
|
-
const n =
|
|
1996
|
+
const n = Tt(
|
|
1998
1997
|
this.target,
|
|
1999
1998
|
"aria-describedby",
|
|
2000
1999
|
i
|
|
@@ -2113,7 +2112,7 @@ class Ci extends Vt {
|
|
|
2113
2112
|
i.textContent = Pi[n], i.slot = "longpress-describedby-descriptor";
|
|
2114
2113
|
const o = t.getRootNode(), s = this.overlay.getRootNode();
|
|
2115
2114
|
o === s ? this.overlay.append(i) : (i.hidden = !("host" in o), t.after(i));
|
|
2116
|
-
const r =
|
|
2115
|
+
const r = Tt(
|
|
2117
2116
|
t,
|
|
2118
2117
|
"aria-describedby",
|
|
2119
2118
|
[i.id]
|
|
@@ -2151,13 +2150,13 @@ const Oi = {
|
|
|
2151
2150
|
longpress: Ci,
|
|
2152
2151
|
hover: xi
|
|
2153
2152
|
};
|
|
2154
|
-
var
|
|
2155
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
2153
|
+
var Ti = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, O = (e, t, i, n) => {
|
|
2154
|
+
for (var o = n > 1 ? void 0 : n ? Ai(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
2156
2155
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
2157
|
-
return n && o &&
|
|
2156
|
+
return n && o && Ti(t, i, o), o;
|
|
2158
2157
|
};
|
|
2159
2158
|
const Ri = "showPopover" in document.createElement("div");
|
|
2160
|
-
let ft =
|
|
2159
|
+
let ft = Ae(rt);
|
|
2161
2160
|
ft = Ri ? Le(ft) : Re(ft);
|
|
2162
2161
|
var I;
|
|
2163
2162
|
const P = (I = class extends ft {
|
|
@@ -2235,7 +2234,7 @@ const P = (I = class extends ft {
|
|
|
2235
2234
|
* @returns The `ElementResolutionController` instance.
|
|
2236
2235
|
*/
|
|
2237
2236
|
get elementResolver() {
|
|
2238
|
-
return this._elementResolver || (this._elementResolver = new
|
|
2237
|
+
return this._elementResolver || (this._elementResolver = new ge(this)), this._elementResolver;
|
|
2239
2238
|
}
|
|
2240
2239
|
/**
|
|
2241
2240
|
* Determines if the overlay uses a dialog.
|
|
@@ -2505,7 +2504,7 @@ const P = (I = class extends ft {
|
|
|
2505
2504
|
this.elementResolver.selector = o ? `#${o}` : "", this.triggerInteraction = s;
|
|
2506
2505
|
}
|
|
2507
2506
|
let i = !1;
|
|
2508
|
-
t.has(
|
|
2507
|
+
t.has(ve) && (i = this.triggerElement, this.triggerElement = this.elementResolver.element), t.has("triggerElement") && (i = t.get("triggerElement")), i !== !1 && this.bindEvents();
|
|
2509
2508
|
}
|
|
2510
2509
|
/**
|
|
2511
2510
|
* Lifecycle method called after the component updates.
|
|
@@ -2638,7 +2637,7 @@ const P = (I = class extends ft {
|
|
|
2638
2637
|
var t;
|
|
2639
2638
|
(t = this.strategy) == null || t.releaseDescription(), this.open = !1, super.disconnectedCallback();
|
|
2640
2639
|
}
|
|
2641
|
-
}, I.styles = [
|
|
2640
|
+
}, I.styles = [pe(Fe)], I.openCount = 1, I);
|
|
2642
2641
|
O([
|
|
2643
2642
|
z({ type: Boolean })
|
|
2644
2643
|
], P.prototype, "delayed", 1);
|
|
@@ -2649,7 +2648,7 @@ O([
|
|
|
2649
2648
|
z({ type: Boolean })
|
|
2650
2649
|
], P.prototype, "disabled", 1);
|
|
2651
2650
|
O([
|
|
2652
|
-
|
|
2651
|
+
me({
|
|
2653
2652
|
flatten: !0,
|
|
2654
2653
|
selector: ':not([slot="longpress-describedby-descriptor"], slot)'
|
|
2655
2654
|
})
|
|
@@ -2670,7 +2669,7 @@ O([
|
|
|
2670
2669
|
te("slot")
|
|
2671
2670
|
], P.prototype, "slotEl", 2);
|
|
2672
2671
|
O([
|
|
2673
|
-
|
|
2672
|
+
fe()
|
|
2674
2673
|
], P.prototype, "state", 1);
|
|
2675
2674
|
O([
|
|
2676
2675
|
z({ type: Number, attribute: "tip-padding" })
|
|
@@ -2690,13 +2689,24 @@ O([
|
|
|
2690
2689
|
let Di = P;
|
|
2691
2690
|
const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2692
2691
|
__proto__: null,
|
|
2693
|
-
|
|
2692
|
+
LuzmoOverlay: Di
|
|
2694
2693
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2695
2694
|
export {
|
|
2696
|
-
|
|
2695
|
+
wi as C,
|
|
2696
|
+
xi as H,
|
|
2697
2697
|
Pt as I,
|
|
2698
|
-
|
|
2698
|
+
rt as L,
|
|
2699
|
+
yi as P,
|
|
2699
2700
|
wt as V,
|
|
2700
|
-
|
|
2701
|
+
R as a,
|
|
2702
|
+
Vt as b,
|
|
2703
|
+
Pi as c,
|
|
2704
|
+
Ci as d,
|
|
2705
|
+
Di as e,
|
|
2706
|
+
Lt as f,
|
|
2707
|
+
kt as g,
|
|
2708
|
+
J as n,
|
|
2709
|
+
mt as o,
|
|
2710
|
+
qi as p,
|
|
2701
2711
|
Oi as s
|
|
2702
2712
|
};
|