@planningcenter/tapestry 4.4.0-rc.6 → 4.4.1-rc.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/components/page-header/index.js +1 -1
- package/dist/components/sidenav/index.js +1 -1
- package/dist/ext/@internationalized/date/dist/private/CalendarDate.js +40 -10
- package/dist/ext/@internationalized/date/dist/private/CalendarDate.js.map +1 -1
- package/dist/ext/@internationalized/date/dist/private/DateFormatter.js +4 -1
- package/dist/ext/@internationalized/date/dist/private/DateFormatter.js.map +1 -1
- package/dist/ext/@internationalized/date/dist/private/manipulation.js +1 -1
- package/dist/ext/@internationalized/date/dist/private/manipulation.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/{p-Bpho8UVy.js → p-6NO22Vi_.js} +2 -2
- package/dist/packages/tapestry-wc/dist/components/p-6NO22Vi_.js.map +1 -0
- package/dist/packages/tapestry-wc/dist/components/{p-BZQPM5rQ.js → p-B2xqMgNQ.js} +2 -2
- package/dist/packages/tapestry-wc/dist/components/p-B2xqMgNQ.js.map +1 -0
- package/dist/packages/tapestry-wc/dist/components/{p-D0iH4SPJ.js → p-BVvtAaVT.js} +3 -3
- package/dist/packages/tapestry-wc/dist/components/p-BVvtAaVT.js.map +1 -0
- package/dist/packages/tapestry-wc/dist/components/{p-C6DfaWea.js → p-Rn6lOB18.js} +3 -3
- package/dist/packages/tapestry-wc/dist/components/p-Rn6lOB18.js.map +1 -0
- package/dist/packages/tapestry-wc/dist/components/{p-DOdCGCnH.js → p-np7vhMVg.js} +3 -3
- package/dist/packages/tapestry-wc/dist/components/p-np7vhMVg.js.map +1 -0
- package/dist/packages/tapestry-wc/dist/components/tds-page-header-nav.js +2 -2
- package/dist/packages/tapestry-wc/dist/components/tds-page-header-nav.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-page-header.js +3 -3
- package/dist/packages/tapestry-wc/dist/components/tds-page-header.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-item.js +3 -3
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-item.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-responsive-header.js +2 -2
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-responsive-header.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-section.js +3 -3
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav-section.js.map +1 -1
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav.js +5 -5
- package/dist/packages/tapestry-wc/dist/components/tds-sidenav.js.map +1 -1
- package/dist/reactRender.css +1235 -1235
- package/dist/reactRender.css.map +1 -1
- package/dist/reactRenderLegacy.css +1235 -1235
- package/dist/reactRenderLegacy.css.map +1 -1
- package/package.json +7 -7
- package/dist/packages/tapestry-wc/dist/components/p-BZQPM5rQ.js.map +0 -1
- package/dist/packages/tapestry-wc/dist/components/p-Bpho8UVy.js.map +0 -1
- package/dist/packages/tapestry-wc/dist/components/p-C6DfaWea.js.map +0 -1
- package/dist/packages/tapestry-wc/dist/components/p-D0iH4SPJ.js.map +0 -1
- package/dist/packages/tapestry-wc/dist/components/p-DOdCGCnH.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tds-scroll-to-selected-in-unordered-list.js';
|
|
2
|
-
import '../../packages/tapestry-wc/dist/components/p-
|
|
2
|
+
import '../../packages/tapestry-wc/dist/components/p-B2xqMgNQ.js';
|
|
3
3
|
import { defineCustomElement } from '../../packages/tapestry-wc/dist/components/tds-page-header.js';
|
|
4
4
|
import { defineCustomElement as defineCustomElement$1 } from '../../packages/tapestry-wc/dist/components/tds-page-header-nav.js';
|
|
5
5
|
import 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../../packages/tapestry-wc/dist/components/p-
|
|
1
|
+
import '../../packages/tapestry-wc/dist/components/p-B2xqMgNQ.js';
|
|
2
2
|
import { defineCustomElement } from '../../packages/tapestry-wc/dist/components/tds-sidenav.js';
|
|
3
3
|
import { defineCustomElement as defineCustomElement$1 } from '../../packages/tapestry-wc/dist/components/tds-sidenav-item.js';
|
|
4
4
|
import { defineCustomElement as defineCustomElement$3 } from '../../packages/tapestry-wc/dist/components/tds-sidenav-responsive-header.js';
|
|
@@ -63,7 +63,10 @@ class $2aaf608024c21ca1$export$99faa760c7908e4f {
|
|
|
63
63
|
/** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {
|
|
64
64
|
return ($435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);
|
|
65
65
|
}
|
|
66
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Returns a new `CalendarDate` with the given fields set to the provided values. Other fields
|
|
68
|
+
* will be constrained accordingly.
|
|
69
|
+
*/ set(fields) {
|
|
67
70
|
return ($435a2ceaa8778ed8$export$adaa4cf7ef1b65be)(this, fields);
|
|
68
71
|
}
|
|
69
72
|
/**
|
|
@@ -72,13 +75,19 @@ class $2aaf608024c21ca1$export$99faa760c7908e4f {
|
|
|
72
75
|
*/ cycle(field, amount, options) {
|
|
73
76
|
return ($435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);
|
|
74
77
|
}
|
|
75
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Converts the date to a native JavaScript Date object, with the time set to midnight in the
|
|
80
|
+
* given time zone.
|
|
81
|
+
*/ toDate(timeZone) {
|
|
76
82
|
return ($d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone);
|
|
77
83
|
}
|
|
78
84
|
/** Converts the date to an ISO 8601 formatted string. */ toString() {
|
|
79
85
|
return ($58246871e4652552$export$60dfd74aa96791bd)(this);
|
|
80
86
|
}
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Compares this date with another. A negative result indicates that this date is before the given
|
|
89
|
+
* one, and a positive date indicates that it is after.
|
|
90
|
+
*/ compare(b) {
|
|
82
91
|
return ($ad063034c8620db8$export$68781ddf31c0090f)(this, b);
|
|
83
92
|
}
|
|
84
93
|
}
|
|
@@ -102,7 +111,10 @@ class $2aaf608024c21ca1$export$680ea196effce5f {
|
|
|
102
111
|
/** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {
|
|
103
112
|
return ($435a2ceaa8778ed8$export$fe34d3a381cd7501)(this, duration);
|
|
104
113
|
}
|
|
105
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Returns a new `Time` with the given fields set to the provided values. Other fields will be
|
|
116
|
+
* constrained accordingly.
|
|
117
|
+
*/ set(fields) {
|
|
106
118
|
return ($435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields);
|
|
107
119
|
}
|
|
108
120
|
/**
|
|
@@ -114,7 +126,10 @@ class $2aaf608024c21ca1$export$680ea196effce5f {
|
|
|
114
126
|
/** Converts the time to an ISO 8601 formatted string. */ toString() {
|
|
115
127
|
return ($58246871e4652552$export$f59dee82248f5ad4)(this);
|
|
116
128
|
}
|
|
117
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Compares this time with another. A negative result indicates that this time is before the given
|
|
131
|
+
* one, and a positive time indicates that it is after.
|
|
132
|
+
*/ compare(b) {
|
|
118
133
|
return ($ad063034c8620db8$export$c19a80a9721b80f6)(this, b);
|
|
119
134
|
}
|
|
120
135
|
}
|
|
@@ -145,7 +160,10 @@ class $2aaf608024c21ca1$export$ca871e8dbb80966f {
|
|
|
145
160
|
/** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {
|
|
146
161
|
return ($435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);
|
|
147
162
|
}
|
|
148
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields
|
|
165
|
+
* will be constrained accordingly.
|
|
166
|
+
*/ set(fields) {
|
|
149
167
|
return ($435a2ceaa8778ed8$export$adaa4cf7ef1b65be)(($435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields), fields);
|
|
150
168
|
}
|
|
151
169
|
/**
|
|
@@ -168,7 +186,10 @@ class $2aaf608024c21ca1$export$ca871e8dbb80966f {
|
|
|
168
186
|
/** Converts the date to an ISO 8601 formatted string. */ toString() {
|
|
169
187
|
return ($58246871e4652552$export$4223de14708adc63)(this);
|
|
170
188
|
}
|
|
171
|
-
/**
|
|
189
|
+
/**
|
|
190
|
+
* Compares this date with another. A negative result indicates that this date is before the given
|
|
191
|
+
* one, and a positive date indicates that it is after.
|
|
192
|
+
*/ compare(b) {
|
|
172
193
|
let res = ($ad063034c8620db8$export$68781ddf31c0090f)(this, b);
|
|
173
194
|
if (res === 0) return ($ad063034c8620db8$export$c19a80a9721b80f6)(this, ($d07e34cce18680fd$export$b21e0b124e224484)(b));
|
|
174
195
|
return res;
|
|
@@ -205,7 +226,10 @@ class $2aaf608024c21ca1$export$d3b7288e7994edea {
|
|
|
205
226
|
/** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {
|
|
206
227
|
return ($435a2ceaa8778ed8$export$6814caac34ca03c7)(this, duration);
|
|
207
228
|
}
|
|
208
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields
|
|
231
|
+
* will be constrained accordingly.
|
|
232
|
+
*/ set(fields, disambiguation) {
|
|
209
233
|
return ($435a2ceaa8778ed8$export$31b5430eb18be4f8)(this, fields, disambiguation);
|
|
210
234
|
}
|
|
211
235
|
/**
|
|
@@ -217,13 +241,19 @@ class $2aaf608024c21ca1$export$d3b7288e7994edea {
|
|
|
217
241
|
/** Converts the date to a native JavaScript Date object. */ toDate() {
|
|
218
242
|
return ($d07e34cce18680fd$export$83aac07b4c37b25)(this);
|
|
219
243
|
}
|
|
220
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone
|
|
246
|
+
* identifier.
|
|
247
|
+
*/ toString() {
|
|
221
248
|
return ($58246871e4652552$export$bf79f1ebf4b18792)(this);
|
|
222
249
|
}
|
|
223
250
|
/** Converts the date to an ISO 8601 formatted string in UTC. */ toAbsoluteString() {
|
|
224
251
|
return this.toDate().toISOString();
|
|
225
252
|
}
|
|
226
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* Compares this date with another. A negative result indicates that this date is before the given
|
|
255
|
+
* one, and a positive date indicates that it is after.
|
|
256
|
+
*/ compare(b) {
|
|
227
257
|
// TODO: Is this a bad idea??
|
|
228
258
|
return this.toDate().getTime() - ($d07e34cce18680fd$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();
|
|
229
259
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarDate.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/CalendarDate.mjs"],"sourcesContent":["import {add as $435a2ceaa8778ed8$export$e16d8520af44a096, addTime as $435a2ceaa8778ed8$export$7ed87b6bc2506470, addZoned as $435a2ceaa8778ed8$export$96b1d28349274637, constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2, constrainTime as $435a2ceaa8778ed8$export$7555de1e070510cb, cycleDate as $435a2ceaa8778ed8$export$d52ced6badfb9a4c, cycleTime as $435a2ceaa8778ed8$export$dd02b3e0007dfe28, cycleZoned as $435a2ceaa8778ed8$export$9a297d111fc86b79, set as $435a2ceaa8778ed8$export$adaa4cf7ef1b65be, setTime as $435a2ceaa8778ed8$export$e5d5e1c1822b6e56, setZoned as $435a2ceaa8778ed8$export$31b5430eb18be4f8, subtract as $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3, subtractTime as $435a2ceaa8778ed8$export$fe34d3a381cd7501, subtractZoned as $435a2ceaa8778ed8$export$6814caac34ca03c7} from \"./manipulation.mjs\";\nimport {compareDate as $ad063034c8620db8$export$68781ddf31c0090f, compareTime as $ad063034c8620db8$export$c19a80a9721b80f6} from \"./queries.mjs\";\nimport {dateTimeToString as $58246871e4652552$export$4223de14708adc63, dateToString as $58246871e4652552$export$60dfd74aa96791bd, timeToString as $58246871e4652552$export$f59dee82248f5ad4, zonedDateTimeToString as $58246871e4652552$export$bf79f1ebf4b18792} from \"./string.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484, toDate as $d07e34cce18680fd$export$e67a095c620b86fe, toZoned as $d07e34cce18680fd$export$84c95a83c799e074, zonedToDate as $d07e34cce18680fd$export$83aac07b4c37b25} from \"./conversion.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $2aaf608024c21ca1$var$shiftArgs(args) {\n let calendar = typeof args[0] === 'object' ? args.shift() : new (0, $93635573935797de$export$80ee6245ec4f29ec)();\n let era;\n if (typeof args[0] === 'string') era = args.shift();\n else {\n let eras = calendar.getEras();\n era = eras[eras.length - 1];\n }\n let year = args.shift();\n let month = args.shift();\n let day = args.shift();\n return [\n calendar,\n era,\n year,\n month,\n day\n ];\n}\nclass $2aaf608024c21ca1$export$99faa760c7908e4f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // i.e. a ZonedDateTime should not be be passable to a parameter that expects CalendarDate.\n // If that behavior is desired, use the AnyCalendarDate interface instead.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);\n else return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);\n }\n /** Returns a new `CalendarDate` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)(this, fields);\n }\n /**\n * Returns a new `CalendarDate` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */ toDate(timeZone) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$60dfd74aa96791bd)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n return (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$680ea196effce5f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(hour = 0, minute = 0, second = 0, millisecond = 0){\n this.hour = hour;\n this.minute = minute;\n this.second = second;\n this.millisecond = millisecond;\n (0, $435a2ceaa8778ed8$export$7555de1e070510cb)(this);\n }\n /** Returns a copy of this time. */ copy() {\n return new $2aaf608024c21ca1$export$680ea196effce5f(this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `Time` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$7ed87b6bc2506470)(this, duration);\n }\n /** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$fe34d3a381cd7501)(this, duration);\n }\n /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields);\n }\n /**\n * Returns a new `Time` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n /** Converts the time to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$f59dee82248f5ad4)(this);\n }\n /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */ compare(b) {\n return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$ca871e8dbb80966f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `CalendarDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)((0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields), fields);\n }\n /**\n * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n switch(field){\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n default:\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n }\n /** Converts the date to a native JavaScript Date object in the given time zone. */ toDate(timeZone, disambiguation) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone, disambiguation);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$4223de14708adc63)(this);\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n let res = (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n if (res === 0) return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, (0, $d07e34cce18680fd$export$b21e0b124e224484)(b));\n return res;\n }\n}\nclass $2aaf608024c21ca1$export$d3b7288e7994edea {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n let timeZone = args.shift();\n let offset = args.shift();\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.timeZone = timeZone;\n this.offset = offset;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `ZonedDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$96b1d28349274637)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$6814caac34ca03c7)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */ set(fields, disambiguation) {\n return (0, $435a2ceaa8778ed8$export$31b5430eb18be4f8)(this, fields, disambiguation);\n }\n /**\n * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$9a297d111fc86b79)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object. */ toDate() {\n return (0, $d07e34cce18680fd$export$83aac07b4c37b25)(this);\n }\n /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */ toString() {\n return (0, $58246871e4652552$export$bf79f1ebf4b18792)(this);\n }\n /** Converts the date to an ISO 8601 formatted string in UTC. */ toAbsoluteString() {\n return this.toDate().toISOString();\n }\n /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */ compare(b) {\n // TODO: Is this a bad idea??\n return this.toDate().getTime() - (0, $d07e34cce18680fd$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();\n }\n}\n\n\nexport {$2aaf608024c21ca1$export$99faa760c7908e4f as CalendarDate, $2aaf608024c21ca1$export$680ea196effce5f as Time, $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,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC;AAC3F,IAAI;AACJ;AACA;AACA;AACA,MAAM,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE;AACpC,QAAQ,OAAO,CAAI,yCAAyC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;AAC3F,IAAI;AACJ,iEAAiE,MAAM,GAAG;AAC1E,QAAQ,OAAO,CAAI,wCAAwC,EAAE,IAAI,CAAC;AAClE,IAAI;AACJ,iHAAiH,QAAQ,GAAG;AAC5H,QAAQ,OAAO,CAAI,yCAAyC,EAAE,IAAI,CAAC;AACnE,IAAI;AACJ,qEAAqE,gBAAgB,GAAG;AACxF,QAAQ,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE;AAC1C,IAAI;AACJ,gKAAgK,OAAO,CAAC,CAAC,EAAE;AAC3K;AACA,QAAQ,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,GAAG,CAAI,yCAAyC,EAAE,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;AAC5H,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"CalendarDate.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/CalendarDate.mjs"],"sourcesContent":["import {add as $435a2ceaa8778ed8$export$e16d8520af44a096, addTime as $435a2ceaa8778ed8$export$7ed87b6bc2506470, addZoned as $435a2ceaa8778ed8$export$96b1d28349274637, constrain as $435a2ceaa8778ed8$export$c4e2ecac49351ef2, constrainTime as $435a2ceaa8778ed8$export$7555de1e070510cb, cycleDate as $435a2ceaa8778ed8$export$d52ced6badfb9a4c, cycleTime as $435a2ceaa8778ed8$export$dd02b3e0007dfe28, cycleZoned as $435a2ceaa8778ed8$export$9a297d111fc86b79, set as $435a2ceaa8778ed8$export$adaa4cf7ef1b65be, setTime as $435a2ceaa8778ed8$export$e5d5e1c1822b6e56, setZoned as $435a2ceaa8778ed8$export$31b5430eb18be4f8, subtract as $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3, subtractTime as $435a2ceaa8778ed8$export$fe34d3a381cd7501, subtractZoned as $435a2ceaa8778ed8$export$6814caac34ca03c7} from \"./manipulation.mjs\";\nimport {compareDate as $ad063034c8620db8$export$68781ddf31c0090f, compareTime as $ad063034c8620db8$export$c19a80a9721b80f6} from \"./queries.mjs\";\nimport {dateTimeToString as $58246871e4652552$export$4223de14708adc63, dateToString as $58246871e4652552$export$60dfd74aa96791bd, timeToString as $58246871e4652552$export$f59dee82248f5ad4, zonedDateTimeToString as $58246871e4652552$export$bf79f1ebf4b18792} from \"./string.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\nimport {toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484, toDate as $d07e34cce18680fd$export$e67a095c620b86fe, toZoned as $d07e34cce18680fd$export$84c95a83c799e074, zonedToDate as $d07e34cce18680fd$export$83aac07b4c37b25} from \"./conversion.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $2aaf608024c21ca1$var$shiftArgs(args) {\n let calendar = typeof args[0] === 'object' ? args.shift() : new (0, $93635573935797de$export$80ee6245ec4f29ec)();\n let era;\n if (typeof args[0] === 'string') era = args.shift();\n else {\n let eras = calendar.getEras();\n era = eras[eras.length - 1];\n }\n let year = args.shift();\n let month = args.shift();\n let day = args.shift();\n return [\n calendar,\n era,\n year,\n month,\n day\n ];\n}\nclass $2aaf608024c21ca1$export$99faa760c7908e4f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // i.e. a ZonedDateTime should not be be passable to a parameter that expects CalendarDate.\n // If that behavior is desired, use the AnyCalendarDate interface instead.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.era, this.year, this.month, this.day);\n else return new $2aaf608024c21ca1$export$99faa760c7908e4f(this.calendar, this.year, this.month, this.day);\n }\n /** Returns a new `CalendarDate` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDate` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /**\n * Returns a new `CalendarDate` with the given fields set to the provided values. Other fields\n * will be constrained accordingly.\n */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)(this, fields);\n }\n /**\n * Returns a new `CalendarDate` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n }\n /**\n * Converts the date to a native JavaScript Date object, with the time set to midnight in the\n * given time zone.\n */ toDate(timeZone) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$60dfd74aa96791bd)(this);\n }\n /**\n * Compares this date with another. A negative result indicates that this date is before the given\n * one, and a positive date indicates that it is after.\n */ compare(b) {\n return (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$680ea196effce5f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(hour = 0, minute = 0, second = 0, millisecond = 0){\n this.hour = hour;\n this.minute = minute;\n this.second = second;\n this.millisecond = millisecond;\n (0, $435a2ceaa8778ed8$export$7555de1e070510cb)(this);\n }\n /** Returns a copy of this time. */ copy() {\n return new $2aaf608024c21ca1$export$680ea196effce5f(this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `Time` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$7ed87b6bc2506470)(this, duration);\n }\n /** Returns a new `Time` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$fe34d3a381cd7501)(this, duration);\n }\n /**\n * Returns a new `Time` with the given fields set to the provided values. Other fields will be\n * constrained accordingly.\n */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields);\n }\n /**\n * Returns a new `Time` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n /** Converts the time to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$f59dee82248f5ad4)(this);\n }\n /**\n * Compares this time with another. A negative result indicates that this time is before the given\n * one, and a positive time indicates that it is after.\n */ compare(b) {\n return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, b);\n }\n}\nclass $2aaf608024c21ca1$export$ca871e8dbb80966f {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$ca871e8dbb80966f(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `CalendarDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$e16d8520af44a096)(this, duration);\n }\n /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3)(this, duration);\n }\n /**\n * Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields\n * will be constrained accordingly.\n */ set(fields) {\n return (0, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be)((0, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56)(this, fields), fields);\n }\n /**\n * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n switch(field){\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n return (0, $435a2ceaa8778ed8$export$d52ced6badfb9a4c)(this, field, amount, options);\n default:\n return (0, $435a2ceaa8778ed8$export$dd02b3e0007dfe28)(this, field, amount, options);\n }\n }\n /** Converts the date to a native JavaScript Date object in the given time zone. */ toDate(timeZone, disambiguation) {\n return (0, $d07e34cce18680fd$export$e67a095c620b86fe)(this, timeZone, disambiguation);\n }\n /** Converts the date to an ISO 8601 formatted string. */ toString() {\n return (0, $58246871e4652552$export$4223de14708adc63)(this);\n }\n /**\n * Compares this date with another. A negative result indicates that this date is before the given\n * one, and a positive date indicates that it is after.\n */ compare(b) {\n let res = (0, $ad063034c8620db8$export$68781ddf31c0090f)(this, b);\n if (res === 0) return (0, $ad063034c8620db8$export$c19a80a9721b80f6)(this, (0, $d07e34cce18680fd$export$b21e0b124e224484)(b));\n return res;\n }\n}\nclass $2aaf608024c21ca1$export$d3b7288e7994edea {\n // This prevents TypeScript from allowing other types with the same fields to match.\n // @ts-ignore\n #type;\n constructor(...args){\n let [calendar, era, year, month, day] = $2aaf608024c21ca1$var$shiftArgs(args);\n let timeZone = args.shift();\n let offset = args.shift();\n this.calendar = calendar;\n this.era = era;\n this.year = year;\n this.month = month;\n this.day = day;\n this.timeZone = timeZone;\n this.offset = offset;\n this.hour = args.shift() || 0;\n this.minute = args.shift() || 0;\n this.second = args.shift() || 0;\n this.millisecond = args.shift() || 0;\n (0, $435a2ceaa8778ed8$export$c4e2ecac49351ef2)(this);\n }\n /** Returns a copy of this date. */ copy() {\n if (this.era) return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n else return new $2aaf608024c21ca1$export$d3b7288e7994edea(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);\n }\n /** Returns a new `ZonedDateTime` with the given duration added to it. */ add(duration) {\n return (0, $435a2ceaa8778ed8$export$96b1d28349274637)(this, duration);\n }\n /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */ subtract(duration) {\n return (0, $435a2ceaa8778ed8$export$6814caac34ca03c7)(this, duration);\n }\n /**\n * Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields\n * will be constrained accordingly.\n */ set(fields, disambiguation) {\n return (0, $435a2ceaa8778ed8$export$31b5430eb18be4f8)(this, fields, disambiguation);\n }\n /**\n * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.\n * When the resulting value reaches the limits of the field, it wraps around.\n */ cycle(field, amount, options) {\n return (0, $435a2ceaa8778ed8$export$9a297d111fc86b79)(this, field, amount, options);\n }\n /** Converts the date to a native JavaScript Date object. */ toDate() {\n return (0, $d07e34cce18680fd$export$83aac07b4c37b25)(this);\n }\n /**\n * Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone\n * identifier.\n */ toString() {\n return (0, $58246871e4652552$export$bf79f1ebf4b18792)(this);\n }\n /** Converts the date to an ISO 8601 formatted string in UTC. */ toAbsoluteString() {\n return this.toDate().toISOString();\n }\n /**\n * Compares this date with another. A negative result indicates that this date is before the given\n * one, and a positive date indicates that it is after.\n */ compare(b) {\n // TODO: Is this a bad idea??\n return this.toDate().getTime() - (0, $d07e34cce18680fd$export$84c95a83c799e074)(b, this.timeZone).toDate().getTime();\n }\n}\n\n\nexport {$2aaf608024c21ca1$export$99faa760c7908e4f as CalendarDate, $2aaf608024c21ca1$export$680ea196effce5f as Time, $2aaf608024c21ca1$export$ca871e8dbb80966f as CalendarDateTime, $2aaf608024c21ca1$export$d3b7288e7994edea as ZonedDateTime};\n//# sourceMappingURL=CalendarDate.mjs.map\n"],"names":[],"mappings":";;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA,SAAS,+BAA+B,CAAC,IAAI,EAAE;AAC/C,IAAI,IAAI,QAAQ,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,KAAQ,yCAAyC,GAAG;AACpH,IAAI,IAAI,GAAG;AACX,IAAI,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE;AACvD,SAAS;AACT,QAAQ,IAAI,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE;AACrC,QAAQ,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;AACnC,IAAI;AACJ,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE;AAC3B,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;AAC5B,IAAI,IAAI,GAAG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AAQ,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;AAC5H,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -14,7 +14,10 @@ class $12a3c853105e5a70$export$ad991b66133851cf {
|
|
|
14
14
|
this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);
|
|
15
15
|
this.options = options;
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Formats a date as a string according to the locale and format options passed to the
|
|
19
|
+
* constructor.
|
|
20
|
+
*/ format(value) {
|
|
18
21
|
return this.formatter.format(value);
|
|
19
22
|
}
|
|
20
23
|
/** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateFormatter.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/DateFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ let $12a3c853105e5a70$var$formatterCache = new Map();\nclass $12a3c853105e5a70$export$ad991b66133851cf {\n constructor(locale, options = {}){\n this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);\n this.options = options;\n }\n /** Formats a date as a string according to the locale and format options passed to the constructor. */ format(value) {\n return this.formatter.format(value);\n }\n /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {\n return this.formatter.formatToParts(value);\n }\n /** Formats a date range as a string. */ formatRange(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRange === 'function') // @ts-ignore\n return this.formatter.formatRange(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n // Very basic fallback for old browsers.\n return `${this.formatter.format(start)} \\u{2013} ${this.formatter.format(end)}`;\n }\n /** Formats a date range as an array of parts. */ formatRangeToParts(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRangeToParts === 'function') // @ts-ignore\n return this.formatter.formatRangeToParts(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n let startParts = this.formatter.formatToParts(start);\n let endParts = this.formatter.formatToParts(end);\n return [\n ...startParts.map((p)=>({\n ...p,\n source: 'startRange'\n })),\n {\n type: 'literal',\n value: \" \\u2013 \",\n source: 'shared'\n },\n ...endParts.map((p)=>({\n ...p,\n source: 'endRange'\n }))\n ];\n }\n /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {\n let resolvedOptions = this.formatter.resolvedOptions();\n if ($12a3c853105e5a70$var$hasBuggyResolvedHourCycle()) {\n if (!this.resolvedHourCycle) this.resolvedHourCycle = $12a3c853105e5a70$var$getResolvedHourCycle(resolvedOptions.locale, this.options);\n resolvedOptions.hourCycle = this.resolvedHourCycle;\n resolvedOptions.hour12 = this.resolvedHourCycle === 'h11' || this.resolvedHourCycle === 'h12';\n }\n // Safari uses a different name for the Ethiopic (Amete Alem) calendar.\n // https://bugs.webkit.org/show_bug.cgi?id=241564\n if (resolvedOptions.calendar === 'ethiopic-amete-alem') resolvedOptions.calendar = 'ethioaa';\n return resolvedOptions;\n }\n}\n// There are multiple bugs involving the hour12 and hourCycle options in various browser engines.\n// - Chrome [1] (and the ECMA 402 spec [2]) resolve hour12: false in English and other locales to h24 (24:00 - 23:59)\n// rather than h23 (00:00 - 23:59). Same can happen with hour12: true in French, which Chrome resolves to h11 (00:00 - 11:59)\n// rather than h12 (12:00 - 11:59).\n// - WebKit returns an incorrect hourCycle resolved option in the French locale due to incorrect parsing of 'h' literal\n// in the resolved pattern. It also formats incorrectly when specifying the hourCycle option for the same reason. [3]\n// [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1045791\n// [2] https://github.com/tc39/ecma402/issues/402\n// [3] https://bugs.webkit.org/show_bug.cgi?id=229313\n// https://github.com/unicode-org/cldr/blob/018b55eff7ceb389c7e3fc44e2f657eae3b10b38/common/supplemental/supplementalData.xml#L4774-L4802\nconst $12a3c853105e5a70$var$hour12Preferences = {\n true: {\n // Only Japanese uses the h11 style for 12 hour time. All others use h12.\n ja: 'h11'\n },\n false: {\n }\n};\nfunction $12a3c853105e5a70$var$getCachedDateFormatter(locale, options = {}) {\n // Work around buggy hour12 behavior in Chrome / ECMA 402 spec by using hourCycle instead.\n // Only apply the workaround if the issue is detected, because the hourCycle option is buggy in Safari.\n if (typeof options.hour12 === 'boolean' && $12a3c853105e5a70$var$hasBuggyHour12Behavior()) {\n options = {\n ...options\n };\n let pref = $12a3c853105e5a70$var$hour12Preferences[String(options.hour12)][locale.split('-')[0]];\n let defaultHourCycle = options.hour12 ? 'h12' : 'h23';\n options.hourCycle = pref ?? defaultHourCycle;\n delete options.hour12;\n }\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($12a3c853105e5a70$var$formatterCache.has(cacheKey)) return $12a3c853105e5a70$var$formatterCache.get(cacheKey);\n let numberFormatter = new Intl.DateTimeFormat(locale, options);\n $12a3c853105e5a70$var$formatterCache.set(cacheKey, numberFormatter);\n return numberFormatter;\n}\nlet $12a3c853105e5a70$var$_hasBuggyHour12Behavior = null;\nfunction $12a3c853105e5a70$var$hasBuggyHour12Behavior() {\n if ($12a3c853105e5a70$var$_hasBuggyHour12Behavior == null) $12a3c853105e5a70$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat('en-US', {\n hour: 'numeric',\n hour12: false\n }).format(new Date(2020, 2, 3, 0)) === '24';\n return $12a3c853105e5a70$var$_hasBuggyHour12Behavior;\n}\nlet $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = null;\nfunction $12a3c853105e5a70$var$hasBuggyResolvedHourCycle() {\n if ($12a3c853105e5a70$var$_hasBuggyResolvedHourCycle == null) $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat('fr', {\n hour: 'numeric',\n hour12: false\n }).resolvedOptions().hourCycle === 'h12';\n return $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle;\n}\nfunction $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {\n if (!options.timeStyle && !options.hour) return undefined;\n // Work around buggy results in resolved hourCycle and hour12 options in WebKit.\n // Format the minimum possible hour and maximum possible hour in a day and parse the results.\n locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, '');\n locale += (locale.includes('-u-') ? '' : '-u') + '-nu-latn';\n let formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, {\n ...options,\n timeZone: undefined // use local timezone\n });\n let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p)=>p.type === 'hour').value, 10);\n let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p)=>p.type === 'hour').value, 10);\n if (min === 0 && max === 23) return 'h23';\n if (min === 24 && max === 23) return 'h24';\n if (min === 0 && max === 11) return 'h11';\n if (min === 12 && max === 11) return 'h12';\n throw new Error('Unexpected hour cycle result');\n}\n\n\nexport {$12a3c853105e5a70$export$ad991b66133851cf as DateFormatter};\n//# sourceMappingURL=DateFormatter.mjs.map\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,oCAAoC,GAAG,IAAI,GAAG,EAAE;AACxD,MAAM,yCAAyC,CAAC;AAChD,IAAI,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,EAAE,CAAC;AACrC,QAAQ,IAAI,CAAC,SAAS,GAAG,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC;AACtF,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO;AAC9B,IAAI;AACJ,4GAA4G,MAAM,CAAC,KAAK,EAAE;AAC1H,QAAQ,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CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;AAChH,IAAI,IAAI,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC7C,IAAI,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC9C,IAAI,IAAI,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC7C,IAAI,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC9C,IAAI,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC;AACnD;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"DateFormatter.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/DateFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ let $12a3c853105e5a70$var$formatterCache = new Map();\nclass $12a3c853105e5a70$export$ad991b66133851cf {\n constructor(locale, options = {}){\n this.formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, options);\n this.options = options;\n }\n /**\n * Formats a date as a string according to the locale and format options passed to the\n * constructor.\n */ format(value) {\n return this.formatter.format(value);\n }\n /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {\n return this.formatter.formatToParts(value);\n }\n /** Formats a date range as a string. */ formatRange(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRange === 'function') // @ts-ignore\n return this.formatter.formatRange(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n // Very basic fallback for old browsers.\n return `${this.formatter.format(start)} \\u{2013} ${this.formatter.format(end)}`;\n }\n /** Formats a date range as an array of parts. */ formatRangeToParts(start, end) {\n // @ts-ignore\n if (typeof this.formatter.formatRangeToParts === 'function') // @ts-ignore\n return this.formatter.formatRangeToParts(start, end);\n if (end < start) throw new RangeError('End date must be >= start date');\n let startParts = this.formatter.formatToParts(start);\n let endParts = this.formatter.formatToParts(end);\n return [\n ...startParts.map((p)=>({\n ...p,\n source: 'startRange'\n })),\n {\n type: 'literal',\n value: \" \\u2013 \",\n source: 'shared'\n },\n ...endParts.map((p)=>({\n ...p,\n source: 'endRange'\n }))\n ];\n }\n /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {\n let resolvedOptions = this.formatter.resolvedOptions();\n if ($12a3c853105e5a70$var$hasBuggyResolvedHourCycle()) {\n if (!this.resolvedHourCycle) this.resolvedHourCycle = $12a3c853105e5a70$var$getResolvedHourCycle(resolvedOptions.locale, this.options);\n resolvedOptions.hourCycle = this.resolvedHourCycle;\n resolvedOptions.hour12 = this.resolvedHourCycle === 'h11' || this.resolvedHourCycle === 'h12';\n }\n // Safari uses a different name for the Ethiopic (Amete Alem) calendar.\n // https://bugs.webkit.org/show_bug.cgi?id=241564\n if (resolvedOptions.calendar === 'ethiopic-amete-alem') resolvedOptions.calendar = 'ethioaa';\n return resolvedOptions;\n }\n}\n// There are multiple bugs involving the hour12 and hourCycle options in various browser engines.\n// - Chrome [1] (and the ECMA 402 spec [2]) resolve hour12: false in English and other locales to h24 (24:00 - 23:59)\n// rather than h23 (00:00 - 23:59). Same can happen with hour12: true in French, which Chrome resolves to h11 (00:00 - 11:59)\n// rather than h12 (12:00 - 11:59).\n// - WebKit returns an incorrect hourCycle resolved option in the French locale due to incorrect parsing of 'h' literal\n// in the resolved pattern. It also formats incorrectly when specifying the hourCycle option for the same reason. [3]\n// [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1045791\n// [2] https://github.com/tc39/ecma402/issues/402\n// [3] https://bugs.webkit.org/show_bug.cgi?id=229313\n// https://github.com/unicode-org/cldr/blob/018b55eff7ceb389c7e3fc44e2f657eae3b10b38/common/supplemental/supplementalData.xml#L4774-L4802\nconst $12a3c853105e5a70$var$hour12Preferences = {\n true: {\n // Only Japanese uses the h11 style for 12 hour time. All others use h12.\n ja: 'h11'\n },\n false: {\n }\n};\nfunction $12a3c853105e5a70$var$getCachedDateFormatter(locale, options = {}) {\n // Work around buggy hour12 behavior in Chrome / ECMA 402 spec by using hourCycle instead.\n // Only apply the workaround if the issue is detected, because the hourCycle option is buggy in Safari.\n if (typeof options.hour12 === 'boolean' && $12a3c853105e5a70$var$hasBuggyHour12Behavior()) {\n options = {\n ...options\n };\n let pref = $12a3c853105e5a70$var$hour12Preferences[String(options.hour12)][locale.split('-')[0]];\n let defaultHourCycle = options.hour12 ? 'h12' : 'h23';\n options.hourCycle = pref ?? defaultHourCycle;\n delete options.hour12;\n }\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($12a3c853105e5a70$var$formatterCache.has(cacheKey)) return $12a3c853105e5a70$var$formatterCache.get(cacheKey);\n let numberFormatter = new Intl.DateTimeFormat(locale, options);\n $12a3c853105e5a70$var$formatterCache.set(cacheKey, numberFormatter);\n return numberFormatter;\n}\nlet $12a3c853105e5a70$var$_hasBuggyHour12Behavior = null;\nfunction $12a3c853105e5a70$var$hasBuggyHour12Behavior() {\n if ($12a3c853105e5a70$var$_hasBuggyHour12Behavior == null) $12a3c853105e5a70$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat('en-US', {\n hour: 'numeric',\n hour12: false\n }).format(new Date(2020, 2, 3, 0)) === '24';\n return $12a3c853105e5a70$var$_hasBuggyHour12Behavior;\n}\nlet $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = null;\nfunction $12a3c853105e5a70$var$hasBuggyResolvedHourCycle() {\n if ($12a3c853105e5a70$var$_hasBuggyResolvedHourCycle == null) $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat('fr', {\n hour: 'numeric',\n hour12: false\n }).resolvedOptions().hourCycle === 'h12';\n return $12a3c853105e5a70$var$_hasBuggyResolvedHourCycle;\n}\nfunction $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {\n if (!options.timeStyle && !options.hour) return undefined;\n // Work around buggy results in resolved hourCycle and hour12 options in WebKit.\n // Format the minimum possible hour and maximum possible hour in a day and parse the results.\n locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, '');\n locale += (locale.includes('-u-') ? '' : '-u') + '-nu-latn';\n let formatter = $12a3c853105e5a70$var$getCachedDateFormatter(locale, {\n ...options,\n timeZone: undefined // use local timezone\n });\n let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p)=>p.type === 'hour').value, 10);\n let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p)=>p.type === 'hour').value, 10);\n if (min === 0 && max === 23) return 'h23';\n if (min === 24 && max === 23) return 'h24';\n if (min === 0 && max === 11) return 'h11';\n if (min === 12 && max === 11) return 'h12';\n throw new Error('Unexpected hour cycle result');\n}\n\n\nexport {$12a3c853105e5a70$export$ad991b66133851cf as DateFormatter};\n//# sourceMappingURL=DateFormatter.mjs.map\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,oCAAoC,GAAG,IAAI,GAAG,EAAE;AACxD,MAAM,yCAAyC,CAAC;AAChD,IAAI,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,EAAE,CAAC;AACrC,QAAQ,IAAI,CAAC,SAAS,GAAG,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC;AACtF,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO;AAC9B,IAAI;AACJ;AACA;AACA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,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;AAChH,IAAI,IAAI,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC7C,IAAI,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC9C,IAAI,IAAI,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC7C,IAAI,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,OAAO,KAAK;AAC9C,IAAI,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC;AACnD;;;;","x_google_ignoreList":[0]}
|
|
@@ -129,7 +129,7 @@ function $435a2ceaa8778ed8$var$balanceTime(time) {
|
|
|
129
129
|
return days;
|
|
130
130
|
}
|
|
131
131
|
function $435a2ceaa8778ed8$export$7555de1e070510cb(time) {
|
|
132
|
-
time.millisecond = Math.max(0, Math.min(time.millisecond,
|
|
132
|
+
time.millisecond = Math.max(0, Math.min(time.millisecond, 999));
|
|
133
133
|
time.second = Math.max(0, Math.min(time.second, 59));
|
|
134
134
|
time.minute = Math.max(0, Math.min(time.minute, 59));
|
|
135
135
|
time.hour = Math.max(0, Math.min(time.hour, 23));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manipulation.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/manipulation.mjs"],"sourcesContent":["import {epochFromDate as $d07e34cce18680fd$export$bd4fb2bc8bb06fb, fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484} from \"./conversion.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $435a2ceaa8778ed8$var$ONE_HOUR = 3600000;\nfunction $435a2ceaa8778ed8$export$e16d8520af44a096(date, duration) {\n let mutableDate = date.copy();\n let days = 'hour' in mutableDate ? $435a2ceaa8778ed8$var$addTimeFields(mutableDate, duration) : 0;\n $435a2ceaa8778ed8$var$addYears(mutableDate, duration.years || 0);\n if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);\n mutableDate.month += duration.months || 0;\n $435a2ceaa8778ed8$var$balanceYearMonth(mutableDate);\n $435a2ceaa8778ed8$var$constrainMonthDay(mutableDate);\n mutableDate.day += (duration.weeks || 0) * 7;\n mutableDate.day += duration.days || 0;\n mutableDate.day += days;\n $435a2ceaa8778ed8$var$balanceDay(mutableDate);\n if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);\n // Constrain in case adding ended up with a date outside the valid range for the calendar system.\n // The behavior here is slightly different than when constraining in the `set` function in that\n // we adjust smaller fields to their minimum/maximum values rather than constraining each field\n // individually. This matches the general behavior of `add` vs `set` regarding how fields are balanced.\n if (mutableDate.year < 1) {\n mutableDate.year = 1;\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxYear = mutableDate.calendar.getYearsInEra(mutableDate);\n if (mutableDate.year > maxYear) {\n let isInverseEra = mutableDate.calendar.isInverseEra?.(mutableDate);\n mutableDate.year = maxYear;\n mutableDate.month = isInverseEra ? 1 : mutableDate.calendar.getMonthsInYear(mutableDate);\n mutableDate.day = isInverseEra ? 1 : mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n if (mutableDate.month < 1) {\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxMonth = mutableDate.calendar.getMonthsInYear(mutableDate);\n if (mutableDate.month > maxMonth) {\n mutableDate.month = maxMonth;\n mutableDate.day = mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day));\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$var$addYears(date, years) {\n if (date.calendar.isInverseEra?.(date)) years = -years;\n date.year += years;\n}\nfunction $435a2ceaa8778ed8$var$balanceYearMonth(date) {\n while(date.month < 1){\n $435a2ceaa8778ed8$var$addYears(date, -1);\n date.month += date.calendar.getMonthsInYear(date);\n }\n let monthsInYear = 0;\n while(date.month > (monthsInYear = date.calendar.getMonthsInYear(date))){\n date.month -= monthsInYear;\n $435a2ceaa8778ed8$var$addYears(date, 1);\n }\n}\nfunction $435a2ceaa8778ed8$var$balanceDay(date) {\n while(date.day < 1){\n date.month--;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n date.day += date.calendar.getDaysInMonth(date);\n }\n while(date.day > date.calendar.getDaysInMonth(date)){\n date.day -= date.calendar.getDaysInMonth(date);\n date.month++;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n }\n}\nfunction $435a2ceaa8778ed8$var$constrainMonthDay(date) {\n date.month = Math.max(1, Math.min(date.calendar.getMonthsInYear(date), date.month));\n date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));\n}\nfunction $435a2ceaa8778ed8$export$c4e2ecac49351ef2(date) {\n if (date.calendar.constrainDate) date.calendar.constrainDate(date);\n date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));\n $435a2ceaa8778ed8$var$constrainMonthDay(date);\n}\nfunction $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration) {\n let inverseDuration = {};\n for(let key in duration)if (typeof duration[key] === 'number') inverseDuration[key] = -duration[key];\n return inverseDuration;\n}\nfunction $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3(date, duration) {\n return $435a2ceaa8778ed8$export$e16d8520af44a096(date, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$adaa4cf7ef1b65be(date, fields) {\n let mutableDate = date.copy();\n if (fields.era != null) mutableDate.era = fields.era;\n if (fields.year != null) mutableDate.year = fields.year;\n if (fields.month != null) mutableDate.month = fields.month;\n if (fields.day != null) mutableDate.day = fields.day;\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutableDate);\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$export$e5d5e1c1822b6e56(value, fields) {\n let mutableValue = value.copy();\n if (fields.hour != null) mutableValue.hour = fields.hour;\n if (fields.minute != null) mutableValue.minute = fields.minute;\n if (fields.second != null) mutableValue.second = fields.second;\n if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;\n $435a2ceaa8778ed8$export$7555de1e070510cb(mutableValue);\n return mutableValue;\n}\nfunction $435a2ceaa8778ed8$var$balanceTime(time) {\n time.second += Math.floor(time.millisecond / 1000);\n time.millisecond = $435a2ceaa8778ed8$var$nonNegativeMod(time.millisecond, 1000);\n time.minute += Math.floor(time.second / 60);\n time.second = $435a2ceaa8778ed8$var$nonNegativeMod(time.second, 60);\n time.hour += Math.floor(time.minute / 60);\n time.minute = $435a2ceaa8778ed8$var$nonNegativeMod(time.minute, 60);\n let days = Math.floor(time.hour / 24);\n time.hour = $435a2ceaa8778ed8$var$nonNegativeMod(time.hour, 24);\n return days;\n}\nfunction $435a2ceaa8778ed8$export$7555de1e070510cb(time) {\n time.millisecond = Math.max(0, Math.min(time.millisecond, 1000));\n time.second = Math.max(0, Math.min(time.second, 59));\n time.minute = Math.max(0, Math.min(time.minute, 59));\n time.hour = Math.max(0, Math.min(time.hour, 23));\n}\nfunction $435a2ceaa8778ed8$var$nonNegativeMod(a, b) {\n let result = a % b;\n if (result < 0) result += b;\n return result;\n}\nfunction $435a2ceaa8778ed8$var$addTimeFields(time, duration) {\n time.hour += duration.hours || 0;\n time.minute += duration.minutes || 0;\n time.second += duration.seconds || 0;\n time.millisecond += duration.milliseconds || 0;\n return $435a2ceaa8778ed8$var$balanceTime(time);\n}\nfunction $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, duration) {\n let res = time.copy();\n $435a2ceaa8778ed8$var$addTimeFields(res, duration);\n return res;\n}\nfunction $435a2ceaa8778ed8$export$fe34d3a381cd7501(time, duration) {\n return $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$d52ced6badfb9a4c(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'era':\n {\n let eras = value.calendar.getEras();\n let eraIndex = eras.indexOf(value.era);\n if (eraIndex < 0) throw new Error('Invalid era: ' + value.era);\n eraIndex = $435a2ceaa8778ed8$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options?.round);\n mutable.era = eras[eraIndex];\n // Constrain the year and other fields within the era, so the era doesn't change when we balance below.\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n break;\n }\n case 'year':\n if (mutable.calendar.isInverseEra?.(mutable)) amount = -amount;\n // The year field should not cycle within the era as that can cause weird behavior affecting other fields.\n // We need to also allow values < 1 so that decrementing goes to the previous era. If we get -Infinity back\n // we know we wrapped around after reaching 9999 (the maximum), so set the year back to 1.\n mutable.year = $435a2ceaa8778ed8$var$cycleValue(value.year, amount, -Infinity, 9999, options?.round);\n if (mutable.year === -Infinity) mutable.year = 1;\n if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);\n break;\n case 'month':\n mutable.month = $435a2ceaa8778ed8$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options?.round);\n break;\n case 'day':\n mutable.day = $435a2ceaa8778ed8$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n return mutable;\n}\nfunction $435a2ceaa8778ed8$export$dd02b3e0007dfe28(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'hour':\n {\n let hours = value.hour;\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = hours >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n mutable.hour = $435a2ceaa8778ed8$var$cycleValue(hours, amount, min, max, options?.round);\n break;\n }\n case 'minute':\n mutable.minute = $435a2ceaa8778ed8$var$cycleValue(value.minute, amount, 0, 59, options?.round);\n break;\n case 'second':\n mutable.second = $435a2ceaa8778ed8$var$cycleValue(value.second, amount, 0, 59, options?.round);\n break;\n case 'millisecond':\n mutable.millisecond = $435a2ceaa8778ed8$var$cycleValue(value.millisecond, amount, 0, 999, options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n return mutable;\n}\nfunction $435a2ceaa8778ed8$var$cycleValue(value, amount, min, max, round = false) {\n if (round) {\n value += Math.sign(amount);\n if (value < min) value = max;\n let div = Math.abs(amount);\n if (amount > 0) value = Math.ceil(value / div) * div;\n else value = Math.floor(value / div) * div;\n if (value > max) value = min;\n } else {\n value += amount;\n if (value < min) value = max - (min - value - 1);\n else if (value > max) value = min + (value - max - 1);\n }\n return value;\n}\nfunction $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, duration) {\n let ms;\n if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {\n let res = $435a2ceaa8778ed8$export$e16d8520af44a096((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), {\n years: duration.years,\n months: duration.months,\n weeks: duration.weeks,\n days: duration.days\n });\n // Changing the date may change the timezone offset, so we need to recompute\n // using the 'compatible' disambiguation.\n ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n } else // Otherwise, preserve the offset of the original date.\n ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n // Perform time manipulation in milliseconds rather than on the original time fields to account for DST.\n // For example, adding one hour during a DST transition may result in the hour field staying the same or\n // skipping an hour. This results in the offset field changing value instead of the specified field.\n ms += duration.milliseconds || 0;\n ms += (duration.seconds || 0) * 1000;\n ms += (duration.minutes || 0) * 60000;\n ms += (duration.hours || 0) * 3600000;\n let res = (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(res, dateTime.calendar);\n}\nfunction $435a2ceaa8778ed8$export$6814caac34ca03c7(dateTime, duration) {\n return $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$9a297d111fc86b79(dateTime, field, amount, options) {\n // For date fields, we want the time to remain consistent and the UTC offset to potentially change to account for DST changes.\n // For time fields, we want the time to change by the amount given. This may result in the hour field staying the same, but the UTC\n // offset changing in the case of a backward DST transition, or skipping an hour in the case of a forward DST transition.\n switch(field){\n case 'hour':\n {\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = dateTime.hour >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n // The minimum and maximum hour may be affected by daylight saving time.\n // For example, it might jump forward at midnight, and skip 1am.\n // Or it might end at midnight and repeat the 11pm hour. To handle this, we get\n // the possible absolute times for the min and max, and find the maximum range\n // that is within the current day.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let minDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: min\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let minAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === minDate.day)[0];\n let maxDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: max\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let maxAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === maxDate.day).pop();\n // Since hours may repeat, we need to operate on the absolute time in milliseconds.\n // This is done in hours from the Unix epoch so that cycleValue works correctly,\n // and then converted back to milliseconds.\n let ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n let hours = Math.floor(ms / $435a2ceaa8778ed8$var$ONE_HOUR);\n let remainder = ms % $435a2ceaa8778ed8$var$ONE_HOUR;\n ms = $435a2ceaa8778ed8$var$cycleValue(hours, amount, Math.floor(minAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), Math.floor(maxAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), options?.round) * $435a2ceaa8778ed8$var$ONE_HOUR + remainder;\n // Now compute the new timezone offset, and convert the absolute time back to local time.\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n case 'minute':\n case 'second':\n case 'millisecond':\n // @ts-ignore\n return $435a2ceaa8778ed8$export$dd02b3e0007dfe28(dateTime, field, amount, options);\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n {\n let res = $435a2ceaa8778ed8$export$d52ced6badfb9a4c((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), field, amount, options);\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n default:\n throw new Error('Unsupported field ' + field);\n }\n}\nfunction $435a2ceaa8778ed8$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {\n // Set the date/time fields, and recompute the UTC offset to account for DST changes.\n // We also need to validate by converting back to a local time in case hours are skipped during forward DST transitions.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let res = $435a2ceaa8778ed8$export$e5d5e1c1822b6e56($435a2ceaa8778ed8$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);\n // If the resulting plain date time values are equal, return the original time.\n // We don't want to change the offset when setting the time to the same value.\n if (res.compare(plainDateTime) === 0) return dateTime;\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone, disambiguation);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n}\n\n\nexport {$435a2ceaa8778ed8$export$e16d8520af44a096 as add, $435a2ceaa8778ed8$export$c4e2ecac49351ef2 as constrain, $435a2ceaa8778ed8$export$3e2544e88a25bff8 as invertDuration, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3 as subtract, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be as set, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56 as setTime, $435a2ceaa8778ed8$export$7555de1e070510cb as constrainTime, $435a2ceaa8778ed8$export$7ed87b6bc2506470 as addTime, $435a2ceaa8778ed8$export$fe34d3a381cd7501 as subtractTime, $435a2ceaa8778ed8$export$d52ced6badfb9a4c as cycleDate, $435a2ceaa8778ed8$export$dd02b3e0007dfe28 as cycleTime, $435a2ceaa8778ed8$export$96b1d28349274637 as addZoned, $435a2ceaa8778ed8$export$6814caac34ca03c7 as subtractZoned, $435a2ceaa8778ed8$export$9a297d111fc86b79 as cycleZoned, $435a2ceaa8778ed8$export$31b5430eb18be4f8 as setZoned};\n//# sourceMappingURL=manipulation.mjs.map\n"],"names":[],"mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAM,8BAA8B,GAAG,OAAO;AAC9C,SAAS,yCAAyC,CAAC,IAAI,EAAE,QAAQ,EAAE;AACnE,IAAI,IAAI,WAAW,GAAG,IAAI,CAAC,IAAI,EAAE;AACjC,IAAI,IAAI,IAAI,GAAG,MAAM,IAAI,WAAW,GAAG,mCAAmC,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,CAAC;AACrG,IAAI,8BAA8B,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAC;AACpE,IAAI,IAAI,WAAW,CAAC,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC;AACvG,IAAI,WAAW,CAAC,KAAK,IAAI,QAAQ,CAAC,MAAM,IAAI,CAAC;AAC7C,IAAI,sCAAsC,CAAC,WAAW,CAAC;AACvD,IAAI,uCAAuC,CAAC,WAAW,CAAC;AACxD,IAAI,WAAW,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC;AAChD,IAAI,WAAW,CAAC,GAAG,IAAI,QAAQ,CAAC,IAAI,IAAI,CAAC;AACzC,IAAI,WAAW,CAAC,GAAG,IAAI,IAA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CAAI,yCAAyC,EAAE,QAAQ,CAAC;AAChF,IAAI,IAAI,GAAG,GAAG,yCAAyC,CAAC,yCAAyC,CAAC,aAAa,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC;AACjI;AACA;AACA,IAAI,IAAI,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,OAAO,QAAQ;AACzD,IAAI,IAAI,EAAE,GAAG,CAAI,yCAAyC,EAAE,GAAG,EAAE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;AACnG,IAAI,OAAO,CAAI,yCAAyC,EAAE,CAAI,yCAAyC,EAAE,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC;AACnJ;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"manipulation.js","sources":["../../../../../../../../node_modules/@internationalized/date/dist/private/manipulation.mjs"],"sourcesContent":["import {epochFromDate as $d07e34cce18680fd$export$bd4fb2bc8bb06fb, fromAbsolute as $d07e34cce18680fd$export$1b96692a1ba042ac, toAbsolute as $d07e34cce18680fd$export$5107c82f94518f5c, toCalendar as $d07e34cce18680fd$export$b4a036af3fc0b032, toCalendarDateTime as $d07e34cce18680fd$export$b21e0b124e224484} from \"./conversion.mjs\";\nimport {GregorianCalendar as $93635573935797de$export$80ee6245ec4f29ec} from \"./calendars/GregorianCalendar.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $435a2ceaa8778ed8$var$ONE_HOUR = 3600000;\nfunction $435a2ceaa8778ed8$export$e16d8520af44a096(date, duration) {\n let mutableDate = date.copy();\n let days = 'hour' in mutableDate ? $435a2ceaa8778ed8$var$addTimeFields(mutableDate, duration) : 0;\n $435a2ceaa8778ed8$var$addYears(mutableDate, duration.years || 0);\n if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date);\n mutableDate.month += duration.months || 0;\n $435a2ceaa8778ed8$var$balanceYearMonth(mutableDate);\n $435a2ceaa8778ed8$var$constrainMonthDay(mutableDate);\n mutableDate.day += (duration.weeks || 0) * 7;\n mutableDate.day += duration.days || 0;\n mutableDate.day += days;\n $435a2ceaa8778ed8$var$balanceDay(mutableDate);\n if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate);\n // Constrain in case adding ended up with a date outside the valid range for the calendar system.\n // The behavior here is slightly different than when constraining in the `set` function in that\n // we adjust smaller fields to their minimum/maximum values rather than constraining each field\n // individually. This matches the general behavior of `add` vs `set` regarding how fields are balanced.\n if (mutableDate.year < 1) {\n mutableDate.year = 1;\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxYear = mutableDate.calendar.getYearsInEra(mutableDate);\n if (mutableDate.year > maxYear) {\n let isInverseEra = mutableDate.calendar.isInverseEra?.(mutableDate);\n mutableDate.year = maxYear;\n mutableDate.month = isInverseEra ? 1 : mutableDate.calendar.getMonthsInYear(mutableDate);\n mutableDate.day = isInverseEra ? 1 : mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n if (mutableDate.month < 1) {\n mutableDate.month = 1;\n mutableDate.day = 1;\n }\n let maxMonth = mutableDate.calendar.getMonthsInYear(mutableDate);\n if (mutableDate.month > maxMonth) {\n mutableDate.month = maxMonth;\n mutableDate.day = mutableDate.calendar.getDaysInMonth(mutableDate);\n }\n mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day));\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$var$addYears(date, years) {\n if (date.calendar.isInverseEra?.(date)) years = -years;\n date.year += years;\n}\nfunction $435a2ceaa8778ed8$var$balanceYearMonth(date) {\n while(date.month < 1){\n $435a2ceaa8778ed8$var$addYears(date, -1);\n date.month += date.calendar.getMonthsInYear(date);\n }\n let monthsInYear = 0;\n while(date.month > (monthsInYear = date.calendar.getMonthsInYear(date))){\n date.month -= monthsInYear;\n $435a2ceaa8778ed8$var$addYears(date, 1);\n }\n}\nfunction $435a2ceaa8778ed8$var$balanceDay(date) {\n while(date.day < 1){\n date.month--;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n date.day += date.calendar.getDaysInMonth(date);\n }\n while(date.day > date.calendar.getDaysInMonth(date)){\n date.day -= date.calendar.getDaysInMonth(date);\n date.month++;\n $435a2ceaa8778ed8$var$balanceYearMonth(date);\n }\n}\nfunction $435a2ceaa8778ed8$var$constrainMonthDay(date) {\n date.month = Math.max(1, Math.min(date.calendar.getMonthsInYear(date), date.month));\n date.day = Math.max(1, Math.min(date.calendar.getDaysInMonth(date), date.day));\n}\nfunction $435a2ceaa8778ed8$export$c4e2ecac49351ef2(date) {\n if (date.calendar.constrainDate) date.calendar.constrainDate(date);\n date.year = Math.max(1, Math.min(date.calendar.getYearsInEra(date), date.year));\n $435a2ceaa8778ed8$var$constrainMonthDay(date);\n}\nfunction $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration) {\n let inverseDuration = {};\n for(let key in duration)if (typeof duration[key] === 'number') inverseDuration[key] = -duration[key];\n return inverseDuration;\n}\nfunction $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3(date, duration) {\n return $435a2ceaa8778ed8$export$e16d8520af44a096(date, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$adaa4cf7ef1b65be(date, fields) {\n let mutableDate = date.copy();\n if (fields.era != null) mutableDate.era = fields.era;\n if (fields.year != null) mutableDate.year = fields.year;\n if (fields.month != null) mutableDate.month = fields.month;\n if (fields.day != null) mutableDate.day = fields.day;\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutableDate);\n return mutableDate;\n}\nfunction $435a2ceaa8778ed8$export$e5d5e1c1822b6e56(value, fields) {\n let mutableValue = value.copy();\n if (fields.hour != null) mutableValue.hour = fields.hour;\n if (fields.minute != null) mutableValue.minute = fields.minute;\n if (fields.second != null) mutableValue.second = fields.second;\n if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond;\n $435a2ceaa8778ed8$export$7555de1e070510cb(mutableValue);\n return mutableValue;\n}\nfunction $435a2ceaa8778ed8$var$balanceTime(time) {\n time.second += Math.floor(time.millisecond / 1000);\n time.millisecond = $435a2ceaa8778ed8$var$nonNegativeMod(time.millisecond, 1000);\n time.minute += Math.floor(time.second / 60);\n time.second = $435a2ceaa8778ed8$var$nonNegativeMod(time.second, 60);\n time.hour += Math.floor(time.minute / 60);\n time.minute = $435a2ceaa8778ed8$var$nonNegativeMod(time.minute, 60);\n let days = Math.floor(time.hour / 24);\n time.hour = $435a2ceaa8778ed8$var$nonNegativeMod(time.hour, 24);\n return days;\n}\nfunction $435a2ceaa8778ed8$export$7555de1e070510cb(time) {\n time.millisecond = Math.max(0, Math.min(time.millisecond, 999));\n time.second = Math.max(0, Math.min(time.second, 59));\n time.minute = Math.max(0, Math.min(time.minute, 59));\n time.hour = Math.max(0, Math.min(time.hour, 23));\n}\nfunction $435a2ceaa8778ed8$var$nonNegativeMod(a, b) {\n let result = a % b;\n if (result < 0) result += b;\n return result;\n}\nfunction $435a2ceaa8778ed8$var$addTimeFields(time, duration) {\n time.hour += duration.hours || 0;\n time.minute += duration.minutes || 0;\n time.second += duration.seconds || 0;\n time.millisecond += duration.milliseconds || 0;\n return $435a2ceaa8778ed8$var$balanceTime(time);\n}\nfunction $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, duration) {\n let res = time.copy();\n $435a2ceaa8778ed8$var$addTimeFields(res, duration);\n return res;\n}\nfunction $435a2ceaa8778ed8$export$fe34d3a381cd7501(time, duration) {\n return $435a2ceaa8778ed8$export$7ed87b6bc2506470(time, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$d52ced6badfb9a4c(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'era':\n {\n let eras = value.calendar.getEras();\n let eraIndex = eras.indexOf(value.era);\n if (eraIndex < 0) throw new Error('Invalid era: ' + value.era);\n eraIndex = $435a2ceaa8778ed8$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options?.round);\n mutable.era = eras[eraIndex];\n // Constrain the year and other fields within the era, so the era doesn't change when we balance below.\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n break;\n }\n case 'year':\n if (mutable.calendar.isInverseEra?.(mutable)) amount = -amount;\n // The year field should not cycle within the era as that can cause weird behavior affecting other fields.\n // We need to also allow values < 1 so that decrementing goes to the previous era. If we get -Infinity back\n // we know we wrapped around after reaching 9999 (the maximum), so set the year back to 1.\n mutable.year = $435a2ceaa8778ed8$var$cycleValue(value.year, amount, -Infinity, 9999, options?.round);\n if (mutable.year === -Infinity) mutable.year = 1;\n if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value);\n break;\n case 'month':\n mutable.month = $435a2ceaa8778ed8$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options?.round);\n break;\n case 'day':\n mutable.day = $435a2ceaa8778ed8$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n if (value.calendar.balanceDate) value.calendar.balanceDate(mutable);\n $435a2ceaa8778ed8$export$c4e2ecac49351ef2(mutable);\n return mutable;\n}\nfunction $435a2ceaa8778ed8$export$dd02b3e0007dfe28(value, field, amount, options) {\n let mutable = value.copy();\n switch(field){\n case 'hour':\n {\n let hours = value.hour;\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = hours >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n mutable.hour = $435a2ceaa8778ed8$var$cycleValue(hours, amount, min, max, options?.round);\n break;\n }\n case 'minute':\n mutable.minute = $435a2ceaa8778ed8$var$cycleValue(value.minute, amount, 0, 59, options?.round);\n break;\n case 'second':\n mutable.second = $435a2ceaa8778ed8$var$cycleValue(value.second, amount, 0, 59, options?.round);\n break;\n case 'millisecond':\n mutable.millisecond = $435a2ceaa8778ed8$var$cycleValue(value.millisecond, amount, 0, 999, options?.round);\n break;\n default:\n throw new Error('Unsupported field ' + field);\n }\n return mutable;\n}\nfunction $435a2ceaa8778ed8$var$cycleValue(value, amount, min, max, round = false) {\n if (round) {\n value += Math.sign(amount);\n if (value < min) value = max;\n let div = Math.abs(amount);\n if (amount > 0) value = Math.ceil(value / div) * div;\n else value = Math.floor(value / div) * div;\n if (value > max) value = min;\n } else {\n value += amount;\n if (value < min) value = max - (min - value - 1);\n else if (value > max) value = min + (value - max - 1);\n }\n return value;\n}\nfunction $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, duration) {\n let ms;\n if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) {\n let res = $435a2ceaa8778ed8$export$e16d8520af44a096((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), {\n years: duration.years,\n months: duration.months,\n weeks: duration.weeks,\n days: duration.days\n });\n // Changing the date may change the timezone offset, so we need to recompute\n // using the 'compatible' disambiguation.\n ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n } else // Otherwise, preserve the offset of the original date.\n ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n // Perform time manipulation in milliseconds rather than on the original time fields to account for DST.\n // For example, adding one hour during a DST transition may result in the hour field staying the same or\n // skipping an hour. This results in the offset field changing value instead of the specified field.\n ms += duration.milliseconds || 0;\n ms += (duration.seconds || 0) * 1000;\n ms += (duration.minutes || 0) * 60000;\n ms += (duration.hours || 0) * 3600000;\n let res = (0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)(res, dateTime.calendar);\n}\nfunction $435a2ceaa8778ed8$export$6814caac34ca03c7(dateTime, duration) {\n return $435a2ceaa8778ed8$export$96b1d28349274637(dateTime, $435a2ceaa8778ed8$export$3e2544e88a25bff8(duration));\n}\nfunction $435a2ceaa8778ed8$export$9a297d111fc86b79(dateTime, field, amount, options) {\n // For date fields, we want the time to remain consistent and the UTC offset to potentially change to account for DST changes.\n // For time fields, we want the time to change by the amount given. This may result in the hour field staying the same, but the UTC\n // offset changing in the case of a backward DST transition, or skipping an hour in the case of a forward DST transition.\n switch(field){\n case 'hour':\n {\n let min = 0;\n let max = 23;\n if (options?.hourCycle === 12) {\n let isPM = dateTime.hour >= 12;\n min = isPM ? 12 : 0;\n max = isPM ? 23 : 11;\n }\n // The minimum and maximum hour may be affected by daylight saving time.\n // For example, it might jump forward at midnight, and skip 1am.\n // Or it might end at midnight and repeat the 11pm hour. To handle this, we get\n // the possible absolute times for the min and max, and find the maximum range\n // that is within the current day.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let minDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: min\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let minAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(minDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === minDate.day)[0];\n let maxDate = (0, $d07e34cce18680fd$export$b4a036af3fc0b032)($435a2ceaa8778ed8$export$e5d5e1c1822b6e56(plainDateTime, {\n hour: max\n }), new (0, $93635573935797de$export$80ee6245ec4f29ec)());\n let maxAbsolute = [\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'earlier'),\n (0, $d07e34cce18680fd$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, 'later')\n ].filter((ms)=>(0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone).day === maxDate.day).pop();\n // Since hours may repeat, we need to operate on the absolute time in milliseconds.\n // This is done in hours from the Unix epoch so that cycleValue works correctly,\n // and then converted back to milliseconds.\n let ms = (0, $d07e34cce18680fd$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset;\n let hours = Math.floor(ms / $435a2ceaa8778ed8$var$ONE_HOUR);\n let remainder = ms % $435a2ceaa8778ed8$var$ONE_HOUR;\n ms = $435a2ceaa8778ed8$var$cycleValue(hours, amount, Math.floor(minAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), Math.floor(maxAbsolute / $435a2ceaa8778ed8$var$ONE_HOUR), options?.round) * $435a2ceaa8778ed8$var$ONE_HOUR + remainder;\n // Now compute the new timezone offset, and convert the absolute time back to local time.\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n case 'minute':\n case 'second':\n case 'millisecond':\n // @ts-ignore\n return $435a2ceaa8778ed8$export$dd02b3e0007dfe28(dateTime, field, amount, options);\n case 'era':\n case 'year':\n case 'month':\n case 'day':\n {\n let res = $435a2ceaa8778ed8$export$d52ced6badfb9a4c((0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime), field, amount, options);\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n }\n default:\n throw new Error('Unsupported field ' + field);\n }\n}\nfunction $435a2ceaa8778ed8$export$31b5430eb18be4f8(dateTime, fields, disambiguation) {\n // Set the date/time fields, and recompute the UTC offset to account for DST changes.\n // We also need to validate by converting back to a local time in case hours are skipped during forward DST transitions.\n let plainDateTime = (0, $d07e34cce18680fd$export$b21e0b124e224484)(dateTime);\n let res = $435a2ceaa8778ed8$export$e5d5e1c1822b6e56($435a2ceaa8778ed8$export$adaa4cf7ef1b65be(plainDateTime, fields), fields);\n // If the resulting plain date time values are equal, return the original time.\n // We don't want to change the offset when setting the time to the same value.\n if (res.compare(plainDateTime) === 0) return dateTime;\n let ms = (0, $d07e34cce18680fd$export$5107c82f94518f5c)(res, dateTime.timeZone, disambiguation);\n return (0, $d07e34cce18680fd$export$b4a036af3fc0b032)((0, $d07e34cce18680fd$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar);\n}\n\n\nexport {$435a2ceaa8778ed8$export$e16d8520af44a096 as add, $435a2ceaa8778ed8$export$c4e2ecac49351ef2 as constrain, $435a2ceaa8778ed8$export$3e2544e88a25bff8 as invertDuration, $435a2ceaa8778ed8$export$4e2d2ead65e5f7e3 as subtract, $435a2ceaa8778ed8$export$adaa4cf7ef1b65be as set, $435a2ceaa8778ed8$export$e5d5e1c1822b6e56 as setTime, $435a2ceaa8778ed8$export$7555de1e070510cb as constrainTime, $435a2ceaa8778ed8$export$7ed87b6bc2506470 as addTime, $435a2ceaa8778ed8$export$fe34d3a381cd7501 as subtractTime, $435a2ceaa8778ed8$export$d52ced6badfb9a4c as cycleDate, $435a2ceaa8778ed8$export$dd02b3e0007dfe28 as cycleTime, $435a2ceaa8778ed8$export$96b1d28349274637 as addZoned, $435a2ceaa8778ed8$export$6814caac34ca03c7 as subtractZoned, $435a2ceaa8778ed8$export$9a297d111fc86b79 as cycleZoned, $435a2ceaa8778ed8$export$31b5430eb18be4f8 as setZoned};\n//# sourceMappingURL=manipulation.mjs.map\n"],"names":[],"mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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,QAAQ,CAAC;AACnJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Planning Center Tapestry Web Components
|
|
3
|
-
* Version: 4.4.0
|
|
3
|
+
* Version: 4.4.0
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Elements inside of web components sometimes need to inherit global attributes
|
|
@@ -19,4 +19,4 @@ function removeSSRSlot(host) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export { removeSSRSlot as r };
|
|
22
|
-
//# sourceMappingURL=p-
|
|
22
|
+
//# sourceMappingURL=p-6NO22Vi_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-6NO22Vi_.js","sources":["../../../../../../tapestry-wc/dist/components/p-6NO22Vi_.js"],"sourcesContent":["/*!\n * Planning Center Tapestry Web Components\n * Version: 4.4.0\n */\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the button in `tds-page-header-nav-item` should inherit\n * the aria attributes that developers set directly on `tds-page-header-nav-item`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n * This function also removes the attribute from the parent when its set on child.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nfunction removeSSRSlot(host) {\n const ssrNodes = host.querySelectorAll('[slot=\"ssr\"]');\n ssrNodes.forEach((el) => el.remove());\n}\n\nexport { removeSSRSlot as r };\n//# sourceMappingURL=p-6NO22Vi_.js.map\n\n//# sourceMappingURL=p-6NO22Vi_.js.map"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,IAAI,EAAE;AAC7B,IAAI,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC;AAC1D,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,CAAC;AACzC;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Planning Center Tapestry Web Components
|
|
3
|
-
* Version: 4.4.0
|
|
3
|
+
* Version: 4.4.0
|
|
4
4
|
*/
|
|
5
5
|
const NAMESPACE = 'tapestry';
|
|
6
6
|
const BUILD = /* tapestry */ { experimentalSlotFixes: true, hydratedSelectorName: "hydrated", lazyLoad: false, shadowDom: false, slotRelocation: true, updatable: true, watchCallback: false };
|
|
@@ -1733,4 +1733,4 @@ var proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
1733
1733
|
};
|
|
1734
1734
|
|
|
1735
1735
|
export { H, Host as c, h, proxyCustomElement as p };
|
|
1736
|
-
//# sourceMappingURL=p-
|
|
1736
|
+
//# sourceMappingURL=p-B2xqMgNQ.js.map
|