-
Notifications
You must be signed in to change notification settings - Fork 1
/
dictionary.d.js
1063 lines (933 loc) · 29.6 KB
/
dictionary.d.js
1
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* @interface ApplicationPrototype
*/
/**
* @class
* @name Instance
* @memberof ApplicationPrototype
*/
/**
* @typedef {object} BindListenerConfig - configuration for bind listeners
* @memberof ApplicationPrototype.Instance
* @property {boolean} [listenedBefore=true] allow listeners before method call
* @property {boolean} [listenedOn=true] allow listeners on method call ( is after )
* @property {boolean} [listenedAfter=true] allow listeners after method call ( is after small delay )
* @property {boolean} [allowInterruption=true]
*/
/**
* returns listener Id
* @method on
* @memberof ApplicationPrototype.Instance#
* @param {string|function} event event name of function with name
* @param {function} [callback] function that will listen data
* @param {string} [specifiedEventId] event name of function with name
* @returns {string}
*/
/**
* returns listener Id
* @method once
* @memberof ApplicationPrototype.Instance#
* @param {string|function} event event name of function with name
* @param {function} [callback] function that will listen data
* @param {string} [specifiedEventId] event name of function with name
* @returns {string}
*/
/**
* returns listener Id
* @method bind
* @memberof ApplicationPrototype.Instance#
* @param {string|function} event event name of function with name
* @param {function|ApplicationPrototype.Instance.BindListenerConfig} [callback] function that will listen data
* @param {ApplicationPrototype.Instance.BindListenerConfig|string} [listenersConfig] of lis event name of function with name
* @returns {string}
*/
/**
* emits an application event
* @method emit
* @memberof ApplicationPrototype.Instance#
* @param {string} event event name
* @param {any[]} [args] arguments passed with event
* @param {boolean} [track=false] indicate if to use tracked handler or internal
* @param {boolean} [noSkipStopReturn=false] indicate if event flow can be stopped by a `false` return
*/
/**
* remove all event listeners
* @method off
* @memberof ApplicationPrototype.Instance#
* @param {string} event event or events names separated by comma
* @param {string} [specifiedEventId] event name of function with name
* @returns {boolean}
*/
/**
* returns listener Id
* @method crudEvents
* @memberof ApplicationPrototype.Instance#
* @param {Object<string,any>} context will be used as a base for ApplicationPrototype instance that will be returned
* @param {Object<string,Function>} publicMethods list of public methods available from returned instance
* @param {Object<string,Function>} privateMethods list of private methods available only for instance's methods
* @returns {ApplicationPrototype.Instance}
*/
/**
* returns listener Id
* @callback PropertyHandler
* @memberof ApplicationPrototype.Instance
* @param {any} value is undefined when `isSetter = true`
* @param {any} lastValue
* @param {boolean} isSetter
*/
/**
* @method property
* @memberof ApplicationPrototype.Instance#
* @param {string} propertyName
* @param {ApplicationPrototype.Instance.PropertyHandler} getter
* @param {ApplicationPrototype.Instance.PropertyHandler} [setter]
* @param {object} [config]
* @param {boolean} [config.configurable=true]
* @param {boolean} [config.enumerable=true]
* @fires ApplicationPrototype.Instance.__onSet
* @fires ApplicationPrototype.Instance.__onGet
* @fires ApplicationPrototype.Instance.__afterGet
* @fires ApplicationPrototype.Instance.__afterGet
* @fires ApplicationPrototype.Instance.__onSet::propName
* @fires ApplicationPrototype.Instance.__onGet::propName
* @fires ApplicationPrototype.Instance.__afterGet::propName
* @fires ApplicationPrototype.Instance.__afterGet::propName
*//**
* @method property
* @memberof ApplicationPrototype.Instance#
* @param {ApplicationPrototype.PropertyHandler} getter function with name
* @param {ApplicationPrototype.PropertyHandler} [setter]
* @param {object} [config]
* @param {boolean} [config.configurable=true]
* @param {boolean} [config.enumerable=true]
*/
/**
* @event __onGet
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {string} propName
* @property {any} value
* @property {any} lastValue
*/
/**
* @event __onSet
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {string} propName
* @property {any} value
* @property {any} lastValue
*/
/**
* @event __afterGet
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {string} propName
* @property {any} value
* @property {any} lastValue
*/
/**
* @event __afterSet
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {string} propName
* @property {any} value
* @property {any} lastValue
*/
/**
* @event __onGet::propName
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {any} value
* @property {any} lastValue
*/
/**
* @event __onSet::propName
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {any} value
* @property {any} lastValue
*/
/**
* @event __afterGet::propName
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {any} value
* @property {any} lastValue
*/
/**
* @event __afterSet::propName
* @memberof ApplicationPrototype.Instance
* @type {object}
* @property {any} value
* @property {any} lastValue
*/
/**
* @class
* @name Builder
* @memberof ApplicationPrototype
* @augments ApplicationPrototype.Instance
*/
/**
* @method require
* @memberof ApplicationPrototype.Builder#
* @param {string|string[]} events List of Events Names or Array of Events Mapping like [ "uriLoad :: uri-load", "ePrototype :: ExtensionsPrototype" ]
* @param {function} [callback] Callback that will receive Module
* @returns {PromiseLike<any>}
*/
/**
* @class
* @name Promise
* @memberof ApplicationPrototype.Builder
* @param {function} handler
* @returns {PromiseLike<any>}
*/
/**
* @method all
* @memberof ApplicationPrototype.Builder.Promise
* @param {Promise[]} items
* @returns {PromiseLike<any[]>}
*/
/**
* @method race
* @memberof ApplicationPrototype.Builder.Promise
* @param {Promise[]} items
* @returns {PromiseLike<any[]>}
*/
/**
* @method resolve
* @memberof ApplicationPrototype.Builder.Promise
* @param {any} value
* @returns {PromiseLike<any>}
*/
/**
* @method reject
* @memberof ApplicationPrototype.Builder.Promise
* @param {any} value
* @returns {PromiseLike<Error>}
*/
/**
* @method isNode
* @memberof ApplicationPrototype.Builder#
* @returns {boolean}
*/
/**
* @method isBrowser
* @memberof ApplicationPrototype.Builder#
* @returns {boolean}
*/
/**
* @method debugEnabled
* @memberof ApplicationPrototype.Builder#
* @param {boolean} [status]
* @returns {boolean}
*/
/**
* @method runModulesInFiles
* @memberof ApplicationPrototype.Builder#
* @param {boolean} [status]
* @returns {boolean}
*/
/**
* @method consoleOptions
* @memberof ApplicationPrototype.Builder#
* @param {ApplicationPrototype.Builder.ConsoleOptions} [options]
* @returns {ApplicationPrototype.Builder.ConsoleOptions}
*/
/**
* @method modulePath
* @memberof ApplicationPrototype.Builder#
* @param {string} [path]
* @returns {string}
*/
/**
* @typedef {object} ConsoleOptions
* @memberof ApplicationPrototype.Builder
* @property {boolean} [file] enable/disable showing filename in console log. default value is `true`
* @property {boolean} [contextName] enable/disable showing context Execution info in console log. default value is `true`
* @property {boolean} [timestamp] enable/disable showing current timestamp in console log. default value is `true`
* @property {boolean} [logType] enable/disable showing log type in console log. default value is `true
*/
/**
* @typedef {object} ModuleStore
* @memberof ApplicationPrototype.Builder
* @description modules store where are indexed modules
*/
/**
* @method moduleRegister
* @memberof ApplicationPrototype.Builder#
* @param {string} path path that will be used as `Application.modulePath()`
* @param {string[]} modules list of modules names that should be registered
* @returns {ApplicationPrototype.Builder.ModuleStore}
*/
/**
* @typedef {object} ModuleMeta
* @memberof ApplicationPrototype.Builder
* @property {ApplicationPrototype.Builder.ModuleStore} store same as `module.cache()`
* @property {PromiseLike<string>} $requestQuery XMLHttpRequest used for obtaining Module's Content
* @property {string} module_path module's path
* @property {string} path module's internal path used as identifier of module
* @property {string} name module's name
* @property {string} __dirname module's dirname
*/
/**
* @callback moduleResolve
* @memberof ApplicationPrototype.Builder#
* @param {string} module module name
* @param {string} [path] module path
* @returns {ApplicationPrototype.Builder.ModuleMeta}
*/
/**
* returns interface for accessing Node Env, is defined only in node env
* @var NodeInterface
* @type {object}
* @property {function():NodeJS.Process} process
* @property {function():NodeJS.Global} global
* @property {function():NodeRequire} require
* @property {function(string):any} globalReference returns NodeJS require reference by it's name
*/
// /** @typedef {{ prop1: string, prop2: string, prop3?: number }} XXXSpecialType */
// /** @typedef {(data: string, index?: number) => boolean} XXXPredicate */
/**
* @callback ApplicationPrototypeConstructor
* @returns {ApplicationPrototype.Instance}
*/
/**
* @callback ApplicationBuilderConstructor
* @returns {ApplicationPrototype.Builder}
*/
// property {*} _i = function(i,n){return ((n + (i % n))%n); };
/**
* @var {ExtensionsPrototype.slDOM} _
* @memberof ExtensionsPrototype
*/
/**
* @var {ExtensionsPrototype.slDOMSet} __
* @memberof ExtensionsPrototype
*/
/**
* @class
* @name slDOMSet
* @memberof ExtensionsPrototype
* @param {string} [cssSelector]
*/
/**
* @method config
* @memberof ExtensionsPrototype.slDOMSet#
* @param {string} key
* @param {any} value
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method config
* @memberof ExtensionsPrototype.slDOMSet#
* @param {string} key
* @returns {any}
*/
/**
* @method unique
* @memberof ExtensionsPrototype.slDOMSet#
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method set
* @memberof ExtensionsPrototype.slDOMSet#
* @param {string} v css selector applied over document
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method set
* @memberof ExtensionsPrototype.slDOMSet#
* @param {(NodeList|any[])} v array of Nodes or HTMLElements
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method add
* @memberof ExtensionsPrototype.slDOMSet#
* @param {(NodeList|any)} ...v array of Nodes or HTMLElements
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method env
* @memberof ExtensionsPrototype.slDOMSet#
* @returns {ExtensionsPrototype.slDOM_env}
*/
/**
* @method get
* @memberof ExtensionsPrototype.slDOMSet#
* @returns {(Node[])}
*/
/**
* @method get
* @memberof ExtensionsPrototype.slDOMSet#
* @param {number} index
* @returns {(Node)}
*/
/**
* @method eq
* @memberof ExtensionsPrototype.slDOMSet#
* @param {number} index
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method find
* @memberof ExtensionsPrototype.slDOMSet#
* @param {string} cssSelector
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @callback itemHandler
* @memberof ExtensionsPrototype.slDOMSet
* @param {Node} node
* @param {number} index
* @param {ExtensionsPrototype.slDOMSet} context
* @param {ExtensionsPrototype.slDOM} p
*/
/**
* @callback itemHandlerFilter
* @memberof ExtensionsPrototype.slDOMSet
* @param {Node} node
* @param {number} index
* @param {ExtensionsPrototype.slDOMSet} context
* @param {ExtensionsPrototype.slDOM} p
* @returns {boolean}
*/
/**
* @callback itemHandlerMap
* @memberof ExtensionsPrototype.slDOMSet
* @param {Node} node
* @param {number} index
* @param {ExtensionsPrototype.slDOMSet} context
* @param {ExtensionsPrototype.slDOM} p
* @returns {Node}
*/
/**
* @method filter
* @memberof ExtensionsPrototype.slDOMSet#
* @param {ExtensionsPrototype.slDOMSet.itemHandlerFilter} filterCallback
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method each
* @memberof ExtensionsPrototype.slDOMSet#
* @param {ExtensionsPrototype.slDOMSet.itemHandler} filterCallback
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method map
* @memberof ExtensionsPrototype.slDOMSet#
* @param {ExtensionsPrototype.slDOMSet.itemHandlerMap} filterCallback
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method attr
* @memberof ExtensionsPrototype.slDOMSet#
* @returns {NamedNodeMap}
*/
/**
* @method attr
* @memberof ExtensionsPrototype.slDOMSet#
* @param {string} attribute
* @returns {string}
*/
/**
* @method attr
* @memberof ExtensionsPrototype.slDOMSet#
* @param {string} attribute
* @param {any} value
* @returns {ExtensionsPrototype.slDOMSet}
*/
/**
* @method attr
* @memberof ExtensionsPrototype.slDOMSet#
* @param {any} ...attr_value
* @returns {ExtensionsPrototype.slDOMSet}
*/
// ["toFunction", "x" ].forEach(function (method) {
// ["sClass", "c" ].forEach(function (method) {
// [ "g_wh", "r", "pagePXY", "PXY", "eventsCache", "in_e", "i", "is_free", "is_focused", "is_inview", "is_visible" ].forEach(function (method) {
// [ "on", "off", "opacity", "a2D", "triger", "setVar", "T", "setStyle", "setStyleSPEED", "F", "f", "o", "removeFromDOM", "free", "d", "D", "clearE", "delE", "setVar", "setObjVar", "setObjProto", "V", "v", "p", "adEto", "putBfto", "putAfto", "putBf", "putAf", "Et", "Bt", "At", "pB", "pA", "addE", "addB", "addT", "e", "b", "t", "getTagsByQuery", "getTags", "s", "q", "nextTo", "backTo", "nUP", "nChild", "getParentN", "copyE", "getParentTag", "getByTag", "getByQuery", "getById", "N", "B", "U", "C", "P", "X", "p", "S", "Q", "I" ].forEach(function (method) {
/**
* @typedef slDOM_env
* @memberof ExtensionsPrototype
* @property {boolean} gecko
* @property {boolean} old_ie
* @property {boolean} ie_lt8
* @property {boolean} ie_lt9
* @property {boolean} ie_gt10
* @property {boolean} ie
* @property {boolean} webkit
* @property {boolean} qtwebkit
* @property {boolean} chrome
* @property {boolean} opera
* @property {boolean} firefox
* @property {boolean} safari
* @property {boolean} khtml
* @property {boolean} mac_geLion
* @property {boolean} mac_geMountainLion
* @property {boolean} phantom
* @property {boolean} ios
* @property {boolean} mobile
* @property {boolean} mac
* @property {boolean} windows
* @property {Array|null} opera_version
* @property {boolean} flipCtrlCmd
* @property {boolean} captureMiddleClick
* @property {boolean} android
* @property {string|false} android_version
*/
/**
* @typedef {Object<string,(string|number)>} slDOM_ObjectCSSProperties a list of proprieties mapped in a object, example: { fontSize: "10px", "white-space": "nowrap" }
* @memberof ExtensionsPrototype
*/
/**
* @typedef {Object<string,(string|number)>} slDOM_ObjectAttributes a list of proprieties mapped in a object, example: { fontSize: "10px", "white-space": "nowrap" }
* @memberof ExtensionsPrototype
*/
/**
* @typedef {object} slDOM returns a pointer that walks over DOM and applying needed operations
* @memberof ExtensionsPrototype
* @property {ExtensionsPrototype.slDOM_env} env Environment Flags
* @property {function(boolean):HTMLElement} __ if params is `true` then return document otherwise current HTMLElement
* @property {function(object):ExtensionsPrototype.slDOM} a2D apply Css Transforms on elements
* @property {function(number):ExtensionsPrototype.slDOM} opacity ( short form **o** ) change element opacity
* @property {function((HTMLElement|string)):ExtensionsPrototype.slDOM} setE ( short form **e** ) set a HTMLElement or Create Element for slDOM Pointer
* @property {function((string|string[]),string?,number?):ExtensionsPrototype.slDOM|boolean} sClass =slDOMlib.sClass;
* @property {function(...string):slDOM} setArg ( short form **A** ) set Attributes to HTMLElement, arguments order: `[ attribute, value, attribute, value ... ]`
* @property {function(HTMLElement):slDOM} adEto add current HTMLElement to other HTMLElement;
* @property {function(HTMLElement):slDOM} putBfto insert current HTMLElement before other HTMLElement
* @property {function(HTMLElement):slDOM} putAfto insert current HTMLElement after other HTMLElement
* @property {function((HTMLElement|string),string?,function?):slDOM} putBf =slDOMlib.putBf;
* @property {function(HTMLElement):slDOM} putAf =slDOMlib.putAf;
* @property {function((HTMLElement|string),string?,function?):slDOM} addE =slDOMlib.addE;
* @property {function((HTMLElement|string),string?,function?):slDOM} addB =slDOMlib.addB;
* @property {function(string):slDOM} addT ( short form **t** ) add text node to HTMLElement;
* @property {function(number):slDOM} [nextTo=1] ( short form **N** ) moving pointer forward to N neighbors
* @property {function(number):slDOM} [backTo=1] ( short form **B** ) moving pointer backward to N neighbors
* @property {function(number?):slDOM} nUP ( short form is U ) goes up on level in doom
* @property {function(number?):slDOM} nChild ( short form is **C** ) select the *N th* child element
* @property {function(number?):slDOM} getParentN ( short form is **P** ) select the *N th* parent element
* @property {function():slDOM} clearE ( short form is **d** ) remove all childObjects from node
* @property {function():slDOM} delE remove HTMLElement from its Parent
* @property {function(boolean):slDOM} copyE =slDOMlib.copyE;
* @property {function(string):slDOM} getParentTag =slDOMlib.getParentTag;
* @property {function(string,number,boolean,boolean):slDOM} getByTag =slDOMlib.getByTag;
* @property {function(string,number,boolean,boolean):slDOM} getByQuery =slDOMlib.getByQuery;
* @property {function(string):slDOM} getById =slDOMlib.getById;
* @property {function(string,boolean):Array<HTMLElement>} getTags =slDOMlib.getTags;
* @property {function(string,boolean):Array<HTMLElement>} getTagsByQuery =slDOMlib.getTagsByQuery;
* @property {function(string):slDOM} triger ( short form **T** ) trigger / emit an event on HTMLElement
* @property {function(string?):slDOM|HTMLElement|string} getE ( short form **_** ) return HTMLElement ;
* * if argument[0] is ".tag" return HTMLElement's tagname ;
* * if argument[0] is ".html" return HTML Content ;
* * if argument[0] is ".text" return Text Content ;
* * if argument[0] is "-attributeName" return HTMLElement's Attribute ;
* * if argument[0] is "!attributeName" remove HTMLElement's Attribute
* @property {function(ExtensionsPrototype.slDOM_ObjectCSSProperties): slDOM} setStyle ( short form **f** ) setting css proprieties to HTMLElement
* @property {function((ExtensionsPrototype.slDOM_ObjectAttributes | string[])): slDOM} setVar ( short form **V** ) set dot property on HTMLElement
* @property {function(...ExtensionsPrototype.slDOM_ObjectAttributes): slDOM} setObjVar ( short form **v** ) setting attributes to HTMLElement
* @property {function(ExtensionsPrototype.slDOM_ObjectCSSProperties): slDOM} setStyleSPEED ( short form **F** ) setting css proprieties to HTMLElement with normalizing values by adding units
* @property {function(): { x: number, y: number }} pagePXY ( short form **PXY** ) get element position on page
* @property {function(): Boolean} in_e check if HTMLElement is still attached to DOM ( Document Object Manager )
* @property {function(): { w: number, h: number }} g_wh returns width and height of HTMLElement
* @property {function((object | string), boolean, function, object): slDOM} getLIST =slDOMlib.getLIST;
* @property {function(function(HTMLElement, object, slDOM), object): slDOM} toFunction =slDOMlib.toFunction;
* @property {function(): slDOM} removeFromDOM ( short form **free** ) remove elements from DOM
* @property {function(number): slDOM} o ( short form **opacity** ) change element opacity
* @property {function((HTMLElement | string)): slDOM} E ( long form **setE** ) set a HTMLElement or Create Element for slDOM Pointer
* @property {*} c =slDOMlib.sClass;
* @property {function(string): Object} attrs = slDOMlib.attrs;
* @property {*} A =slDOMlib.setArg;
* @property {*} Et =slDOMlib.adEto;
* @property {*} Bt =slDOMlib.putBfto;
* @property {*} At =slDOMlib.putAfto;
* @property {*} pB =slDOMlib.putBf;
* @property {*} pA =slDOMlib.putAf;
* @property {*} e =slDOMlib.addE;
* @property {*} b =slDOMlib.addB;
* @property {*} t =slDOMlib.addT;
* @property {*} N =slDOMlib.nextTo;
* @property {*} B =slDOMlib.backTo;
* @property {*} U =slDOMlib.nUP;
* @property {*} C =slDOMlib.nChild;
* @property {*} P =slDOMlib.getParentN;
* @property {*} d =slDOMlib.clearE;
* @property {*} D =slDOMlib.delE;
* @property {*} X =slDOMlib.copyE;
* @property {*} p =slDOMlib.getParentTag;
* @property {*} S =slDOMlib.getByTag;
* @property {*} Q =slDOMlib.getByQuery;
* @property {*} I =slDOMlib.getById;
* @property {*} s =slDOMlib.getTags;
* @property {*} q =slDOMlib.getTagsByQuery;
* @property {*} T =slDOMlib.triger;
* @property {*} _ =slDOMlib.getE;
* @property {*} $ =slDOMlib.getLIST;
* @property {*} F =slDOMlib.setStyleSPEED;
* @property {*} f =slDOMlib.setStyle;
* @property {*} L =slDOMlib.getLIST;
* @property {*} V =slDOMlib.setVar;
* @property {*} v =slDOMlib.setObjVar;
* @property {*} PXY =slDOMlib.pagePosXY;
* @property {*} i =slDOMlib.in_e;
* @property {*} r =slDOMlib.g_wh;
* @property {*} x =slDOMlib.toFunction;
* @property {function(): slDOM} free = slDOMlib.removeFromDOM;
* @property {function(): Boolean} is_free = slDOMlib.is_free;
* @property {function(): Boolean} is_focused = slDOMlib.is_focused;
* @property {function(): Boolean} is_inview = slDOMlib.elementInViewport;
* @property {function(): Boolean} is_visible = slDOMlib.elementIsVisible;
* @property {*} _normalizeCssValues = slDOMlib._normalizeCssValues;
* @property {*} on = slDOMlib.on;
* @property {*} off = slDOMlib.off;
* @property {function(): Object} eventsCache = slDOMlib.eventsCache;
*/
// /** @class */
// /** @type {ApplicationPrototypeInstance} */
// function ApplicationPrototype() {
// /** @type {ApplicationPrototypeBind} */
// this.bind = function (event, callback, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeListener} */
// this.on = function (event, callback, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeListener} */
// this.once = function (event, callback, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeListenerRemove} */
// this.off = function (event, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeCrudEvents} */
// this.crudEvents = function (context, publicMethods, privateMethods) {
// return new ApplicationPrototype();
// }
// }
// /** @class */
// /** @type {ApplicationBuilderInstance} */
// function ApplicationBuilder() {
// /** @type {ApplicationPrototypeBind} */
// this.bind = function (event, callback, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeListener} */
// this.on = function (event, callback, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeListener} */
// this.once = function (event, callback, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeListenerRemove} */
// this.off = function (event, specifiedEventId) { return String };
// /** @type {ApplicationPrototypeCrudEvents} */
// this.crudEvents = function (context, publicMethods, privateMethods) {
// return new ApplicationPrototype();
// }
// /** @type {ApplicationBuilderRequire} */
// this.require = function (events, callback) {
// return new Promise();
// }
// /** @type {Promise} */
// this.Promise;
// }
// /** @namespace */
// var Application = new ApplicationBuilder();
/**
* @typedef {string} ModuleResourceUrl
* @memberof ApplicationPrototype.Builder
* @description resources url is composed from `module's plath` + `resource path`
*/
/**
* @typedef {Object} ApplicationModule
* @memberof ApplicationPrototype.Builder
* @property {PromiseLike<XMLHttpRequest>} $request resolves module exports
* @property {function():any} exports module exports handler
* @property {number} atime unix time in milliseconds
* @property {function():ApplicationPrototype.Builder} Application returns current application
* @property {function():ApplicationPrototype.Builder.ModuleStore} cache returns module's reserved cache object
* @property {function(any):Promise} require require modules from module's folder
* @property {function(ModuleResourceUrl):string} resourceUrl returns module's resource URL
* @property {ApplicationPrototype.Builder.ModuleMeta} meta module's meta information
*/
// /** @namespace */
// /** @type {ApplicationModule} */
// var module = {
// exports : {}
// };
/**
* @typedef ApplicationBuilderExports
* @property {ApplicationPrototypeConstructor} application
* @property {ApplicationBuilderConstructor} builder
*/
/// <reference path="constructors/request.js" />
/**
* @interface String
*/
/**
* @memberof String#
* @method subs
* @param {number} index
* @param {number} [lastIndex]
* @returns {string}
*/
/**
* @memberof String#
* @method toHex
* @param {boolean} [isUtf8=true]
* @returns {string}
*/
/**
* @memberof String#
* @method fromHex
* @returns {string}
*/
/**
* encode in HTML minimal
* @memberof String#
* @method toHtmlSimple
* @returns {string}
*/
/**
* encode in HTML
* @memberof String#
* @method toHtml
* @returns {string}
*/
/**
* decode from HTML ( works in Browser )
* @memberof String#
* @method fromHtml
* @returns {string}
*/
/**
* remove risky tags from HTML Code: comments, script, iframe, style, object, noscript, frame, frameset
* @memberof String#
* @method cleanTags
* @returns {string}
*/
/**
* @memberof String#
* @method add_Class
* @param {string} newClass
* @returns {string}
*/
/**
* @memberof String#
* @method del_Class
* @param {string} newClass
* @returns {string}
*/
/**
* @memberof String#
* @method fnd_Class
* @param {string} newClass
* @returns {boolean}
*/
/**
* @memberof String#
* @method swp_case
* @returns {string}
*/
/**
* @memberof String#
* @method ucfirst
* @param {number} [length=1] how many first chars to be transformed to uppercase
* @returns {string}
*/
/**
* @memberof String#
* @method lcfirst
* @param {number} [length=1] how many first chars to be transformed to uppercase
* @returns {string}
*/
/**
* Detects if a string is unicode, and if it is, then it is transformed to UTF8
* @memberof String#
* @method utf8need
* @returns {string}
*/
/**
* @memberof String#
* @method utf8encode
* @returns {string}
*/
/**
* @memberof String#
* @method utf8decode
* @returns {string}
*/
/**
* @see {String#utf8encode}
* @memberof String#
* @method utf8
* @returns {string}
*/
/**
* @see {String#utf8decode}
* @memberof String#
* @method unicode
* @returns {string}
*/
/**
* @memberof String#
* @method encryptAes
* @param {string} password
* @param {number} [size=128]
* @returns {string}
*/
/**
* @memberof String#
* @method decryptAes
* @param {string} password
* @param {number} [size=128]
* @returns {string}
*/
/**
* @memberof String#
* @method encryptTea
* @param {string} password
* @returns {string}
*/
/**
* @memberof String#
* @method decryptTea
* @param {string} password
* @returns {string}
*/
/**
* @memberof String#
* @method base64decode
* @returns {string}
*/
/**
* @memberof String#
* @method base64encode
* @returns {string}
*/
/**
* @memberof String#
* @method base64decodeBytes
* @returns {Uint8Array}
*/
/**
* @memberof String#
* @method base64encodeBytes
* @returns {Uint8Array}
*/
/**
* @memberof String#
* @method base64decodeBytesArray
* @returns {Array<number>}
*/
/**
* @memberof String#
* @method base64encodeBytesArray
* @returns {Array<number>}
*/
/**
* @memberof String#
* @method base64encodeClean
* @returns {string}
*/
/**
* @memberof String#
* @method base64decodeClean
* @returns {string}
*/
/**
* @memberof String#
* @method encodeURI
* @returns {string}
*/
/**
* @memberof String#
* @method decodeURI
* @returns {string}
*/
/**
* @memberof String#
* @method escapeHex
* @returns {string}
*/
/**
* @memberof String#
* @method escape
* @returns {string}
*/
/**
* @memberof String#
* @method unescape
* @returns {string}
*/
/**
* @memberof String#
* @method sha1
* @param {boolean} [isUtf8=true]
* @returns {string}
*/
/**
* @memberof String#
* @method sha256
* @param {boolean} [isUtf8=true]
* @returns {string}
*/
/**
* @memberof String#
* @method subs
* @param {number} index
* @param {number} count
* @returns {string}
*/
/**
* @memberof String#
* @method md5
* @returns {string}
*/
/**
* @memberof String#
* @method markdown
* @returns {string}
*/