spreadsheet-lit-element
Advanced tools
Comparing version 0.0.69 to 0.0.70
{ | ||
"name": "spreadsheet-lit-element", | ||
"version": "0.0.69", | ||
"version": "0.0.70", | ||
"description": "A simple web component", | ||
@@ -36,3 +36,3 @@ "main": "vaadin-spreadsheet.js", | ||
"lit-element": "^2.3.1", | ||
"spreadsheet-export": "^0.0.73" | ||
"spreadsheet-export": "^0.0.74" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
@@ -214,4 +214,3 @@ /** | ||
super.updated(_changedProperties); | ||
console.log('vaadin-spreadsheet', 'AAAAAAAAAAAAAAAAAAAAAA'); | ||
console.log('vaadin-spreadsheet', '_changedProperties', _changedProperties) | ||
//console.log('vaadin-spreadsheet', '_changedProperties', _changedProperties) | ||
//console.log(this.shadowRoot.querySelector('#mislot')); | ||
@@ -231,9 +230,9 @@ //console.log(this.querySelector('#mislot')); | ||
console.log('updated') | ||
//this.createCallbacks(); | ||
this.createCallbacks(); | ||
console.log('callbacks created') | ||
initial = true; | ||
} | ||
console.log('vaadin-spreadsheet', '_changedProperties after', _changedProperties) | ||
if (false) _changedProperties.forEach((oldValue, name) => { | ||
console.log(`${name} changed from oldValue: ${oldValue}`, this[name]); | ||
let propNames = []; | ||
_changedProperties.forEach((oldValue, name) => { | ||
console.log(`${name} changed from oldValue: ${oldValue} to:`, this[name]); | ||
//this.setAttribute(propName, oldValue, this[propName]); | ||
@@ -342,124 +341,15 @@ let newVal = this[name]; | ||
this.api.setNamedRanges(newVal, notify); | ||
} else if ('width' == name) { | ||
this.api.setWidth(newVal, notify); | ||
} else if ('height' == name) { | ||
this.api.setHeight(newVal, notify); | ||
} else { | ||
console.log('unsupported property ' + name) | ||
} | ||
propNames.push(name); | ||
}); | ||
if (false && initial) { | ||
this.api.updateFromState(); | ||
this.api.relayout(); | ||
} | ||
this.api.notifyStateChanges(propNames, initial); | ||
this.api.relayout(); | ||
} | ||
attributeChangedCallback(name, oldVal, newVal) { | ||
console.log('attribute change: ', name, newVal); | ||
/* | ||
if ('rowBufferSize' == name) { | ||
this.api.setRowBufferSize(newVal); | ||
} else if ('columnBufferSize' == name) { | ||
this.api.setColumnBufferSize(newVal); | ||
} else if ('rows' == name) { | ||
this.api.setRows(newVal); | ||
} else if ('cols' == name) { | ||
this.api.setCols(newVal); | ||
} else if ('colGroupingData' == name) { | ||
this.api.setColGroupingData(newVal); | ||
} else if ('rowGroupingData' == name) { | ||
this.api.setRowGroupingData(newVal); | ||
} else if ('colGroupingMax' == name) { | ||
this.api.setColGroupingMax(newVal); | ||
} else if ('rowGroupingMax' == name) { | ||
this.api.setRowGroupingMax(newVal); | ||
} else if ('colGroupingInversed' == name) { | ||
this.api.setColGroupingInversed(newVal); | ||
} else if ('rowGroupingInversed' == name) { | ||
this.api.setRowGroupingInversed(newVal); | ||
} else if ('defRowH' == name) { | ||
this.api.setDefRowH(newVal); | ||
} else if ('defColW' == name) { | ||
this.api.setDefColW(newVal); | ||
} else if ('rowH' == name) { | ||
this.api.setRowH(newVal); | ||
} else if ('colW' == name) { | ||
this.api.setColW(newVal); | ||
} else if ('reload' == name) { | ||
this.api.setReload(newVal); | ||
} else if ('' == name) { | ||
this.api.setSheetIndex(newVal); | ||
} else if ('sheetNames' == name) { | ||
this.api.setSheetNames(newVal); | ||
} else if ('cellStyleToCSSStyle' == name) { | ||
this.api.setCellStyleToCSSStyle(newVal); | ||
} else if ('rowIndexToStyleIndex' == name) { | ||
this.api.setRowIndexToStyleIndex(newVal); | ||
} else if ('columnIndexToStyleIndex' == name) { | ||
this.api.setColumnIndexToStyleIndex(newVal); | ||
} else if ('lockedColumnIndexes' == name) { | ||
this.api.setLockedColumnIndexes(newVal); | ||
} else if ('lockedRowIndexes' == name) { | ||
this.api.setLockedRowIndexes(newVal); | ||
} else if ('shiftedCellBorderStyles' == name) { | ||
this.api.setShiftedCellBorderStyles(newVal); | ||
} else if ('conditionalFormattingStyles' == name) { | ||
this.api.setConditionalFormattingStyles(newVal); | ||
} else if ('hiddenColumnIndexes' == name) { | ||
this.api.setHiddenColumnIndexes(newVal); | ||
} else if ('hiddenRowIndexes' == name) { | ||
this.api.setHiddenRowIndexes(newVal); | ||
} else if ('verticalScrollPositions' == name) { | ||
this.api.setVerticalScrollPositions(newVal); | ||
} else if ('horizontalScrollPositions' == name) { | ||
this.api.setHorizontalScrollPositions(newVal); | ||
} else if ('sheetProtected' == name) { | ||
this.api.setSheetProtected(newVal); | ||
} else if ('workbookProtected' == name) { | ||
this.api.setWorkbookProtected(newVal); | ||
} else if ('cellKeysToEditorIdMap' == name) { | ||
this.api.setCellKeysToEditorIdMap(newVal); | ||
} else if ('componentIDtoCellKeysMap' == name) { | ||
this.api.setComponentIDtoCellKeysMap(newVal); | ||
} else if ('hyperlinksTooltips' == name) { | ||
this.api.setHyperlinksTooltips(newVal); | ||
} else if ('cellComments' == name) { | ||
this.api.setCellComments(newVal); | ||
} else if ('cellCommentAuthors' == name) { | ||
this.api.setCellCommentAuthors(newVal); | ||
} else if ('visibleCellComments' == name) { | ||
this.api.setVisibleCellComments(newVal); | ||
} else if ('invalidFormulaCells' == name) { | ||
this.api.setInvalidFormulaCells(newVal); | ||
} else if ('hasActions' == name) { | ||
this.api.setHasActions(newVal); | ||
} else if ('overlays' == name) { | ||
this.api.setOverlays(newVal); | ||
} else if ('mergedRegions' == name) { | ||
this.api.setMergedRegions(newVal); | ||
} else if ('displayGridlines' == name) { | ||
this.api.setDisplayGridlines(newVal); | ||
} else if ('displayRowColHeadings' == name) { | ||
this.api.setDisplayRowColHeadings(newVal); | ||
} else if ('verticalSplitPosition' == name) { | ||
this.api.setVerticalSplitPosition(newVal); | ||
} else if ('horizontalSplitPosition' == name) { | ||
this.api.setHorizontalSplitPosition(newVal); | ||
} else if ('infoLabelValue' == name) { | ||
this.api.setInfoLabelValue(newVal); | ||
} else if ('workbookChangeToggle' == name) { | ||
this.api.setWorkbookChangeToggle(newVal); | ||
} else if ('invalidFormulaErrorMessage' == name) { | ||
this.api.setInvalidFormulaErrorMessage(newVal); | ||
} else if ('lockFormatColumns' == name) { | ||
this.api.setLockFormatColumns(newVal); | ||
} else if ('lockFormatRows' == name) { | ||
this.api.setLockFormatRows(newVal); | ||
} else if ('namedRanges' == name) { | ||
this.api.setNamedRanges(newVal); | ||
} | ||
*/ | ||
super.attributeChangedCallback(name, oldVal, newVal); | ||
} | ||
/* | ||
@@ -466,0 +356,0 @@ CLIENT SIDE RPC METHODS |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63938
1218
+ Addedspreadsheet-export@0.0.74(transitive)
- Removedspreadsheet-export@0.0.73(transitive)
Updatedspreadsheet-export@^0.0.74