This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
15,374 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* import-auth-data-table.html | ||
*/ | ||
|
||
/// <reference path="import-base-table.d.ts" /> | ||
|
||
declare namespace UiElements { | ||
|
||
/** | ||
* An element to display list of authorization data to import. | ||
*/ | ||
class ImportAuthDataTable extends | ||
ArcComponents.ImportTableMixin( | ||
ImportBaseTable) { | ||
} | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"import-auth-data-table": UiElements.ImportAuthDataTable; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* import-base-table.html | ||
*/ | ||
|
||
/// <reference path="../polymer/types/polymer-element.d.ts" /> | ||
/// <reference path="../iron-collapse/iron-collapse.d.ts" /> | ||
/// <reference path="../arc-icons/arc-icons.d.ts" /> | ||
/// <reference path="../paper-icon-button/paper-icon-button.d.ts" /> | ||
/// <reference path="../paper-checkbox/paper-checkbox.d.ts" /> | ||
/// <reference path="../paper-item/paper-icon-item.d.ts" /> | ||
/// <reference path="../paper-item/paper-item-body.d.ts" /> | ||
/// <reference path="import-table-common-styles.d.ts" /> | ||
/// <reference path="import-table-mixin.d.ts" /> | ||
|
||
declare namespace UiElements { | ||
|
||
/** | ||
* Base table class. Contains methods and templates to be | ||
* used by other tables. | ||
* | ||
* In most canses child classes should only define their own `itemBodyTemplate` | ||
* property that is insterted into `<paper-item-body>` element. | ||
*/ | ||
class ImportBaseTable extends | ||
ArcComponents.ImportTableMixin( | ||
Object) { | ||
|
||
/** | ||
* Title of the table when using base tabel | ||
*/ | ||
tableTitle: string|null|undefined; | ||
} | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"import-base-table": UiElements.ImportBaseTable; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* import-cookies-table.html | ||
*/ | ||
|
||
/// <reference path="import-base-table.d.ts" /> | ||
|
||
declare namespace UiElements { | ||
|
||
/** | ||
* An element to display list of cookies to import. | ||
*/ | ||
class ImportCookiesTable extends | ||
ArcComponents.ImportTableMixin( | ||
ImportBaseTable) { | ||
} | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"import-cookies-table": UiElements.ImportCookiesTable; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* import-data-inspector.html | ||
*/ | ||
|
||
/// <reference path="../polymer/types/polymer-element.d.ts" /> | ||
/// <reference path="../date-time/date-time.d.ts" /> | ||
/// <reference path="../paper-button/paper-button.d.ts" /> | ||
/// <reference path="import-requests-table.d.ts" /> | ||
/// <reference path="import-history-table.d.ts" /> | ||
/// <reference path="import-variables-table.d.ts" /> | ||
/// <reference path="import-headers-sets-table.d.ts" /> | ||
/// <reference path="import-cookies-table.d.ts" /> | ||
/// <reference path="import-auth-data-table.d.ts" /> | ||
/// <reference path="import-url-history-table.d.ts" /> | ||
/// <reference path="import-websocket-url-history-table.d.ts" /> | ||
|
||
declare namespace UiElements { | ||
|
||
/** | ||
* An element to display tables of import data. | ||
* | ||
* It accept normalized ARC import object received from `arc-data-import` | ||
* element. | ||
* | ||
* ### Example | ||
* | ||
* ```html | ||
* <import-data-inspector | ||
* data="[[arcImport]]" | ||
* on-cancel="cancel" | ||
* on-import="importData"></import-data-inspector> | ||
* ``` | ||
* | ||
* ### Styling | ||
* `<import-panel>` provides the following custom properties and mixins for styling: | ||
* | ||
* Custom property | Description | Default | ||
* ----------------|-------------|---------- | ||
* `--import-data-inspector` | Mixin applied to the element | `{}` | ||
* `--action-button` | Mixin applied to the primary acction button | `{}` | ||
* `--import-data-inspector-meta-color` | Color of the meta data property | `{}` | ||
* `--import-table` | Mixin applied to a table with data import | `{}` | ||
* `--import-table-opened` | Mixin applied to a table with data import when opened | `{}` | ||
* `--import-table-title` | Mixin applied to the title of the import table | `{}` | ||
* `--import-table-header` | Mixin applied to data table header with selecyion options | `{}` | ||
* `--import-table-method-label` | Mixin applied to the HTTP method label container | `{}` | ||
* `--import-table-selection-counter` | Mixin applied to a table selection counter label | `{}` | ||
* `--import-table-list-item` | Mixin applied to data table's items | `{}` | ||
*/ | ||
class ImportDataInspector extends Polymer.Element { | ||
|
||
/** | ||
* Imported data. | ||
*/ | ||
data: object|null|undefined; | ||
|
||
/** | ||
* Computed headers-sets value | ||
*/ | ||
headersSets: any[]|null|undefined; | ||
|
||
/** | ||
* Computed auth-data value | ||
*/ | ||
authData: any[]|null|undefined; | ||
|
||
/** | ||
* Computed url-history value | ||
*/ | ||
urls: any[]|null|undefined; | ||
|
||
/** | ||
* Computed websocket-url-history value | ||
*/ | ||
socketUrls: any[]|null|undefined; | ||
|
||
/** | ||
* Handles the cancel action. | ||
*/ | ||
_cancel(): void; | ||
|
||
/** | ||
* Updates local variables that can't be read in the template. | ||
*/ | ||
_dataUpdated(data: any): void; | ||
|
||
/** | ||
* Handles "import" action. | ||
*/ | ||
_import(): void; | ||
|
||
/** | ||
* Collects information about selected data in the data table. | ||
* | ||
* @param name Data table element name to check data for. | ||
* @returns List of items or undefined if the table is | ||
* not in the DOM, the table is hidden or selection is empty. | ||
*/ | ||
_getTableData(name: String|null): any[]|null|undefined; | ||
|
||
/** | ||
* Collects import data from the tables. | ||
* Only selected items are in the final object. | ||
* | ||
* @returns ARC import object with updated arrays. | ||
* Note, the object is a shallow copy of the original data object. | ||
*/ | ||
collectData(): object|null; | ||
} | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"import-data-inspector": UiElements.ImportDataInspector; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* import-headers-sets-table.html | ||
*/ | ||
|
||
/// <reference path="import-base-table.d.ts" /> | ||
|
||
declare namespace UiElements { | ||
|
||
/** | ||
* An element to display list of headers sets to import. | ||
*/ | ||
class ImportHeadersSetsTable extends | ||
ArcComponents.ImportTableMixin( | ||
ImportBaseTable) { | ||
} | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"import-headers-sets-table": UiElements.ImportHeadersSetsTable; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* import-history-table.html | ||
*/ | ||
|
||
/// <reference path="../polymer/types/polymer-element.d.ts" /> | ||
/// <reference path="../http-method-label/http-method-label.d.ts" /> | ||
/// <reference path="../date-time/date-time.d.ts" /> | ||
/// <reference path="import-base-table.d.ts" /> | ||
|
||
declare namespace UiElements { | ||
|
||
/** | ||
* An element to display list of history objects to import. | ||
*/ | ||
class ImportHistoryTable extends | ||
ArcComponents.ImportTableMixin( | ||
ImportBaseTable) { | ||
} | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"import-history-table": UiElements.ImportHistoryTable; | ||
} |
Oops, something went wrong.