1 | // Generated by dts-bundle v0.7.3
|
2 | // Dependencies for this module:
|
3 | // ../../@material/base/component
|
4 | // ../../@material/base/foundation
|
5 |
|
6 | declare module '@material/grid-list' {
|
7 | /**
|
8 | * @license
|
9 | * Copyright 2019 Google Inc.
|
10 | *
|
11 | * Permission is hereby granted, free of charge, to any person obtaining a copy
|
12 | * of this software and associated documentation files (the "Software"), to deal
|
13 | * in the Software without restriction, including without limitation the rights
|
14 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
15 | * copies of the Software, and to permit persons to whom the Software is
|
16 | * furnished to do so, subject to the following conditions:
|
17 | *
|
18 | * The above copyright notice and this permission notice shall be included in
|
19 | * all copies or substantial portions of the Software.
|
20 | *
|
21 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
22 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
23 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
24 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
25 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
26 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
27 | * THE SOFTWARE.
|
28 | */
|
29 | export * from '@material/grid-list/adapter';
|
30 | export * from '@material/grid-list/component';
|
31 | export * from '@material/grid-list/constants';
|
32 | export * from '@material/grid-list/foundation';
|
33 | }
|
34 |
|
35 | declare module '@material/grid-list/adapter' {
|
36 | /**
|
37 | * Defines the shape of the adapter expected by the foundation.
|
38 | * Implement this adapter for your framework of choice to delegate updates to
|
39 | * the component in your framework of choice. See architecture documentation
|
40 | * for more details.
|
41 | * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md
|
42 | */
|
43 | export interface MDCGridListAdapter {
|
44 | deregisterResizeHandler(handler: EventListener): void;
|
45 | getNumberOfTiles(): number;
|
46 | getOffsetWidth(): number;
|
47 | getOffsetWidthForTileAtIndex(index: number): number;
|
48 | registerResizeHandler(handler: EventListener): void;
|
49 | setStyleForTilesElement(property: Exclude<keyof CSSStyleDeclaration, ('length' | 'parentRule')>, value: string | null): void;
|
50 | }
|
51 | }
|
52 |
|
53 | declare module '@material/grid-list/component' {
|
54 | /**
|
55 | * @license
|
56 | * Copyright 2016 Google Inc.
|
57 | *
|
58 | * Permission is hereby granted, free of charge, to any person obtaining a copy
|
59 | * of this software and associated documentation files (the "Software"), to deal
|
60 | * in the Software without restriction, including without limitation the rights
|
61 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
62 | * copies of the Software, and to permit persons to whom the Software is
|
63 | * furnished to do so, subject to the following conditions:
|
64 | *
|
65 | * The above copyright notice and this permission notice shall be included in
|
66 | * all copies or substantial portions of the Software.
|
67 | *
|
68 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
69 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
70 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
71 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
72 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
73 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
74 | * THE SOFTWARE.
|
75 | */
|
76 | import { MDCComponent } from '@material/base/component';
|
77 | import { MDCGridListFoundation } from '@material/grid-list/foundation';
|
78 | export class MDCGridList extends MDCComponent<MDCGridListFoundation> {
|
79 | static attachTo(root: Element): MDCGridList;
|
80 | getDefaultFoundation(): MDCGridListFoundation;
|
81 | }
|
82 | }
|
83 |
|
84 | declare module '@material/grid-list/constants' {
|
85 | /**
|
86 | * @license
|
87 | * Copyright 2016 Google Inc.
|
88 | *
|
89 | * Permission is hereby granted, free of charge, to any person obtaining a copy
|
90 | * of this software and associated documentation files (the "Software"), to deal
|
91 | * in the Software without restriction, including without limitation the rights
|
92 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
93 | * copies of the Software, and to permit persons to whom the Software is
|
94 | * furnished to do so, subject to the following conditions:
|
95 | *
|
96 | * The above copyright notice and this permission notice shall be included in
|
97 | * all copies or substantial portions of the Software.
|
98 | *
|
99 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
100 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
101 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
102 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
103 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
104 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
105 | * THE SOFTWARE.
|
106 | */
|
107 | export const strings: {
|
108 | TILES_SELECTOR: string;
|
109 | TILE_SELECTOR: string;
|
110 | };
|
111 | }
|
112 |
|
113 | declare module '@material/grid-list/foundation' {
|
114 | /**
|
115 | * @license
|
116 | * Copyright 2016 Google Inc.
|
117 | *
|
118 | * Permission is hereby granted, free of charge, to any person obtaining a copy
|
119 | * of this software and associated documentation files (the "Software"), to deal
|
120 | * in the Software without restriction, including without limitation the rights
|
121 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
122 | * copies of the Software, and to permit persons to whom the Software is
|
123 | * furnished to do so, subject to the following conditions:
|
124 | *
|
125 | * The above copyright notice and this permission notice shall be included in
|
126 | * all copies or substantial portions of the Software.
|
127 | *
|
128 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
129 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
130 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
131 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
132 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
133 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
134 | * THE SOFTWARE.
|
135 | */
|
136 | import { MDCFoundation } from '@material/base/foundation';
|
137 | import { MDCGridListAdapter } from '@material/grid-list/adapter';
|
138 | export class MDCGridListFoundation extends MDCFoundation<MDCGridListAdapter> {
|
139 | static readonly strings: {
|
140 | TILES_SELECTOR: string;
|
141 | TILE_SELECTOR: string;
|
142 | };
|
143 | static readonly defaultAdapter: MDCGridListAdapter;
|
144 | constructor(adapter?: Partial<MDCGridListAdapter>);
|
145 | init(): void;
|
146 | destroy(): void;
|
147 | alignCenter(): void;
|
148 | }
|
149 | export default MDCGridListFoundation;
|
150 | }
|
151 |
|