qcobjects-sdk 2.5.105-beta → 2.5.105
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 +47 -0
- package/VERSION +1 -1
- package/build/index.js +137 -35
- package/build/{js → ts}/org.qcobjects.effects.base.js +3 -19
- package/build/{js → ts}/org.qcobjects.effects.extended.js +10 -58
- package/package.json +1 -1
- package/public/browser/index.js +41 -114
- package/public/browser/index.js.map +3 -3
- package/public/cjs/index.cjs +100 -115
- package/public/cjs/index.cjs.map +3 -3
- package/public/esm/index.mjs +97 -172
- package/public/esm/index.mjs.map +3 -3
- package/public/types/index.d.ts +57 -141
- package/src/index.ts +127 -2
- package/src/{js → ts}/org.qcobjects.effects.base.ts +9 -25
- package/src/{js → ts}/org.qcobjects.effects.extended.ts +30 -78
- 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/src/QCObjects-SDK.ts +0 -127
- /package/build/{js → ts}/org.qcobjects.base.components.js +0 -0
- /package/build/{js → ts}/org.qcobjects.cloud.auth.session.data.js +0 -0
- /package/build/{js → ts}/org.qcobjects.cloud.auth.session.usertoken.js +0 -0
- /package/build/{js → ts}/org.qcobjects.components.grid.js +0 -0
- /package/build/{js → ts}/org.qcobjects.components.js +0 -0
- /package/build/{js → ts}/org.qcobjects.components.list.js +0 -0
- /package/build/{js → ts}/org.qcobjects.components.notifications.js +0 -0
- /package/build/{js → ts}/org.qcobjects.components.slider.js +0 -0
- /package/build/{js → ts}/org.qcobjects.components.splashscreen.js +0 -0
- /package/build/{js → ts}/org.qcobjects.controllers.form.js +0 -0
- /package/build/{js → ts}/org.qcobjects.controllers.grid.js +0 -0
- /package/build/{js → ts}/org.qcobjects.controllers.js +0 -0
- /package/build/{js → ts}/org.qcobjects.controllers.list.js +0 -0
- /package/build/{js → ts}/org.qcobjects.controllers.slider.js +0 -0
- /package/build/{js → ts}/org.qcobjects.controllers.swagger.js +0 -0
- /package/build/{js → ts}/org.qcobjects.effects.js +0 -0
- /package/build/{js → ts}/org.qcobjects.i18n_messages.js +0 -0
- /package/build/{js → ts}/org.qcobjects.modal.controllers.js +0 -0
- /package/build/{js → ts}/org.qcobjects.modal.effects.js +0 -0
- /package/build/{js → ts}/org.qcobjects.models.js +0 -0
- /package/build/{js → ts}/org.qcobjects.tools.canvas.js +0 -0
- /package/build/{js → ts}/org.qcobjects.tools.js +0 -0
- /package/build/{js → ts}/org.qcobjects.tools.layouts.js +0 -0
- /package/build/{js → ts}/org.qcobjects.views.js +0 -0
- /package/src/{js → ts}/org.qcobjects.base.components.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.cloud.auth.session.data.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.cloud.auth.session.usertoken.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.components.grid.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.components.list.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.components.notifications.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.components.slider.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.components.splashscreen.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.components.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.controllers.form.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.controllers.grid.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.controllers.list.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.controllers.slider.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.controllers.swagger.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.controllers.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.effects.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.i18n_messages.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.modal.controllers.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.modal.effects.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.models.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.tools.canvas.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.tools.layouts.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.tools.ts +0 -0
- /package/src/{js → ts}/org.qcobjects.views.ts +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: Node.js Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*.*.*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
with:
|
|
14
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
15
|
+
ref: ${{ github.ref }}
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: 22
|
|
19
|
+
- run: npm i --legacy-peer-deps
|
|
20
|
+
- run: npm test
|
|
21
|
+
|
|
22
|
+
publish-npm:
|
|
23
|
+
needs: build
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
permissions:
|
|
26
|
+
contents: read
|
|
27
|
+
id-token: write
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/checkout@v4
|
|
30
|
+
with:
|
|
31
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
+
ref: ${{ github.ref }}
|
|
33
|
+
- uses: actions/setup-node@v4
|
|
34
|
+
with:
|
|
35
|
+
node-version: 22
|
|
36
|
+
- name: Upgrade npm for OIDC support (requires >=11.5.1)
|
|
37
|
+
run: npm install -g npm@latest
|
|
38
|
+
- run: npm i --legacy-peer-deps
|
|
39
|
+
- name: Publish to npm
|
|
40
|
+
run: |
|
|
41
|
+
if [[ "${{ github.ref }}" == *-beta ]]; then
|
|
42
|
+
npm publish --tag beta
|
|
43
|
+
elif [[ "${{ github.ref }}" == *-lts ]]; then
|
|
44
|
+
npm publish --tag lts
|
|
45
|
+
else
|
|
46
|
+
npm publish
|
|
47
|
+
fi
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.5.105
|
|
1
|
+
2.5.105
|
package/build/index.js
CHANGED
|
@@ -1,37 +1,139 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-empty-function */
|
|
3
|
+
/**
|
|
4
|
+
* QCObjects SDK 2.5
|
|
5
|
+
* ________________
|
|
6
|
+
*
|
|
7
|
+
* Author: Jean Machuca <correojean@gmail.com>
|
|
8
|
+
*
|
|
9
|
+
* Cross Browser Javascript Framework for MVC Patterns
|
|
10
|
+
* QuickCorp/QCObjects is licensed under the
|
|
11
|
+
* GNU Lesser General Public License v3.0
|
|
12
|
+
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
13
|
+
*
|
|
14
|
+
* Permissions of this copyleft license are conditioned on making available
|
|
15
|
+
* complete source code of licensed works and modifications under the same
|
|
16
|
+
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
17
|
+
* Contributors provide an express grant of patent rights. However, a larger
|
|
18
|
+
* work using the licensed work through interfaces provided by the licensed
|
|
19
|
+
* work may be distributed under different terms and without source code for
|
|
20
|
+
* the larger work.
|
|
21
|
+
*
|
|
22
|
+
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
23
|
+
*
|
|
24
|
+
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
25
|
+
* license document, but changing it is not allowed.
|
|
26
|
+
*/
|
|
35
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
|
|
37
|
-
exports.
|
|
28
|
+
exports.ModalController = exports.ModalMoveDown = exports.ModalMoveUp = exports.ModalFade = exports.WipeDown = exports.WipeUp = exports.WipeRight = exports.WipeLeft = exports.Resize = exports.Radius = exports.Rotate = exports.RotateZ = exports.RotateY = exports.RotateX = exports.MoveYInFromTop = exports.MoveYInFromBottom = exports.MoveXInFromLeft = exports.MoveXInFromRight = exports.Move = exports.Fade = exports.SwaggerUIController = exports.FormValidations = exports.FormController = exports.SliderController = exports.DataGridController = exports.GridController = exports.ListController = exports.GenericController = exports.CubeSplashScreenComponent = exports.VideoSplashScreenComponent = exports.SplashScreenComponent = exports.NotificationComponent = exports.SliderComponent = exports.SlideItemComponent = exports.SlideListComponent = exports.ListComponent = exports.ListItemComponent = exports.GridItemComponent = exports.GridComponent = exports.FormField = exports.SwaggerUIComponent = exports.ModalComponent = exports.ModalEnclosureComponent = exports.EmailField = exports.TextField = exports.InputField = exports.ButtonField = exports.ShadowedComponent = exports.Contact = exports.i18n_messages = void 0;
|
|
29
|
+
exports.SessionData = exports.SessionUserToken = exports.BasicLayout = exports.CanvasTool = exports.GridView = void 0;
|
|
30
|
+
const qcobjects_1 = require("qcobjects");
|
|
31
|
+
var org_qcobjects_i18n_messages_1 = require("./ts/org.qcobjects.i18n_messages");
|
|
32
|
+
Object.defineProperty(exports, "i18n_messages", { enumerable: true, get: function () { return org_qcobjects_i18n_messages_1.i18n_messages; } });
|
|
33
|
+
var org_qcobjects_models_1 = require("./ts/org.qcobjects.models");
|
|
34
|
+
Object.defineProperty(exports, "Contact", { enumerable: true, get: function () { return org_qcobjects_models_1.Contact; } });
|
|
35
|
+
var org_qcobjects_components_1 = require("./ts/org.qcobjects.components");
|
|
36
|
+
Object.defineProperty(exports, "ShadowedComponent", { enumerable: true, get: function () { return org_qcobjects_components_1.ShadowedComponent; } });
|
|
37
|
+
Object.defineProperty(exports, "ButtonField", { enumerable: true, get: function () { return org_qcobjects_components_1.ButtonField; } });
|
|
38
|
+
Object.defineProperty(exports, "InputField", { enumerable: true, get: function () { return org_qcobjects_components_1.InputField; } });
|
|
39
|
+
Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return org_qcobjects_components_1.TextField; } });
|
|
40
|
+
Object.defineProperty(exports, "EmailField", { enumerable: true, get: function () { return org_qcobjects_components_1.EmailField; } });
|
|
41
|
+
Object.defineProperty(exports, "ModalEnclosureComponent", { enumerable: true, get: function () { return org_qcobjects_components_1.ModalEnclosureComponent; } });
|
|
42
|
+
Object.defineProperty(exports, "ModalComponent", { enumerable: true, get: function () { return org_qcobjects_components_1.ModalComponent; } });
|
|
43
|
+
Object.defineProperty(exports, "SwaggerUIComponent", { enumerable: true, get: function () { return org_qcobjects_components_1.SwaggerUIComponent; } });
|
|
44
|
+
var org_qcobjects_base_components_1 = require("./ts/org.qcobjects.base.components");
|
|
45
|
+
Object.defineProperty(exports, "FormField", { enumerable: true, get: function () { return org_qcobjects_base_components_1.FormField; } });
|
|
46
|
+
var org_qcobjects_components_grid_1 = require("./ts/org.qcobjects.components.grid");
|
|
47
|
+
Object.defineProperty(exports, "GridComponent", { enumerable: true, get: function () { return org_qcobjects_components_grid_1.GridComponent; } });
|
|
48
|
+
Object.defineProperty(exports, "GridItemComponent", { enumerable: true, get: function () { return org_qcobjects_components_grid_1.GridItemComponent; } });
|
|
49
|
+
var org_qcobjects_components_list_1 = require("./ts/org.qcobjects.components.list");
|
|
50
|
+
Object.defineProperty(exports, "ListItemComponent", { enumerable: true, get: function () { return org_qcobjects_components_list_1.ListItemComponent; } });
|
|
51
|
+
Object.defineProperty(exports, "ListComponent", { enumerable: true, get: function () { return org_qcobjects_components_list_1.ListComponent; } });
|
|
52
|
+
var org_qcobjects_components_slider_1 = require("./ts/org.qcobjects.components.slider");
|
|
53
|
+
Object.defineProperty(exports, "SlideListComponent", { enumerable: true, get: function () { return org_qcobjects_components_slider_1.SlideListComponent; } });
|
|
54
|
+
Object.defineProperty(exports, "SlideItemComponent", { enumerable: true, get: function () { return org_qcobjects_components_slider_1.SlideItemComponent; } });
|
|
55
|
+
Object.defineProperty(exports, "SliderComponent", { enumerable: true, get: function () { return org_qcobjects_components_slider_1.SliderComponent; } });
|
|
56
|
+
var org_qcobjects_components_notifications_1 = require("./ts/org.qcobjects.components.notifications");
|
|
57
|
+
Object.defineProperty(exports, "NotificationComponent", { enumerable: true, get: function () { return org_qcobjects_components_notifications_1.NotificationComponent; } });
|
|
58
|
+
var org_qcobjects_components_splashscreen_1 = require("./ts/org.qcobjects.components.splashscreen");
|
|
59
|
+
Object.defineProperty(exports, "SplashScreenComponent", { enumerable: true, get: function () { return org_qcobjects_components_splashscreen_1.SplashScreenComponent; } });
|
|
60
|
+
Object.defineProperty(exports, "VideoSplashScreenComponent", { enumerable: true, get: function () { return org_qcobjects_components_splashscreen_1.VideoSplashScreenComponent; } });
|
|
61
|
+
Object.defineProperty(exports, "CubeSplashScreenComponent", { enumerable: true, get: function () { return org_qcobjects_components_splashscreen_1.CubeSplashScreenComponent; } });
|
|
62
|
+
var org_qcobjects_controllers_1 = require("./ts/org.qcobjects.controllers");
|
|
63
|
+
Object.defineProperty(exports, "GenericController", { enumerable: true, get: function () { return org_qcobjects_controllers_1.GenericController; } });
|
|
64
|
+
var org_qcobjects_controllers_list_1 = require("./ts/org.qcobjects.controllers.list");
|
|
65
|
+
Object.defineProperty(exports, "ListController", { enumerable: true, get: function () { return org_qcobjects_controllers_list_1.ListController; } });
|
|
66
|
+
var org_qcobjects_controllers_grid_1 = require("./ts/org.qcobjects.controllers.grid");
|
|
67
|
+
Object.defineProperty(exports, "GridController", { enumerable: true, get: function () { return org_qcobjects_controllers_grid_1.GridController; } });
|
|
68
|
+
Object.defineProperty(exports, "DataGridController", { enumerable: true, get: function () { return org_qcobjects_controllers_grid_1.DataGridController; } });
|
|
69
|
+
var org_qcobjects_controllers_slider_1 = require("./ts/org.qcobjects.controllers.slider");
|
|
70
|
+
Object.defineProperty(exports, "SliderController", { enumerable: true, get: function () { return org_qcobjects_controllers_slider_1.SliderController; } });
|
|
71
|
+
var org_qcobjects_controllers_form_1 = require("./ts/org.qcobjects.controllers.form");
|
|
72
|
+
Object.defineProperty(exports, "FormController", { enumerable: true, get: function () { return org_qcobjects_controllers_form_1.FormController; } });
|
|
73
|
+
Object.defineProperty(exports, "FormValidations", { enumerable: true, get: function () { return org_qcobjects_controllers_form_1.FormValidations; } });
|
|
74
|
+
var org_qcobjects_controllers_swagger_1 = require("./ts/org.qcobjects.controllers.swagger");
|
|
75
|
+
Object.defineProperty(exports, "SwaggerUIController", { enumerable: true, get: function () { return org_qcobjects_controllers_swagger_1.SwaggerUIController; } });
|
|
76
|
+
var org_qcobjects_effects_1 = require("./ts/org.qcobjects.effects");
|
|
77
|
+
Object.defineProperty(exports, "Fade", { enumerable: true, get: function () { return org_qcobjects_effects_1.Fade; } });
|
|
78
|
+
Object.defineProperty(exports, "Move", { enumerable: true, get: function () { return org_qcobjects_effects_1.Move; } });
|
|
79
|
+
Object.defineProperty(exports, "MoveXInFromRight", { enumerable: true, get: function () { return org_qcobjects_effects_1.MoveXInFromRight; } });
|
|
80
|
+
Object.defineProperty(exports, "MoveXInFromLeft", { enumerable: true, get: function () { return org_qcobjects_effects_1.MoveXInFromLeft; } });
|
|
81
|
+
Object.defineProperty(exports, "MoveYInFromBottom", { enumerable: true, get: function () { return org_qcobjects_effects_1.MoveYInFromBottom; } });
|
|
82
|
+
Object.defineProperty(exports, "MoveYInFromTop", { enumerable: true, get: function () { return org_qcobjects_effects_1.MoveYInFromTop; } });
|
|
83
|
+
Object.defineProperty(exports, "RotateX", { enumerable: true, get: function () { return org_qcobjects_effects_1.RotateX; } });
|
|
84
|
+
Object.defineProperty(exports, "RotateY", { enumerable: true, get: function () { return org_qcobjects_effects_1.RotateY; } });
|
|
85
|
+
Object.defineProperty(exports, "RotateZ", { enumerable: true, get: function () { return org_qcobjects_effects_1.RotateZ; } });
|
|
86
|
+
Object.defineProperty(exports, "Rotate", { enumerable: true, get: function () { return org_qcobjects_effects_1.Rotate; } });
|
|
87
|
+
Object.defineProperty(exports, "Radius", { enumerable: true, get: function () { return org_qcobjects_effects_1.Radius; } });
|
|
88
|
+
Object.defineProperty(exports, "Resize", { enumerable: true, get: function () { return org_qcobjects_effects_1.Resize; } });
|
|
89
|
+
Object.defineProperty(exports, "WipeLeft", { enumerable: true, get: function () { return org_qcobjects_effects_1.WipeLeft; } });
|
|
90
|
+
Object.defineProperty(exports, "WipeRight", { enumerable: true, get: function () { return org_qcobjects_effects_1.WipeRight; } });
|
|
91
|
+
Object.defineProperty(exports, "WipeUp", { enumerable: true, get: function () { return org_qcobjects_effects_1.WipeUp; } });
|
|
92
|
+
Object.defineProperty(exports, "WipeDown", { enumerable: true, get: function () { return org_qcobjects_effects_1.WipeDown; } });
|
|
93
|
+
Object.defineProperty(exports, "ModalFade", { enumerable: true, get: function () { return org_qcobjects_effects_1.ModalFade; } });
|
|
94
|
+
Object.defineProperty(exports, "ModalMoveUp", { enumerable: true, get: function () { return org_qcobjects_effects_1.ModalMoveUp; } });
|
|
95
|
+
Object.defineProperty(exports, "ModalMoveDown", { enumerable: true, get: function () { return org_qcobjects_effects_1.ModalMoveDown; } });
|
|
96
|
+
var org_qcobjects_modal_controllers_1 = require("./ts/org.qcobjects.modal.controllers");
|
|
97
|
+
Object.defineProperty(exports, "ModalController", { enumerable: true, get: function () { return org_qcobjects_modal_controllers_1.ModalController; } });
|
|
98
|
+
var org_qcobjects_views_1 = require("./ts/org.qcobjects.views");
|
|
99
|
+
Object.defineProperty(exports, "GridView", { enumerable: true, get: function () { return org_qcobjects_views_1.GridView; } });
|
|
100
|
+
var org_qcobjects_tools_canvas_1 = require("./ts/org.qcobjects.tools.canvas");
|
|
101
|
+
Object.defineProperty(exports, "CanvasTool", { enumerable: true, get: function () { return org_qcobjects_tools_canvas_1.CanvasTool; } });
|
|
102
|
+
var org_qcobjects_tools_layouts_1 = require("./ts/org.qcobjects.tools.layouts");
|
|
103
|
+
Object.defineProperty(exports, "BasicLayout", { enumerable: true, get: function () { return org_qcobjects_tools_layouts_1.BasicLayout; } });
|
|
104
|
+
var org_qcobjects_cloud_auth_session_usertoken_1 = require("./ts/org.qcobjects.cloud.auth.session.usertoken");
|
|
105
|
+
Object.defineProperty(exports, "SessionUserToken", { enumerable: true, get: function () { return org_qcobjects_cloud_auth_session_usertoken_1.SessionUserToken; } });
|
|
106
|
+
var org_qcobjects_cloud_auth_session_data_1 = require("./ts/org.qcobjects.cloud.auth.session.data");
|
|
107
|
+
Object.defineProperty(exports, "SessionData", { enumerable: true, get: function () { return org_qcobjects_cloud_auth_session_data_1.SessionData; } });
|
|
108
|
+
// eslint-disable-next-line camelcase
|
|
109
|
+
(function __qcobjects_sdk__(_top) {
|
|
110
|
+
"use strict";
|
|
111
|
+
if (typeof Object.defineProperty !== "undefined" && typeof _top !== "undefined") {
|
|
112
|
+
try {
|
|
113
|
+
Object.defineProperty(_top, "__qcobjects_sdk__", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
configurable: false,
|
|
116
|
+
writable: false,
|
|
117
|
+
// eslint-disable-next-line camelcase
|
|
118
|
+
value: __qcobjects_sdk__,
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
catch (e) {
|
|
122
|
+
if (typeof _top.__qcobjects_sdk__ !== "undefined") {
|
|
123
|
+
_top.__qcobjects_sdk__.__loaded__ = true;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
if (typeof _top.__qcobjects_sdk__.__loaded__ === "undefined") {
|
|
128
|
+
_top.__qcobjects_sdk__.__loaded__ = true;
|
|
129
|
+
if (typeof _top === "undefined") {
|
|
130
|
+
throw Error("Top context empty: It should either global, module or window");
|
|
131
|
+
}
|
|
132
|
+
const __start__ = qcobjects_1.GlobalSettings.__start__.bind(_top);
|
|
133
|
+
_top._sdk_ = Promise.resolve().then(() => {
|
|
134
|
+
qcobjects_1.CONFIG.set("useSDK", true);
|
|
135
|
+
__start__();
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
})(qcobjects_1._top);
|
|
139
|
+
exports.default = qcobjects_1._top;
|
|
@@ -11,7 +11,7 @@ class Fade extends qcobjects_1.Effect {
|
|
|
11
11
|
}
|
|
12
12
|
apply(element, alphaFrom, alphaTo) {
|
|
13
13
|
const da = alphaTo - alphaFrom;
|
|
14
|
-
|
|
14
|
+
super.animate({
|
|
15
15
|
duration: this.duration,
|
|
16
16
|
timing(timeFraction) {
|
|
17
17
|
return timeFraction;
|
|
@@ -26,7 +26,7 @@ class Fade extends qcobjects_1.Effect {
|
|
|
26
26
|
}
|
|
27
27
|
static apply(element, alphaFrom, alphaTo) {
|
|
28
28
|
const da = alphaTo - alphaFrom;
|
|
29
|
-
|
|
29
|
+
super.animate({
|
|
30
30
|
duration: this.duration,
|
|
31
31
|
timing(timeFraction) {
|
|
32
32
|
return timeFraction;
|
|
@@ -39,14 +39,6 @@ class Fade extends qcobjects_1.Effect {
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
// eslint-disable-next-line no-unused-vars
|
|
43
|
-
static animate(arg0) {
|
|
44
|
-
throw new Error("Method not implemented.");
|
|
45
|
-
}
|
|
46
|
-
// eslint-disable-next-line no-unused-vars
|
|
47
|
-
animate(arg0) {
|
|
48
|
-
throw new Error("Method not implemented.");
|
|
49
|
-
}
|
|
50
42
|
}
|
|
51
43
|
exports.Fade = Fade;
|
|
52
44
|
class Move extends qcobjects_1.Effect {
|
|
@@ -56,7 +48,7 @@ class Move extends qcobjects_1.Effect {
|
|
|
56
48
|
const dx = xto - xfrom;
|
|
57
49
|
const dy = yto - yfrom;
|
|
58
50
|
element.style.transform = "translate(" + xfrom + "px," + yfrom + "px)";
|
|
59
|
-
|
|
51
|
+
super.animate({
|
|
60
52
|
duration: this.duration,
|
|
61
53
|
timing(timeFraction) {
|
|
62
54
|
return timeFraction;
|
|
@@ -70,14 +62,6 @@ class Move extends qcobjects_1.Effect {
|
|
|
70
62
|
}
|
|
71
63
|
});
|
|
72
64
|
}
|
|
73
|
-
// eslint-disable-next-line no-unused-vars
|
|
74
|
-
static animate(arg0) {
|
|
75
|
-
throw new Error("Method not implemented.");
|
|
76
|
-
}
|
|
77
|
-
// eslint-disable-next-line no-unused-vars
|
|
78
|
-
animate(arg0) {
|
|
79
|
-
throw new Error("Method not implemented.");
|
|
80
|
-
}
|
|
81
65
|
}
|
|
82
66
|
exports.Move = Move;
|
|
83
67
|
(0, qcobjects_1.Package)("org.qcobjects.effects.base", [
|
|
@@ -60,7 +60,7 @@ class RotateX extends qcobjects_1.Effect {
|
|
|
60
60
|
static duration;
|
|
61
61
|
static apply(element, angleFrom, angleTo) {
|
|
62
62
|
const da = angleTo - angleFrom;
|
|
63
|
-
|
|
63
|
+
super.animate({
|
|
64
64
|
duration: this.duration,
|
|
65
65
|
timing(timeFraction) {
|
|
66
66
|
return timeFraction;
|
|
@@ -73,14 +73,6 @@ class RotateX extends qcobjects_1.Effect {
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
// eslint-disable-next-line no-unused-vars
|
|
77
|
-
static animate(arg0) {
|
|
78
|
-
throw new Error("Method not implemented.");
|
|
79
|
-
}
|
|
80
|
-
// eslint-disable-next-line no-unused-vars
|
|
81
|
-
animate(arg0) {
|
|
82
|
-
throw new Error("Method not implemented.");
|
|
83
|
-
}
|
|
84
76
|
}
|
|
85
77
|
exports.RotateX = RotateX;
|
|
86
78
|
class RotateY extends qcobjects_1.Effect {
|
|
@@ -88,7 +80,7 @@ class RotateY extends qcobjects_1.Effect {
|
|
|
88
80
|
static duration;
|
|
89
81
|
static apply(element, angleFrom, angleTo) {
|
|
90
82
|
const da = angleTo - angleFrom;
|
|
91
|
-
|
|
83
|
+
super.animate({
|
|
92
84
|
duration: this.duration,
|
|
93
85
|
timing(timeFraction) {
|
|
94
86
|
return timeFraction;
|
|
@@ -101,21 +93,13 @@ class RotateY extends qcobjects_1.Effect {
|
|
|
101
93
|
}
|
|
102
94
|
});
|
|
103
95
|
}
|
|
104
|
-
// eslint-disable-next-line no-unused-vars
|
|
105
|
-
static animate(arg0) {
|
|
106
|
-
throw new Error("Method not implemented.");
|
|
107
|
-
}
|
|
108
|
-
// eslint-disable-next-line no-unused-vars
|
|
109
|
-
animate(arg0) {
|
|
110
|
-
throw new Error("Method not implemented.");
|
|
111
|
-
}
|
|
112
96
|
}
|
|
113
97
|
exports.RotateY = RotateY;
|
|
114
98
|
class RotateZ extends qcobjects_1.Effect {
|
|
115
99
|
duration = 1000;
|
|
116
100
|
apply(element, angleFrom, angleTo) {
|
|
117
101
|
const da = angleTo - angleFrom;
|
|
118
|
-
|
|
102
|
+
super.animate({
|
|
119
103
|
duration: this.duration,
|
|
120
104
|
timing(timeFraction) {
|
|
121
105
|
return timeFraction;
|
|
@@ -128,17 +112,13 @@ class RotateZ extends qcobjects_1.Effect {
|
|
|
128
112
|
}
|
|
129
113
|
});
|
|
130
114
|
}
|
|
131
|
-
// eslint-disable-next-line no-unused-vars
|
|
132
|
-
animate(arg0) {
|
|
133
|
-
throw new Error("Method not implemented.");
|
|
134
|
-
}
|
|
135
115
|
}
|
|
136
116
|
exports.RotateZ = RotateZ;
|
|
137
117
|
class Rotate extends qcobjects_1.Effect {
|
|
138
118
|
duration = 1000;
|
|
139
119
|
apply(element, angleFrom, angleTo) {
|
|
140
120
|
const da = angleTo - angleFrom;
|
|
141
|
-
|
|
121
|
+
super.animate({
|
|
142
122
|
duration: this.duration,
|
|
143
123
|
timing(timeFraction) {
|
|
144
124
|
return timeFraction;
|
|
@@ -151,17 +131,13 @@ class Rotate extends qcobjects_1.Effect {
|
|
|
151
131
|
}
|
|
152
132
|
});
|
|
153
133
|
}
|
|
154
|
-
// eslint-disable-next-line no-unused-vars
|
|
155
|
-
animate(arg0) {
|
|
156
|
-
throw new Error("Method not implemented.");
|
|
157
|
-
}
|
|
158
134
|
}
|
|
159
135
|
exports.Rotate = Rotate;
|
|
160
136
|
class Radius extends qcobjects_1.Effect {
|
|
161
137
|
duration = 1000;
|
|
162
138
|
apply(element, radiusFrom, radiusTo) {
|
|
163
139
|
const dr = radiusTo - radiusFrom;
|
|
164
|
-
|
|
140
|
+
super.animate({
|
|
165
141
|
duration: this.duration,
|
|
166
142
|
timing(timeFraction) {
|
|
167
143
|
return timeFraction;
|
|
@@ -174,17 +150,13 @@ class Radius extends qcobjects_1.Effect {
|
|
|
174
150
|
}
|
|
175
151
|
});
|
|
176
152
|
}
|
|
177
|
-
// eslint-disable-next-line no-unused-vars
|
|
178
|
-
animate(arg0) {
|
|
179
|
-
throw new Error("Method not implemented.");
|
|
180
|
-
}
|
|
181
153
|
}
|
|
182
154
|
exports.Radius = Radius;
|
|
183
155
|
class Resize extends qcobjects_1.Effect {
|
|
184
156
|
duration = 1000;
|
|
185
157
|
apply(element, scaleFrom, scaleTo) {
|
|
186
158
|
const ds = scaleTo - scaleFrom;
|
|
187
|
-
|
|
159
|
+
super.animate({
|
|
188
160
|
duration: this.duration,
|
|
189
161
|
timing(timeFraction) {
|
|
190
162
|
return timeFraction;
|
|
@@ -198,17 +170,13 @@ class Resize extends qcobjects_1.Effect {
|
|
|
198
170
|
}
|
|
199
171
|
});
|
|
200
172
|
}
|
|
201
|
-
// eslint-disable-next-line no-unused-vars
|
|
202
|
-
animate(arg0) {
|
|
203
|
-
throw new Error("Method not implemented.");
|
|
204
|
-
}
|
|
205
173
|
}
|
|
206
174
|
exports.Resize = Resize;
|
|
207
175
|
class WipeLeft extends qcobjects_1.Effect {
|
|
208
176
|
duration = 1000;
|
|
209
177
|
apply(element, scaleFrom, scaleTo) {
|
|
210
178
|
const ds = scaleTo - scaleFrom;
|
|
211
|
-
|
|
179
|
+
super.animate({
|
|
212
180
|
duration: this.duration,
|
|
213
181
|
timing(timeFraction) {
|
|
214
182
|
return timeFraction;
|
|
@@ -222,17 +190,13 @@ class WipeLeft extends qcobjects_1.Effect {
|
|
|
222
190
|
}
|
|
223
191
|
});
|
|
224
192
|
}
|
|
225
|
-
// eslint-disable-next-line no-unused-vars
|
|
226
|
-
animate(arg0) {
|
|
227
|
-
throw new Error("Method not implemented.");
|
|
228
|
-
}
|
|
229
193
|
}
|
|
230
194
|
exports.WipeLeft = WipeLeft;
|
|
231
195
|
class WipeRight extends qcobjects_1.Effect {
|
|
232
196
|
duration = 1000;
|
|
233
197
|
apply(element, scaleFrom, scaleTo) {
|
|
234
198
|
const ds = scaleTo - scaleFrom;
|
|
235
|
-
|
|
199
|
+
super.animate({
|
|
236
200
|
duration: this.duration,
|
|
237
201
|
timing(timeFraction) {
|
|
238
202
|
return timeFraction;
|
|
@@ -246,17 +210,13 @@ class WipeRight extends qcobjects_1.Effect {
|
|
|
246
210
|
}
|
|
247
211
|
});
|
|
248
212
|
}
|
|
249
|
-
// eslint-disable-next-line no-unused-vars
|
|
250
|
-
animate(arg0) {
|
|
251
|
-
throw new Error("Method not implemented.");
|
|
252
|
-
}
|
|
253
213
|
}
|
|
254
214
|
exports.WipeRight = WipeRight;
|
|
255
215
|
class WipeUp extends qcobjects_1.Effect {
|
|
256
216
|
duration = 1000;
|
|
257
217
|
apply(element, scaleFrom, scaleTo) {
|
|
258
218
|
const ds = scaleTo - scaleFrom;
|
|
259
|
-
|
|
219
|
+
super.animate({
|
|
260
220
|
duration: this.duration,
|
|
261
221
|
timing(timeFraction) {
|
|
262
222
|
return timeFraction;
|
|
@@ -270,17 +230,13 @@ class WipeUp extends qcobjects_1.Effect {
|
|
|
270
230
|
}
|
|
271
231
|
});
|
|
272
232
|
}
|
|
273
|
-
// eslint-disable-next-line no-unused-vars
|
|
274
|
-
animate(arg0) {
|
|
275
|
-
throw new Error("Method not implemented.");
|
|
276
|
-
}
|
|
277
233
|
}
|
|
278
234
|
exports.WipeUp = WipeUp;
|
|
279
235
|
class WipeDown extends qcobjects_1.Effect {
|
|
280
236
|
duration = 1000;
|
|
281
237
|
apply(element, scaleFrom, scaleTo) {
|
|
282
238
|
const ds = scaleTo - scaleFrom;
|
|
283
|
-
|
|
239
|
+
super.animate({
|
|
284
240
|
duration: this.duration,
|
|
285
241
|
timing(timeFraction) {
|
|
286
242
|
return timeFraction;
|
|
@@ -294,10 +250,6 @@ class WipeDown extends qcobjects_1.Effect {
|
|
|
294
250
|
}
|
|
295
251
|
});
|
|
296
252
|
}
|
|
297
|
-
// eslint-disable-next-line no-unused-vars
|
|
298
|
-
animate(arg0) {
|
|
299
|
-
throw new Error("Method not implemented.");
|
|
300
|
-
}
|
|
301
253
|
}
|
|
302
254
|
exports.WipeDown = WipeDown;
|
|
303
255
|
(0, qcobjects_1.Package)("org.qcobjects.effects.extended", [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjects-sdk",
|
|
3
|
-
"version": "2.5.105
|
|
3
|
+
"version": "2.5.105",
|
|
4
4
|
"description": "QCObjects SDK is a set of Controllers, Views and Components that are elementary and useful to assist developers to build applications under MVC patterns using QCObjects, Cross Browser Javascript Framework for MVC Patterns",
|
|
5
5
|
"main": "public/cjs/index.cjs",
|
|
6
6
|
"module": "public/esm/index.mjs",
|