qcobjects 2.4.94 → 2.4.97

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/README-es.pdf ADDED
Binary file
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ![logo](https://qcobjects.dev/qcobjects_01.png)
2
2
 
3
- [![GitHub license](https://img.shields.io/github/license/QuickCorp/QCObjects.svg)](https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FQuickCorp%2FQCObjects.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FQuickCorp%2FQCObjects?ref=badge_shield) [![](https://data.jsdelivr.com/v1/package/npm/qcobjects/badge)](https://www.jsdelivr.com/package/npm/qcobjects) [![Badge for version for Visual Studio Code extension Quickcorp.QCObjects-vscode](https://vsmarketplacebadge.apphb.com/version/Quickcorp.QCObjects-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=Quickcorp.QCObjects-vscode) [![Documentation Status](https://readthedocs.org/projects/qcobjects/badge/?version=latest)](https://qcobjects.readthedocs.io/?badge=latest) [![GitHub release](https://img.shields.io/github/issues/QuickCorp/QCObjects.svg)](https://github.com/QuickCorp/QCObjects/releases/) [![GitHub stars](https://img.shields.io/github/stars/QuickCorp/QCObjects.svg)](https://github.com/QuickCorp/QCObjects) [![npm version](https://badge.fury.io/js/qcobjects.svg)](https://badge.fury.io/js/qcobjects) ![apm: version](https://flat.badgen.net/apm/v/qcobjects-syntax?params) ![docker pulls](https://img.shields.io/docker/pulls/quickcorp/qcobjects.svg) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
3
+ [![GitHub license](https://img.shields.io/github/license/QuickCorp/QCObjects.svg)](https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FQuickCorp%2FQCObjects.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FQuickCorp%2FQCObjects?ref=badge_shield) [![](https://data.jsdelivr.com/v1/package/npm/qcobjects/badge)](https://www.jsdelivr.com/package/npm/qcobjects) [![Documentation Status](https://readthedocs.org/projects/qcobjects/badge/?version=latest)](https://qcobjects.readthedocs.io/?badge=latest) [![GitHub release](https://img.shields.io/github/issues/QuickCorp/QCObjects.svg)](https://github.com/QuickCorp/QCObjects/releases/) [![GitHub stars](https://img.shields.io/github/stars/QuickCorp/QCObjects.svg)](https://github.com/QuickCorp/QCObjects) [![npm version](https://badge.fury.io/js/qcobjects.svg)](https://badge.fury.io/js/qcobjects) ![apm: version](https://flat.badgen.net/apm/v/qcobjects-syntax?params) ![docker pulls](https://img.shields.io/docker/pulls/quickcorp/qcobjects.svg) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
4
4
  [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5295/badge)](https://bestpractices.coreinfrastructure.org/projects/5295)
5
5
 
6
6
 
@@ -92,61 +92,235 @@ _________________________
92
92
  - [Using CDNJS](#using-cdnjs)
93
93
  - [Reference](#reference)
94
94
  - [Essentials](#essentials)
95
- - [QC_Object](#qcobject)
95
+ - [QC\_Object](#qc_object)
96
96
  - [ComplexStorageCache](#complexstoragecache)
97
+ - [Usage:](#usage)
98
+ - [Example:](#example)
97
99
  - [asyncLoad](#asyncload)
100
+ - [Usage:](#usage-1)
101
+ - [Example:](#example-1)
98
102
  - [Class](#class)
99
- - [QC_Append, append method](#qcappend-append-method)
100
- - [The \_super\_ method](#the-super-method)
103
+ - [Usage:](#usage-2)
104
+ - [Example:](#example-2)
105
+ - [QC\_Append, append method](#qc_append-append-method)
106
+ - [Usage:](#usage-3)
107
+ - [Example:](#example-3)
108
+ - [The \_super\_ method](#the-_super_-method)
109
+ - [Usage:](#usage-4)
110
+ - [Example:](#example-4)
101
111
  - [New](#new)
112
+ - [Usage:](#usage-5)
113
+ - [Example:](#example-5)
102
114
  - [InheritClass](#inheritclass)
103
115
  - [ClassFactory](#classfactory)
104
- - [\_Crypt](#crypt)
116
+ - [Example:](#example-6)
117
+ - [\_Crypt](#_crypt)
118
+ - [Example (1):](#example-1)
119
+ - [Example (2):](#example-2)
105
120
  - [GLOBAL](#global)
121
+ - [Example:](#example-7)
106
122
  - [CONFIG](#config)
123
+ - [Usage from memory:](#usage-from-memory)
124
+ - [Usage from config.json:](#usage-from-configjson)
125
+ - [Usage from an encrypted config.json:](#usage-from-an-encrypted-configjson)
126
+ - [Dynamic CONFIG Settings](#dynamic-config-settings)
107
127
  - [Processor](#processor)
128
+ - [Usage:](#usage-6)
129
+ - [Example:](#example-8)
108
130
  - [waitUntil](#waituntil)
131
+ - [Usage:](#usage-7)
132
+ - [Example:](#example-9)
109
133
  - [Package](#package)
134
+ - [Usage:](#usage-8)
135
+ - [Example (1):](#example-1-1)
136
+ - [Example (2):](#example-2-1)
110
137
  - [Import](#import)
138
+ - [Usage:](#usage-9)
139
+ - [Example (1):](#example-1-2)
140
+ - [Example (2):](#example-2-2)
111
141
  - [Export](#export)
142
+ - [Usage:](#usage-10)
143
+ - [Example:](#example-10)
112
144
  - [Cast](#cast)
145
+ - [Usage:](#usage-11)
146
+ - [Example:](#example-11)
113
147
  - [Tag](#tag)
148
+ - [Usage:](#usage-12)
149
+ - [Example:](#example-12)
114
150
  - [Ready](#ready)
151
+ - [Usage:](#usage-13)
115
152
  - [Component Class](#component-class)
153
+ - [Properties](#properties)
154
+ - [Methods](#methods)
116
155
  - [Component HTML Tag](#component-html-tag)
156
+ - [Available attributes](#available-attributes)
157
+ - [The name Attribute](#the-name-attribute)
158
+ - [Usage:](#usage-14)
159
+ - [Example:](#example-13)
160
+ - [The cached Attribute](#the-cached-attribute)
161
+ - [Usage:](#usage-15)
162
+ - [The data property tag declaration](#the-data-property-tag-declaration)
163
+ - [The controllerClass Attribute](#the-controllerclass-attribute)
164
+ - [Usage:](#usage-16)
165
+ - [The viewClass Attribute](#the-viewclass-attribute)
166
+ - [Usage:](#usage-17)
167
+ - [The componentClass Attribute](#the-componentclass-attribute)
168
+ - [Usage:](#usage-18)
169
+ - [The effecClass Attribute](#the-effecclass-attribute)
170
+ - [Usage:](#usage-19)
171
+ - [The template-source Attribute](#the-template-source-attribute)
172
+ - [Usage:](#usage-20)
173
+ - [The tplextension Attribute](#the-tplextension-attribute)
174
+ - [Usage:](#usage-21)
175
+ - [ComponentURI](#componenturi)
176
+ - [Example:](#example-14)
177
+ - [componentLoader](#componentloader)
178
+ - [Usage:](#usage-22)
179
+ - [Example:](#example-15)
180
+ - [buildComponents](#buildcomponents)
181
+ - [Usage:](#usage-23)
182
+ - [Example:](#example-16)
117
183
  - [Controller](#controller)
118
184
  - [View](#view)
119
185
  - [VO](#vo)
120
186
  - [Service](#service)
187
+ - [Properties](#properties-1)
188
+ - [Methods](#methods-1)
121
189
  - [serviceLoader](#serviceloader)
190
+ - [Usage:](#usage-24)
191
+ - [Example:](#example-17)
122
192
  - [JSONService](#jsonservice)
193
+ - [Properties](#properties-2)
194
+ - [Methods](#methods-2)
195
+ - [Example:](#example-18)
123
196
  - [ConfigService](#configservice)
197
+ - [Example:](#example-19)
124
198
  - [SourceJS](#sourcejs)
199
+ - [Example:](#example-20)
125
200
  - [SourceCSS](#sourcecss)
126
201
  - [Effect](#effect)
202
+ - [Example:](#example-21)
127
203
  - [Timer](#timer)
204
+ - [Example:](#example-22)
128
205
  - [List and Math Functions](#list-and-math-functions)
129
206
  - [ArrayList](#arraylist)
130
207
  - [ArrayCollection](#arraycollection)
131
- - [[ArrayList or Array].unique](#arraylist-or-arrayunique)
132
- - [[ArrayList or Array].table](#arraylist-or-arraytable)
133
- - [[ArrayList or Array].sort](#arraylist-or-arraysort)
134
- - [[ArrayList or Array].sortBy](#arraylist-or-arraysortby)
135
- - [[ArrayList or Array].matrix](#arraylist-or-arraymatrix)
136
- - [[ArrayList or Array].matrix2d](#arraylist-or-arraymatrix2d)
137
- - [[ArrayList or Array].matrix3d](#arraylist-or-arraymatrix3d)
208
+ - [\[ArrayList or Array\].unique](#arraylist-or-arrayunique)
209
+ - [\[ArrayList or Array\].table](#arraylist-or-arraytable)
210
+ - [\[ArrayList or Array\].sort](#arraylist-or-arraysort)
211
+ - [\[ArrayList or Array\].sortBy](#arraylist-or-arraysortby)
212
+ - [\[ArrayList or Array\].matrix](#arraylist-or-arraymatrix)
213
+ - [Usage](#usage-25)
214
+ - [\[ArrayList or Array\].matrix2d](#arraylist-or-arraymatrix2d)
215
+ - [\[ArrayList or Array\].matrix3d](#arraylist-or-arraymatrix3d)
138
216
  - [range](#range)
217
+ - [Usage](#usage-26)
139
218
  - [Array.sum](#arraysum)
140
219
  - [Array.avg](#arrayavg)
141
220
  - [Array.min](#arraymin)
142
221
  - [Array.max](#arraymax)
143
222
  - [SDK](#sdk)
144
223
  - [SDK Components](#sdk-components)
224
+ - [org.quickcorp.components.ShadowedComponent](#orgquickcorpcomponentsshadowedcomponent)
225
+ - [Usage:](#usage-27)
226
+ - [org.quickcorp.components.FormField](#orgquickcorpcomponentsformfield)
227
+ - [Usage:](#usage-28)
228
+ - [FormField.executeBindings():](#formfieldexecutebindings)
229
+ - [Data Binding Event Change:](#data-binding-event-change)
230
+ - [Data Binding Event Blur:](#data-binding-event-blur)
231
+ - [Data Binding Event Focus:](#data-binding-event-focus)
232
+ - [Data Binding Event Keydown:](#data-binding-event-keydown)
233
+ - [org.quickcorp.components.ButtonField](#orgquickcorpcomponentsbuttonfield)
234
+ - [Usage:](#usage-29)
235
+ - [org.quickcorp.components.InputField](#orgquickcorpcomponentsinputfield)
236
+ - [Usage:](#usage-30)
237
+ - [org.quickcorp.components.TextField](#orgquickcorpcomponentstextfield)
238
+ - [Usage:](#usage-31)
239
+ - [org.quickcorp.components.EmailField](#orgquickcorpcomponentsemailfield)
240
+ - [Usage:](#usage-32)
241
+ - [org.quickcorp.components.GridComponent](#orgquickcorpcomponentsgridcomponent)
242
+ - [Usage:](#usage-33)
243
+ - [Example:](#example-23)
244
+ - [org.quickcorp.components.ModalEnclosureComponent](#orgquickcorpcomponentsmodalenclosurecomponent)
245
+ - [org.quickcorp.components.ModalComponent](#orgquickcorpcomponentsmodalcomponent)
246
+ - [org.quickcorp.components.SwaggerUIComponent](#orgquickcorpcomponentsswaggeruicomponent)
247
+ - [Usage:](#usage-34)
248
+ - [org.quickcorp.components.splashscreen.VideoSplashScreenComponent](#orgquickcorpcomponentssplashscreenvideosplashscreencomponent)
249
+ - [Example:](#example-24)
145
250
  - [SDK Controllers](#sdk-controllers)
251
+ - [org.quickcorp.controllers.GridController](#orgquickcorpcontrollersgridcontroller)
252
+ - [org.quickcorp.controllers.DataGridController](#orgquickcorpcontrollersdatagridcontroller)
253
+ - [Usage:](#usage-35)
254
+ - [Example:](#example-25)
255
+ - [org.quickcorp.controllers.ModalController](#orgquickcorpcontrollersmodalcontroller)
256
+ - [org.quickcorp.controllers.FormValidations](#orgquickcorpcontrollersformvalidations)
257
+ - [Usage:](#usage-36)
258
+ - [org.quickcorp.controllers.FormController](#orgquickcorpcontrollersformcontroller)
259
+ - [\[FormController\].serviceClass](#formcontrollerserviceclass)
260
+ - [\[FormController\].formSettings](#formcontrollerformsettings)
261
+ - [\[FormController\].validations](#formcontrollervalidations)
262
+ - [Usage:](#usage-37)
263
+ - [\[FormController\].formSaveTouchHandler](#formcontrollerformsavetouchhandler)
264
+ - [A complete example of FormController](#a-complete-example-of-formcontroller)
265
+ - [org.quickcorp.controllers.SwaggerUIController](#orgquickcorpcontrollersswaggeruicontroller)
266
+ - [Usage:](#usage-38)
146
267
  - [SDK Effects](#sdk-effects)
268
+ - [org.quickcorp.tools.effects.Move](#orgquickcorptoolseffectsmove)
269
+ - [Usage:](#usage-39)
270
+ - [Example:](#example-26)
271
+ - [org.quickcorp.tools.effects.MoveXInFromRight](#orgquickcorptoolseffectsmovexinfromright)
272
+ - [Usage:](#usage-40)
273
+ - [Example:](#example-27)
274
+ - [org.quickcorp.tools.effects.MoveXInFromLeft](#orgquickcorptoolseffectsmovexinfromleft)
275
+ - [Usage:](#usage-41)
276
+ - [Example:](#example-28)
277
+ - [org.quickcorp.tools.effects.MoveYInFromBottom](#orgquickcorptoolseffectsmoveyinfrombottom)
278
+ - [Usage:](#usage-42)
279
+ - [Example:](#example-29)
280
+ - [org.quickcorp.tools.effects.MoveYInFromTop](#orgquickcorptoolseffectsmoveyinfromtop)
281
+ - [Usage:](#usage-43)
282
+ - [Example:](#example-30)
283
+ - [org.quickcorp.tools.effects.RotateX](#orgquickcorptoolseffectsrotatex)
284
+ - [Usage:](#usage-44)
285
+ - [Example:](#example-31)
286
+ - [org.quickcorp.tools.effects.RotateY](#orgquickcorptoolseffectsrotatey)
287
+ - [Usage:](#usage-45)
288
+ - [Example:](#example-32)
289
+ - [org.quickcorp.tools.effects.RotateZ](#orgquickcorptoolseffectsrotatez)
290
+ - [Usage:](#usage-46)
291
+ - [Example:](#example-33)
292
+ - [org.quickcorp.tools.effects.Rotate](#orgquickcorptoolseffectsrotate)
293
+ - [Usage:](#usage-47)
294
+ - [Example:](#example-34)
295
+ - [org.quickcorp.tools.effects.Fade](#orgquickcorptoolseffectsfade)
296
+ - [Usage:](#usage-48)
297
+ - [org.quickcorp.tools.effects.Radius](#orgquickcorptoolseffectsradius)
298
+ - [Usage:](#usage-49)
299
+ - [Example:](#example-35)
300
+ - [org.quickcorp.tools.effects.Resize](#orgquickcorptoolseffectsresize)
301
+ - [Usage:](#usage-50)
302
+ - [Example:](#example-36)
303
+ - [org.quickcorp.tools.effects.WipeLeft](#orgquickcorptoolseffectswipeleft)
304
+ - [Usage:](#usage-51)
305
+ - [Example](#example-37)
306
+ - [org.quickcorp.tools.effects.WipeRight](#orgquickcorptoolseffectswiperight)
307
+ - [Usage:](#usage-52)
308
+ - [Example](#example-38)
309
+ - [org.quickcorp.tools.effects.WipeUp](#orgquickcorptoolseffectswipeup)
310
+ - [Usage:](#usage-53)
311
+ - [Example](#example-39)
312
+ - [org.quickcorp.tools.effects.WipeDown](#orgquickcorptoolseffectswipedown)
313
+ - [Usage:](#usage-54)
314
+ - [Example](#example-40)
147
315
  - [SDK Misc Tools](#sdk-misc-tools)
316
+ - [org.quickcorp.tools.canvas.CanvasTool](#orgquickcorptoolscanvascanvastool)
317
+ - [org.quickcorp.tools.layouts.BasicLayout](#orgquickcorptoolslayoutsbasiclayout)
148
318
  - [SDK Views](#sdk-views)
319
+ - [org.quickcorp.views.GridView](#orgquickcorpviewsgridview)
149
320
  - [SDK i18n messages](#sdk-i18n-messages)
321
+ - [org.quickcorp.i18n\_messages.i18n\_messages](#orgquickcorpi18n_messagesi18n_messages)
322
+ - [Usage:](#usage-55)
323
+ - [Example](#example-41)
150
324
  - [The QCObjects HTTP2 Built-In Server](#the-qcobjects-http2-built-in-server)
151
325
  - [Start serving your files with QCObjects](#start-serving-your-files-with-qcobjects)
152
326
  - [Principals of an N-Tier or Multitier architecture](#principals-of-an-n-tier-or-multitier-architecture)
@@ -166,7 +340,7 @@ _________________________
166
340
  - [Step 4: Once you have done the above components declaration, you will now want to code your controllers (cl.quickcorp.controller.js)](#step-4-once-you-have-done-the-above-components-declaration-you-will-now-want-to-code-your-controllers-clquickcorpcontrollerjs)
167
341
  - [Step 5: To use into the HTML5 code you only need to do some settings between script tags:](#step-5-to-use-into-the-html5-code-you-only-need-to-do-some-settings-between-script-tags)
168
342
  - [QCObjects CLI Tool](#qcobjects-cli-tool)
169
- - [Usage](#usage)
343
+ - [Usage](#usage-56)
170
344
  - [Options](#options)
171
345
  - [Commands](#commands)
172
346
  - [Use:](#use)
@@ -436,7 +610,6 @@ https://atom.io/packages/qcobjects-syntax
436
610
 
437
611
  ## Using QCObjects in Visual Studio Code:
438
612
 
439
- [![Badge for installs for Visual Studio Code extension Quickcorp.QCObjects-vscode](https://vsmarketplacebadge.apphb.com/version/Quickcorp.QCObjects-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=Quickcorp.QCObjects-vscode)
440
613
 
441
614
  https://marketplace.visualstudio.com/items?itemName=Quickcorp.QCObjects-vscode
442
615
 
package/README.pdf ADDED
Binary file
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.94
1
+ 2.4.97
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjects",
3
- "version": "2.4.94",
3
+ "version": "2.4.97",
4
4
  "description": "QCObjects is an Open-source framework that empowers full-stack developers to make micro-services and micro-frontends into an N-Tier architecture.",
5
5
  "main": "src/index.cjs",
6
6
  "module": "src/index.mjs",
@@ -21,7 +21,8 @@
21
21
  "lint": "(npx eslint src/**/*.ts --fix --ext ts)",
22
22
  "preversion": "npm cache verify && npm test",
23
23
  "sync": "git add . && git commit -am ",
24
- "postversion": "git push && git push --tags "
24
+ "postversion": "git push && git push --tags ",
25
+ "generate-readme-pdf": "npx markdown-pdf --paper-format \"Letter\" -o README.pdf README.md && npx markdown-pdf --paper-format \"Letter\" -o README-es.pdf README-es.md"
25
26
  },
26
27
  "repository": {
27
28
  "type": "git",
@@ -103,7 +104,7 @@
103
104
  "peerDependencies": {
104
105
  "@types/qcobjects": "github:QCObjects/-types-qcobjects",
105
106
  "@types/qcobjects-sdk": "github:QCObjects/-types-qcobjects-sdk",
106
- "qcobjects-sdk": ">=2.4.55"
107
+ "qcobjects-sdk": ">=2.4.64"
107
108
  },
108
109
  "engines": {
109
110
  "npm": ">=9",
package/src/QCObjects.js CHANGED
@@ -870,6 +870,9 @@
870
870
 
871
871
  var __register_class__ = function (_class_, __namespace) {
872
872
  var name = _class_.name || __getType__(_class_);
873
+ if (typeof _class_.__definition === "undefined"){
874
+ _class_.__definition = {};
875
+ }
873
876
  _class_.__definition.__classType = name;
874
877
  if (typeof __namespace !== "undefined"){
875
878
  _class_.__definition.__namespace = __namespace;
@@ -1433,7 +1436,7 @@
1433
1436
  _config_settings._CONFIG = {
1434
1437
  "relativeImportPath": "",
1435
1438
  "remoteImportsPath": "",
1436
- "remoteSDKPath": "https://sdk.qcobjects.dev/v2.4/src/",
1439
+ "remoteSDKPath": "https://sdk.qcobjects.dev/",
1437
1440
  "asynchronousImportsLoad": false,
1438
1441
  "removePackageScriptAfterLoading": true,
1439
1442
  "componentsBasePath": "",
@@ -2155,6 +2158,7 @@
2155
2158
  __namespace = undefined;
2156
2159
 
2157
2160
  constructor ({
2161
+ __parent__,
2158
2162
  templateURI= "",
2159
2163
  template,
2160
2164
  tplsource= "default",
@@ -2179,6 +2183,7 @@
2179
2183
  throw Error(`No arguments in component. You must at least give one argument.`);
2180
2184
  }
2181
2185
  super({
2186
+ __parent__,
2182
2187
  templateURI,
2183
2188
  template,
2184
2189
  tplextension,