@paperless/core 1.51.0 → 1.51.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 +16 -0
- package/dist/build/{p-9ed2584c.entry.js → p-52893b09.entry.js} +2 -2
- package/dist/build/p-52893b09.entry.js.map +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/loader.cjs.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/paperless.cjs.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +4 -4
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/components/p-datepicker.js +3 -3
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-9ed2584c.entry.js → p-52893b09.entry.js} +2 -2
- package/dist/paperless/p-52893b09.entry.js.map +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/hydrate/index.js +3 -3
- package/package.json +1 -1
- package/dist/build/p-9ed2584c.entry.js.map +0 -1
- package/dist/paperless/p-9ed2584c.entry.js.map +0 -1
|
@@ -319,7 +319,7 @@ export namespace Components {
|
|
|
319
319
|
/**
|
|
320
320
|
* Hides the icon when filled
|
|
321
321
|
*/
|
|
322
|
-
"
|
|
322
|
+
"hideIconWhenFilled": boolean;
|
|
323
323
|
/**
|
|
324
324
|
* The label of the input group used by the datepicker
|
|
325
325
|
*/
|
|
@@ -2456,7 +2456,7 @@ declare namespace LocalJSX {
|
|
|
2456
2456
|
/**
|
|
2457
2457
|
* Hides the icon when filled
|
|
2458
2458
|
*/
|
|
2459
|
-
"
|
|
2459
|
+
"hideIconWhenFilled"?: boolean;
|
|
2460
2460
|
/**
|
|
2461
2461
|
* The label of the input group used by the datepicker
|
|
2462
2462
|
*/
|
package/hydrate/index.js
CHANGED
|
@@ -17904,7 +17904,7 @@ class Datepicker {
|
|
|
17904
17904
|
this.disableWeekends = false;
|
|
17905
17905
|
this.mode = 'day';
|
|
17906
17906
|
this.format = 'dd-MM-yyyy';
|
|
17907
|
-
this.
|
|
17907
|
+
this.hideIconWhenFilled = false;
|
|
17908
17908
|
this.size = 'medium';
|
|
17909
17909
|
this.prefix = undefined;
|
|
17910
17910
|
this.label = undefined;
|
|
@@ -17988,7 +17988,7 @@ class Datepicker {
|
|
|
17988
17988
|
this.parseValue(this.value);
|
|
17989
17989
|
}
|
|
17990
17990
|
render() {
|
|
17991
|
-
return (hAsync(Host, { class: "p-datepicker" }, hAsync("p-dropdown", { disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, hAsync("p-input-group", { slot: "trigger", icon: this.
|
|
17991
|
+
return (hAsync(Host, { class: "p-datepicker" }, hAsync("p-dropdown", { disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, hAsync("p-input-group", { slot: "trigger", icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar', iconPosition: "start", size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown }, hAsync("input", { slot: "input", type: "text", placeholder: this.placeholder, value: this._getFormattedDate(), class: "p-input cursor-pointer", onFocus: () => this._onFocus(), onBlur: (ev) => this._onBlur(ev), onInput: (ev) => this._onInput(ev) })), hAsync("div", { slot: "items" }, hAsync("p-calendar", { 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, mode: this.mode })))));
|
|
17992
17992
|
}
|
|
17993
17993
|
documentClickHandler({ target }) {
|
|
17994
17994
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -18077,7 +18077,7 @@ class Datepicker {
|
|
|
18077
18077
|
"disableWeekends": [4, "disable-weekends"],
|
|
18078
18078
|
"mode": [1],
|
|
18079
18079
|
"format": [1],
|
|
18080
|
-
"
|
|
18080
|
+
"hideIconWhenFilled": [4, "hide-icon-when-filled"],
|
|
18081
18081
|
"size": [1],
|
|
18082
18082
|
"prefix": [1],
|
|
18083
18083
|
"label": [1],
|