overview-components 1.0.81 → 1.0.83
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/index.js +4819 -107
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +21 -8
- package/dist/_virtual/FileSaver.min.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/_virtual/air-datepicker.js +0 -4
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -486
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -391
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -131
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
- package/dist/node_modules/@lit/localize/init/install.js +0 -11
- package/dist/node_modules/@lit/localize/init/runtime.js +0 -42
- package/dist/node_modules/@lit/localize/internal/default-msg.js +0 -10
- package/dist/node_modules/@lit/localize/internal/deferred.js +0 -21
- package/dist/node_modules/@lit/localize/internal/fnv1a64.js +0 -17
- package/dist/node_modules/@lit/localize/internal/id-generation.js +0 -14
- package/dist/node_modules/@lit/localize/internal/locale-status-event.js +0 -9
- package/dist/node_modules/@lit/localize/internal/runtime-msg.js +0 -42
- package/dist/node_modules/@lit/localize/internal/str-tag.js +0 -15
- package/dist/node_modules/@lit/react/create-component.js +0 -35
- package/dist/node_modules/@lit/reactive-element/css-tag.js +0 -50
- package/dist/node_modules/@lit/reactive-element/decorators/base.js +0 -9
- package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
- package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -37
- package/dist/node_modules/@lit/reactive-element/decorators/query.js +0 -20
- package/dist/node_modules/@lit/reactive-element/decorators/state.js +0 -12
- package/dist/node_modules/@lit/reactive-element/reactive-element.js +0 -250
- package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +0 -104
- package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +0 -40
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +0 -1956
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -490
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
- package/dist/node_modules/air-datepicker/air-datepicker.js +0 -1147
- package/dist/node_modules/air-datepicker/index.es.js +0 -4
- package/dist/node_modules/file-saver/dist/FileSaver.min.js +0 -74
- package/dist/node_modules/lit-element/lit-element.js +0 -51
- package/dist/node_modules/lit-html/async-directive.js +0 -69
- package/dist/node_modules/lit-html/directive-helpers.js +0 -45
- package/dist/node_modules/lit-html/directive.js +0 -27
- package/dist/node_modules/lit-html/directives/class-map.js +0 -34
- package/dist/node_modules/lit-html/directives/ref.js +0 -42
- package/dist/node_modules/lit-html/directives/repeat.js +0 -61
- package/dist/node_modules/lit-html/directives/style-map.js +0 -36
- package/dist/node_modules/lit-html/directives/unsafe-html.js +0 -27
- package/dist/node_modules/lit-html/lit-html.js +0 -243
- package/dist/node_modules/luxon/src/datetime.js +0 -1793
- package/dist/node_modules/luxon/src/duration.js +0 -723
- package/dist/node_modules/luxon/src/errors.js +0 -40
- package/dist/node_modules/luxon/src/impl/conversions.js +0 -92
- package/dist/node_modules/luxon/src/impl/diff.js +0 -36
- package/dist/node_modules/luxon/src/impl/digits.js +0 -74
- package/dist/node_modules/luxon/src/impl/english.js +0 -138
- package/dist/node_modules/luxon/src/impl/formats.js +0 -150
- package/dist/node_modules/luxon/src/impl/formatter.js +0 -245
- package/dist/node_modules/luxon/src/impl/invalid.js +0 -11
- package/dist/node_modules/luxon/src/impl/locale.js +0 -282
- package/dist/node_modules/luxon/src/impl/regexParser.js +0 -202
- package/dist/node_modules/luxon/src/impl/tokenParser.js +0 -329
- package/dist/node_modules/luxon/src/impl/util.js +0 -206
- package/dist/node_modules/luxon/src/impl/zoneUtil.js +0 -19
- package/dist/node_modules/luxon/src/info.js +0 -180
- package/dist/node_modules/luxon/src/interval.js +0 -466
- package/dist/node_modules/luxon/src/settings.js +0 -150
- package/dist/node_modules/luxon/src/zone.js +0 -88
- package/dist/node_modules/luxon/src/zones/IANAZone.js +0 -178
- package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -125
- package/dist/node_modules/luxon/src/zones/invalidZone.js +0 -41
- package/dist/node_modules/luxon/src/zones/systemZone.js +0 -47
- package/dist/node_modules/sortablejs/modular/sortable.esm.js +0 -1261
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.air-datepicker-cell.-year-.-other-decade-,.air-datepicker-cell.-day-.-other-month-{color:var(--adp-color-other-month)}.air-datepicker-cell.-year-.-other-decade-:hover,.air-datepicker-cell.-day-.-other-month-:hover{color:var(--adp-color-other-month-hover)}.-disabled-.-focus-.air-datepicker-cell.-year-.-other-decade-,.-disabled-.-focus-.air-datepicker-cell.-day-.-other-month-{color:var(--adp-color-other-month)}.-selected-.air-datepicker-cell.-year-.-other-decade-,.-selected-.air-datepicker-cell.-day-.-other-month-{color:#fff;background:var(--adp-background-color-selected-other-month)}.-selected-.-focus-.air-datepicker-cell.-year-.-other-decade-,.-selected-.-focus-.air-datepicker-cell.-day-.-other-month-{background:var(--adp-background-color-selected-other-month-focused)}.-in-range-.air-datepicker-cell.-year-.-other-decade-,.-in-range-.air-datepicker-cell.-day-.-other-month-{background-color:var(--adp-background-color-in-range);color:var(--adp-color)}.-in-range-.-focus-.air-datepicker-cell.-year-.-other-decade-,.-in-range-.-focus-.air-datepicker-cell.-day-.-other-month-{background-color:var(--adp-background-color-in-range-focused)}.air-datepicker-cell.-year-.-other-decade-:empty,.air-datepicker-cell.-day-.-other-month-:empty{background:none;border:none}.air-datepicker-cell{border-radius:var(--adp-cell-border-radius);box-sizing:border-box;cursor:pointer;display:flex;position:relative;align-items:center;justify-content:center;z-index:1}.air-datepicker-cell.-focus-{background:var(--adp-cell-background-color-hover)}.air-datepicker-cell.-current-{color:var(--adp-color-current-date)}.air-datepicker-cell.-current-.-focus-{color:var(--adp-color)}.air-datepicker-cell.-current-.-in-range-{color:var(--adp-color-current-date)}.air-datepicker-cell.-disabled-{cursor:default;color:var(--adp-color-disabled)}.air-datepicker-cell.-disabled-.-focus-{color:var(--adp-color-disabled)}.air-datepicker-cell.-disabled-.-in-range-{color:var(--adp-color-disabled-in-range)}.air-datepicker-cell.-disabled-.-current-.-focus-{color:var(--adp-color-disabled)}.air-datepicker-cell.-in-range-{background:var(--adp-cell-background-color-in-range);border-radius:0}.air-datepicker-cell.-in-range-:hover,.air-datepicker-cell.-in-range-.-focus-{background:var(--adp-cell-background-color-in-range-hover)}.air-datepicker-cell.-range-from-{border:1px solid var(--adp-cell-border-color-in-range);background-color:var(--adp-cell-background-color-in-range);border-radius:var(--adp-cell-border-radius) 0 0 var(--adp-cell-border-radius)}.air-datepicker-cell.-range-to-{border:1px solid var(--adp-cell-border-color-in-range);background-color:var(--adp-cell-background-color-in-range);border-radius:0 var(--adp-cell-border-radius) var(--adp-cell-border-radius) 0}.air-datepicker-cell.-range-to-.-range-from-{border-radius:var(--adp-cell-border-radius)}.air-datepicker-cell.-selected-{color:#fff;border:none;background:var(--adp-cell-background-color-selected)}.air-datepicker-cell.-selected-.-current-{color:#fff;background:var(--adp-cell-background-color-selected)}.air-datepicker-cell.-selected-.-focus-{background:var(--adp-cell-background-color-selected-hover)}.air-datepicker-body{transition:all var(--adp-transition-duration) var(--adp-transition-ease)}.air-datepicker-body.-hidden-{display:none}.air-datepicker-body--day-names{display:grid;grid-template-columns:repeat(7,var(--adp-day-cell-width));margin:8px 0 3px}.air-datepicker-body--day-name{color:var(--adp-day-name-color);display:flex;align-items:center;justify-content:center;flex:1;text-align:center;text-transform:uppercase;font-size:.8em}.air-datepicker-body--day-name.-clickable-{cursor:pointer}.air-datepicker-body--day-name.-clickable-:hover{color:var(--adp-day-name-color-hover)}.air-datepicker-body--cells{display:grid}.air-datepicker-body--cells.-days-{grid-template-columns:repeat(7,var(--adp-day-cell-width));grid-auto-rows:var(--adp-day-cell-height)}.air-datepicker-body--cells.-months-{grid-template-columns:repeat(3,1fr);grid-auto-rows:var(--adp-month-cell-height)}.air-datepicker-body--cells.-years-{grid-template-columns:repeat(4,1fr);grid-auto-rows:var(--adp-year-cell-height)}.air-datepicker-nav{display:flex;justify-content:space-between;border-bottom:1px solid var(--adp-border-color-inner);min-height:var(--adp-nav-height);padding:var(--adp-padding);box-sizing:content-box}.-only-timepicker- .air-datepicker-nav{display:none}.air-datepicker-nav--title,.air-datepicker-nav--action{display:flex;cursor:pointer;align-items:center;justify-content:center}.air-datepicker-nav--action{width:var(--adp-nav-action-size);border-radius:var(--adp-border-radius);-webkit-user-select:none;-moz-user-select:none;user-select:none}.air-datepicker-nav--action:hover{background:var(--adp-background-color-hover)}.air-datepicker-nav--action:active{background:var(--adp-background-color-active)}.air-datepicker-nav--action.-disabled-{visibility:hidden}.air-datepicker-nav--action svg{width:32px;height:32px}.air-datepicker-nav--action path{fill:none;stroke:var(--adp-nav-arrow-color);stroke-width:2px}.air-datepicker-nav--title{border-radius:var(--adp-border-radius);padding:0 8px}.air-datepicker-nav--title i{font-style:normal;color:var(--adp-nav-color-secondary);margin-left:.3em}.air-datepicker-nav--title:hover{background:var(--adp-background-color-hover)}.air-datepicker-nav--title:active{background:var(--adp-background-color-active)}.air-datepicker-nav--title.-disabled-{cursor:default;background:none}.air-datepicker-buttons{display:grid;grid-auto-columns:1fr;grid-auto-flow:column}.air-datepicker-button{display:inline-flex;color:var(--adp-btn-color);border-radius:var(--adp-btn-border-radius);cursor:pointer;height:var(--adp-btn-height);border:none;background:#fff0}.air-datepicker-button:hover{color:var(--adp-btn-color-hover);background:var(--adp-btn-background-color-hover)}.air-datepicker-button:focus{color:var(--adp-btn-color-hover);background:var(--adp-btn-background-color-hover);outline:none}.air-datepicker-button:active{background:var(--adp-btn-background-color-active)}.air-datepicker-button span{outline:none;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.air-datepicker-time{display:grid;grid-template-columns:max-content 1fr;grid-column-gap:12px;align-items:center;position:relative;padding:0 var(--adp-time-padding-inner)}.-only-timepicker- .air-datepicker-time{border-top:none}.air-datepicker-time--current{display:flex;align-items:center;flex:1;font-size:14px;text-align:center}.air-datepicker-time--current-colon{margin:0 2px 3px;line-height:1}.air-datepicker-time--current-hours,.air-datepicker-time--current-minutes{line-height:1;font-size:19px;font-family:Century Gothic,CenturyGothic,AppleGothic,sans-serif;position:relative;z-index:1}.air-datepicker-time--current-hours:after,.air-datepicker-time--current-minutes:after{content:"";background:var(--adp-background-color-hover);border-radius:var(--adp-border-radius);position:absolute;left:-2px;top:-3px;right:-2px;bottom:-2px;z-index:-1;opacity:0}.air-datepicker-time--current-hours.-focus-:after,.air-datepicker-time--current-minutes.-focus-:after{opacity:1}.air-datepicker-time--current-ampm{text-transform:uppercase;align-self:flex-end;color:var(--adp-time-day-period-color);margin-left:6px;font-size:11px;margin-bottom:1px}.air-datepicker-time--row{display:flex;align-items:center;font-size:11px;height:17px;background:linear-gradient(to right,var(--adp-time-track-color),var(--adp-time-track-color)) left 50%/100% var(--adp-time-track-height) no-repeat}.air-datepicker-time--row:first-child{margin-bottom:4px}.air-datepicker-time--row input[type=range]{background:none;cursor:pointer;flex:1;height:100%;width:100%;padding:0;margin:0;-webkit-appearance:none}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}.air-datepicker-time--row input[type=range]::-ms-tooltip{display:none}.air-datepicker-time--row input[type=range]:hover::-webkit-slider-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:hover::-moz-range-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:hover::-ms-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:focus{outline:none}.air-datepicker-time--row input[type=range]:focus::-webkit-slider-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]:focus::-moz-range-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]:focus::-ms-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid var(--adp-time-track-color);background:#fff;cursor:pointer;-webkit-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration)}.air-datepicker-time--row input[type=range]::-moz-range-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid var(--adp-time-track-color);background:#fff;cursor:pointer;-moz-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration)}.air-datepicker-time--row input[type=range]::-ms-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid var(--adp-time-track-color);background:#fff;cursor:pointer;-ms-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration)}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{margin-top:calc(var(--adp-time-thumb-size)/2*-1)}.air-datepicker-time--row input[type=range]::-webkit-slider-runnable-track{border:none;height:var(--adp-time-track-height);cursor:pointer;color:#0000;background:#0000}.air-datepicker-time--row input[type=range]::-moz-range-track{border:none;height:var(--adp-time-track-height);cursor:pointer;color:#0000;background:#0000}.air-datepicker-time--row input[type=range]::-ms-track{border:none;height:var(--adp-time-track-height);cursor:pointer;color:#0000;background:#0000}.air-datepicker-time--row input[type=range]::-ms-fill-lower{background:#0000}.air-datepicker-time--row input[type=range]::-ms-fill-upper{background:#0000}.air-datepicker{--adp-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--adp-font-size: 14px;--adp-width: 246px;--adp-z-index: 100;--adp-padding: 4px;--adp-grid-areas: "nav" "body" "timepicker" "buttons";--adp-transition-duration: .3s;--adp-transition-ease: ease-out;--adp-transition-offset: 8px;--adp-background-color: #fff;--adp-background-color-hover: #f0f0f0;--adp-background-color-active: #eaeaea;--adp-background-color-in-range: rgba(92, 196, 239, .1);--adp-background-color-in-range-focused: rgba(92, 196, 239, .2);--adp-background-color-selected-other-month-focused: #8ad5f4;--adp-background-color-selected-other-month: #a2ddf6;--adp-color: #4a4a4a;--adp-color-secondary: #9c9c9c;--adp-accent-color: #4eb5e6;--adp-color-current-date: var(--adp-accent-color);--adp-color-other-month: #dedede;--adp-color-disabled: #aeaeae;--adp-color-disabled-in-range: #939393;--adp-color-other-month-hover: #c5c5c5;--adp-border-color: #dbdbdb;--adp-border-color-inner: #efefef;--adp-border-radius: 4px;--adp-border-color-inline: #d7d7d7;--adp-nav-height: 32px;--adp-nav-arrow-color: var(--adp-color-secondary);--adp-nav-action-size: 32px;--adp-nav-color-secondary: var(--adp-color-secondary);--adp-day-name-color: #ff9a19;--adp-day-name-color-hover: #8ad5f4;--adp-day-cell-width: 1fr;--adp-day-cell-height: 32px;--adp-month-cell-height: 42px;--adp-year-cell-height: 56px;--adp-pointer-size: 10px;--adp-poiner-border-radius: 2px;--adp-pointer-offset: 14px;--adp-cell-border-radius: 4px;--adp-cell-background-color-hover: var(--adp-background-color-hover);--adp-cell-background-color-selected: #5cc4ef;--adp-cell-background-color-selected-hover: #45bced;--adp-cell-background-color-in-range: rgba(92, 196, 239, .1);--adp-cell-background-color-in-range-hover: rgba(92, 196, 239, .2);--adp-cell-border-color-in-range: var(--adp-cell-background-color-selected);--adp-btn-height: 32px;--adp-btn-color: var(--adp-accent-color);--adp-btn-color-hover: var(--adp-color);--adp-btn-border-radius: var(--adp-border-radius);--adp-btn-background-color-hover: var(--adp-background-color-hover);--adp-btn-background-color-active: var(--adp-background-color-active);--adp-time-track-height: 1px;--adp-time-track-color: #dedede;--adp-time-track-color-hover: #b1b1b1;--adp-time-thumb-size: 12px;--adp-time-padding-inner: 10px;--adp-time-day-period-color: var(--adp-color-secondary);--adp-mobile-font-size: 16px;--adp-mobile-nav-height: 40px;--adp-mobile-width: 320px;--adp-mobile-day-cell-height: 38px;--adp-mobile-month-cell-height: 48px;--adp-mobile-year-cell-height: 64px}.air-datepicker-overlay{--adp-overlay-background-color: rgba(0, 0, 0, .3);--adp-overlay-transition-duration: .3s;--adp-overlay-transition-ease: ease-out;--adp-overlay-z-index: 99}.air-datepicker{background:var(--adp-background-color);border:1px solid var(--adp-border-color);box-shadow:0 4px 12px #00000026;border-radius:var(--adp-border-radius);box-sizing:content-box;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(4,max-content);grid-template-areas:var(--adp-grid-areas);font-family:var(--adp-font-family),sans-serif;font-size:var(--adp-font-size);color:var(--adp-color);width:var(--adp-width);position:absolute;transition:opacity var(--adp-transition-duration) var(--adp-transition-ease),transform var(--adp-transition-duration) var(--adp-transition-ease);z-index:var(--adp-z-index)}.air-datepicker:not(.-custom-position-){opacity:0}.air-datepicker.-from-top-{transform:translateY(calc(var(--adp-transition-offset) * -1))}.air-datepicker.-from-right-{transform:translate(var(--adp-transition-offset))}.air-datepicker.-from-bottom-{transform:translateY(var(--adp-transition-offset))}.air-datepicker.-from-left-{transform:translate(calc(var(--adp-transition-offset) * -1))}.air-datepicker.-active-:not(.-custom-position-){transform:translate(0);opacity:1}.air-datepicker.-active-.-custom-position-{transition:none}.air-datepicker.-inline-{border-color:var(--adp-border-color-inline);box-shadow:none;position:static;left:auto;right:auto;opacity:1;transform:none}.air-datepicker.-inline- .air-datepicker--pointer{display:none}.air-datepicker.-is-mobile-{--adp-font-size: var(--adp-mobile-font-size);--adp-day-cell-height: var(--adp-mobile-day-cell-height);--adp-month-cell-height: var(--adp-mobile-month-cell-height);--adp-year-cell-height: var(--adp-mobile-year-cell-height);--adp-nav-height: var(--adp-mobile-nav-height);--adp-nav-action-size: var(--adp-mobile-nav-height);position:fixed;width:var(--adp-mobile-width);border:none}.air-datepicker.-is-mobile- *{-webkit-tap-highlight-color:rgba(0,0,0,0)}.air-datepicker.-is-mobile- .air-datepicker--pointer{display:none}.air-datepicker.-is-mobile-:not(.-custom-position-){transform:translate(-50%,calc(-50% + var(--adp-transition-offset)))}.air-datepicker.-is-mobile-.-active-:not(.-custom-position-){transform:translate(-50%,-50%)}.air-datepicker.-custom-position-{transition:none}.air-datepicker-global-container{position:absolute;left:0;top:0}.air-datepicker--pointer{--pointer-half-size: calc(var(--adp-pointer-size) / 2);position:absolute;width:var(--adp-pointer-size);height:var(--adp-pointer-size);z-index:-1}.air-datepicker--pointer:after{content:"";position:absolute;background:#fff;border-top:1px solid var(--adp-border-color-inline);border-right:1px solid var(--adp-border-color-inline);border-top-right-radius:var(--adp-poiner-border-radius);width:var(--adp-pointer-size);height:var(--adp-pointer-size);box-sizing:border-box}.-top-left- .air-datepicker--pointer,.-top-center- .air-datepicker--pointer,.-top-right- .air-datepicker--pointer,[data-popper-placement^=top] .air-datepicker--pointer{top:calc(100% - var(--pointer-half-size) + 1px)}.-top-left- .air-datepicker--pointer:after,.-top-center- .air-datepicker--pointer:after,.-top-right- .air-datepicker--pointer:after,[data-popper-placement^=top] .air-datepicker--pointer:after{transform:rotate(135deg)}.-right-top- .air-datepicker--pointer,.-right-center- .air-datepicker--pointer,.-right-bottom- .air-datepicker--pointer,[data-popper-placement^=right] .air-datepicker--pointer{right:calc(100% - var(--pointer-half-size) + 1px)}.-right-top- .air-datepicker--pointer:after,.-right-center- .air-datepicker--pointer:after,.-right-bottom- .air-datepicker--pointer:after,[data-popper-placement^=right] .air-datepicker--pointer:after{transform:rotate(225deg)}.-bottom-left- .air-datepicker--pointer,.-bottom-center- .air-datepicker--pointer,.-bottom-right- .air-datepicker--pointer,[data-popper-placement^=bottom] .air-datepicker--pointer{bottom:calc(100% - var(--pointer-half-size) + 1px)}.-bottom-left- .air-datepicker--pointer:after,.-bottom-center- .air-datepicker--pointer:after,.-bottom-right- .air-datepicker--pointer:after,[data-popper-placement^=bottom] .air-datepicker--pointer:after{transform:rotate(315deg)}.-left-top- .air-datepicker--pointer,.-left-center- .air-datepicker--pointer,.-left-bottom- .air-datepicker--pointer,[data-popper-placement^=left] .air-datepicker--pointer{left:calc(100% - var(--pointer-half-size) + 1px)}.-left-top- .air-datepicker--pointer:after,.-left-center- .air-datepicker--pointer:after,.-left-bottom- .air-datepicker--pointer:after,[data-popper-placement^=left] .air-datepicker--pointer:after{transform:rotate(45deg)}.-top-left- .air-datepicker--pointer,.-bottom-left- .air-datepicker--pointer{left:var(--adp-pointer-offset)}.-top-right- .air-datepicker--pointer,.-bottom-right- .air-datepicker--pointer{right:var(--adp-pointer-offset)}.-top-center- .air-datepicker--pointer,.-bottom-center- .air-datepicker--pointer{left:calc(50% - var(--adp-pointer-size)/2)}.-left-top- .air-datepicker--pointer,.-right-top- .air-datepicker--pointer{top:var(--adp-pointer-offset)}.-left-bottom- .air-datepicker--pointer,.-right-bottom- .air-datepicker--pointer{bottom:var(--adp-pointer-offset)}.-left-center- .air-datepicker--pointer,.-right-center- .air-datepicker--pointer{top:calc(50% - var(--adp-pointer-size)/2)}.air-datepicker--navigation{grid-area:nav}.air-datepicker--content{box-sizing:content-box;padding:var(--adp-padding);grid-area:body}.-only-timepicker- .air-datepicker--content{display:none}.air-datepicker--time{grid-area:timepicker}.air-datepicker--buttons{grid-area:buttons}.air-datepicker--buttons,.air-datepicker--time{padding:var(--adp-padding);border-top:1px solid var(--adp-border-color-inner)}.air-datepicker-overlay{position:fixed;background:var(--adp-overlay-background-color);left:0;top:0;width:0;height:0;opacity:0;transition:opacity var(--adp-overlay-transition-duration) var(--adp-overlay-transition-ease),left 0s,height 0s,width 0s;transition-delay:0s,var(--adp-overlay-transition-duration),var(--adp-overlay-transition-duration),var(--adp-overlay-transition-duration);z-index:var(--adp-overlay-z-index)}.air-datepicker-overlay.-active-{opacity:1;width:100%;height:100%;transition:opacity var(--adp-overlay-transition-duration) var(--adp-overlay-transition-ease),height 0s,width 0s}
|
|
1
|
+
.air-datepicker-cell.-day-.-other-month-,.air-datepicker-cell.-year-.-other-decade-{color:var(--adp-color-other-month)}.air-datepicker-cell.-day-.-other-month-:hover,.air-datepicker-cell.-year-.-other-decade-:hover{color:var(--adp-color-other-month-hover)}.-disabled-.-focus-.air-datepicker-cell.-day-.-other-month-,.-disabled-.-focus-.air-datepicker-cell.-year-.-other-decade-{color:var(--adp-color-other-month)}.-selected-.air-datepicker-cell.-day-.-other-month-,.-selected-.air-datepicker-cell.-year-.-other-decade-{background:var(--adp-background-color-selected-other-month);color:#fff}.-selected-.-focus-.air-datepicker-cell.-day-.-other-month-,.-selected-.-focus-.air-datepicker-cell.-year-.-other-decade-{background:var(--adp-background-color-selected-other-month-focused)}.-in-range-.air-datepicker-cell.-day-.-other-month-,.-in-range-.air-datepicker-cell.-year-.-other-decade-{background-color:var(--adp-background-color-in-range);color:var(--adp-color)}.-in-range-.-focus-.air-datepicker-cell.-day-.-other-month-,.-in-range-.-focus-.air-datepicker-cell.-year-.-other-decade-{background-color:var(--adp-background-color-in-range-focused)}.air-datepicker-cell.-day-.-other-month-:empty,.air-datepicker-cell.-year-.-other-decade-:empty{background:none;border:none}.air-datepicker-cell{align-items:center;border-radius:var(--adp-cell-border-radius);box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;position:relative;z-index:1}.air-datepicker-cell.-focus-{background:var(--adp-cell-background-color-hover)}.air-datepicker-cell.-current-{color:var(--adp-color-current-date)}.air-datepicker-cell.-current-.-focus-{color:var(--adp-color)}.air-datepicker-cell.-current-.-in-range-{color:var(--adp-color-current-date)}.air-datepicker-cell.-disabled-{color:var(--adp-color-disabled);cursor:default}.air-datepicker-cell.-disabled-.-focus-{color:var(--adp-color-disabled)}.air-datepicker-cell.-disabled-.-in-range-{color:var(--adp-color-disabled-in-range)}.air-datepicker-cell.-disabled-.-current-.-focus-{color:var(--adp-color-disabled)}.air-datepicker-cell.-in-range-{background:var(--adp-cell-background-color-in-range);border-radius:0}.air-datepicker-cell.-in-range-.-focus-,.air-datepicker-cell.-in-range-:hover{background:var(--adp-cell-background-color-in-range-hover)}.air-datepicker-cell.-range-from-{background-color:var(--adp-cell-background-color-in-range);border:1px solid var(--adp-cell-border-color-in-range);border-radius:var(--adp-cell-border-radius) 0 0 var(--adp-cell-border-radius)}.air-datepicker-cell.-range-to-{background-color:var(--adp-cell-background-color-in-range);border:1px solid var(--adp-cell-border-color-in-range);border-radius:0 var(--adp-cell-border-radius) var(--adp-cell-border-radius) 0}.air-datepicker-cell.-range-to-.-range-from-{border-radius:var(--adp-cell-border-radius)}.air-datepicker-cell.-selected-{border:none}.air-datepicker-cell.-selected-,.air-datepicker-cell.-selected-.-current-{background:var(--adp-cell-background-color-selected);color:#fff}.air-datepicker-cell.-selected-.-focus-{background:var(--adp-cell-background-color-selected-hover)}.air-datepicker-body{transition:all var(--adp-transition-duration) var(--adp-transition-ease)}.air-datepicker-body.-hidden-{display:none}.air-datepicker-body--day-names{display:grid;grid-template-columns:repeat(7,var(--adp-day-cell-width));margin:8px 0 3px}.air-datepicker-body--day-name{align-items:center;color:var(--adp-day-name-color);display:flex;flex:1;font-size:.8em;justify-content:center;text-align:center;text-transform:uppercase}.air-datepicker-body--day-name.-clickable-{cursor:pointer}.air-datepicker-body--day-name.-clickable-:hover{color:var(--adp-day-name-color-hover)}.air-datepicker-body--cells{display:grid}.air-datepicker-body--cells.-days-{grid-auto-rows:var(--adp-day-cell-height);grid-template-columns:repeat(7,var(--adp-day-cell-width))}.air-datepicker-body--cells.-months-{grid-auto-rows:var(--adp-month-cell-height);grid-template-columns:repeat(3,1fr)}.air-datepicker-body--cells.-years-{grid-auto-rows:var(--adp-year-cell-height);grid-template-columns:repeat(4,1fr)}.air-datepicker-nav{border-bottom:1px solid var(--adp-border-color-inner);box-sizing:content-box;display:flex;justify-content:space-between;min-height:var(--adp-nav-height);padding:var(--adp-padding)}.-only-timepicker- .air-datepicker-nav{display:none}.air-datepicker-nav--action,.air-datepicker-nav--title{align-items:center;cursor:pointer;display:flex;justify-content:center}.air-datepicker-nav--action{border-radius:var(--adp-border-radius);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--adp-nav-action-size)}.air-datepicker-nav--action:hover{background:var(--adp-background-color-hover)}.air-datepicker-nav--action:active{background:var(--adp-background-color-active)}.air-datepicker-nav--action.-disabled-{visibility:hidden}.air-datepicker-nav--action svg{height:32px;width:32px}.air-datepicker-nav--action path{fill:none;stroke:var(--adp-nav-arrow-color);stroke-width:2px}.air-datepicker-nav--title{border-radius:var(--adp-border-radius);padding:0 8px}.air-datepicker-nav--title i{color:var(--adp-nav-color-secondary);font-style:normal;margin-left:.3em}.air-datepicker-nav--title:hover{background:var(--adp-background-color-hover)}.air-datepicker-nav--title:active{background:var(--adp-background-color-active)}.air-datepicker-nav--title.-disabled-{background:none;cursor:default}.air-datepicker-buttons{display:grid;grid-auto-columns:1fr;grid-auto-flow:column}.air-datepicker-button{background:hsla(0,0%,100%,0);border:none;border-radius:var(--adp-btn-border-radius);color:var(--adp-btn-color);cursor:pointer;display:inline-flex;height:var(--adp-btn-height)}.air-datepicker-button:focus,.air-datepicker-button:hover{background:var(--adp-btn-background-color-hover);color:var(--adp-btn-color-hover)}.air-datepicker-button:focus{outline:none}.air-datepicker-button:active{background:var(--adp-btn-background-color-active)}.air-datepicker-button span{align-items:center;display:flex;height:100%;justify-content:center;outline:none;width:100%}.air-datepicker-time{grid-column-gap:12px;align-items:center;display:grid;grid-template-columns:max-content 1fr;padding:0 var(--adp-time-padding-inner);position:relative}.-only-timepicker- .air-datepicker-time{border-top:none}.air-datepicker-time--current{align-items:center;display:flex;flex:1;font-size:14px;text-align:center}.air-datepicker-time--current-colon{line-height:1;margin:0 2px 3px}.air-datepicker-time--current-hours,.air-datepicker-time--current-minutes{font-family:Century Gothic,CenturyGothic,AppleGothic,sans-serif;font-size:19px;line-height:1;position:relative;z-index:1}.air-datepicker-time--current-hours:after,.air-datepicker-time--current-minutes:after{background:var(--adp-background-color-hover);border-radius:var(--adp-border-radius);bottom:-2px;content:"";left:-2px;opacity:0;position:absolute;right:-2px;top:-3px;z-index:-1}.air-datepicker-time--current-hours.-focus-:after,.air-datepicker-time--current-minutes.-focus-:after{opacity:1}.air-datepicker-time--current-ampm{align-self:flex-end;color:var(--adp-time-day-period-color);font-size:11px;margin-bottom:1px;margin-left:6px;text-transform:uppercase}.air-datepicker-time--row{align-items:center;background:linear-gradient(to right,var(--adp-time-track-color),var(--adp-time-track-color)) left 50%/100% var(--adp-time-track-height) no-repeat;display:flex;font-size:11px;height:17px}.air-datepicker-time--row:first-child{margin-bottom:4px}.air-datepicker-time--row input[type=range]{-webkit-appearance:none;background:none;cursor:pointer;flex:1;height:100%;margin:0;padding:0;width:100%}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}.air-datepicker-time--row input[type=range]::-ms-tooltip{display:none}.air-datepicker-time--row input[type=range]:hover::-webkit-slider-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:hover::-moz-range-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:hover::-ms-thumb{border-color:var(--adp-time-track-color-hover)}.air-datepicker-time--row input[type=range]:focus{outline:none}.air-datepicker-time--row input[type=range]:focus::-webkit-slider-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]:focus::-moz-range-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]:focus::-ms-thumb{background:var(--adp-cell-background-color-selected);border-color:var(--adp-cell-background-color-selected)}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{background:#fff;border:1px solid var(--adp-time-track-color);border-radius:3px;box-sizing:border-box;cursor:pointer;height:12px;-webkit-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration);width:12px}.air-datepicker-time--row input[type=range]::-moz-range-thumb{background:#fff;border:1px solid var(--adp-time-track-color);border-radius:3px;box-sizing:border-box;cursor:pointer;height:12px;-moz-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration);width:12px}.air-datepicker-time--row input[type=range]::-ms-thumb{background:#fff;border:1px solid var(--adp-time-track-color);border-radius:3px;box-sizing:border-box;cursor:pointer;height:12px;-ms-transition:background var(--adp-transition-duration);transition:background var(--adp-transition-duration);width:12px}.air-datepicker-time--row input[type=range]::-webkit-slider-thumb{margin-top:calc(var(--adp-time-thumb-size)/2*-1)}.air-datepicker-time--row input[type=range]::-webkit-slider-runnable-track{background:transparent;border:none;color:transparent;cursor:pointer;height:var(--adp-time-track-height)}.air-datepicker-time--row input[type=range]::-moz-range-track{background:transparent;border:none;color:transparent;cursor:pointer;height:var(--adp-time-track-height)}.air-datepicker-time--row input[type=range]::-ms-track{background:transparent;border:none;color:transparent;cursor:pointer;height:var(--adp-time-track-height)}.air-datepicker-time--row input[type=range]::-ms-fill-lower,.air-datepicker-time--row input[type=range]::-ms-fill-upper{background:transparent}.air-datepicker{--adp-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--adp-font-size:14px;--adp-width:246px;--adp-z-index:100;--adp-padding:4px;--adp-grid-areas:"nav" "body" "timepicker" "buttons";--adp-transition-duration:.3s;--adp-transition-ease:ease-out;--adp-transition-offset:8px;--adp-background-color:#fff;--adp-background-color-hover:#f0f0f0;--adp-background-color-active:#eaeaea;--adp-background-color-in-range:rgba(92,196,239,.1);--adp-background-color-in-range-focused:rgba(92,196,239,.2);--adp-background-color-selected-other-month-focused:#8ad5f4;--adp-background-color-selected-other-month:#a2ddf6;--adp-color:#4a4a4a;--adp-color-secondary:#9c9c9c;--adp-accent-color:#4eb5e6;--adp-color-current-date:var(--adp-accent-color);--adp-color-other-month:#dedede;--adp-color-disabled:#aeaeae;--adp-color-disabled-in-range:#939393;--adp-color-other-month-hover:#c5c5c5;--adp-border-color:#dbdbdb;--adp-border-color-inner:#efefef;--adp-border-radius:4px;--adp-border-color-inline:#d7d7d7;--adp-nav-height:32px;--adp-nav-arrow-color:var(--adp-color-secondary);--adp-nav-action-size:32px;--adp-nav-color-secondary:var(--adp-color-secondary);--adp-day-name-color:#ff9a19;--adp-day-name-color-hover:#8ad5f4;--adp-day-cell-width:1fr;--adp-day-cell-height:32px;--adp-month-cell-height:42px;--adp-year-cell-height:56px;--adp-pointer-size:10px;--adp-poiner-border-radius:2px;--adp-pointer-offset:14px;--adp-cell-border-radius:4px;--adp-cell-background-color-hover:var(--adp-background-color-hover);--adp-cell-background-color-selected:#5cc4ef;--adp-cell-background-color-selected-hover:#45bced;--adp-cell-background-color-in-range:rgba(92,196,239,.1);--adp-cell-background-color-in-range-hover:rgba(92,196,239,.2);--adp-cell-border-color-in-range:var(--adp-cell-background-color-selected);--adp-btn-height:32px;--adp-btn-color:var(--adp-accent-color);--adp-btn-color-hover:var(--adp-color);--adp-btn-border-radius:var(--adp-border-radius);--adp-btn-background-color-hover:var(--adp-background-color-hover);--adp-btn-background-color-active:var(--adp-background-color-active);--adp-time-track-height:1px;--adp-time-track-color:#dedede;--adp-time-track-color-hover:#b1b1b1;--adp-time-thumb-size:12px;--adp-time-padding-inner:10px;--adp-time-day-period-color:var(--adp-color-secondary);--adp-mobile-font-size:16px;--adp-mobile-nav-height:40px;--adp-mobile-width:320px;--adp-mobile-day-cell-height:38px;--adp-mobile-month-cell-height:48px;--adp-mobile-year-cell-height:64px}.air-datepicker-overlay{--adp-overlay-background-color:rgba(0,0,0,.3);--adp-overlay-transition-duration:.3s;--adp-overlay-transition-ease:ease-out;--adp-overlay-z-index:99}.air-datepicker{background:var(--adp-background-color);border:1px solid var(--adp-border-color);border-radius:var(--adp-border-radius);box-shadow:0 4px 12px rgba(0,0,0,.15);box-sizing:content-box;color:var(--adp-color);display:grid;font-family:var(--adp-font-family),sans-serif;font-size:var(--adp-font-size);grid-template-areas:var(--adp-grid-areas);grid-template-columns:1fr;grid-template-rows:repeat(4,max-content);position:absolute;transition:opacity var(--adp-transition-duration) var(--adp-transition-ease),transform var(--adp-transition-duration) var(--adp-transition-ease);width:var(--adp-width);z-index:var(--adp-z-index)}.air-datepicker:not(.-custom-position-){opacity:0}.air-datepicker.-from-top-{transform:translateY(calc(var(--adp-transition-offset)*-1))}.air-datepicker.-from-right-{transform:translateX(var(--adp-transition-offset))}.air-datepicker.-from-bottom-{transform:translateY(var(--adp-transition-offset))}.air-datepicker.-from-left-{transform:translateX(calc(var(--adp-transition-offset)*-1))}.air-datepicker.-active-:not(.-custom-position-){opacity:1;transform:translate(0)}.air-datepicker.-active-.-custom-position-{transition:none}.air-datepicker.-inline-{border-color:var(--adp-border-color-inline);box-shadow:none;left:auto;opacity:1;position:static;right:auto;transform:none}.air-datepicker.-inline- .air-datepicker--pointer{display:none}.air-datepicker.-is-mobile-{--adp-font-size:var(--adp-mobile-font-size);--adp-day-cell-height:var(--adp-mobile-day-cell-height);--adp-month-cell-height:var(--adp-mobile-month-cell-height);--adp-year-cell-height:var(--adp-mobile-year-cell-height);--adp-nav-height:var(--adp-mobile-nav-height);--adp-nav-action-size:var(--adp-mobile-nav-height);border:none;position:fixed;width:var(--adp-mobile-width)}.air-datepicker.-is-mobile- *{-webkit-tap-highlight-color:rgba(0,0,0,0)}.air-datepicker.-is-mobile- .air-datepicker--pointer{display:none}.air-datepicker.-is-mobile-:not(.-custom-position-){transform:translate(-50%,calc(-50% + var(--adp-transition-offset)))}.air-datepicker.-is-mobile-.-active-:not(.-custom-position-){transform:translate(-50%,-50%)}.air-datepicker.-custom-position-{transition:none}.air-datepicker-global-container{left:0;position:absolute;top:0}.air-datepicker--pointer{--pointer-half-size:calc(var(--adp-pointer-size)/2);z-index:-1}.air-datepicker--pointer,.air-datepicker--pointer:after{height:var(--adp-pointer-size);position:absolute;width:var(--adp-pointer-size)}.air-datepicker--pointer:after{background:#fff;border-right:1px solid var(--adp-border-color-inline);border-top:1px solid var(--adp-border-color-inline);border-top-right-radius:var(--adp-poiner-border-radius);box-sizing:border-box;content:""}.-top-center- .air-datepicker--pointer,.-top-left- .air-datepicker--pointer,.-top-right- .air-datepicker--pointer,[data-popper-placement^=top] .air-datepicker--pointer{top:calc(100% - var(--pointer-half-size) + 1px)}.-top-center- .air-datepicker--pointer:after,.-top-left- .air-datepicker--pointer:after,.-top-right- .air-datepicker--pointer:after,[data-popper-placement^=top] .air-datepicker--pointer:after{transform:rotate(135deg)}.-right-bottom- .air-datepicker--pointer,.-right-center- .air-datepicker--pointer,.-right-top- .air-datepicker--pointer,[data-popper-placement^=right] .air-datepicker--pointer{right:calc(100% - var(--pointer-half-size) + 1px)}.-right-bottom- .air-datepicker--pointer:after,.-right-center- .air-datepicker--pointer:after,.-right-top- .air-datepicker--pointer:after,[data-popper-placement^=right] .air-datepicker--pointer:after{transform:rotate(225deg)}.-bottom-center- .air-datepicker--pointer,.-bottom-left- .air-datepicker--pointer,.-bottom-right- .air-datepicker--pointer,[data-popper-placement^=bottom] .air-datepicker--pointer{bottom:calc(100% - var(--pointer-half-size) + 1px)}.-bottom-center- .air-datepicker--pointer:after,.-bottom-left- .air-datepicker--pointer:after,.-bottom-right- .air-datepicker--pointer:after,[data-popper-placement^=bottom] .air-datepicker--pointer:after{transform:rotate(315deg)}.-left-bottom- .air-datepicker--pointer,.-left-center- .air-datepicker--pointer,.-left-top- .air-datepicker--pointer,[data-popper-placement^=left] .air-datepicker--pointer{left:calc(100% - var(--pointer-half-size) + 1px)}.-left-bottom- .air-datepicker--pointer:after,.-left-center- .air-datepicker--pointer:after,.-left-top- .air-datepicker--pointer:after,[data-popper-placement^=left] .air-datepicker--pointer:after{transform:rotate(45deg)}.-bottom-left- .air-datepicker--pointer,.-top-left- .air-datepicker--pointer{left:var(--adp-pointer-offset)}.-bottom-right- .air-datepicker--pointer,.-top-right- .air-datepicker--pointer{right:var(--adp-pointer-offset)}.-bottom-center- .air-datepicker--pointer,.-top-center- .air-datepicker--pointer{left:calc(50% - var(--adp-pointer-size)/2)}.-left-top- .air-datepicker--pointer,.-right-top- .air-datepicker--pointer{top:var(--adp-pointer-offset)}.-left-bottom- .air-datepicker--pointer,.-right-bottom- .air-datepicker--pointer{bottom:var(--adp-pointer-offset)}.-left-center- .air-datepicker--pointer,.-right-center- .air-datepicker--pointer{top:calc(50% - var(--adp-pointer-size)/2)}.air-datepicker--navigation{grid-area:nav}.air-datepicker--content{box-sizing:content-box;grid-area:body;padding:var(--adp-padding)}.-only-timepicker- .air-datepicker--content{display:none}.air-datepicker--time{grid-area:timepicker}.air-datepicker--buttons{grid-area:buttons}.air-datepicker--buttons,.air-datepicker--time{border-top:1px solid var(--adp-border-color-inner);padding:var(--adp-padding)}.air-datepicker-overlay{background:var(--adp-overlay-background-color);height:0;left:0;opacity:0;position:fixed;top:0;transition:opacity var(--adp-overlay-transition-duration) var(--adp-overlay-transition-ease),left 0s,height 0s,width 0s;transition-delay:0s,var(--adp-overlay-transition-duration),var(--adp-overlay-transition-duration),var(--adp-overlay-transition-duration);width:0;z-index:var(--adp-overlay-z-index)}.air-datepicker-overlay.-active-{height:100%;opacity:1;transition:opacity var(--adp-overlay-transition-duration) var(--adp-overlay-transition-ease),height 0s,width 0s;width:100%}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "overview-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.83",
|
|
4
4
|
"description": "A reusable design Lit components for case overview section.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"type": "module",
|
|
15
15
|
"scripts": {
|
|
16
|
-
"dev": "
|
|
17
|
-
"preview": "
|
|
16
|
+
"dev": "rollup -c --watch",
|
|
17
|
+
"preview": "npm run build && npx serve dist",
|
|
18
18
|
"storybook": "storybook dev -p 6006",
|
|
19
19
|
"build-storybook": "storybook build",
|
|
20
|
-
"build": "
|
|
20
|
+
"build": "rollup -c && tsc --emitDeclarationOnly",
|
|
21
21
|
"prepublishOnly": "npm run build",
|
|
22
22
|
"extract": "lit-localize extract --config=src/assets/lit-localize.json",
|
|
23
23
|
"build:localize": "lit-localize build --config=src/assets/lit-localize.json",
|
|
@@ -25,10 +25,9 @@
|
|
|
25
25
|
"test-storybook": "test-storybook"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"lit": "3.2.0",
|
|
29
|
-
"@lit/localize": "0.12.2",
|
|
30
28
|
"@floating-ui/dom": "1.6.12",
|
|
31
29
|
"@lit-labs/react": "2.1.3",
|
|
30
|
+
"@lit/localize": "0.12.2",
|
|
32
31
|
"@tanstack/lit-table": "8.20.5",
|
|
33
32
|
"@tanstack/lit-virtual": "3.13.8",
|
|
34
33
|
"air-datepicker": "^3.6.0",
|
|
@@ -37,6 +36,7 @@
|
|
|
37
36
|
"dotenv": "16.4.7",
|
|
38
37
|
"file-saver": "^2.0.5",
|
|
39
38
|
"json-schema-to-ts": "^3.1.1",
|
|
39
|
+
"lit": "3.2.0",
|
|
40
40
|
"lodash": "4.17.21",
|
|
41
41
|
"luxon": "3.5.0",
|
|
42
42
|
"node-fetch": "3.3.2",
|
|
@@ -48,8 +48,19 @@
|
|
|
48
48
|
"react-dom": ">=16.8.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
+
"@babel/cli": "^7.28.0",
|
|
52
|
+
"@babel/core": "^7.28.0",
|
|
53
|
+
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
54
|
+
"@babel/plugin-transform-class-properties": "^7.27.1",
|
|
55
|
+
"@babel/preset-env": "^7.28.0",
|
|
56
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
51
57
|
"@chromatic-com/storybook": "^1.9.0",
|
|
52
58
|
"@lit/localize-tools": "^0.8.0",
|
|
59
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
60
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
61
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
62
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
63
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
53
64
|
"@storybook/addon-essentials": "8.6.14",
|
|
54
65
|
"@storybook/addon-links": "8.6.14",
|
|
55
66
|
"@storybook/blocks": "8.6.14",
|
|
@@ -64,13 +75,15 @@
|
|
|
64
75
|
"@types/file-saver": "^2.0.7",
|
|
65
76
|
"@types/lodash": "^4.17.13",
|
|
66
77
|
"@types/luxon": "^3.4.2",
|
|
78
|
+
"@types/minimatch": "^6.0.0",
|
|
67
79
|
"@types/node": "^22.10.7",
|
|
68
80
|
"@types/sortablejs": "^1.15.8",
|
|
69
81
|
"json-schema-to-ts": "^3.1.1",
|
|
70
82
|
"prettier": "^3.3.3",
|
|
83
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
84
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
71
85
|
"storybook": "8.6.14",
|
|
72
86
|
"storybook-dark-mode": "^4.0.2",
|
|
73
|
-
"typescript": "^5.5.3"
|
|
74
|
-
"vite": "^5.4.8"
|
|
87
|
+
"typescript": "^5.5.3"
|
|
75
88
|
}
|
|
76
89
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function l(e) {
|
|
3
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
-
}
|
|
5
|
-
export {
|
|
6
|
-
o as commonjsGlobal,
|
|
7
|
-
l as getDefaultExportFromCjs
|
|
8
|
-
};
|
|
@@ -1,486 +0,0 @@
|
|
|
1
|
-
import { evaluate as $, getSide as W, getSideAxis as B, getOppositePlacement as Z, getExpandedPlacements as ee, getOppositeAxisPlacements as te, getAlignmentSides as ne, clamp as I, getAlignment as _, min as z, max as j, getPaddingObject as K, getAlignmentAxis as N, rectToClientRect as X, getOppositeAxis as ie, getAxisLength as Q, sides as se } from "../../utils/dist/floating-ui.utils.js";
|
|
2
|
-
function q(t, e, m) {
|
|
3
|
-
let {
|
|
4
|
-
reference: o,
|
|
5
|
-
floating: r
|
|
6
|
-
} = t;
|
|
7
|
-
const n = B(e), s = N(e), f = Q(s), g = W(e), u = n === "y", a = o.x + o.width / 2 - r.width / 2, l = o.y + o.height / 2 - r.height / 2, d = o[f] / 2 - r[f] / 2;
|
|
8
|
-
let i;
|
|
9
|
-
switch (g) {
|
|
10
|
-
case "top":
|
|
11
|
-
i = {
|
|
12
|
-
x: a,
|
|
13
|
-
y: o.y - r.height
|
|
14
|
-
};
|
|
15
|
-
break;
|
|
16
|
-
case "bottom":
|
|
17
|
-
i = {
|
|
18
|
-
x: a,
|
|
19
|
-
y: o.y + o.height
|
|
20
|
-
};
|
|
21
|
-
break;
|
|
22
|
-
case "right":
|
|
23
|
-
i = {
|
|
24
|
-
x: o.x + o.width,
|
|
25
|
-
y: l
|
|
26
|
-
};
|
|
27
|
-
break;
|
|
28
|
-
case "left":
|
|
29
|
-
i = {
|
|
30
|
-
x: o.x - r.width,
|
|
31
|
-
y: l
|
|
32
|
-
};
|
|
33
|
-
break;
|
|
34
|
-
default:
|
|
35
|
-
i = {
|
|
36
|
-
x: o.x,
|
|
37
|
-
y: o.y
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
switch (_(e)) {
|
|
41
|
-
case "start":
|
|
42
|
-
i[s] -= d * (m && u ? -1 : 1);
|
|
43
|
-
break;
|
|
44
|
-
case "end":
|
|
45
|
-
i[s] += d * (m && u ? -1 : 1);
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
return i;
|
|
49
|
-
}
|
|
50
|
-
const le = async (t, e, m) => {
|
|
51
|
-
const {
|
|
52
|
-
placement: o = "bottom",
|
|
53
|
-
strategy: r = "absolute",
|
|
54
|
-
middleware: n = [],
|
|
55
|
-
platform: s
|
|
56
|
-
} = m, f = n.filter(Boolean), g = await (s.isRTL == null ? void 0 : s.isRTL(e));
|
|
57
|
-
let u = await s.getElementRects({
|
|
58
|
-
reference: t,
|
|
59
|
-
floating: e,
|
|
60
|
-
strategy: r
|
|
61
|
-
}), {
|
|
62
|
-
x: a,
|
|
63
|
-
y: l
|
|
64
|
-
} = q(u, o, g), d = o, i = {}, c = 0;
|
|
65
|
-
for (let x = 0; x < f.length; x++) {
|
|
66
|
-
const {
|
|
67
|
-
name: w,
|
|
68
|
-
fn: h
|
|
69
|
-
} = f[x], {
|
|
70
|
-
x: p,
|
|
71
|
-
y,
|
|
72
|
-
data: A,
|
|
73
|
-
reset: v
|
|
74
|
-
} = await h({
|
|
75
|
-
x: a,
|
|
76
|
-
y: l,
|
|
77
|
-
initialPlacement: o,
|
|
78
|
-
placement: d,
|
|
79
|
-
strategy: r,
|
|
80
|
-
middlewareData: i,
|
|
81
|
-
rects: u,
|
|
82
|
-
platform: s,
|
|
83
|
-
elements: {
|
|
84
|
-
reference: t,
|
|
85
|
-
floating: e
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
a = p ?? a, l = y ?? l, i = {
|
|
89
|
-
...i,
|
|
90
|
-
[w]: {
|
|
91
|
-
...i[w],
|
|
92
|
-
...A
|
|
93
|
-
}
|
|
94
|
-
}, v && c <= 50 && (c++, typeof v == "object" && (v.placement && (d = v.placement), v.rects && (u = v.rects === !0 ? await s.getElementRects({
|
|
95
|
-
reference: t,
|
|
96
|
-
floating: e,
|
|
97
|
-
strategy: r
|
|
98
|
-
}) : v.rects), {
|
|
99
|
-
x: a,
|
|
100
|
-
y: l
|
|
101
|
-
} = q(u, d, g)), x = -1);
|
|
102
|
-
}
|
|
103
|
-
return {
|
|
104
|
-
x: a,
|
|
105
|
-
y: l,
|
|
106
|
-
placement: d,
|
|
107
|
-
strategy: r,
|
|
108
|
-
middlewareData: i
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
async function Y(t, e) {
|
|
112
|
-
var m;
|
|
113
|
-
e === void 0 && (e = {});
|
|
114
|
-
const {
|
|
115
|
-
x: o,
|
|
116
|
-
y: r,
|
|
117
|
-
platform: n,
|
|
118
|
-
rects: s,
|
|
119
|
-
elements: f,
|
|
120
|
-
strategy: g
|
|
121
|
-
} = t, {
|
|
122
|
-
boundary: u = "clippingAncestors",
|
|
123
|
-
rootBoundary: a = "viewport",
|
|
124
|
-
elementContext: l = "floating",
|
|
125
|
-
altBoundary: d = !1,
|
|
126
|
-
padding: i = 0
|
|
127
|
-
} = $(e, t), c = K(i), w = f[d ? l === "floating" ? "reference" : "floating" : l], h = X(await n.getClippingRect({
|
|
128
|
-
element: (m = await (n.isElement == null ? void 0 : n.isElement(w))) == null || m ? w : w.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(f.floating)),
|
|
129
|
-
boundary: u,
|
|
130
|
-
rootBoundary: a,
|
|
131
|
-
strategy: g
|
|
132
|
-
})), p = l === "floating" ? {
|
|
133
|
-
x: o,
|
|
134
|
-
y: r,
|
|
135
|
-
width: s.floating.width,
|
|
136
|
-
height: s.floating.height
|
|
137
|
-
} : s.reference, y = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(f.floating)), A = await (n.isElement == null ? void 0 : n.isElement(y)) ? await (n.getScale == null ? void 0 : n.getScale(y)) || {
|
|
138
|
-
x: 1,
|
|
139
|
-
y: 1
|
|
140
|
-
} : {
|
|
141
|
-
x: 1,
|
|
142
|
-
y: 1
|
|
143
|
-
}, v = X(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
144
|
-
elements: f,
|
|
145
|
-
rect: p,
|
|
146
|
-
offsetParent: y,
|
|
147
|
-
strategy: g
|
|
148
|
-
}) : p);
|
|
149
|
-
return {
|
|
150
|
-
top: (h.top - v.top + c.top) / A.y,
|
|
151
|
-
bottom: (v.bottom - h.bottom + c.bottom) / A.y,
|
|
152
|
-
left: (h.left - v.left + c.left) / A.x,
|
|
153
|
-
right: (v.right - h.right + c.right) / A.x
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
const ce = (t) => ({
|
|
157
|
-
name: "arrow",
|
|
158
|
-
options: t,
|
|
159
|
-
async fn(e) {
|
|
160
|
-
const {
|
|
161
|
-
x: m,
|
|
162
|
-
y: o,
|
|
163
|
-
placement: r,
|
|
164
|
-
rects: n,
|
|
165
|
-
platform: s,
|
|
166
|
-
elements: f,
|
|
167
|
-
middlewareData: g
|
|
168
|
-
} = e, {
|
|
169
|
-
element: u,
|
|
170
|
-
padding: a = 0
|
|
171
|
-
} = $(t, e) || {};
|
|
172
|
-
if (u == null)
|
|
173
|
-
return {};
|
|
174
|
-
const l = K(a), d = {
|
|
175
|
-
x: m,
|
|
176
|
-
y: o
|
|
177
|
-
}, i = N(r), c = Q(i), x = await s.getDimensions(u), w = i === "y", h = w ? "top" : "left", p = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", A = n.reference[c] + n.reference[i] - d[i] - n.floating[c], v = d[i] - n.reference[i], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
|
|
178
|
-
let O = T ? T[y] : 0;
|
|
179
|
-
(!O || !await (s.isElement == null ? void 0 : s.isElement(T))) && (O = f.floating[y] || n.floating[c]);
|
|
180
|
-
const k = A / 2 - v / 2, R = O / 2 - x[c] / 2 - 1, b = z(l[h], R), L = z(l[p], R), C = b, M = O - x[c] - L, S = O / 2 - x[c] / 2 + k, P = I(C, S, M), V = !g.arrow && _(r) != null && S !== P && n.reference[c] / 2 - (S < C ? b : L) - x[c] / 2 < 0, E = V ? S < C ? S - C : S - M : 0;
|
|
181
|
-
return {
|
|
182
|
-
[i]: d[i] + E,
|
|
183
|
-
data: {
|
|
184
|
-
[i]: P,
|
|
185
|
-
centerOffset: S - P - E,
|
|
186
|
-
...V && {
|
|
187
|
-
alignmentOffset: E
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
reset: V
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
}), re = function(t) {
|
|
194
|
-
return t === void 0 && (t = {}), {
|
|
195
|
-
name: "flip",
|
|
196
|
-
options: t,
|
|
197
|
-
async fn(e) {
|
|
198
|
-
var m, o;
|
|
199
|
-
const {
|
|
200
|
-
placement: r,
|
|
201
|
-
middlewareData: n,
|
|
202
|
-
rects: s,
|
|
203
|
-
initialPlacement: f,
|
|
204
|
-
platform: g,
|
|
205
|
-
elements: u
|
|
206
|
-
} = e, {
|
|
207
|
-
mainAxis: a = !0,
|
|
208
|
-
crossAxis: l = !0,
|
|
209
|
-
fallbackPlacements: d,
|
|
210
|
-
fallbackStrategy: i = "bestFit",
|
|
211
|
-
fallbackAxisSideDirection: c = "none",
|
|
212
|
-
flipAlignment: x = !0,
|
|
213
|
-
...w
|
|
214
|
-
} = $(t, e);
|
|
215
|
-
if ((m = n.arrow) != null && m.alignmentOffset)
|
|
216
|
-
return {};
|
|
217
|
-
const h = W(r), p = B(f), y = W(f) === f, A = await (g.isRTL == null ? void 0 : g.isRTL(u.floating)), v = d || (y || !x ? [Z(f)] : ee(f)), T = c !== "none";
|
|
218
|
-
!d && T && v.push(...te(f, x, c, A));
|
|
219
|
-
const O = [f, ...v], k = await Y(e, w), R = [];
|
|
220
|
-
let b = ((o = n.flip) == null ? void 0 : o.overflows) || [];
|
|
221
|
-
if (a && R.push(k[h]), l) {
|
|
222
|
-
const P = ne(r, s, A);
|
|
223
|
-
R.push(k[P[0]], k[P[1]]);
|
|
224
|
-
}
|
|
225
|
-
if (b = [...b, {
|
|
226
|
-
placement: r,
|
|
227
|
-
overflows: R
|
|
228
|
-
}], !R.every((P) => P <= 0)) {
|
|
229
|
-
var L, C;
|
|
230
|
-
const P = (((L = n.flip) == null ? void 0 : L.index) || 0) + 1, V = O[P];
|
|
231
|
-
if (V) {
|
|
232
|
-
var M;
|
|
233
|
-
const H = l === "alignment" ? p !== B(V) : !1, D = ((M = b[0]) == null ? void 0 : M.overflows[0]) > 0;
|
|
234
|
-
if (!H || D)
|
|
235
|
-
return {
|
|
236
|
-
data: {
|
|
237
|
-
index: P,
|
|
238
|
-
overflows: b
|
|
239
|
-
},
|
|
240
|
-
reset: {
|
|
241
|
-
placement: V
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
let E = (C = b.filter((H) => H.overflows[0] <= 0).sort((H, D) => H.overflows[1] - D.overflows[1])[0]) == null ? void 0 : C.placement;
|
|
246
|
-
if (!E)
|
|
247
|
-
switch (i) {
|
|
248
|
-
case "bestFit": {
|
|
249
|
-
var S;
|
|
250
|
-
const H = (S = b.filter((D) => {
|
|
251
|
-
if (T) {
|
|
252
|
-
const F = B(D.placement);
|
|
253
|
-
return F === p || // Create a bias to the `y` side axis due to horizontal
|
|
254
|
-
// reading directions favoring greater width.
|
|
255
|
-
F === "y";
|
|
256
|
-
}
|
|
257
|
-
return !0;
|
|
258
|
-
}).map((D) => [D.placement, D.overflows.filter((F) => F > 0).reduce((F, U) => F + U, 0)]).sort((D, F) => D[1] - F[1])[0]) == null ? void 0 : S[0];
|
|
259
|
-
H && (E = H);
|
|
260
|
-
break;
|
|
261
|
-
}
|
|
262
|
-
case "initialPlacement":
|
|
263
|
-
E = f;
|
|
264
|
-
break;
|
|
265
|
-
}
|
|
266
|
-
if (r !== E)
|
|
267
|
-
return {
|
|
268
|
-
reset: {
|
|
269
|
-
placement: E
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
return {};
|
|
274
|
-
}
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
|
-
function G(t, e) {
|
|
278
|
-
return {
|
|
279
|
-
top: t.top - e.height,
|
|
280
|
-
right: t.right - e.width,
|
|
281
|
-
bottom: t.bottom - e.height,
|
|
282
|
-
left: t.left - e.width
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
function J(t) {
|
|
286
|
-
return se.some((e) => t[e] >= 0);
|
|
287
|
-
}
|
|
288
|
-
const fe = function(t) {
|
|
289
|
-
return t === void 0 && (t = {}), {
|
|
290
|
-
name: "hide",
|
|
291
|
-
options: t,
|
|
292
|
-
async fn(e) {
|
|
293
|
-
const {
|
|
294
|
-
rects: m
|
|
295
|
-
} = e, {
|
|
296
|
-
strategy: o = "referenceHidden",
|
|
297
|
-
...r
|
|
298
|
-
} = $(t, e);
|
|
299
|
-
switch (o) {
|
|
300
|
-
case "referenceHidden": {
|
|
301
|
-
const n = await Y(e, {
|
|
302
|
-
...r,
|
|
303
|
-
elementContext: "reference"
|
|
304
|
-
}), s = G(n, m.reference);
|
|
305
|
-
return {
|
|
306
|
-
data: {
|
|
307
|
-
referenceHiddenOffsets: s,
|
|
308
|
-
referenceHidden: J(s)
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
case "escaped": {
|
|
313
|
-
const n = await Y(e, {
|
|
314
|
-
...r,
|
|
315
|
-
altBoundary: !0
|
|
316
|
-
}), s = G(n, m.floating);
|
|
317
|
-
return {
|
|
318
|
-
data: {
|
|
319
|
-
escapedOffsets: s,
|
|
320
|
-
escaped: J(s)
|
|
321
|
-
}
|
|
322
|
-
};
|
|
323
|
-
}
|
|
324
|
-
default:
|
|
325
|
-
return {};
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
|
-
async function oe(t, e) {
|
|
331
|
-
const {
|
|
332
|
-
placement: m,
|
|
333
|
-
platform: o,
|
|
334
|
-
elements: r
|
|
335
|
-
} = t, n = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), s = W(m), f = _(m), g = B(m) === "y", u = ["left", "top"].includes(s) ? -1 : 1, a = n && g ? -1 : 1, l = $(e, t);
|
|
336
|
-
let {
|
|
337
|
-
mainAxis: d,
|
|
338
|
-
crossAxis: i,
|
|
339
|
-
alignmentAxis: c
|
|
340
|
-
} = typeof l == "number" ? {
|
|
341
|
-
mainAxis: l,
|
|
342
|
-
crossAxis: 0,
|
|
343
|
-
alignmentAxis: null
|
|
344
|
-
} : {
|
|
345
|
-
mainAxis: l.mainAxis || 0,
|
|
346
|
-
crossAxis: l.crossAxis || 0,
|
|
347
|
-
alignmentAxis: l.alignmentAxis
|
|
348
|
-
};
|
|
349
|
-
return f && typeof c == "number" && (i = f === "end" ? c * -1 : c), g ? {
|
|
350
|
-
x: i * a,
|
|
351
|
-
y: d * u
|
|
352
|
-
} : {
|
|
353
|
-
x: d * u,
|
|
354
|
-
y: i * a
|
|
355
|
-
};
|
|
356
|
-
}
|
|
357
|
-
const de = function(t) {
|
|
358
|
-
return t === void 0 && (t = 0), {
|
|
359
|
-
name: "offset",
|
|
360
|
-
options: t,
|
|
361
|
-
async fn(e) {
|
|
362
|
-
var m, o;
|
|
363
|
-
const {
|
|
364
|
-
x: r,
|
|
365
|
-
y: n,
|
|
366
|
-
placement: s,
|
|
367
|
-
middlewareData: f
|
|
368
|
-
} = e, g = await oe(e, t);
|
|
369
|
-
return s === ((m = f.offset) == null ? void 0 : m.placement) && (o = f.arrow) != null && o.alignmentOffset ? {} : {
|
|
370
|
-
x: r + g.x,
|
|
371
|
-
y: n + g.y,
|
|
372
|
-
data: {
|
|
373
|
-
...g,
|
|
374
|
-
placement: s
|
|
375
|
-
}
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
|
-
}, me = function(t) {
|
|
380
|
-
return t === void 0 && (t = {}), {
|
|
381
|
-
name: "shift",
|
|
382
|
-
options: t,
|
|
383
|
-
async fn(e) {
|
|
384
|
-
const {
|
|
385
|
-
x: m,
|
|
386
|
-
y: o,
|
|
387
|
-
placement: r
|
|
388
|
-
} = e, {
|
|
389
|
-
mainAxis: n = !0,
|
|
390
|
-
crossAxis: s = !1,
|
|
391
|
-
limiter: f = {
|
|
392
|
-
fn: (w) => {
|
|
393
|
-
let {
|
|
394
|
-
x: h,
|
|
395
|
-
y: p
|
|
396
|
-
} = w;
|
|
397
|
-
return {
|
|
398
|
-
x: h,
|
|
399
|
-
y: p
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
...g
|
|
404
|
-
} = $(t, e), u = {
|
|
405
|
-
x: m,
|
|
406
|
-
y: o
|
|
407
|
-
}, a = await Y(e, g), l = B(W(r)), d = ie(l);
|
|
408
|
-
let i = u[d], c = u[l];
|
|
409
|
-
if (n) {
|
|
410
|
-
const w = d === "y" ? "top" : "left", h = d === "y" ? "bottom" : "right", p = i + a[w], y = i - a[h];
|
|
411
|
-
i = I(p, i, y);
|
|
412
|
-
}
|
|
413
|
-
if (s) {
|
|
414
|
-
const w = l === "y" ? "top" : "left", h = l === "y" ? "bottom" : "right", p = c + a[w], y = c - a[h];
|
|
415
|
-
c = I(p, c, y);
|
|
416
|
-
}
|
|
417
|
-
const x = f.fn({
|
|
418
|
-
...e,
|
|
419
|
-
[d]: i,
|
|
420
|
-
[l]: c
|
|
421
|
-
});
|
|
422
|
-
return {
|
|
423
|
-
...x,
|
|
424
|
-
data: {
|
|
425
|
-
x: x.x - m,
|
|
426
|
-
y: x.y - o,
|
|
427
|
-
enabled: {
|
|
428
|
-
[d]: n,
|
|
429
|
-
[l]: s
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
}
|
|
434
|
-
};
|
|
435
|
-
}, ge = function(t) {
|
|
436
|
-
return t === void 0 && (t = {}), {
|
|
437
|
-
name: "size",
|
|
438
|
-
options: t,
|
|
439
|
-
async fn(e) {
|
|
440
|
-
var m, o;
|
|
441
|
-
const {
|
|
442
|
-
placement: r,
|
|
443
|
-
rects: n,
|
|
444
|
-
platform: s,
|
|
445
|
-
elements: f
|
|
446
|
-
} = e, {
|
|
447
|
-
apply: g = () => {
|
|
448
|
-
},
|
|
449
|
-
...u
|
|
450
|
-
} = $(t, e), a = await Y(e, u), l = W(r), d = _(r), i = B(r) === "y", {
|
|
451
|
-
width: c,
|
|
452
|
-
height: x
|
|
453
|
-
} = n.floating;
|
|
454
|
-
let w, h;
|
|
455
|
-
l === "top" || l === "bottom" ? (w = l, h = d === (await (s.isRTL == null ? void 0 : s.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (h = l, w = d === "end" ? "top" : "bottom");
|
|
456
|
-
const p = x - a.top - a.bottom, y = c - a.left - a.right, A = z(x - a[w], p), v = z(c - a[h], y), T = !e.middlewareData.shift;
|
|
457
|
-
let O = A, k = v;
|
|
458
|
-
if ((m = e.middlewareData.shift) != null && m.enabled.x && (k = y), (o = e.middlewareData.shift) != null && o.enabled.y && (O = p), T && !d) {
|
|
459
|
-
const b = j(a.left, 0), L = j(a.right, 0), C = j(a.top, 0), M = j(a.bottom, 0);
|
|
460
|
-
i ? k = c - 2 * (b !== 0 || L !== 0 ? b + L : j(a.left, a.right)) : O = x - 2 * (C !== 0 || M !== 0 ? C + M : j(a.top, a.bottom));
|
|
461
|
-
}
|
|
462
|
-
await g({
|
|
463
|
-
...e,
|
|
464
|
-
availableWidth: k,
|
|
465
|
-
availableHeight: O
|
|
466
|
-
});
|
|
467
|
-
const R = await s.getDimensions(f.floating);
|
|
468
|
-
return c !== R.width || x !== R.height ? {
|
|
469
|
-
reset: {
|
|
470
|
-
rects: !0
|
|
471
|
-
}
|
|
472
|
-
} : {};
|
|
473
|
-
}
|
|
474
|
-
};
|
|
475
|
-
};
|
|
476
|
-
export {
|
|
477
|
-
ce as arrow,
|
|
478
|
-
le as computePosition,
|
|
479
|
-
Y as detectOverflow,
|
|
480
|
-
re as flip,
|
|
481
|
-
fe as hide,
|
|
482
|
-
de as offset,
|
|
483
|
-
X as rectToClientRect,
|
|
484
|
-
me as shift,
|
|
485
|
-
ge as size
|
|
486
|
-
};
|