@phillips/seldon 1.237.0 → 1.238.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 (262) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +15 -10
  2. package/dist/_virtual/index.js +5 -2
  3. package/dist/_virtual/index10.js +2 -2
  4. package/dist/_virtual/index11.js +4 -0
  5. package/dist/_virtual/index12.js +4 -0
  6. package/dist/_virtual/index13.js +4 -0
  7. package/dist/_virtual/index14.js +5 -0
  8. package/dist/_virtual/index15.js +5 -0
  9. package/dist/_virtual/index16.js +7 -0
  10. package/dist/_virtual/index17.js +4 -0
  11. package/dist/_virtual/index18.js +4 -0
  12. package/dist/_virtual/index2.js +3 -2
  13. package/dist/_virtual/index3.js +2 -2
  14. package/dist/_virtual/index4.js +2 -2
  15. package/dist/_virtual/index5.js +2 -4
  16. package/dist/_virtual/index6.js +5 -2
  17. package/dist/_virtual/index7.js +3 -2
  18. package/dist/_virtual/index8.js +2 -2
  19. package/dist/_virtual/index9.js +2 -2
  20. package/dist/components/Accordion/Accordion.js +1 -1
  21. package/dist/components/Accordion/AccordionItem.js +1 -1
  22. package/dist/components/Accordion/utils.js +1 -1
  23. package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
  24. package/dist/components/AddToCalendar/calendarLinks.js +10 -10
  25. package/dist/components/Article/Article.js +1 -1
  26. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  27. package/dist/components/Breadcrumb/BreadcrumbItem.js +1 -1
  28. package/dist/components/Button/Button.d.ts +5 -1
  29. package/dist/components/Button/Button.js +49 -47
  30. package/dist/components/Button/Button.stories.d.ts +34 -5
  31. package/dist/components/Button/index.d.ts +3 -0
  32. package/dist/components/Button/types.d.ts +4 -1
  33. package/dist/components/Button/types.js +2 -1
  34. package/dist/components/Carousel/Carousel.js +1 -1
  35. package/dist/components/Carousel/CarouselArrows.js +1 -1
  36. package/dist/components/Carousel/CarouselContent.js +1 -1
  37. package/dist/components/Carousel/CarouselDot.js +1 -1
  38. package/dist/components/Carousel/CarouselDots.js +1 -1
  39. package/dist/components/Carousel/CarouselItem.js +1 -1
  40. package/dist/components/Collapsible/Collapsible.js +1 -1
  41. package/dist/components/Collapsible/CollapsibleContent.js +1 -1
  42. package/dist/components/Collapsible/CollapsibleTrigger.js +1 -1
  43. package/dist/components/ComboBox/ComboBox.js +16 -16
  44. package/dist/components/ComposedModal/ComposedModal.js +1 -1
  45. package/dist/components/ContentPeek/ContentPeek.js +1 -1
  46. package/dist/components/Countdown/Countdown.js +10 -10
  47. package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +1 -1
  48. package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +1 -1
  49. package/dist/components/Detail/Detail.js +1 -1
  50. package/dist/components/DetailList/DetailList.js +1 -1
  51. package/dist/components/Divider/Divider.js +1 -1
  52. package/dist/components/Drawer/Drawer.js +1 -1
  53. package/dist/components/Dropdown/Dropdown.js +1 -1
  54. package/dist/components/ExitGateCard/ExitGateCard.js +1 -1
  55. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +1 -1
  56. package/dist/components/Filter/Filter.js +1 -1
  57. package/dist/components/Filter/FilterHeader.js +1 -1
  58. package/dist/components/Grid/Grid.js +1 -1
  59. package/dist/components/Grid/Grid.stories.d.ts +1 -1
  60. package/dist/components/Grid/utils.js +1 -1
  61. package/dist/components/GridItem/GridItem.js +1 -1
  62. package/dist/components/Icon/Icon.js +1 -1
  63. package/dist/components/IconButton/IconButton.js +1 -1
  64. package/dist/components/Input/Input.js +1 -1
  65. package/dist/components/Input/utils.js +1 -1
  66. package/dist/components/Link/Link.js +1 -1
  67. package/dist/components/LinkBlock/LinkBlock.js +1 -1
  68. package/dist/components/LinkList/LinkList.js +1 -1
  69. package/dist/components/Loader/Loader.js +1 -1
  70. package/dist/components/Modal/Modal.js +1 -1
  71. package/dist/components/Navigation/Navigation.js +1 -1
  72. package/dist/components/Navigation/NavigationItem/NavigationItem.js +1 -1
  73. package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +1 -1
  74. package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +1 -1
  75. package/dist/components/Navigation/NavigationList/NavigationList.js +1 -1
  76. package/dist/components/NotificationBanner/NotificationBanner.js +1 -1
  77. package/dist/components/PageContentWrapper/PageContentWrapper.js +1 -1
  78. package/dist/components/Pagination/Pagination.js +1 -1
  79. package/dist/components/Pictogram/Pictogram.js +1 -1
  80. package/dist/components/PinchZoom/PinchZoom.js +1 -1
  81. package/dist/components/ProgressIndicator/ProgressIndicator.js +1 -1
  82. package/dist/components/Row/Row.js +5 -5
  83. package/dist/components/Search/Search.js +1 -1
  84. package/dist/components/Search/Search.stories.d.ts +1 -1
  85. package/dist/components/SeldonImage/SeldonImage.js +1 -1
  86. package/dist/components/Select/Select.js +2 -2
  87. package/dist/components/SplitPanel/SplitPanel.js +1 -1
  88. package/dist/components/Tabs/TabsContainer.js +1 -1
  89. package/dist/components/Tabs/TabsContent.js +1 -1
  90. package/dist/components/Tags/Tags.js +1 -1
  91. package/dist/components/Text/Text.js +1 -1
  92. package/dist/components/Text/utils.js +1 -0
  93. package/dist/components/TextArea/TextArea.js +2 -2
  94. package/dist/components/TextSymbol/TextSymbol.js +16 -16
  95. package/dist/components/Toast/Toast.js +1 -1
  96. package/dist/components/Video/Video.js +1 -1
  97. package/dist/index.d.ts +1 -1
  98. package/dist/index.js +225 -224
  99. package/dist/node_modules/@artsy/fresnel/dist/Breakpoints.js +261 -260
  100. package/dist/node_modules/@artsy/fresnel/dist/DynamicResponsive.js +148 -143
  101. package/dist/node_modules/@artsy/fresnel/dist/Interactions.js +124 -123
  102. package/dist/node_modules/@artsy/fresnel/dist/Media.js +158 -157
  103. package/dist/node_modules/@artsy/fresnel/dist/MediaQueries.js +120 -120
  104. package/dist/node_modules/@artsy/fresnel/dist/Utils.js +85 -87
  105. package/dist/node_modules/@artsy/fresnel/dist/index.js +25 -21
  106. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +12 -12
  107. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +9 -9
  108. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +23 -24
  109. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  110. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +17 -18
  111. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +24 -25
  112. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  113. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  114. package/dist/node_modules/@radix-ui/react-id/dist/index.js +10 -10
  115. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +8 -8
  116. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  117. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  118. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  119. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +14 -15
  120. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +6 -6
  121. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  122. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  123. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  124. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +13 -14
  125. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  126. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  127. package/dist/node_modules/@radix-ui/react-select/dist/index.js +21 -22
  128. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  129. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +16 -17
  130. package/dist/node_modules/@radix-ui/react-toast/dist/index.js +43 -44
  131. package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  132. package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  133. package/dist/node_modules/change-case/dist/index.js +20 -20
  134. package/dist/node_modules/classnames/index.js +33 -38
  135. package/dist/node_modules/date-fns/_lib/format/formatters.js +51 -20
  136. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -1
  137. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -3
  138. package/dist/node_modules/date-fns/addHours.js +4 -5
  139. package/dist/node_modules/date-fns/addMilliseconds.js +4 -5
  140. package/dist/node_modules/date-fns/constants.js +1 -1
  141. package/dist/node_modules/date-fns/constructFrom.js +1 -2
  142. package/dist/node_modules/date-fns/differenceInCalendarDays.js +4 -5
  143. package/dist/node_modules/date-fns/differenceInDays.js +8 -9
  144. package/dist/node_modules/date-fns/differenceInHours.js +8 -9
  145. package/dist/node_modules/date-fns/differenceInMilliseconds.js +3 -4
  146. package/dist/node_modules/date-fns/differenceInMinutes.js +6 -7
  147. package/dist/node_modules/date-fns/differenceInSeconds.js +5 -6
  148. package/dist/node_modules/date-fns/format.js +7 -8
  149. package/dist/node_modules/date-fns/formatDuration.js +6 -7
  150. package/dist/node_modules/date-fns/getDayOfYear.js +5 -6
  151. package/dist/node_modules/date-fns/getISOWeek.js +2 -3
  152. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -1
  153. package/dist/node_modules/date-fns/getWeek.js +5 -6
  154. package/dist/node_modules/date-fns/getWeekYear.js +5 -6
  155. package/dist/node_modules/date-fns/isAfter.js +2 -3
  156. package/dist/node_modules/date-fns/isDate.js +0 -1
  157. package/dist/node_modules/date-fns/isSameWeek.js +5 -6
  158. package/dist/node_modules/date-fns/isValid.js +4 -5
  159. package/dist/node_modules/date-fns/locale/en-US.js +8 -9
  160. package/dist/node_modules/date-fns/locale/zh-CN.js +8 -9
  161. package/dist/node_modules/date-fns/startOfDay.js +4 -5
  162. package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
  163. package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
  164. package/dist/node_modules/date-fns/startOfWeek.js +5 -6
  165. package/dist/node_modules/date-fns/startOfWeekYear.js +2 -3
  166. package/dist/node_modules/date-fns/startOfYear.js +4 -5
  167. package/dist/node_modules/date-fns/toDate.js +3 -4
  168. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +6 -7
  169. package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -1
  170. package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +1 -1
  171. package/dist/node_modules/ics/dist/defaults.js +21 -19
  172. package/dist/node_modules/ics/dist/index.js +103 -104
  173. package/dist/node_modules/ics/dist/pipeline/build.js +47 -45
  174. package/dist/node_modules/ics/dist/pipeline/format.js +61 -61
  175. package/dist/node_modules/ics/dist/pipeline/index.js +56 -53
  176. package/dist/node_modules/ics/dist/pipeline/validate.js +21 -16
  177. package/dist/node_modules/ics/dist/schema/index.js +203 -201
  178. package/dist/node_modules/ics/dist/utils/encode-new-lines.js +15 -9
  179. package/dist/node_modules/ics/dist/utils/encode-param-value.js +15 -9
  180. package/dist/node_modules/ics/dist/utils/fold-line.js +19 -13
  181. package/dist/node_modules/ics/dist/utils/format-date.js +66 -60
  182. package/dist/node_modules/ics/dist/utils/format-duration.js +16 -10
  183. package/dist/node_modules/ics/dist/utils/format-text.js +15 -9
  184. package/dist/node_modules/ics/dist/utils/index.js +81 -86
  185. package/dist/node_modules/ics/dist/utils/set-alarm.js +47 -44
  186. package/dist/node_modules/ics/dist/utils/set-contact.js +23 -18
  187. package/dist/node_modules/ics/dist/utils/set-description.js +20 -15
  188. package/dist/node_modules/ics/dist/utils/set-geolocation.js +16 -10
  189. package/dist/node_modules/ics/dist/utils/set-location.js +20 -15
  190. package/dist/node_modules/ics/dist/utils/set-organizer.js +21 -16
  191. package/dist/node_modules/ics/dist/utils/set-summary.js +20 -15
  192. package/dist/node_modules/libphonenumber-js/es6/metadata.js +5 -5
  193. package/dist/node_modules/lodash.debounce/index.js +85 -3
  194. package/dist/node_modules/nanoid/index.browser.js +1 -1
  195. package/dist/node_modules/object-assign/index.js +0 -5
  196. package/dist/node_modules/prop-types/checkPropTypes.js +1 -1
  197. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
  198. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  199. package/dist/node_modules/prop-types/index.js +13 -11
  200. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +3 -11
  201. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -9
  202. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  203. package/dist/node_modules/property-expr/index.js +78 -73
  204. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +1 -1
  205. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +3 -3
  206. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +9 -9
  207. package/dist/node_modules/react-transition-group/esm/CSSTransition.js +3 -3
  208. package/dist/node_modules/react-transition-group/esm/Transition.js +3 -3
  209. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  210. package/dist/node_modules/react-zoom-pan-pinch/dist/index.esm.js +2 -3
  211. package/dist/node_modules/runes2/dist/index.cjs.production.min.js +8 -8
  212. package/dist/node_modules/runes2/dist/index.js +8 -6
  213. package/dist/node_modules/tiny-case/index.js +20 -15
  214. package/dist/node_modules/toposort/index.js +57 -56
  215. package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
  216. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -9
  217. package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +2 -2
  218. package/dist/node_modules/yup/index.esm.js +3 -3
  219. package/dist/pages/Page.stories.d.ts +1 -1
  220. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +1 -1
  221. package/dist/patterns/BidSnapshot/BidMessage.js +1 -1
  222. package/dist/patterns/BidSnapshot/BidSnapshot.js +1 -1
  223. package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +1 -1
  224. package/dist/patterns/CountryPicker/CountryPickerModal.stories.d.ts +1 -1
  225. package/dist/patterns/CountryPicker/CountryPickerOption.js +1 -1
  226. package/dist/patterns/CountryPicker/CountryPickerTrigger.js +1 -1
  227. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
  228. package/dist/patterns/FilterMenu/FilterMenu.js +1 -1
  229. package/dist/patterns/FiltersInline/FilterButton.js +1 -1
  230. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +1 -1
  231. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +1 -1
  232. package/dist/patterns/FiltersInline/FiltersInline.js +1 -1
  233. package/dist/patterns/FiltersInline/MainFilterDropdown.js +1 -1
  234. package/dist/patterns/HeroBanner/HeroBanner.js +1 -1
  235. package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +1 -1
  236. package/dist/patterns/LanguageSelector/LanguageSelector.js +1 -1
  237. package/dist/patterns/ObjectTile/ObjectTile.js +1 -1
  238. package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +4 -4
  239. package/dist/patterns/ProgressWizard/ProgressWizard.stories.d.ts +8 -8
  240. package/dist/patterns/SaleCard/SaleCard.js +2 -2
  241. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +1 -1
  242. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +1 -1
  243. package/dist/patterns/Social/Social.js +1 -1
  244. package/dist/patterns/Subscribe/Subscribe.js +1 -1
  245. package/dist/patterns/TextBanner/TextBanner.js +1 -1
  246. package/dist/patterns/UserManagement/UserManagement.js +1 -1
  247. package/dist/patterns/UserManagement/UserManagement.stories.d.ts +1 -1
  248. package/dist/patterns/ViewingDetails/ViewingDetails.js +1 -1
  249. package/dist/patterns/ViewingsList/ViewingsList.js +5 -5
  250. package/dist/patterns/ViewingsList/ViewingsListCard.js +38 -29
  251. package/dist/patterns/ViewingsList/ViewingsListCardForm.js +1 -1
  252. package/dist/providers/SeldonProvider/utils.js +4 -5
  253. package/dist/scss/componentStyles.scss +1 -0
  254. package/dist/scss/components/Button/_button.scss +21 -35
  255. package/dist/scss/components/Button/_button.stories.scss +76 -0
  256. package/dist/scss/components/DatePicker/_datePicker.scss +2 -2
  257. package/dist/scss/components/Drawer/_drawer.scss +1 -1
  258. package/dist/scss/components/Icon/_icon.stories.scss +1 -1
  259. package/dist/scss/patterns/ViewingDetails/_viewingDetails.stories.scss +0 -2
  260. package/dist/site-furniture/Footer/Footer.js +1 -1
  261. package/dist/site-furniture/Header/Header.js +1 -1
  262. package/package.json +27 -30
