qcobjects-sdk 2.5.105-beta → 2.6.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.
- package/.github/workflows/npmpublish.yml +49 -0
- package/.gitmodules +4 -0
- package/CHANGELOG.md +15 -0
- package/LICENSE.txt +21 -0
- package/README.md +7 -1
- package/VERSION +1 -1
- package/build/index.js +128 -35
- package/build/{js → ts}/org.qcobjects.cloud.auth.session.data.js +3 -12
- package/build/{js → ts}/org.qcobjects.cloud.auth.session.usertoken.js +3 -12
- package/build/{js → ts}/org.qcobjects.components.grid.js +3 -12
- package/build/{js → ts}/org.qcobjects.components.js +3 -12
- package/build/{js → ts}/org.qcobjects.components.list.js +3 -12
- package/build/{js → ts}/org.qcobjects.components.notifications.js +3 -12
- package/build/{js → ts}/org.qcobjects.components.slider.js +3 -12
- package/build/{js → ts}/org.qcobjects.components.splashscreen.js +3 -12
- package/build/{js → ts}/org.qcobjects.controllers.form.js +4 -13
- package/build/{js → ts}/org.qcobjects.controllers.grid.js +3 -12
- package/build/ts/org.qcobjects.controllers.js +25 -0
- package/build/{js → ts}/org.qcobjects.controllers.list.js +3 -12
- package/build/{js → ts}/org.qcobjects.controllers.slider.js +3 -12
- package/build/{js → ts}/org.qcobjects.controllers.swagger.js +3 -12
- package/build/{js → ts}/org.qcobjects.effects.base.js +3 -19
- package/build/{js → ts}/org.qcobjects.effects.extended.js +13 -70
- package/build/{js → ts}/org.qcobjects.effects.js +3 -12
- package/build/{js → ts}/org.qcobjects.i18n_messages.js +3 -12
- package/build/{js → ts}/org.qcobjects.modal.controllers.js +3 -12
- package/build/{js → ts}/org.qcobjects.modal.effects.js +3 -12
- package/build/ts/org.qcobjects.models.js +25 -0
- package/build/{js → ts}/org.qcobjects.tools.canvas.js +3 -12
- package/build/{js → ts}/org.qcobjects.tools.js +3 -12
- package/build/{js → ts}/org.qcobjects.tools.layouts.js +3 -12
- package/build/ts/org.qcobjects.views.js +25 -0
- package/build-esbuild.js +1 -3
- package/docs/CNAME +1 -0
- package/package.json +6 -6
- package/public/browser/index.js +81 -7072
- package/public/browser/index.js.map +4 -4
- package/public/cjs/index.cjs +140 -7073
- package/public/cjs/index.cjs.map +4 -4
- package/public/esm/index.mjs +386 -7396
- package/public/esm/index.mjs.map +4 -4
- package/public/types/index.d.ts +60 -153
- package/src/css/basic-layout.css +4 -16
- package/src/index.ts +118 -2
- package/src/{js → ts}/org.qcobjects.cloud.auth.session.data.ts +3 -12
- package/src/{js → ts}/org.qcobjects.cloud.auth.session.usertoken.ts +3 -12
- package/src/{js → ts}/org.qcobjects.components.grid.ts +3 -12
- package/src/{js → ts}/org.qcobjects.components.list.ts +3 -12
- package/src/{js → ts}/org.qcobjects.components.notifications.ts +3 -12
- package/src/{js → ts}/org.qcobjects.components.slider.ts +3 -12
- package/src/{js → ts}/org.qcobjects.components.splashscreen.ts +3 -12
- package/src/{js → ts}/org.qcobjects.components.ts +3 -12
- package/src/{js → ts}/org.qcobjects.controllers.form.ts +4 -13
- package/src/{js → ts}/org.qcobjects.controllers.grid.ts +6 -15
- package/src/{js → ts}/org.qcobjects.controllers.list.ts +4 -13
- package/src/{js → ts}/org.qcobjects.controllers.slider.ts +4 -13
- package/src/{js → ts}/org.qcobjects.controllers.swagger.ts +3 -12
- package/src/ts/org.qcobjects.controllers.ts +26 -0
- package/src/{js → ts}/org.qcobjects.effects.base.ts +9 -25
- package/src/{js → ts}/org.qcobjects.effects.extended.ts +33 -90
- package/src/{js → ts}/org.qcobjects.effects.ts +3 -12
- package/src/{js → ts}/org.qcobjects.i18n_messages.ts +3 -12
- package/src/{js → ts}/org.qcobjects.modal.controllers.ts +3 -12
- package/src/{js → ts}/org.qcobjects.modal.effects.ts +3 -12
- package/src/ts/org.qcobjects.models.ts +25 -0
- package/src/{js → ts}/org.qcobjects.tools.canvas.ts +3 -12
- package/src/{js → ts}/org.qcobjects.tools.layouts.ts +3 -12
- package/src/{js → ts}/org.qcobjects.tools.ts +3 -12
- package/src/ts/org.qcobjects.views.ts +30 -0
- package/.github/workflows/npmpublish-beta.yml +0 -40
- package/.github/workflows/npmpublish-lts.yml +0 -40
- package/.github/workflows/npmpublish-main.yml +0 -40
- package/build/QCObjects-SDK.js +0 -139
- package/build/js/org.qcobjects.controllers.js +0 -34
- package/build/js/org.qcobjects.models.js +0 -34
- package/build/js/org.qcobjects.views.js +0 -34
- package/src/QCObjects-SDK.ts +0 -127
- package/src/js/org.qcobjects.controllers.ts +0 -35
- package/src/js/org.qcobjects.models.ts +0 -34
- package/src/js/org.qcobjects.views.ts +0 -39
- /package/build/{js → ts}/org.qcobjects.base.components.js +0 -0
- /package/src/{js → ts}/org.qcobjects.base.components.ts +0 -0
package/public/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module "
|
|
1
|
+
declare module "ts/org.qcobjects.i18n_messages" {
|
|
2
2
|
import { InheritClass } from "qcobjects";
|
|
3
3
|
export class i18n_messages extends InheritClass {
|
|
4
4
|
constructor({ messages }: {
|
|
@@ -7,12 +7,12 @@ declare module "js/org.qcobjects.i18n_messages" {
|
|
|
7
7
|
_load_i18n_packages_(): any;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
declare module "
|
|
10
|
+
declare module "ts/org.qcobjects.models" {
|
|
11
11
|
import { VO } from "qcobjects";
|
|
12
12
|
export class Contact extends VO {
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
declare module "
|
|
15
|
+
declare module "ts/org.qcobjects.effects.base" {
|
|
16
16
|
import { Effect } from "qcobjects";
|
|
17
17
|
export type MoveElement = HTMLElement & {
|
|
18
18
|
width?: number;
|
|
@@ -26,36 +26,16 @@ declare module "js/org.qcobjects.effects.base" {
|
|
|
26
26
|
});
|
|
27
27
|
apply(element: HTMLElement, alphaFrom: number, alphaTo: number): void;
|
|
28
28
|
static apply(element: HTMLElement, alphaFrom: number, alphaTo: number): void;
|
|
29
|
-
static animate(arg0: {
|
|
30
|
-
duration: any;
|
|
31
|
-
timing(timeFraction: any): any;
|
|
32
|
-
draw(progress: any): void;
|
|
33
|
-
}): void;
|
|
34
|
-
animate(arg0: {
|
|
35
|
-
duration: number;
|
|
36
|
-
timing(timeFraction: any): any;
|
|
37
|
-
draw(progress: any): void;
|
|
38
|
-
}): void;
|
|
39
29
|
}
|
|
40
30
|
export class Move extends Effect {
|
|
41
31
|
duration: number;
|
|
42
32
|
static duration: any;
|
|
43
33
|
static apply(element: MoveElement, xfrom: number, yfrom: number, xto: number, yto: number): void;
|
|
44
|
-
static animate(arg0: {
|
|
45
|
-
duration: any;
|
|
46
|
-
timing(timeFraction: any): any;
|
|
47
|
-
draw(progress: any): void;
|
|
48
|
-
}): void;
|
|
49
|
-
animate(arg0: {
|
|
50
|
-
duration: number;
|
|
51
|
-
timing(timeFraction: any): any;
|
|
52
|
-
draw(progress: any): void;
|
|
53
|
-
}): void;
|
|
54
34
|
}
|
|
55
35
|
}
|
|
56
|
-
declare module "
|
|
36
|
+
declare module "ts/org.qcobjects.effects.extended" {
|
|
57
37
|
import { Effect } from "qcobjects";
|
|
58
|
-
import { Move, MoveElement } from "
|
|
38
|
+
import { Move, MoveElement } from "ts/org.qcobjects.effects.base";
|
|
59
39
|
export class MoveXInFromRight extends Move {
|
|
60
40
|
duration: number;
|
|
61
41
|
static apply(element: MoveElement): void;
|
|
@@ -76,107 +56,47 @@ declare module "js/org.qcobjects.effects.extended" {
|
|
|
76
56
|
duration: number;
|
|
77
57
|
static duration: any;
|
|
78
58
|
static apply(element: HTMLElement, angleFrom: number, angleTo: number): void;
|
|
79
|
-
static animate(arg0: {
|
|
80
|
-
duration: any;
|
|
81
|
-
timing(timeFraction: any): any;
|
|
82
|
-
draw(progress: any): void;
|
|
83
|
-
}): void;
|
|
84
|
-
animate(arg0: {
|
|
85
|
-
duration: number;
|
|
86
|
-
timing(timeFraction: any): any;
|
|
87
|
-
draw(progress: any): void;
|
|
88
|
-
}): void;
|
|
89
59
|
}
|
|
90
60
|
export class RotateY extends Effect {
|
|
91
61
|
duration: number;
|
|
92
62
|
static duration: any;
|
|
93
63
|
static apply(element: HTMLElement, angleFrom: number, angleTo: number): void;
|
|
94
|
-
static animate(arg0: {
|
|
95
|
-
duration: any;
|
|
96
|
-
timing(timeFraction: any): any;
|
|
97
|
-
draw(progress: any): void;
|
|
98
|
-
}): void;
|
|
99
|
-
animate(arg0: {
|
|
100
|
-
duration: number;
|
|
101
|
-
timing(timeFraction: any): any;
|
|
102
|
-
draw(progress: any): void;
|
|
103
|
-
}): void;
|
|
104
64
|
}
|
|
105
65
|
export class RotateZ extends Effect {
|
|
106
66
|
duration: number;
|
|
107
67
|
apply(element: HTMLElement, angleFrom: number, angleTo: number): void;
|
|
108
|
-
animate(arg0: {
|
|
109
|
-
duration: number;
|
|
110
|
-
timing(timeFraction: any): any;
|
|
111
|
-
draw(progress: any): void;
|
|
112
|
-
}): void;
|
|
113
68
|
}
|
|
114
69
|
export class Rotate extends Effect {
|
|
115
70
|
duration: number;
|
|
116
71
|
apply(element: HTMLElement, angleFrom: number, angleTo: number): void;
|
|
117
|
-
animate(arg0: {
|
|
118
|
-
duration: number;
|
|
119
|
-
timing(timeFraction: any): any;
|
|
120
|
-
draw(progress: any): void;
|
|
121
|
-
}): void;
|
|
122
72
|
}
|
|
123
73
|
export class Radius extends Effect {
|
|
124
74
|
duration: number;
|
|
125
75
|
apply(element: HTMLElement, radiusFrom: number, radiusTo: number): void;
|
|
126
|
-
animate(arg0: {
|
|
127
|
-
duration: number;
|
|
128
|
-
timing(timeFraction: any): any;
|
|
129
|
-
draw(progress: any): void;
|
|
130
|
-
}): void;
|
|
131
76
|
}
|
|
132
77
|
export class Resize extends Effect {
|
|
133
78
|
duration: number;
|
|
134
79
|
apply(element: HTMLElement, scaleFrom: number, scaleTo: number): void;
|
|
135
|
-
animate(arg0: {
|
|
136
|
-
duration: number;
|
|
137
|
-
timing(timeFraction: any): any;
|
|
138
|
-
draw(progress: any): void;
|
|
139
|
-
}): void;
|
|
140
80
|
}
|
|
141
81
|
export class WipeLeft extends Effect {
|
|
142
82
|
duration: number;
|
|
143
83
|
apply(element: HTMLElement, scaleFrom: number, scaleTo: number): void;
|
|
144
|
-
animate(arg0: {
|
|
145
|
-
duration: number;
|
|
146
|
-
timing(timeFraction: any): any;
|
|
147
|
-
draw(progress: any): void;
|
|
148
|
-
}): void;
|
|
149
84
|
}
|
|
150
85
|
export class WipeRight extends Effect {
|
|
151
86
|
duration: number;
|
|
152
87
|
apply(element: HTMLElement, scaleFrom: number, scaleTo: number): void;
|
|
153
|
-
animate(arg0: {
|
|
154
|
-
duration: number;
|
|
155
|
-
timing(timeFraction: any): any;
|
|
156
|
-
draw(progress: any): void;
|
|
157
|
-
}): void;
|
|
158
88
|
}
|
|
159
89
|
export class WipeUp extends Effect {
|
|
160
90
|
duration: number;
|
|
161
91
|
apply(element: HTMLElement, scaleFrom: number, scaleTo: number): void;
|
|
162
|
-
animate(arg0: {
|
|
163
|
-
duration: number;
|
|
164
|
-
timing(timeFraction: any): any;
|
|
165
|
-
draw(progress: any): void;
|
|
166
|
-
}): void;
|
|
167
92
|
}
|
|
168
93
|
export class WipeDown extends Effect {
|
|
169
94
|
duration: number;
|
|
170
95
|
apply(element: HTMLElement, scaleFrom: number, scaleTo: number): void;
|
|
171
|
-
animate(arg0: {
|
|
172
|
-
duration: number;
|
|
173
|
-
timing(timeFraction: any): any;
|
|
174
|
-
draw(progress: any): void;
|
|
175
|
-
}): void;
|
|
176
96
|
}
|
|
177
97
|
}
|
|
178
|
-
declare module "
|
|
179
|
-
import { Fade, Move } from "
|
|
98
|
+
declare module "ts/org.qcobjects.modal.effects" {
|
|
99
|
+
import { Fade, Move } from "ts/org.qcobjects.effects";
|
|
180
100
|
export class ModalFade extends Fade {
|
|
181
101
|
duration: number;
|
|
182
102
|
}
|
|
@@ -187,12 +107,12 @@ declare module "js/org.qcobjects.modal.effects" {
|
|
|
187
107
|
duration: number;
|
|
188
108
|
}
|
|
189
109
|
}
|
|
190
|
-
declare module "
|
|
191
|
-
export { Fade, Move } from "
|
|
192
|
-
export { MoveXInFromRight, MoveXInFromLeft, MoveYInFromBottom, MoveYInFromTop, RotateX, RotateY, RotateZ, Rotate, Radius, Resize, WipeLeft, WipeRight, WipeUp, WipeDown } from "
|
|
193
|
-
export { ModalFade, ModalMoveUp, ModalMoveDown } from "
|
|
110
|
+
declare module "ts/org.qcobjects.effects" {
|
|
111
|
+
export { Fade, Move } from "ts/org.qcobjects.effects.base";
|
|
112
|
+
export { MoveXInFromRight, MoveXInFromLeft, MoveYInFromBottom, MoveYInFromTop, RotateX, RotateY, RotateZ, Rotate, Radius, Resize, WipeLeft, WipeRight, WipeUp, WipeDown } from "ts/org.qcobjects.effects.extended";
|
|
113
|
+
export { ModalFade, ModalMoveUp, ModalMoveDown } from "ts/org.qcobjects.modal.effects";
|
|
194
114
|
}
|
|
195
|
-
declare module "
|
|
115
|
+
declare module "ts/org.qcobjects.base.components" {
|
|
196
116
|
import { Component } from "qcobjects";
|
|
197
117
|
export type FieldComponentParams = {
|
|
198
118
|
name: string;
|
|
@@ -217,9 +137,9 @@ declare module "js/org.qcobjects.base.components" {
|
|
|
217
137
|
done(standardResponse: any): Promise<any>;
|
|
218
138
|
}
|
|
219
139
|
}
|
|
220
|
-
declare module "
|
|
140
|
+
declare module "ts/org.qcobjects.components" {
|
|
221
141
|
import { Component } from "qcobjects";
|
|
222
|
-
import { FormField, FieldComponentParams } from "
|
|
142
|
+
import { FormField, FieldComponentParams } from "ts/org.qcobjects.base.components";
|
|
223
143
|
export { FormField };
|
|
224
144
|
export class ShadowedComponent extends Component {
|
|
225
145
|
container: null;
|
|
@@ -281,7 +201,7 @@ declare module "js/org.qcobjects.components" {
|
|
|
281
201
|
name: string;
|
|
282
202
|
}
|
|
283
203
|
}
|
|
284
|
-
declare module "
|
|
204
|
+
declare module "ts/org.qcobjects.components.grid" {
|
|
285
205
|
import { Component } from "qcobjects";
|
|
286
206
|
export class GridItemComponent extends Component {
|
|
287
207
|
name: string;
|
|
@@ -305,7 +225,7 @@ declare module "js/org.qcobjects.components.grid" {
|
|
|
305
225
|
constructor(o: any);
|
|
306
226
|
}
|
|
307
227
|
}
|
|
308
|
-
declare module "
|
|
228
|
+
declare module "ts/org.qcobjects.components.list" {
|
|
309
229
|
import { Component } from "qcobjects";
|
|
310
230
|
export class ListItemComponent extends Component {
|
|
311
231
|
shadowed: boolean;
|
|
@@ -328,7 +248,7 @@ declare module "js/org.qcobjects.components.list" {
|
|
|
328
248
|
constructor(o: any);
|
|
329
249
|
}
|
|
330
250
|
}
|
|
331
|
-
declare module "
|
|
251
|
+
declare module "ts/org.qcobjects.components.slider" {
|
|
332
252
|
import { Component } from "qcobjects";
|
|
333
253
|
export class SlideListComponent extends Component {
|
|
334
254
|
tplsource: string;
|
|
@@ -356,7 +276,7 @@ declare module "js/org.qcobjects.components.slider" {
|
|
|
356
276
|
constructor(o: any);
|
|
357
277
|
}
|
|
358
278
|
}
|
|
359
|
-
declare module "
|
|
279
|
+
declare module "ts/org.qcobjects.components.notifications" {
|
|
360
280
|
import { Component } from "qcobjects";
|
|
361
281
|
export class NotificationComponent extends Component {
|
|
362
282
|
cached: boolean;
|
|
@@ -372,7 +292,7 @@ declare module "js/org.qcobjects.components.notifications" {
|
|
|
372
292
|
static warning(message: string): void;
|
|
373
293
|
}
|
|
374
294
|
}
|
|
375
|
-
declare module "
|
|
295
|
+
declare module "ts/org.qcobjects.components.splashscreen" {
|
|
376
296
|
import { Component } from "qcobjects";
|
|
377
297
|
type SplashScreenParams = {
|
|
378
298
|
name: string;
|
|
@@ -408,14 +328,14 @@ declare module "js/org.qcobjects.components.splashscreen" {
|
|
|
408
328
|
constructor(o: SplashScreenParams);
|
|
409
329
|
}
|
|
410
330
|
}
|
|
411
|
-
declare module "
|
|
331
|
+
declare module "ts/org.qcobjects.controllers" {
|
|
412
332
|
import { Controller } from "qcobjects";
|
|
413
333
|
export class GenericController extends Controller {
|
|
414
334
|
}
|
|
415
335
|
}
|
|
416
|
-
declare module "
|
|
336
|
+
declare module "ts/org.qcobjects.controllers.list" {
|
|
417
337
|
import { Controller } from "qcobjects";
|
|
418
|
-
import { ListComponent } from "
|
|
338
|
+
import { ListComponent } from "ts/org.qcobjects.components.list";
|
|
419
339
|
export type ListControllerParams = {
|
|
420
340
|
component: ListComponent;
|
|
421
341
|
valueField: string | undefined;
|
|
@@ -437,7 +357,7 @@ declare module "js/org.qcobjects.controllers.list" {
|
|
|
437
357
|
done(): void;
|
|
438
358
|
}
|
|
439
359
|
}
|
|
440
|
-
declare module "
|
|
360
|
+
declare module "ts/org.qcobjects.controllers.grid" {
|
|
441
361
|
import { Controller, Component } from "qcobjects";
|
|
442
362
|
type DataGridControllerParams = {
|
|
443
363
|
component: Component;
|
|
@@ -466,7 +386,7 @@ declare module "js/org.qcobjects.controllers.grid" {
|
|
|
466
386
|
done(): void;
|
|
467
387
|
}
|
|
468
388
|
}
|
|
469
|
-
declare module "
|
|
389
|
+
declare module "ts/org.qcobjects.controllers.slider" {
|
|
470
390
|
import { Controller, Component } from "qcobjects";
|
|
471
391
|
type SliderParams = {
|
|
472
392
|
dependencies: any[];
|
|
@@ -494,9 +414,9 @@ declare module "js/org.qcobjects.controllers.slider" {
|
|
|
494
414
|
done(): void;
|
|
495
415
|
}
|
|
496
416
|
}
|
|
497
|
-
declare module "
|
|
417
|
+
declare module "ts/org.qcobjects.controllers.form" {
|
|
498
418
|
import { Controller } from "qcobjects";
|
|
499
|
-
import { ModalComponent } from "
|
|
419
|
+
import { ModalComponent } from "ts/org.qcobjects.components";
|
|
500
420
|
export class FormValidations extends Controller {
|
|
501
421
|
getDefault(): (fieldName: string, dataValue: any, element: HTMLElement) => boolean;
|
|
502
422
|
}
|
|
@@ -520,7 +440,7 @@ declare module "js/org.qcobjects.controllers.form" {
|
|
|
520
440
|
onpress(arg0: string, arg1: () => void): void;
|
|
521
441
|
}
|
|
522
442
|
}
|
|
523
|
-
declare module "
|
|
443
|
+
declare module "ts/org.qcobjects.controllers.swagger" {
|
|
524
444
|
import { Controller } from "qcobjects";
|
|
525
445
|
export class SwaggerUIController extends Controller {
|
|
526
446
|
component: any;
|
|
@@ -529,26 +449,26 @@ declare module "js/org.qcobjects.controllers.swagger" {
|
|
|
529
449
|
done(): void;
|
|
530
450
|
}
|
|
531
451
|
}
|
|
532
|
-
declare module "
|
|
452
|
+
declare module "ts/org.qcobjects.modal.controllers" {
|
|
533
453
|
import { Controller } from "qcobjects";
|
|
534
454
|
export class ModalController extends Controller {
|
|
535
455
|
component: any;
|
|
536
456
|
done(): void;
|
|
537
457
|
}
|
|
538
458
|
}
|
|
539
|
-
declare module "
|
|
459
|
+
declare module "ts/org.qcobjects.views" {
|
|
540
460
|
import { View } from "qcobjects";
|
|
541
461
|
export class GridView extends View {
|
|
542
462
|
}
|
|
543
463
|
}
|
|
544
|
-
declare module "
|
|
464
|
+
declare module "ts/org.qcobjects.tools.canvas" {
|
|
545
465
|
import { InheritClass } from "qcobjects";
|
|
546
466
|
export class CanvasTool extends InheritClass {
|
|
547
467
|
drawImageFilled(img: HTMLImageElement, canvas: HTMLCanvasElement, zoom?: number, px?: number, py?: number): void;
|
|
548
468
|
getImageResized(img: HTMLImageElement, width: number, height: number, resizedImage: HTMLImageElement, zoom?: number, px?: number, py?: number): HTMLCanvasElement;
|
|
549
469
|
}
|
|
550
470
|
}
|
|
551
|
-
declare module "
|
|
471
|
+
declare module "ts/org.qcobjects.tools.layouts" {
|
|
552
472
|
import { InheritClass } from "qcobjects";
|
|
553
473
|
export class BasicLayout extends InheritClass {
|
|
554
474
|
dependencies: any[];
|
|
@@ -560,7 +480,7 @@ declare module "js/org.qcobjects.tools.layouts" {
|
|
|
560
480
|
coloredBorder(): void;
|
|
561
481
|
}
|
|
562
482
|
}
|
|
563
|
-
declare module "
|
|
483
|
+
declare module "ts/org.qcobjects.cloud.auth.session.usertoken" {
|
|
564
484
|
import { ComplexStorageCache, InheritClass } from "qcobjects";
|
|
565
485
|
type TGlobalUser = {
|
|
566
486
|
username: string;
|
|
@@ -582,7 +502,7 @@ declare module "js/org.qcobjects.cloud.auth.session.usertoken" {
|
|
|
582
502
|
static closeGlobalSession(...args: any[]): void;
|
|
583
503
|
}
|
|
584
504
|
}
|
|
585
|
-
declare module "
|
|
505
|
+
declare module "ts/org.qcobjects.cloud.auth.session.data" {
|
|
586
506
|
import { InheritClass } from "qcobjects";
|
|
587
507
|
export class SessionData extends InheritClass {
|
|
588
508
|
__session_container__: any;
|
|
@@ -639,25 +559,16 @@ declare module "js/org.qcobjects.cloud.auth.session.data" {
|
|
|
639
559
|
set(name: string, value: any): void;
|
|
640
560
|
}
|
|
641
561
|
}
|
|
642
|
-
declare module "
|
|
562
|
+
declare module "index" {
|
|
643
563
|
/**
|
|
644
|
-
* QCObjects SDK
|
|
564
|
+
* QCObjects Framework SDK
|
|
645
565
|
* ________________
|
|
646
566
|
*
|
|
647
567
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
648
568
|
*
|
|
649
569
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
650
|
-
*
|
|
651
|
-
*
|
|
652
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
653
|
-
*
|
|
654
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
655
|
-
* complete source code of licensed works and modifications under the same
|
|
656
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
657
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
658
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
659
|
-
* work may be distributed under different terms and without source code for
|
|
660
|
-
* the larger work.
|
|
570
|
+
* QCObjects is licensed under the MIT License
|
|
571
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-sdk/blob/main/LICENSE.txt)
|
|
661
572
|
*
|
|
662
573
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
663
574
|
*
|
|
@@ -665,34 +576,30 @@ declare module "QCObjects-SDK" {
|
|
|
665
576
|
* license document, but changing it is not allowed.
|
|
666
577
|
*/
|
|
667
578
|
import { _top } from "qcobjects";
|
|
668
|
-
export { i18n_messages } from "
|
|
669
|
-
export { Contact } from "
|
|
670
|
-
export { ShadowedComponent, ButtonField, InputField, TextField, EmailField, ModalEnclosureComponent, ModalComponent, SwaggerUIComponent } from "
|
|
671
|
-
export { FormField, FieldComponentParams } from "
|
|
672
|
-
export { GridComponent, GridItemComponent } from "
|
|
673
|
-
export { ListItemComponent, ListComponent } from "
|
|
674
|
-
export { SlideListComponent, SlideItemComponent, SliderComponent } from "
|
|
675
|
-
export { NotificationComponent } from "
|
|
676
|
-
export { SplashScreenComponent, VideoSplashScreenComponent, CubeSplashScreenComponent } from "
|
|
677
|
-
export { GenericController } from "
|
|
678
|
-
export { ListController, ListControllerParams } from "
|
|
679
|
-
export { GridController, DataGridController } from "
|
|
680
|
-
export { SliderController } from "
|
|
681
|
-
export { FormController, FormValidations } from "
|
|
682
|
-
export { SwaggerUIController } from "
|
|
683
|
-
export { Fade, Move, MoveXInFromRight, MoveXInFromLeft, MoveYInFromBottom, MoveYInFromTop, RotateX, RotateY, RotateZ, Rotate, Radius, Resize, WipeLeft, WipeRight, WipeUp, WipeDown, ModalFade, ModalMoveUp, ModalMoveDown } from "
|
|
684
|
-
export { ModalController } from "
|
|
685
|
-
export { GridView } from "
|
|
686
|
-
export { CanvasTool } from "
|
|
687
|
-
export { BasicLayout } from "
|
|
688
|
-
export { SessionUserToken } from "
|
|
689
|
-
export { SessionData } from "
|
|
579
|
+
export { i18n_messages } from "ts/org.qcobjects.i18n_messages";
|
|
580
|
+
export { Contact } from "ts/org.qcobjects.models";
|
|
581
|
+
export { ShadowedComponent, ButtonField, InputField, TextField, EmailField, ModalEnclosureComponent, ModalComponent, SwaggerUIComponent } from "ts/org.qcobjects.components";
|
|
582
|
+
export { FormField, FieldComponentParams } from "ts/org.qcobjects.base.components";
|
|
583
|
+
export { GridComponent, GridItemComponent } from "ts/org.qcobjects.components.grid";
|
|
584
|
+
export { ListItemComponent, ListComponent } from "ts/org.qcobjects.components.list";
|
|
585
|
+
export { SlideListComponent, SlideItemComponent, SliderComponent } from "ts/org.qcobjects.components.slider";
|
|
586
|
+
export { NotificationComponent } from "ts/org.qcobjects.components.notifications";
|
|
587
|
+
export { SplashScreenComponent, VideoSplashScreenComponent, CubeSplashScreenComponent } from "ts/org.qcobjects.components.splashscreen";
|
|
588
|
+
export { GenericController } from "ts/org.qcobjects.controllers";
|
|
589
|
+
export { ListController, ListControllerParams } from "ts/org.qcobjects.controllers.list";
|
|
590
|
+
export { GridController, DataGridController } from "ts/org.qcobjects.controllers.grid";
|
|
591
|
+
export { SliderController } from "ts/org.qcobjects.controllers.slider";
|
|
592
|
+
export { FormController, FormValidations } from "ts/org.qcobjects.controllers.form";
|
|
593
|
+
export { SwaggerUIController } from "ts/org.qcobjects.controllers.swagger";
|
|
594
|
+
export { Fade, Move, MoveXInFromRight, MoveXInFromLeft, MoveYInFromBottom, MoveYInFromTop, RotateX, RotateY, RotateZ, Rotate, Radius, Resize, WipeLeft, WipeRight, WipeUp, WipeDown, ModalFade, ModalMoveUp, ModalMoveDown } from "ts/org.qcobjects.effects";
|
|
595
|
+
export { ModalController } from "ts/org.qcobjects.modal.controllers";
|
|
596
|
+
export { GridView } from "ts/org.qcobjects.views";
|
|
597
|
+
export { CanvasTool } from "ts/org.qcobjects.tools.canvas";
|
|
598
|
+
export { BasicLayout } from "ts/org.qcobjects.tools.layouts";
|
|
599
|
+
export { SessionUserToken } from "ts/org.qcobjects.cloud.auth.session.usertoken";
|
|
600
|
+
export { SessionData } from "ts/org.qcobjects.cloud.auth.session.data";
|
|
690
601
|
export default _top;
|
|
691
602
|
}
|
|
692
|
-
declare module "
|
|
693
|
-
import * as sdk from "QCObjects-SDK";
|
|
694
|
-
export default sdk;
|
|
695
|
-
}
|
|
696
|
-
declare module "js/org.qcobjects.tools" { }
|
|
603
|
+
declare module "ts/org.qcobjects.tools" { }
|
|
697
604
|
|
|
698
605
|
export {};
|
package/src/css/basic-layout.css
CHANGED
|
@@ -1,27 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects SDK
|
|
2
|
+
* QCObjects Framework SDK
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-sdk/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
|
-
|
|
22
|
-
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
23
|
-
* license document, but changing it is not allowed.
|
|
24
|
-
*/
|
|
12
|
+
*/
|
|
25
13
|
|
|
26
14
|
@charset "UTF-8";
|
|
27
15
|
/* CSS Document */
|
package/src/index.ts
CHANGED
|
@@ -1,2 +1,118 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-empty-function */
|
|
2
|
+
/**
|
|
3
|
+
* QCObjects Framework SDK
|
|
4
|
+
* ________________
|
|
5
|
+
*
|
|
6
|
+
* Author: Jean Machuca <correojean@gmail.com>
|
|
7
|
+
*
|
|
8
|
+
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-sdk/blob/main/LICENSE.txt)
|
|
11
|
+
*
|
|
12
|
+
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
13
|
+
*
|
|
14
|
+
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
15
|
+
* license document, but changing it is not allowed.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
import { CONFIG, GlobalSettings, _top } from "qcobjects";
|
|
19
|
+
export {i18n_messages} from "./ts/org.qcobjects.i18n_messages";
|
|
20
|
+
export {Contact} from "./ts/org.qcobjects.models";
|
|
21
|
+
export {
|
|
22
|
+
ShadowedComponent,
|
|
23
|
+
ButtonField,
|
|
24
|
+
InputField,
|
|
25
|
+
TextField,
|
|
26
|
+
EmailField,
|
|
27
|
+
ModalEnclosureComponent,
|
|
28
|
+
ModalComponent,
|
|
29
|
+
SwaggerUIComponent
|
|
30
|
+
} from "./ts/org.qcobjects.components";
|
|
31
|
+
export {FormField, FieldComponentParams} from "./ts/org.qcobjects.base.components";
|
|
32
|
+
export {
|
|
33
|
+
GridComponent,
|
|
34
|
+
GridItemComponent
|
|
35
|
+
} from "./ts/org.qcobjects.components.grid";
|
|
36
|
+
export {
|
|
37
|
+
ListItemComponent,
|
|
38
|
+
ListComponent
|
|
39
|
+
} from "./ts/org.qcobjects.components.list";
|
|
40
|
+
export {
|
|
41
|
+
SlideListComponent,
|
|
42
|
+
SlideItemComponent,
|
|
43
|
+
SliderComponent
|
|
44
|
+
} from "./ts/org.qcobjects.components.slider";
|
|
45
|
+
export { NotificationComponent } from "./ts/org.qcobjects.components.notifications";
|
|
46
|
+
export {
|
|
47
|
+
SplashScreenComponent,
|
|
48
|
+
VideoSplashScreenComponent,
|
|
49
|
+
CubeSplashScreenComponent
|
|
50
|
+
} from "./ts/org.qcobjects.components.splashscreen";
|
|
51
|
+
export { GenericController } from "./ts/org.qcobjects.controllers";
|
|
52
|
+
export { ListController, ListControllerParams } from "./ts/org.qcobjects.controllers.list";
|
|
53
|
+
export { GridController, DataGridController } from "./ts/org.qcobjects.controllers.grid";
|
|
54
|
+
export { SliderController } from "./ts/org.qcobjects.controllers.slider";
|
|
55
|
+
export { FormController, FormValidations } from "./ts/org.qcobjects.controllers.form";
|
|
56
|
+
export { SwaggerUIController } from "./ts/org.qcobjects.controllers.swagger";
|
|
57
|
+
export {
|
|
58
|
+
Fade, Move, MoveXInFromRight,
|
|
59
|
+
MoveXInFromLeft,
|
|
60
|
+
MoveYInFromBottom,
|
|
61
|
+
MoveYInFromTop,
|
|
62
|
+
RotateX,
|
|
63
|
+
RotateY,
|
|
64
|
+
RotateZ,
|
|
65
|
+
Rotate,
|
|
66
|
+
Radius,
|
|
67
|
+
Resize,
|
|
68
|
+
WipeLeft,
|
|
69
|
+
WipeRight,
|
|
70
|
+
WipeUp,
|
|
71
|
+
WipeDown,
|
|
72
|
+
ModalFade, ModalMoveUp, ModalMoveDown
|
|
73
|
+
} from "./ts/org.qcobjects.effects";
|
|
74
|
+
export { ModalController } from "./ts/org.qcobjects.modal.controllers";
|
|
75
|
+
export { GridView } from "./ts/org.qcobjects.views";
|
|
76
|
+
export { CanvasTool } from "./ts/org.qcobjects.tools.canvas";
|
|
77
|
+
export { BasicLayout } from "./ts/org.qcobjects.tools.layouts";
|
|
78
|
+
export { SessionUserToken } from "./ts/org.qcobjects.cloud.auth.session.usertoken";
|
|
79
|
+
export { SessionData } from "./ts/org.qcobjects.cloud.auth.session.data";
|
|
80
|
+
|
|
81
|
+
// eslint-disable-next-line camelcase
|
|
82
|
+
(function __qcobjects_sdk__(_top: any) {
|
|
83
|
+
"use strict";
|
|
84
|
+
if (typeof Object.defineProperty !== "undefined" && typeof _top !== "undefined") {
|
|
85
|
+
try {
|
|
86
|
+
Object.defineProperty(_top, "__qcobjects_sdk__", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
configurable: false,
|
|
89
|
+
writable: false,
|
|
90
|
+
// eslint-disable-next-line camelcase
|
|
91
|
+
value: __qcobjects_sdk__,
|
|
92
|
+
});
|
|
93
|
+
} catch (e) {
|
|
94
|
+
if (typeof _top.__qcobjects_sdk__ !== "undefined") {
|
|
95
|
+
_top.__qcobjects_sdk__.__loaded__ = true;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (typeof _top.__qcobjects_sdk__.__loaded__ === "undefined") {
|
|
101
|
+
_top.__qcobjects_sdk__.__loaded__ = true;
|
|
102
|
+
if (typeof _top === "undefined") {
|
|
103
|
+
throw Error("Top context empty: It should either global, module or window");
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const __start__ = GlobalSettings.__start__.bind(_top);
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
_top._sdk_ = Promise.resolve().then(() => {
|
|
110
|
+
CONFIG.set("useSDK", true);
|
|
111
|
+
__start__();
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
})(_top);
|
|
117
|
+
|
|
118
|
+
export default _top;
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects SDK
|
|
2
|
+
* QCObjects Framework SDK
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-sdk/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects SDK
|
|
2
|
+
* QCObjects Framework SDK
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-sdk/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects SDK
|
|
2
|
+
* QCObjects Framework SDK
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-sdk/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|