aloha-vue 1.0.135 → 1.0.136

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.
@@ -22,7 +22,7 @@ export default {
22
22
  locked: true,
23
23
  grow: 2,
24
24
  footerSlot: "footerAloha",
25
- class: "a_justify_content_end",
25
+ class: "a_text_right",
26
26
  isRender: true,
27
27
  },
28
28
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.135",
4
+ "version": "1.0.136",
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"
@@ -77,7 +77,6 @@ export default {
77
77
  classForTh() {
78
78
  return [
79
79
  "a_table__th a_table__cell",
80
- this.column.class,
81
80
  {
82
81
  a_table__th_draggable: !this.isLocked && !this.isLoadingOptions && this.isColumnsDnd,
83
82
  a_table__th_sorting: this.isSorting,
@@ -184,15 +183,22 @@ export default {
184
183
  return "";
185
184
  }
186
185
  return h("div", this.attributesForTh, [
187
- h(this.componentLocal, this.attributesForButton, [
188
- h(ATranslation, {
189
- text: this.column.label,
190
- tag: "span",
191
- }),
192
- h("span", {
193
- class: "a_table__th__sort__icons",
194
- }, [
195
- ...this.iconsSortable,
186
+ h("div", {
187
+ class: [
188
+ "a_table__cell__child",
189
+ this.column.class,
190
+ ],
191
+ }, [
192
+ h(this.componentLocal, this.attributesForButton, [
193
+ h(ATranslation, {
194
+ text: this.column.label,
195
+ tag: "span",
196
+ }),
197
+ h("span", {
198
+ class: "a_table__th__sort__icons",
199
+ }, [
200
+ ...this.iconsSortable,
201
+ ]),
196
202
  ]),
197
203
  ]),
198
204
  ]);
@@ -109,7 +109,6 @@ export default {
109
109
  role: "cell",
110
110
  class: [
111
111
  "a_table__td a_table__cell",
112
- this.column.class,
113
112
  {
114
113
  a_table__cell_click: this.hasPreview && !this.isFooter,
115
114
  },
@@ -178,29 +177,38 @@ export default {
178
177
  }
179
178
  return h(
180
179
  "div",
181
- this.attributesForTd,
182
- (this.isSlot && this.$slots[this.slot]) ?
183
- this.$slots[this.slot]({
184
- column: this.column,
185
- columnIndex: this.columnIndex,
186
- row: this.row,
187
- rowIndex: this.rowIndex,
188
- rows: this.rowsLocal,
189
- }) : (this.isLink && this.toLocal) ? [
190
- h(resolveComponent("RouterLink"), {
191
- class: [this.column.class, this.classForLink],
192
- to: this.toLocal,
193
- }, () => [
194
- h("span", {
195
- innerHTML: this.text,
196
- }),
197
- ]),
198
- ] :
199
- [
200
- h("span", {
201
- innerHTML: this.text,
202
- }),
203
- ]
180
+ this.attributesForTd,
181
+ [
182
+ h("div", {
183
+ class: [
184
+ "a_table__cell__child",
185
+ this.column.class,
186
+ ],
187
+ }, (this.isSlot && this.$slots[this.slot]) ?
188
+ this.$slots[this.slot]({
189
+ column: this.column,
190
+ columnIndex: this.columnIndex,
191
+ row: this.row,
192
+ rowIndex: this.rowIndex,
193
+ rows: this.rowsLocal,
194
+ }) :
195
+ (this.isLink && this.toLocal) ?
196
+ [
197
+ h(resolveComponent("RouterLink"), {
198
+ class: [this.column.class, this.classForLink],
199
+ to: this.toLocal,
200
+ }, () => [
201
+ h("span", {
202
+ innerHTML: this.text,
203
+ }),
204
+ ]),
205
+ ] :
206
+ [
207
+ h("span", {
208
+ innerHTML: this.text,
209
+ }),
210
+ ])
211
+ ]
204
212
  );
205
213
  },
206
214
  };
@@ -62,6 +62,9 @@
62
62
  background-color: var(--a_table_row_preview_focus_was_bg);
63
63
  }
64
64
  }
65
+ .a_table__cell__child {
66
+ width: 100%;
67
+ }
65
68
  .a_table__cell_checkbox {
66
69
  --a_table_cell_padding_x: 0;
67
70
  }