fit-ui 2.8.4 → 2.9.0
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 +973 -106
- 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 +231 -102
- 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]
|
|
@@ -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,64 @@ 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
|
+
* Dialog title.
|
|
4484
|
+
* @member {string} [Title=undefined]
|
|
4485
|
+
*/
|
|
4486
|
+
Title?:string;
|
|
4487
|
+
/**
|
|
4488
|
+
* Dialog width.
|
|
4489
|
+
* @member {{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" }} [Width=undefined]
|
|
4490
|
+
*/
|
|
4491
|
+
Width?:{ Value: number, Unit?: Fit.TypeDefs.CssUnit | "%" | "ch" | "cm" | "em" | "ex" | "in" | "mm" | "pc" | "pt" | "px" | "rem" | "vh" | "vmax" | "vmin" | "vw" };
|
|
4492
|
+
}
|
|
4493
|
+
/**
|
|
4400
4494
|
* Request handler event arguments.
|
|
4401
4495
|
* @class [Fit.Controls.InputTypeDefs.DesignModeTagsOnRequestEventHandlerArgs DesignModeTagsOnRequestEventHandlerArgs]
|
|
4402
4496
|
*/
|
|
@@ -5256,10 +5350,10 @@ declare namespace Fit
|
|
|
5256
5350
|
/**
|
|
5257
5351
|
* Get/set number of log entries preserved.
|
|
5258
5352
|
* @function MaxEntries
|
|
5259
|
-
* @param {
|
|
5353
|
+
* @param {number} [val=undefined] - If defined, changes number of log entries preserved.
|
|
5260
5354
|
* @returns number
|
|
5261
5355
|
*/
|
|
5262
|
-
public MaxEntries(val?:
|
|
5356
|
+
public MaxEntries(val?:number):number;
|
|
5263
5357
|
/**
|
|
5264
5358
|
* Create instance of SoftLog control.
|
|
5265
5359
|
* @function SoftLog
|
|
@@ -8826,6 +8920,74 @@ declare namespace Fit
|
|
|
8826
8920
|
{
|
|
8827
8921
|
// Functions defined by Fit.Cookies
|
|
8828
8922
|
/**
|
|
8923
|
+
* Create instance of cookie container isolated to either current path (default)
|
|
8924
|
+
or a custom path, and optionally an alternative part of the domain (by default
|
|
8925
|
+
cookies are available only on the current domain, while defining a domain makes
|
|
8926
|
+
cookies available to that particular domain and subdomains).
|
|
8927
|
+
* @function Cookies
|
|
8928
|
+
*/
|
|
8929
|
+
constructor();
|
|
8930
|
+
/**
|
|
8931
|
+
* Get/set portion of domain to which cookies are isolated.
|
|
8932
|
+
* @function Domain
|
|
8933
|
+
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
8934
|
+
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
8935
|
+
* @returns string | null
|
|
8936
|
+
*/
|
|
8937
|
+
public Domain(val?:string | null):string | null;
|
|
8938
|
+
/**
|
|
8939
|
+
* Returns cookie value if found, otherwise Null.
|
|
8940
|
+
* @function Get
|
|
8941
|
+
* @param {string} name - Unique cookie name.
|
|
8942
|
+
* @returns string | null
|
|
8943
|
+
*/
|
|
8944
|
+
public Get(name:string):string | null;
|
|
8945
|
+
/**
|
|
8946
|
+
* Get/set path to which cookies are isolated.
|
|
8947
|
+
* @function Path
|
|
8948
|
+
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
8949
|
+
* @returns string
|
|
8950
|
+
*/
|
|
8951
|
+
public Path(val?:string):string;
|
|
8952
|
+
/**
|
|
8953
|
+
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
8954
|
+
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
8955
|
+
is completely transparent.
|
|
8956
|
+
* @function Prefix
|
|
8957
|
+
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
8958
|
+
* @returns string | null
|
|
8959
|
+
*/
|
|
8960
|
+
public Prefix(val?:string):string | null;
|
|
8961
|
+
/**
|
|
8962
|
+
* Remove cookie.
|
|
8963
|
+
* @function Remove
|
|
8964
|
+
* @param {string} name - Unique cookie name.
|
|
8965
|
+
*/
|
|
8966
|
+
public Remove(name:string):void;
|
|
8967
|
+
/**
|
|
8968
|
+
* Get/set SameSite policy.
|
|
8969
|
+
* @function SameSite
|
|
8970
|
+
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
8971
|
+
* @returns string | null
|
|
8972
|
+
*/
|
|
8973
|
+
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
8974
|
+
/**
|
|
8975
|
+
* Get/set Secure flag.
|
|
8976
|
+
* @function Secure
|
|
8977
|
+
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
8978
|
+
* @returns boolean
|
|
8979
|
+
*/
|
|
8980
|
+
public Secure(val?:boolean):boolean;
|
|
8981
|
+
/**
|
|
8982
|
+
* Create or update cookie.
|
|
8983
|
+
* @function Set
|
|
8984
|
+
* @param {string} name - Unique cookie name.
|
|
8985
|
+
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
8986
|
+
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
8987
|
+
no expiration time will cause it to expire when session ends.
|
|
8988
|
+
*/
|
|
8989
|
+
public Set(name:string, value:string, seconds?:number):void;
|
|
8990
|
+
/**
|
|
8829
8991
|
* Returns cookie value if found, otherwise Null.
|
|
8830
8992
|
* @function Get
|
|
8831
8993
|
* @static
|
|
@@ -8895,74 +9057,6 @@ declare namespace Fit
|
|
|
8895
9057
|
* @param {Fit.CookiesDefs.Cookie} newCookie - New or updated cookie.
|
|
8896
9058
|
*/
|
|
8897
9059
|
public static Set(newCookie:Fit.CookiesDefs.Cookie):void;
|
|
8898
|
-
/**
|
|
8899
|
-
* Create instance of cookie container isolated to either current path (default)
|
|
8900
|
-
or a custom path, and optionally an alternative part of the domain (by default
|
|
8901
|
-
cookies are available only on the current domain, while defining a domain makes
|
|
8902
|
-
cookies available to that particular domain and subdomains).
|
|
8903
|
-
* @function Cookies
|
|
8904
|
-
*/
|
|
8905
|
-
constructor();
|
|
8906
|
-
/**
|
|
8907
|
-
* Get/set portion of domain to which cookies are isolated.
|
|
8908
|
-
* @function Domain
|
|
8909
|
-
* @param {string | null} [val=undefined] - If defined, changes isolation to specified domain portion, including subdomains - pass
|
|
8910
|
-
Null to unset it to make cookies available to current domain only (excluding subdomains).
|
|
8911
|
-
* @returns string | null
|
|
8912
|
-
*/
|
|
8913
|
-
public Domain(val?:string | null):string | null;
|
|
8914
|
-
/**
|
|
8915
|
-
* Returns cookie value if found, otherwise Null.
|
|
8916
|
-
* @function Get
|
|
8917
|
-
* @param {string} name - Unique cookie name.
|
|
8918
|
-
* @returns string | null
|
|
8919
|
-
*/
|
|
8920
|
-
public Get(name:string):string | null;
|
|
8921
|
-
/**
|
|
8922
|
-
* Get/set path to which cookies are isolated.
|
|
8923
|
-
* @function Path
|
|
8924
|
-
* @param {string} [val=undefined] - If defined, changes isolation to specified path.
|
|
8925
|
-
* @returns string
|
|
8926
|
-
*/
|
|
8927
|
-
public Path(val?:string):string;
|
|
8928
|
-
/**
|
|
8929
|
-
* Get/set prefix added to all cookies - useful for grouping related cookies and to avoid naming conflicts.
|
|
8930
|
-
Notice that Set/Get/Remove functions automatically apply the prefix to cookie names, so the use of a prefix
|
|
8931
|
-
is completely transparent.
|
|
8932
|
-
* @function Prefix
|
|
8933
|
-
* @param {string} [val=undefined] - If defined, changes cookie prefix to specified value - pass Null to unset it.
|
|
8934
|
-
* @returns string | null
|
|
8935
|
-
*/
|
|
8936
|
-
public Prefix(val?:string):string | null;
|
|
8937
|
-
/**
|
|
8938
|
-
* Remove cookie.
|
|
8939
|
-
* @function Remove
|
|
8940
|
-
* @param {string} name - Unique cookie name.
|
|
8941
|
-
*/
|
|
8942
|
-
public Remove(name:string):void;
|
|
8943
|
-
/**
|
|
8944
|
-
* Get/set SameSite policy.
|
|
8945
|
-
* @function SameSite
|
|
8946
|
-
* @param {"None" | "Lax" | "Strict" | null} [val=undefined] - If defined, changes SameSite policy - pass Null to unset it.
|
|
8947
|
-
* @returns string | null
|
|
8948
|
-
*/
|
|
8949
|
-
public SameSite(val?:"None" | "Lax" | "Strict" | null):string | null;
|
|
8950
|
-
/**
|
|
8951
|
-
* Get/set Secure flag.
|
|
8952
|
-
* @function Secure
|
|
8953
|
-
* @param {boolean} [val=undefined] - If defined, changes Secure flag.
|
|
8954
|
-
* @returns boolean
|
|
8955
|
-
*/
|
|
8956
|
-
public Secure(val?:boolean):boolean;
|
|
8957
|
-
/**
|
|
8958
|
-
* Create or update cookie.
|
|
8959
|
-
* @function Set
|
|
8960
|
-
* @param {string} name - Unique cookie name.
|
|
8961
|
-
* @param {string} value - Cookie value (cannot contain semicolon!).
|
|
8962
|
-
* @param {number} [seconds=undefined] - Optional expiration time in seconds. Creating a cookie with
|
|
8963
|
-
no expiration time will cause it to expire when session ends.
|
|
8964
|
-
*/
|
|
8965
|
-
public Set(name:string, value:string, seconds?:number):void;
|
|
8966
9060
|
}
|
|
8967
9061
|
/**
|
|
8968
9062
|
* Core features extending the capabilities of native JS.
|
|
@@ -10418,6 +10512,14 @@ declare namespace Fit
|
|
|
10418
10512
|
*/
|
|
10419
10513
|
public static Hash(str:string):number;
|
|
10420
10514
|
/**
|
|
10515
|
+
* Parse and return image blob URLs from image tags.
|
|
10516
|
+
* @function ParseImageBlobUrls
|
|
10517
|
+
* @static
|
|
10518
|
+
* @param {string} str - String to parse.
|
|
10519
|
+
* @returns string[]
|
|
10520
|
+
*/
|
|
10521
|
+
public static ParseImageBlobUrls(str:string):string[];
|
|
10522
|
+
/**
|
|
10421
10523
|
* Removes any HTML contained in string, and returns the raw text value.
|
|
10422
10524
|
* @function StripHtml
|
|
10423
10525
|
* @static
|
|
@@ -10995,6 +11097,11 @@ declare namespace Fit
|
|
|
10995
11097
|
*/
|
|
10996
11098
|
IsTablet:boolean;
|
|
10997
11099
|
/**
|
|
11100
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
11101
|
+
* @member {boolean} IsTouchEnabled
|
|
11102
|
+
*/
|
|
11103
|
+
IsTouchEnabled:boolean;
|
|
11104
|
+
/**
|
|
10998
11105
|
* Browser language, e.g. en, da, de, etc.
|
|
10999
11106
|
* @member {string} Language
|
|
11000
11107
|
*/
|
|
@@ -11028,6 +11135,11 @@ declare namespace Fit
|
|
|
11028
11135
|
*/
|
|
11029
11136
|
IsTablet:boolean;
|
|
11030
11137
|
/**
|
|
11138
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
11139
|
+
* @member {boolean} IsTouchEnabled
|
|
11140
|
+
*/
|
|
11141
|
+
IsTouchEnabled:boolean;
|
|
11142
|
+
/**
|
|
11031
11143
|
* Browser language, e.g. en, da, de, etc.
|
|
11032
11144
|
* @member {string} Language
|
|
11033
11145
|
*/
|
|
@@ -11067,6 +11179,11 @@ declare namespace Fit
|
|
|
11067
11179
|
*/
|
|
11068
11180
|
IsTablet:boolean;
|
|
11069
11181
|
/**
|
|
11182
|
+
* Boolean indicating whether this is a touch enabled device.
|
|
11183
|
+
* @member {boolean} IsTouchEnabled
|
|
11184
|
+
*/
|
|
11185
|
+
IsTouchEnabled:boolean;
|
|
11186
|
+
/**
|
|
11070
11187
|
* Browser language, e.g. en, da, de, etc.
|
|
11071
11188
|
* @member {string} Language
|
|
11072
11189
|
*/
|
|
@@ -11365,6 +11482,18 @@ declare namespace Fit
|
|
|
11365
11482
|
{
|
|
11366
11483
|
// Functions defined by Fit.DragDrop.Draggable
|
|
11367
11484
|
/**
|
|
11485
|
+
* Bring draggable to front.
|
|
11486
|
+
* @function BringToFront
|
|
11487
|
+
*/
|
|
11488
|
+
public BringToFront():void;
|
|
11489
|
+
/**
|
|
11490
|
+
* Get/set flag indicating whether to bring draggable to front when activated.
|
|
11491
|
+
* @function BringToFrontOnActivation
|
|
11492
|
+
* @param {boolean} [val=undefined] - If defined, a value of True enables functionality, False disables it (default).
|
|
11493
|
+
* @returns boolean
|
|
11494
|
+
*/
|
|
11495
|
+
public BringToFrontOnActivation(val?:boolean):boolean;
|
|
11496
|
+
/**
|
|
11368
11497
|
* Free resources and disable dragging support for DOM element.
|
|
11369
11498
|
* @function Dispose
|
|
11370
11499
|
*/
|
|
Binary file
|