@paperless/core 2.0.1-beta.180 → 2.0.1-beta.181
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 +11 -0
- package/dist/build/p-a9f68a69.entry.js +2 -0
- package/dist/build/p-a9f68a69.entry.js.map +1 -0
- package/dist/build/{p-1b6eccb9.js → p-b0ac4114.js} +1 -1
- package/dist/build/p-datepicker.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/components/p-datepicker.js +2 -2
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-a9f68a69.entry.js +2 -0
- package/dist/paperless/p-a9f68a69.entry.js.map +1 -0
- package/dist/paperless/p-datepicker.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-d5d5c2ae.entry.js +0 -2
- package/dist/build/p-d5d5c2ae.entry.js.map +0 -1
- package/dist/paperless/p-d5d5c2ae.entry.js +0 -2
- package/dist/paperless/p-d5d5c2ae.entry.js.map +0 -1
|
@@ -3063,9 +3063,9 @@ const Datepicker = class {
|
|
|
3063
3063
|
this.parseValue(this.value);
|
|
3064
3064
|
}
|
|
3065
3065
|
render() {
|
|
3066
|
-
return (h("p-dropdown", { key: '
|
|
3066
|
+
return (h("p-dropdown", { key: 'c99e288cce4b8a96962318971802cc45a0792fb3', allowOverflow: true, strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '93e5825fc19d237eb3a127ca5031e6d1ffcaa1df', 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, 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: '96c1f7a4f19acd5d4305c7a1de2ec90b6887ef53', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
|
|
3067
3067
|
,
|
|
3068
|
-
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: '
|
|
3068
|
+
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: '2c59600f727e8497a6800a346d21ed66e62efabf', slot: 'items' }, h("p-calendar", { key: 'a1d2ee49304ad9bfdc5d4afb9aa960e1a702e352', 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 }))));
|
|
3069
3069
|
}
|
|
3070
3070
|
documentClickHandler({ target }) {
|
|
3071
3071
|
if (!this._showDropdown || childOf(target, this._el)) {
|