@paperless/core 2.2.17 → 2.3.1
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 +23 -0
- package/dist/build/p-27b62457.entry.js +2 -0
- package/dist/build/p-27b62457.entry.js.map +1 -0
- package/dist/build/{p-982c05d5.entry.js → p-43216955.entry.js} +2 -2
- package/dist/build/p-43216955.entry.js.map +1 -0
- package/dist/build/{p-5a37143b.js → p-56f711c5.js} +1 -1
- package/dist/build/{p-fdb85aef.entry.js → p-925d7ffc.entry.js} +2 -2
- package/dist/build/p-925d7ffc.entry.js.map +1 -0
- package/dist/build/p-datepicker.entry.esm.js.map +1 -1
- package/dist/build/p-field.p-field-container.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/loader.cjs.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- 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-field.p-field-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +10 -5
- package/dist/cjs/p-field_2.cjs.entry.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/cjs/paperless.cjs.js +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 +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/collection/components/molecules/field/container/field-container.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field/field.component.js +28 -3
- package/dist/collection/components/molecules/field/field/field.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-Bs_mDdx4.js → p-C01CxOX-.js} +6 -6
- package/dist/components/p-C01CxOX-.js.map +1 -0
- 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-Blu0TY1E.js → p-aCVE8yBd.js} +14 -8
- package/dist/components/p-aCVE8yBd.js.map +1 -0
- package/dist/components/p-attachment.js +3 -3
- package/dist/components/{p-CIlf0SJ-.js → p-c28tJtDm.js} +6 -6
- package/dist/components/{p-CIlf0SJ-.js.map → p-c28tJtDm.js.map} +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-datepicker.js +6 -6
- 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/loader.js +1 -1
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-field.p-field-container.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +10 -5
- package/dist/esm/p-field_2.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/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-27b62457.entry.js +2 -0
- package/dist/paperless/p-27b62457.entry.js.map +1 -0
- package/dist/paperless/{p-982c05d5.entry.js → p-43216955.entry.js} +2 -2
- package/dist/paperless/p-43216955.entry.js.map +1 -0
- package/dist/paperless/{p-fdb85aef.entry.js → p-925d7ffc.entry.js} +2 -2
- package/dist/paperless/p-925d7ffc.entry.js.map +1 -0
- package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
- package/dist/paperless/p-field.p-field-container.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/dist/types/components/molecules/field/field/field.component.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/build/p-982c05d5.entry.js.map +0 -1
- package/dist/build/p-f13b147d.entry.js +0 -2
- package/dist/build/p-f13b147d.entry.js.map +0 -1
- package/dist/build/p-fdb85aef.entry.js.map +0 -1
- package/dist/components/p-Blu0TY1E.js.map +0 -1
- package/dist/components/p-Bs_mDdx4.js.map +0 -1
- package/dist/components/p-CH64wrKS.js.map +0 -1
- package/dist/paperless/p-982c05d5.entry.js.map +0 -1
- package/dist/paperless/p-f13b147d.entry.js +0 -2
- package/dist/paperless/p-f13b147d.entry.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.
|
|
@@ -3068,7 +3068,7 @@ const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends H {
|
|
|
3068
3068
|
this.parseValue(this.value);
|
|
3069
3069
|
}
|
|
3070
3070
|
render() {
|
|
3071
|
-
return (h("p-dropdown", { key: '54a35d8bda73faf87404ee0b87f83300b5f305d8', allowOverflow: true, strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '
|
|
3071
|
+
return (h("p-dropdown", { key: '54a35d8bda73faf87404ee0b87f83300b5f305d8', allowOverflow: true, strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: 'a6fc03db14b583980b0c572754d899660fc4605e', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, autoShowError: false, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '95697b3388b5e6544d68053880431f82555b20dd', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0', onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), h("div", { key: 'd947ce85476dd585b3c8ab09645848c4672ae863', slot: 'items' }, h("p-calendar", { key: '7ab3704f928147b8f4f6dd9c19e4b50c61b1437b', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, enableToday: this.enableToday, todayText: this.todayText, mode: this.mode }))));
|
|
3072
3072
|
}
|
|
3073
3073
|
documentClickHandler({ target }) {
|
|
3074
3074
|
if (!this._showDropdown || childOf(target, this._el)) {
|