Skip to content

Commit

Permalink
Showing 7 changed files with 492 additions and 483 deletions.
2 changes: 1 addition & 1 deletion dev-app/app.html
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@
<c-nav-horizontal-item
position="right"
href="https://github.com/bindable-ui/bindable"
title="v1.2.1"
title="v1.2.2"
></c-nav-horizontal-item>
</c-nav-horizontal>
</l-box>
Original file line number Diff line number Diff line change
@@ -65,8 +65,6 @@
<c-form-checkbox id="second2">Second</c-form-checkbox>
</c-form-checkbox-radio-container>
</l-grid>
<div>
</div>
</c-code-sample>
</l-stack>
</div>
928 changes: 451 additions & 477 deletions dev-app/routes/components/tables/table/views-and-view-models/index.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -36,6 +36,38 @@ export class TableViews {
public toggleCols;
public toggleData;

public tableActionsSample = {
getColClass: (row, col) => {
let cls = col._class || '';
/* istanbul ignore else */
if (col.colHeadName === 'drag') {
cls += ` ${row._status}`;
}
return cls;
},

getBarColor: (row, col) => {
const color = row._barColor || '';
return color;
},
};

public tableActionsSample2 = {
getColClass: (row, col) => {
let cls = col._class || '';
/* istanbul ignore else */
if (col.colHeadName === 'dragCheck') {
cls += ` ${row._status}`;
}
return cls;
},

getBarColor: (row, col) => {
const color = row._barColor || '';
return color;
},
};

constructor(public dialogService: DialogService) {
this.tableCols = [
{
@@ -519,6 +551,8 @@ export class TableViews {
ship: 'M. Falcon',
},
{
_barColor: 'var(--c_subFourMain)',
_status: 'bar',
gender: 'Male',
ship: 'Tie Fighter',
},
@@ -588,6 +622,8 @@ export class TableViews {
ship: 'M. Falcon',
},
{
_barColor: 'var(--c_subFourMain)',
_status: 'bar',
dragCheck: false,
gender: 'Male',
order: 3,
@@ -712,7 +748,7 @@ export class TableViews {

self.dragCheckData = sortDropData(data, row, self.dragCheckData, 'order');
},
}
};
}

public testModal() {
2 changes: 1 addition & 1 deletion package-lock.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bindable-ui/bindable",
"description": "An Aurelia component library",
"version": "1.2.1",
"version": "1.2.2",
"repository": {
"type": "git",
"url": "https://github.com/bindable-ui/bindable"
1 change: 1 addition & 0 deletions src/components/utilities/c-drag-handle/c-drag-handle.html
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@
<l-icon
icon="draggable"
color="var(--c_gray)"
spacing="4px"
size.bind="size"
></l-icon>
</span>

0 comments on commit c8a1378

Please sign in to comment.