nativescript-web-adapter 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ export declare const TabView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ selectedIndex: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ androidTabsPosition: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "selectedIndexChange"[], "selectedIndexChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ selectedIndex: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ androidTabsPosition: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ }>> & Readonly<{
22
+ onSelectedIndexChange?: (...args: any[]) => any;
23
+ }>, {
24
+ selectedIndex: number;
25
+ androidTabsPosition: string;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,24 @@
1
+ export declare const TabViewItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ title: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ iconSource: {
7
+ type: StringConstructor;
8
+ default: any;
9
+ };
10
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ title: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ iconSource: {
18
+ type: StringConstructor;
19
+ default: any;
20
+ };
21
+ }>> & Readonly<{}>, {
22
+ title: string;
23
+ iconSource: string;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,5 @@
1
1
  import type { Plugin } from 'vue';
2
+ import './adapter.css';
2
3
  import { Label } from './components/Label';
3
4
  import { Button } from './components/Button';
4
5
  import { StackLayout } from './components/StackLayout';
@@ -7,6 +8,11 @@ import { GridLayout } from './components/GridLayout';
7
8
  import { Page } from './components/Page';
8
9
  import { Frame } from './components/Frame';
9
10
  import { ActionBar } from './components/ActionBar';
11
+ import { ActionItem } from './components/ActionItem';
10
12
  import { ImageCacheIt } from './components/ImageCacheIt';
13
+ import { ContentView } from './components/ContentView';
14
+ import { ListView } from './components/ListView';
15
+ import { TabView } from './components/TabView';
16
+ import { TabViewItem } from './components/TabViewItem';
11
17
  export declare const NativeScriptWebPlugin: Plugin;
12
- export { Label, Button, StackLayout, FlexboxLayout, GridLayout, Page, Frame, ActionBar, ImageCacheIt };
18
+ export { Label, Button, StackLayout, FlexboxLayout, GridLayout, Page, Frame, ActionBar, ActionItem, ImageCacheIt, ContentView, ListView, TabView, TabViewItem };
@@ -0,0 +1,17 @@
1
+ import type { Plugin } from 'vue';
2
+ import { Label } from './components/Label';
3
+ import { Button } from './components/Button';
4
+ import { StackLayout } from './components/StackLayout';
5
+ import { FlexboxLayout } from './components/FlexboxLayout';
6
+ import { GridLayout } from './components/GridLayout';
7
+ import { Page } from './components/Page';
8
+ import { Frame } from './components/Frame';
9
+ import { ActionBar } from './components/ActionBar';
10
+ import { ActionItem } from './components/ActionItem';
11
+ import { ImageCacheIt } from './components/ImageCacheIt';
12
+ import { ContentView } from './components/ContentView';
13
+ import { ListView } from './components/ListView';
14
+ import { TabView } from './components/TabView';
15
+ import { TabViewItem } from './components/TabViewItem';
16
+ export declare const NativeScriptWebPlugin: Plugin;
17
+ export { Label, Button, StackLayout, FlexboxLayout, GridLayout, Page, Frame, ActionBar, ActionItem, ImageCacheIt, ContentView, ListView, TabView, TabViewItem };
@@ -1,5 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { VNode, Plugin } from 'vue';
2
+ import { Plugin } from 'vue';
3
3
 
4
4
  declare const Label: vue.DefineComponent<vue.ExtractPropTypes<{
5
5
  text: {
@@ -106,7 +106,7 @@ declare const GridLayout: vue.DefineComponent<vue.ExtractPropTypes<{
106
106
  type: StringConstructor;
107
107
  default: any;
108
108
  };
109
- }>, () => VNode<vue.RendererNode, vue.RendererElement, {
109
+ }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
110
110
  [key: string]: any;
111
111
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "tap"[], "tap", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
112
112
  rows: {
@@ -140,6 +140,22 @@ declare const ActionBar: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNod
140
140
  onTap?: (...args: any[]) => any;
141
141
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
142
142
 
143
+ declare const ActionItem: vue.DefineComponent<vue.ExtractPropTypes<{
144
+ iosPosition: {
145
+ type: StringConstructor;
146
+ default: any;
147
+ };
148
+ }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
149
+ [key: string]: any;
150
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
151
+ iosPosition: {
152
+ type: StringConstructor;
153
+ default: any;
154
+ };
155
+ }>> & Readonly<{}>, {
156
+ iosPosition: string;
157
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
158
+
143
159
  declare const ImageCacheIt: vue.DefineComponent<vue.ExtractPropTypes<{
144
160
  src: {
145
161
  type: StringConstructor;
@@ -164,6 +180,87 @@ declare const ImageCacheIt: vue.DefineComponent<vue.ExtractPropTypes<{
164
180
  stretch: string;
165
181
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
166
182
 
183
+ declare const ContentView: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
184
+ [key: string]: any;
185
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
186
+
187
+ declare const ListView: vue.DefineComponent<vue.ExtractPropTypes<{
188
+ items: {
189
+ type: () => any[];
190
+ default: () => any[];
191
+ };
192
+ separatorColor: {
193
+ type: StringConstructor;
194
+ default: string;
195
+ };
196
+ }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
197
+ [key: string]: any;
198
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
199
+ items: {
200
+ type: () => any[];
201
+ default: () => any[];
202
+ };
203
+ separatorColor: {
204
+ type: StringConstructor;
205
+ default: string;
206
+ };
207
+ }>> & Readonly<{}>, {
208
+ items: any[];
209
+ separatorColor: string;
210
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
211
+
212
+ declare const TabView: vue.DefineComponent<vue.ExtractPropTypes<{
213
+ selectedIndex: {
214
+ type: NumberConstructor;
215
+ default: number;
216
+ };
217
+ androidTabsPosition: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
222
+ [key: string]: any;
223
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "selectedIndexChange"[], "selectedIndexChange", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
224
+ selectedIndex: {
225
+ type: NumberConstructor;
226
+ default: number;
227
+ };
228
+ androidTabsPosition: {
229
+ type: StringConstructor;
230
+ default: string;
231
+ };
232
+ }>> & Readonly<{
233
+ onSelectedIndexChange?: (...args: any[]) => any;
234
+ }>, {
235
+ selectedIndex: number;
236
+ androidTabsPosition: string;
237
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
238
+
239
+ declare const TabViewItem: vue.DefineComponent<vue.ExtractPropTypes<{
240
+ title: {
241
+ type: StringConstructor;
242
+ default: string;
243
+ };
244
+ iconSource: {
245
+ type: StringConstructor;
246
+ default: any;
247
+ };
248
+ }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
249
+ [key: string]: any;
250
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
251
+ title: {
252
+ type: StringConstructor;
253
+ default: string;
254
+ };
255
+ iconSource: {
256
+ type: StringConstructor;
257
+ default: any;
258
+ };
259
+ }>> & Readonly<{}>, {
260
+ title: string;
261
+ iconSource: string;
262
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
263
+
167
264
  declare const NativeScriptWebPlugin: Plugin;
168
265
 
169
- export { ActionBar, Button, FlexboxLayout, Frame, GridLayout, ImageCacheIt, Label, NativeScriptWebPlugin, Page, StackLayout };
266
+ export { ActionBar, ActionItem, Button, ContentView, FlexboxLayout, Frame, GridLayout, ImageCacheIt, Label, ListView, NativeScriptWebPlugin, Page, StackLayout, TabView, TabViewItem };