@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.
- package/dist/_virtual/_commonjsHelpers.js +15 -10
- package/dist/_virtual/index.js +5 -2
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index12.js +4 -0
- package/dist/_virtual/index13.js +4 -0
- package/dist/_virtual/index14.js +5 -0
- package/dist/_virtual/index15.js +5 -0
- package/dist/_virtual/index16.js +7 -0
- package/dist/_virtual/index17.js +4 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index2.js +3 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +2 -4
- package/dist/_virtual/index6.js +5 -2
- package/dist/_virtual/index7.js +3 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Accordion/utils.js +1 -1
- package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
- package/dist/components/AddToCalendar/calendarLinks.js +10 -10
- package/dist/components/Article/Article.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/components/Button/Button.d.ts +5 -1
- package/dist/components/Button/Button.js +49 -47
- package/dist/components/Button/Button.stories.d.ts +34 -5
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/types.d.ts +4 -1
- package/dist/components/Button/types.js +2 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/CarouselArrows.js +1 -1
- package/dist/components/Carousel/CarouselContent.js +1 -1
- package/dist/components/Carousel/CarouselDot.js +1 -1
- package/dist/components/Carousel/CarouselDots.js +1 -1
- package/dist/components/Carousel/CarouselItem.js +1 -1
- package/dist/components/Collapsible/Collapsible.js +1 -1
- package/dist/components/Collapsible/CollapsibleContent.js +1 -1
- package/dist/components/Collapsible/CollapsibleTrigger.js +1 -1
- package/dist/components/ComboBox/ComboBox.js +16 -16
- package/dist/components/ComposedModal/ComposedModal.js +1 -1
- package/dist/components/ContentPeek/ContentPeek.js +1 -1
- package/dist/components/Countdown/Countdown.js +10 -10
- package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +1 -1
- package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +1 -1
- package/dist/components/Detail/Detail.js +1 -1
- package/dist/components/DetailList/DetailList.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/ExitGateCard/ExitGateCard.js +1 -1
- package/dist/components/FavoritingTileButton/FavoritingTileButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/FilterHeader.js +1 -1
- package/dist/components/Grid/Grid.js +1 -1
- package/dist/components/Grid/Grid.stories.d.ts +1 -1
- package/dist/components/Grid/utils.js +1 -1
- package/dist/components/GridItem/GridItem.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/utils.js +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/LinkBlock/LinkBlock.js +1 -1
- package/dist/components/LinkList/LinkList.js +1 -1
- package/dist/components/Loader/Loader.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Navigation/Navigation.js +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +1 -1
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +1 -1
- package/dist/components/Navigation/NavigationList/NavigationList.js +1 -1
- package/dist/components/NotificationBanner/NotificationBanner.js +1 -1
- package/dist/components/PageContentWrapper/PageContentWrapper.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pictogram/Pictogram.js +1 -1
- package/dist/components/PinchZoom/PinchZoom.js +1 -1
- package/dist/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/dist/components/Row/Row.js +5 -5
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Search/Search.stories.d.ts +1 -1
- package/dist/components/SeldonImage/SeldonImage.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/SplitPanel/SplitPanel.js +1 -1
- package/dist/components/Tabs/TabsContainer.js +1 -1
- package/dist/components/Tabs/TabsContent.js +1 -1
- package/dist/components/Tags/Tags.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Text/utils.js +1 -0
- package/dist/components/TextArea/TextArea.js +2 -2
- package/dist/components/TextSymbol/TextSymbol.js +16 -16
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Video/Video.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +225 -224
- package/dist/node_modules/@artsy/fresnel/dist/Breakpoints.js +261 -260
- package/dist/node_modules/@artsy/fresnel/dist/DynamicResponsive.js +148 -143
- package/dist/node_modules/@artsy/fresnel/dist/Interactions.js +124 -123
- package/dist/node_modules/@artsy/fresnel/dist/Media.js +158 -157
- package/dist/node_modules/@artsy/fresnel/dist/MediaQueries.js +120 -120
- package/dist/node_modules/@artsy/fresnel/dist/Utils.js +85 -87
- package/dist/node_modules/@artsy/fresnel/dist/index.js +25 -21
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +12 -12
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +9 -9
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +23 -24
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +17 -18
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +24 -25
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +14 -15
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +13 -14
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +21 -22
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +16 -17
- package/dist/node_modules/@radix-ui/react-toast/dist/index.js +43 -44
- package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/change-case/dist/index.js +20 -20
- package/dist/node_modules/classnames/index.js +33 -38
- package/dist/node_modules/date-fns/_lib/format/formatters.js +51 -20
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -3
- package/dist/node_modules/date-fns/addHours.js +4 -5
- package/dist/node_modules/date-fns/addMilliseconds.js +4 -5
- package/dist/node_modules/date-fns/constants.js +1 -1
- package/dist/node_modules/date-fns/constructFrom.js +1 -2
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +4 -5
- package/dist/node_modules/date-fns/differenceInDays.js +8 -9
- package/dist/node_modules/date-fns/differenceInHours.js +8 -9
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +3 -4
- package/dist/node_modules/date-fns/differenceInMinutes.js +6 -7
- package/dist/node_modules/date-fns/differenceInSeconds.js +5 -6
- package/dist/node_modules/date-fns/format.js +7 -8
- package/dist/node_modules/date-fns/formatDuration.js +6 -7
- package/dist/node_modules/date-fns/getDayOfYear.js +5 -6
- package/dist/node_modules/date-fns/getISOWeek.js +2 -3
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/getWeek.js +5 -6
- package/dist/node_modules/date-fns/getWeekYear.js +5 -6
- package/dist/node_modules/date-fns/isAfter.js +2 -3
- package/dist/node_modules/date-fns/isDate.js +0 -1
- package/dist/node_modules/date-fns/isSameWeek.js +5 -6
- package/dist/node_modules/date-fns/isValid.js +4 -5
- package/dist/node_modules/date-fns/locale/en-US.js +8 -9
- package/dist/node_modules/date-fns/locale/zh-CN.js +8 -9
- package/dist/node_modules/date-fns/startOfDay.js +4 -5
- package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
- package/dist/node_modules/date-fns/startOfWeek.js +5 -6
- package/dist/node_modules/date-fns/startOfWeekYear.js +2 -3
- package/dist/node_modules/date-fns/startOfYear.js +4 -5
- package/dist/node_modules/date-fns/toDate.js +3 -4
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +6 -7
- package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -1
- package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +1 -1
- package/dist/node_modules/ics/dist/defaults.js +21 -19
- package/dist/node_modules/ics/dist/index.js +103 -104
- package/dist/node_modules/ics/dist/pipeline/build.js +47 -45
- package/dist/node_modules/ics/dist/pipeline/format.js +61 -61
- package/dist/node_modules/ics/dist/pipeline/index.js +56 -53
- package/dist/node_modules/ics/dist/pipeline/validate.js +21 -16
- package/dist/node_modules/ics/dist/schema/index.js +203 -201
- package/dist/node_modules/ics/dist/utils/encode-new-lines.js +15 -9
- package/dist/node_modules/ics/dist/utils/encode-param-value.js +15 -9
- package/dist/node_modules/ics/dist/utils/fold-line.js +19 -13
- package/dist/node_modules/ics/dist/utils/format-date.js +66 -60
- package/dist/node_modules/ics/dist/utils/format-duration.js +16 -10
- package/dist/node_modules/ics/dist/utils/format-text.js +15 -9
- package/dist/node_modules/ics/dist/utils/index.js +81 -86
- package/dist/node_modules/ics/dist/utils/set-alarm.js +47 -44
- package/dist/node_modules/ics/dist/utils/set-contact.js +23 -18
- package/dist/node_modules/ics/dist/utils/set-description.js +20 -15
- package/dist/node_modules/ics/dist/utils/set-geolocation.js +16 -10
- package/dist/node_modules/ics/dist/utils/set-location.js +20 -15
- package/dist/node_modules/ics/dist/utils/set-organizer.js +21 -16
- package/dist/node_modules/ics/dist/utils/set-summary.js +20 -15
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +5 -5
- package/dist/node_modules/lodash.debounce/index.js +85 -3
- package/dist/node_modules/nanoid/index.browser.js +1 -1
- package/dist/node_modules/object-assign/index.js +0 -5
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/node_modules/prop-types/index.js +13 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +3 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -9
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/property-expr/index.js +78 -73
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +3 -3
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +9 -9
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js +3 -3
- package/dist/node_modules/react-transition-group/esm/Transition.js +3 -3
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/react-zoom-pan-pinch/dist/index.esm.js +2 -3
- package/dist/node_modules/runes2/dist/index.cjs.production.min.js +8 -8
- package/dist/node_modules/runes2/dist/index.js +8 -6
- package/dist/node_modules/tiny-case/index.js +20 -15
- package/dist/node_modules/toposort/index.js +57 -56
- package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -9
- package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +2 -2
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/pages/Page.stories.d.ts +1 -1
- package/dist/patterns/AccountPageHeader/AccountPageHeader.js +1 -1
- package/dist/patterns/BidSnapshot/BidMessage.js +1 -1
- package/dist/patterns/BidSnapshot/BidSnapshot.js +1 -1
- package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +1 -1
- package/dist/patterns/CountryPicker/CountryPickerModal.stories.d.ts +1 -1
- package/dist/patterns/CountryPicker/CountryPickerOption.js +1 -1
- package/dist/patterns/CountryPicker/CountryPickerTrigger.js +1 -1
- package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
- package/dist/patterns/FilterMenu/FilterMenu.js +1 -1
- package/dist/patterns/FiltersInline/FilterButton.js +1 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +1 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +1 -1
- package/dist/patterns/FiltersInline/FiltersInline.js +1 -1
- package/dist/patterns/FiltersInline/MainFilterDropdown.js +1 -1
- package/dist/patterns/HeroBanner/HeroBanner.js +1 -1
- package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +1 -1
- package/dist/patterns/LanguageSelector/LanguageSelector.js +1 -1
- package/dist/patterns/ObjectTile/ObjectTile.js +1 -1
- package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +4 -4
- package/dist/patterns/ProgressWizard/ProgressWizard.stories.d.ts +8 -8
- package/dist/patterns/SaleCard/SaleCard.js +2 -2
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +1 -1
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +1 -1
- package/dist/patterns/Social/Social.js +1 -1
- package/dist/patterns/Subscribe/Subscribe.js +1 -1
- package/dist/patterns/TextBanner/TextBanner.js +1 -1
- package/dist/patterns/UserManagement/UserManagement.js +1 -1
- package/dist/patterns/UserManagement/UserManagement.stories.d.ts +1 -1
- package/dist/patterns/ViewingDetails/ViewingDetails.js +1 -1
- package/dist/patterns/ViewingsList/ViewingsList.js +5 -5
- package/dist/patterns/ViewingsList/ViewingsListCard.js +38 -29
- package/dist/patterns/ViewingsList/ViewingsListCardForm.js +1 -1
- package/dist/providers/SeldonProvider/utils.js +4 -5
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Button/_button.scss +21 -35
- package/dist/scss/components/Button/_button.stories.scss +76 -0
- package/dist/scss/components/DatePicker/_datePicker.scss +2 -2
- package/dist/scss/components/Drawer/_drawer.scss +1 -1
- package/dist/scss/components/Icon/_icon.stories.scss +1 -1
- package/dist/scss/patterns/ViewingDetails/_viewingDetails.stories.scss +0 -2
- package/dist/site-furniture/Footer/Footer.js +1 -1
- package/dist/site-furniture/Header/Header.js +1 -1
- package/package.json +27 -30
|
@@ -1,50 +1,52 @@
|
|
|
1
1
|
import { __exports as u } from "../../../../_virtual/build.js";
|
|
2
|
-
import "../defaults.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
u.buildHeader = d;
|
|
9
|
-
var
|
|
10
|
-
function n(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
|
|
51
|
+
y as __require
|
|
50
52
|
};
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import "../utils/index.js";
|
|
3
|
-
import "../utils/encode-new-lines.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
`,
|
|
20
|
-
`,
|
|
21
|
-
`,
|
|
22
|
-
|
|
23
|
-
`,
|
|
24
|
-
|
|
25
|
-
|
|
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
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
`, n += (0, e.foldLine)("UID:".concat((0,
|
|
35
|
-
`, n +=
|
|
36
|
-
` : "", n += (0, e.foldLine)("DTSTAMP:".concat((0,
|
|
37
|
-
`, n += (0, e.foldLine)("DTSTART".concat(
|
|
38
|
-
`, (!o || o.length !== 3 ||
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
`), n += typeof
|
|
42
|
-
`) : "", n += L ? (0, e.foldLine)("DESCRIPTION:".concat((0,
|
|
43
|
-
` : "", n += p ? (0, e.foldLine)("URL:".concat((0,
|
|
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,
|
|
46
|
-
` : "", n +=
|
|
47
|
-
` : "", n +=
|
|
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 +=
|
|
50
|
-
` : "", n +=
|
|
51
|
-
` : "", n += _ ? (0, e.foldLine)("CLASS:".concat((0,
|
|
52
|
-
` : "", n +=
|
|
53
|
-
` : "", n +=
|
|
54
|
-
` : "", n +=
|
|
55
|
-
` : "", I && I.forEach(function(
|
|
56
|
-
|
|
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
|
-
|
|
59
|
-
` : "", n += C ? (0, e.foldLine)("EXDATE:".concat((0,
|
|
60
|
-
|
|
61
|
-
|
|
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(
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
69
|
+
Q as __require
|
|
70
70
|
};
|
|
@@ -1,53 +1,56 @@
|
|
|
1
|
-
import { __exports as u } from "../../../../_virtual/
|
|
2
|
-
import "./build.js";
|
|
3
|
-
import "./format.js";
|
|
4
|
-
import "./validate.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
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
|
|
2
|
-
import "../schema/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
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
|
+
};
|