fit-ui 2.8.3 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Controls/Input/maximize-highres.png +0 -0
- package/dist/Controls/Input/maximize.png +0 -0
- package/dist/Documentation.html +3 -3
- package/dist/Fit.UI.css +71 -6
- package/dist/Fit.UI.js +983 -112
- package/dist/Fit.UI.min.css +2 -2
- package/dist/Fit.UI.min.js +1 -1
- package/dist/Resources/CKEditor/plugins/custombuttons/plugin.js +34 -0
- package/dist/Resources/CKEditor-with-maximize-button/CHANGES.md +2148 -0
- package/dist/Resources/CKEditor-with-maximize-button/LICENSE.md +1436 -0
- package/dist/Resources/CKEditor-with-maximize-button/README-FitUiChanges.txt +8 -0
- package/dist/Resources/CKEditor-with-maximize-button/README.md +39 -0
- package/dist/Resources/CKEditor-with-maximize-button/adapters/jquery.js +10 -0
- package/dist/Resources/CKEditor-with-maximize-button/build-config.js +79 -0
- package/dist/Resources/CKEditor-with-maximize-button/ckeditor.js +987 -0
- package/dist/Resources/CKEditor-with-maximize-button/config.js +34 -0
- package/dist/Resources/CKEditor-with-maximize-button/contents.css +208 -0
- package/dist/Resources/CKEditor-with-maximize-button/lang/da.js +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/lang/de.js +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/lang/en.js +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/autocomplete/skins/default.css +38 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/LICENSE.md +1244 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/README.md +21 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.js +766 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/dialogs/base64image.original.js +503 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/base64image.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/icons/hidpi/base64image.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/da.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/de.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/lang/en.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64image/plugin.js +58 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/base64imagepaste/plugin.js +91 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/clipboard/dialogs/paste.js +11 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/icons/custombuttons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/custombuttons/plugin.js +99 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/dialogDefinition.js +4 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dialog/styles/dialog.css +18 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/LICENSE +19 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/_source.css +85 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/package.json +19 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/plugin.js +395 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/dragresize/readme.md +35 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/assets/iconsall.svg +58 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/emoji.json +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/emoji/skins/default.css +237 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/icons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/icons_hidpi.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/anchor.js +8 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/dialogs/link.js +30 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/anchor.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/link/images/hidpi/anchor.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/pastefromword/filter/default.js +42 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/common.js +24 -0
- package/dist/Resources/CKEditor-with-maximize-button/plugins/pastetools/filter/image.js +12 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie7.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_ie8.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_iequirks.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/dialog_opera.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_gecko.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie7.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_ie8.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/editor_iequirks.css +1 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/icons_hidpi.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/arrow.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/hidpi/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/images/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/readme.md +35 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/bootstrapck/skin.js +10 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_ie8.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/dialog_iequirks.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_gecko.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_ie8.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/editor_iequirks.css +5 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/icons_hidpi.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/arrow.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/close.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock-open.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/lock.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/refresh.png +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/images/spinner.gif +0 -0
- package/dist/Resources/CKEditor-with-maximize-button/skins/moono-lisa/readme.md +46 -0
- package/dist/Resources/CKEditor-with-maximize-button/styles.js +137 -0
- package/dist/Resources/CKEditor-with-maximize-button/vendor/promise.js +13 -0
- package/package.json +1 -1
- package/types/index.d.ts +247 -103
- package/dist/Resources/ckeditor_4.17.2_6f06412961d8.zip +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// This file contains style definitions that can be used by CKEditor plugins.
|
|
7
|
+
//
|
|
8
|
+
// The most common use for it is the "stylescombo" plugin which shows the Styles drop-down
|
|
9
|
+
// list containing all styles in the editor toolbar. Other plugins, like
|
|
10
|
+
// the "div" plugin, use a subset of the styles for their features.
|
|
11
|
+
//
|
|
12
|
+
// If you do not have plugins that depend on this file in your editor build, you can simply
|
|
13
|
+
// ignore it. Otherwise it is strongly recommended to customize this file to match your
|
|
14
|
+
// website requirements and design properly.
|
|
15
|
+
//
|
|
16
|
+
// For more information refer to: https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#style-rules
|
|
17
|
+
|
|
18
|
+
CKEDITOR.stylesSet.add( 'default', [
|
|
19
|
+
/* Block styles */
|
|
20
|
+
|
|
21
|
+
// These styles are already available in the "Format" drop-down list ("format" plugin),
|
|
22
|
+
// so they are not needed here by default. You may enable them to avoid
|
|
23
|
+
// placing the "Format" combo in the toolbar, maintaining the same features.
|
|
24
|
+
/*
|
|
25
|
+
{ name: 'Paragraph', element: 'p' },
|
|
26
|
+
{ name: 'Heading 1', element: 'h1' },
|
|
27
|
+
{ name: 'Heading 2', element: 'h2' },
|
|
28
|
+
{ name: 'Heading 3', element: 'h3' },
|
|
29
|
+
{ name: 'Heading 4', element: 'h4' },
|
|
30
|
+
{ name: 'Heading 5', element: 'h5' },
|
|
31
|
+
{ name: 'Heading 6', element: 'h6' },
|
|
32
|
+
{ name: 'Preformatted Text',element: 'pre' },
|
|
33
|
+
{ name: 'Address', element: 'address' },
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
{ name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
|
|
37
|
+
{ name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
|
|
38
|
+
{
|
|
39
|
+
name: 'Special Container',
|
|
40
|
+
element: 'div',
|
|
41
|
+
styles: {
|
|
42
|
+
padding: '5px 10px',
|
|
43
|
+
background: '#eee',
|
|
44
|
+
border: '1px solid #ccc'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
/* Inline styles */
|
|
49
|
+
|
|
50
|
+
// These are core styles available as toolbar buttons. You may opt enabling
|
|
51
|
+
// some of them in the Styles drop-down list, removing them from the toolbar.
|
|
52
|
+
// (This requires the "stylescombo" plugin.)
|
|
53
|
+
/*
|
|
54
|
+
{ name: 'Strong', element: 'strong', overrides: 'b' },
|
|
55
|
+
{ name: 'Emphasis', element: 'em' , overrides: 'i' },
|
|
56
|
+
{ name: 'Underline', element: 'u' },
|
|
57
|
+
{ name: 'Strikethrough', element: 'strike' },
|
|
58
|
+
{ name: 'Subscript', element: 'sub' },
|
|
59
|
+
{ name: 'Superscript', element: 'sup' },
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
{ name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },
|
|
63
|
+
|
|
64
|
+
{ name: 'Big', element: 'big' },
|
|
65
|
+
{ name: 'Small', element: 'small' },
|
|
66
|
+
{ name: 'Typewriter', element: 'tt' },
|
|
67
|
+
|
|
68
|
+
{ name: 'Computer Code', element: 'code' },
|
|
69
|
+
{ name: 'Keyboard Phrase', element: 'kbd' },
|
|
70
|
+
{ name: 'Sample Text', element: 'samp' },
|
|
71
|
+
{ name: 'Variable', element: 'var' },
|
|
72
|
+
|
|
73
|
+
{ name: 'Deleted Text', element: 'del' },
|
|
74
|
+
{ name: 'Inserted Text', element: 'ins' },
|
|
75
|
+
|
|
76
|
+
{ name: 'Cited Work', element: 'cite' },
|
|
77
|
+
{ name: 'Inline Quotation', element: 'q' },
|
|
78
|
+
|
|
79
|
+
{ name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },
|
|
80
|
+
{ name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },
|
|
81
|
+
|
|
82
|
+
/* Object styles */
|
|
83
|
+
|
|
84
|
+
{
|
|
85
|
+
name: 'Styled Image (left)',
|
|
86
|
+
element: 'img',
|
|
87
|
+
attributes: { 'class': 'left' }
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
{
|
|
91
|
+
name: 'Styled Image (right)',
|
|
92
|
+
element: 'img',
|
|
93
|
+
attributes: { 'class': 'right' }
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
{
|
|
97
|
+
name: 'Compact Table',
|
|
98
|
+
element: 'table',
|
|
99
|
+
attributes: {
|
|
100
|
+
cellpadding: '5',
|
|
101
|
+
cellspacing: '0',
|
|
102
|
+
border: '1',
|
|
103
|
+
bordercolor: '#ccc'
|
|
104
|
+
},
|
|
105
|
+
styles: {
|
|
106
|
+
'border-collapse': 'collapse'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
|
|
110
|
+
{ name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
|
|
111
|
+
{ name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } },
|
|
112
|
+
|
|
113
|
+
/* Widget styles */
|
|
114
|
+
|
|
115
|
+
{ name: 'Clean Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-clean' } },
|
|
116
|
+
{ name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-grayscale' } },
|
|
117
|
+
|
|
118
|
+
{ name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { 'class': 'code-featured' } },
|
|
119
|
+
|
|
120
|
+
{ name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { 'class': 'math-featured' } },
|
|
121
|
+
|
|
122
|
+
{ name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-240p' }, group: 'size' },
|
|
123
|
+
{ name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-360p' }, group: 'size' },
|
|
124
|
+
{ name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-480p' }, group: 'size' },
|
|
125
|
+
{ name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-720p' }, group: 'size' },
|
|
126
|
+
{ name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' }, group: 'size' },
|
|
127
|
+
|
|
128
|
+
// Adding space after the style name is an intended workaround. For now, there
|
|
129
|
+
// is no option to create two styles with the same name for different widget types. See https://dev.ckeditor.com/ticket/16664.
|
|
130
|
+
{ name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' }, group: 'size' },
|
|
131
|
+
{ name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' }, group: 'size' },
|
|
132
|
+
{ name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' }, group: 'size' },
|
|
133
|
+
{ name: '720p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-720p' }, group: 'size' },
|
|
134
|
+
{ name: '1080p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-1080p' }, group: 'size' }
|
|
135
|
+
|
|
136
|
+
] );
|
|
137
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
(function(v,w){"object"===typeof exports&&"undefined"!==typeof module?module.exports=w():"function"===typeof define&&define.amd?define(w):v.ES6Promise=w()})(this,function(){function v(a){return"function"===typeof a}function w(){return function(){return process.nextTick(n)}}function R(){return"undefined"!==typeof B?function(){B(n)}:C()}function S(){var a=0,b=new J(n),c=document.createTextNode("");b.observe(c,{characterData:!0});return function(){c.data=a=++a%2}}function T(){var a=new MessageChannel;
|
|
2
|
+
a.port1.onmessage=n;return function(){return a.port2.postMessage(0)}}function C(){var a=setTimeout;return function(){return a(n,1)}}function n(){for(var a=0;a<k;a+=2)(0,q[a])(q[a+1]),q[a]=void 0,q[a+1]=void 0;k=0}function U(){try{var a=Function("return this")().require("vertx");B=a.runOnLoop||a.runOnContext;return R()}catch(b){return C()}}function D(a,b){var c=this,d=new this.constructor(r);void 0===d[z]&&K(d);var e=c._state;if(e){var f=arguments[e-1];l(function(){return L(e,d,f,c._result)})}else E(c,
|
|
3
|
+
d,a,b);return d}function F(a){if(a&&"object"===typeof a&&a.constructor===this)return a;var b=new this(r);x(b,a);return b}function r(){}function M(a){try{return a.then}catch(b){return p.error=b,p}}function V(a,b,c,d){try{a.call(b,c,d)}catch(e){return e}}function W(a,b,c){l(function(a){var e=!1,f=V(c,b,function(c){e||(e=!0,b!==c?x(a,c):m(a,c))},function(b){e||(e=!0,g(a,b))},"Settle: "+(a._label||" unknown promise"));!e&&f&&(e=!0,g(a,f))},a)}function X(a,b){b._state===y?m(a,b._result):b._state===t?g(a,
|
|
4
|
+
b._result):E(b,void 0,function(b){return x(a,b)},function(b){return g(a,b)})}function N(a,b,c){b.constructor===a.constructor&&c===D&&b.constructor.resolve===F?X(a,b):c===p?(g(a,p.error),p.error=null):void 0===c?m(a,b):v(c)?W(a,b,c):m(a,b)}function x(a,b){if(a===b)g(a,new TypeError("You cannot resolve a promise with itself"));else{var c=typeof b;null===b||"object"!==c&&"function"!==c?m(a,b):N(a,b,M(b))}}function Y(a){a._onerror&&a._onerror(a._result);G(a)}function m(a,b){a._state===u&&(a._result=b,
|
|
5
|
+
a._state=y,0!==a._subscribers.length&&l(G,a))}function g(a,b){a._state===u&&(a._state=t,a._result=b,l(Y,a))}function E(a,b,c,d){var e=a._subscribers,f=e.length;a._onerror=null;e[f]=b;e[f+y]=c;e[f+t]=d;0===f&&a._state&&l(G,a)}function G(a){var b=a._subscribers,c=a._state;if(0!==b.length){for(var d=void 0,e=void 0,f=a._result,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?L(c,d,e,f):e(f);a._subscribers.length=0}}function L(a,b,c,d){var e=v(c),f=void 0,h=void 0,k=void 0,l=void 0;if(e){try{f=c(d)}catch(n){p.error=
|
|
6
|
+
n,f=p}f===p?(l=!0,h=f.error,f.error=null):k=!0;if(b===f){g(b,new TypeError("A promises callback cannot return that same promise."));return}}else f=d,k=!0;b._state===u&&(e&&k?x(b,f):l?g(b,h):a===y?m(b,f):a===t&&g(b,f))}function Z(a,b){try{b(function(b){x(a,b)},function(b){g(a,b)})}catch(c){g(a,c)}}function K(a){a[z]=O++;a._state=void 0;a._result=void 0;a._subscribers=[]}var H=void 0,P=H=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},k=0,B=void 0,
|
|
7
|
+
I=void 0,l=function(a,b){q[k]=a;q[k+1]=b;k+=2;2===k&&(I?I(n):Q())},A=(H="undefined"!==typeof window?window:void 0)||{},J=A.MutationObserver||A.WebKitMutationObserver,A="undefined"===typeof self&&"undefined"!==typeof process&&"[object process]"==={}.toString.call(process),aa="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel,q=Array(1E3),Q=void 0,Q=A?w():J?S():aa?T():void 0===H&&"function"===typeof require?U():C(),z=Math.random().toString(36).substring(2),
|
|
8
|
+
u=void 0,y=1,t=2,p={error:null},O=0,ba=function(){function a(a,c){this._instanceConstructor=a;this.promise=new a(r);this.promise[z]||K(this.promise);P(c)?(this._remaining=this.length=c.length,this._result=Array(this.length),0===this.length?m(this.promise,this._result):(this.length=this.length||0,this._enumerate(c),0===this._remaining&&m(this.promise,this._result))):g(this.promise,Error("Array Methods must be provided an Array"))}a.prototype._enumerate=function(a){for(var c=0;this._state===u&&c<a.length;c++)this._eachEntry(a[c],
|
|
9
|
+
c)};a.prototype._eachEntry=function(a,c){var d=this._instanceConstructor,e=d.resolve;e===F?(e=M(a),e===D&&a._state!==u?this._settledAt(a._state,c,a._result):"function"!==typeof e?(this._remaining--,this._result[c]=a):d===h?(d=new d(r),N(d,a,e),this._willSettleAt(d,c)):this._willSettleAt(new d(function(c){return c(a)}),c)):this._willSettleAt(e(a),c)};a.prototype._settledAt=function(a,c,d){var e=this.promise;e._state===u&&(this._remaining--,a===t?g(e,d):this._result[c]=d);0===this._remaining&&m(e,this._result)};
|
|
10
|
+
a.prototype._willSettleAt=function(a,c){var d=this;E(a,void 0,function(a){return d._settledAt(y,c,a)},function(a){return d._settledAt(t,c,a)})};return a}(),h=function(){function a(b){this[z]=O++;this._result=this._state=void 0;this._subscribers=[];if(r!==b){if("function"!==typeof b)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(this instanceof a)Z(this,b);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
|
|
11
|
+
}}a.prototype["catch"]=function(a){return this.then(null,a)};a.prototype["finally"]=function(a){var c=this.constructor;return v(a)?this.then(function(d){return c.resolve(a()).then(function(){return d})},function(d){return c.resolve(a()).then(function(){throw d;})}):this.then(a,a)};return a}();h.prototype.then=D;h.all=function(a){return(new ba(this,a)).promise};h.race=function(a){var b=this;return P(a)?new b(function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,d)}):new b(function(a,
|
|
12
|
+
b){return b(new TypeError("You must pass an array to race."))})};h.resolve=F;h.reject=function(a){var b=new this(r);g(b,a);return b};h._setScheduler=function(a){I=a};h._setAsap=function(a){l=a};h._asap=l;h.polyfill=function(){var a=void 0;if("undefined"!==typeof global)a=global;else if("undefined"!==typeof self)a=self;else try{a=Function("return this")()}catch(b){throw Error("polyfill failed because global object is unavailable in this environment");}var c=a.Promise;if(c){var d=null;try{d=Object.prototype.toString.call(c.resolve())}catch(e){}if("[object Promise]"===
|
|
13
|
+
d&&!c.cast)return}a.Promise=h};return h.Promise=h});
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -823,7 +823,7 @@ declare namespace Fit
|
|
|
823
823
|
*/
|
|
824
824
|
public static GetViewPortDimensions(includeScrollbars?:boolean):Fit.TypeDefs.Dimension;
|
|
825
825
|
/**
|
|
826
|
-
* Returns value indicating whether
|
|
826
|
+
* Returns value indicating whether device is a mobile device or not.
|
|
827
827
|
* @function IsMobile
|
|
828
828
|
* @static
|
|
829
829
|
* @param {boolean} [includeTablets=true] - Value indicating whether tablets are considered mobile devices or not.
|
|
@@ -838,6 +838,13 @@ declare namespace Fit
|
|
|
838
838
|
*/
|
|
839
839
|
public static IsStorageSupported():boolean;
|
|
840
840
|
/**
|
|
841
|
+
* Returns value indicating whether device is touch enabled or not.
|
|
842
|
+
* @function IsTouchEnabled
|
|
843
|
+
* @static
|
|
844
|
+
* @returns boolean
|
|
845
|
+
*/
|
|
846
|
+
public static IsTouchEnabled():boolean;
|
|
847
|
+
/**
|
|
841
848
|
* Log message or object.
|
|
842
849
|
* @function Log
|
|
843
850
|
* @static
|
|
@@ -2356,42 +2363,17 @@ declare namespace Fit
|
|
|
2356
2363
|
{
|
|
2357
2364
|
// Functions defined by Fit.Controls.Dialog
|
|
2358
2365
|
/**
|
|
2359
|
-
* Display alert dialog.
|
|
2360
|
-
* @function Alert
|
|
2361
|
-
* @static
|
|
2362
|
-
* @param {string} content - Content to display in alert dialog.
|
|
2363
|
-
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2364
|
-
* @returns Fit.Controls.DialogInterface
|
|
2365
|
-
*/
|
|
2366
|
-
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2367
|
-
/**
|
|
2368
|
-
* Display confirmation dialog with OK and Cancel buttons.
|
|
2369
|
-
* @function Confirm
|
|
2370
|
-
* @static
|
|
2371
|
-
* @param {string} content - Content to display in confirmation dialog.
|
|
2372
|
-
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2373
|
-
True is passed to callback function when OK is clicked, otherwise False.
|
|
2374
|
-
* @returns Fit.Controls.DialogInterface
|
|
2375
|
-
*/
|
|
2376
|
-
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2377
|
-
/**
|
|
2378
|
-
* Display prompt dialog that allows for user input.
|
|
2379
|
-
* @function Prompt
|
|
2380
|
-
* @static
|
|
2381
|
-
* @param {string} content - Content to display in prompt dialog.
|
|
2382
|
-
* @param {string} defaultValue - Default value in input field.
|
|
2383
|
-
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2384
|
-
Value entered in input field is passed, null if prompt is canceled.
|
|
2385
|
-
* @returns Fit.Controls.DialogInterface
|
|
2386
|
-
*/
|
|
2387
|
-
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
2388
|
-
/**
|
|
2389
2366
|
* Add button to dialog.
|
|
2390
2367
|
* @function AddButton
|
|
2391
2368
|
* @param {Fit.Controls.Button} btn - Instance of Fit.Controls.Button.
|
|
2392
2369
|
*/
|
|
2393
2370
|
public AddButton(btn:Fit.Controls.Button):void;
|
|
2394
2371
|
/**
|
|
2372
|
+
* Bring draggable dialog to front.
|
|
2373
|
+
* @function BringToFront
|
|
2374
|
+
*/
|
|
2375
|
+
public BringToFront():void;
|
|
2376
|
+
/**
|
|
2395
2377
|
* Close dialog.
|
|
2396
2378
|
* @function Close
|
|
2397
2379
|
*/
|
|
@@ -2427,6 +2409,13 @@ declare namespace Fit
|
|
|
2427
2409
|
*/
|
|
2428
2410
|
public Dismissible(val?:boolean, disposeOnDismiss?:boolean):boolean;
|
|
2429
2411
|
/**
|
|
2412
|
+
* Get/set flag indicating whether dialog can be moved around on screen.
|
|
2413
|
+
* @function Draggable
|
|
2414
|
+
* @param {boolean} [val=undefined] - If defined, a value of True enables dragging, False disables it (default).
|
|
2415
|
+
* @returns boolean
|
|
2416
|
+
*/
|
|
2417
|
+
public Draggable(val?:boolean):boolean;
|
|
2418
|
+
/**
|
|
2430
2419
|
* Get dialog content element.
|
|
2431
2420
|
* @function GetContentDomElement
|
|
2432
2421
|
* @returns HTMLElement
|
|
@@ -2539,6 +2528,13 @@ declare namespace Fit
|
|
|
2539
2528
|
*/
|
|
2540
2529
|
public RemoveButton(btn:Fit.Controls.Button, dispose?:boolean):void;
|
|
2541
2530
|
/**
|
|
2531
|
+
* Get/set flag indicating whether dialog can be resized by the user.
|
|
2532
|
+
* @function Resizable
|
|
2533
|
+
* @param {boolean} [val=undefined] - If defined, a value of True enables resizing, False disables it (default).
|
|
2534
|
+
* @returns boolean
|
|
2535
|
+
*/
|
|
2536
|
+
public Resizable(val?:boolean):boolean;
|
|
2537
|
+
/**
|
|
2542
2538
|
* Get/set title - returns null if not set, and null can be passed to remove title.
|
|
2543
2539
|
* @function Title
|
|
2544
2540
|
* @param {string | null} [val=undefined] - If specified, dialog title is updated with specified value.
|
|
@@ -2553,6 +2549,36 @@ declare namespace Fit
|
|
|
2553
2549
|
* @returns Fit.TypeDefs.CssValue
|
|
2554
2550
|
*/
|
|
2555
2551
|
public Width(val?:number, unit?:Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw"):Fit.TypeDefs.CssValue;
|
|
2552
|
+
/**
|
|
2553
|
+
* Display alert dialog.
|
|
2554
|
+
* @function Alert
|
|
2555
|
+
* @static
|
|
2556
|
+
* @param {string} content - Content to display in alert dialog.
|
|
2557
|
+
* @param {Function} [cb=undefined] - Optional callback function invoked when OK button is clicked.
|
|
2558
|
+
* @returns Fit.Controls.DialogInterface
|
|
2559
|
+
*/
|
|
2560
|
+
public static Alert(content:string, cb?:Function):Fit.Controls.DialogInterface;
|
|
2561
|
+
/**
|
|
2562
|
+
* Display confirmation dialog with OK and Cancel buttons.
|
|
2563
|
+
* @function Confirm
|
|
2564
|
+
* @static
|
|
2565
|
+
* @param {string} content - Content to display in confirmation dialog.
|
|
2566
|
+
* @param {Fit.Controls.DialogTypeDefs.ConfirmCallback} cb - Callback function invoked when a button is clicked.
|
|
2567
|
+
True is passed to callback function when OK is clicked, otherwise False.
|
|
2568
|
+
* @returns Fit.Controls.DialogInterface
|
|
2569
|
+
*/
|
|
2570
|
+
public static Confirm(content:string, cb:Fit.Controls.DialogTypeDefs.ConfirmCallback):Fit.Controls.DialogInterface;
|
|
2571
|
+
/**
|
|
2572
|
+
* Display prompt dialog that allows for user input.
|
|
2573
|
+
* @function Prompt
|
|
2574
|
+
* @static
|
|
2575
|
+
* @param {string} content - Content to display in prompt dialog.
|
|
2576
|
+
* @param {string} defaultValue - Default value in input field.
|
|
2577
|
+
* @param {Fit.Controls.DialogTypeDefs.PromptCallback} [cb=undefined] - Callback function invoked when OK or Cancel button is clicked.
|
|
2578
|
+
Value entered in input field is passed, null if prompt is canceled.
|
|
2579
|
+
* @returns Fit.Controls.DialogInterface
|
|
2580
|
+
*/
|
|
2581
|
+
public static Prompt(content:string, defaultValue:string, cb?:Fit.Controls.DialogTypeDefs.PromptCallback):Fit.Controls.DialogInterface;
|
|
2556
2582
|
// Functions defined by Fit.Controls.Component
|
|
2557
2583
|
/**
|
|
2558
2584
|
* Destroys control to free up memory.
|
|
@@ -4169,6 +4195,11 @@ declare namespace Fit
|
|
|
4169
4195
|
*/
|
|
4170
4196
|
AutoGrow?:Fit.Controls.InputTypeDefs.DesignModeAutoGrow;
|
|
4171
4197
|
/**
|
|
4198
|
+
* Detachable configuration.
|
|
4199
|
+
* @member {Fit.Controls.InputTypeDefs.DesignModeDetachable} [Detachable=undefined]
|
|
4200
|
+
*/
|
|
4201
|
+
Detachable?:Fit.Controls.InputTypeDefs.DesignModeDetachable;
|
|
4202
|
+
/**
|
|
4172
4203
|
* Information panel configuration.
|
|
4173
4204
|
* @member {Fit.Controls.InputTypeDefs.DesignModeConfigInfoPanel} [InfoPanel=undefined]
|
|
4174
4205
|
*/
|
|
@@ -4233,7 +4264,7 @@ declare namespace Fit
|
|
|
4233
4264
|
{
|
|
4234
4265
|
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigPluginsImagesConfig
|
|
4235
4266
|
/**
|
|
4236
|
-
* How to store and embed images. Base64 is persistent while blob
|
|
4267
|
+
* How to store and embed images. Base64 (default) is persistent while blob is temporary
|
|
4237
4268
|
and must be extracted from memory and uploaded/stored to be permanantly persisted.
|
|
4238
4269
|
References to blobs can be parsed from the HTML value produced by the editor.
|
|
4239
4270
|
* @member {'base64' | 'blob'} [EmbedType=undefined]
|
|
@@ -4321,7 +4352,7 @@ declare namespace Fit
|
|
|
4321
4352
|
|
|
4322
4353
|
The data eventuelly results in a tag being added to the editor with the following format:
|
|
4323
4354
|
Tag name 1
|
|
4324
|
-
The data-tag-data
|
|
4355
|
+
The data-tag-data and data-tag-context attributes are only declared if the corresponding Data and Context properties are defined in data.
|
|
4325
4356
|
* @member {string} QueryUrl
|
|
4326
4357
|
*/
|
|
4327
4358
|
QueryUrl:string;
|
|
@@ -4351,6 +4382,11 @@ declare namespace Fit
|
|
|
4351
4382
|
{
|
|
4352
4383
|
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeConfigToolbar
|
|
4353
4384
|
/**
|
|
4385
|
+
* Enable detach button (defaults to false).
|
|
4386
|
+
* @member {boolean} [Detach=undefined]
|
|
4387
|
+
*/
|
|
4388
|
+
Detach?:boolean;
|
|
4389
|
+
/**
|
|
4354
4390
|
* Enable emoji button (defaults to False).
|
|
4355
4391
|
* @member {boolean} [Emojis=undefined]
|
|
4356
4392
|
*/
|
|
@@ -4397,6 +4433,69 @@ declare namespace Fit
|
|
|
4397
4433
|
Sticky?:boolean;
|
|
4398
4434
|
}
|
|
4399
4435
|
/**
|
|
4436
|
+
* Detachable configuration.
|
|
4437
|
+
* @class [Fit.Controls.InputTypeDefs.DesignModeDetachable DesignModeDetachable]
|
|
4438
|
+
*/
|
|
4439
|
+
class DesignModeDetachable
|
|
4440
|
+
{
|
|
4441
|
+
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeDetachable
|
|
4442
|
+
/**
|
|
4443
|
+
* Flag indicating whether dialog is draggable.
|
|
4444
|
+
* @member {boolean} [Draggable=undefined]
|
|
4445
|
+
*/
|
|
4446
|
+
Draggable?:boolean;
|
|
4447
|
+
/**
|
|
4448
|
+
* Dialog height.
|
|
4449
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Height=undefined]
|
|
4450
|
+
*/
|
|
4451
|
+
Height?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4452
|
+
/**
|
|
4453
|
+
* Flag indicating whether dialog is maximizable.
|
|
4454
|
+
* @member {boolean} [Maximizable=undefined]
|
|
4455
|
+
*/
|
|
4456
|
+
Maximizable?:boolean;
|
|
4457
|
+
/**
|
|
4458
|
+
* Flag indicating whether dialog is initially maximized.
|
|
4459
|
+
* @member {boolean} [Maximized=undefined]
|
|
4460
|
+
*/
|
|
4461
|
+
Maximized?:boolean;
|
|
4462
|
+
/**
|
|
4463
|
+
* Maximum height of dialog.
|
|
4464
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumHeight=undefined]
|
|
4465
|
+
*/
|
|
4466
|
+
MaximumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4467
|
+
/**
|
|
4468
|
+
* Maximum Width of dialog.
|
|
4469
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MaximumWidth=undefined]
|
|
4470
|
+
*/
|
|
4471
|
+
MaximumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4472
|
+
/**
|
|
4473
|
+
* Minimum height of dialog.
|
|
4474
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumHeight=undefined]
|
|
4475
|
+
*/
|
|
4476
|
+
MinimumHeight?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4477
|
+
/**
|
|
4478
|
+
* Minimum width of dialog.
|
|
4479
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [MinimumWidth=undefined]
|
|
4480
|
+
*/
|
|
4481
|
+
MinimumWidth?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4482
|
+
/**
|
|
4483
|
+
* Flag indicating whether dialog is resizable.
|
|
4484
|
+
* @member {boolean} [Resizable=undefined]
|
|
4485
|
+
*/
|
|
4486
|
+
Resizable?:boolean;
|
|
4487
|
+
/**
|
|
4488
|
+
* Dialog title.
|
|
4489
|
+
* @member {string} [Title=undefined]
|
|
4490
|
+
*/
|
|
4491
|
+
Title?:string;
|
|
4492
|
+
/**
|
|
4493
|
+
* Dialog width.
|
|
4494
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
4495
|
+
*/
|
|
4496
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4497
|
+
}
|
|
4498
|
+
/**
|
|
4400
4499
|
* Request handler event arguments.
|
|
4401
4500
|
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs DesignModeTagsOnRequestEventHandlerArgs]
|
|
4402
4501
|
*/
|
|
@@ -4455,6 +4554,11 @@ declare namespace Fit
|
|
|
4455
4554
|
{
|
|
4456
4555
|
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsOnResponseJsonTag
|
|
4457
4556
|
/**
|
|
4557
|
+
* Optional context information to associate with tag.
|
|
4558
|
+
* @member {string} [Context=undefined]
|
|
4559
|
+
*/
|
|
4560
|
+
Context?:string;
|
|
4561
|
+
/**
|
|
4458
4562
|
* Optional data to associate with tag.
|
|
4459
4563
|
* @member {string} [Data=undefined]
|
|
4460
4564
|
*/
|
|
@@ -4511,6 +4615,11 @@ declare namespace Fit
|
|
|
4511
4615
|
{
|
|
4512
4616
|
// Properties defined by Fit.Controls.InputTypeDefs.DesignModeTagsTagCreatorReturnType
|
|
4513
4617
|
/**
|
|
4618
|
+
* Optional tag context.
|
|
4619
|
+
* @member {string} [Context=undefined]
|
|
4620
|
+
*/
|
|
4621
|
+
Context?:string;
|
|
4622
|
+
/**
|
|
4514
4623
|
* Optional tag data.
|
|
4515
4624
|
* @member {string} [Data=undefined]
|
|
4516
4625
|
*/
|
|
@@ -5246,10 +5355,10 @@ declare namespace Fit
|
|
|
5246
5355
|
/**
|
|
5247
5356
|
* Get/set number of log entries preserved.
|
|
5248
5357
|
* @function MaxEntries
|
|
5249
|
-
* @param {
|
|
5358
|
+
* @param {number} [val=undefined] - If defined, changes number of log entries preserved.
|
|
5250
5359
|
* @returns number
|
|
5251
5360
|
*/
|
|
5252
|
-
public MaxEntries(val?:
|
|
5361
|
+
public MaxEntries(val?:number):number;
|
|
5253
5362
|
/**
|
|
5254
5363
|
* Create instance of SoftLog control.
|
|
5255
5364
|
* @function SoftLog
|
|
@@ -8816,6 +8925,74 @@ declare namespace Fit
|
|
|
8816
8925
|
{
|
|
8817
8926
|
// Functions defined by Fit.Cookies
|
|
8818
8927
|
/**
|
|
8928
|
+
* Create instance of cookie container isolated to either current path (default)
|
|
8929
|
+
or a custom path, and optionally an alternative part of the domain (by default
|
|
8930
|
+
cookies are available only on the current domain, while defining a domain makes
|
|
8931
|
+
cookies available to that particular domain and subdomains).
|
|
8932
|
+
* @function Cookies
|
|
8933
|
+
*/
|
|
8934
|
+
constructor();
|
|
8935
|
+
/**
|
|
8936
|
+
* Get/set portion of domain to which cookies are isolated.
|
|
8937
|
+
* @function Domain
|
|
8938
|
+
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
8939
|
+
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
8940
|
+
* @returns string | null
|
|
8941
|
+
*/
|
|
8942
|
+
public Domain(val?:string | null):string | null;
|
|
8943
|
+
/**
|
|
8944
|
+
* Returns cookie value if found, otherwise Null.
|
|
8945
|
+
* @function Get
|
|
8946
|
+
* @param {string} name - Unique cookie name.
|
|
8947
|
+
* @returns string | null
|
|
8948
|
+
*/
|
|
8949
|
+
public Get(name:string):string | null;
|
|
8950
|
+
/**
|
|
8951
|
+
* Get/set path to which cookies are isolated.
|
|
8952
|
+
* @function Path
|
|
8953
|
+
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
8954
|
+
* @returns string
|
|
8955
|
+
*/
|
|
8956
|
+
public Path(val?:string):string;
|
|
8957
|
+
/**
|
|
8958
|
+
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
8959
|
+
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
8960
|
+
is completely transparent.
|
|
8961
|
+
* @function Prefix
|
|
8962
|
+
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
8963
|
+
* @returns string | null
|
|
8964
|
+
*/
|
|
8965
|
+
public Prefix(val?:string):string | null;
|
|
8966
|
+
/**
|
|
8967
|
+
* Remove cookie.
|
|
8968
|
+
* @function Remove
|
|
8969
|
+
* @param {string} name - Unique cookie name.
|
|
8970
|
+
*/
|
|
8971
|
+
public Remove(name:string):void;
|
|
8972
|
+
/**
|
|
8973
|
+
* Get/set SameSite policy.
|
|
8974
|
+
* @function SameSite
|
|
8975
|
+
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
8976
|
+
* @returns string | null
|
|
8977
|
+
*/
|
|
8978
|
+
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
8979
|
+
/**
|
|
8980
|
+
* Get/set Secure flag.
|
|
8981
|
+
* @function Secure
|
|
8982
|
+
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
8983
|
+
* @returns boolean
|
|
8984
|
+
*/
|
|
8985
|
+
public Secure(val?:boolean):boolean;
|
|
8986
|
+
/**
|
|
8987
|
+
* Create or update cookie.
|
|
8988
|
+
* @function Set
|
|
8989
|
+
* @param {string} name - Unique cookie name.
|
|
8990
|
+
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
8991
|
+
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
8992
|
+
no expiration time will cause it to expire when session ends.
|
|
8993
|
+
*/
|
|
8994
|
+
public Set(name:string, value:string, seconds?:number):void;
|
|
8995
|
+
/**
|
|
8819
8996
|
* Returns cookie value if found, otherwise Null.
|
|
8820
8997
|
* @function Get
|
|
8821
8998
|
* @static
|
|
@@ -8885,74 +9062,6 @@ declare namespace Fit
|
|
|
8885
9062
|
* @param {Fit.CookiesDefs.Cookie} newCookie - New or updated cookie.
|
|
8886
9063
|
*/
|
|
8887
9064
|
public static Set(newCookie:Fit.CookiesDefs.Cookie):void;
|
|
8888
|
-
/**
|
|
8889
|
-
* Create instance of cookie container isolated to either current path (default)
|
|
8890
|
-
or a custom path, and optionally an alternative part of the domain (by default
|
|
8891
|
-
cookies are available only on the current domain, while defining a domain makes
|
|
8892
|
-
cookies available to that particular domain and subdomains).
|
|
8893
|
-
* @function Cookies
|
|
8894
|
-
*/
|
|
8895
|
-
constructor();
|
|
8896
|
-
/**
|
|
8897
|
-
* Get/set portion of domain to which cookies are isolated.
|
|
8898
|
-
* @function Domain
|
|
8899
|
-
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
8900
|
-
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
8901
|
-
* @returns string | null
|
|
8902
|
-
*/
|
|
8903
|
-
public Domain(val?:string | null):string | null;
|
|
8904
|
-
/**
|
|
8905
|
-
* Returns cookie value if found, otherwise Null.
|
|
8906
|
-
* @function Get
|
|
8907
|
-
* @param {string} name - Unique cookie name.
|
|
8908
|
-
* @returns string | null
|
|
8909
|
-
*/
|
|
8910
|
-
public Get(name:string):string | null;
|
|
8911
|
-
/**
|
|
8912
|
-
* Get/set path to which cookies are isolated.
|
|
8913
|
-
* @function Path
|
|
8914
|
-
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
8915
|
-
* @returns string
|
|
8916
|
-
*/
|
|
8917
|
-
public Path(val?:string):string;
|
|
8918
|
-
/**
|
|
8919
|
-
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
8920
|
-
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
8921
|
-
is completely transparent.
|
|
8922
|
-
* @function Prefix
|
|
8923
|
-
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
8924
|
-
* @returns string | null
|
|
8925
|
-
*/
|
|
8926
|
-
public Prefix(val?:string):string | null;
|
|
8927
|
-
/**
|
|
8928
|
-
* Remove cookie.
|
|
8929
|
-
* @function Remove
|
|
8930
|
-
* @param {string} name - Unique cookie name.
|
|
8931
|
-
*/
|
|
8932
|
-
public Remove(name:string):void;
|
|
8933
|
-
/**
|
|
8934
|
-
* Get/set SameSite policy.
|
|
8935
|
-
* @function SameSite
|
|
8936
|
-
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
8937
|
-
* @returns string | null
|
|
8938
|
-
*/
|
|
8939
|
-
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
8940
|
-
/**
|
|
8941
|
-
* Get/set Secure flag.
|
|
8942
|
-
* @function Secure
|
|
8943
|
-
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
8944
|
-
* @returns boolean
|
|
8945
|
-
*/
|
|
8946
|
-
public Secure(val?:boolean):boolean;
|
|
8947
|
-
/**
|
|
8948
|
-
* Create or update cookie.
|
|
8949
|
-
* @function Set
|
|
8950
|
-
* @param {string} name - Unique cookie name.
|
|
8951
|
-
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
8952
|
-
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
8953
|
-
no expiration time will cause it to expire when session ends.
|
|
8954
|
-
*/
|
|
8955
|
-
public Set(name:string, value:string, seconds?:number):void;
|
|
8956
9065
|
}
|
|
8957
9066
|
/**
|
|
8958
9067
|
* Core features extending the capabilities of native JS.
|
|
@@ -10408,6 +10517,14 @@ declare namespace Fit
|
|
|
10408
10517
|
*/
|
|
10409
10518
|
public static Hash(str:string):number;
|
|
10410
10519
|
/**
|
|
10520
|
+
* Parse and return image blob URLs from image tags.
|
|
10521
|
+
* @function ParseImageBlobUrls
|
|
10522
|
+
* @static
|
|
10523
|
+
* @param {string} str - String to parse.
|
|
10524
|
+
* @returns string[]
|
|
10525
|
+
*/
|
|
10526
|
+
public static ParseImageBlobUrls(str:string):string[];
|
|
10527
|
+
/**
|
|
10411
10528
|
* Removes any HTML contained in string, and returns the raw text value.
|
|
10412
10529
|
* @function StripHtml
|
|
10413
10530
|
* @static
|
|
@@ -10985,6 +11102,11 @@ declare namespace Fit
|
|
|
10985
11102
|
*/
|
|
10986
11103
|
IsTablet:boolean;
|
|
10987
11104
|
/**
|
|
11105
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
11106
|
+
* @member {boolean} IsTouchEnabled
|
|
11107
|
+
*/
|
|
11108
|
+
IsTouchEnabled:boolean;
|
|
11109
|
+
/**
|
|
10988
11110
|
* Browser language, e.g. en, da, de, etc.
|
|
10989
11111
|
* @member {string} Language
|
|
10990
11112
|
*/
|
|
@@ -11018,6 +11140,11 @@ declare namespace Fit
|
|
|
11018
11140
|
*/
|
|
11019
11141
|
IsTablet:boolean;
|
|
11020
11142
|
/**
|
|
11143
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
11144
|
+
* @member {boolean} IsTouchEnabled
|
|
11145
|
+
*/
|
|
11146
|
+
IsTouchEnabled:boolean;
|
|
11147
|
+
/**
|
|
11021
11148
|
* Browser language, e.g. en, da, de, etc.
|
|
11022
11149
|
* @member {string} Language
|
|
11023
11150
|
*/
|
|
@@ -11057,6 +11184,11 @@ declare namespace Fit
|
|
|
11057
11184
|
*/
|
|
11058
11185
|
IsTablet:boolean;
|
|
11059
11186
|
/**
|
|
11187
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
11188
|
+
* @member {boolean} IsTouchEnabled
|
|
11189
|
+
*/
|
|
11190
|
+
IsTouchEnabled:boolean;
|
|
11191
|
+
/**
|
|
11060
11192
|
* Browser language, e.g. en, da, de, etc.
|
|
11061
11193
|
* @member {string} Language
|
|
11062
11194
|
*/
|
|
@@ -11355,6 +11487,18 @@ declare namespace Fit
|
|
|
11355
11487
|
{
|
|
11356
11488
|
// Functions defined by Fit.DragDrop.Draggable
|
|
11357
11489
|
/**
|
|
11490
|
+
* Bring draggable to front.
|
|
11491
|
+
* @function BringToFront
|
|
11492
|
+
*/
|
|
11493
|
+
public BringToFront():void;
|
|
11494
|
+
/**
|
|
11495
|
+
* Get/set flag indicating whether to bring draggable to front when activated.
|
|
11496
|
+
* @function BringToFrontOnActivation
|
|
11497
|
+
* @param {boolean} [val=undefined] - If defined, a value of True enables functionality, False disables it (default).
|
|
11498
|
+
* @returns boolean
|
|
11499
|
+
*/
|
|
11500
|
+
public BringToFrontOnActivation(val?:boolean):boolean;
|
|
11501
|
+
/**
|
|
11358
11502
|
* Free resources and disable dragging support for DOM element.
|
|
11359
11503
|
* @function Dispose
|
|
11360
11504
|
*/
|
|
Binary file
|