diff --git a/docs/dist/sri.json b/docs/dist/sri.json index d33dc6e09..419864dca 100644 --- a/docs/dist/sri.json +++ b/docs/dist/sri.json @@ -1,9 +1,9 @@ { "@js": { "hashes": { - "sha384": "L4X+4/5HGlLrMbKJqTM06rFY1taYxR8dFczwdPJD2mSBYcIqC9ZGlj1xf3e4D+uB" + "sha384": "PoG8Ac13kZvHgPLWk2gYvkEWrQbDu8vCSuVGIy8fx3qNSLoQ7kjDEPzDyEKBSjea" }, - "integrity": "sha384-L4X+4/5HGlLrMbKJqTM06rFY1taYxR8dFczwdPJD2mSBYcIqC9ZGlj1xf3e4D+uB", + "integrity": "sha384-PoG8Ac13kZvHgPLWk2gYvkEWrQbDu8vCSuVGIy8fx3qNSLoQ7kjDEPzDyEKBSjea", "path": "public/ts-10.0.21.min.js" }, "@css": { diff --git a/spec/runtime/edbml/functions/ts.ui.tablecheck.edbml.spec.js b/spec/runtime/edbml/functions/ts.ui.tablecheck.edbml.spec.js index 97450df0d..0f1a38290 100644 --- a/spec/runtime/edbml/functions/ts.ui.tablecheck.edbml.spec.js +++ b/spec/runtime/edbml/functions/ts.ui.tablecheck.edbml.spec.js @@ -8,8 +8,8 @@ describe('ts.ui.tablecheck.edbml', function likethis() { row = {}, fixed = true; expect(gethtml(table, row, fixed)).toContain('ts-table-checkbox'); - expect(gethtml(table, row, fixed)).toContain('
'); - expect(gethtml(table, row, fixed)).toContain(' + if(shown !== false) { + + }
diff --git a/src/runtime/edbml/functions/ts.ui.tablehilt.edbml b/src/runtime/edbml/functions/ts.ui.tablehilt.edbml index ce641746e..7f4b2e483 100644 --- a/src/runtime/edbml/functions/ts.ui.tablehilt.edbml +++ b/src/runtime/edbml/functions/ts.ui.tablehilt.edbml @@ -3,16 +3,19 @@ //todo(leo) we will support icon later + @id = table.$instanceid + icon + row.$index; @class = icon ? 'icon' : '';
- + if(shown) { + + }
diff --git a/src/runtime/edbml/functions/ts.ui.tablerows.edbml b/src/runtime/edbml/functions/ts.ui.tablerows.edbml index 9ebd06caa..90f69f167 100644 --- a/src/runtime/edbml/functions/ts.ui.tablerows.edbml +++ b/src/runtime/edbml/functions/ts.ui.tablerows.edbml @@ -32,9 +32,10 @@ if(table.selectable) { if(selectable) { var simulated = true; - renderCheck(table, row, simulated); + var show4real = !table.floatinggutter; + renderCheck(table, row, simulated, show4real); } else { - renderHilt(table, row); + renderHilt(table, row, null, show4real); } } row.cells.forEach(function(cell, i) { diff --git a/src/runtime/edbml/scripts/ts.ui.TableSpirit.edbml b/src/runtime/edbml/scripts/ts.ui.TableSpirit.edbml index c73a0c792..73049e772 100644 --- a/src/runtime/edbml/scripts/ts.ui.TableSpirit.edbml +++ b/src/runtime/edbml/scripts/ts.ui.TableSpirit.edbml @@ -33,7 +33,7 @@ - if(table.selectable) { + if(table.floatinggutter) {