aloha-vue 1.0.176 → 1.0.178

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.
@@ -242,6 +242,12 @@ export default {
242
242
  label: "Sichtbar",
243
243
  alwaysVisible: true,
244
244
  },
245
+ {
246
+ type: "date",
247
+ id: "datum",
248
+ label: "Datum",
249
+ alwaysVisible: true,
250
+ },
245
251
  {
246
252
  type: "oneCheckbox",
247
253
  id: "au_ende",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.176",
4
+ "version": "1.0.178",
5
5
  "author": "Ilia Brykin",
6
6
  "scripts": {
7
7
  "build-icons": "node scriptsNode/iconsSvgToJs.js bootstrap3 && node scriptsNode/iconsSvgToJs.js bootstrap-1-9-1"
@@ -81,6 +81,7 @@ export default {
81
81
 
82
82
  const {
83
83
  filterBoolean,
84
+ filterDate,
84
85
  } = AFiltersAPI();
85
86
 
86
87
  const modelValuesForCurrentFilter = computed(() => {
@@ -93,6 +94,11 @@ export default {
93
94
  label: filterBoolean(model.value),
94
95
  }];
95
96
  }
97
+ if (filter.value.type === "date") {
98
+ return [{
99
+ label: filterDate(model.value),
100
+ }];
101
+ }
96
102
  if (filter.value.type === "select" ||
97
103
  filter.value.type === "radio") {
98
104
  const LABEL = get(filterDataKey.value, `${ model.value }.${ AKeyLabel }`);
@@ -764,7 +764,7 @@ export default {
764
764
  }, [
765
765
  h("input", {
766
766
  ref: "inputRef",
767
- id: this.id,
767
+ id: this.htmlIdLocal,
768
768
  class: ["a_form_control pux_datepicker__input", this.inputClass],
769
769
  name: this.inputName,
770
770
  type: "text",
@@ -714,14 +714,14 @@ export default {
714
714
  type: "button",
715
715
  ariaLabel: this.ariaLabelForButtonNextMonth,
716
716
  innerHTML: "›",
717
- onClick: () => this.handleIconMonth(-1),
717
+ onClick: () => this.handleIconMonth(1),
718
718
  }),
719
719
  this.panel !== "TIME" && h("button", {
720
720
  class: "pux_datepicker__icon_next_year pux_datepicker__calendar__tab",
721
721
  type: "button",
722
722
  ariaLabel: this.ariaLabelForButtonNextYear,
723
- innerHTML: "›",
724
- onClick: () => this.handleIconYear(-1),
723
+ innerHTML: "»",
724
+ onClick: () => this.handleIconYear(1),
725
725
  }),
726
726
  ]),
727
727
  ]),