@nstudio/nativescript-loading-indicator 3.0.3 → 4.1.1
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.
- package/LICENSE +0 -0
- package/README.md +18 -34
- package/common.d.ts +83 -0
- package/{loading-indicator.common.js → common.js} +3 -5
- package/common.js.map +1 -0
- package/{loading-indicator.android.d.ts → index.android.d.ts} +2 -2
- package/{loading-indicator.android.js → index.android.js} +188 -190
- package/index.android.js.map +1 -0
- package/index.d.ts +103 -102
- package/{loading-indicator.ios.d.ts → index.ios.d.ts} +2 -2
- package/{loading-indicator.ios.js → index.ios.js} +33 -33
- package/index.ios.js.map +1 -0
- package/package.json +16 -62
- package/platforms/android/AndroidManifest.xml +2 -0
- package/platforms/android/nativescript_loading_indicator.aar +0 -0
- package/platforms/android/res/drawable/circle_shape.xml +6 -0
- package/platforms/android/res/drawable/circular_progress_bar.xml +18 -0
- package/platforms/android/res/drawable/circular_progress_bar_thick.xml +18 -0
- package/loading-indicator.common.d.ts +0 -38
- package/references.d.ts +0 -3
- package/typings/objc!MBProgressHUD.d.ts +0 -240
@@ -1,240 +0,0 @@
|
|
1
|
-
declare class MBBackgroundView extends UIView {
|
2
|
-
static alloc(): MBBackgroundView; // inherited from NSObject
|
3
|
-
|
4
|
-
static appearance(): MBBackgroundView; // inherited from UIAppearance
|
5
|
-
|
6
|
-
static appearanceForTraitCollection(
|
7
|
-
trait: UITraitCollection
|
8
|
-
): MBBackgroundView; // inherited from UIAppearance
|
9
|
-
|
10
|
-
static appearanceForTraitCollectionWhenContainedIn(
|
11
|
-
trait: UITraitCollection,
|
12
|
-
ContainerClass: typeof NSObject
|
13
|
-
): MBBackgroundView; // inherited from UIAppearance
|
14
|
-
|
15
|
-
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(
|
16
|
-
trait: UITraitCollection,
|
17
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
18
|
-
): MBBackgroundView; // inherited from UIAppearance
|
19
|
-
|
20
|
-
static appearanceWhenContainedIn(
|
21
|
-
ContainerClass: typeof NSObject
|
22
|
-
): MBBackgroundView; // inherited from UIAppearance
|
23
|
-
|
24
|
-
static appearanceWhenContainedInInstancesOfClasses(
|
25
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
26
|
-
): MBBackgroundView; // inherited from UIAppearance
|
27
|
-
|
28
|
-
static new(): MBBackgroundView; // inherited from NSObject
|
29
|
-
|
30
|
-
blurEffectStyle: UIBlurEffectStyle;
|
31
|
-
|
32
|
-
color: UIColor;
|
33
|
-
|
34
|
-
style: MBProgressHUDBackgroundStyle;
|
35
|
-
}
|
36
|
-
|
37
|
-
declare class MBBarProgressView extends UIView {
|
38
|
-
static alloc(): MBBarProgressView; // inherited from NSObject
|
39
|
-
|
40
|
-
static appearance(): MBBarProgressView; // inherited from UIAppearance
|
41
|
-
|
42
|
-
static appearanceForTraitCollection(
|
43
|
-
trait: UITraitCollection
|
44
|
-
): MBBarProgressView; // inherited from UIAppearance
|
45
|
-
|
46
|
-
static appearanceForTraitCollectionWhenContainedIn(
|
47
|
-
trait: UITraitCollection,
|
48
|
-
ContainerClass: typeof NSObject
|
49
|
-
): MBBarProgressView; // inherited from UIAppearance
|
50
|
-
|
51
|
-
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(
|
52
|
-
trait: UITraitCollection,
|
53
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
54
|
-
): MBBarProgressView; // inherited from UIAppearance
|
55
|
-
|
56
|
-
static appearanceWhenContainedIn(
|
57
|
-
ContainerClass: typeof NSObject
|
58
|
-
): MBBarProgressView; // inherited from UIAppearance
|
59
|
-
|
60
|
-
static appearanceWhenContainedInInstancesOfClasses(
|
61
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
62
|
-
): MBBarProgressView; // inherited from UIAppearance
|
63
|
-
|
64
|
-
static new(): MBBarProgressView; // inherited from NSObject
|
65
|
-
|
66
|
-
lineColor: UIColor;
|
67
|
-
|
68
|
-
progress: number;
|
69
|
-
|
70
|
-
progressColor: UIColor;
|
71
|
-
|
72
|
-
progressRemainingColor: UIColor;
|
73
|
-
}
|
74
|
-
|
75
|
-
declare class MBProgressHUD extends UIView {
|
76
|
-
static HUDForView(view: UIView): MBProgressHUD;
|
77
|
-
|
78
|
-
static alloc(): MBProgressHUD; // inherited from NSObject
|
79
|
-
|
80
|
-
static appearance(): MBProgressHUD; // inherited from UIAppearance
|
81
|
-
|
82
|
-
static appearanceForTraitCollection(trait: UITraitCollection): MBProgressHUD; // inherited from UIAppearance
|
83
|
-
|
84
|
-
static appearanceForTraitCollectionWhenContainedIn(
|
85
|
-
trait: UITraitCollection,
|
86
|
-
ContainerClass: typeof NSObject
|
87
|
-
): MBProgressHUD; // inherited from UIAppearance
|
88
|
-
|
89
|
-
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(
|
90
|
-
trait: UITraitCollection,
|
91
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
92
|
-
): MBProgressHUD; // inherited from UIAppearance
|
93
|
-
|
94
|
-
static appearanceWhenContainedIn(
|
95
|
-
ContainerClass: typeof NSObject
|
96
|
-
): MBProgressHUD; // inherited from UIAppearance
|
97
|
-
|
98
|
-
static appearanceWhenContainedInInstancesOfClasses(
|
99
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
100
|
-
): MBProgressHUD; // inherited from UIAppearance
|
101
|
-
|
102
|
-
static hideHUDForViewAnimated(view: UIView, animated: boolean): boolean;
|
103
|
-
|
104
|
-
static new(): MBProgressHUD; // inherited from NSObject
|
105
|
-
|
106
|
-
static showHUDAddedToAnimated(view: UIView, animated: boolean): MBProgressHUD;
|
107
|
-
|
108
|
-
animationType: MBProgressHUDAnimation;
|
109
|
-
|
110
|
-
readonly backgroundView: MBBackgroundView;
|
111
|
-
|
112
|
-
readonly bezelView: MBBackgroundView;
|
113
|
-
|
114
|
-
readonly button: UIButton;
|
115
|
-
|
116
|
-
completionBlock: () => void;
|
117
|
-
|
118
|
-
contentColor: UIColor;
|
119
|
-
|
120
|
-
customView: UIView;
|
121
|
-
|
122
|
-
defaultMotionEffectsEnabled: boolean;
|
123
|
-
|
124
|
-
delegate: MBProgressHUDDelegate;
|
125
|
-
|
126
|
-
readonly detailsLabel: UILabel;
|
127
|
-
|
128
|
-
graceTime: number;
|
129
|
-
|
130
|
-
readonly label: UILabel;
|
131
|
-
|
132
|
-
margin: number;
|
133
|
-
|
134
|
-
minShowTime: number;
|
135
|
-
|
136
|
-
minSize: CGSize;
|
137
|
-
|
138
|
-
mode: MBProgressHUDMode;
|
139
|
-
|
140
|
-
offset: CGPoint;
|
141
|
-
|
142
|
-
progress: number;
|
143
|
-
|
144
|
-
progressObject: NSProgress;
|
145
|
-
|
146
|
-
removeFromSuperViewOnHide: boolean;
|
147
|
-
|
148
|
-
square: boolean;
|
149
|
-
|
150
|
-
constructor(o: { view: UIView });
|
151
|
-
|
152
|
-
hideAnimated(animated: boolean): void;
|
153
|
-
|
154
|
-
hideAnimatedAfterDelay(animated: boolean, delay: number): void;
|
155
|
-
|
156
|
-
initWithView(view: UIView): this;
|
157
|
-
|
158
|
-
showAnimated(animated: boolean): void;
|
159
|
-
}
|
160
|
-
|
161
|
-
declare const enum MBProgressHUDAnimation {
|
162
|
-
Fade = 0,
|
163
|
-
|
164
|
-
Zoom = 1,
|
165
|
-
|
166
|
-
ZoomOut = 2,
|
167
|
-
|
168
|
-
ZoomIn = 3
|
169
|
-
}
|
170
|
-
|
171
|
-
declare const enum MBProgressHUDBackgroundStyle {
|
172
|
-
SolidColor = 0,
|
173
|
-
|
174
|
-
Blur = 1
|
175
|
-
}
|
176
|
-
|
177
|
-
interface MBProgressHUDDelegate extends NSObjectProtocol {
|
178
|
-
hudWasHidden?(hud: MBProgressHUD): void;
|
179
|
-
}
|
180
|
-
declare var MBProgressHUDDelegate: {
|
181
|
-
prototype: MBProgressHUDDelegate;
|
182
|
-
};
|
183
|
-
|
184
|
-
declare const enum MBProgressHUDMode {
|
185
|
-
Indeterminate = 0,
|
186
|
-
|
187
|
-
Determinate = 1,
|
188
|
-
|
189
|
-
DeterminateHorizontalBar = 2,
|
190
|
-
|
191
|
-
AnnularDeterminate = 3,
|
192
|
-
|
193
|
-
CustomView = 4,
|
194
|
-
|
195
|
-
Text = 5
|
196
|
-
}
|
197
|
-
|
198
|
-
declare var MBProgressHUDVersionNumber: number;
|
199
|
-
|
200
|
-
declare var MBProgressHUDVersionString: interop.Reference<number>;
|
201
|
-
|
202
|
-
declare var MBProgressMaxOffset: number;
|
203
|
-
|
204
|
-
declare class MBRoundProgressView extends UIView {
|
205
|
-
static alloc(): MBRoundProgressView; // inherited from NSObject
|
206
|
-
|
207
|
-
static appearance(): MBRoundProgressView; // inherited from UIAppearance
|
208
|
-
|
209
|
-
static appearanceForTraitCollection(
|
210
|
-
trait: UITraitCollection
|
211
|
-
): MBRoundProgressView; // inherited from UIAppearance
|
212
|
-
|
213
|
-
static appearanceForTraitCollectionWhenContainedIn(
|
214
|
-
trait: UITraitCollection,
|
215
|
-
ContainerClass: typeof NSObject
|
216
|
-
): MBRoundProgressView; // inherited from UIAppearance
|
217
|
-
|
218
|
-
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(
|
219
|
-
trait: UITraitCollection,
|
220
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
221
|
-
): MBRoundProgressView; // inherited from UIAppearance
|
222
|
-
|
223
|
-
static appearanceWhenContainedIn(
|
224
|
-
ContainerClass: typeof NSObject
|
225
|
-
): MBRoundProgressView; // inherited from UIAppearance
|
226
|
-
|
227
|
-
static appearanceWhenContainedInInstancesOfClasses(
|
228
|
-
containerTypes: NSArray<typeof NSObject> | typeof NSObject[]
|
229
|
-
): MBRoundProgressView; // inherited from UIAppearance
|
230
|
-
|
231
|
-
static new(): MBRoundProgressView; // inherited from NSObject
|
232
|
-
|
233
|
-
annular: boolean;
|
234
|
-
|
235
|
-
backgroundTintColor: UIColor;
|
236
|
-
|
237
|
-
progress: number;
|
238
|
-
|
239
|
-
progressTintColor: UIColor;
|
240
|
-
}
|