@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.
@@ -319,7 +319,7 @@ export namespace Components {
319
319
  /**
320
320
  * Hides the icon when filled
321
321
  */
322
- "isIconHiddenWhenFilled": boolean;
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
- "isIconHiddenWhenFilled"?: boolean;
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.isIconHiddenWhenFilled = false;
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.isIconHiddenWhenFilled && !!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 })))));
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
- "isIconHiddenWhenFilled": [4, "is-icon-hidden-when-filled"],
18080
+ "hideIconWhenFilled": [4, "hide-icon-when-filled"],
18081
18081
  "size": [1],
18082
18082
  "prefix": [1],
18083
18083
  "label": [1],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "1.51.0",
3
+ "version": "1.51.2",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",