@@ -1,50 +1,52 @@
1
1
  import { __exports as u } from "../../../../_virtual/build.js";
2
- import "../defaults.js";
3
- import { __exports as a } from "../../../../_virtual/defaults.js";
4
- Object.defineProperty(u, "__esModule", {
5
- value: !0
6
- });
7
- u.buildEvent = b;
8
- u.buildHeader = d;
9
- var o = a;
10
- function n(t) {
11
- "@babel/helpers - typeof";
12
- return n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
13
- return typeof e;
14
- } : function(e) {
15
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
16
- }, n(t);
17
- }
18
- function l(t, e, r) {
19
- return e = s(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
20
- }
21
- function s(t) {
22
- var e = m(t, "string");
23
- return n(e) === "symbol" ? e : String(e);
24
- }
25
- function m(t, e) {
26
- if (n(t) !== "object" || t === null) return t;
27
- var r = t[Symbol.toPrimitive];
28
- if (r !== void 0) {
29
- var i = r.call(t, e || "default");
30
- if (n(i) !== "object") return i;
31
- throw new TypeError("@@toPrimitive must return a primitive value.");
2
+ import { __require as b } from "../defaults.js";
3
+ var a;
4
+ function y() {
5
+ if (a) return u;
6
+ a = 1, Object.defineProperty(u, "__esModule", {
7
+ value: !0
8
+ }), u.buildEvent = c, u.buildHeader = d;
9
+ var i = b();
10
+ function n(r) {
11
+ "@babel/helpers - typeof";
12
+ return n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
13
+ return typeof e;
14
+ } : function(e) {
15
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
16
+ }, n(r);
32
17
  }
33
- return (e === "string" ? String : Number)(t);
34
- }
35
- function f(t) {
36
- return Object.entries(t).reduce(function(e, r) {
37
- return typeof r[1] < "u" ? Object.assign(e, l({}, r[0], r[1])) : e;
38
- }, {});
39
- }
40
- function d() {
41
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = Object.assign({}, (0, o.headerDefaults)(), t);
42
- return f(e);
43
- }
44
- function b() {
45
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = Object.assign({}, (0, o.eventDefaults)(), t);
46
- return f(e);
18
+ function l(r, e, t) {
19
+ return e = s(e), e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
20
+ }
21
+ function s(r) {
22
+ var e = m(r, "string");
23
+ return n(e) === "symbol" ? e : String(e);
24
+ }
25
+ function m(r, e) {
26
+ if (n(r) !== "object" || r === null) return r;
27
+ var t = r[Symbol.toPrimitive];
28
+ if (t !== void 0) {
29
+ var f = t.call(r, e);
30
+ if (n(f) !== "object") return f;
31
+ throw new TypeError("@@toPrimitive must return a primitive value.");
32
+ }
33
+ return (e === "string" ? String : Number)(r);
34
+ }
35
+ function o(r) {
36
+ return Object.entries(r).reduce(function(e, t) {
37
+ return typeof t[1] < "u" ? Object.assign(e, l({}, t[0], t[1])) : e;
38
+ }, {});
39
+ }
40
+ function d() {
41
+ var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = Object.assign({}, (0, i.headerDefaults)(), r);
42
+ return o(e);
43
+ }
44
+ function c() {
45
+ var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = Object.assign({}, (0, i.eventDefaults)(), r);
46
+ return o(e);
47
+ }
48
+ return u;
47
49
  }
48
50
  export {
49
- u as default
51
+ y as __require
50
52
  };
@@ -1,70 +1,70 @@
1
- import { __exports as d } from "../../../../_virtual/format.js";
2
- import "../utils/index.js";
3
- import "../utils/encode-new-lines.js";
4
- import { __exports as x } from "../../../../_virtual/index7.js";
5
- import { __exports as F } from "../../../../_virtual/encode-new-lines.js";
6
- Object.defineProperty(d, "__esModule", {
7
- value: !0
8
- });
9
- d.formatEvent = q;
10
- d.formatFooter = B;
11
- d.formatHeader = X;
12
- var e = x, a = H(F);
13
- function H(t) {
14
- return t && t.__esModule ? t : { default: t };
15
- }
16
- function X() {
17
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = t.productId, l = t.method, u = t.calName, r = "";
18
- return r += `BEGIN:VCALENDAR\r
19
- `, r += `VERSION:2.0\r
20
- `, r += `CALSCALE:GREGORIAN\r
21
- `, r += (0, e.foldLine)("PRODID:".concat((0, a.default)(f))) + `\r
22
- `, r += (0, e.foldLine)("METHOD:".concat((0, a.default)(l))) + `\r
23
- `, r += u ? (0, e.foldLine)("X-WR-CALNAME:".concat((0, a.default)(u))) + `\r
24
- ` : "", r += `X-PUBLISHED-TTL:PT1H\r
25
- `, r;
26
- }
27
- function B() {
28
- return `END:VCALENDAR\r
1
+ import { __exports as i } from "../../../../_virtual/format.js";
2
+ import { __require as B } from "../utils/index.js";
3
+ import { __require as z } from "../utils/encode-new-lines.js";
4
+ var q;
5
+ function Q() {
6
+ if (q) return i;
7
+ q = 1, Object.defineProperty(i, "__esModule", {
8
+ value: !0
9
+ }), i.formatEvent = P, i.formatFooter = G, i.formatHeader = V;
10
+ var e = B(), r = F(z());
11
+ function F(t) {
12
+ return t && t.__esModule ? t : { default: t };
13
+ }
14
+ function V() {
15
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = t.productId, l = t.method, c = t.calName, a = "";
16
+ return a += `BEGIN:VCALENDAR\r
17
+ `, a += `VERSION:2.0\r
18
+ `, a += `CALSCALE:GREGORIAN\r
19
+ `, a += (0, e.foldLine)("PRODID:".concat((0, r.default)(d))) + `\r
20
+ `, a += (0, e.foldLine)("METHOD:".concat((0, r.default)(l))) + `\r
21
+ `, a += c ? (0, e.foldLine)("X-WR-CALNAME:".concat((0, r.default)(c))) + `\r
22
+ ` : "", a += `X-PUBLISHED-TTL:PT1H\r
23
+ `, a;
24
+ }
25
+ function G() {
26
+ return `END:VCALENDAR\r
29
27
  `;
30
- }
31
- function q() {
32
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = t.title, l = t.uid, u = t.sequence, r = t.timestamp, i = t.start, s = t.startType, m = t.startInputType, E = t.startOutputType, T = t.duration, o = t.end, V = t.endInputType, G = t.endOutputType, L = t.description, p = t.url, D = t.geo, A = t.location, N = t.status, R = t.categories, S = t.organizer, I = t.attendees, O = t.alarms, g = t.recurrenceRule, C = t.exclusionDates, y = t.busyStatus, h = t.transp, _ = t.classification, M = t.created, U = t.lastModified, v = t.htmlContent, n = "";
33
- return n += `BEGIN:VEVENT\r
34
- `, n += (0, e.foldLine)("UID:".concat((0, a.default)(l))) + `\r
35
- `, n += f ? (0, e.foldLine)("SUMMARY:".concat((0, a.default)((0, e.setSummary)(f)))) + `\r
36
- ` : "", n += (0, e.foldLine)("DTSTAMP:".concat((0, a.default)((0, e.formatDate)(r)))) + `\r
37
- `, n += (0, e.foldLine)("DTSTART".concat(i && i.length == 3 ? ";VALUE=DATE" : "", ":").concat((0, a.default)((0, e.formatDate)(i, E || s, m)))) + `\r
38
- `, (!o || o.length !== 3 || i.length !== o.length || i.some(function(c, P) {
39
- return c !== o[P];
40
- })) && o && (n += (0, e.foldLine)("DTEND".concat(o.length === 3 ? ";VALUE=DATE" : "", ":").concat((0, a.default)((0, e.formatDate)(o, G || E || s, V || m)))) + `\r
41
- `), n += typeof u < "u" ? "SEQUENCE:".concat(u, `\r
42
- `) : "", n += L ? (0, e.foldLine)("DESCRIPTION:".concat((0, a.default)((0, e.setDescription)(L)))) + `\r
43
- ` : "", n += p ? (0, e.foldLine)("URL:".concat((0, a.default)(p))) + `\r
28
+ }
29
+ function P() {
30
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = t.title, l = t.uid, c = t.sequence, a = t.timestamp, f = t.start, s = t.startType, m = t.startInputType, E = t.startOutputType, T = t.duration, o = t.end, x = t.endInputType, H = t.endOutputType, L = t.description, p = t.url, D = t.geo, A = t.location, R = t.status, N = t.categories, S = t.organizer, I = t.attendees, O = t.alarms, g = t.recurrenceRule, C = t.exclusionDates, h = t.busyStatus, y = t.transp, _ = t.classification, U = t.created, v = t.lastModified, M = t.htmlContent, n = "";
31
+ return n += `BEGIN:VEVENT\r
32
+ `, n += (0, e.foldLine)("UID:".concat((0, r.default)(l))) + `\r
33
+ `, n += d ? (0, e.foldLine)("SUMMARY:".concat((0, r.default)((0, e.setSummary)(d)))) + `\r
34
+ ` : "", n += (0, e.foldLine)("DTSTAMP:".concat((0, r.default)((0, e.formatDate)(a)))) + `\r
35
+ `, n += (0, e.foldLine)("DTSTART".concat(f && f.length == 3 ? ";VALUE=DATE" : "", ":").concat((0, r.default)((0, e.formatDate)(f, E || s, m)))) + `\r
36
+ `, (!o || o.length !== 3 || f.length !== o.length || f.some(function(u, X) {
37
+ return u !== o[X];
38
+ })) && o && (n += (0, e.foldLine)("DTEND".concat(o.length === 3 ? ";VALUE=DATE" : "", ":").concat((0, r.default)((0, e.formatDate)(o, H || E || s, x || m)))) + `\r
39
+ `), n += typeof c < "u" ? "SEQUENCE:".concat(c, `\r
40
+ `) : "", n += L ? (0, e.foldLine)("DESCRIPTION:".concat((0, r.default)((0, e.setDescription)(L)))) + `\r
41
+ ` : "", n += p ? (0, e.foldLine)("URL:".concat((0, r.default)(p))) + `\r
44
42
  ` : "", n += D ? (0, e.foldLine)("GEO:".concat((0, e.setGeolocation)(D))) + `\r
45
- ` : "", n += A ? (0, e.foldLine)("LOCATION:".concat((0, a.default)((0, e.setLocation)(A)))) + `\r
46
- ` : "", n += N ? (0, e.foldLine)("STATUS:".concat((0, a.default)(N))) + `\r
47
- ` : "", n += R ? (0, e.foldLine)("CATEGORIES:".concat((0, a.default)(R.join(",")))) + `\r
43
+ ` : "", n += A ? (0, e.foldLine)("LOCATION:".concat((0, r.default)((0, e.setLocation)(A)))) + `\r
44
+ ` : "", n += R ? (0, e.foldLine)("STATUS:".concat((0, r.default)(R))) + `\r
45
+ ` : "", n += N ? (0, e.foldLine)("CATEGORIES:".concat((0, r.default)(N.join(",")))) + `\r
48
46
  ` : "", n += S ? (0, e.foldLine)("ORGANIZER;".concat((0, e.setOrganizer)(S))) + `\r
49
- ` : "", n += y ? (0, e.foldLine)("X-MICROSOFT-CDO-BUSYSTATUS:".concat((0, a.default)(y))) + `\r
50
- ` : "", n += h ? (0, e.foldLine)("TRANSP:".concat((0, a.default)(h))) + `\r
51
- ` : "", n += _ ? (0, e.foldLine)("CLASS:".concat((0, a.default)(_))) + `\r
52
- ` : "", n += M ? "CREATED:" + (0, a.default)((0, e.formatDate)(M)) + `\r
53
- ` : "", n += U ? "LAST-MODIFIED:" + (0, a.default)((0, e.formatDate)(U)) + `\r
54
- ` : "", n += v ? (0, e.foldLine)("X-ALT-DESC;FMTTYPE=text/html:".concat((0, a.default)(v))) + `\r
55
- ` : "", I && I.forEach(function(c) {
56
- n += (0, e.foldLine)("ATTENDEE;".concat((0, a.default)((0, e.setContact)(c)))) + `\r
47
+ ` : "", n += h ? (0, e.foldLine)("X-MICROSOFT-CDO-BUSYSTATUS:".concat((0, r.default)(h))) + `\r
48
+ ` : "", n += y ? (0, e.foldLine)("TRANSP:".concat((0, r.default)(y))) + `\r
49
+ ` : "", n += _ ? (0, e.foldLine)("CLASS:".concat((0, r.default)(_))) + `\r
50
+ ` : "", n += U ? "CREATED:" + (0, r.default)((0, e.formatDate)(U)) + `\r
51
+ ` : "", n += v ? "LAST-MODIFIED:" + (0, r.default)((0, e.formatDate)(v)) + `\r
52
+ ` : "", n += M ? (0, e.foldLine)("X-ALT-DESC;FMTTYPE=text/html:".concat((0, r.default)(M))) + `\r
53
+ ` : "", I && I.forEach(function(u) {
54
+ n += (0, e.foldLine)("ATTENDEE;".concat((0, r.default)((0, e.setContact)(u)))) + `\r
57
55
  `;
58
- }), n += g ? (0, e.foldLine)("RRULE:".concat((0, a.default)(g))) + `\r
59
- ` : "", n += C ? (0, e.foldLine)("EXDATE:".concat((0, a.default)(C.map(function(c) {
60
- return (0, e.formatDate)(c);
61
- }).join(",")))) + `\r
56
+ }), n += g ? (0, e.foldLine)("RRULE:".concat((0, r.default)(g))) + `\r
57
+ ` : "", n += C ? (0, e.foldLine)("EXDATE:".concat((0, r.default)(C.map(function(u) {
58
+ return (0, e.formatDate)(u);
59
+ }).join(",")))) + `\r
62
60
  ` : "", n += T ? (0, e.foldLine)("DURATION:".concat((0, e.formatDuration)(T))) + `\r
63
- ` : "", O && O.forEach(function(c) {
64
- n += (0, e.setAlarm)(c);
65
- }), n += `END:VEVENT\r
61
+ ` : "", O && O.forEach(function(u) {
62
+ n += (0, e.setAlarm)(u);
63
+ }), n += `END:VEVENT\r
66
64
  `, n;
65
+ }
66
+ return i;
67
67
  }
68
68
  export {
69
- d as default
69
+ Q as __require
70
70
  };
@@ -1,53 +1,56 @@
1
- import { __exports as u } from "../../../../_virtual/index5.js";
2
- import "./build.js";
3
- import "./format.js";
4
- import "./validate.js";
5
- import { __exports as i } from "../../../../_virtual/build.js";
6
- import { __exports as o } from "../../../../_virtual/format.js";
7
- import { __exports as d } from "../../../../_virtual/validate.js";
8
- (function(e) {
9
- Object.defineProperty(e, "__esModule", {
10
- value: !0
11
- }), Object.defineProperty(e, "buildEvent", {
12
- enumerable: !0,
13
- get: function() {
14
- return a.buildEvent;
15
- }
16
- }), Object.defineProperty(e, "buildHeader", {
17
- enumerable: !0,
18
- get: function() {
19
- return a.buildHeader;
20
- }
21
- }), Object.defineProperty(e, "formatEvent", {
22
- enumerable: !0,
23
- get: function() {
24
- return r.formatEvent;
25
- }
26
- }), Object.defineProperty(e, "formatFooter", {
27
- enumerable: !0,
28
- get: function() {
29
- return r.formatFooter;
30
- }
31
- }), Object.defineProperty(e, "formatHeader", {
32
- enumerable: !0,
33
- get: function() {
34
- return r.formatHeader;
35
- }
36
- }), Object.defineProperty(e, "urlRegex", {
37
- enumerable: !0,
38
- get: function() {
39
- return n.urlRegex;
40
- }
41
- }), Object.defineProperty(e, "validateHeader", {
42
- enumerable: !0,
43
- get: function() {
44
- return n.validateHeader;
45
- }
46
- }), Object.defineProperty(e, "validateHeaderAndEvent", {
47
- enumerable: !0,
48
- get: function() {
49
- return n.validateHeaderAndEvent;
50
- }
51
- });
52
- var a = i, r = o, n = d;
53
- })(u);
1
+ import { __exports as u } from "../../../../_virtual/index11.js";
2
+ import { __require as o } from "./build.js";
3
+ import { __require as d } from "./format.js";
4
+ import { __require as f } from "./validate.js";
5
+ var a;
6
+ function g() {
7
+ return a ? u : (a = 1, (function(e) {
8
+ Object.defineProperty(e, "__esModule", {
9
+ value: !0
10
+ }), Object.defineProperty(e, "buildEvent", {
11
+ enumerable: !0,
12
+ get: function() {
13
+ return i.buildEvent;
14
+ }
15
+ }), Object.defineProperty(e, "buildHeader", {
16
+ enumerable: !0,
17
+ get: function() {
18
+ return i.buildHeader;
19
+ }
20
+ }), Object.defineProperty(e, "formatEvent", {
21
+ enumerable: !0,
22
+ get: function() {
23
+ return t.formatEvent;
24
+ }
25
+ }), Object.defineProperty(e, "formatFooter", {
26
+ enumerable: !0,
27
+ get: function() {
28
+ return t.formatFooter;
29
+ }
30
+ }), Object.defineProperty(e, "formatHeader", {
31
+ enumerable: !0,
32
+ get: function() {
33
+ return t.formatHeader;
34
+ }
35
+ }), Object.defineProperty(e, "urlRegex", {
36
+ enumerable: !0,
37
+ get: function() {
38
+ return n.urlRegex;
39
+ }
40
+ }), Object.defineProperty(e, "validateHeader", {
41
+ enumerable: !0,
42
+ get: function() {
43
+ return n.validateHeader;
44
+ }
45
+ }), Object.defineProperty(e, "validateHeaderAndEvent", {
46
+ enumerable: !0,
47
+ get: function() {
48
+ return n.validateHeaderAndEvent;
49
+ }
50
+ });
51
+ var i = o(), t = d(), n = f();
52
+ })(u), u);
53
+ }
54
+ export {
55
+ g as __require
56
+ };
@@ -1,17 +1,22 @@
1
- import { __exports as n } from "../../../../_virtual/validate.js";
2
- import "../schema/index.js";
3
- import { __exports as u } from "../../../../_virtual/index8.js";
4
- (function(r) {
5
- Object.defineProperty(r, "__esModule", {
6
- value: !0
7
- });
8
- var t = u;
9
- Object.keys(t).forEach(function(e) {
10
- e === "default" || e === "__esModule" || e in r && r[e] === t[e] || Object.defineProperty(r, e, {
11
- enumerable: !0,
12
- get: function() {
13
- return t[e];
14
- }
1
+ import { __exports as u } from "../../../../_virtual/validate.js";
2
+ import { __require as a } from "../schema/index.js";
3
+ var i;
4
+ function _() {
5
+ return i ? u : (i = 1, (function(r) {
6
+ Object.defineProperty(r, "__esModule", {
7
+ value: !0
15
8
  });
16
- });
17
- })(n);
9
+ var t = a();
10
+ Object.keys(t).forEach(function(e) {
11
+ e === "default" || e === "__esModule" || e in r && r[e] === t[e] || Object.defineProperty(r, e, {
12
+ enumerable: !0,
13
+ get: function() {
14
+ return t[e];
15
+ }
16
+ });
17
+ });
18
+ })(u), u);
19
+ }
20
+ export {
21
+ _ as __require
22
+ };