@getflip/swirl-components-react 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/{flip-action-list-item.entry.8a7c3ed5.js → flip-action-list-item.entry.bfe816d0.js} +2 -2
  2. package/dist/{flip-action-list-section.entry.da0cdb9e.js → flip-action-list-section.entry.8072859c.js} +1 -1
  3. package/dist/{flip-action-list.entry.b8a1ea41.js → flip-action-list.entry.07c4e8cb.js} +1 -1
  4. package/dist/{flip-avatar-group.entry.b0e66358.js → flip-avatar-group.entry.f987aa8b.js} +18 -9
  5. package/dist/{flip-avatar.entry.6a8f2e19.js → flip-avatar.entry.7be29e5c.js} +19 -10
  6. package/dist/{flip-badge.entry.a6d07965.js → flip-badge.entry.bb0eb78d.js} +1 -1
  7. package/dist/{flip-banner.entry.f53786a0.js → flip-banner.entry.50b72a3f.js} +1 -1
  8. package/dist/flip-button-group.entry.9261c585.js +20 -0
  9. package/dist/flip-button.entry.98440a9e.js +35 -0
  10. package/dist/{flip-checkbox.entry.ade04b9c.js → flip-checkbox.entry.56d1e132.js} +2 -2
  11. package/dist/{flip-chip.entry.42861041.js → flip-chip.entry.e2be5143.js} +1 -1
  12. package/dist/{flip-date-input.entry.adafe713.js → flip-date-input.entry.2d5088ea.js} +1 -1
  13. package/dist/{flip-date-picker_3.entry.4a72cca9.js → flip-date-picker_3.entry.d61d1842.js} +82 -77
  14. package/dist/{flip-description-list-item.entry.0844c111.js → flip-description-list-item.entry.ebdd7136.js} +1 -1
  15. package/dist/{flip-description-list.entry.cdb5ba16.js → flip-description-list.entry.48a4d48b.js} +1 -1
  16. package/dist/{flip-dialog.entry.cdfca16a.js → flip-dialog.entry.bec58ff3.js} +2 -2
  17. package/dist/{flip-empty-state.entry.77f9c8ed.js → flip-empty-state.entry.d125feea.js} +1 -1
  18. package/dist/{flip-file-uploader.entry.43c0b766.js → flip-file-uploader.entry.d8919920.js} +2 -2
  19. package/dist/{flip-file-viewer-audio_6.entry.c9978e1a.js → flip-file-viewer-audio_6.entry.6ac11dbe.js} +697 -697
  20. package/dist/{flip-file-viewer.entry.85af31ff.js → flip-file-viewer.entry.66629b65.js} +3 -3
  21. package/dist/{flip-form-control.entry.ec90cfb9.js → flip-form-control.entry.c45d4428.js} +1 -1
  22. package/dist/{flip-form-group.entry.6256d521.js → flip-form-group.entry.52e6ee89.js} +4 -4
  23. package/dist/{flip-heading.entry.472e3005.js → flip-heading.entry.b20bb368.js} +1 -1
  24. package/dist/{flip-icon-add-photo.entry.d8ca058c.js → flip-icon-add-photo.entry.897fe115.js} +1 -1
  25. package/dist/{flip-icon-add.entry.79a8d7e6.js → flip-icon-add.entry.a04d115d.js} +1 -1
  26. package/dist/{flip-icon-admin-panel-settings.entry.abfc03bf.js → flip-icon-admin-panel-settings.entry.d1c445fd.js} +1 -1
  27. package/dist/{flip-icon-arrow-back.entry.eff9e6a3.js → flip-icon-arrow-back.entry.e054a0e8.js} +1 -1
  28. package/dist/{flip-icon-arrow-forward.entry.b0017297.js → flip-icon-arrow-forward.entry.ceea49fe.js} +1 -1
  29. package/dist/flip-icon-arrow-left_3.entry.ec0b28c1.js +35 -0
  30. package/dist/{flip-icon-arrow-right-small.entry.dd9ec828.js → flip-icon-arrow-right-small.entry.88470f4b.js} +1 -1
  31. package/dist/{flip-icon-attachment.entry.d41db045.js → flip-icon-attachment.entry.c141c860.js} +1 -1
  32. package/dist/{flip-icon-cancel.entry.c5b57f7f.js → flip-icon-cancel.entry.07a0efa7.js} +1 -1
  33. package/dist/{flip-icon-chat-bubble.entry.32859e94.js → flip-icon-chat-bubble.entry.13a6899b.js} +1 -1
  34. package/dist/{flip-icon-check-circle.entry.cf0be0f3.js → flip-icon-check-circle.entry.4c134688.js} +1 -1
  35. package/dist/{flip-icon-check-small.entry.c28df931.js → flip-icon-check-small.entry.1da0f061.js} +1 -1
  36. package/dist/{flip-icon-check-strong.entry.756abe1c.js → flip-icon-check-strong.entry.819065e2.js} +1 -1
  37. package/dist/{flip-icon-check.entry.71f246f6.js → flip-icon-check.entry.e9e18ec0.js} +1 -1
  38. package/dist/{flip-icon-chevron-left.entry.76299ff3.js → flip-icon-chevron-left.entry.8b4f8813.js} +1 -1
  39. package/dist/{flip-icon-chevron-right.entry.56cd2638.js → flip-icon-chevron-right.entry.d32eba9e.js} +1 -1
  40. package/dist/{flip-icon-close-small.entry.d5bce874.js → flip-icon-close-small.entry.e18fcac6.js} +1 -1
  41. package/dist/{flip-icon-close.entry.1c183b2c.js → flip-icon-close.entry.30a8abc3.js} +1 -1
  42. package/dist/{flip-icon-cloud-upload.entry.780eefd8.js → flip-icon-cloud-upload.entry.6412d35e.js} +1 -1
  43. package/dist/{flip-icon-comment.entry.9c85f2af.js → flip-icon-comment.entry.731b5907.js} +1 -1
  44. package/dist/{flip-icon-copy.entry.33ed327d.js → flip-icon-copy.entry.c29519f3.js} +1 -1
  45. package/dist/{flip-icon-date-range.entry.739ecf4e.js → flip-icon-date-range.entry.d6dea969.js} +1 -1
  46. package/dist/{flip-icon-delete.entry.f3cba347.js → flip-icon-delete.entry.e99d814a.js} +1 -1
  47. package/dist/{flip-icon-description.entry.d0f9e65c.js → flip-icon-description.entry.8448b398.js} +1 -1
  48. package/dist/{flip-icon-edit.entry.7b9f186f.js → flip-icon-edit.entry.3ae910b7.js} +1 -1
  49. package/dist/{flip-icon-emoji-mood.entry.e0b32fe1.js → flip-icon-emoji-mood.entry.89308bc3.js} +1 -1
  50. package/dist/{flip-icon-emoji-satisfied.entry.5ef82f25.js → flip-icon-emoji-satisfied.entry.5a9bca01.js} +1 -1
  51. package/dist/{flip-icon-error_3.entry.87fcf907.js → flip-icon-error_3.entry.f44ffe60.js} +1 -1
  52. package/dist/{flip-icon-expand-less_3.entry.8f8fb508.js → flip-icon-expand-less_3.entry.6e9d656c.js} +1 -1
  53. package/dist/{flip-icon-expand-more.entry.d2c9bf62.js → flip-icon-expand-more.entry.d0acac42.js} +1 -1
  54. package/dist/{flip-icon-file.entry.0d1868a4.js → flip-icon-file.entry.24508e1d.js} +1 -1
  55. package/dist/{flip-icon-folder-shared.entry.f1f4317b.js → flip-icon-folder-shared.entry.c829f971.js} +1 -1
  56. package/dist/{flip-icon-fullscreen-exit.entry.168a2e77.js → flip-icon-fullscreen-exit.entry.4f7369df.js} +1 -1
  57. package/dist/{flip-icon-fullscreen.entry.d78bc3a4.js → flip-icon-fullscreen.entry.fe6d6998.js} +1 -1
  58. package/dist/{flip-icon-group-assign.entry.2116431e.js → flip-icon-group-assign.entry.ba88a447.js} +1 -1
  59. package/dist/{flip-icon-groups-custom.entry.415539b5.js → flip-icon-groups-custom.entry.eeaaa045.js} +1 -1
  60. package/dist/{flip-icon-groups.entry.25ce8212.js → flip-icon-groups.entry.fb62ee22.js} +1 -1
  61. package/dist/{flip-icon-image.entry.ce484f72.js → flip-icon-image.entry.75eebbb0.js} +1 -1
  62. package/dist/{flip-icon-info.entry.3f6c72bb.js → flip-icon-info.entry.e30b9669.js} +1 -1
  63. package/dist/{flip-icon-inventory.entry.fc8b1c79.js → flip-icon-inventory.entry.39ebc534.js} +1 -1
  64. package/dist/{flip-icon-like.entry.34ea69dc.js → flip-icon-like.entry.80e5f8b9.js} +1 -1
  65. package/dist/{flip-icon-link.entry.94b7dd90.js → flip-icon-link.entry.c99a2106.js} +1 -1
  66. package/dist/{flip-icon-lock.entry.3e9c3e72.js → flip-icon-lock.entry.5957290a.js} +1 -1
  67. package/dist/{flip-icon-logout.entry.57363229.js → flip-icon-logout.entry.c6240d44.js} +1 -1
  68. package/dist/{flip-icon-mail.entry.b37d0b32.js → flip-icon-mail.entry.65b32c8b.js} +1 -1
  69. package/dist/{flip-icon-manage-accounts.entry.fb4e9a6b.js → flip-icon-manage-accounts.entry.73cd3a27.js} +1 -1
  70. package/dist/{flip-icon-mention.entry.2bfbfa63.js → flip-icon-mention.entry.088e8573.js} +1 -1
  71. package/dist/{flip-icon-message.entry.2df9486d.js → flip-icon-message.entry.e7306c78.js} +1 -1
  72. package/dist/{flip-icon-more-horizontal.entry.7f45f170.js → flip-icon-more-horizontal.entry.9b6c4ab4.js} +1 -1
  73. package/dist/{flip-icon-more-vertikal.entry.8045a647.js → flip-icon-more-vertikal.entry.43a77373.js} +1 -1
  74. package/dist/{flip-icon-notifications-active.entry.f03b2fc4.js → flip-icon-notifications-active.entry.b48ff150.js} +1 -1
  75. package/dist/{flip-icon-notifications-off.entry.dd8c68fd.js → flip-icon-notifications-off.entry.b60ef6aa.js} +1 -1
  76. package/dist/{flip-icon-notifications.entry.edc9821c.js → flip-icon-notifications.entry.e2d0f244.js} +1 -1
  77. package/dist/{flip-icon-open-in-new.entry.ff63ea33.js → flip-icon-open-in-new.entry.bdcb5f7e.js} +1 -1
  78. package/dist/{flip-icon-people-alt.entry.aad60933.js → flip-icon-people-alt.entry.4c0917f0.js} +1 -1
  79. package/dist/{flip-icon-person-off.entry.59a3c96c.js → flip-icon-person-off.entry.4dba1b98.js} +1 -1
  80. package/dist/{flip-icon-person.entry.e69d335c.js → flip-icon-person.entry.57042a58.js} +1 -1
  81. package/dist/{flip-icon-phone.entry.d3656af0.js → flip-icon-phone.entry.3ad46317.js} +1 -1
  82. package/dist/{flip-icon-poll.entry.16e1615e.js → flip-icon-poll.entry.c14b718c.js} +1 -1
  83. package/dist/{flip-icon-print.entry.16e54d5b.js → flip-icon-print.entry.42bc6751.js} +1 -1
  84. package/dist/{flip-icon-recieved.entry.7a850323.js → flip-icon-recieved.entry.35cc64fd.js} +1 -1
  85. package/dist/{flip-icon-remove.entry.88fa105e.js → flip-icon-remove.entry.7ce5335b.js} +1 -1
  86. package/dist/{flip-icon-search-strong.entry.fd001082.js → flip-icon-search-strong.entry.d6722aba.js} +1 -1
  87. package/dist/{flip-icon-search.entry.2efaf023.js → flip-icon-search.entry.c2c88135.js} +1 -1
  88. package/dist/{flip-icon-send.entry.6a4cd99f.js → flip-icon-send.entry.6d3ed0a4.js} +1 -1
  89. package/dist/{flip-icon-settings.entry.44aec164.js → flip-icon-settings.entry.3ab04c76.js} +1 -1
  90. package/dist/{flip-icon-time-filled.entry.bced668e.js → flip-icon-time-filled.entry.050c61d7.js} +1 -1
  91. package/dist/{flip-icon-time-outlined.entry.36bb857d.js → flip-icon-time-outlined.entry.195df6e9.js} +1 -1
  92. package/dist/{flip-icon-user-assign.entry.f55379f5.js → flip-icon-user-assign.entry.60316828.js} +1 -1
  93. package/dist/{flip-icon-video-camera.entry.23798820.js → flip-icon-video-camera.entry.d376e2da.js} +1 -1
  94. package/dist/{flip-icon-warning.entry.ac7a7e4c.js → flip-icon-warning.entry.7484d16e.js} +1 -1
  95. package/dist/flip-lightbox.entry.cdffd089.js +110 -0
  96. package/dist/{flip-link.entry.31692150.js → flip-link.entry.145e89bf.js} +1 -1
  97. package/dist/{flip-list.entry.1eac3a62.js → flip-list.entry.fcece197.js} +1 -1
  98. package/dist/flip-modal.entry.f20fd032.js +63 -0
  99. package/dist/{flip-option-list-item.entry.f911c3b8.js → flip-option-list-item.entry.ed931c3c.js} +1 -1
  100. package/dist/{flip-option-list-section.entry.0f67d7d7.js → flip-option-list-section.entry.c0084261.js} +1 -1
  101. package/dist/{flip-option-list.entry.32d7928a.js → flip-option-list.entry.a07fd2d3.js} +1 -1
  102. package/dist/{flip-pagination.entry.278034c1.js → flip-pagination.entry.a8a4c1bf.js} +1 -1
  103. package/dist/{flip-progress-indicator.entry.99e10b2c.js → flip-progress-indicator.entry.8069914b.js} +1 -1
  104. package/dist/{flip-radio-group.entry.7cc7a065.js → flip-radio-group.entry.4046ee83.js} +2 -2
  105. package/dist/{flip-radio.entry.eacccab0.js → flip-radio.entry.941e407b.js} +2 -2
  106. package/dist/{flip-resource-list-file-item.entry.4fd698ae.js → flip-resource-list-file-item.entry.678596e2.js} +1 -1
  107. package/dist/{flip-resource-list-item.entry.d9efc26d.js → flip-resource-list-item.entry.3ba2f6c5.js} +1 -1
  108. package/dist/{flip-resource-list.entry.dca2afcd.js → flip-resource-list.entry.b5f4d108.js} +1 -1
  109. package/dist/{flip-search.entry.7a786fe8.js → flip-search.entry.05617d72.js} +1 -1
  110. package/dist/{flip-stack.entry.a2afebf5.js → flip-stack.entry.60b7e7d8.js} +1 -1
  111. package/dist/{flip-switch.entry.9e81c9b0.js → flip-switch.entry.51a1856d.js} +1 -1
  112. package/dist/{flip-tab.entry.b64631a4.js → flip-tab.entry.fd12f894.js} +1 -1
  113. package/dist/flip-tabs.entry.9462dbaa.js +67 -0
  114. package/dist/{flip-tag.entry.c888703b.js → flip-tag.entry.923d754e.js} +1 -1
  115. package/dist/{flip-text-input.entry.8deff49d.js → flip-text-input.entry.09a6024a.js} +4 -4
  116. package/dist/{flip-text.entry.4bcd3eae.js → flip-text.entry.634f95b3.js} +1 -1
  117. package/dist/{flip-theme-provider.entry.1b167993.js → flip-theme-provider.entry.ab641668.js} +1 -1
  118. package/dist/{flip-thumbnail.entry.5f2effe1.js → flip-thumbnail.entry.9d00d2f8.js} +1 -1
  119. package/dist/{flip-toast-provider.entry.870ddb2c.js → flip-toast-provider.entry.d0391c9a.js} +1 -1
  120. package/dist/{flip-toast.entry.f8bc132d.js → flip-toast.entry.fac8df58.js} +4 -4
  121. package/dist/{flip-tooltip.entry.e4e0b3a6.js → flip-tooltip.entry.f7d80b92.js} +1 -1
  122. package/dist/{flip-video-thumbnail.entry.855576fe.js → flip-video-thumbnail.entry.f45c61bc.js} +1 -1
  123. package/dist/{flip-visually-hidden.entry.8d93e0bb.js → flip-visually-hidden.entry.1099adf3.js} +1 -1
  124. package/dist/{index.b70d4c92.js → index.0ccdd659.js} +231 -230
  125. package/dist/stencil-generated/index.d.ts +1 -0
  126. package/dist/swirl-components-react.js +44 -43
  127. package/dist/swirl-components-react.umd.cjs +31 -29
  128. package/package.json +2 -2
  129. package/dist/flip-button-group.entry.0342e82d.js +0 -15
  130. package/dist/flip-button.entry.b752e108.js +0 -33
  131. package/dist/flip-icon-arrow-left.entry.234146e1.js +0 -15
  132. package/dist/flip-icon-arrow-right.entry.d4a36d98.js +0 -15
  133. package/dist/flip-icon-download.entry.9adb287e.js +0 -15
  134. package/dist/flip-modal.entry.5df13219.js +0 -61
  135. package/dist/flip-tabs.entry.a42a1989.js +0 -92
