aloha-vue 1.0.217 → 1.0.218

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.
@@ -25,7 +25,9 @@ export default {
25
25
  grow: 2,
26
26
  footerSlot: "footerAloha",
27
27
  class: "a_text_right",
28
+ icon: "Close",
28
29
  isRender: true,
30
+ title: "Aloha",
29
31
  },
30
32
  {
31
33
  label: "Slot",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.217",
4
+ "version": "1.0.218",
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"
@@ -456,7 +456,14 @@ export default {
456
456
  ref: "modal_footer",
457
457
  class: "a_modal_footer",
458
458
  }, [
459
- this.$slots.modalFooter && this.$slots.modalFooter(),
459
+ this.$slots.modalFooterPrepend && this.$slots.modalFooterPrepend({
460
+ saveButtonClass: this.saveButtonClass,
461
+ closeButtonClass: this.closeButtonClass,
462
+ disabled: this.disabledLocal,
463
+ disabledSave: this.disabledSave,
464
+ save: this.save,
465
+ close: this.close,
466
+ }),
460
467
  (!this.isSaveButtonHide && this.save) && h("button", {
461
468
  type: "button",
462
469
  class: this.saveButtonClass,
@@ -473,6 +480,14 @@ export default {
473
480
  }, [
474
481
  h("span", null, this.closeButtonText),
475
482
  ]),
483
+ this.$slots.modalFooterAppend && this.$slots.modalFooterAppend({
484
+ saveButtonClass: this.saveButtonClass,
485
+ closeButtonClass: this.closeButtonClass,
486
+ disabled: this.disabledLocal,
487
+ disabledSave: this.disabledSave,
488
+ save: this.save,
489
+ close: this.close,
490
+ }),
476
491
  ]),
477
492
  ]),
478
493
  ]),
@@ -196,9 +196,25 @@ export default {
196
196
  ],
197
197
  }, [
198
198
  h(this.componentLocal, this.attributesForButton, [
199
- h(ATranslation, {
199
+ this.column.icon && h(AIcon, {
200
+ icon: this.column.icon,
201
+ class: "a_table__th__icon",
202
+ }),
203
+ this.column.label && h(ATranslation, {
200
204
  html: this.column.label,
201
205
  tag: "span",
206
+ class: "a_table__th__text",
207
+ }),
208
+ this.column.title && h(ATranslation, {
209
+ title: this.column.title,
210
+ ariaHidden: true,
211
+ tag: "span",
212
+ class: "a_position_absolute_all",
213
+ }),
214
+ this.column.title && h(ATranslation, {
215
+ text: this.column.title,
216
+ tag: "span",
217
+ class: "a_sr_only",
202
218
  }),
203
219
  h("span", {
204
220
  class: "a_table__th__sort__icons",
@@ -105,6 +105,7 @@
105
105
  align-items: center;
106
106
  background-color: var(--a_table_th_bg);
107
107
  border-bottom: var(--a_table_th_border_bottom_width) solid var(--a_table_th_border_bottom_color);
108
+ position: relative;
108
109
  }
109
110
  .a_table__th_draggable {
110
111
  cursor: move;
@@ -206,6 +207,10 @@
206
207
  border-top: var(--a_table_footer_border_top);
207
208
  }
208
209
 
210
+ .a_table__th__icon + .a_table__th__text {
211
+ margin-left: var(--a_table_between_actions_margin, .5rem);
212
+ }
213
+
209
214
  .a_table__th__sort {
210
215
  padding: 0;
211
216
  border: none;