@everymatrix/user-transaction-history 1.76.10 → 1.76.12

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.
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { Localization } from "../../utils/locale.util";
3
3
  import dateFnsFormat from "date-fns/format";
4
4
  import dateFnsParse from "date-fns/parse";
5
+ import "../../../../../../../libs/vaadin-facade/index";
5
6
  export class Filters {
6
7
  constructor() {
7
8
  this.startDateChange = () => {
@@ -38,7 +39,7 @@ export class Filters {
38
39
  this.applyFilters.emit({ from: this.startDate, to: this.endDate });
39
40
  }
40
41
  render() {
41
- return (h("div", { key: 'e25ee310b522ecfcc8dda8b6294e30f5e66c4edd', class: "period" }, h("div", { key: 'a6ec37aafe30774077bae55366d6357c1b0a8c60', class: "period-content" }, h("div", { key: 'd9796d6972931e14190fcd8ab558162af64d8d62', class: "date-input" }, h("vaadin-date-picker", { key: '3df25b815c7b2a7f3bf72ece4c430f595446122e', value: this.startDate, placeholder: this.startDate, ref: (el) => (this.startDatePicker = el), label: Localization.translate('from', this.language), onChange: this.startDateChange })), h("span", { key: 'f251410540f18bb86946c2e08915edbf73765fbc' }, h("svg", { key: '7c5d28705c152fbc73c3709b5e3b6bee5b14c0c7', width: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '3ebc124be61de20e9f946ae5f9116a5f9bf043ff', d: "m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z", "fill-rule": "nonzero", fill: "5d687b" }))), h("div", { key: '84aa35e5d8598c713904bfd4baf109a422b83e2c', class: "date-input" }, h("vaadin-date-picker", { key: '3ef7bd62bc9ed6034fb55fff38013425b627d1c9', value: this.endDate, placeholder: this.endDate, ref: (el) => (this.endDatePicker = el), label: Localization.translate('to', this.language), onChange: this.endDateChange })), h("button", { key: '6f3be9bf3a0c2de87d7661691e3b72b16018e460', class: "filter-btn", onClick: this.handleApplyFilters.bind(this) }, Localization.translate('filter', this.language)))));
42
+ return (h("div", { key: '5cd1b3d5f8e9c18e546c657cedd0923c2394508e', class: "period" }, h("div", { key: 'c9a37f4d4265594277ca73c3a929107a83c8e1b8', class: "period-content" }, h("div", { key: '6c81e7cc31bdc4f0e25377bdaa0dd162e8ad7805', class: "date-input" }, h("vaadin-date-picker", { key: '2842f491b88b1f482ca4be068e0da721568af1e0', value: this.startDate, placeholder: this.startDate, ref: (el) => (this.startDatePicker = el), label: Localization.translate('from', this.language), onChange: this.startDateChange })), h("span", { key: 'dda5f883cfa94dea18cfb868b4162c5c40592a40' }, h("svg", { key: '6181900f60dceebd97bdfab69a36ade1a6ce377f', width: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '39bd58d353885e15a8720ff730a2a040328529b6', d: "m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z", "fill-rule": "nonzero", fill: "5d687b" }))), h("div", { key: '5a06d7e6e8d2a95262cdf46620f5e162a068ba09', class: "date-input" }, h("vaadin-date-picker", { key: '8fd6250bc8ff6936fef8efef52caea51e96c48bf', value: this.endDate, placeholder: this.endDate, ref: (el) => (this.endDatePicker = el), label: Localization.translate('to', this.language), onChange: this.endDateChange })), h("button", { key: '8d793ce5748cf44238c88735b5559472ef0435f2', class: "filter-btn", onClick: this.handleApplyFilters.bind(this) }, Localization.translate('filter', this.language)))));
42
43
  }
43
44
  static get is() { return "user-transaction-history-filter"; }
44
45
  static get properties() {