@@ -1,31 +1,31 @@
1
- import { r as ie, c as _e, h as b, H as ue, F as te, g as Me } from "./index.b70d4c92.js";
1
+ import { r as ie, c as _e, h as b, H as ue, F as te, g as Me } from "./index.0ccdd659.js";
2
2
  import { c as me, a as $e, g as xe } from "./_commonjsHelpers-44457d8d.ba94af77.js";
3
- import { c as Se, s as Te, f as Ve, a as Fe } from "./floating-ui.dom.esm-1a4e8b8a.87557233.js";
3
+ import { c as Te, s as Se, f as Ve, a as Fe } from "./floating-ui.dom.esm-1a4e8b8a.87557233.js";
4
4
  import { e as de, d as He } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
5
5
  import { c as Ee } from "./index-6d2e18c6.289636d4.js";
6
6
  import { i as ce, q as pe } from "./utils-b46bcd4f.79126bb2.js";
7
7
  import "react";
8
8
  import "react-dom";
9
9
  var Ae = me(function(m, v) {
10
- (function($, T) {
11
- m.exports = T();
10
+ (function(w, S) {
11
+ m.exports = S();
12
12
  })($e, function() {
13
13
  return function() {
14
- var $ = { d: function(r, e) {
14
+ var w = { d: function(r, e) {
15
15
  for (var t in e)
16
- $.o(e, t) && !$.o(r, t) && Object.defineProperty(r, t, { enumerable: !0, get: e[t] });
16
+ w.o(e, t) && !w.o(r, t) && Object.defineProperty(r, t, { enumerable: !0, get: e[t] });
17
17
  }, o: function(r, e) {
18
18
  return Object.prototype.hasOwnProperty.call(r, e);
19
- } }, T = {};
20
- $.d(T, { default: function() {
19
+ } }, S = {};
20
+ w.d(S, { default: function() {
21
21
  return E;
22
22
  } });
23
23
  var l = { days: "days", months: "months", years: "years", day: "day", month: "month", year: "year", eventChangeViewDate: "changeViewDate", eventChangeCurrentView: "changeCurrentView", eventChangeFocusDate: "changeFocusDate", eventChangeSelectedDate: "changeSelectedDate", eventChangeTime: "changeTime", eventChangeLastSelectedDate: "changeLastSelectedDate", actionSelectDate: "selectDate", actionUnselectDate: "unselectDate", cssClassWeekend: "-weekend-" }, se = { classes: "", inline: !1, locale: { days: ["\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435", "\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A", "\u0412\u0442\u043E\u0440\u043D\u0438\u043A", "\u0421\u0440\u0435\u0434\u0430", "\u0427\u0435\u0442\u0432\u0435\u0440\u0433", "\u041F\u044F\u0442\u043D\u0438\u0446\u0430", "\u0421\u0443\u0431\u0431\u043E\u0442\u0430"], daysShort: ["\u0412\u043E\u0441", "\u041F\u043E\u043D", "\u0412\u0442\u043E", "\u0421\u0440\u0435", "\u0427\u0435\u0442", "\u041F\u044F\u0442", "\u0421\u0443\u0431"], daysMin: ["\u0412\u0441", "\u041F\u043D", "\u0412\u0442", "\u0421\u0440", "\u0427\u0442", "\u041F\u0442", "\u0421\u0431"], months: ["\u042F\u043D\u0432\u0430\u0440\u044C", "\u0424\u0435\u0432\u0440\u0430\u043B\u044C", "\u041C\u0430\u0440\u0442", "\u0410\u043F\u0440\u0435\u043B\u044C", "\u041C\u0430\u0439", "\u0418\u044E\u043D\u044C", "\u0418\u044E\u043B\u044C", "\u0410\u0432\u0433\u0443\u0441\u0442", "\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C", "\u041E\u043A\u0442\u044F\u0431\u0440\u044C", "\u041D\u043E\u044F\u0431\u0440\u044C", "\u0414\u0435\u043A\u0430\u0431\u0440\u044C"], monthsShort: ["\u042F\u043D\u0432", "\u0424\u0435\u0432", "\u041C\u0430\u0440", "\u0410\u043F\u0440", "\u041C\u0430\u0439", "\u0418\u044E\u043D", "\u0418\u044E\u043B", "\u0410\u0432\u0433", "\u0421\u0435\u043D", "\u041E\u043A\u0442", "\u041D\u043E\u044F", "\u0414\u0435\u043A"], today: "\u0421\u0435\u0433\u043E\u0434\u043D\u044F", clear: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C", dateFormat: "dd.MM.yyyy", timeFormat: "HH:mm", firstDay: 1 }, startDate: new Date(), firstDay: "", weekends: [6, 0], dateFormat: "", altField: "", altFieldDateFormat: "T", toggleSelected: !0, keyboardNav: !0, selectedDates: !1, container: "", isMobile: !1, visible: !1, position: "bottom left", offset: 12, view: l.days, minView: l.days, showOtherMonths: !0, selectOtherMonths: !0, moveToOtherMonthsOnSelect: !0, showOtherYears: !0, selectOtherYears: !0, moveToOtherYearsOnSelect: !0, minDate: "", maxDate: "", disableNavWhenOutOfRange: !0, multipleDates: !1, multipleDatesSeparator: ", ", range: !1, dynamicRange: !0, buttons: !1, monthsField: "monthsShort", showEvent: "focus", autoClose: !1, prevHtml: '<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>', nextHtml: '<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>', navTitles: { days: "MMMM, <i>yyyy</i>", months: "yyyy", years: "yyyy1 - yyyy2" }, timepicker: !1, onlyTimepicker: !1, dateTimeSeparator: " ", timeFormat: "", minHours: 0, maxHours: 24, minMinutes: 0, maxMinutes: 59, hoursStep: 1, minutesStep: 1, onSelect: !1, onChangeViewDate: !1, onChangeView: !1, onRenderCell: !1, onShow: !1, onHide: !1, onClickDayName: !1 };
24
- function w(r) {
24
+ function k(r) {
25
25
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : document;
26
26
  return typeof r == "string" ? e.querySelector(r) : r;
27
27
  }
28
- function _() {
28
+ function M() {
29
29
  let { tagName: r = "div", className: e = "", innerHtml: t = "", id: i = "", attrs: a = {} } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = document.createElement(r);
30
30
  return e && n.classList.add(...e.split(" ")), i && (n.id = i), t && (n.innerHTML = t), a && G(n, a), n;
31
31
  }
@@ -81,7 +81,7 @@ var Ae = me(function(m, v) {
81
81
  function ge(r) {
82
82
  return r.setHours(0, 0, 0, 0), r;
83
83
  }
84
- function C(r, e, t) {
84
+ function _(r, e, t) {
85
85
  r.length ? r.forEach((i) => {
86
86
  i.addEventListener(e, t);
87
87
  }) : r.addEventListener(e, t);
@@ -148,7 +148,7 @@ var Ae = me(function(m, v) {
148
148
  _createElement() {
149
149
  var e;
150
150
  let { year: t, month: i, date: a } = y(this.date), n = ((e = this.customData) === null || e === void 0 ? void 0 : e.attrs) || {};
151
- this.$cell = _({ className: this._getClassName(), attrs: { "data-year": t, "data-month": i, "data-date": a, ...n } });
151
+ this.$cell = M({ className: this._getClassName(), attrs: { "data-year": t, "data-month": i, "data-date": a, ...n } });
152
152
  }
153
153
  _getClassName() {
154
154
  var e, t;
@@ -208,7 +208,7 @@ var Ae = me(function(m, v) {
208
208
  return this.dp.isOtherDecade(this.date);
209
209
  }
210
210
  }
211
- function M(r, e, t) {
211
+ function $(r, e, t) {
212
212
  return e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
213
213
  }
214
214
  let fe = { [l.days]: '<div class="air-datepicker-body--day-names"></div>' + '<div class="air-datepicker-body--cells -'.concat(l.days, '-"></div>'), [l.months]: '<div class="air-datepicker-body--cells -'.concat(l.months, '-"></div>'), [l.years]: '<div class="air-datepicker-body--cells -'.concat(l.years, '-"></div>') };
@@ -216,7 +216,7 @@ var Ae = me(function(m, v) {
216
216
  class ne {
217
217
  constructor(e) {
218
218
  let { dp: t, type: i, opts: a } = e;
219
- M(this, "handleClick", (n) => {
219
+ $(this, "handleClick", (n) => {
220
220
  let s = n.target.closest(j).adpCell;
221
221
  if (s.isDisabled)
222
222
  return;
@@ -224,24 +224,24 @@ var Ae = me(function(m, v) {
224
224
  return void this.dp.down();
225
225
  let o = this.dp._checkIfDateIsSelected(s.date, s.type);
226
226
  o ? this.dp._handleAlreadySelectedDates(o, s.date) : this.dp.selectDate(s.date);
227
- }), M(this, "handleDayNameClick", (n) => {
227
+ }), $(this, "handleDayNameClick", (n) => {
228
228
  let s = n.target.getAttribute("data-day-index");
229
229
  this.opts.onClickDayName({ dayIndex: Number(s), datepicker: this.dp });
230
- }), M(this, "onChangeCurrentView", (n) => {
230
+ }), $(this, "onChangeCurrentView", (n) => {
231
231
  n !== this.type ? this.hide() : (this.show(), this.render());
232
- }), M(this, "onMouseOverCell", (n) => {
232
+ }), $(this, "onMouseOverCell", (n) => {
233
233
  let s = U(n.target, j);
234
234
  this.dp.setFocusDate(!!s && s.adpCell.date);
235
- }), M(this, "onMouseOutCell", () => {
235
+ }), $(this, "onMouseOutCell", () => {
236
236
  this.dp.setFocusDate(!1);
237
- }), M(this, "onClickBody", (n) => {
237
+ }), $(this, "onClickBody", (n) => {
238
238
  let { onClickDayName: s } = this.opts, o = n.target;
239
239
  o.closest(j) && this.handleClick(n), s && o.closest(".air-datepicker-body--day-name") && this.handleDayNameClick(n);
240
- }), M(this, "onMouseDown", (n) => {
240
+ }), $(this, "onMouseDown", (n) => {
241
241
  this.pressed = !0;
242
242
  let s = U(n.target, j), o = s && s.adpCell;
243
243
  D(o.date, this.dp.rangeDateFrom) && (this.rangeFromFocused = !0), D(o.date, this.dp.rangeDateTo) && (this.rangeToFocused = !0);
244
- }), M(this, "onMouseMove", (n) => {
244
+ }), $(this, "onMouseMove", (n) => {
245
245
  if (!this.pressed || !this.dp.isMinViewReached)
246
246
  return;
247
247
  n.preventDefault();
@@ -259,9 +259,9 @@ var Ae = me(function(m, v) {
259
259
  p.setHours(u), p.setMinutes(f), this.dp.rangeDateTo = p, this.dp.replaceDate(d, p);
260
260
  }
261
261
  }
262
- }), M(this, "onMouseUp", () => {
262
+ }), $(this, "onMouseUp", () => {
263
263
  this.pressed = !1, this.rangeFromFocused = !1, this.rangeToFocused = !1;
264
- }), M(this, "onChangeViewDate", (n, s) => {
264
+ }), $(this, "onChangeViewDate", (n, s) => {
265
265
  if (!this.isVisible)
266
266
  return;
267
267
  let o = A(n), h = A(s);
@@ -279,7 +279,7 @@ var Ae = me(function(m, v) {
279
279
  return;
280
280
  }
281
281
  this.render();
282
- }), M(this, "render", () => {
282
+ }), $(this, "render", () => {
283
283
  this.destroyCells(), this._generateCells(), this.cells.forEach((n) => {
284
284
  this.$cells.appendChild(n.render());
285
285
  });
@@ -290,13 +290,13 @@ var Ae = me(function(m, v) {
290
290
  }
291
291
  _bindEvents() {
292
292
  let { range: e, dynamicRange: t } = this.opts;
293
- C(this.$el, "mouseover", this.onMouseOverCell), C(this.$el, "mouseout", this.onMouseOutCell), C(this.$el, "click", this.onClickBody), e && t && (C(this.$el, "mousedown", this.onMouseDown), C(this.$el, "mousemove", this.onMouseMove), C(window.document, "mouseup", this.onMouseUp));
293
+ _(this.$el, "mouseover", this.onMouseOverCell), _(this.$el, "mouseout", this.onMouseOutCell), _(this.$el, "click", this.onClickBody), e && t && (_(this.$el, "mousedown", this.onMouseDown), _(this.$el, "mousemove", this.onMouseMove), _(window.document, "mouseup", this.onMouseUp));
294
294
  }
295
295
  _bindDatepickerEvents() {
296
296
  this.dp.on(l.eventChangeViewDate, this.onChangeViewDate), this.dp.on(l.eventChangeCurrentView, this.onChangeCurrentView);
297
297
  }
298
298
  _buildBaseHtml() {
299
- this.$el = _({ className: "air-datepicker-body -".concat(this.type, "-"), innerHtml: fe[this.type] }), this.$names = w(".air-datepicker-body--day-names", this.$el), this.$cells = w(".air-datepicker-body--cells", this.$el);
299
+ this.$el = M({ className: "air-datepicker-body -".concat(this.type, "-"), innerHtml: fe[this.type] }), this.$names = k(".air-datepicker-body--day-names", this.$el), this.$cells = k(".air-datepicker-body--cells", this.$el);
300
300
  }
301
301
  _getDayNamesHtml() {
302
302
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.dp.locale.firstDay, t = "", i = this.dp.isWeekend, { onClickDayName: a } = this.opts, n = e, s = 0;
@@ -312,10 +312,10 @@ var Ae = me(function(m, v) {
312
312
  let c = function(z, Y) {
313
313
  let { year: W, month: K, date: q } = y(z);
314
314
  return new Date(W, K, q - Y);
315
- }(s, h), p = i + h + d, u = c.getDate(), { year: f, month: k } = y(c), S = 0;
316
- for (; S < p; ) {
317
- let z = new Date(f, k, u + S);
318
- this._generateCell(z), S++;
315
+ }(s, h), p = i + h + d, u = c.getDate(), { year: f, month: C } = y(c), T = 0;
316
+ for (; T < p; ) {
317
+ let z = new Date(f, C, u + T);
318
+ this._generateCell(z), T++;
319
319
  }
320
320
  }
321
321
  _generateCell(e) {
@@ -397,7 +397,7 @@ var Ae = me(function(m, v) {
397
397
  this._createElement(), this._buildBaseHtml(), this._defineDOM(), this.render(), this.handleNavStatus(), this._bindEvents(), this._bindDatepickerEvents();
398
398
  }
399
399
  _defineDOM() {
400
- this.$title = w(".air-datepicker-nav--title", this.$el), this.$prev = w('[data-action="prev"]', this.$el), this.$next = w('[data-action="next"]', this.$el);
400
+ this.$title = k(".air-datepicker-nav--title", this.$el), this.$prev = k('[data-action="prev"]', this.$el), this.$next = k('[data-action="next"]', this.$el);
401
401
  }
402
402
  _bindEvents() {
403
403
  this.$el.addEventListener("click", this.onClickNav), this.$title.addEventListener("click", this.onClickNavTitle);
@@ -409,7 +409,7 @@ var Ae = me(function(m, v) {
409
409
  this.dp.off(l.eventChangeViewDate, this.onChangeViewDate), this.dp.off(l.eventChangeCurrentView, this.onChangeCurrentView), this.isNavIsFunction && (this.dp.off(l.eventChangeSelectedDate, this.renderDelay), this.dp.opts.timepicker && this.dp.off(l.eventChangeTime, this.render));
410
410
  }
411
411
  _createElement() {
412
- this.$el = _({ tagName: "nav", className: "air-datepicker-nav" });
412
+ this.$el = M({ tagName: "nav", className: "air-datepicker-nav" });
413
413
  }
414
414
  _getTitle() {
415
415
  let { dp: e, opts: t } = this, i = t.navTitles[e.currentView];
@@ -435,7 +435,7 @@ var Ae = me(function(m, v) {
435
435
  }
436
436
  }
437
437
  _disableNav(e) {
438
- w('[data-action="' + e + '"]', this.$el).classList.add("-disabled-");
438
+ k('[data-action="' + e + '"]', this.$el).classList.add("-disabled-");
439
439
  }
440
440
  _resetNavStatus() {
441
441
  (function(e) {
@@ -465,7 +465,7 @@ var Ae = me(function(m, v) {
465
465
  this.createElement(), this.render();
466
466
  }
467
467
  createElement() {
468
- this.$el = _({ className: "air-datepicker-buttons" });
468
+ this.$el = M({ className: "air-datepicker-buttons" });
469
469
  }
470
470
  destroy() {
471
471
  this.$el.parentNode.removeChild(this.$el);
@@ -489,7 +489,7 @@ var Ae = me(function(m, v) {
489
489
  }
490
490
  createButton(e) {
491
491
  let { content: t, className: i, tagName: a = "button", attrs: n = {} } = e, s = typeof t == "function" ? t(this.dp) : t;
492
- return _({ tagName: a, innerHtml: "<span tabindex='-1'>".concat(s, "</span>"), className: V("air-datepicker-button", i), attrs: n });
492
+ return M({ tagName: a, innerHtml: "<span tabindex='-1'>".concat(s, "</span>"), className: V("air-datepicker-button", i), attrs: n });
493
493
  }
494
494
  render() {
495
495
  this.generateButtons();
@@ -530,10 +530,10 @@ var Ae = me(function(m, v) {
530
530
  }
531
531
  bindDOMEvents() {
532
532
  let e = "input";
533
- navigator.userAgent.match(/trident/gi) && (e = "change"), C(this.$ranges, e, this.onChangeInputRange), C(this.$ranges, "mouseenter", this.onMouseEnterLeave), C(this.$ranges, "mouseleave", this.onMouseEnterLeave), C(this.$ranges, "focus", this.onFocus), C(this.$ranges, "mousedown", this.onFocus), C(this.$ranges, "blur", this.onBlur);
533
+ navigator.userAgent.match(/trident/gi) && (e = "change"), _(this.$ranges, e, this.onChangeInputRange), _(this.$ranges, "mouseenter", this.onMouseEnterLeave), _(this.$ranges, "mouseleave", this.onMouseEnterLeave), _(this.$ranges, "focus", this.onFocus), _(this.$ranges, "mousedown", this.onFocus), _(this.$ranges, "blur", this.onBlur);
534
534
  }
535
535
  createElement() {
536
- this.$el = _({ className: V("air-datepicker-time", { "-am-pm-": this.dp.ampm }) });
536
+ this.$el = M({ className: V("air-datepicker-time", { "-am-pm-": this.dp.ampm }) });
537
537
  }
538
538
  destroy() {
539
539
  this.dp.off(l.eventChangeSelectedDate, this.onChangeSelectedDate), this.dp.off(l.eventChangeLastSelectedDate, this.onChangeLastSelectedDate), this.$el.parentNode.removeChild(this.$el);
@@ -543,7 +543,7 @@ var Ae = me(function(m, v) {
543
543
  this.$el.innerHTML = '<div class="air-datepicker-time--current">' + ' <span class="air-datepicker-time--current-hours">'.concat(P(i), "</span>") + ' <span class="air-datepicker-time--current-colon">:</span>' + ' <span class="air-datepicker-time--current-minutes">'.concat(P(a), "</span>") + " ".concat(e ? "<span class='air-datepicker-time--current-ampm'>".concat(d, "</span>") : "") + '</div><div class="air-datepicker-time--sliders"> <div class="air-datepicker-time--row">' + ' <input type="range" name="hours" value="'.concat(t, '" min="').concat(n, '" max="').concat(o, '" step="').concat(c, '"/>') + ' </div> <div class="air-datepicker-time--row">' + ' <input type="range" name="minutes" value="'.concat(a, '" min="').concat(s, '" max="').concat(h, '" step="').concat(p, '"/>') + " </div></div>";
544
544
  }
545
545
  defineDOM() {
546
- let e = (t) => w(t, this.$el);
546
+ let e = (t) => k(t, this.$el);
547
547
  this.$ranges = this.$el.querySelectorAll('[type="range"]'), this.$hours = e('[name="hours"]'), this.$minutes = e('[name="minutes"]'), this.$hoursText = e(".air-datepicker-time--current-hours"), this.$minutesText = e(".air-datepicker-time--current-minutes"), this.$ampm = e(".air-datepicker-time--current-ampm");
548
548
  }
549
549
  setTime(e) {
@@ -757,17 +757,17 @@ var Ae = me(function(m, v) {
757
757
  let o = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
758
758
  if (typeof (s = s || i.opts.position) == "function")
759
759
  return void (i.customHide = s({ $datepicker: i.$datepicker, $target: i.$el, $pointer: i.$pointer, isViewChange: o, done: i._finishHide }));
760
- let h, d, { isMobile: c } = i.opts, p = i.$el.getBoundingClientRect(), u = i.$el.getBoundingClientRect(), f = i.$datepicker.offsetParent, k = i.$el.offsetParent, S = i.$datepicker.getBoundingClientRect(), z = s.split(" "), Y = window.scrollY, W = window.scrollX, K = i.opts.offset, q = z[0], Ce = z[1];
760
+ let h, d, { isMobile: c } = i.opts, p = i.$el.getBoundingClientRect(), u = i.$el.getBoundingClientRect(), f = i.$datepicker.offsetParent, C = i.$el.offsetParent, T = i.$datepicker.getBoundingClientRect(), z = s.split(" "), Y = window.scrollY, W = window.scrollX, K = i.opts.offset, q = z[0], Ce = z[1];
761
761
  if (c)
762
762
  i.$datepicker.style.cssText = "left: 50%; top: 50%";
763
763
  else {
764
- if (f === k && f !== document.body && (u = { top: i.$el.offsetTop, left: i.$el.offsetLeft, width: p.width, height: i.$el.offsetHeight }, Y = 0, W = 0), f !== k && f !== document.body) {
764
+ if (f === C && f !== document.body && (u = { top: i.$el.offsetTop, left: i.$el.offsetLeft, width: p.width, height: i.$el.offsetHeight }, Y = 0, W = 0), f !== C && f !== document.body) {
765
765
  let le = f.getBoundingClientRect();
766
766
  u = { top: p.top - le.top, left: p.left - le.left, width: p.width, height: p.height }, Y = 0, W = 0;
767
767
  }
768
768
  switch (q) {
769
769
  case "top":
770
- h = u.top - S.height - K;
770
+ h = u.top - T.height - K;
771
771
  break;
772
772
  case "right":
773
773
  d = u.left + u.width + K;
@@ -776,23 +776,23 @@ var Ae = me(function(m, v) {
776
776
  h = u.top + u.height + K;
777
777
  break;
778
778
  case "left":
779
- d = u.left - S.width - K;
779
+ d = u.left - T.width - K;
780
780
  }
781
781
  switch (Ce) {
782
782
  case "top":
783
783
  h = u.top;
784
784
  break;
785
785
  case "right":
786
- d = u.left + u.width - S.width;
786
+ d = u.left + u.width - T.width;
787
787
  break;
788
788
  case "bottom":
789
- h = u.top + u.height - S.height;
789
+ h = u.top + u.height - T.height;
790
790
  break;
791
791
  case "left":
792
792
  d = u.left;
793
793
  break;
794
794
  case "center":
795
- /left|right/.test(q) ? h = u.top + u.height / 2 - S.height / 2 : d = u.left + u.width / 2 - S.width / 2;
795
+ /left|right/.test(q) ? h = u.top + u.height / 2 - T.height / 2 : d = u.left + u.width / 2 - T.width / 2;
796
796
  }
797
797
  i.$datepicker.style.cssText = "left: ".concat(d + W, "px; top: ").concat(h + Y, "px");
798
798
  }
@@ -872,8 +872,8 @@ var Ae = me(function(m, v) {
872
872
  }), g(this, "_onChangeTime", (s) => {
873
873
  let { hours: o, minutes: h } = s, d = new Date(), { lastSelectedDate: c, opts: { onSelect: p } } = this, u = c;
874
874
  c || (u = d);
875
- let f = this.getCell(u, this.currentViewSingular), k = f && f.adpCell;
876
- k && k.isDisabled || (u.setHours(o), u.setMinutes(h), c ? (this._setInputValue(), p && this._triggerOnSelect()) : this.selectDate(u));
875
+ let f = this.getCell(u, this.currentViewSingular), C = f && f.adpCell;
876
+ C && C.isDisabled || (u.setHours(o), u.setMinutes(h), c ? (this._setInputValue(), p && this._triggerOnSelect()) : this.selectDate(u));
877
877
  }), g(this, "_onFocus", (s) => {
878
878
  this.visible || this.show();
879
879
  }), g(this, "_onBlur", (s) => {
@@ -889,19 +889,19 @@ var Ae = me(function(m, v) {
889
889
  }), g(this, "isWeekend", (s) => this.opts.weekends.includes(s)), g(this, "getClampedDate", (s) => {
890
890
  let { minDate: o, maxDate: h } = this, d = s;
891
891
  return h && F(s, h) ? d = h : o && B(s, o) && (d = o), d;
892
- }), this.$el = w(e), !this.$el)
892
+ }), this.$el = k(e), !this.$el)
893
893
  return;
894
- this.$datepicker = _({ className: "air-datepicker" }), this.opts = Z({}, se, t), this.$customContainer = !!this.opts.container && w(this.opts.container), this.$altField = w(this.opts.altField || !1), ee || (ee = w("body"));
894
+ this.$datepicker = M({ className: "air-datepicker" }), this.opts = Z({}, se, t), this.$customContainer = !!this.opts.container && k(this.opts.container), this.$altField = k(this.opts.altField || !1), ee || (ee = k("body"));
895
895
  let { view: a, startDate: n } = this.opts;
896
896
  n || (this.opts.startDate = new Date()), this.$el.nodeName === "INPUT" && (this.elIsInput = !0), this.inited = !1, this.visible = !1, this.viewDate = x(this.opts.startDate), this.focusDate = !1, this.initialReadonly = this.$el.getAttribute("readonly"), this.customHide = !1, this.currentView = a, this.selectedDates = [], this.views = {}, this.keys = [], this.rangeDateFrom = "", this.rangeDateTo = "", this.timepickerIsActive = !1, this.treatAsInline = this.opts.inline || !this.elIsInput, this.init();
897
897
  }
898
898
  init() {
899
899
  let { opts: e, treatAsInline: t, opts: { inline: i, isMobile: a, selectedDates: n, keyboardNav: s, onlyTimepicker: o } } = this;
900
900
  var h;
901
- oe || i || !this.elIsInput || (oe = !0, J = _({ className: h = E.defaultContainerId, id: h }), ee.appendChild(J)), !a || H || t || this._createMobileOverlay(), this._handleLocale(), this._bindSubEvents(), this._createMinMaxDates(), this._limitViewDateByMaxMinDates(), this.elIsInput && (i || this._bindEvents(), s && !o && (this.keyboardNav = new we({ dp: this, opts: e }))), n && this.selectDate(n, { silent: !0 }), this.opts.visible && !t && this.show(), a && !t && this.$el.setAttribute("readonly", !0), t && this._createComponents();
901
+ oe || i || !this.elIsInput || (oe = !0, J = M({ className: h = E.defaultContainerId, id: h }), ee.appendChild(J)), !a || H || t || this._createMobileOverlay(), this._handleLocale(), this._bindSubEvents(), this._createMinMaxDates(), this._limitViewDateByMaxMinDates(), this.elIsInput && (i || this._bindEvents(), s && !o && (this.keyboardNav = new we({ dp: this, opts: e }))), n && this.selectDate(n, { silent: !0 }), this.opts.visible && !t && this.show(), a && !t && this.$el.setAttribute("readonly", !0), t && this._createComponents();
902
902
  }
903
903
  _createMobileOverlay() {
904
- H = _({ className: "air-datepicker-overlay" }), J.appendChild(H);
904
+ H = M({ className: "air-datepicker-overlay" }), J.appendChild(H);
905
905
  }
906
906
  _createComponents() {
907
907
  let { opts: e, treatAsInline: t, opts: { inline: i, buttons: a, timepicker: n, position: s, classes: o, onlyTimepicker: h, isMobile: d } } = this;
@@ -923,10 +923,10 @@ var Ae = me(function(m, v) {
923
923
  this.minDate = !!e && x(e), this.maxDate = !!t && x(t);
924
924
  }
925
925
  _addTimepicker() {
926
- this.$timepicker = _({ className: "air-datepicker--time" }), this.$datepicker.appendChild(this.$timepicker), this.timepicker = new be({ dp: this, opts: this.opts }), this.$timepicker.appendChild(this.timepicker.$el);
926
+ this.$timepicker = M({ className: "air-datepicker--time" }), this.$datepicker.appendChild(this.$timepicker), this.timepicker = new be({ dp: this, opts: this.opts }), this.$timepicker.appendChild(this.timepicker.$el);
927
927
  }
928
928
  _addButtons() {
929
- this.$buttons = _({ className: "air-datepicker--buttons" }), this.$datepicker.appendChild(this.$buttons), this.buttons = new De({ dp: this, opts: this.opts }), this.$buttons.appendChild(this.buttons.$el);
929
+ this.$buttons = M({ className: "air-datepicker--buttons" }), this.$datepicker.appendChild(this.$buttons), this.buttons = new De({ dp: this, opts: this.opts }), this.$buttons.appendChild(this.buttons.$el);
930
930
  }
931
931
  _bindSubEvents() {
932
932
  this.on(l.eventChangeSelectedDate, this._onChangeSelectedDate), this.on(l.eventChangeFocusDate, this._onChangeFocusedDate), this.on(l.eventChangeTime, this._onChangeTime);
@@ -934,7 +934,7 @@ var Ae = me(function(m, v) {
934
934
  _buildBaseHtml() {
935
935
  let { inline: e } = this.opts;
936
936
  var t, i;
937
- this.elIsInput ? e ? (t = this.$datepicker, (i = this.$el).parentNode.insertBefore(t, i.nextSibling)) : this.$container.appendChild(this.$datepicker) : this.$el.appendChild(this.$datepicker), this.$datepicker.innerHTML = '<i class="air-datepicker--pointer"></i><div class="air-datepicker--navigation"></div><div class="air-datepicker--content"></div>', this.$content = w(".air-datepicker--content", this.$datepicker), this.$pointer = w(".air-datepicker--pointer", this.$datepicker), this.$nav = w(".air-datepicker--navigation", this.$datepicker);
937
+ this.elIsInput ? e ? (t = this.$datepicker, (i = this.$el).parentNode.insertBefore(t, i.nextSibling)) : this.$container.appendChild(this.$datepicker) : this.$el.appendChild(this.$datepicker), this.$datepicker.innerHTML = '<i class="air-datepicker--pointer"></i><div class="air-datepicker--navigation"></div><div class="air-datepicker--content"></div>', this.$content = k(".air-datepicker--content", this.$datepicker), this.$pointer = k(".air-datepicker--pointer", this.$datepicker), this.$nav = k(".air-datepicker--navigation", this.$datepicker);
938
938
  }
939
939
  _handleLocale() {
940
940
  let { locale: e, dateFormat: t, firstDay: i, timepicker: a, onlyTimepicker: n, timeFormat: s, dateTimeSeparator: o } = this.opts;
@@ -980,10 +980,10 @@ var Ae = me(function(m, v) {
980
980
  selectDate(e) {
981
981
  let t, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, { currentView: a, parsedViewDate: n, selectedDates: s } = this, { updateTime: o } = i, { moveToOtherMonthsOnSelect: h, moveToOtherYearsOnSelect: d, multipleDates: c, range: p, autoClose: u } = this.opts, f = s.length;
982
982
  if (Array.isArray(e))
983
- return e.forEach((k) => {
984
- this.selectDate(k, i);
985
- }), new Promise((k) => {
986
- setTimeout(k);
983
+ return e.forEach((C) => {
984
+ this.selectDate(C, i);
985
+ }), new Promise((C) => {
986
+ setTimeout(C);
987
987
  });
988
988
  if ((e = x(e)) instanceof Date) {
989
989
  if (a === l.days && e.getMonth() !== n.month && h && (t = new Date(e.getFullYear(), e.getMonth(), 1)), a === l.years && e.getFullYear() !== n.year && d && (t = new Date(e.getFullYear(), 0, 1)), t && this.setViewDate(t), c && !p) {
@@ -1003,8 +1003,8 @@ var Ae = me(function(m, v) {
1003
1003
  }
1004
1004
  else
1005
1005
  this.selectedDates = [e];
1006
- return this.trigger(l.eventChangeSelectedDate, { action: l.actionSelectDate, silent: i == null ? void 0 : i.silent, date: e, updateTime: o }), this._updateLastSelectedDate(e), u && !this.timepickerIsActive && this.visible && (c || p ? p && f === 1 && this.hide() : this.hide()), new Promise((k) => {
1007
- setTimeout(k);
1006
+ return this.trigger(l.eventChangeSelectedDate, { action: l.actionSelectDate, silent: i == null ? void 0 : i.silent, date: e, updateTime: o }), this._updateLastSelectedDate(e), u && !this.timepickerIsActive && this.visible && (c || p ? p && f === 1 && this.hide() : this.hide()), new Promise((C) => {
1007
+ setTimeout(C);
1008
1008
  });
1009
1009
  }
1010
1010
  }
@@ -1100,14 +1100,14 @@ var Ae = me(function(m, v) {
1100
1100
  }
1101
1101
  }
1102
1102
  var he;
1103
- return g(E, "defaults", se), g(E, "version", "3.3.0"), g(E, "defaultContainerId", "air-datepicker-global-container"), he = E.prototype, Object.assign(he, ke), T.default;
1103
+ return g(E, "defaults", se), g(E, "version", "3.3.0"), g(E, "defaultContainerId", "air-datepicker-global-container"), he = E.prototype, Object.assign(he, ke), S.default;
1104
1104
  }();
1105
1105
  });
1106
1106
  }), Le = me(function(m, v) {
1107
1107
  Object.defineProperty(v, "__esModule", {
1108
1108
  value: !0
1109
1109
  }), v.default = void 0;
1110
- var $ = {
1110
+ var w = {
1111
1111
  days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
1112
1112
  daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
1113
1113
  daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
@@ -1119,9 +1119,9 @@ var Ae = me(function(m, v) {
1119
1119
  timeFormat: "hh:mm aa",
1120
1120
  firstDay: 0
1121
1121
  };
1122
- v.default = $;
1122
+ v.default = w;
1123
1123
  });
1124
- const Oe = /* @__PURE__ */ xe(Le), Ne = ':host{display:block}:host *{box-sizing:border-box}.date-picker{padding:var(--s-space-8) var(--s-space-16);background-color:var(--s-surface-overlay-default);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);letter-spacing:var(--s-letter-spacing-tighter)}@media (min-width: 768px){.date-picker{max-width:17.5rem}}.air-datepicker--pointer{display:none}.air-datepicker-nav{display:flex;margin-bottom:var(--s-space-8);align-items:center;gap:var(--s-space-4)}.air-datepicker-nav--action{position:relative;display:inline-flex;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border-radius:50%;color:var(--s-icon-highlight);cursor:pointer;order:2}.air-datepicker-nav--action:hover{background-color:var(--s-surface-overlay-hovered)}.air-datepicker-nav--title{padding:var(--s-space-8);flex-grow:1;border-radius:var(--s-border-radius-s);font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left;cursor:pointer;order:0}.air-datepicker-nav--title i{font-style:normal}.air-datepicker-body--day-names{display:flex;margin-bottom:var(--s-space-8);justify-content:space-between;align-items:center}.air-datepicker-body--day-name{display:inline-flex;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;color:var(--s-text-subdued);aspect-ratio:1}.air-datepicker-body--cells{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-between}.air-datepicker-body--cells.-months-{gap:var(--s-space-2)}.air-datepicker-cell{position:relative;display:inline-flex;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;font-weight:var(--s-font-weight-medium);cursor:pointer;aspect-ratio:1}.air-datepicker-cell:not(.-month-):not(.-year-):not(.-in-range-):hover:before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-overlay-hovered);content:"";inset:0}.air-datepicker-cell.-month-,.air-datepicker-cell.-year-{height:2.5rem;flex-basis:calc(100 / 3 * 1% - var(--s-space-2) * 2);border-radius:var(--s-border-radius-s);aspect-ratio:auto}.air-datepicker-cell.-month-.-in-range-:before,.air-datepicker-cell.-year-.-in-range-:before{border-radius:var(--s-border-radius-s)}.air-datepicker-cell.-month-:hover:not(.-in-range-):not(.-selected-),.air-datepicker-cell.-year-:hover:not(.-in-range-):not(.-selected-){background-color:var(--s-surface-overlay-hovered)}.air-datepicker-cell.-other-month-{color:var(--s-text-subdued)}.air-datepicker-cell.-current-:not(.-month-):not(.-year-):after{position:absolute;z-index:-1;border:var(--s-border-width-default) solid var(--s-border-highlight);border-radius:50%;content:"";inset:0}.air-datepicker-cell.-selected-{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-selected-.-year-,.air-datepicker-cell.-selected-.-month-{background-color:var(--s-surface-highlight-default)}.air-datepicker-cell.-selected-:not(.-month-):not(.-year-):not(.-in-range-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:"";inset:0}.air-datepicker-cell.-disabled-{color:var(--s-text-subdued);cursor:default}.air-datepicker-cell.-disabled-:hover{background-color:transparent}.air-datepicker-cell.-in-range-:before{position:absolute;z-index:-1;top:0.0625rem;right:0;bottom:0.0625rem;left:0;border-radius:0;background-color:var(--s-surface-highlight-default);content:"";opacity:0.2}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):hover{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:"";inset:0}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):after{position:absolute;z-index:-1;top:0.0625rem;right:0;bottom:0.0625rem;left:50%;border-radius:0;background-color:var(--s-surface-highlight-default);content:"";opacity:0.2}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):hover{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:"";inset:0}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):after{position:absolute;z-index:-1;top:0.0625rem;right:50%;bottom:0.0625rem;left:0;border-radius:0;background-color:var(--s-surface-highlight-default);content:"";opacity:0.2}.-hidden-{display:none}', Ie = class {
1124
+ const Oe = /* @__PURE__ */ xe(Le), Ne = ':host{display:block}:host *{box-sizing:border-box}.date-picker{padding:var(--s-space-8) var(--s-space-16);background-color:var(--s-surface-overlay-default);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);letter-spacing:var(--s-letter-spacing-tighter)}@media (min-width: 768px){.date-picker{max-width:17.5rem}}.air-datepicker--pointer{display:none}.air-datepicker-nav{display:flex;margin-bottom:var(--s-space-8);align-items:center}.air-datepicker-nav--action{position:relative;display:inline-flex;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border-radius:50%;color:var(--s-icon-highlight);cursor:pointer;order:2}.air-datepicker-nav--action:hover{background-color:var(--s-surface-overlay-hovered)}.air-datepicker-nav--title{padding:var(--s-space-8);flex-grow:1;border-radius:var(--s-border-radius-s);font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left;cursor:pointer;order:0}.air-datepicker-nav--title i{font-style:normal}.air-datepicker-body--day-names{display:flex;margin-bottom:var(--s-space-8);justify-content:space-between;align-items:center}.air-datepicker-body--day-name{display:inline-flex;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;color:var(--s-text-subdued);aspect-ratio:1}.air-datepicker-body--cells{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-between}.air-datepicker-body--cells.-months-{gap:var(--s-space-2)}.air-datepicker-cell{position:relative;display:inline-flex;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;font-weight:var(--s-font-weight-medium);cursor:pointer;aspect-ratio:1}.air-datepicker-cell:not(.-month-):not(.-year-):not(.-in-range-):hover:before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-overlay-hovered);content:"";inset:0}.air-datepicker-cell.-month-,.air-datepicker-cell.-year-{height:2.5rem;flex-basis:calc(100 / 3 * 1% - var(--s-space-2) * 2);border-radius:var(--s-border-radius-s);aspect-ratio:auto}.air-datepicker-cell.-month-.-in-range-:before,.air-datepicker-cell.-year-.-in-range-:before{border-radius:var(--s-border-radius-s)}.air-datepicker-cell.-month-:hover:not(.-in-range-):not(.-selected-),.air-datepicker-cell.-year-:hover:not(.-in-range-):not(.-selected-){background-color:var(--s-surface-overlay-hovered)}.air-datepicker-cell.-other-month-{color:var(--s-text-subdued)}.air-datepicker-cell.-current-:not(.-month-):not(.-year-):after{position:absolute;z-index:-1;border:var(--s-border-width-default) solid var(--s-border-highlight);border-radius:50%;content:"";inset:0}.air-datepicker-cell.-selected-{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-selected-.-year-,.air-datepicker-cell.-selected-.-month-{background-color:var(--s-surface-highlight-default)}.air-datepicker-cell.-selected-:not(.-month-):not(.-year-):not(.-in-range-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:"";inset:0}.air-datepicker-cell.-disabled-{color:var(--s-text-subdued);cursor:default}.air-datepicker-cell.-disabled-:hover{background-color:transparent}.air-datepicker-cell.-in-range-:before{position:absolute;z-index:-1;top:0.0625rem;right:0;bottom:0.0625rem;left:0;border-radius:0;background-color:var(--s-surface-highlight-default);content:"";opacity:0.2}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):hover{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:"";inset:0}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):after{position:absolute;z-index:-1;top:0.0625rem;right:0;bottom:0.0625rem;left:50%;border-radius:0;background-color:var(--s-surface-highlight-default);content:"";opacity:0.2}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):hover{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:"";inset:0}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):after{position:absolute;z-index:-1;top:0.0625rem;right:50%;bottom:0.0625rem;left:0;border-radius:0;background-color:var(--s-surface-highlight-default);content:"";opacity:0.2}.-hidden-{display:none}', Ie = class {
1125
1125
  constructor(m) {
1126
1126
  ie(this, m), this.valueChange = _e(this, "valueChange", 3), this.locale = Oe, this.onClick = (v) => {
1127
1127
  v.stopPropagation(), v.preventDefault();
@@ -1182,13 +1182,13 @@ const Pe = ":host{display:inline-flex}", Be = class {
1182
1182
  }
1183
1183
  };
1184
1184
  Be.style = Pe;
1185
- const Re = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:host *{box-sizing:border-box}.popover--active:not(.popover--closing) .popover__backdrop{-webkit-animation:0.15s popover-fade-in;animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__backdrop{-webkit-animation:none;animation:none}}.popover--active:not(.popover--closing) .popover__content{-webkit-animation:0.15s popover-slide-in;animation:0.15s popover-slide-in}@media (min-width: 768px){.popover--active:not(.popover--closing) .popover__content{transform-origin:top left;-webkit-animation:0.15s popover-fade-scale-in;animation:0.15s popover-fade-scale-in}}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__content{-webkit-animation:none;animation:none}}.popover--closing .popover__backdrop{-webkit-animation:0.15s popover-fade-out;animation:0.15s popover-fade-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--closing .popover__backdrop{-webkit-animation:none;animation:none}}.popover--closing .popover__content{-webkit-animation:0.15s popover-slide-out;animation:0.15s popover-slide-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (min-width: 768px){.popover--closing .popover__content{-webkit-animation:0.15s popover-fade-out;animation:0.15s popover-fade-out}}@media (prefers-reduced-motion){.popover--closing .popover__content{-webkit-animation:none;animation:none}}.popover--inactive .popover__content{display:none}.popover__backdrop{position:fixed;z-index:0;background-color:rgba(0, 0, 0, 0.2);-webkit-animation:0.15s popover-backdrop-fade-in;animation:0.15s popover-backdrop-fade-in;inset:0}@media (prefers-reduced-motion){.popover__backdrop{-webkit-animation:none;animation:none}}@media (min-width: 768px){.popover__backdrop{display:none}}.popover__content{position:fixed;z-index:2;right:0;bottom:0;left:0;overflow:hidden;border-top-left-radius:var(--s-border-radius-xl);border-top-right-radius:var(--s-border-radius-xl);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.popover__content{right:unset;bottom:unset;left:unset;max-width:22.5rem;border-radius:var(--s-border-radius-xl);-webkit-animation:none;animation:none;box-shadow:0.125rem 0.25rem 2.5rem rgba(0, 0, 0, 0.14)}}.popover__scroll-container{overflow-x:hidden;overflow-y:auto;width:100%;max-height:90vh;padding-top:var(--s-space-24);padding-bottom:var(--s-space-24);overscroll-behavior:contain}@media (min-width: 768px){.popover__scroll-container{max-height:22rem;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8)}}.popover__handle{position:absolute;top:var(--s-space-8);left:50%;width:2.5rem;height:0.375rem;border-radius:0.1875rem;background-color:var(--s-border-default);transform:translatex(-50%)}@media (min-width: 768px){.popover__handle{display:none}}@-webkit-keyframes popover-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes popover-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@-webkit-keyframes popover-slide-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes popover-slide-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@-webkit-keyframes popover-fade-in{from{opacity:0}to{opacity:1}}@keyframes popover-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes popover-fade-out{from{opacity:1}to{opacity:0}}@keyframes popover-fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes popover-fade-scale-in{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes popover-fade-scale-in{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}", ze = class {
1185
+ const Re = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:host *{box-sizing:border-box}.popover--active:not(.popover--closing) .popover__backdrop{-webkit-animation:0.15s popover-fade-in;animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__backdrop{-webkit-animation:none;animation:none}}.popover--active:not(.popover--closing) .popover__content{-webkit-animation:0.15s popover-slide-in;animation:0.15s popover-slide-in}@media (min-width: 768px){.popover--active:not(.popover--closing) .popover__content{transform-origin:top left;-webkit-animation:0.15s popover-fade-scale-in;animation:0.15s popover-fade-scale-in}}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__content{-webkit-animation:none;animation:none}}.popover--closing .popover__backdrop{-webkit-animation:0.15s popover-fade-out;animation:0.15s popover-fade-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--closing .popover__backdrop{-webkit-animation:none;animation:none}}.popover--closing .popover__content{-webkit-animation:0.15s popover-slide-out;animation:0.15s popover-slide-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (min-width: 768px){.popover--closing .popover__content{-webkit-animation:0.15s popover-fade-out;animation:0.15s popover-fade-out}}@media (prefers-reduced-motion){.popover--closing .popover__content{-webkit-animation:none;animation:none}}.popover--inactive .popover__content{display:none}.popover__backdrop{position:fixed;z-index:0;background-color:rgba(0, 0, 0, 0.2);-webkit-animation:0.15s popover-backdrop-fade-in;animation:0.15s popover-backdrop-fade-in;inset:0}@media (prefers-reduced-motion){.popover__backdrop{-webkit-animation:none;animation:none}}@media (min-width: 768px){.popover__backdrop{display:none}}.popover__content{position:fixed;z-index:2;right:0;bottom:0;left:0;overflow:hidden;border-top-left-radius:var(--s-border-radius-xl);border-top-right-radius:var(--s-border-radius-xl);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.popover__content{right:unset;bottom:unset;left:unset;max-width:22.5rem;border-radius:var(--s-border-radius-sm);-webkit-animation:none;animation:none;box-shadow:0.125rem 0.25rem 2.5rem rgba(0, 0, 0, 0.14)}}.popover__scroll-container{overflow-x:hidden;overflow-y:auto;width:100%;max-height:90vh;padding-top:var(--s-space-24);padding-bottom:var(--s-space-24);overscroll-behavior:contain}@media (min-width: 768px){.popover__scroll-container{max-height:22rem;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8)}}.popover__handle{position:absolute;top:var(--s-space-8);left:50%;width:2.5rem;height:0.375rem;border-radius:0.1875rem;background-color:var(--s-border-default);transform:translatex(-50%)}@media (min-width: 768px){.popover__handle{display:none}}@-webkit-keyframes popover-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes popover-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@-webkit-keyframes popover-slide-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes popover-slide-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@-webkit-keyframes popover-fade-in{from{opacity:0}to{opacity:1}}@keyframes popover-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes popover-fade-out{from{opacity:1}to{opacity:0}}@keyframes popover-fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes popover-fade-scale-in{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes popover-fade-scale-in{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}", ze = class {
1186
1186
  constructor(m) {
1187
1187
  ie(this, m), this.placement = "bottom-start", this.active = !1, this.closing = !1, this.onFocusOut = (v) => {
1188
1188
  if (!this.active)
1189
1189
  return;
1190
- const $ = v.relatedTarget || v.target;
1191
- !this.el.contains($) && this.close();
1190
+ const w = v.relatedTarget || v.target;
1191
+ !this.el.contains(w) && this.close();
1192
1192
  }, this.toggle = (v) => {
1193
1193
  v.stopPropagation(), this.active ? this.close() : this.open();
1194
1194
  }, this.onKeydown = (v) => {
@@ -1200,8 +1200,8 @@ const Re = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:h
1200
1200
  this.position = void 0;
1201
1201
  return;
1202
1202
  }
1203
- this.position = await Se(this.triggerEl, this.contentContainer, {
1204
- middleware: [Te(), Ve()],
1203
+ this.position = await Te(this.triggerEl, this.contentContainer, {
1204
+ middleware: [Se(), Ve()],
1205
1205
  placement: this.placement,
1206
1206
  strategy: "fixed"
1207
1207
  });
@@ -1224,7 +1224,7 @@ const Re = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:h
1224
1224
  var m;
1225
1225
  this.closing || (this.disableAutoUpdate && this.disableAutoUpdate(), this.closing = !0, setTimeout(() => {
1226
1226
  this.active = !1, this.closing = !1, this.updateTriggerAttributes();
1227
- }, 150), this.unlockBodyScroll(), (m = this.triggerEl) === null || m === void 0 || m.focus());
1227
+ }, 150), this.unlockBodyScroll(), (m = this.getNativeTriggerElement()) === null || m === void 0 || m.focus());
1228
1228
  }
1229
1229
  async open() {
1230
1230
  this.active = !0, this.updateChildMenuItems(), this.updateTriggerAttributes(), requestAnimationFrame(async () => {
@@ -1232,12 +1232,17 @@ const Re = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:h
1232
1232
  });
1233
1233
  }
1234
1234
  connectTrigger() {
1235
- var m;
1236
- const v = pe(document.body, `#${this.trigger}`)[0];
1237
- this.triggerEl = (v == null ? void 0 : v.children[0]) || ((m = v == null ? void 0 : v.shadowRoot) === null || m === void 0 ? void 0 : m.children[0]) || v, Boolean(this.triggerEl) && this.triggerEl.addEventListener("click", this.toggle);
1235
+ this.triggerEl = pe(document.body, `#${this.trigger}`)[0], Boolean(this.triggerEl) && this.triggerEl.addEventListener("click", this.toggle);
1236
+ }
1237
+ getNativeTriggerElement() {
1238
+ var m, v, w;
1239
+ return this.triggerEl.tagName.startsWith("FLIP-") ? ((m = this.triggerEl) === null || m === void 0 ? void 0 : m.children[0]) || ((w = (v = this.triggerEl) === null || v === void 0 ? void 0 : v.shadowRoot) === null || w === void 0 ? void 0 : w.children[0]) || this.triggerEl : this.triggerEl;
1238
1240
  }
1239
1241
  updateTriggerAttributes() {
1240
- !Boolean(this.triggerEl) || (this.triggerEl.setAttribute("aria-controls", this.popoverId), this.triggerEl.setAttribute("aria-expanded", String(this.active)), this.triggerEl.setAttribute("aria-haspopup", "dialog"));
1242
+ if (!Boolean(this.triggerEl))
1243
+ return;
1244
+ const m = this.getNativeTriggerElement();
1245
+ m.setAttribute("aria-controls", this.popoverId), m.setAttribute("aria-expanded", String(this.active)), m.setAttribute("aria-haspopup", "dialog");
1241
1246
  }
1242
1247
  updateChildMenuItems() {
1243
1248
  this.childMenuItems = pe(this.el, '[role="menuitem"]');
@@ -1250,15 +1255,15 @@ const Re = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:h
1250
1255
  }
1251
1256
  render() {
1252
1257
  var m, v;
1253
- const $ = Ee("popover", {
1258
+ const w = Ee("popover", {
1254
1259
  "popover--closing": this.closing,
1255
1260
  "popover--active": this.active,
1256
1261
  "popover--inactive": !this.active
1257
1262
  });
1258
- return b(ue, { id: this.popoverId, onFocusout: this.onFocusOut }, b("div", { class: $, onKeyDown: this.onKeydown }, b("div", { "aria-hidden": this.active ? "false" : "true", "aria-label": this.label, class: "popover__content", role: "dialog", tabindex: "-1", ref: (T) => this.contentContainer = T, style: {
1263
+ return b(ue, { id: this.popoverId, onFocusout: this.onFocusOut }, b("div", { class: w, onKeyDown: this.onKeydown }, b("div", { "aria-hidden": this.active ? "false" : "true", "aria-label": this.label, class: "popover__content", role: "dialog", tabindex: "-1", ref: (S) => this.contentContainer = S, style: {
1259
1264
  top: Boolean(this.position) ? `${(m = this.position) === null || m === void 0 ? void 0 : m.y}px` : "",
1260
1265
  left: Boolean(this.position) ? `${(v = this.position) === null || v === void 0 ? void 0 : v.x}px` : ""
1261
- } }, b("span", { class: "popover__handle" }), b("div", { class: "popover__scroll-container", ref: (T) => this.scrollContainer = T }, b("slot", null))), this.active && b("div", { class: "popover__backdrop", onClick: this.onCloseButtonClick })));
1266
+ } }, b("span", { class: "popover__handle" }), b("div", { class: "popover__scroll-container", ref: (S) => this.scrollContainer = S }, b("slot", null))), this.active && b("div", { class: "popover__backdrop", onClick: this.onCloseButtonClick })));
1262
1267
  }
1263
1268
  get el() {
1264
1269
  return Me(this);
@@ -1,4 +1,4 @@
1
- import { r as t, h as i, H as s } from "./index.b70d4c92.js";
1
+ import { r as t, h as i, H as s } from "./index.0ccdd659.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const e = `:host {
@@ -1,4 +1,4 @@
1
- import { r as i, h as t, H as o } from "./index.b70d4c92.js";
1
+ import { r as i, h as t, H as o } from "./index.0ccdd659.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const r = ":host{display:block;container-type:inline-size;container-name:description-list}:host *{box-sizing:border-box}.description-list{display:block;max-width:100%;margin:0}.description-list ::slotted(*){padding-bottom:var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.description-list ::slotted(*:not(:last-child)){margin-bottom:var(--s-space-16)}", e = class {
@@ -1,10 +1,10 @@
1
- import { r as e, c as t, h as o, H as n } from "./index.b70d4c92.js";
1
+ import { r as e, c as t, h as o, H as n } from "./index.0ccdd659.js";
2
2
  import { A as s } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
3
3
  import { c as l } from "./index-6d2e18c6.289636d4.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  import "./_commonjsHelpers-44457d8d.ba94af77.js";
7
- const r = ':host{--flip-ghost-button-background-default:var(--s-surface-overlay-default);--flip-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--flip-ghost-button-background-pressed:var(--s-surface-overlay-pressed);display:block}:host *{box-sizing:border-box}.dialog{position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.dialog[aria-hidden="true"]{display:none}.dialog:not(.dialog--closing) .dialog__backdrop{-webkit-animation:0.15s dialog-backdrop-fade-in;animation:0.15s dialog-backdrop-fade-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__backdrop{-webkit-animation:none;animation:none}}.dialog:not(.dialog--closing) .dialog__body{-webkit-animation:0.15s dialog-scale-in;animation:0.15s dialog-scale-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__body{-webkit-animation:none;animation:none}}.dialog--closing{-webkit-animation:0.15s dialog-fade-out;animation:0.15s dialog-fade-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.dialog--closing{-webkit-animation:none;animation:none}}.dialog__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.dialog__body{z-index:var(--s-z-40);overflow-x:hidden;overflow-y:auto;width:18.5rem;max-height:90vh;padding-top:var(--s-space-24);padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);padding-left:var(--s-space-8);border-radius:var(--s-border-radius-xl);background-color:var(--s-surface-overlay-default);text-align:center;box-shadow:0.125rem 0.25rem 1rem rgba(0, 0, 0, 0.14)}.dialog__heading{margin:0;margin-bottom:var(--s-space-8);font-size:var(--s-font-size-lg);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-lg)}.dialog__content{margin-bottom:var(--s-space-24);line-height:var(--s-line-height-base)}.dialog__content ::slotted(*){margin:0}@-webkit-keyframes dialog-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes dialog-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes dialog-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes dialog-backdrop-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes dialog-fade-out{from{opacity:1}to{opacity:0}}@keyframes dialog-fade-out{from{opacity:1}to{opacity:0}}', d = class {
7
+ const r = ':host{--flip-ghost-button-background-default:var(--s-surface-overlay-default);--flip-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--flip-ghost-button-background-pressed:var(--s-surface-overlay-pressed);display:block}:host *{box-sizing:border-box}.dialog{position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.dialog[aria-hidden="true"]{display:none}.dialog:not(.dialog--closing) .dialog__backdrop{-webkit-animation:0.15s dialog-backdrop-fade-in;animation:0.15s dialog-backdrop-fade-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__backdrop{-webkit-animation:none;animation:none}}.dialog:not(.dialog--closing) .dialog__body{-webkit-animation:0.15s dialog-scale-in;animation:0.15s dialog-scale-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__body{-webkit-animation:none;animation:none}}.dialog--closing{-webkit-animation:0.15s dialog-fade-out;animation:0.15s dialog-fade-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.dialog--closing{-webkit-animation:none;animation:none}}.dialog__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.dialog__body{z-index:var(--s-z-40);overflow-x:hidden;overflow-y:auto;width:18.5rem;max-height:90vh;padding-top:var(--s-space-24);padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);padding-left:var(--s-space-8);border-radius:var(--s-border-radius-l);background-color:var(--s-surface-overlay-default);text-align:center;box-shadow:0.125rem 0.25rem 1rem rgba(0, 0, 0, 0.14)}.dialog__heading{margin:0;margin-bottom:var(--s-space-8);font-size:var(--s-font-size-lg);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-lg)}.dialog__content{margin-bottom:var(--s-space-24);line-height:var(--s-line-height-base)}.dialog__content ::slotted(*){margin:0}@-webkit-keyframes dialog-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes dialog-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes dialog-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes dialog-backdrop-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes dialog-fade-out{from{opacity:1}to{opacity:0}}@keyframes dialog-fade-out{from{opacity:1}to{opacity:0}}', d = class {
8
8
  constructor(i) {
9
9
  e(this, i), this.primaryAction = t(this, "primaryAction", 7), this.secondaryAction = t(this, "secondaryAction", 7), this.intent = "primary", this.closing = !1, this.onKeyDown = (a) => {
10
10
  a.code === "Escape" && this.close();
@@ -1,4 +1,4 @@
1
- import { r as e, h as t, H as i } from "./index.b70d4c92.js";
1
+ import { r as e, h as t, H as i } from "./index.0ccdd659.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const a = ":host{display:block}:host *{box-sizing:border-box}.empty-state{display:flex;max-width:28rem;align-items:center;flex-direction:column;gap:var(--s-space-16)}.empty-state__illustration{max-width:16rem}.empty-state__body{display:flex;align-items:center;flex-direction:column;gap:var(--s-space-8)}", l = class {
@@ -1,9 +1,9 @@
1
- import { r as s, c as r, h as e, H as d } from "./index.b70d4c92.js";
1
+ import { r as s, c as r, h as e, H as d } from "./index.0ccdd659.js";
2
2
  import { c as p } from "./index-6d2e18c6.289636d4.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  import "./_commonjsHelpers-44457d8d.ba94af77.js";
6
- const t = ".sc-flip-file-uploader-h{display:block;width:100%}.sc-flip-file-uploader-h *.sc-flip-file-uploader{box-sizing:border-box}.file-uploader.sc-flip-file-uploader{width:100%}.file-uploader--show-dropzone.sc-flip-file-uploader .file-uploader__dropzone.sc-flip-file-uploader{position:relative;display:flex;width:100%;height:10rem;margin-top:var(--s-space-16);justify-content:center;align-items:center;border:var(--s-border-width-default) dashed var(--s-border-strong);border-radius:var(--s-border-radius-s);flex-direction:column}.file-uploader--show-dropzone.sc-flip-file-uploader .file-uploader__dropzone.sc-flip-file-uploader:focus-within{border-color:var(--s-focus-default);border-width:0.125rem}.file-uploader--show-dropzone.sc-flip-file-uploader .file-uploader__input.sc-flip-file-uploader{position:absolute;display:block;cursor:pointer;opacity:0;inset:0}.file-uploader--disabled.sc-flip-file-uploader .file-uploader__input.sc-flip-file-uploader{cursor:default}.file-uploader--disabled.sc-flip-file-uploader .file-uploader__dropzone-cta.sc-flip-file-uploader,.file-uploader--disabled.sc-flip-file-uploader .file-uploader__drag-drop-label.sc-flip-file-uploader{color:var(--s-text-disabled)}.file-uploader--disabled.sc-flip-file-uploader .file-uploader__dropzone-icon.sc-flip-file-uploader{color:var(--s-text-disabled)}.file-uploader__label.sc-flip-file-uploader{display:block;font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-base)}.file-uploader__description.sc-flip-file-uploader{display:block;margin-top:var(--s-space-4);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.file-uploader__dropzone-icon.sc-flip-file-uploader{color:var(--s-icon-highlight)}.file-uploader__dropzone-label.sc-flip-file-uploader{margin-top:var(--s-space-16);line-height:var(--s-line-height-base)}.file-uploader__dropzone-cta.sc-flip-file-uploader{color:var(--s-interactive-primary-default);font-weight:var(--s-font-weight-medium)}.file-uploader__upload-button.sc-flip-file-uploader{margin-top:var(--s-space-16)}.file-uploader__input.sc-flip-file-uploader{display:none}", n = class {
6
+ const t = ".sc-flip-file-uploader-h{display:block;width:100%}.sc-flip-file-uploader-h *.sc-flip-file-uploader{box-sizing:border-box}.file-uploader.sc-flip-file-uploader{width:100%}.file-uploader--show-dropzone.sc-flip-file-uploader .file-uploader__dropzone.sc-flip-file-uploader{position:relative;display:flex;width:100%;height:10rem;margin-top:var(--s-space-16);justify-content:center;align-items:center;border:var(--s-border-width-default) dashed var(--s-border-strong);border-radius:var(--s-border-radius-s);flex-direction:column}.file-uploader--show-dropzone.sc-flip-file-uploader .file-uploader__dropzone.sc-flip-file-uploader:focus-within{border-width:0.125rem;border-color:var(--s-focus-default)}.file-uploader--show-dropzone.sc-flip-file-uploader .file-uploader__input.sc-flip-file-uploader{position:absolute;z-index:1;display:block;width:100%;cursor:pointer;opacity:0;inset:0}.file-uploader--disabled.sc-flip-file-uploader .file-uploader__input.sc-flip-file-uploader{cursor:default}.file-uploader--disabled.sc-flip-file-uploader .file-uploader__dropzone-cta.sc-flip-file-uploader,.file-uploader--disabled.sc-flip-file-uploader .file-uploader__drag-drop-label.sc-flip-file-uploader{color:var(--s-text-disabled)}.file-uploader--disabled.sc-flip-file-uploader .file-uploader__dropzone-icon.sc-flip-file-uploader{color:var(--s-text-disabled)}.file-uploader__label.sc-flip-file-uploader{display:block;font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-base)}.file-uploader__description.sc-flip-file-uploader{display:block;margin-top:var(--s-space-4);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.file-uploader__dropzone-icon.sc-flip-file-uploader{color:var(--s-icon-highlight)}.file-uploader__dropzone-label.sc-flip-file-uploader{margin-top:var(--s-space-16);line-height:var(--s-line-height-base)}.file-uploader__dropzone-cta.sc-flip-file-uploader{color:var(--s-interactive-primary-default);font-weight:var(--s-font-weight-medium)}.file-uploader__upload-button.sc-flip-file-uploader{margin-top:var(--s-space-16)}.file-uploader__input.sc-flip-file-uploader{display:none}", n = class {
7
7
  constructor(l) {
8
8
  s(this, l), this.valueChange = r(this, "valueChange", 7), this.ctaLabel = "Click to upload", this.dragDropLabel = "or drag and drop.", this.showDropzone = !0, this.uploadButtonLabel = "Select file", this.onChange = (i) => {
9
9
  const o = i.target.files;