Skip to content
Snippets Groups Projects
Unverified Commit b6f0083b authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Integrate this.getProperties (dbp/apps/signature#32)

parent 1972b2ce
No related branches found
No related tags found
No related merge requests found
Pipeline #15668 passed
...@@ -64,7 +64,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { ...@@ -64,7 +64,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
* See: https://lit-element.polymer-project.org/guide/properties#initialize * See: https://lit-element.polymer-project.org/guide/properties#initialize
*/ */
static get properties() { static get properties() {
return { return this.getProperties({
lang: { type: String }, lang: { type: String },
authUrl: { type: String, attribute: 'auth-url' }, authUrl: { type: String, attribute: 'auth-url' },
webDavUrl: { type: String, attribute: 'web-dav-url' }, webDavUrl: { type: String, attribute: 'web-dav-url' },
...@@ -84,7 +84,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { ...@@ -84,7 +84,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
activeDirectoryACL: { type: String, attribute: false }, activeDirectoryACL: { type: String, attribute: false },
selectAllButton: { type: Boolean, attribute: false }, selectAllButton: { type: Boolean, attribute: false },
abortUploadButton: { type: Boolean, attribute: false }, abortUploadButton: { type: Boolean, attribute: false },
}; });
} }
update(changedProperties) { update(changedProperties) {
......
...@@ -45,7 +45,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) { ...@@ -45,7 +45,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) {
* See: https://lit-element.polymer-project.org/guide/properties#initialize * See: https://lit-element.polymer-project.org/guide/properties#initialize
*/ */
static get properties() { static get properties() {
return { return this.getProperties({
context: { type: String, attribute: 'context'}, context: { type: String, attribute: 'context'},
lang: { type: String }, lang: { type: String },
filename: { type: String }, filename: { type: String },
...@@ -58,7 +58,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) { ...@@ -58,7 +58,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) {
buttonLabel: { type: String, attribute: 'button-label' }, buttonLabel: { type: String, attribute: 'button-label' },
isDialogOpen: { type: Boolean, attribute: false }, isDialogOpen: { type: Boolean, attribute: false },
activeDestination: { type: Boolean, attribute: false }, activeDestination: { type: Boolean, attribute: false },
}; });
} }
async downloadCompressedFiles() { async downloadCompressedFiles() {
......
...@@ -63,7 +63,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) { ...@@ -63,7 +63,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
* See: https://lit-element.polymer-project.org/guide/properties#initialize * See: https://lit-element.polymer-project.org/guide/properties#initialize
*/ */
static get properties() { static get properties() {
return { return this.getProperties({
context: { type: String, attribute: 'context'}, context: { type: String, attribute: 'context'},
lang: { type: String }, lang: { type: String },
allowedMimeTypes: { type: String, attribute: 'allowed-mime-types' }, allowedMimeTypes: { type: String, attribute: 'allowed-mime-types' },
...@@ -77,7 +77,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) { ...@@ -77,7 +77,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
decompressZip: { type: Boolean, attribute: 'decompress-zip' }, decompressZip: { type: Boolean, attribute: 'decompress-zip' },
activeSource: { type: Boolean, attribute: false }, activeSource: { type: Boolean, attribute: false },
isDialogOpen: { type: Boolean, attribute: 'dialog-open' }, isDialogOpen: { type: Boolean, attribute: 'dialog-open' },
}; });
} }
update(changedProperties) { update(changedProperties) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment