@paperless/core 2.3.0 → 2.3.2
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/CHANGELOG.md +22 -0
- package/dist/build/{p-33a18d80.js → p-2ab8ffe8.js} +1 -1
- package/dist/{paperless/p-fdb85aef.entry.js → build/p-925d7ffc.entry.js} +2 -2
- package/dist/build/p-925d7ffc.entry.js.map +1 -0
- package/dist/build/{p-43216955.entry.js → p-ba9ecfd6.entry.js} +2 -2
- package/dist/{paperless/p-43216955.entry.js.map → build/p-ba9ecfd6.entry.js.map} +1 -1
- package/dist/build/p-datepicker.entry.esm.js.map +1 -1
- package/dist/build/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +7 -0
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/p-helper.p-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/p-helper_2.cjs.entry.js +9 -0
- package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +9 -0
- package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +7 -0
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/components/{p-CH64wrKS.js → p-BRnY1zdf.js} +11 -2
- package/dist/components/p-BRnY1zdf.js.map +1 -0
- package/dist/components/{p-Dm9wDTbM.js → p-C01CxOX-.js} +4 -4
- package/dist/components/{p-Dm9wDTbM.js.map → p-C01CxOX-.js.map} +1 -1
- package/dist/components/{p-PqgdU5A2.js → p-CxB7Mle4.js} +3 -3
- package/dist/components/{p-PqgdU5A2.js.map → p-CxB7Mle4.js.map} +1 -1
- package/dist/components/{p-Ds64b3s1.js → p-DsIrbX0y.js} +3 -3
- package/dist/components/{p-Ds64b3s1.js.map → p-DsIrbX0y.js.map} +1 -1
- package/dist/components/{p-HJQA2u2S.js → p-aCVE8yBd.js} +5 -5
- package/dist/components/{p-HJQA2u2S.js.map → p-aCVE8yBd.js.map} +1 -1
- package/dist/components/p-attachment.js +3 -3
- package/dist/components/{p-Di_xEiDn.js → p-c28tJtDm.js} +6 -6
- package/dist/components/{p-Di_xEiDn.js.map → p-c28tJtDm.js.map} +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-datepicker.js +12 -5
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-select.js +4 -4
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table.js +5 -5
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/p-datepicker.entry.js +7 -0
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-helper.p-tooltip.entry.js.map +1 -1
- package/dist/esm/p-helper_2.entry.js +9 -0
- package/dist/esm/p-helper_2.entry.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/{build/p-fdb85aef.entry.js → paperless/p-925d7ffc.entry.js} +2 -2
- package/dist/paperless/p-925d7ffc.entry.js.map +1 -0
- package/dist/paperless/{p-43216955.entry.js → p-ba9ecfd6.entry.js} +2 -2
- package/dist/{build/p-43216955.entry.js.map → paperless/p-ba9ecfd6.entry.js.map} +1 -1
- package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
- package/dist/paperless/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/package.json +1 -1
- package/dist/build/p-fdb85aef.entry.js.map +0 -1
- package/dist/components/p-CH64wrKS.js.map +0 -1
- package/dist/paperless/p-fdb85aef.entry.js.map +0 -1
|
@@ -3,15 +3,15 @@ import { c as childOf } from './p-BFSNj6hu.js';
|
|
|
3
3
|
import { i as isMobileBrowser } from './p-DVCJlilm.js';
|
|
4
4
|
import { a as asBoolean } from './p-C5CTp9IA.js';
|
|
5
5
|
import { d as defineCustomElement$b } from './p-ARBBg7l1.js';
|
|
6
|
-
import { r as requiredArgs, t as toDate, _ as _typeof, g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, b as getUTCWeek, c as toInteger, e as getUTCISOWeek, f as getDefaultOptions, l as locale, h as longFormatters, i as subMilliseconds, j as getTimezoneOffsetInMilliseconds, k as isProtectedWeekYearToken, m as throwProtectedError, n as isProtectedDayOfYearToken, d as defineCustomElement$a, o as isValid, p as isBefore, q as isAfter, u as format, v as startOfDay, w as startOfMonth, x as isSameDay, y as isWeekend } from './p-
|
|
6
|
+
import { r as requiredArgs, t as toDate, _ as _typeof, g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, b as getUTCWeek, c as toInteger, e as getUTCISOWeek, f as getDefaultOptions, l as locale, h as longFormatters, i as subMilliseconds, j as getTimezoneOffsetInMilliseconds, k as isProtectedWeekYearToken, m as throwProtectedError, n as isProtectedDayOfYearToken, d as defineCustomElement$a, o as isValid, p as isBefore, q as isAfter, u as format, v as startOfDay, w as startOfMonth, x as isSameDay, y as isWeekend } from './p-CxB7Mle4.js';
|
|
7
7
|
import { d as defineCustomElement$9 } from './p-B8Ai2EJn.js';
|
|
8
8
|
import { d as defineCustomElement$8 } from './p-DUJkO2n3.js';
|
|
9
|
-
import { d as defineCustomElement$7 } from './p-
|
|
10
|
-
import { d as defineCustomElement$6 } from './p-
|
|
11
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-aCVE8yBd.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-C01CxOX-.js';
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-DsIrbX0y.js';
|
|
12
12
|
import { d as defineCustomElement$4 } from './p-BNz_LoMA.js';
|
|
13
13
|
import { d as defineCustomElement$3 } from './p-CvfOjT_y.js';
|
|
14
|
-
import { d as defineCustomElement$2 } from './p-
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-BRnY1zdf.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Days in 1 week.
|
|
@@ -3113,6 +3113,13 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends H {
|
|
|
3113
3113
|
this._onInputTimeout = null;
|
|
3114
3114
|
}
|
|
3115
3115
|
this._onInputTimeout = setTimeout(() => {
|
|
3116
|
+
if (value.length === 0) {
|
|
3117
|
+
if (this._value === null) {
|
|
3118
|
+
return;
|
|
3119
|
+
}
|
|
3120
|
+
this._setValue(null);
|
|
3121
|
+
return;
|
|
3122
|
+
}
|
|
3116
3123
|
const parsedValue = parse(value, parseFormat, new Date());
|
|
3117
3124
|
if (!isValid(parsedValue) || format(parsedValue, parseFormat) !== value) {
|
|
3118
3125
|
if (this.mode === 'day') {
|